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
Miguel Alatzar
863043e125
[MM-16134] Update notification settings related screens ( #2914 )
...
* 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
* Remove navigationComponentId
2019-06-25 09:34:26 -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
f6e42da251
MM-16239 disable fields according to SAML or LDAP ( #2878 )
...
* MM-16239 disable fields according to SAML or LDAP
* fix typo
2019-06-17 15:27:35 -04: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
Eli Yukelzon
056d5a91b7
MM-15486 - Archived channels appear incorrectly on mobile ( #2882 )
...
* properly separate archived channels from 'other'
* make sure fetch is performed to display full list
* reverted unneeded change
* corrected display behaviour
* code cleanup
* redux commit reference updated
2019-06-17 10:22:36 -04:00
Miguel Alatzar
59ad3a22c4
[MM-15668] Member list items are selectable and enabled only when canManagerUsers is true ( #2844 )
...
* Member list items are selectable only when canManagerUsers is true
* Address review comment
2019-06-16 11:15:50 -07:00
Renato Peterman
650aa6aae2
[MM-14917] RN Android: Push notification settings are only saved when closing settings page ( #2735 )
...
* Add required action and props
* Allow callback param to setModilePush and setMobilePushStats
* Added saveNotificationProps method to save data on alert save action
* Fix import order
* Fix import path
* Fix import order
* Added defaultProps currentUser to NotificationSettingsMobileAndroid
* Added missing trailing comma
2019-06-15 14:29:21 -04:00
Woolim Cho
92f20a78ef
Add key to SlideUpPanel ( #2845 )
2019-06-15 14:21:49 -04:00
Miguel Alatzar
7d67f1214e
[MM-16008] Update setNavigatorStyles and replace setOnNavigatorEvent ( #2877 )
...
* Update setNavigatorStyles
* Replace navigator.setOnNavigatorEvent and callbacks
* Update unit tests
* Save user notify props on componentWillUnmount
* Add TODOs about removing componentDidAppear/setNavigatorStyles
* check-styles fix
* Fix eslint errors
2019-06-14 08:14:26 -07:00
Miguel Alatzar
2e423a9f64
Fix navigation top bar style ( #2885 )
2019-06-14 10:06:14 -04:00
Sudheer
d3b2759c36
MM-16228 Add compatibility for removal of ExperimentalEnablePostMetadata flag from config ( #2883 )
2019-06-13 16:29:35 -04:00
Miguel Alatzar
cbe0c719ac
[MM-15874] Add native code to support RNN v2 on Android ( #2855 )
...
* Remove fix for MM-9233
* MM-15774 Add native code to support RNN v2 on iOS
* Android changes for RNN v2 upgrade
The activity visibility handling of NotificationsLifecycleFacade
is no longer needed in RNN v2. I've moved the lifecycle callbacks
we use for handling managed config into
ManagedActivityLifecycleCallbacks.java and registered them in
MainApplication's onCreate. Also, I've moved and updated the
loading and getting of the managed config into MainApplication
* Update moduleNames and modulePaths
* Use TAG in restrictionsReceiver
* Set launch screen onCreate
* Comment out registerActivityLifecycleCallbacks for now
* Remove setSoftInputMode call as it's handled in the manifest
* Remove clearHostOnActivityDestroy as that fix is no longer needed
* Rename to canLaunchEntry
* Remove replacement of super.onBackPressed()
* Remove react-navigation from packager files
2019-06-12 15:26:03 -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
2abf044193
Show broken image for inline images without dimensions ( #2868 )
2019-06-06 15:14:32 -04:00
Elias Nahum
cdfc1a8317
Fix image preview width on tablets ( #2867 )
2019-06-06 21:03:17 +08:00
Elias Nahum
4d664f6654
Fix file upload not completing ( #2866 )
...
* Fix file upload not completing
* Update snapshots
2019-06-06 08:39:06 -04:00
Elias Nahum
bb8f524983
MM-16070 Fix channel sidebar state while filtering ( #2864 )
2019-06-05 19:33:23 -04:00
Elias Nahum
e5dab98a8e
Fix opengraph image on tablet to account for the sidebar ( #2863 )
2019-06-05 17:58:28 -04:00
Harrison Healey
5ff98e8a86
Merge branch 'master' into rnn-v2
2019-06-05 11:25:14 -04:00
Elias Nahum
457413196e
MM-15643 Fix race condition to prompt for passcode and ( #2862 )
...
detect if passcode has been removed while the app in the background
2019-06-05 11:08:01 -04:00
Elias Nahum
89c2e66dfd
MM-16013 make paperplain animation faster ( #2860 )
2019-06-05 11:06:29 -04:00
Woolim Cho
b81cd49fb4
[MM-13879] Add Edit profile button to RHS menu and own profile pop-over ( #2832 )
...
* Add Edit Profile button to right panel menu
* Make user info of right panel menu opens the users own profile
* Add an Edit button of the users own profile
* handle transitions
* Add commandType to propTypes
* Update test codes
* add unit tests for user_profile
* Assign commandType manually
* Remove async, set delay to 0
2019-06-05 16:11:42 +08:00
Harrison Healey
8e1a9e8322
MM-15774 Add native code to support RNN v2 on iOS ( #2848 )
...
* Remove fix for MM-9233
* MM-15774 Add native code to support RNN v2 on iOS
2019-06-03 16:44:28 -04:00
Saturnino Abril
1d215deea6
fix server version for Android telemetry ( #2857 )
2019-06-03 09:02:26 -07:00
Elias Nahum
1e8a1307af
Update netInfo to check for internet connectivity ( #2850 )
...
* Update netInfo to check for internet connectivity instead of using apple.com as a reference
* Fix network indicator position on tablets
2019-05-31 13:33:56 -04:00
Elias Nahum
9bddbe6642
MM-15912 Fix uploads stuck at 100% ( #2847 )
2019-05-30 11:57:15 -07:00
Harrison Healey
3503025e53
MM-15643 Better close app when checking for pin code ( #2846 )
2019-05-30 11:46:35 -07:00
Harrison Healey
098a0404f7
MM-15575 Make Entry mount properly after hydration ( #2839 )
...
* MM-15575 Make Entry mount properly after hydration
* Clear unsubscribeFromStore after calling it
2019-05-28 11:36:35 -07:00
Eli Yukelzon
a6307c5ca6
MM-12320 - Change "about" section references to use the site name when it is configured ( #2835 )
...
* Change "about" section references to use the site name when it is configured
* Removed non-english changes
* Removed non-english changes
* cleanup
* Fixed indentation
* destructuring
2019-05-28 08:49:23 -04:00
Harrison Healey
6e099d6a21
MM-15643 Send user to settings when passcode is required ( #2836 )
...
* MM-15643 Send user to settings when passcode is required
* Allow access to the managed config in the iOS extensions
2019-05-27 19:38:32 -04:00
Elias Nahum
de37a2aa7a
Fix autocomplete showing behind the keyboard on iOS and not working on Android ( #2830 )
...
* Fix autocomplete showing behind the keyboard on iOS and not working on Android
* Unbundle config for Android
* Dismiss keyboard on post long press, fix scroll to bottom on new message and update tests
* Add a timeout before scrolling to give time to render the last post
* Fix crash on Android
2019-05-27 19:18:43 -04:00
Miguel Alatzar
b1bdd2b07c
Add unit test for PostBody's measurePost ( #2833 )
2019-05-25 11:58:49 -04:00
Miguel Alatzar
f444b70f4f
Allow updating of isLongPost after editing message ( #2829 )
2019-05-24 14:49:44 -07:00
Miguel Alatzar
a8eb25c965
[MM 15552] Determine number of placeholder rows from height ( #2827 )
...
* Calculate maxRows in ChannelLoader component
* Update rn-placeholder
* Fix style check
2019-05-24 12:01:02 -04:00
Elias Nahum
ecfeee78a2
Allow drawer pan responder when switching teams ( #2823 )
2019-05-23 09:00:48 -07:00
Harrison Healey
fcd9e401f5
MM-15582 Don't show forgot password link without email/username login ( #2811 )
2019-05-22 11:55:27 -04:00
Elias Nahum
90d9b7acca
Fix code so it can be parsed by mmjstool ( #2816 )
2019-05-22 09:31:30 -04:00
Miguel Alatzar
9931ec209b
Allow flagging of read-only channel posts ( #2801 )
2019-05-21 09:11:45 -07:00
Harrison Healey
1299b9d995
MM-14802 Add autocorrect when editing a post ( #2810 )
2019-05-21 08:51:00 -07:00
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal ( #2799 )
...
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard
* Fix tests
* feedback review
* add new line at the end of file
* feedback review and added todo list
* Track interactive dismiss keyboard and set scrollview bounds natively
* Fix snapshots
* Fastlane default to current branch when no BRANCH_TO_BUILD is set
* Set NODE_OPTIONS in ios build script
* Rebind scrollview when channel gets first set of posts
* Keep scrolling momentum on keyboard close
* Update react-native-keyboard-tracking-view
* Fix ScrollView offset with keyboard-tracking
* Fix offset while dragging the keyboard
* Allow action on channel drawer on tablets
* Fix typo
Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>
* Fix indentation
2019-05-20 12:02:00 -04:00
Elias Nahum
2b4574885b
Keep the channel drawer opened on tablets ( #2793 )
...
* Keep the channel drawer opened on tablets
* update en.json after running mmjstool
* Set the channel drawer to width 220
* feedback review
* PM Review
* Fix snapshots
2019-05-16 20:40:32 -04:00
Elias Nahum
d0071c21b0
MM-15282 Fix cutoff placeholder on Android ( #2798 )
...
* MM-15282 Fix cutoff placeholder on Android
* Feedback review
2019-05-16 17:35:09 -07: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
Elias Nahum
013579c69f
MM-15481 close post menu when replying to a message ( #2797 )
2019-05-16 16:25:48 -07:00
Miguel de la Cruz
35e4a2b73a
[MM-14751] Take group_constrained into account when adding users to channels ( #2737 )
...
* [MM-14751] Take group_constrained into account when adding users to channels
* Pass current channel properties instead of the complete object
* Point package.json to new mattermost-redux
2019-05-16 10:20:00 +01:00