Harrison Healey
ef162ce403
Merge branch 'master' into mark-as-unread
2019-11-13 19:34:06 -05:00
Elias Nahum
dc830c56be
MM-20149 Fix marking channels as read ( #3549 )
...
* MM-20149 Fix marking channels as read
* empty commit
2019-11-13 13:38:20 -05:00
CJ
78cbcf1437
MM-19966 Fixed Notification Settings ( #3535 )
...
* MM-19966 Fixed Notification Settings
Fixed the save functionality for props. There was a change to combine notification settings that then did a deep comparison on two like objects. This change makes the comparison of the newly changed notification props and the previous props.
* Fix unit test
2019-11-12 17:48:14 -05:00
Miguel Alatzar
04210b8a14
[MM-19968] Ensure SELECT_CHANNEL_WITH_MEMBER is dispatched when app opened from a push notification ( #3533 )
...
* Dispatch SELECT_CHANNEL_WITH_MEMBER
* Call handleSelectChannel with true when from any push notification
* Always dispatch SELECT_CHANNEL_WITH_MEMBER with passed channelId
* Add missing comma
* Update unit tests
* Fix makrChannelViewedAndRead call
2019-11-12 17:45:11 -05:00
Harrison Healey
1593c62750
Merge branch 'master' into mark-as-unread
2019-11-12 15:51:41 -05:00
Harrison Healey
ddea1dedbe
MM-19812 Properly handle in-app update_badge notifications ( #3531 )
2019-11-11 12:46:24 -07:00
Miguel Alatzar
5360989336
[MM-19927] Fix launching app from push notification on iOS ( #3527 )
...
* Call getInitialNotification on configure
* Mock getInitialNotification
2019-11-07 14:47:52 -05:00
Harrison Healey
e69bec46a9
Merge branch 'master' into mark-as-unread
2019-11-07 11:22:55 -05:00
Miguel Alatzar
f2c47def31
[MM-19841] Keep currentTeamId and team theme preferences when resetting state ( #3519 )
...
* Keep currentTeamId and team theme preferences
* Missing semicolon
* Update mattermost-redux commit
2019-11-06 15:00:50 -07:00
Harrison Healey
cf8e807e3f
Merge branch 'master' into mark-as-unread
2019-11-05 11:27:59 -05:00
CJ
a5b4375aa5
MM-19599 Updated Channel Nav Bar height ( #3509 )
...
During the landscape changes from the previous release, I had added 8px of padding to the iOS landscape, which caused this issue to occur. This change reverts the added padding so that the height matches across the screens for the navigation bar.
To note, react-native-navigation is used for the info/thread headers and there is no way to adjust the height of this without replacing the header entirley.
2019-11-04 17:29:50 -07:00
Elias Nahum
11ddd66809
MM-19853 Fix iOS SafeAreaView for Server URL screen ( #3513 )
2019-11-04 14:59:23 -07:00
Harrison Healey
af2e8b7795
Merge branch 'master' into mark-as-unread
2019-11-04 15:08:49 -05:00
Deepak Sah
9708fb583c
[MM-18768] Remove deprecated lifecycle methods from channel info ( #3377 )
...
* Removed deprecated method componentWillReceiveProps
* Moved updateChannelRequest to state
* Added static to getDerivedStateFromProps method
* Fixed build errors
* Removed getDerivedStateFromProps and Refactored code
* updating updateChannelRequest inside state
* Added getDerivedStateFromProps
* Refactored code
2019-11-04 09:49:14 -05:00
Miguel Alatzar
0ab53505af
Ensure setNavigatorStyles is called with Channel componentId ( #3515 )
2019-11-03 12:04:05 -07:00
CJ
42560ca047
MM-18934 Fix padding on image attachment border ( #3466 )
...
* MM-18934 Fix padding on image attachment border
Removed padding from image padding as it was pushing the images outside of the box.
* MM-18934 Add spacing between border and image
Added a margin to progressive image to allow for a spacing with the absolutefill
* MM-18934 Fixed eslint
Fixed eslint issues
2019-10-31 11:29:08 -04:00
Maria A Nunez
8f4d5ad260
Reverted mention color to user linkColor ( #3472 )
2019-10-31 08:27:16 -07:00
Harrison Healey
d59b62daf8
Merge branch 'master' into mark-as-unread
2019-10-31 09:15:13 -04:00
Miguel Alatzar
7ee5e93f8b
Fix failing snapshots ( #3498 )
2019-10-30 17:03:30 -07:00
Maria A Nunez
7c50b805fe
MM-19759 - Added TOS and Privacy Policy default links in About… ( #3491 )
2019-10-30 14:11:14 -04:00
Elias Nahum
c8ee8fc2dd
MM-19733 fix posts getting behing post text box in thread screen ( #3480 )
...
* MM-19733 fix posts getting behing post text box in thread screen
* Update app/components/safe_area_view/safe_area_view.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/safe_area_view/safe_area_view.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Small refactor
* Fix snapshot test after merge
2019-10-30 11:37:26 +01:00
Elias Nahum
f16d8baf46
MM-19731 Fix at-channel autocomplete to return out of channel mentions ( #3477 )
...
* MM-19731 Fix at-channel autocomplete to return out of channel mentions
* profiles not in channel test deleted use case
* fix typo
2019-10-29 22:22:28 -04:00
Miguel Alatzar
a142e8e168
Include previous notify props when saving new ones ( #3482 )
2019-10-29 16:43:39 -07:00
Harrison Healey
bf68a33bab
Merge branch 'master' into mark-as-unread
2019-10-29 10:00:22 -04:00
Miguel Alatzar
2e12fad821
Fix failing snapshot tests ( #3486 )
2019-10-29 09:22:48 -04:00
Miguel Alatzar
1efb01deda
[MM-16593] Upgrade to RN 0.61.2 ( #3455 )
...
* [MM-16593] [MM-17175] [MM-17164] [MM-17189] [MM-17181] Android - Upgrade to RN 0.60 (#3145 )
* Upgrade to react-native 0.60
* Use @sentry/react-native
* Manually link @sentry/react-native
* Address review comments
* Jetify after install
* Call jetify from node_modules
* [MM-17785] iOS - Upgrade to RN 0.60 (#3153 )
* Upgrade to react-native 0.60
* Use @sentry/react-native
* Manually link @sentry/react-native
* Address review comments
* Jetify after install
* Call jetify from node_modules
* Get app building for iOS
* Revert react-native-image-picker upgrade
* Minor version upgrade of react-native-image-picker
* [MM-17142] Convert all string refs to callbacks (#3217 )
* Replace string refs
* Fix tests
* Don't use inline functions
* Fix mattermost-redux reversion from master merge
* [MM-18336] Upload Sentry debug symbols only when SENTRY_ENABLED is true (#3227 )
* Upgrade @sentry/react-native
* Run Sentry gradle tasks only when enabled
* Upgrade @sentry/react-native and remove extra Sentry build phase
* [MM-17144] Use Hermes (#3226 )
* Replace string refs
* Fix tests
* Don't use inline functions
* Fix mattermost-redux reversion from master merge
* Use Hermes
* bundleCommand ram-bundle no longer needed
* Require harmony-reflect only for Android
* Fix failing test
* Path react-native's splitLayoutProps (#3337 )
* [MM-18867] [MM-17186] [MM-18866] [MM-19447] [MM-18967] Upgrade to RN 0.61.2 (#3423 )
* Upgrade to RN 0.61.2
* Update rn-fetch-blob commit hash
* Update react-native-keyboard-tracking-view commit hash
* Use react-native-youtube with AVPlayer fix
* Fix jest mocks
* Use updated document picker API
* Remove unnecessary linking
* Revert "MM-17759 Add code highlighting (#3072 )"
This reverts commit 26b999e885 .
* Fix share extension
* Revert "Revert "MM-17759 Add code highlighting (#3072 )""
This reverts commit 52aca776b12dee3abe8646d0c90480f8528e86c1.
* Address PR reviews
* Rename patch to match version
* Update react-native-youtube patch
* Update dependencies
* Fix RNDocViewer reference
* Update tests and revert to redux-persist 4.10.2
* Revert "Revert "Revert "MM-17759 Add code highlighting (#3072 )"""
This reverts commit 5ef383be2619b1be6167c23f128ecb4b4ad25df9.
* Android fixes after dep upgrades
* Use fresco 2.0.0
* Use mattermost forks
* Use React-Core in Mattermost.scheme instead of react
* Remove packager (#3452 )
* Remove Pods from source control
* Fix unit tests
* Add new line before entering the keystore in gradle.properties
* set ios as working directory for cocoapods
* Cache cocoapods on circleCI builds
* set ios as working dir
* fix cocoapods cache key
* Unify fastlane and npm dependencies command
* Use package-lock.json checksum for npm cache
* Fix package.json and use the checksum as the cache key
* Fix package.json and use the checksum as the cache key
* changes to circleci.yaml fastlane and removing pods from git
* Fix Mattermost.xcodeproj
* Update coocoapods to 1.7.5 and fix xcode header search paths
* Update package-lock.json
* Remove unused tooltip component
* Fix incorrect ref
* Disable Hermes (#3460 )
* Revert "Remove packager (#3452 )"
This reverts commit b2a79e184b3242124dfdb91ae095f6ce3f4eb986.
* Disable Hermes :'(
* Update preloaded modules
* Fix packages moduleNames and modulePaths, update snapshots and update mm-redux (ts version)
* remove document picker from modulePaths
* Fix package-lock.json
* Add eslint disable rules
2019-10-28 15:04:24 -07:00
CJ
558f6ad280
MM-19308 Fixed date wrapping ( #3445 )
...
* MM-19308 Fixed date wrapping
Updated the displayName to check for the reply button and bot tag. If seen the displayName container is set from 60% to 55% to allow for the extra space.
* MM-19308 Updated logic and added tests
Updated logic based on feedback.
Added Jest/Snapshots
* MM-19308 Apply change to other sections
Applied the change to autoresponder/webhook section.
2019-10-28 18:22:50 +02:00
Miguel Alatzar
ec0be38217
[MM-17746] Map currentUser from state to props in NotificationSettingsEmail ( #3357 )
...
* Map currentUser from state to props
* Fix ref warning
* Use optional chaining operator
* Use componentDidUpdate
* Don't forget to call super
2019-10-27 09:39:15 +02:00
Amit Uttam
349dbf9194
MM-13842 Add Autocomplete to post edit screen ( #3295 )
...
Fixes https://github.com/mattermost/mattermost-server/issues/10159
2019-10-26 13:53:17 +03:00
Woolim Cho
2ebe516296
Add pinnedpost count to channel info screen ( #3290 )
2019-10-26 10:27:47 +02:00
Amit Uttam
0f3728a185
MM-13413 Make user names in system messages tappable ( #3376 )
...
Opens profile pop-over for:
* User changed channel purpose
* User changed channel name
* User changed channel header
* User archived channel
2019-10-26 10:25:53 +03:00
Elias Nahum
64d22fd0f2
MM-18313 Fix update timezone automatically ( #3462 )
...
* MM-18313 Fix update timezone automatically
* add unit tests
2019-10-25 08:01:32 -07:00
Miguel Alatzar
1bde8ed4dc
[MM-18983] Store insets in ephemeral store ( #3457 )
...
* Store insets in ephemeral store
* Address PR review
2019-10-25 14:50:13 +03:00
Miguel Alatzar
4c872283ca
[MM-18532] Remove reactions from long post screen ( #3447 )
...
* Remove reactions from long post screen
* Remove reaction post option
* Update app/screens/long_post/long_post.test.js
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
* Update snapshot test
2019-10-24 14:01:44 -07:00
Harrison Healey
434af8d637
Revert snapshot changes
2019-10-24 16:11:39 -04:00
Elias Nahum
ee2a25df84
Fix iOS crash when pasting large images and included other file types ( #3424 )
...
* Fix iOS crash when pasting large images and included other file types
* Rename pasteImages to pasteFiles and fix copying heic images
* remove comment
* Feedback review
2019-10-24 20:41:38 +03:00
Harrison Healey
c27e96579f
Merge branch 'master' into mark-as-unread
2019-10-23 17:25:48 -04:00
Miguel Alatzar
5e5d3abd79
[MM-17145] [MM-18947] [MM-17110] [MM-14926] [MM-18646] Use patched v2.0.6 of react-native-notifications and fix Android badge number ( #3382 )
...
* Refactor custom push notification code
* Use react-native-notifications 2.0.6 and patch for scheduled notifs
* Fix patch
* iOS changes
* Fix delete
* Fix setting of badge number on Android
* Undo Reflect removal
* Undo removal of didReceiveRemoteNotification
* Use min importance for push notifs received while app is active
* Correctly set badge number after push notificaiton reply
* Fix tests
* Localize reply action text
* Add getDeliveredNotifications
* Fix identifier check and failing test
* Fix local push notif test for Android > 9
2019-10-22 21:18:59 +03:00
Romain FOYARD
b910786002
Remove deprecated lifecycle methods from misc components ( #3426 )
...
* Remove deprecated lifecycle methods from misc components
* Fixed linting errors
2019-10-22 03:20:58 +03:00
CJ
e69b7c46ba
MM-18790 Fix Keyboard Color Flash ( #3380 )
...
* MM-18790 Fix Keyboard Color Flash
Resolved the autoresponder keyboard flash by adding a 500ms delay to the keyboard focus, allowing for a smooth keyboard interaction without the color flash.
* MM-18790 Used CreateRef
Updated the reference to React.createRef
* Update app/screens/settings/notification_settings_auto_responder/notification_settings_auto_responder.js
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
* MM-18790 Added check for current
Updated the focus check to validate current is truthy
2019-10-21 16:56:58 -04:00
Bryan Culver
4f1211a586
MM-19328 | Add accessibility label to channel drawer button. ( #3448 )
...
* MM-19328 | Add accessibility label to channel drawer button.
* MM-19328 | Add accessibility hint and role to channel drawer button.
2019-10-21 23:01:17 +03:00
Miguel Alatzar
1fbf0d28d3
[MM-19084] Apply theme change for all components when theme changes ( #3415 )
...
* Apply theme change for all components when theme changes
* Remove unnecessary snapshot test
2019-10-21 12:11:56 -07:00
Miguel Alatzar
8137b8575a
[MM-18983] Listen to safeAreaInsetsForRootViewDidChange over Dimension change ( #3413 )
...
* Listen to safeAreaInsetsForRootViewDidChange over Dimension change
* Add snapshots
2019-10-21 11:52:32 -07:00
Harrison Healey
9b758417d4
Update mattermost-redux
2019-10-21 13:39:38 -04:00
Harrison Healey
f318521663
Merge branch 'master' into mark-as-unread
2019-10-17 13:50:08 -04:00
Miguel Alatzar
90574d2fc5
Rename IOSX_TOP_PORTRAIT ( #3412 )
2019-10-17 07:58:18 -07:00
Harrison Healey
4899c2f769
Merge branch 'master' into mark-as-unread
2019-10-16 11:21:02 -04:00
Michael Kochell
4dc6a0fe5c
[MM-19307] Make LHS channel item display name not overlap with mention count ( #3417 )
...
* make channel item display name more narrow, so it does not run into the mention count
* Update snapshot
2019-10-15 09:52:25 -04:00
CJ
ca75e2407b
MM-19286 Disable Haptic Feedback ( #3402 )
...
* MM-19286 Disable Haptic Feedback
Added a check for iOS version <=9 and for iPhones 5/6/SE versions that don't support haptic feedback.
* MM-19286 Fixed the Fix
Misread the repo for the haptic feedback so fixing the fix.
* MM-19286 Removed line in device.js
Removed line in device.js
2019-10-15 10:32:10 +03:00
CJ
b43638b728
MM-18935 ( #3346 )
...
Added SafeAreaView padding for the SSO screen
2019-10-12 01:34:28 -04:00