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
Miguel Alatzar
a142e8e168
Include previous notify props when saving new ones ( #3482 )
2019-10-29 16:43:39 -07: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
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
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
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
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
CJ
b43638b728
MM-18935 ( #3346 )
...
Added SafeAreaView padding for the SSO screen
2019-10-12 01:34:28 -04:00
CJ
ff3ba8ea01
MM-18791 ( #3347 )
...
Added marginHorizontal spacing to the footer for sections.
2019-10-12 01:30:59 -04:00
CJ
a2a7a43e92
MM-18829 Updated Channel Header SafeAreaView ( #3370 )
...
Removed the RN SafeAreaView and applied the padding for our iOS X specific setting.
2019-10-11 22:14:07 -04:00
Harrison Healey
00356ad543
Revert accidentally merged changes from mark-as-unread branch ( #3405 )
...
* Revert "Update mattermost-redux"
This reverts commit 04b3897ecb .
* Revert "[MM-17068] Add set post as unread option to menu (#3202 )"
This reverts commit c7a29eea6a .
2019-10-11 09:28:09 -04:00
Miguel Alatzar
9fa06c45d6
[MM-17381] Await dismissModal before calling showSearchModal ( #3362 )
...
* Add unit tests
* Await dismissModal
2019-10-10 20:31:54 -07:00
Miguel Alatzar
9507cdf4ef
Fix failing snapshot test and package-lock.json ( #3401 )
2019-10-09 13:43:32 -07:00
Andre Vasconcelos
2f18a0b961
Fixing mention text color ( #3372 )
...
* Fixing mention text color
* Updating snapshots
* Update package-lock.json
* Adding highlight link color to other highlight types
2019-10-09 12:44:02 -07:00
Michael Kochell
e137b46573
[MM-19045] Do not focus search box after clicking a hashtag ( #3356 )
2019-10-09 09:30:17 -06:00
Asaad Mahmood
1837dd1167
MM-19180 - Updating spacing for mentiosn component ( #3384 )
2019-10-09 11:16:47 -04:00
Jesús Espino
d7971666c8
Fixing DMs guest label behavior ( #3383 )
...
* Fixing DMs guest label behavior
* Adding tests
* Addressing PR review comments
2019-10-09 11:45:31 +02:00
Elias Nahum
1b8962a024
MM-19185 Fix tab for UnreadIndicator on Android ( #3368 )
...
* MM-19185 Fix tab for UnreadIndicator on Android
* update snapshots
2019-10-08 17:34:56 +03:00
Harrison Healey
3f13c868f7
Merge branch 'master' into mark-as-unread
2019-10-03 09:28:30 -04:00
Paulo Bittencourt
be4bddc52a
MM-15220 Support generic error message in interactive dialog ( #3259 )
2019-10-02 16:47:24 +02:00
Harrison Healey
35797e2564
Merge branch 'master' into mark-as-unread
2019-09-30 16:54:15 -04:00
Matheus Cardoso
26b999e885
MM-17759 Add code highlighting ( #3072 )
...
* Add code highlighting
* Fix code style
* Add unit tests
* Some layout adjustments and code style fixes
* Fix failing test
* Fix typo
* Fixed import style
* Update snapshot
* Fix test
* Remove comment
* Add react-native-syntax-highlighter to NOTICE.txt
* Remove duplicated key
* Fix color issue on Android
* Remove unnecessary style
* Fix top spacing on Android
* Add missing trailing comma
* Revert highlighting in Android full-screen code
* Fix margins on android full-screen code
* Fix top padding on Android full-screen code
* Fix font size on Android full-screen code
* Improve top spacing on iOS full-screen code
* Update package-lock.json
* Update package-lock.json
* Update react-native-syntax-highlighter
* Revert away code highlighting on Android code block
2019-09-30 22:52:45 +08:00
Elias Nahum
b8998c676a
Fix channel navbar title displayName variable ( #3344 )
...
* Fix channel navbar title displayName variable
* Fix snapshots
2019-09-28 19:36:33 +03:00
CJ
2009999090
MM-18464 Interactive dialog renders out of safe area view on landscape orientation ( #3335 )
...
* MM-18464
Updated Dialog Items to support isLandscape for SafeArea View
* MM-18464 Updated SafeAreaView
Updated Autoselector Component
* MM-18464 Resolved Issues
Resolved issues for MM-18464
* MM-18464 Resolved Snapshot
Resolved snapshots
2019-09-27 14:44:48 -07:00
Elias Nahum
3b3a696a55
MM-18603 Fix post header to prevent overlaps ( #3332 )
...
* MM-18603 Fix post header to prevent overlaps
* Export BotTag and GuestTag
2019-09-27 17:16:36 -04:00
Harrison Healey
3e0189430b
MM-18762 Remove some usage of deprecated lifecycle methods ( #3299 )
...
* MM-18762 Remove some usage of deprecated lifecycle methods
* Only load ProgressiveImage when a URI changes
2019-09-27 09:16:21 -04:00
Miguel Alatzar
b96a38473c
[MM-18329] Add (you) suffix to self DM channel title ( #3293 )
...
* Add (you) suffix to self DM channel title
* Use FormattedText component
2019-09-26 07:51:43 -07: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
Elias Nahum
9975a19b91
MM-18236 Prevent the post menu from triggering when using the back gesture ( #3319 )
...
* MM-18236 Prevent the post menu from triggering when using the back gesture in the thread screen
* Update snapshots
* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/post/post.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js
* Fix eslint
2019-09-26 00:19:49 +03:00
Elias Nahum
ecb9bde1fd
MM-18740 Sync app badge number when opening a push notification ( #3322 )
2019-09-25 10:31:44 -07:00
Harrison Healey
c017913911
Merge branch 'master' into mark-as-unread
2019-09-25 09:06:21 -04:00
Elias Nahum
218e104010
Fix paste files with multiple instances of post textbox ( #3302 )
2019-09-25 17:03:14 +08:00
Andre Vasconcelos
d9a3f6f20a
Trimming display_name in delete/leave channel alerts ( #3291 )
2019-09-24 12:42:26 -07:00
Elias Nahum
9e3bd8555d
MM-18758 Fix channel info row to be toggleable or with an chevron ( #3297 )
2019-09-24 10:58:06 -04:00
Harrison Healey
ca68f3a244
Merge branch 'master' into mark-as-unread
2019-09-24 09:41:48 -04:00
Andre Vasconcelos
7bd000d794
GH-11952 Adding option to convert public channel to private ( #3230 )
...
* Adding option to convert public channel to private
* Added unit tests, feedback alert with error handling, and new alert text
* Ensuring baseProps is never changed between channel_info tests
* Trimming the display_name on alerts
- Preventing extra empty spaces from being displayed on the alerts by trimming the variable
2019-09-23 18:39:15 -07:00
Elias Nahum
70102d2516
MM-18752 Rename constant to handle iPhone X and new iPhone 11 insets ( #3296 )
2019-09-23 13:08:32 -07:00
Harrison Healey
d46aebb2a4
Merge branch 'master' into mark-as-unread
2019-09-20 10:42:02 -04:00
Patrick Kang
760b92ceee
Adds support for 'radio' type in interactive dialogs ( #3212 )
2019-09-18 15:35:32 +02:00
Saturnino Abril
4d8fa314d1
MM-14273 Add boolean element support to interactive dialog ( #3239 )
...
* add boolean element support to interactive dialog
* determine landscape orientation by Dimension
2019-09-17 09:39:12 +08:00
Elias Nahum
6853707ef2
MM-18335 Keep the icon badge in sync ( #3246 )
...
* MM-18335 Keep the icon badge in sync
* feedback review
* Update snapshot
2019-09-16 17:48:50 -03:00
Theo Gkourasas
30f91a3814
MM-15219 Added support for introduction text in interactive dialogs ( #3222 )
...
* MM-15219 Added support for optional introduction text in interactive dialogs
* Fixed margins in introduction text for interactive dialogs
* Created DialogIntroductionText component to render the introduction text. Changed text color
* Changed DialogIntroductionText component to only render if a value is supplied
2019-09-16 09:22:59 -07:00
Elias Nahum
19e6b2a00e
[MM-18362] Sidebar improvements ( #3223 )
...
* sidebar lists displays past bottom safe area insets
* Sidebar animation speed
* Sidebar improvements
* Add status icons and avatars to mattermost font
* Bot icon the same size as other channel icons
* improvements to the channel badge
* Badge color and border
* More precision when showing more unread above
* Improve GM icon
* Fix badge on team sidebar
* Align channel sidebar badges
* alignments
* Fix tests
* Remove unnecessary isLandscape in main sidebar connector
2019-09-16 13:17:48 -03:00
Guillermo Vayá
c7a29eea6a
[MM-17068] Add set post as unread option to menu ( #3202 )
...
* [MM-17068] Add set post as unread option to menu
* [MM-17068] Fix tests
* [MM-17068] add english assets
* [MM-17068] Add bookmark icons for marking as unread
* [MM-17068] reorder menu items
* [MM-17068] fix snapshots
* [MM-17068] merge my post options and others post options
2019-09-13 14:53:18 -04:00
Elias Nahum
cbb20d759f
MM-18353 Do not update the theme when resetting the cache ( #3250 )
2019-09-13 09:38:44 -05:00