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
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
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
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
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
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
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
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
Miguel Alatzar
90574d2fc5
Rename IOSX_TOP_PORTRAIT ( #3412 )
2019-10-17 07:58:18 -07: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
0d7d1b7542
MM-18054: Removed Commented On from new messages in thread with same poster ( #3351 )
...
* MM-18054:
Added a check for previousPost to use in validating new messages in thread to check if we should display Commented On message.
* MM-18054 Updated
Updated the check for Commented line to validate the previous thread was one that the post user commente on.
* MM-18054 Fixed Eslint Issues
Fixed Eslint Issues
* MM-18054 Fixed Eslint Issues
Missed a space...
* MM-18054 Cleanup
Cleaned up some code from suggestions
2019-10-12 01:31:55 -04:00
Michael Kochell
1b16861174
[MM-19243] Disable reactions on read only channel ( #3404 )
2019-10-11 08:25:47 -06:00
Jesús Espino
d48610407a
Not show the guest badge for system messages ( #3393 )
2019-10-11 15:24:45 +02:00
Miguel Alatzar
b1b7fa06cd
Pass fileInfoContainer style directly to Touchable ( #3379 )
2019-10-08 18:56:16 -07:00
Andre Vasconcelos
1413e66c36
GH-11948 Adding expand button to markdown tables ( #3280 )
...
* WIP: Adding expand button to markdown tables
* Moving padding to styleSheet
2019-10-08 18:55:08 -07: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
Elias Nahum
ed11cf9b6b
Fix running mm-i18n that crashes on conditional operators ( #3385 )
2019-10-08 15:13:03 +03:00
Elias Nahum
c8e2a66f9f
Fix native emojis being cutoff in emoji picker ( #3358 )
2019-10-07 09:11:53 +03:00
Miguel Alatzar
a5b096fd44
Update total to reflect number of children ( #3367 )
2019-10-04 15:06:22 -07:00
Elias Nahum
3e3c0b2469
Set Sidebar channel item display name opacity as 0.6 (same as webapp) ( #3359 )
2019-10-02 21:30:28 +03:00
Elias Nahum
f8f9064968
MM-18999 Fix search in: modifier to show the appropriate badge when n… ( #3343 )
...
* MM-18999 Fix search in: modifier to show the appropriate badge when needed for DM/GM
* feedback review
* fix eslint
* fix eslint disable rule
2019-10-02 21:30:13 +03:00
Elias Nahum
2f65ff853d
MM-18997 Fix More unread overlay preventing interactions ( #3342 )
2019-10-01 12:53:06 -07: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
Joram Wilander
3f3a7630cc
MM-18832 Update message count string ( #3349 )
...
* Update message count string
* Update defaultMessage
2019-09-30 08:45:45 -04: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
Elias Nahum
768bb9625a
MM-18176 Fix network indicator stock after re-connect ( #3329 )
2019-09-27 13:42:28 -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
Elias Nahum
65e62371ab
Revert long post as ScrollView instead of View ( #3333 )
2019-09-27 01:30:51 +03: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
9da5b234ed
MM-18542 Fix file attachment scroll on tablets, MM-18732 Slow scroll in landscape & MM-18836 settings sidebar width ( #3321 )
2019-09-25 10:27:18 -07:00
CJ
67ae09f868
MM-18658 Edit Channel MaxLength ( #3317 )
...
Set MaxLength on Edit Channel Name.
Updated ViewTypes MaxLength from 22 to 64 for validation/errors.
2019-09-25 16:53:52 +03:00
Elias Nahum
114a18c16d
MM-18453 Use native emojis ( #3260 )
...
* MM-18453 Use native emojis
* Remove unnecessary else statement
* Add support for builtIn emojis
* Fix Native emojis snapshot tests
* Set emoji text style from StyleSheet
* Remove unneded version check and try/catch
* Add builtIn emojis as custom emojis in emojiPicker
* Simplify emojiPicker lists and fix jumping section headers
* Update snapshots
2019-09-25 12:27:47 +03:00
Elias Nahum
218e104010
Fix paste files with multiple instances of post textbox ( #3302 )
2019-09-25 17:03:14 +08:00
Miguel Alatzar
8fd0a515a8
Null check on current ( #3309 )
...
* Null check on current
* Null check on current
2019-09-24 17:13:27 -07:00
Miguel Alatzar
6131c44dc2
[MM-18325] Properly determine if channel is archived ( #3289 )
...
* Properly determine if channel is archived
* Remove check on ownProps.channelIsArchived
2019-09-24 19:39:28 +03: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
Miguel Alatzar
20fb25df8d
Call scrollToIndex only when ref is set and index is in range ( #3285 )
2019-09-19 12:39:47 -07:00
Sudheer
0f67b47026
Revert "Call scrollToIndex only when ref is set and index is in range ( #3282 )" ( #3284 )
...
This reverts commit ecbbb3f0e5 .
2019-09-19 11:39:52 -07:00
Miguel Alatzar
ecbbb3f0e5
Call scrollToIndex only when ref is set and index is in range ( #3282 )
2019-09-20 00:00:43 +05:30
Patrick Kang
760b92ceee
Adds support for 'radio' type in interactive dialogs ( #3212 )
2019-09-18 15:35:32 +02:00
Devin Binnie
0db54cd3c2
[MM-18550] Force drawer to open to channel menu when new teams are added ( #3266 )
2019-09-18 09:22:55 -04:00
Elias Nahum
e9db272a9e
Go to channel screen when tapping on a channel link ( #3265 )
2019-09-17 08:30:06 -07:00
Elias Nahum
0811fd7149
Fix crash accessing property of undefined teammate
2019-09-17 09:00:58 -03: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
Ewe Tek Min
0d1fd78263
MM-9599 Paste image from clipboard ( #3084 )
...
* Show image paste menu
* Get pasted image
* Add more info for file
* Add custom text input and add extension
* Dismiss contextual menu after paste image
* Group image info together
* Add max file check
* Fix max file size text
* Add PropTypes
* Add support for gif and tiff
* add onchange null check
* Use onPaste event
* Move get image info logic
* Clean up listener when no observer
* Add android upload
* Copy file from google docs
* Clean up file after upload
* Prevent text pasted in textbox if it's content uri
* Rename paste file thread
* Move on paste listener logic
* Remove the redundant data in ios
* Get realpath of item
* Clean up
* Only download for image
* Rename to custom text input
* Update RNPasteableEditTextOnPasteListener.java
* Handle for download image failed
* Fix eslint
* Fix test
* Allow multiple images to be pasted
* Remove additional null check
* Add managed control for Android
* Disable only copy, cut and paste
* Accept image in Android edit text
* Add comment for custom text input
* Do not upload when more than max file
* Stop uplaod when exceed file size
* Fix crash when clip data is null
* Return error to JS
* Move download file logic
* Remove console
* Add some tests
* Add test for handleUploadImages
* Add test for file_upload_item
* Use ImageCacheManager to cache remote images
* Fix crashes from one note
* Remove commented code
* Update test
2019-09-16 20:10:14 -03:00