Mattermost Build
8416525487
Fix loosing the server config when handleManagedConfig ( #3128 )
2019-08-15 08:27:52 -07:00
Elias Nahum
e94dfb5389
MM-16752 Fix unhandled promise rejection TypeError state.websocket.lastConnectAt ( #3039 )
2019-08-02 16:13:55 -04:00
Jesús Espino
8887319324
Revert Guest Accounts feature ( #3024 )
...
* Revert "Automated cherry pick of #3019 (#3020 )"
This reverts commit a0b021d21d .
* Revert "Adding guest accounts feature (#2990 ) (#3015 )"
This reverts commit 60030defb8 .
2019-07-23 20:55:15 +02:00
Mattermost Build
a0b021d21d
Automated cherry pick of #3019 ( #3020 )
...
* Fixing guest login
* Fixing eslint
2019-07-23 11:22:43 +02:00
Jesús Espino
60030defb8
Adding guest accounts feature ( #2990 ) ( #3015 )
...
* 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 23:46:15 +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
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
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
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
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
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
Elias Nahum
fa12bb18ad
MM-13431 Fix load more posts ( #2452 )
...
* Load more posts of a channel by determining the amount of posts shown regardless of how many are in the store
* Feedback review
* do not combine posts when fetching them
2018-12-13 08:38:23 -03:00
Elias Nahum
2184696e65
post menu and file attachments ( #2414 )
...
* post menu and file attachments
* Fix post list selector test
* Use new Gesture handler to avoid gesture conflicts in post menu and reaction list
* Allow reaction list to scroll the header on Android
* Feedback review
* Add some comments
* Fix eslint
2018-12-05 14:59:41 -03:00
Jesús Espino
4148ee93e5
MM-12960: Only back to previous channel if is not archived ( #2389 )
2018-11-28 10:31:48 -05:00
Elias Nahum
508ffad00f
Count the posts received after combining join/leave ( #2378 )
2018-11-27 14:38:32 -05:00
Joram Wilander
e431bd36c4
MM-12845 Add widgets and interactive dialogs ( #2353 )
...
* Add widgets and interactive dialogs
* Update snapshots
* Updates per feedback and fix slash command
* Fix style
* Update styling
* Updates per feedback
* Updates per feedback
* More styling changes
* Remove extra space above message menu
2018-11-23 12:30:12 -05:00
Elias Nahum
6df0f8b915
Set the user status as offline when the app loses connection ( #2366 )
2018-11-22 11:09:55 -03:00
Harrison Healey
9727476ef6
MM-12901 Improve handling of hashtags on Recent Mentions, Flagged Posts, and Permalink screens ( #2329 )
...
* MM-12901 Create showSearchModal action and use for hashtags
* MM-12901 Improve handling of hashtags on Recent Mentions, Flagged Posts, and Permalink screens
2018-11-09 20:43:22 -03:00
Elias Nahum
19a755d59f
Fix when message have multiple actions ( #2331 )
...
* Fix when message have multiple actions
* Feedback review
2018-11-09 18:38:58 -05:00
Elias Nahum
9db040bcf7
Retry fetching teams if no teams are found ( #2288 )
...
* Retry fetching teams if no teams are found
* Remove flow
2018-10-27 00:50:19 -03:00
Harrison Healey
cfb372f75a
MM-11157 Switch ESLint to use eslint-config-mattermost ( #2247 )
2018-10-11 13:35:25 -04:00
Joram Wilander
10a1e93e7d
MM-12348 Persist interactive menu choices past channel switch and share with thread view ( #2207 )
...
* Persist interactive menu choices past channel switch and share with thread view
* Remove unneeded async
2018-10-03 15:08:05 -03:00
Jesús Espino
2a75ee022c
MM-11606: Back to prev channel on close archived channel ( #2183 )
2018-09-27 19:02:02 +02:00
Jesús Espino
9668bdc894
MM-11577: Back to previous channel on archive ( #2172 )
...
* MM-11577: Back to previous channel on archive
* Add last mattermost-redux version
2018-09-27 18:15:45 +02:00
Joram Wilander
ef3ba7eb00
MM-11934 Add interactive action menus ( #2099 )
...
* Add interactive action menus
* Add snapshot tests
* Updates per feedback
* Update styling of menu action
* Updates per feedback
* Update submitted message color
* Update snapshots
2018-09-20 14:01:51 -04:00