Commit graph

242 commits

Author SHA1 Message Date
enahum
a684c0f45b PLT-5700 Fixing channel sorting in android and ios (#343) 2017-03-13 13:39:12 -03:00
Saturnino Abril
13c624b722 Fixed makefile for run-android (#340) 2017-03-13 10:04:29 -04:00
enahum
6324f22095 PLT-5630 Implement push notifications and unread badge on app icon (#338)
* enable ios push notifications

* enable android push notifications

* NOTICE for push notification and message bar

* include message in noty

* re-wording notices

* feedback review
2017-03-13 09:51:21 -04:00
Chris Duarte
e17eb6c237 PLT-5709 Global error handler (#187)
* WIP Global error handler

Adding components
Adding actions

* Add general errors where errors are caught

* Filter out non displayable errors

* Initial setup to email errors

* Add current user/team to error email

* Fix a few lints

* Ensure errors are cleared when reporting a problem

* Add clear all and internationalization

* Fix trailing comma issue

* fix lints

* Use Formatted Text component

* Move error list out of channel

* Add mobile prefix to i18n id for connection error

* Set shouldRender to true in RightMenuDrawerItem.defaultProps

* Update component name for RightMenuDrawerItem

* Clean up propTypes in RightMenuDrawerItem

* Clean up styles in RightMenuDrawerItem

* Use selector to filter displayable errors

* Clarify code for constructing wrapper style in ErrorList

* Avoid indenting email body for error report

* Remove extraneous params from errors actions

* Rename action type for logging errors

* Rename action for logging errors

* Set shouldRender to true in RightMenuDrawerItem.defaultProps

* Make logged errors displayable by default

* Don't log error when websocket connection is closed

* Hide button to dismiss all errors if ShowErrorsList isn't enabled

* Display only last error in alert bar when ShowErrorsList is disabled

* Add error logging where missing in actions

* Always show button to report problem

* Only include errors in report problem email if any have been logged

* Clarify subject of report problem email

* Set ShowErrorsList to false in default config.json

* Remove unused component + translation for connection errors

* Capture entire error object not just message

* Display fallback if error.message is blank

* Log errors in login actions

* Fix construction of errors email body
2017-03-12 14:42:02 -03:00
enahum
f3dbb72f65 PLT-5836 Smooth transitions and add activity indicators (#339) 2017-03-10 20:52:52 -03:00
Chris Duarte
f5745cbc0e PLT-5810 Add missing intl key to error objects in login screen (#336) 2017-03-10 15:40:31 -05:00
Chris Duarte
dca35ac418 PLT-5675 Fix posts rendering as blank (#337)
* PLT-5675 RN: Posts rendering as blank

* Review feedback
2017-03-10 15:28:57 -03:00
Chris Duarte
496068e99c PLT-5496 Allow user to load more posts in channel posts list (#307)
* Group addDatesToPostList options into object

* Clean up imports in PostList

* Dry up code for adding dates to posts in PostList

* Allow user to load more posts in channel post list

* Load more posts upon scrolling to end instead of with button

* Wait for initial posts to be loaded before loading more

* Return data in getPosts actions

* Check how many posts were fetched to determine if there are more

* Insert load-more-posts into list in PostList not post_utils.js

* Rename component for LoadMorePosts

* Use LoadMorePosts to indicate if more posts are loading

* Only try to load more posts if initial posts have been loaded

* Don’t show LoadMorePosts if posts list is empty

* Don’t try to load more posts if first post has been loaded

* Don’t show LoadMorePosts if first post has been loaded

* Set hasFirstPost in willReceiveProps of PostList

* Use constant for load-more-posts token string

* Only show LoadMorePosts if pagination is enabled on PostList

* Fix logic for determining if posts loaded in PostList

* Ensure PostList ListView rerenders

* Move load more posts logic into ChannelPostList

* Remove unused getTheme from ChannelPostList container

* Avoid clever variable assignment in LoadMorePosts
2017-03-09 14:07:35 -03:00
enahum
c13a436d18 Enable SAML authentication (#325)
* enable saml authentication

* Fix unit tests

* Fix android cookies

* Feedback review
2017-03-09 14:07:18 -03:00
lfbrock
13a1f8a9a8 Create CHANGELOG.md (#327)
* Create CHANGELOG.md

* Update CHANGELOG.md
2017-03-09 14:06:50 -03:00
Jason Blais
963a1862c8 Adding Patent Grant info for react library in NOTICE.txt (#331)
* Adding Patent Grant info for react in NOTICE.txt

* Add patent grant disclosure for react-native

* Update NOTICE.txt
2017-03-09 14:05:54 -03:00
enahum
cd6840aefd Version Bump to 12 (#332) 2017-03-08 16:04:34 -03:00
enahum
f546f01d2e Version Bump to 12 (#333) 2017-03-08 16:04:16 -03:00
enahum
aca415bd20 update fastlane (#334) 2017-03-08 14:15:13 -03:00
lfbrock
626233f248 Update PR template and Issue template (#335)
* Update PULL_REQUEST_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md
2017-03-08 13:46:31 -03:00
enahum
e64eb3053b Fix WebSocket reconnect (#330) 2017-03-06 21:42:43 -03:00
enahum
6296f39673 Fix login when showing an error (#329) 2017-03-06 17:22:45 -05:00
lfbrock
8610f9f943 Create ISSUE_TEMPLATE.md (#328) 2017-03-06 17:38:38 -03:00
enahum
ba582b2edc PLT-5606 Pre-fill the server URL from async storage if you have it. (#326) 2017-03-06 11:04:45 -05:00
Chris Duarte
c01035ac38 Action button (#324) 2017-03-06 09:50:33 -05:00
enahum
d001e1d24f PLT-5643 Handle unexpected response from the server (#317)
* PLT-5643 Handle unexpected response from the server

* removing the need to check if the response is json
2017-03-03 20:33:04 -03:00
enahum
2fe69cacef Move periodic status check to channel scene (#318) 2017-03-03 20:32:51 -03:00
Harrison Healey
4c2928218f PLT-5695 Fixed replying in DM threads (#320) 2017-03-03 18:18:47 -03:00
enahum
49c31620a8 PLT-5707 Fix Threads title in DM channel (#322) 2017-03-03 16:17:17 -05:00
enahum
90bd750b97 fix serverVersion crash if server version is undefined (#319) 2017-03-03 18:16:15 -03:00
Chris Duarte
bb1446da91 Fix android web socket error (#321)
* Fix android web socket error

* Modify init args
2017-03-02 17:34:45 -03:00
enahum
433a95ed69 PLT-5677 Make System messages mark channels as unread (#313)
* PLT-5677 Make System messages mark channels as unread equals to the webapp

* addressing feedback

* Clarify when the channel should be mark as read

* ignored posts types dont change the channel read state

* fix typo
2017-03-01 19:02:17 -03:00
enahum
069495ecb2 PLT-5676 Validate server URL format (#315)
* PLT-5676 validate server URL format

* changed based on feedback
2017-03-01 11:13:17 -05:00
enahum
5759ae48db PLT-5679 Connect iOS to plain http servers (#316)
* PLT-5679 connect to plain http servers

* fix identation
2017-03-01 11:12:57 -05:00
enahum
542555d3bb PLT-5678 Ensure all connections are closed on logout (#314) 2017-03-01 10:36:23 -05:00
enahum
9969ac52f2 PLT-5659 removed right padding for text inputBox (#312) 2017-03-01 10:34:31 -05:00
Chris Duarte
8ae59996a5 Navigation swiping fix (#311)
* Navigation swiping fix

* Review feedback
2017-03-01 10:34:01 -05:00
lfbrock
8a12b6ea3f Add new beta test links to ReadMe (#310) 2017-02-28 12:14:49 -03:00
enahum
32b72f1471 Version Bump to 11 (#308) 2017-02-27 20:36:13 -03:00
enahum
a7187ded49 Version Bump to 11 (#309) 2017-02-27 20:36:03 -03:00
enahum
b71052bd64 PLT-5660 Handle channel created WebSocket event (#306)
* Handle channel created WebSocket event

* increasing test timeout
2017-02-27 19:51:04 -03:00
enahum
c121097974 PLT-5587 Create channel (#300)
* PLT-5587 Create channel

* Feedback review

* hidding options in account settings
2017-02-27 16:17:18 -05:00
enahum
303574f235 Include external tester when pushing a new build to testflight (#305) 2017-02-27 18:12:01 -03:00
Harrison Healey
764de28fa6 Updated ESLint rules (#304)
* Updated ESLint rules

* Updated ESLint version
2017-02-27 17:39:39 -03:00
Chris Duarte
24e4fb5311 Navigation modal fix (#303)
* Navigation modal fix

* Review feedback
2017-02-27 15:11:10 -05:00
enahum
e6547c6970 PLT-5502 Update statuses (#302) 2017-02-27 14:10:39 -05:00
enahum
c1318fe834 PLT-5589 Reload configuration when the server config changes (#301) 2017-02-27 13:15:51 -05:00
Chris Duarte
a36702f7d4 PLT-5634 Add account settings scene (#297)
* PLT-5634 RN: Add account settings scene

* Rebase
2017-02-25 19:48:30 -03:00
Chris Duarte
bb3d7941be PLT-5578 Add theming for channel info (#298) 2017-02-24 23:47:24 -03:00
Chris Duarte
9e8fb26f4b PLT-5604 Add/Remove members from pubic channels doesn't match the webapp functionality (#289)
* PLT-5604 Add/Remove members from pubic channels doesn't match the webapp functionality

* Review feedback

* Fix spelling of ChannelMembersTitle

* Use selector to consolidate auth logic for channel member mgmt
2017-02-24 23:20:28 -03:00
Chris Duarte
80edba14da PLT-5608 App crashes when invalid server url is selected (#285)
* PLT-5608 App crashes with wrong URL

* Review feedback

* FormattedError Modification

* Rename i18n id for server ping failure message

* Display friendly error message if server ping fails w/o response
2017-02-24 21:36:49 -03:00
Chris Duarte
4be1e9af3a PLT-5600 RN: Mention and Channel autocomplete in the thread scene (#299) 2017-02-24 21:24:21 -03:00
enahum
d33c2712ed PLT-5611 Add Channel Name to thread view title (#294) 2017-02-24 12:46:50 -03:00
Chris Duarte
440de8ba32 PLT-5610 Localize login error message to match what's displayed in webapp (#296)
* Capture server error id where handling error response in client.js

* Alias login errors for unknown acct & incorrect pw to match webapp
2017-02-24 10:19:31 -03:00
Chris Duarte
63dee10fd8 PLT-5644 Center align login header text and topbar title text (#295)
* Center align header text in global styles

* Center align topbar title text
2017-02-24 10:18:15 -03:00