Commit graph

255 commits

Author SHA1 Message Date
Chris Duarte
0721c9ca4c Upgrade to RN 0.42.0 (#356) 2017-03-16 15:15:54 -04:00
Chris Duarte
1e63ac2667 PLT-5599 RN: Modal options for Android (#353) 2017-03-16 15:13:36 -04:00
enahum
20686b2e5f Version Bump to 14 (#352) 2017-03-14 10:54:51 -03:00
enahum
841144b5a0 Version Bump to 14 (#351) 2017-03-14 10:54:40 -03:00
enahum
548633f5c0 PLT-5857 replace the service folder with mattermost-redux library (#348) 2017-03-14 10:52:24 -03:00
enahum
93687f31a0 Version Bump to 13 (#350) 2017-03-14 09:53:58 -03:00
enahum
5338255b7f IOS Version Bump to 13 (#349)
* update fastlane

* Version Bump to 13
2017-03-14 09:53:45 -03:00
enahum
3096e89155 Fix badge flickering (#341) 2017-03-14 00:23:59 -03:00
enahum
d852587268 Fix android error handler (#347) 2017-03-14 00:09:23 -03:00
lfbrock
53b0ee0f10 Update README.md (#346) 2017-03-13 18:44:36 -03:00
Chris Duarte
d36dc3412a PLT-5492 Add Account Settings > Notifications (#323)
* PLT-5492 RN: Add Account Settings > Notifications

* Review feedback
2017-03-13 15:37:44 -03:00
enahum
8bc6a0cb14 PLT-5726 Fix post profile picture tap (#345)
* PLT-5726 Fix post user image tap

* Fix double loading showing up

* conditional reply bar
2017-03-13 12:51:20 -04:00
enahum
31d89c37fe PLT-5506 Record user agent/device type in the active sessions list (#342)
* Add user info and userAgent

* notice
2017-03-13 13:39:35 -03:00
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