Commit graph

108 commits

Author SHA1 Message Date
lfbrock
021dea7622 Update fastlane metadata (#169)
* Update primary_category.txt

* Update copyright.txt

* Update description.txt

* Update support_url.txt

* Update marketing_url.txt

* Update keywords.txt

* Update privacy_url.txt

* Update full_description.txt
2017-01-20 13:57:54 -03:00
Harrison Healey
388393afb6 Fixed post textbox being off screen (#168) 2017-01-19 19:20:34 -03:00
Chris Duarte
c94a0840fd Show town square when selecting a team (#166)
Now selects the first channel if the default channel can’t be found
2017-01-19 09:55:32 -05:00
enahum
1566a79c93 Fastlane for Android and ios (#165) 2017-01-19 09:35:40 -05:00
Asaad Mahmood
4d9e30fb75 Updating UI for Sign up screens (#163)
* Updating sign up screens

* Removing help text for server screen

* Reverting change in projects file

* Updating proj file
2017-01-18 10:47:19 -05:00
Chris Duarte
677f7a8cb0 Auto select last team viewed (#161)
* WIP Autoselect last team viewed

* Auto select last team viewed

* Fix auto login in root.

* Fix per PR comments

Remove unused actions. Use currentTeam selector.
2017-01-17 09:27:53 -05:00
Harrison Healey
d0481605fb Add ability to post messages (#158)
* Fixed copyright date

* Removed unnecessary components folder from channel scene

* Added initial version of post textbox

* Moved getTheme into a proper selector

* Moved ChannelHeader into its own component

* Flipped post list so that the most recent posts appear at the bottom

* Moved post textbox value into redux view store

* Switched new components from PureRenderMixin to React.PureComponent
2017-01-13 10:40:00 -03:00
enahum
fdc9b5cc0e Bug fixes (#157)
* Fix team switch

* Fix getThemes

* Fix drawer unread indicators
2017-01-10 11:47:11 -05:00
Harrison Healey
9d51a3b970 Added whitelabeling support using assets/override (#156) 2017-01-05 16:32:24 -03:00
enahum
81526fbb09 Channel drawer (#154)
* Channel list drawer
* Get channels by category
* Fix and connect websocket
* Fix Select first team using the team members

* create loadMe and fix login actions to loads the teams

* Add android back button handler for the channel drawer

* Channel drawer styling and functionality

* Mark channel as viewed and fixed reset unread counts

* Unread above/below indicators

* Improve performance replacing ScrollView with ListView

* Fix unread indicators

* Addressing review feedback
2017-01-03 19:49:28 -03:00
enahum
aa5a77ae86 Use the new API for view channel (#155)
* Use the new API for view channel

* Fix view channel on websocket events
2016-12-29 11:31:11 -03:00
Harrison Healey
4ecd3758e7 Render posts for the current channel (#153)
* Added selectChannel action

* Fixed selected team not being cleared on logout

* Fixed posts and postsByChannel not being initialized correctly

* Added basic post rendering

* Renamed selectors files to be plural

* Removed empty file

* Fixed unit tests after merge

* Removing unnecessary code
2016-12-23 10:55:33 -03:00
enahum
8243eda444 Improved unit tests (#151) 2016-12-22 13:07:23 -03:00
enahum
f32de304aa Fix login to use the parsed headers (#152) 2016-12-22 13:03:59 -03:00
Chris Duarte
89855d108e Auto-select first team & skip SelectTeam initially (#149)
* Auto-select first team & skip SelectTeam initially

* Auto-select first team in alphabetical order
2016-12-22 11:19:25 -03:00
Chris Duarte
217985107a Parse + merge nested response headers to fix content-type checking (#147)
* Parse + merge nested response headers to fix content-type checking

* Remove redundant parsing of nested headers in Client.login
2016-12-21 23:27:40 -03:00
enahum
7e426b6029 Add WebSocket support (#144)
* Add WebSocket support

* fix unit tests

* Add actions to websocket and fix unit tests
2016-12-21 12:54:23 -05:00
Chris Duarte
e8d774b332 Use KeyboardAvoidingView in SelectServer & Login (#148)
* Use KeyboardAvoidingView in SelectServer & Login

* Use justifyContent not paddingTop in global container styles
2016-12-21 11:32:50 -05:00
Chris Duarte
19b7918679 Use babel-plugin-module-resolver to fix imports from project root (#145) 2016-12-20 16:01:15 -05:00
Harrison Healey
0d5215a8b7 Fixed create direct channel route to use a proper team id (#146) 2016-12-20 15:54:23 -03:00
Harrison Healey
8e59ea606e Refactored post store to store posts by their IDs (#142)
* Added hook to tests to catch uncaught promise rejections

* Refactored post store to store posts by their IDs

* Fixed post store when logging out
2016-12-19 14:37:54 -03:00
enahum
189668105b Fix login flow (#140) 2016-12-19 10:24:34 -05:00
Harrison Healey
384667ece1 Added NOTICE.txt (#136)
* Added NOTICE.txt

* Add creators to intro sentence

* Removed react-addons-pure-render-mixin from NOTICE.txt since it's part of react

* Copied fbjs keymirror into utils

* Renamed deepFreezeAndThrowOnMutation to deep_freeze

* Fixed merge conflict
2016-12-16 19:42:08 -03:00
Harrison Healey
39a101822c Added ability to go back to team selection from channel view (#139) 2016-12-16 19:33:14 -03:00
enahum
d2f2678880 Reauthenticate from stored token when app is reloaded (#137)
* Reauthenticate from stored token when app is reloaded

* Address feedback
2016-12-15 13:17:26 -05:00
Harrison Healey
bd3bd45c36 Added deep freeze of stores in dev mode (#135)
* Added deep freeze of stores in dev mode

* Stopped deletePost and reducePosts reducer functions from mutating the store
2016-12-13 17:13:41 -03:00
Harrison Healey
fcd86b8923 Reduced scope of try-catch around client calls (#134) 2016-12-13 13:49:39 -03:00
enahum
228b1be76f Prevent eslint from passing with exclusive tests (#133) 2016-12-13 12:57:57 -03:00
Harrison Healey
5cc43d5a9f Made all unit tests run again (#132) 2016-12-13 12:10:33 -03:00
enahum
aa01be831f include posts into store (#125)
* include posts into store

* addressing feedback
2016-12-13 09:07:16 -05:00
Harrison Healey
61c4d8b585 Added basic theming support (#131)
* Moved all view action types into a single file

* Moved preferences into their own constants section

* Added basic theming support
2016-12-12 21:05:59 -03:00
Harrison Healey
155a923cd0 Added preferences to redux store (#124)
* Disabled broken ESLint rule

* Added preferences to redux store

* Re-enabled all unit tests

* Fixed code referencing users.myPreferences

* Stopped exporting dispatcher from actions/helpers
2016-12-12 20:42:26 -03:00
enahum
e2f3f7b803 project folder structure (#107)
* project folder structure

* Moving store to be called from app folder
2016-12-09 10:34:17 -05:00
enahum
d27122c69b enable all tests and fix createTeam test (#106) 2016-12-08 18:17:33 -03:00
enahum
b1474a37b7 Include team to the store (#103)
* Include team to the store

* addressing feedback

* Fix getTeamMember
2016-12-08 18:01:55 -03:00
enahum
4b636bfefc Remove unnecessary moreChannels from store (#104)
* Remove unnecessary moreChannels from store

* Remove profile fetching on DM creation
2016-12-08 11:36:28 -05:00
enahum
f487bb4014 Remove pagination for profiles in the store (#105) 2016-12-08 11:36:07 -05:00
Harrison Healey
8732febd8c Removed react-native-router-flux and added custom navigation logic (#102)
* Removed react-native-router-flux and replaced it with custom navigation

* Split Logout component to have a container

* Replaced RootContainer with RootLayout

* Removed lodash from package.json

* Removed unnecessary state from Logout component

* Added placeholder for RHS search

* Renamed routes to scenes and moved some logic to there

* Added Root route to handle any initialization on app load

* Added unit tests for navigation reducer

* Fixed eslint errors

* Removed commented out code from Router

* Renamed Channel route to ChannelView to avoid confusion

* Used a separate index.js for component containers

* Simplified mapStateToProps for RootLayoutContainer

* Removed file accidentally added in merge conflict
2016-12-08 12:37:38 -03:00
enahum
9125d0cac2 Initial Redux Store (#84)
* Moved SelectServer view state into store

* Moved view state for Login to stores

* Renamed RequestStatus values

* Merged duplicated view state for login

* initial redux store

* Fix eslint

* user store and force logout when necessary

* channel store

* address feedback

* Revert naming the property of data
2016-12-06 15:11:40 -05:00
it33
74c02789ee Typo, unreleased should not be hyphenated 2016-11-25 12:39:13 -08:00
it33
1f81949199 Update README to clarify project status (#82)
* Be clear this project is unreleased

* Update README.md
2016-11-25 12:49:03 -05:00
enahum
b8ad25c4d8 Update xcode project and Readme (#79) 2016-11-22 14:03:28 -05:00
Thomas Hopkins
7c5735642f Add app icons for android (#74) 2016-11-22 12:14:38 -05:00
Harrison Healey
45f8a56d15 Fixed unit tests for the other changes I've made recently (#80)
* Removed mocking from client tests

* Updated Client tests to remove Client.setTeamId

* Fixed actions/general.test.js

* Updated test/reducer/channel.test.js for the updated store structure

* Commented out general reducer tests until the store structure is more finalized

* Properly used the team ID when creating a channel
2016-11-22 11:46:50 -05:00
Harrison Healey
fd7ce3fe9c Updated iOS icon so xcode stops constantly changing the file 2016-11-16 17:09:17 -05:00
Harrison Healey
843f082349 Decoupled ChannelSidebar from stores 2016-11-15 16:54:50 -05:00
Harrison Healey
2aa71ae941 Refactored to use src/routes 2016-11-15 15:23:09 -05:00
Harrison Healey
86b33e0164 Added initial version of MainView/MainContainer 2016-11-09 12:52:17 -05:00
Harrison Healey
71c0707a90 Stopped aliasing action types 2016-11-09 10:40:20 -05:00
Harrison Healey
537649f166 Added copyright notice to files that needed it 2016-11-09 10:31:45 -05:00