CJ
55f048ad76
MM-18173 Removed getState from Add Channel Member method ( #3371 )
...
Removed getState from Add Channel Member method since the Redux store is not looking for it. 3rd param for this method is a postRootID, which is not sent from this request.
2019-10-12 01:30:03 -04:00
Miguel Alatzar
459801d10b
[MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal ( #3298 )
...
* Patch react-native-navigation
* Make navigation actions regular functions
* Fix unhandled promise rejection warning
* Missing semicolons
* Mock navigation actions
* Add unit tests for navigation actions
* Place all patches in patches directory
* Fix channel_info snapshot test
2019-09-25 15:23:45 -07:00
Eric Sethna
2c4764bc88
Update session expiry push notification text ( #3211 )
...
* Update session expiry text
* Calculate the session expires in days to be displayed in the local notification
* Feedback review
2019-09-16 12:01:10 -07:00
Elias Nahum
d4bd7833ea
Fix loosing the server config when handleManagedConfig ( #3125 )
2019-08-15 08:25:46 -07:00
Miguel Alatzar
ffbae7589f
Apply setNavigatorStyles to all navigation components ( #3121 )
2019-08-15 02:00:21 +08:00
Elias Nahum
32f329fca2
MM-17693 Android fix close settings screen ( #3108 )
...
* MM-17693 Android fix close settings screen
* Fix unit tests
2019-08-13 10:29:54 -04:00
Elias Nahum
5869e1a110
Fix pop thread screen when deleting the root post ( #3092 )
2019-08-09 11:04:24 -04:00
Elias Nahum
e87858d7af
Various fixes ( #3078 )
...
* MM-17588 Remove navigation component from stack
* MM-175986 Fix Clock Display Settings on iOS
* Fix markdown and team icon currentServerUrl
* Fix closing permalink logs out the user
* Fix file attachment document ref
* Fix applyTheme when changing a theme in the app
* Feedback review
* remove / when fetching the image on the markdown table on relative paths
2019-08-08 22:28:07 +08:00
Elias Nahum
76df42bbd1
MM-16752 Fix unhandled promise rejection TypeError state.websocket.lastConnectAt ( #3039 )
2019-08-02 13:04:50 -07:00
Miguel Alatzar
59e948f06a
Apply new theme to all navigation components ( #3005 )
2019-07-23 12:21:35 -04:00
Jesús Espino
2106fca1c7
Fixing guest login ( #3019 )
...
* Fixing guest login
* Fixing eslint
2019-07-23 11:19:59 +02:00
Jesús Espino
ee93e4fa59
Adding guest accounts feature ( #2990 )
...
* MM-15059: Restict the permissions for guests (#2791 )
* MM-15057: Adding guest badge to identify guest users (#2774 )
* MM-15057: Adding guest badge to identify guest users
* Adding Guest tags in the channel title
* Adding i18n translations
* Adding DM and GM guest warnings
* Fixing check-style
* Adding and fixing tests
* Adding i18n text
* Only showing the subtitle when there is enough space
* Addressing new design changes
* Fixing eslint
* Addressing PR comments
* Moving getChannelStats to the handleSelectChannel action
* Adding the guest info in android landscape channel headers
* simplified the guest warning text generation
* Fixing i18n
* Fixing leaving channel behavior for guests (#2989 )
* Fixing leaving channel behavior for guests
* Fixing tests and adding a new one
* fixing typo
* Addressing PR comments
* Addressing PR comments
* Fixing tests
2019-07-22 22:14:39 +02:00
Miguel Alatzar
d7432d3d41
Merge branch 'master' into rnn-v2
2019-07-09 14:08:15 -07:00
Saturnino Abril
5715ed8e6f
minor fix to access state of websocket ( #2965 )
2019-07-09 10:50:00 -04:00
Saturnino Abril
aa6ddf062d
fix app chrashing when sending invalid slash command ( #2966 )
2019-07-09 22:11:29 +08:00
Miguel Alatzar
5eee2b7652
[MM-16139] [MM-16140] [MM-16141] Update the remaining screens/components ( #2920 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Upate NotificationSettings
* Update NotificationSettingsAutoResponder
* Update NotificationSettingsMentions
* Update NotificationSettingsMobile
* Update CreateChannel and children
* Update MoreChannels
* Update ChannelPeek and children
* Update ChannelNavBar and children
* Update ChannelPostList and children
* Update ChannelInfo and children
* Update ChannelAddMembers
* Update ChannelMembers
* Update EditChannel
* Fix setting of top bar buttons
* Update Channel screen and children
* Update PinnedPosts
* Update LongPost
* Update PostOptions
* Update PostTextboxBase
* Update EditPost
* Check-styles fix
* Update DisplaySettings
* Update Timezone
* Update SelectTimezone
* Update IntlWrapper and Notification
* Update InteractiveDialog and children
* Update ExpandedAnnouncementBanner
* Update ClientUpgradeListener
* Update MoreDirectMessages
* Update SelectorScreen
* Update UserProfile
* Update Thread
* Update About
* Update ImagePreview
* Update TextPreview
* Update AddReaction
* Update ReactionList and children
* Update Code
* Update TermsOfService
* Update Permalink
* Update Permalink
* Update ErrorTeamsList
* Update Search
* Remove navigator prop
* Fix setButtons calls
* Remove navigationComponentId
* Fix test
* Handle in-app notifs in global event handler
* Fix in-app notification handling
* Fix typo
* Fix tests
* Auto dismiss in-app notif after 5 seconds
* Fix typo
* Update overlay dismissal
* Animate in-app notif dismissal and allow gesture dismissal
2019-07-08 10:03:31 -07:00
Miguel Alatzar
1b9b1e3f39
Merge branch 'master' into rnn-v2
2019-07-05 15:56:56 -07:00
Elias Nahum
24f33b2f97
Fix regression opening a channel from a push notification ( #2952 )
2019-07-05 15:55:08 -07:00
Miguel Alatzar
51aac1e6e7
Merge branch 'master' into rnn-v2
2019-07-02 18:15:19 -07:00
Harrison Healey
0ff6dba3c8
MM-16477 Check for modified users on reconnect ( #2936 )
...
* MM-16477 Move websocket status to redux
* MM-16477 Check for modified users on reconnect
* Update mattermost-redux
* Update mattermost-redux
2019-07-02 14:20:48 -04:00
Miguel Alatzar
b65ce5d283
[MM-16136] Update channel related screens ( #2915 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Upate NotificationSettings
* Update NotificationSettingsAutoResponder
* Update NotificationSettingsMentions
* Update NotificationSettingsMobile
* Update CreateChannel and children
* Update MoreChannels
* Update ChannelPeek and children
* Update ChannelNavBar and children
* Update ChannelPostList and children
* Update ChannelInfo and children
* Update ChannelAddMembers
* Update ChannelMembers
* Update EditChannel
* Fix setting of top bar buttons
* Update Channel screen and children
* Fix typo
* Use goToScreen for Android too
* Remove navigationComponentId
2019-06-26 16:46:05 -04:00
Elias Nahum
89b96d51db
MM-16430 refactor app entry point ( #2924 )
...
* MM-16430 refactor app entry point
* iOS Extensions to use session token from KeyChain
* Remove token from general credentials entity
* Fix mattermost-managed.ios to return the cachedConfig
* Migrate server based keychain for android push notifications
* remove unneeded async
* Remove unneeded android InitializationModule
2019-06-26 15:21:20 -04:00
Miguel Alatzar
150253d392
[MM-16012] [MM-16084] Update screens related to settings sidebar + update SearchResultPost screen and its children ( #2913 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Check-style fix
* Address review comments
2019-06-24 12:52:08 -07:00
Miguel Alatzar
913f05e131
[MM-16011] Update screens related to main sidebar ( #2907 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
2019-06-24 10:58:15 -07:00
Miguel Alatzar
50a738a702
[MM-16009] Update screens that can be displayed prior to the Channel screen. ( #2887 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
2019-06-19 15:42:27 -04:00
Miguel Alatzar
0f948f650d
Merge branch 'master' into rnn-v2
2019-06-18 09:58:35 -07:00
Elias Nahum
6546dfdfd2
Set post list data and timestamp based on the user timezone if available ( #2888 )
2019-06-17 15:24:28 -04:00
Miguel Alatzar
2e423a9f64
Fix navigation top bar style ( #2885 )
2019-06-14 10:06:14 -04:00
Harrison Healey
73792d5526
MM-16011 Update navigation through Login and Channel screens ( #2870 )
...
* Update navigation through Login and Channel screens
* Stop using static options and mergeOptions
* Update unit tests
2019-06-11 18:10:14 -04:00
Elias Nahum
29240b9c6f
MM-16061 Keep unread channels in place on Tablets ( #2865 )
2019-06-06 15:15:40 -04:00
Elias Nahum
90d9b7acca
Fix code so it can be parsed by mmjstool ( #2816 )
2019-05-22 09:31:30 -04:00
Elias Nahum
bbfd6e820f
Fix select default channel ( #2800 )
...
* Fix select default channel
* use utility with channels in team object
* feedback review
* update mattermost-redux
2019-05-16 20:02:19 -04:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined ( #2783 )
2019-05-10 09:34:23 -07:00
Miguel Alatzar
1a81daaa37
[MM-15379] Avoid possible reading of .name on undefined ( #2778 )
...
* Avoid possible reading of property on undefined
* Add unit test for handleSelectChannelByName
* Update mattermost-redux hash
2019-05-08 13:16:03 -07:00
Saturnino Abril
e086d66ec2
[MM-13955] Add telemetry for Android ( #2719 )
...
* add markers for Android profiling
* update per comments
* Remove beta build flag
* update per comment, latest change on telemetry server and others
* rebase and fix merge conflicts, and update per comments
* update commit hash of mattermost-redux
2019-05-08 00:23:59 +08:00
Saturnino Abril
e3b4191af9
[MM-14619] Remove Client4.online and related setOnline function ( #2718 )
...
* remove Client4.online and related setOnline function
* update mattermost-redux commit to 16a39c671193db23006d848c7866adbb5cae6901
2019-04-24 00:34:34 +08:00
Jesús Espino
c769b536ae
Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user ( #2674 )
...
* Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user
* upgrading to the last mattermost-redux version
2019-04-16 23:34:02 +02:00
Harrison Healey
9c53852128
Reorganize post state and make postsInChannel into a sparse array ( #2693 )
...
* MM-13957 Reorganize post actions (#2553 )
* MM-13957 Reorganize post actions
* Update mattermost-redux
* Update mattermost-redux
* Update package-lock.json to resolve build issues
* MM-13958/MM-13959 Make postsInChannel into a sparse array (#2600 )
* MM-13960 Re-add combined system messages (#2637 )
* MM-13960 Re-add combined system messages
* Pass entire post to PostOptions
* Update mattermost-redux
* Update mattermost-redux
* Address feedback
* Update mattermost-redux
2019-04-15 17:20:23 -04:00
Joram Wilander
77fe06794f
Generate random channel URL name from display names that don't clean into a usable name ( #2679 )
2019-03-28 13:34:56 -07:00
Elias Nahum
f539ddf765
MM-14630 Mark channel as read and viewed when opening brought from the background ( #2658 )
2019-03-19 19:58:23 -03:00
Saturnino Abril
b5e4b5a657
fix channel mention badge and posts after opening the app from push notification (which is initially at closed state) ( #2648 )
2019-03-16 00:04:30 +08:00
Saturnino Abril
8719d3f227
fix channel mention when app is started from push notification ( #2638 )
2019-03-11 15:36:02 -04:00
Elias Nahum
41c675fd84
Set the correct channel display name when switching teams ( #2625 )
2019-03-05 11:56:24 -03:00
Elias Nahum
88f5848850
Dependencies update ( #2576 )
...
* Dependencies update
* Fix WebView
* Update to RN 0.58.5 and include the WebSocket fix
* Update react-native-video
* Fix RNFetchBlob
2019-02-20 17:17:04 -03:00
Daniel Schalla
e82146d52f
[MM-10346] Set CSRF Token from Cookie after Login / on App load ( #2534 )
...
* Set CSRF Token from Cookie after Login / on App load
* Reset CSRF on Logout
* Simplify cookie value access
* Make Set CSRF Blocking
2019-02-20 17:06:03 +01:00
Elias Nahum
a0a1fa28ce
MM-13896 Sync channel as read between clients (including opening Push Notifications) ( #2548 )
...
* Update mattermost-redux to use latest WS changes
* Properly mark channel as read, keep the new message indicator, and fix push notification flow
* unneeded parameter in setCurrentUserStatusOffline
Co-Authored-By: enahum <nahumhbl@gmail.com>
* Feedback review
* Update mm-redux ref
2019-02-16 15:09:22 -03:00
Chris Duarte
ffe6b9e2ef
Deep linking based on channel url; Fix merge conflicts ( #2542 )
...
Code cleanup
2019-02-14 13:29:57 -05:00
Elias Nahum
23e58f2ea1
MM-13830 Ensure schedule of session expired notification ( #2554 )
...
* Ensure schedule of session expired notification
* feedback review
* passing intl instead of message
2019-02-07 13:42:26 -08:00
Elias Nahum
477dcbb1c5
Fix other users status changes ( #2491 )
2019-01-07 15:15:12 -05:00
Brad Coughlin
15b44e9d71
MM-12354 Remove Profile Image ( #2428 )
...
* save progress
* Add option to remove profile picture
* missed when rebasing
* rename extraOptions to removeProfileImage
* clean up removeProfileImage action
* placeholder after removing profile picture, unit tests
2018-12-17 07:56:39 +08:00