Elias Nahum
00874eb3ff
MM-20007 Fix app crashes when previewing some gif files ( #3563 )
2019-11-18 10:31:29 -05:00
Elias Nahum
c68138150e
Fix theme color for the more channel options ( #3565 )
2019-11-18 23:16:30 +08:00
Valentijn Nieman
759d1ce86d
MM-19337 Enable users to view archived channels ( #3514 )
...
* Archived channels dropdown in more channels modal
* Rename redux actions for archived channels
* Fixed tests and updated snapshots
* Unit test for search in more_channels
* Use translation for dropdown label
* Minimum server requirement for dropdown
* Use BottomSheet instead of Picker component
* loadPublicAndArchivedChannels action instead of separate channel get actions
* Add styles to StyleSheet
* Update mattermost-redux hash
* Update mattermost-redux hash
* Default case for switching channels dropdown
* Improve imports in more_channels.js component
* Fix typo in import
* Add padding to dropdown if landscape
* Update snapshot
* Page counter for public and archive channels
* Updated mattermost-redux commit hash
* Bottom sheet title for ios
* i18n-extract for new showArchived and showPublic strings
* Update mattermost-redux commit hash to latest master
2019-11-18 22:38:30 +08:00
Elias Nahum
17a7054ae6
MM-19993 Fix Channel spinner is black on dark theme ( #3558 )
2019-11-18 22:04:52 +08:00
CJ
0204722627
MM-19037 Updated Progressive Image Loader ( #3414 )
...
* MM-19037 Updated Progressive Image Loader
Set the return for the listener to return a null for hte loader images, stopping the component from thinking it had a loaded image on a failure.
Also enabled the thumbnail to make an additional attempt to load when it receives the null response.
* MM-19037 Updated Eslint
Eslint issue resolved
* MM-19037 Add Unit Tests
Added Unit tests
* empty commit
2019-11-17 23:35:44 -05:00
Kaiden Sin
a1c8a4691e
[mm 15792] Fix massive app slowdown with many emojis ( #3209 )
...
* [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
* Run npm install react-native-fast-image --save
* Link react-native-fast-image for Android
* Link react-native-fast-image to iOS Pod
* Replace Image with FastImage in emoji.js and remove redundant caching
* Remove duplicate sentry gradle
* Feedback review
* Remove FastImage and Sentry from the Podfile
2019-11-17 23:34:39 -05:00
CJ
c7cdce01fa
MM-18054 Checked for prev post comment line ( #3523 )
...
* MM-18054 Checked for prev post comment line
Added check for prev post to stop the "Commented on" line when in same thread.
* MM-18054 Added Unit Tests
Added Unit Tests
* MM-18054 Update props
Updated the prop for isFirstReply
2019-11-17 20:33:14 -08:00
Elias Nahum
c5cf784c76
MM-19600 Align Sidebar separator line between Teams and Channel view ( #3559 )
2019-11-17 15:02:04 -07:00
Amit Uttam
66a6e5c932
[MM-10813] Design update for Post attachments ( #3511 )
...
* [MM-10813] Design update for Post attachments
Fixes https://github.com/mattermost/mattermost-server/issues/12841
* Updated visual treatment for Post attachments (images, documents, videos)
* Grouped image attachments, expanding to fit Post width dimension
* Itemized listing of non-image attachments
* Special handling of "small" image attachments (<48 point width/height)
* Set attachment post width to max width of portrait orientation
Accounts for post display offset and extra spacing used for rendering post replies.
* Use available Post real estate: flex: 1 instead of width 100%
* Image spacing responsibility: AttachmentList -> AttachmentImage
* Fit download progress circle correctly over new attachment icons
* Layers progress circle over the icon, rather than under.
* Uses offset constant as far as possible, rather than fixed point spaces.
* Refactor props and 'more' counting for image file attachment(s)
* Implement conditional gutter between image attachments
Flex's `justifyContent: space-between` won't work in this case because of the use of `absoluteFill` and `paddingBottom: 100%` in the box placeholder for an image attachment to auto-fill *all* available flex space.
* Additional snapshots for Post file attachment scenarios
* Use new 'text' icon for text files (.txt, .rtf)
Depends on https://github.com/mattermost/mattermost-redux/pull/979
Even without the change to mattermost-redux above, text files will default to pre-existing "code" icon.
* Set file attachment icon background to theme
Default to transparent. Override if explicitly specified.
* Treat animated GIFs as images when auto-adjusting attachment width
* Fix images layout, progressive image margins, and gallery for images and videos
* fix on iPad (splitview, permanent sidebar) card types and image sizes
* Add all files back to the gallery
2019-11-15 22:41:09 -05:00
CJ
82d4d88ea5
MM-19697 - Fixed CameraRoll for iOS ( #3537 )
...
* MM-19697 - Fixed CameraRoll for iOS
Switched CameraRoll over to the react-native-community version as it was removed from the core package with RN 0.61.2
* MM-19697 - Fix Jest issues
Updated for jest issues
2019-11-15 09:55:08 -05:00
CJ
7f031d9b55
MM-19696 Added font color for GlobalStyle Input ( #3536 )
...
Added the default color #3d3c40 for the GlobalStyle Input that the Server select and Login screen used for style.
2019-11-15 17:25:25 +08:00
Elias Nahum
6610a51a3d
Fix partially shown drawers when orientation change on iOS ( #3555 )
2019-11-14 20:21:17 -07:00
Christopher Speller
96b78adf45
Adding ability to disable attachment buttons and fields. ( #3541 )
...
* Adding ability to disable attachment buttons and fields.
* Revert package lock
* Use changeOpacity
2019-11-14 10:32:08 -08:00
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
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
CJ
ff3ba8ea01
MM-18791 ( #3347 )
...
Added marginHorizontal spacing to the footer for sections.
2019-10-12 01:30:59 -04:00
CJ
55f048ad76
MM-18173 Removed getState from Add Channel Member method ( #3371 )
...
Removed getState from Add Channel Member method since the Redux store is not looking for it. 3rd param for this method is a postRootID, which is not sent from this request.
2019-10-12 01:30:03 -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
10c3ede26e
Revert "Revert accidentally merged changes from mark-as-unread branch ( #3405 )"
...
This reverts commit 00356ad543 .
2019-10-11 16:10:57 -04:00
Michael Kochell
1b16861174
[MM-19243] Disable reactions on read only channel ( #3404 )
2019-10-11 08:25:47 -06: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
Jesús Espino
d48610407a
Not show the guest badge for system messages ( #3393 )
2019-10-11 15:24:45 +02: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
Elias Nahum
d4c682bddd
MM-17157 Only send notification receipt if server url and session token are set ( #3375 )
2019-10-10 08:48:38 +03: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
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
Harrison Healey
2be9285c26
Merge branch 'master' into mark-as-unread
2019-10-07 10:02:38 -04: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
Harrison Healey
3f13c868f7
Merge branch 'master' into mark-as-unread
2019-10-03 09:28:30 -04: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
Miguel Alatzar
2cfb6f1136
[MM-18656] Update third party libraries to use WKWebView over UIWebView ( #3353 )
...
* Use updated react-native-keyboard-tracking-view
* Use updated react-native-device-info
* Use updated react-native-device-info and add new pod dependency
2019-10-02 11:02:06 -04:00
Paulo Bittencourt
be4bddc52a
MM-15220 Support generic error message in interactive dialog ( #3259 )
2019-10-02 16:47:24 +02:00
Elias Nahum
2f65ff853d
MM-18997 Fix More unread overlay preventing interactions ( #3342 )
2019-10-01 12:53:06 -07: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
Joram Wilander
3f3a7630cc
MM-18832 Update message count string ( #3349 )
...
* Update message count string
* Update defaultMessage
2019-09-30 08:45:45 -04: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
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
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
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
Harrison Healey
c017913911
Merge branch 'master' into mark-as-unread
2019-09-25 09:06:21 -04: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
0b044b62a5
[MM-18779] Reset moment local on logout ( #3310 )
...
* Reset moment local on logout
* Update app/selectors/i18n.js
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
2019-09-25 16:02:58 +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
Andre Vasconcelos
d9a3f6f20a
Trimming display_name in delete/leave channel alerts ( #3291 )
2019-09-24 12:42:26 -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
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
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
Miguel Alatzar
faf97f9945
Ensure onAppStateChange runs only after GlobalEventHandler is configured ( #3268 )
2019-09-18 09:59:52 -07:00
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
Elias Nahum
da9be433e3
Fix snapshots
2019-09-16 20:06:10 -03: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
Elias Nahum
0ef2156b3f
MM-17953 Do not show deactivated users in autocomplete ( #3251 )
...
* MM-17953 Do not show deactivated users in autocomplete
* feedback review
2019-09-16 16:02:52 -04:00
Eric Sethna
2c4764bc88
Update session expiry push notification text ( #3211 )
...
* Update session expiry text
* Calculate the session expires in days to be displayed in the local notification
* Feedback review
2019-09-16 12:01:10 -07: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
Elias Nahum
d28aaf21a8
MM-18241 Fix emoji picker selection and added keyboard tracking on iOS ( #3244 )
...
* MM-18241 Fix emoji picker selection and added keyboard tracking on iOS
* Fix flatlist spacing on iOS when searching
* Fix snapshot
2019-09-15 20:31:54 -07:00
Harrison Healey
6fc8569266
MM-18466 Change recent date separators to yesterday/today ( #3245 )
...
* MM-18466 Change recent date separators to yesterday/today
* Add i18n strings
2019-09-14 07:02:51 -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
Miguel Alatzar
b795a0bba4
[MM-18361] Style text inputs and post options with theme ( #3213 )
...
* Style text inputs with theme
* Add snapshot test
* Use theme for post options background and text colors
* Use theme for post options icon color
* Use theme for reaction list
* Use theme for slide up indicator
* Fix post options localization
* PM Feedback review
* Slideup PM changes and channel edit
* fix tests
* Fix i18n
2019-09-13 10:24:36 -03:00
Joram Wilander
59d75eeb87
MM-18226 Set moment timezone locale as needed to prevent moment and intl locale getting out of sync ( #3238 )
...
* Set moment timezone locale as needed to prevent moment and intl locale getting out of sync
* Update app/i18n/index.js
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
* Updates per feedback
2019-09-12 16:51:22 +02:00
Miguel de la Cruz
72d1895bd3
[MM-18365] When searching for profiles, allow inactive ( #3252 )
2019-09-12 16:27:40 +02:00
Joram Wilander
a6a1c725aa
MM-18372 Fix edit profile screen being dismissed when removing profile picture ( #3240 )
...
* Fix edit profile screen being dismissed when removing profile picture
* Fix test
2019-09-12 11:26:41 -03:00
Asaad Mahmood
2b7df2307c
MM-18330 - Updating arrow prop ( #3248 )
2019-09-12 21:00:09 +08:00
Harrison Healey
4bb94195f1
MM-18465 Add proper flags when opening settings ( #3242 )
...
* MM-18465 Add proper flags when opening settings
* Fix undefined setPerformingAuthentication Function in emm_provider.
2019-09-11 23:57:07 -04:00
Nathan Friend
9ccde970fa
GH-11994: Add support for footer and footer_icon in attachments ( #3228 )
...
This commit adds support for the footer and footer_icon fields that are
rendered at the bottom of message attachments.
2019-09-11 20:58:55 -04:00
Ewe Tek Min
f6c9c950c5
MM-12879 Fix iOS photo/camera permission denied prompt ( #2904 )
...
* Update Github issues link
* Update GH issue to permalink
* Add missing comma
* Fix ios not prompting alert after denied photo or camera permission
* Rename permission var
* Update text
* Change to correct text
* Update text for attachement button
* Update text for image_preview
* Fix test
* Integrate react-native-android-open-settings for storage permission denied
* Move react-native-android-open-settings
* Change all default permission denied message
* Revert "Merge remote-tracking branch 'upstream/master'"
This reverts commit 65187f8f98de4943103bdab4b39bd7e1ebd5a220, reversing
changes made to daca425676503a57936a5539b5b5fa68a6c5427e.
* Revert "Revert "Merge remote-tracking branch 'upstream/master'""
This reverts commit c82fa628d5addc1262353539c32b76c6a1130e83.
* Add NSPhotoLibraryAddUsageDescription description
* Fix bad import
* Lazy load react-native-android-open-settings
* Fix indent
2019-09-11 01:18:53 -03:00
Elias Nahum
076e518b11
Update webview library to remove deprecated API ( #3233 )
...
* Update webview library to remove deprecated API
* Remove unnecessary timeout
2019-09-10 15:33:19 -03:00
Devin Binnie
8f9255aa12
[MM-18174] Replicated missing user functionality for system messages from webapp in RN ( #3219 )
2019-09-10 13:04:54 -04:00
Devin Binnie
54acc584c3
[MM-18178] Removing caching of failed image loading attempts ( #3231 )
2019-09-10 12:45:41 -04:00
Elias Nahum
49991a57d4
MM-18223 Fix channel actions on combined sidebar ( #3221 )
2019-09-09 21:12:23 +08:00
Elias Nahum
223bd64a43
[MM-18349] Post menu delay animation speed and haptic feedback ( #3214 )
...
* Animate backdrop opacity in slide up panel
* Set delayLongPress to 75ms for post
* Add haptic feedback on slide up of post options
* Ease in slide up animation
* Add haptic feedback to android
* reduce long press delay for post options menu
* helper function for haptic feedback
* Add haptic feedback when opening post options menu
* Patch haptic feedback RN module on Android
* Fix tests
* Move hapticFeedback call to SlideUpPanel
* Decrease long press time for reaction
2019-09-07 07:45:07 +09:00
Asaad Mahmood
d8adb25640
MM-17966 - Updating background for archive wrapper ( #3206 )
2019-09-05 22:43:52 +09:00
Devin Binnie
e2031de0ab
[MM-18172] Added state for message length such that alerts for long length aren't fired too often ( #3218 )
...
* [MM-18172] Added state for message length such that alerts for long length aren't fired too often
* Added a test
* Naming change
2019-09-05 09:12:21 -04:00
Elias Nahum
67a28d0af3
MM-18179 Clear cache and cookies for SSO login ( #3220 )
...
* MM-18179 Clear cache and cookies for SSO login
* Update app/components/failed_network_action/index.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
2019-09-05 19:23:23 +09:00
Miguel Alatzar
02ecaf8de9
Rebuild emojis when emojis change and use props.deviceWidth ( #3208 )
2019-09-01 09:03:28 +09:00
Miguel Alatzar
6ab325ca9e
Increase cancel button width ( #3203 )
2019-08-30 05:24:50 +05:30
Miguel Alatzar
6bfe6f917c
Set rebuilt emojis only after search bar animation completes ( #3191 )
2019-08-26 10:17:05 -04:00
Miguel Alatzar
6c46368083
Re-render MainSidebar on theme change ( #3190 )
2019-08-26 10:16:44 -04:00
Michael Kochell
7646a8821c
[MM-17873] Update attachment image when image url is updated ( #3170 )
...
* update attachment image when image url changes
* update image dimensions from metadata
* use componentDidUpdate
* add tests for AttachmentImage
* add test for when imageUrl is not present
2019-08-26 10:16:18 -04:00
Elias Nahum
c71e35ba20
MM-17792 Do not show download option for files uploaded locally ( #3163 )
2019-08-26 10:14:22 -04:00
Elias Nahum
63066f4365
do not dispatch navigation actions when opening the app from a push notification ( #3183 )
2019-08-23 22:17:32 -04:00
Elias Nahum
405d3d4677
Update sentry ( #3179 )
2019-08-23 15:59:20 -04:00
Saturnino Abril
49ae458944
fix test due to merge conflict ( #3177 )
2019-08-23 15:13:25 -04:00
Matheus Cardoso
73518da91e
Make keyboard dark on dark themes (iOS only) ( #3102 )
...
* Support keyboardAppearance theme parameter
* Change approach of keyboardAppearance to auto-detect
* Fix style
* Update snapshots
* Add unit test for getKeyboardAppearanceFromTheme
* Update snapshot
* Fix failing test
2019-08-23 13:18:05 -04:00
Harrison Healey
91a7cb499c
MM-17589 Update "passcode required" help text ( #3137 )
...
* MM-17589 Update passcode required help text in share extension
* MM-17589 Update passcode required help text in app
2019-08-23 12:12:22 -04:00
Elias Nahum
a6a299352e
MM-18024 MM-18025 Fix race condition when push notification opens the app and credentials are not set ( #3168 )
2019-08-23 09:37:48 -04:00
Elias Nahum
d5338f5e39
MM-17886 Do not wait to cancel the video download ( #3164 )
2019-08-22 15:47:06 -04:00
Elias Nahum
d6a699a14d
update moment locale as lowercase ( #3155 )
2019-08-21 19:03:59 -04:00
Asaad Mahmood
4b6c83f5b9
MM-17700 - Updating bot tag css ( #3127 )
...
* MM-17700 - Updating bot tag css
* Updating spacing for android
2019-08-19 17:13:12 -07:00
Elias Nahum
ae17195425
Android screen right button colors ( #3146 )
2019-08-19 10:29:43 -07:00
Elias Nahum
9a16e05c54
Fix Regression right buttons color on Android navbar when enable ( #3138 )
2019-08-17 09:03:15 -07:00
Elias Nahum
fca9a6e609
Fix regression close/leave/archive channel redirect to channel screen on Android ( #3139 )
2019-08-17 09:02:07 -07:00
Hossein Ahmadian-Yazdi
ef8813f115
[MM-13843] Edit channel autocomplete is same as the posting message one ( #3038 )
...
* [MM-13843] Edit channle autocomplete is same as the posting message
* [MM-13843] Lint error fixes
* [MM-13843] Address nestedscrollenable warning comment
* [MM-13843] Added test case for edit_channel_info
* [MM-13843] nestedScrollEnabled on at_mention
* [MM-13843] Fix linting issue
* [MM-13843] Fixed test case
* [MM-13843] Address PR comments
* [MM-13843] Made prop not required
2019-08-15 21:22:32 -07:00
Elias Nahum
0856d4b517
Migrate to moment to fix timestamps based on timezone or local time ( #3126 )
2019-08-15 12:32:16 -04:00
Elias Nahum
d4bd7833ea
Fix loosing the server config when handleManagedConfig ( #3125 )
2019-08-15 08:25:46 -07:00
Eric Shyong
958df2e65f
[MM-14018] Ignore leading/trailing colon in emoji picker search ( #2974 )
...
* [MM-14018] Ignore leading/trailing colon in emoji picker search
* Respond to feedback
* fix failing test on ESlint
2019-08-15 16:43:23 +08:00
Miguel Alatzar
577ab85151
[MM-17565] Set top bar buttons once component is mounted ( #3123 )
...
* Set header buttons after mount
* Do the same for private channel and dm
2019-08-14 15:47:52 -04:00
Miguel Alatzar
ffbae7589f
Apply setNavigatorStyles to all navigation components ( #3121 )
2019-08-15 02:00:21 +08:00
Harrison Healey
0faeb535b9
MM-17425/MM-17683 Disable Send button when sending post ( #3099 )
...
* MM-17425/MM-17683 Disable Send button when sending post
* Update snapshot and add tests
2019-08-14 08:29:55 -07:00
Elias Nahum
e09ce13f65
Fix delete the root post on a thread to properly close the thread screen ( #3116 )
...
* Fix delete the root post on a thread to properly close the thread screen
* Fix unit test
2019-08-14 21:54:12 +08:00
Miguel Alatzar
6cf6e51457
[MM-17709] Avoid async getSource ( #3115 )
...
* Await getSource
* Use server url from EphemeralStore
* Set currentServerUrl in getAppCredentials too
2019-08-14 16:07:12 +05:30
Elias Nahum
1d37c81163
Fix tests ( #3114 )
2019-08-13 09:51:51 -07:00
Elias Nahum
32f329fca2
MM-17693 Android fix close settings screen ( #3108 )
...
* MM-17693 Android fix close settings screen
* Fix unit tests
2019-08-13 10:29:54 -04:00
Elias Nahum
f0a885865f
MM-17692 execute callback after closing post options ( #3107 )
...
* MM-17692 execute callback after closing post options
* Fix unit tests
2019-08-13 10:19:11 -04:00
Elias Nahum
b3a4cc2b7e
Do not track foreground notifications when notification is opened ( #3105 )
2019-08-13 10:16:59 -04:00
Saturnino Abril
ca61faafd5
MM-15218 Open as alert dialog when interactive message is without element ( #3088 )
...
* open as alert dialog when interactive message is without element
* add missing translations
2019-08-13 10:16:14 -04:00
Jesús Espino
7410e3c266
Aligning correctly 'has guests' warning in channel info screen ( #3097 )
...
* Aligning correctly 'has guests' warning in channel info screen
* Fixing eslint problems
* Adding tests
* Fixing tests
2019-08-12 09:14:47 -07:00
Elias Nahum
9aa7d7e523
Exclude the SafeAreaHeader in Select Server screen ( #3094 )
2019-08-12 22:58:12 +08:00
Elias Nahum
9d54853be5
Remove unnecessary component definition ( #3096 )
2019-08-12 22:52:50 +08:00
Miguel Alatzar
d8f9dcc233
[MM-17637] Add flex 1 to wrapper view ( #3087 )
...
* Add flex 1
* Add snapshot test
* Fix placeholder text color
2019-08-12 08:22:21 -04:00
Elias Nahum
f1b87cdaa1
MM-17630 add Navigation bar to terms of service modal ( #3098 )
2019-08-10 22:49:04 +05:30
Elias Nahum
f263eac658
MM-17612 Fix fetch periodic status updates when re-connecting ( #3089 )
2019-08-09 18:47:38 -04:00
Asaad Mahmood
3c950c514c
MM-17484 - Updating loading rows ( #3076 )
...
* MM-17484 - Updating loading rows
* Updating test
* Updating mobile loader css
* Updating test
* Updating changes
* Updating tests
2019-08-09 13:33:38 -04:00
Elias Nahum
06e333dc52
MM-10193 Apply SafeAreaView to Landscape views ( #3003 ) ( #3081 )
...
* MM-10193 for landscape Feature
Commit for MM-10193 to the landscape feature with latest pull.
This is the initial commit with SafeAreaView in place, but should not be merged into master as this is step one and not suitable for production.
Another commit will be following with adjustments to allow SafeAreaView to display correctly for users.
* MM-10193 for landscape Feature
Commit for MM-10193 to the landscape feature with latest pull.
This is the initial commit with SafeAreaView in place, but should not be merged into master as this is step one and not suitable for production.
Another commit will be following with adjustments to allow SafeAreaView to display correctly for users.
* MM-10193 Extend design elements for iPhoneX SafeAreaViews
This is the second portion of the MM-10193 changes for the landscape feature. This item was to extend the design elements for the application into the SafeAreaView so the application looks uniform on the iPhoneX.
* MM-10193 Patch for Snapshot tests and eslint
* MM-10193 Re-Patch
These chanbes mistakenly got reverted from last Patch
* MM-10193 Updates for PR
Fixed the 4 screens from the text box that were missed.
Updated the padding to run from a method.
* Revert "MM-10193 Updates for PR"
This reverts commit fe8d650ce3ca2828d8c94e4af470649aa2582ec1.
* MM-10193 Updates for PR
This reverts commit 4966d83d5401720d26ca22a55cf8f92f1657b7e2.
Applied Updated Snapshots
* MM-10193 Updated Modifier for iphone_x_spacing
Updated Modifier for iphone_x_spacing
* MM-10193 Updates for Review
Review changes for Post Textbox and a few states that were unavailable.
* MM-10193 Fix Longpress padding
Fixed longpress padding for Channel Info and Edit Post views.
* MM-10193 Update isLandscape
Updated isLandscape to pull directly from dimensions.
Updated padding for Recent Mentions and Flagged Posts.
* MM-10193 Updates for review longpost
Updated for longpost padding.
Fixed issue with notifications not padding right correctly.
* MM-10193 Update with Cleanup
Reverted Cocoapods back to 1.5.3.
Cleaned up spacing in two files.
* MM-10193 Merge Conflict Updates
Updates to resolve merge conflicts
2019-08-09 11:14:38 -04:00
Elias Nahum
5869e1a110
Fix pop thread screen when deleting the root post ( #3092 )
2019-08-09 11:04:24 -04:00
Miguel Alatzar
757e58f83b
Increase ReplyIcon dimensions ( #3086 )
2019-08-09 06:05:11 -07:00
janvt
066e98e145
MM-15218 allow interactive dialogs to have no elements ( #3048 )
2019-08-09 08:26:50 -04:00
Hossein Ahmadian-Yazdi
55bd6a2f7e
[MM-13849] Display confirmation box for [at]all and [at]channel ( #3028 )
...
* [MM-13849] Display confirmation box for @all and @channel
* [MM-13849] Fetch Channel stats when user changes channel
* [MM-13849] Address PR comments
* [MM-13849] Addressed PR comments
* [MM-13849] Made getChannelStats into it's own statement
2019-08-08 16:21:52 -04:00
Elias Nahum
fddb0cf2fb
MM-17562 scroll to new message line indicator on componentDidUpdate ( #3074 )
...
* MM-17562 scroll to new message line indicator on componentDidUpdate
* feedback review
* Cancel animation frame requests
2019-08-08 15:50:37 -04:00
Elias Nahum
e87858d7af
Various fixes ( #3078 )
...
* MM-17588 Remove navigation component from stack
* MM-175986 Fix Clock Display Settings on iOS
* Fix markdown and team icon currentServerUrl
* Fix closing permalink logs out the user
* Fix file attachment document ref
* Fix applyTheme when changing a theme in the app
* Feedback review
* remove / when fetching the image on the markdown table on relative paths
2019-08-08 22:28:07 +08:00
Miguel Alatzar
71e56120eb
[MM-17431] Remove flex for horizontalRule ( #3079 )
...
* Remove flex for horizontalRule
* Fix snapshot tests
2019-08-08 07:05:16 -07:00
Miguel Alatzar
c7b5aff765
Fix theme thumbnail width ( #3080 )
2019-08-08 21:53:44 +08:00
Elias Nahum
76df42bbd1
MM-16752 Fix unhandled promise rejection TypeError state.websocket.lastConnectAt ( #3039 )
2019-08-02 13:04:50 -07:00
Deepak Sah
8167c2ddea
[MM-14593] Add password type for Interactive Dialogs ( #2998 )
...
* Added prop secureTextEntry for password type
* Added test cases for DialogElement
* Fixed issues
2019-08-02 14:14:49 -04:00
Elias Nahum
d230bdac1e
MM-17424 Setting to enable/disable fixed sidebar ( #3060 )
2019-08-02 13:50:31 -04:00
Asaad Mahmood
06f3511222
MM-13083 - Removing refresh button from some pages ( #3010 )
...
* MM-13083 - Removing refresh button from some pages
* Updating test
* Removing unused component
* Updating minor changes
* Updating failed actions import
* Updating post list error screen
* Updating connection issue error message
* Updating network connection messages
* Updating terms of service page
* Updating test
* Updating animations and FailedNetwork component
* Reverting some changes
* Updating channel post list
* Updating requestsed changes
* Updating code changes
* Removing error description
2019-07-29 14:26:24 -04:00
Miguel Alatzar
3453de7948
Fix test ( #3051 )
2019-07-27 01:10:26 +08:00
Miguel Alatzar
4ee4ff10dd
[MM-14926] Clear foreground notifications from AsyncStorage on logout and server upgrade ( #3033 )
...
* Clear foreground notifications from AsyncStorage
* Remove unnecessary call to clearNotifications
2019-07-26 18:21:11 +08:00
Elias Nahum
f1ef6920f3
MM-17100 setCSRFFromCookie with subpath support ( #3035 )
2019-07-25 07:16:37 -04:00
Miguel Alatzar
78bdf0e4e2
Check initialIndex in callback ( #3025 )
2019-07-24 09:51:36 -07:00
Miguel Alatzar
ebe8d45711
[MM-16816] Parse source URI ( #3026 )
...
* Parse source URI
* Revert "Parse source URI"
This reverts commit 1cf421c9b9897e46881685aabebb793ad6ff4c07.
* Pass imageUri instead of defaultSource to ProgressiveImage
* Parse source URI in ImageCacheManager
2019-07-24 07:59:06 -07:00
Miguel Alatzar
9a894641fc
[MM-14926] Include in-app notifications in iOS badge number ( #3001 )
...
* Include in-app notifications in iOS badge number
* Make foreground notifications key a const
2019-07-24 07:58:15 -07:00
Miguel Alatzar
83c9856897
Call scrollToIndex only if flatListRef.current is not null ( #3022 )
2019-07-23 11:21:38 -07:00
Miguel Alatzar
59e948f06a
Apply new theme to all navigation components ( #3005 )
2019-07-23 12:21:35 -04:00
Jesús Espino
2106fca1c7
Fixing guest login ( #3019 )
...
* Fixing guest login
* Fixing eslint
2019-07-23 11:19:59 +02:00
Miguel Alatzar
228b483153
User popToRoot over resetToChannel ( #3016 )
2019-07-22 17:04:29 -07:00
Miguel Alatzar
76b4bf8262
[MM-14923] Add channel_id to failed push notification reply ( #3014 )
...
* Add channel_id to failed push notification reply
* Fix typo
2019-07-22 14:57:40 -07:00
Jesús Espino
ee93e4fa59
Adding guest accounts feature ( #2990 )
...
* 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 22:14:39 +02:00
Miguel Alatzar
8e48058fff
[MM-16910] Set footerColor the same as navBarBackgroundColor ( #3002 )
...
* Set footerColor the same as navBarBackgroundColor
* Oops, forgot __snapshots__
2019-07-19 17:29:17 -07:00
Elias Nahum
42e5b79022
Fix Options modal on iOS ( #2993 )
2019-07-18 15:58:49 -04:00
Sudheer
61d3eda1fd
MM-16829 Fix for sso with server subpaths ( #2987 )
2019-07-18 23:08:51 +05:30
Elias Nahum
98da0aa607
MM-16815 Remove the failed posts banner on WS reconnect ( #2983 )
2019-07-18 11:36:37 -04:00
Ewe Tek Min
8a9f1f6ccc
[MM-14303] Able to copy channel header and purpose ( #2923 )
2019-07-18 11:09:47 -04:00
Elias Nahum
c226a3a546
Select server fix login options transition ( #2984 )
2019-07-18 10:56:31 -04:00
krjn
5abfb66b78
[MM-16389] Enable emojis for profile icons from webhooks ( #2961 )
...
* [MM-16389] Enable emojis for profile icons from webhooks
Removes borders from profile icons when it is from a custom URL.
* feat: reapply border for all profile pictures and shrink emojis
* feat: remove border from emoji profile pictures
* feat: decide if post has emoji icon through props instead of url
* refactor: better checking of potentially undefined property
Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
2019-07-18 10:23:41 -04:00
Miguel Alatzar
55964d2fda
Add placeholderTextColor when using placeholders ( #2976 )
2019-07-17 12:56:25 -07:00
Elias Nahum
cdd7000361
MM-16398 Fix Team/Channel sidebar dots overlap last item ( #2975 )
...
* MM-16398 Fix Team/Channel sidebar dots overlap last item
* Feedback review and Tablet support
* Only center dots by width on iPhone X series devices
2019-07-17 11:30:12 -04:00
Elias Nahum
b8af8a3860
Lazy android native modules ( #2973 )
...
* Lazy loading Android modules
* Remove react-native-bottom-sheet
* Remove comments
* npm audit fix
* Update rnn-v2 modals
* audit fix
* Fix tests
2019-07-17 11:06:21 -04:00
Miguel Alatzar
dcfb39efa4
Handle null currentChannelMember ( #2980 )
2019-07-16 17:52:58 -04:00
Miguel Alatzar
085a3ecf6c
[MM-17016] Ensure Flatlist is mounted prior to calling scrollToIndex ( #2977 )
...
* Ensure Flatlist is mounted prior to calling scrollToIndex
* Address review comment
2019-07-16 21:07:59 +08:00
Miguel Alatzar
d7432d3d41
Merge branch 'master' into rnn-v2
2019-07-09 14:08:15 -07:00
Elias Nahum
83e9dd844a
MM-16857 Fix long posts ( #2967 )
2019-07-09 11:55:56 -04:00
Miguel Alatzar
5838d5163f
Wrap setting show true in requestAnimationFrame ( #2964 )
2019-07-09 10:51:11 -04: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
8762bf05f9
Launch app without authentication if already started
2019-07-02 18:40:39 -07:00
Miguel Alatzar
51aac1e6e7
Merge branch 'master' into rnn-v2
2019-07-02 18:15:19 -07:00
Maxim Zaks
bf3f0be37e
Don't show preview if remove_link_preview is set to true ( #2939 )
...
* Don't show preview if remove_link_preview is set to true
* remove white spaces
2019-07-03 01:44:29 +05:30
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
9f88923656
Place the new message indicator at the top of the screen ( #2943 )
...
* Place the new message indicator at the top of the screen
* Add unit tests for channel postVisibility reducer
2019-07-02 12:28:13 -04:00
Elias Nahum
20bcb9d44a
Allow the server url to be cleared ( #2942 )
...
* Allow the server url to be cleared
* Remove getDerivedStateFromProps
2019-07-02 10:33:40 -04:00
Elias Nahum
614e6da142
Fix AD/LDAP & SAML profile sync properties ( #2941 )
2019-07-02 10:11:14 -04:00
Michael Kochell
1588f46ae4
Pass cookie for post actions ( #2945 )
2019-07-02 08:18:34 -04:00
Miguel Alatzar
30375aa4a2
[MM-16138] Update settings related screens ( #2918 )
...
* 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
* Remove navigationComponentId
2019-06-28 12:03:18 -04:00
Miguel Alatzar
c278614ca1
[MM-16137] Update post related screens ( #2916 )
...
* 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
* Remove navigationComponentId
2019-06-26 18:10:41 -04:00
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
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
Elias Nahum
bef593c3cf
MM-16467 Fix iOS layout when playing a youtube video in landscape ( #2926 )
2019-06-26 08:33:04 -04:00
Miguel Alatzar
fdb6cc6b2a
[MM-16456] Ensure Flatlist is mounted prior to calling scrollToOffset ( #2925 )
...
* Ensure Flatlist is mounted prior to calling scrollToOffset
* Make linter happy
2019-06-26 17:01:44 +08:00
Elias Nahum
c121f66526
MM-16463 Fix replying from push notification to a message in a thread ( #2927 )
2019-06-26 16:59:07 +08: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
Jesse Hallam
0e84b91257
MM-16442: count actual reactions before falling back to has_reactions ( #2910 )
...
* MM-16442: leverage post hasReactions utils function
This handles backwards compatibility with servers that do not have post
metadata, allowing the client to detect the presence of reactions that
in turn might need to be loaded when the component is mounted.
* temporary mattermost-redux commit for testing
* revert usage of hasReactions, and count directly
We still fallback to has_reactions if set, in case we're connected to a server without post metadata.
* revert mattermost-redux changes
2019-06-24 15:36:24 -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
e6fdef3451
MM-16397 save draft when app state changes ( #2899 )
...
* MM-16397 save draft when app state changes
* Unit tests
2019-06-22 11:21:57 -07:00
Chris Duarte
4d9780da56
Ios accessibility fixes ( #2842 )
...
* UCHAT-4371 // MM-15771 - iOS - Larger Fonts Cut Off Text in menu and settings screens
revert padding right
* Update snapshot
2019-06-21 16:10:16 -04:00
Elias Nahum
3f925df9d9
MM-16392 Split view support & hide sidebar on tablets ( #2898 )
2019-06-21 14:10:30 -04:00
Harrison Healey
06b3273fd8
MM-16472 Fix renderItem not returning anything ( #2909 )
2019-06-21 08:29:03 -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
Martin Kraft
5f7ab2bf15
MM-15528: Updates to channel info for group-constrained channels. ( #2786 )
...
* MM-15528: Adds new group-managed text to channel info header.
* MM-15528: Hides 'Add Members' link if group-constrained.
* MM-15528: Sets member list to view-only if channel is group-constrained.
* Update app/screens/channel_members/index.js
Co-Authored-By: Harrison Healey <harrisonmhealey@gmail.com>
2019-05-13 17:14:47 -04:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies ( #2777 )
...
* Upgrade to RN 0.59.6 and dependencies
* Remove channel loader unused style
* Update to the latest netInfo that fixes a crash
* Do not set default timezone with moment
* Use RN 0.59.8
2019-05-13 13:33:18 -04:00
scott lee davis
6cf8d1a9e8
MM-15442 Filtered list not showing bot account icon ( #2787 )
...
* handle channel.isBot undefined state gracefully
* Use Boolean for is isBot check
Co-Authored-By: Christopher Speller <crspeller@gmail.com>
2019-05-13 08:45:51 -07:00
Jason Blais
d51d4e4c9c
Update help text for at-here, at-channel, at-all ( #2790 )
...
* Update help text for at-here, at-channel, at-all
https://community.mattermost.com/core/pl/kqmabdzqb3df7xx5xjsaosozir
* Update at_mention.js
2019-05-13 11:13:39 -04:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined ( #2783 )
2019-05-10 09:34:23 -07:00
Miguel Alatzar
c91bf75b09
[MM-14887] Include all png, jpeg, and bmp MIME types ( #2781 )
...
* Include all png, jpeg, and bmp MIME types
* Update snapshot
2019-05-09 14:18:24 -07:00
Saturnino Abril
c450c530a7
add lastPostIndex props to Thread and Permalink, and add markers for those screens ( #2780 )
2019-05-09 07:39:58 -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
Sergey Zhukov
7eeda159db
Removed @babel/polyfill ( #2776 )
2019-05-08 15:00:08 -04:00
scott lee davis
b819867b50
MM-15228 consecutive bot posts maintain the profile image ( #2746 )
...
* do not group consecutive bot posts
* fixes from make check-style
2019-05-08 09:38:18 -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
Elias Nahum
5ce9208d32
MM-14958 Scroll to bottom when posting a new message ( #2761 )
2019-05-07 13:28:16 +05:30
Elias Nahum
a16c98b34e
MM-15428 Return empty object for native managed configuration when not set ( #2770 )
2019-05-06 09:20:08 -07:00
Elias Nahum
7e70020332
MM-15428 Fix iOS when managed config is not set ( #2768 )
2019-05-03 20:18:41 -07:00
Elias Nahum
08df256c1d
MM-14921 Fix iPad layout including safeAreaInsets ( #2748 )
...
* MM-14780 and MM-14921 Fix iPad layout including safeAreaInsets
* Fix unit tests
2019-05-03 17:42:32 -04:00
Miguel Alatzar
d213565ebb
Use numbered capture over named capture ( #2765 )
2019-05-03 13:18:41 -07:00
Miguel Alatzar
19c493ff6e
[MM-15401] Fix setting of extension when caching files ( #2762 )
...
* Get extension from Content-Disposition first
* User ImageCacheManager.cache over getCacheFile
* Add unit tests for ImageCacheManager.getCacheFile
* Add unit tests for ImageCacheManager.cache
* Use exports and require to be able to mock isDownloading
* Chain mockReturnValueOnce calls
* Fix getExtensionFromContentDisposition and its unit tests
2019-05-03 09:24:40 -07:00
Elias Nahum
6eeb830662
Use of cached managed config in components ( #2758 )
2019-05-01 18:34:09 -04:00
Harrison Healey
1173ca3d97
MM-14030 Don't show large gifs in posts ( #2750 )
...
* MM-14030 Don't show large gifs in posts
* Re-add default argument
2019-05-01 09:34:45 -04:00
Joram Wilander
df2ecf3409
Add native module to reset TextInput to fix bad cursors in some Android keyboards ( #2753 )
2019-05-01 09:27:21 -04:00
scott lee davis
5a70bedcbe
MM-15161 show icon for bot instead of system icon in ephemeral post ( #2740 )
...
* show icon for bot instead of system icon in ephemeral post
* added check for if user is null
2019-05-01 09:08:50 -04:00
Elias Nahum
2d48215bf1
fix mattermostManaged event name ( #2754 )
2019-04-30 11:12:28 -04:00
Miguel Alatzar
c87845dee8
[MM-14777] Remove post for user after user deletes it ( #2745 )
...
* Remove post after delete
* Add unit test
* Fix check-style errors
2019-04-29 17:07:30 -07:00
Elias Nahum
412a009965
Remove the RN bridge from MattermostManaged ( #2741 )
...
* Remove the RN bridge from MattermostManaged
* Fix NativeEventEmitter
* Optimize for zero listeners
2019-04-29 16:24:04 -04:00
Courtney Pattison
ce5c30e9ca
[MM-9454] Added fade to send button ( #2677 )
...
* [MM-9454] Added jest-enzyme to devDependencies
* [MM-9454] Refactored SendButton as component
* [MM-9454] Added fade to SendButton
* [MM-9454] Changed Fade to PureComponent
2019-04-29 07:54:00 -07:00
Miguel Alatzar
cb0e4e225a
[MM-14887] Allow only jpeg, png, and bmp profile image uploads ( #2715 )
...
* Allow only for jpeg, png, and bmp profile image uploads
* Add file type if missing and update error id
* Update mattermost-redux commit hash
* Point mattermost-redux to latest master commit
2019-04-25 14:27:06 -07:00
Miguel Alatzar
dc554bdfa7
Delay PostTextbox animation on iOS when clearing text ( #2739 )
2019-04-25 07:51:47 -07:00
Miguel Alatzar
89c0d1b5f9
Increase Typing animation duration and remove handleScrollToRecentPost ( #2730 )
2019-04-23 14:49:15 -07:00
Miguel Alatzar
9982a2d73f
Match lineHeight used in ChannelInfoHeader to PostBody's ( #2721 )
...
* Match lineHeight used in ChannelInfoHeader to PostBody's
* Apply lineHeight only for iOS
2019-04-23 13:47:54 -07:00
Saturnino Abril
e3b4191af9
[MM-14619] Remove Client4.online and related setOnline function ( #2718 )
...
* remove Client4.online and related setOnline function
* update mattermost-redux commit to 16a39c671193db23006d848c7866adbb5cae6901
2019-04-24 00:34:34 +08:00
Miguel Alatzar
1a9b34f618
[MM-14699] Update image cache manager to handle correct file extensions ( #2701 )
...
* Update image cache manager to handle correct file extensions
* Use RNFetchBlob.fs.existsWithDiffExt to find cached images with
extensions other than the default .png
* Add package-lock.json
* Use app/util/file's getExtensionFromMime
* Define DEFAULT_MIME_TYPE in image_cache_manager.js
2019-04-22 19:19:21 -07:00
Miguel Alatzar
a67863c5a2
[MM-14669] Return null dimensions when height or width is falsy ( #2681 )
...
* Return 50x50 dimensions when height or width is 0
* Refactor image constants
* Return null dimensions when height or width is falsy
2019-04-22 19:17:03 -07:00
Miguel Alatzar
10196d5fad
MM-14541 Fix search bar animation stutter in main search bar ( #2672 )
...
* Do not expand drawer on search start
* Add state.searching for determining showTeams
* Add leftComponent prop to SearchBar to render SwitchTeamsButton
* Update snapshot tests
* Use native driver when possible and fix start calls
2019-04-22 19:01:17 -07:00
Chris Duarte
2ca87f7ac4
Reminder message (/remind) do not show message text on mobile. ( #2710 )
2019-04-22 21:56:26 -04:00
Harrison Healey
2e756ba21a
MM-14741 Add default option to post action dropdown ( #2724 )
2019-04-22 14:42:42 -04:00
Elias Nahum
5183bc4b50
MM-15215 fix crash caused by malformed post textbox localize string
2019-04-18 18:24:36 -04:00
Martin Kraft
58f4346e5d
MM-14417: Add messaging for channel mentions of users not in constrai… ( #2711 )
...
* MM-14417: Add messaging for channel mentions of users not in constrained groups.
* MM-14417: Reorder translation.
* MM-14417: Update for new mobile app with old server install.
2019-04-17 10:45:29 -04: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
Seungje Jun
696c4dc94f
DateHeader rendering bug fix ( #2717 )
...
* app/screens/search.js DateHeader part bug fix
* DateHeader parts fix
2019-04-16 09:03:39 -04: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
Miguel Alatzar
45784e5fcd
Ensure the correct value for channelIsLoading is used ( #2712 )
2019-04-15 10:53:02 -07:00
Jesús Espino
95a9eb9118
Executing translation extraction script ( #2703 )
2019-04-09 15:24:43 -04:00
kosgrz
6b5d0a49e5
[MM-14191] Render emojis in Interactive Message Buttons ( #2640 )
2019-04-09 11:41:39 -04:00
Miguel Alatzar
d1ca9b874a
Set canFlag to false for system messages ( #2705 )
2019-04-09 11:15:15 +08:00
Elias Nahum
825284517e
MM-14960 Use the correct icon set for channel types ( #2699 )
2019-04-08 10:50:38 -07:00
Daniel Schalla
dd5d11e1dd
Add CSRF Header in File Upload and Profile Image Set Operations ( #2686 )
2019-04-04 10:43:54 -04:00
Orjiewuru Kingdom Isaac
102eeb93fe
MM-13151 Increase double tap delay for post action buttons ( #2406 )
...
* Use app state to disable a button when click to prevent double tap
* remove disable button state after 4000ms
* modify preventDoubleTap to have optional delayTime param
* remove local state use for button control
* remove unused method
* remove app state method to disable a button
* Update tap.js
2019-04-02 10:22:31 -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
Christopher Speller
ec9e46fb62
MM-13618 Adding bot tags. ( #2669 )
...
* Adding bot tags.
* Snapshot update.
* Moving bot tag to own component.
* Snapshots.
* Adding missing bot tags, fixing bot profile, allowing tap of bot username to open profile.
* Snapshots and tests.
2019-03-26 16:59:45 -07:00
Martin Kraft
7423e7d3bf
MM-14345: Changes the channelIsReadOnly prop to be associated to the post's channel rather than the current channel. Show the unpin regardless of whether a channel is read-only. ( #2656 )
2019-03-25 17:37:54 -07:00
Courtney Pattison
c3a1e3561e
[MM-13381] Added reply to post options ( #2665 )
...
* [MM-13381] Added reply to post options
* [MM-13381] Fixes for adding reply to post options
* [MM-13381] Fixed logic for adding reply to post options
* [MM-13381] Fixed canReply logic for post options
2019-03-25 13:29:46 -07:00
Elias Nahum
e960d37cdc
MM-14459 Ensure hydrationComplete is set to true when resetting the cache and logging out ( #2664 )
2019-03-23 11:07:43 -03:00
Yusuke Nemoto
d852e0991f
Support MinimumHashtagLength setting ( #2583 )
...
* Support MinimumHashtagLength setting
* Set default value if missing
2019-03-22 14:06:02 -03:00
Antti Seppälä
a52bc4ca2e
Do not use WebKit for CookieManager operations in SSO ( #2515 )
...
* Do not use WebKit for CookieManager operations in SSO
This allows the SSO login to function again with devices that are not running IOS-11.
* Use WebKit for CookieManager operations only with iOS 11 or later
Detect OS version and use WebKit only when iOS 11 or later is detected.
This allows the SSO login to function again with older devices.
2019-03-22 13:41:06 -03:00
Saturnino Abril
b5effd3ea3
fix showing o fpost options for system admin ( #2644 )
2019-03-21 17:52:36 +08:00
Saturnino Abril
e744083833
remove state.value and rely only on props.value ( #2635 )
2019-03-20 22:15:01 +08:00
Elias Nahum
e053219fb0
MM-13795 Detect timezone updates on Android ( #2660 )
2019-03-19 18:10:45 -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
10cb53c7fb
fix email setting to "Never" when first saved (hitting back button on iOS) without actually changing the selection ( #2650 )
2019-03-16 03:05:08 +08: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
914e24dccd
[MM-14527] Fix default behavior when enabling/disabling email batching ( #2642 )
...
* fix default behavior when enabling/disabling email batching
* update redux commit to master - 98856a3
2019-03-14 01:57:49 +08:00
Jesse Hallam
692953e860
MM-14461: make @-mentions (and searches) case insensitive ( #2641 )
2019-03-13 09:37:56 -04: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
a941ce5fff
Add Office 365 login support ( #2628 )
2019-03-11 15:28:59 +05:30
Saturnino Abril
4e1479d449
do not save email interval preference on cancel on Android device ( #2633 )
2019-03-09 13:27:07 +08:00
Saturnino Abril
5bcf8f7576
fix multiple text entries when typing with Shift+Letter on Android ( #2634 )
2019-03-08 09:45:08 -05:00
kosgrz
727465140f
[MM-14192] Render hyperlinks in Message Attachment title ( #2617 )
2019-03-07 09:12:33 -05:00
Yusuke Nemoto
e1e1e7cf53
Highlight CJK mention keywords in sentense ( #2590 )
2019-03-07 22:04:10 +08:00
Saturnino Abril
ede80d0fe4
Do not show deactivated users when adding members ( #2613 )
2019-03-06 08:55:58 +08:00
Elias Nahum
b0a18025c4
Wait for VPN connection only when appconfig flag is set ( #2627 )
2019-03-05 12:01:43 -03:00
Elias Nahum
41c675fd84
Set the correct channel display name when switching teams ( #2625 )
2019-03-05 11:56:24 -03:00
Saturnino Abril
2237eb1e60
fix enabling post icon override ( #2611 )
2019-03-05 19:53:07 +08:00
Elias Nahum
5a96c5c56f
Fix checkLoginResponse for MFA ( #2623 )
2019-03-05 09:08:53 +08:00
Saturnino Abril
275d774c5a
fix default email interval from never to immediate ( #2614 )
2019-03-04 15:51:42 -05:00
Saturnino Abril
8a4c6de86f
fix intermittent crash when selecting a link ( #2620 )
2019-03-05 02:28:40 +08:00
MartB
0a2bbb73e7
[MM-13824] add one_you strings for better translatability in team/channel related messages. ( #2604 )
2019-03-01 13:15:02 -05:00
Daniel Schalla
5794a0da4d
[MM-14081] Show MFA Prompt after Server returned error for login request ( #2599 )
...
* Show MFA Prompt after Server returned error for login request
* eslint
* Hide MFA error on first login attempt
2019-03-01 19:01:10 +01:00
Elias Nahum
3feaa8e6bb
iOS Native Share Extension (Swift) ( #2575 )
...
* iOS Native Share Extension (Swift)
* Re-arrange files
* Fix .gitignore
2019-02-26 14:31:57 -03:00
Dean Whillier
fceca49412
immediately return when connection is offline ( #2594 )
2019-02-25 16:23:28 -05:00
kosgrz
590c7ed45d
[MM-14193] Render emojis in Message Attachment title ( #2591 )
2019-02-25 13:00:45 -03:00
Miguel Alatzar
e662945b46
[MM-13954] Fix prop type for post reactions ( #2578 )
...
* Fix prop type for post reactions
* Update react list test
2019-02-21 21:39:08 +08:00
Elias Nahum
7377665d44
Fix utils reference ( #2586 )
2019-02-20 17:26:42 -08: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
Miguel Alatzar
c72ea6a281
[MM 13161] Mobile: Add paging to Select Teams screen ( #2468 )
...
* Use updated getJoinableTeams function from mattermost-redux
* Use onEndReached for infinite scrolling of paginated teams
* Add onRefresh
* Update Settings screen to expect joinableTeams as array
* Fix linter issues
* Test that page is updated after getTeams() call
* Revert package-lock.json changes
* Update mattermost-redux dependency
* Update mattermost-redux dependency
* Only call getTeams if more can be loaded and only after a previous
call has completed
* Update snapshot due to prop
* Update CustomList to support refreshing as well as option to not
render the separator
* Use CustomList in SelectTeam
2019-02-20 09:12:36 -08: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
Ryan Wang
f071deb003
[MM-13975] Add Terms of Service and Privacy Policy Links ( #2559 )
...
* [MM-13975] Add terms of service and privacy policy links
* [MM-13975] Address comments
2019-02-20 09:08:07 -05:00
Saturnino Abril
710ae4d601
[MM-14017] Fix whitespace between input box and post list on iOS ( #2580 )
...
* fix whitespace between input box and post list on iOS
* corrected viewPosition when pulling down the post list and add constant for thread screen
* corrected changes made to viewPosition
2019-02-19 21:20:16 -08:00
Elias Nahum
a358c7b99b
Fix opengraph and reactions for older servers ( #2581 )
2019-02-19 19:04:10 -03:00
Chris Duarte
f4761860a1
Don't show confusing versioning message in "Check for Updates" screen when using a beta/testing build or platform config hasn't been updated for prod ( #2556 )
...
UI doesn't update when NO_BETA is set
2019-02-20 01:11:41 +05:30
Saturnino Abril
f88c2e2a00
[MM-13295] Make channel link clickable for user who's not member of the public channel ( #2466 )
...
* Make channel link clickable for user who's not member of the public channel
* update per review
* update per comment
* remove setChannelDisplayName
2019-02-20 01:45:04 +08: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
Dean Whillier
7eb434b256
[MM 13934] Prevent blank mention keys from crashing the app ( #2570 )
...
* don’t match blank word boundaries
* test for blank mention keys
* Check for blank mention before looking for match
* account for multiple spaces as a blank mention
2019-02-13 15:05:52 -08:00
Sudheer
fc69daf6e5
Fix alignment of count on channel drawer ( #2569 )
2019-02-13 20:57:26 +08:00
Martin Kraft
70907d061c
MM-14055: Load the channel even if not joining. ( #2567 )
2019-02-13 05:35:43 -05:00
Harrison Healey
5eac23ea8c
MM-14001 Don't mount PostBodyAdditionalContent for system messages ( #2564 )
2019-02-12 15:41:20 -05:00
Dean Whillier
c24ffe8b11
[MM 13720] Fix for "No internet connection" banner not always showing ( #2563 )
...
* Add `opacity` to compopnent state …
… to trigger render updates when the property changes.
* Fix bug stopping app from updating connection status
- if the app is opened when no internet connection is present, turning on the internet with the app open will not remove the `No internet connection` message.
* style corrections
2019-02-12 11:06:43 -05:00
Elias Nahum
b9f55dcb60
MM-13337 Fix EMM connections using VPN on-demand ( #2558 )
...
* Fix EMM connections using VPN on-demand
* Update package.json
* Update package-lock.json
2019-02-11 10:22:31 -08:00
Elias Nahum
3db8604102
Add support for relative permalinks ( #2555 )
2019-02-08 22:54:26 +08: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
145842e19e
Fix placeholder image on Android when profile pic is removed ( #2551 )
2019-02-07 09:20:43 -03:00
Elias Nahum
614e8e32ca
MM-13974 Missing translations ( #2549 )
...
* Missing translations
* update snapshots
2019-02-05 19:15:31 -03:00
Elias Nahum
da6160f0b8
Fix previewing doc files more than once on Android ( #2550 )
2019-02-05 19:12:56 -03:00
Dean Whillier
4a51013316
[MM-13677] Fix to ensure unsupported unicode emoji can be rendered jumbo size ( #2545 )
...
* fixes unicode emoji not rendering jumbo
- replace inline emoji regex with npm emoji-regex library
- update notice.txt with emoji-regex license
- jumbo emoji issue automatically fixed with updated unicode emoji regex
* Add several tests specifically for 🤟 emoji.
2019-02-05 11:58:07 -05:00
Elias Nahum
2ec7a6bba6
MM-13859 set the auth token when fetching images from the server ( #2537 )
...
* MM-13859 set the auth token when fetching images from the server
* set the image_cache siteURL from redux
* HH suggestion
Co-Authored-By: enahum <nahumhbl@gmail.com>
* Removing comment
2019-02-01 19:38:04 -03:00
Elias Nahum
2f997f631a
MM-13897 preserve iOS push notifications when opening the app and set the proper badge count ( #2541 )
2019-02-01 19:37:07 -03:00
Daniel Schalla
409d36d375
[MM-13839] Remove possibility to change eMail within mobile app ( #2540 )
...
* Make eMail setting read only
* Add translation entry, change wording
* Update wording
2019-02-01 19:34:57 -03:00
Dean Whillier
da32c22c56
Enable tapping on channels when jump to textfield is focused. ( #2535 )
...
* Allow tapping on channels in the filtered list …
… when the keyboard is open. This option also allows tapping on non-interactive areas to still dismiss the keyboard.
* keyboard propery updates
- change ‘on-drag’ to ‘interractive’
- change ‘handled’ to ‘always’ to be more consistent with other uses of same property
* support multiple keyboard dismiss modes
2019-01-30 15:55:02 -05:00
Elias Nahum
fdcae0594a
MM-13875 Fix user profile icon for a Webhook to follow the prop for use_user_icon ( #2533 )
2019-01-31 00:29:34 +05:30
Saturnino Abril
b153dd96a1
[MM-13412 & MM-13711] Allow showing of all post options if possible to fit 75% of the screen height ( #2501 )
...
* allow showing all options if possible to fit 60% of the screen height
* change max initial position from 60% to 70%
* fix broken UI of the bottom part of post options
* change to 75%
2019-01-30 01:07:58 +08:00
Sudheer
c2bcb0e2de
MM-13525 Fix alignment of jewel on channel drawer icon ( #2473 )
...
* MM-13525 Fix alignement of jewel on channel drawer icon
Fix position of dot
Fix snapshot
Change unread indicator to be View instead of . text
* Fix position of dot for unread indicator in badge
* Update snapshot
2019-01-28 12:52:05 -03:00
Elias Nahum
c4e3f08c82
MM-13846 Alert boxes to follow UX Guidelines ( #2525 )
2019-01-28 12:48:07 -03:00
Elias Nahum
0cb7227d52
MM-13673 combine reset cache & delete files into one action ( #2499 )
2019-01-28 09:35:34 -05:00
Daniel Mills
aea4b096e4
MM-13439 change close edit profile window text to Cancel ( #2520 )
2019-01-28 09:22:13 -05:00
Sudheer
860ae8ae2b
MM-13752 Thread view should not display new message indicator ( #2519 )
...
* Change the prop `indicateNewMessages` on postList in thread view to be false
2019-01-28 09:19:26 -05:00
Elias Nahum
d8ef8aa05a
MM-13722 Set the application badge to the number of mentions ( #2523 )
2019-01-27 23:20:17 +05:30
Chris Duarte
e92f7afa82
Clicking username in read-only allows sending message ( #2489 )
2019-01-24 09:46:57 -04:00
Martin Kraft
704b52a813
MM-13751: Fix for incorrect access to delete button. ( #2508 )
2019-01-14 10:06:24 -05:00
Elias Nahum
e1853c6682
MM-13665 Prevent quick multiple taps on file to open multiple file previews ( #2503 )
2019-01-11 21:29:44 +05:30
Elias Nahum
8a8aa5e992
Fix settings screen not showing joinable teams ( #2500 )
2019-01-10 09:11:05 -03:00
Martin Kraft
9177f95fed
MM-13654: Removes pin and delete longpress options from posts in arch… ( #2495 )
...
* MM-13654: Removes pin and delete longpress options from posts in archived channels.
* MM-13654: Maintains existing option order. Updates others' posts options.
2019-01-10 10:37:11 +01:00
Elias Nahum
2c6b53c5ab
MM-13666 Detect post as emoji only if not a codeblock ( #2497 )
...
* Detect post as emoji only if not a codeblock
* Feedback review
Co-Authored-By: enahum <nahumhbl@gmail.com>
* Feedback review
Co-Authored-By: enahum <nahumhbl@gmail.com>
2019-01-10 10:33:45 +01:00
Elias Nahum
432e266180
Fix Keywords modal title on Android ( #2498 )
2019-01-09 19:02:37 -03:00
Sudheer
53e98628f0
MM-13432 Remove getFilesForPost request state and use react state ( #2496 )
...
* MM-13432 Remove getFilesForPost request state and use react state
* Add test cases
2019-01-09 20:21:02 +08:00
Jesús Espino
b810575ccd
Handling nulls in getMyChannelMember ( #2493 )
...
* Handling nulls in getMyChannelMember
* Addressing review comments
2019-01-08 16:43:11 -05:00
Elias Nahum
477dcbb1c5
Fix other users status changes ( #2491 )
2019-01-07 15:15:12 -05:00
Elias Nahum
8c9fd9d9ac
Fix visibility of retry failed message option ( #2492 )
...
* Fix visibility of retry failed message option
* Feedback review
2019-01-07 15:10:16 -05:00
Harrison Healey
ff51501b0c
MM-11232 Fix table column width to better support wide tables ( #2467 )
...
* MM-11232 Fix table column width to better support wide tables
* Fix horizontal scrolling on Android
2019-01-07 13:53:04 -05:00
Sudheer
f02e0fc4f5
MM-13432 Remove unsed request flags from channel_members ( #2490 )
...
* Remove unsed request flags from channel_members
* Fix intial state to match redux state
* Update redux hash
2019-01-04 18:52:00 +05:30
Sudheer
e27b57649a
MM-13405 Change warning message to be singular when adding last user to GM ( #2478 )
2019-01-04 16:49:10 +05:30
Jesús Espino
a81701092d
Handling nulls in getMyCurrentChannelMembership ( #2488 )
2019-01-04 08:53:36 +01:00
Elias Nahum
df4b124028
Fix post menu rounded corners ( #2472 )
2018-12-28 08:35:18 -03:00
Elias Nahum
5e1db3497f
LHS use getSortedFavoriteChannelIds instead of getFavoriteChannelIds ( #2471 )
2018-12-28 08:32:56 -03:00
Chris Duarte
b4b10e17e8
Fixes for duplicate text on message attachments, empty space when attachment has no title ( #2460 )
2018-12-28 08:31:10 -03:00
Elias Nahum
71e9b1fc27
Add the onMessage handler when sso completes ( #2474 )
...
* Add the onMessage handler when sso completes
* Enable handler only for mattermost server
2018-12-21 10:44:35 -03:00
Elias Nahum
a8224e2b42
Show an alert box when the team could not be joined ( #2462 )
2018-12-18 16:47:22 -05:00
Saturnino Abril
af8faa8a2c
[MM-13433] Fix unnecessary rendering for reactions component and reaction list screen ( #2464 )
...
* fix unnecessary rendering for reactions component and reaction list screen
* update redux commit
2018-12-18 23:07:42 +08: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
168cf69b53
Remove extra divider below Edit Channel in Channel info ( #2454 )
...
* Remove extra divider below Edit Channel in Channel info
* Fix indentation
2018-12-13 15:34:22 -03:00
Elias Nahum
423ae63d60
Update date separators when timezone changes ( #2443 )
...
* Update date separators when timezone changes
* Fix typo
2018-12-13 15:34:05 -03:00
Elias Nahum
3b5e2e8a34
prevent double tap on Channel Info options ( #2455 )
2018-12-13 15:33:47 -03:00
Sudheer
615c8f3b81
MM-13333 Fix minor alignment issue with reply thread indicator ( #2456 )
...
* Add a pixel to margin right for profile_picture container
to compensate status icon platform styles
2018-12-13 17:51:56 +05:30
Elias Nahum
2542f69b90
Post Menu initial position to show one option cut off ( #2453 )
2018-12-13 08:39:32 -03: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
Chris Duarte
008d81caab
MM-12906 - Add thumbnails to theme selection ( #2381 )
2018-12-12 09:40:09 -03:00
Harrison Healey
317d26ed64
MM-13421 Fix channel sidebar sometimes using old permissions ( #2450 )
2018-12-12 09:38:57 -03:00
Harrison Healey
901a59a01b
MM-13420 Always show the Unreads section in the channel list ( #2451 )
2018-12-12 09:37:12 -03:00
Elias Nahum
19f261a768
Fix copy markdown link ( #2449 )
2018-12-12 09:36:06 -03:00
Elias Nahum
d0957e3879
Fix edit profile image ( #2448 )
2018-12-12 09:34:41 -03:00
Elias Nahum
9ecec88603
MM-13419 Fix leaving private channel from another client ( #2442 )
2018-12-10 10:55:01 -03:00
Elias Nahum
a6eea28b5b
MM-13365/MM-13375 Fix edit profile image ( #2433 )
...
* MM-13365/MM-13375 Fix edit profile image
* Set Max file size to 20Mb
2018-12-10 09:24:50 -03:00
Elias Nahum
aa20048b2b
Properly check if link is an image when link is shortened ( #2441 )
2018-12-10 09:19:43 -03:00
Elias Nahum
11497ab270
Hide Favorite channel section when there are not favorite channels ( #2439 )
2018-12-10 09:18:13 -03:00
Elias Nahum
91f87d1095
MM-13368 Do not truncate tall images in preview screen ( #2438 )
...
* MM-13368 Do not truncate tall images in preview screen
* Add unit test for viewport max height
* Fix typo
2018-12-10 09:02:56 -03:00
Elias Nahum
6c6441421a
Sort pinned posts from newest to oldest ( #2440 )
...
* Sort pinned posts from newest to oldest
* Update mattermost-redux
2018-12-07 15:56:19 -03:00
Elias Nahum
913fd35724
MM-13379 Make deleted comments indented ( #2437 )
2018-12-07 12:27:44 -03:00
Elias Nahum
993228b666
MM-13374 Fix collapse posts with long message attachments ( #2436 )
2018-12-07 12:27:01 -03:00
Elias Nahum
ceb1a5a94b
MM-13367 Unexpected scrolling/blank while long post is incoming ( #2435 )
2018-12-07 12:26:08 -03:00
Elias Nahum
446361ccea
MM-13366 Post menu doesn't hint at more options below the fold ( #2434 )
2018-12-07 12:25:17 -03:00
Elias Nahum
54c44c530d
MM-13364 Fix text too light on dark themes in TextSetting widget ( #2432 )
2018-12-07 12:24:21 -03:00
Elias Nahum
b6eb57ae57
Fix team mention badge alignment on iOS ( #2427 )
2018-12-07 12:22:41 -03:00
Elias Nahum
ca78514941
MM-13362 Update account settings header color when changing theme ( #2431 )
...
* MM-13362 Update account settings header color when changing theme
* Removed unneded static var
2018-12-07 12:20:46 -03:00
Elias Nahum
ceca20954a
MM-13361 Set Open Teams icons background to white ( #2430 )
2018-12-07 12:19:01 -03:00
Elias Nahum
e89de72b47
Fix reaction list cutoff at end of list ( #2424 )
2018-12-07 12:14:36 -03:00
Elias Nahum
f2e13c8887
Fix opening documents on Android ( #2425 )
2018-12-06 14:23:05 -03:00
Saturnino Abril
1b836940f2
render text for non-existent emoji when post metadata is enabled ( #2423 )
2018-12-06 12:18:43 -05:00
Saturnino Abril
c2c517f3da
make circular badge on jewel for single-digit mention ( #2422 )
2018-12-06 12:11:42 -05:00
Tsilavina Razafinirina
92469f2f21
[MM-8404] Channel notification setting for disabling channel mentions (#MM-8404) ( #2302 )
...
* Channel notification setting for disabling channel mentions (#MM-8404)
* Replaces raw string value by constants (#MM-8404)
* Updates import according to redux update (#MM-8404)
2018-12-06 12:08:27 -05:00
Elias Nahum
91f9ea572b
Wait 1s before clearing notifications when app is brought to the foreground ( #2419 )
2018-12-06 21:41:31 +05:30
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
Vasily Naumkin
2a6ad4f9ae
Fixed typo in i18nId ( #2384 )
...
There are should be `mobile.advanced_settings.delete_file_cache` instead of `mobile.advanced_settings.clear_downloads`.
2018-12-05 20:54:23 +08:00
ja11sop
6e3b091d45
Add support for Elixir syntax highlighting ( #2355 )
...
see https://github.com/mattermost/mattermost-webapp/pull/2056
2018-12-05 08:56:05 -03:00
Chris Duarte
6163b8e913
File image attachments sometimes do not open the image preview ( #2397 )
2018-11-30 09:17:34 -05:00
Elias Nahum
ccaa1a1c11
More fixes to the post layout ( #2408 )
2018-11-30 09:12:07 -05:00
Chris Duarte
ea9794f272
Fixed issue where message attachments were empty if text came through on fallback ( #2395 )
2018-11-29 15:41:22 -03:00
Elias Nahum
390fbb039d
Fix fetching more channels to join ( #2393 )
...
* Fix fetching more channels to join
* update snapshot
2018-11-29 12:06:42 -05:00
Elias Nahum
fc5948fcc8
Add Ukrainian to Mattermost ( #2392 )
2018-11-28 15:08:23 -03:00
Jesús Espino
44a3a5c6c8
MM-13041: Not show direct channels without display name ( #2388 )
2018-11-28 10:41:25 -05:00
Jesús Espino
acb87ebad1
Fixing no parseable (by the i18n extractor) optional chaining construction ( #2387 )
2018-11-28 12:37:23 -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
92db348c09
Fix post menu touchables ( #2385 )
2018-11-28 10:30:57 -05:00
Elias Nahum
ac3a614d8f
Fix jewel in team sidebar for android ( #2386 )
2018-11-28 10:28:31 -05:00
Elias Nahum
8fbb7e7081
Fix Post and network indicator Layouts ( #2382 )
...
* Fix post layout that caused text cutoff
* Fix network indicator layout on non iPhone X devices
2018-11-27 19:43:08 -03:00
Elias Nahum
508ffad00f
Count the posts received after combining join/leave ( #2378 )
2018-11-27 14:38:32 -05:00
Elias Nahum
ef3445d3bc
Add a threshold of 60px from the bottom to show new messages ( #2376 )
2018-11-27 14:33:50 -05:00
Elias Nahum
e36a01267f
Set refreshing default value ( #2380 )
2018-11-26 20:29:10 -03:00
Elias Nahum
c2b0b3255e
Fix edit post ( #2379 )
...
* Fix edit post
* Fix other references to TextInputWithLocalizedPlaceholder
2018-11-26 20:27:48 -03:00
Elias Nahum
4925970b86
Fix crash when message attachment does not have images ( #2377 )
...
* Fix crash when message attachment does not have images
* optional chaining
2018-11-26 20:26:46 -03:00
Elias Nahum
a03016a9e3
Disconnect the websocket on logout and connect appropiately ( #2375 )
2018-11-23 14:54:43 -03:00
Chris Duarte
7c711caf2d
Theme selection screen ( #2320 )
...
* Theme selection screen (initial commit)
PR Review changes
Add custom theme option for users who are already using a custom theme
Fix for limited allowed themes
Selected item case fix
Memoized available themes request, other optimizations
updated snapshots
* Custom theme option changes - title. spacing, save option on state for life-cycle of screen
2018-11-23 14:49:28 -03:00
Saturnino Abril
bc387ed74e
[MM-13074] Render text when named emoji does not match with the existing custom emojis ( #2371 )
...
* render text when named emoji does not match with the existing custom emojis
* added more test case
2018-11-24 01:43:27 +08: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
Jesús Espino
8097764d87
MM-12959: Fix autocomplete archived channels visibility ( #2367 )
...
* MM-12959: Fix autocomplete archived channels visibility
* Remove unneeded getDeletedPublicChannels
2018-11-23 12:25:46 -05:00
Elias Nahum
de812107b5
Disable segment for dev env ( #2372 )
2018-11-23 14:05:42 -03:00
Elias Nahum
308b2c5e19
Fix error text when intl object is not provided ( #2373 )
2018-11-24 00:00:09 +08:00
Elias Nahum
f42fedf889
Add pinned post support ( #2364 )
...
* Add pinned post
* Update pinned posts assets
2018-11-23 12:57:28 -03:00
Elias Nahum
24db914fd4
Keep postlist scroll position on iOS and fix opengraph ( #2369 )
2018-11-23 20:31:14 +05:30
Elias Nahum
aa9fef955f
Do not disconnect WebSocket when NetworkIndicator on componentWillUnmount ( #2368 )
...
* Do not disconnect websocket when networkIndicator unmounts
* feedback review
2018-11-22 20:23:25 -03:00
Elias Nahum
736a955be8
Use post metadata to prevent scroll pop ( #2304 )
...
* Use post metadata to prevent scroll pop
* Fix not to fetch for reactions every time
* Update post-metadata mm-redux ref
* Update mattermost-redux to include post-metadata
2018-11-22 19:47:27 -03:00
Saturnino Abril
d8abeabd70
[MM-12353] Add feature to render jumbo emoji and unwrapped Emoji component with Text when rendering message containing emoji/s only ( #2356 )
...
* add feature to render jumbo emoji/s
* fix bottom clipping of emoji on Android
* updated per feedback
2018-11-22 11:56:27 -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
Elias Nahum
c8777422ce
Fix network indicator layout and reconnect logic ( #2351 )
...
* Fix network indicator layout and reconnect logic
* Reconnection logic to cover more use cases
* Check for internet connectivity when bringing the app to the foreground
2018-11-22 10:25:08 -03:00
Elias Nahum
d8e7a6ab63
Fixing failed tests ( #2363 )
2018-11-21 16:00:00 -03:00
Elias Nahum
9294dec68a
Properly scroll to search results ( #2348 )
...
* Properly scroll to search results
* Add search recent_item test
* Create a new component for the search modifiers
2018-11-21 13:04:26 -03:00
Chris Duarte
55652d0007
Refresh indicator fix ( #2361 )
2018-11-21 19:34:01 +08:00
Sudheer
bfb0db866e
MM-12755 Add reply mention highlight for replyBar ( #2359 )
...
* MM-12755 Add reply mention highlight for replyBar
* Update MM-redux hash
2018-11-21 00:02:51 +05:30
Elias Nahum
678c2599ac
Update post header to support flagged/pinned posts ( #2350 )
...
* Update post header to support flagged/pinned posts
* Fix header cutoff when commented on visible
* Update snapshots
2018-11-20 08:23:42 -03:00
Elias Nahum
1eb046a7fd
Android/iOS leave notifications until channel is read ( #2321 )
...
* iOS clear notifications from a specific channel when clear push notification received
* Android leave notifications until channel is read
* use redux-connect currentChannelId in network indicator
2018-11-19 13:20:44 -05:00
Chris Duarte
b4d7a23e54
Instantly show autocomplete channels ( #2188 )
...
* Instantly show autocomplete channels
* Don't show loading indicator for my channels
* Remove loaders from search
2018-11-19 14:55:43 -03:00
Harrison Healey
883de604d8
Fix comma splice typo ( #2343 )
2018-11-19 14:51:37 -03:00
Elias Nahum
68a3825d95
Update dependencies ( #2316 )
2018-11-18 17:54:06 -03:00
Elias Nahum
85fd0e7d74
Fix download document progress indicator ( #2344 )
2018-11-16 22:57:03 +05:30
Elias Nahum
fb51e38733
Replace WebView with React Native Community WebView ( #2340 )
2018-11-16 13:28:54 -03:00
Elias Nahum
8e97b47425
Fix crash when deleting a post ( #2345 )
2018-11-16 19:41:18 +05:30
Chris Duarte
4d5b49f104
Network consolidation ( #2324 )
...
* Create network listener component
* Remove unnecessary network/websocket logic
* Remove offline indicator. Fix linting issue
* Fix websocketStatus prop issue
* Refactor and remove animation from state
* Fix AppState listener. Add connection retry.
2018-11-14 18:19:59 -03:00
Elias Nahum
ae629a455c
Update UX for post long press menu ( #2325 )
...
* Update UX for post long press menu
* Post menu feedback review
2018-11-14 17:29:09 -03:00
Chetanya Kandhari
68eff30eda
[#MM-12410] Custom Terms of Service ( #2234 )
...
* [#MM-12410] Custom Terms of Service Modal.
- Create a new screen for terms of service
- Register it in app navigation
- Open it as a modal when login succeeds or app is opened when already logged in.
- Get terms of service and render it as markdown
* Refactor service terms to terms of service
* Show terms modal when launching channel instead of componentDidMount
* Remove footer text
* Close modal before logging out
* Use dismissAllModals instead od this.close
* Update header styles
* Update the back icon
* Add left icon conditinally based on os
* Update en.json
* - Integrate Accept/Reject API
- Refactor show navigator to util
- Remove title
- Code refactoring
* Handle Accept/Reject API errors
* Update package-lock
* - Show Alert to handle API error
- Handle API error for GetTerms error, Accept/Reject error and Reject success
- Changes in en.json
- Remove error banner
- Open terms modal in sso and experimental certificate
* Enable navigator buttons after getting terms
* Rename Ok to OK in Alert
* Add retry for API error
* Fix check-style
* Fix FailedNetworkAction Error Message
* - Use Close button instead of back button
- Update en.json
* Remove unused import
* Disable hashtags and atmentions in terms modal
* Enable close button when terms text fails to load
* Minor changes
* Fix show terms on sso login
* Handle restartApp event
* Add test cases
* Revert change to app/components/formatted_markdown_text.js
* Show the terms modal on the channel page
* Remove remaining references to showTermsOfService
* Disable Hashtags, AtMentions and ChannelLinks
* Update the props to markdown component
* Pass the text as literal to renderText
* Return the generated renderTexts
* Fix lint
* Render ~, #, @ with Channel link, Hashtags and At Mentions
* Fix failing tests
Revert unwanted changes
* Hide the channel page content before the terms are accepted
* Fix lint and failing tests
* Revert changes to hide channel while terms are not accepted
* Open modal in componentDidMount instead of constructor
Code refactoring
Disable back button on android
* Remove unused import
* No need to await for showModal
* No need to await for accept and reject
* Update flag for updateTermsOfServiceStatus to updateMyTermsOfServiceStatus
- as phase 2 redux PR was mered.
* Fix check-style
* Change opacity in terms of service text
- Fix tests
* Revert package-lock.json changes
2018-11-14 11:36:45 -03:00
Elias Nahum
e1b1635cf1
Fix regression when scrolling in search screen ( #2339 )
2018-11-14 10:51:29 -03:00
Sudheer
67611d0c22
MM-12923 Fix Downloading message on cancelling downloads ( #2337 )
2018-11-14 08:23:35 -03:00
Elias Nahum
592fab2375
Refactor CustomList to use Section and Flat Lists ( #2332 )
2018-11-13 18:16:57 -05:00
Elias Nahum
0079d7e27a
MM-12952 Avoid iOS autocorrect from overriding autocomplete values ( #2335 )
...
* Avoid iOS autocorrect from overriding autocomplete values
* Fix double ~ for channel mentions in Android
2018-11-13 19:46:31 -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
b0495a9dff
Fix prefetch ( #2330 )
2018-11-09 19:04:17 -03:00
Elias Nahum
201e122827
Fix Android image preview ( #2323 )
2018-11-09 16:20:08 -05:00
Chris Duarte
5c24375dae
Reorganize sidebar channel items via pref ( #1928 )
...
* Reorganize sidebar channel items via pref
Add onItemPress
Add isModal prop
Add options modal for ungrouped sidebar
Filter zero item unreads from sections
Refactor unread filtering
Add SidebarSectionTypes to constants
Update mm-redux dep
Remove unused variable
* Fix lint errors. Update redux commit
* Add recent activity title
* Review feedback
* Fix issues after rebase
* Review feedback
* Change to use getAllDirectChannels
* Update redux library
* Fix lint error
* Update modal list snapshot
2018-11-09 13:06:21 -03:00
Harrison Healey
b80bbe3a94
MM-11477 Wrap objects thrown by Client4 in a proper error type ( #2328 )
...
* MM-11477 Wrap objects thrown by Client4 in a proper error type
* Update mattermost-redux
2018-11-08 12:15:07 -05:00
Elias Nahum
b9e9003195
do not wait for rehydration is credentials are false ( #2312 )
2018-11-05 15:25:35 -03:00
Elias Nahum
e25a1939fc
Set the file prefix in image_cache_manager ( #2313 )
2018-11-05 15:24:30 -03:00
Elias Nahum
071653aa51
Keep connection as active when retrying teams ( #2314 )
2018-11-05 15:19:28 -03:00
Harrison Healey
a042cd043e
MM-12880 Properly link the next sibling following a combined text node ( #2307 )
2018-11-05 10:23:27 -05:00
Elias Nahum
73b8b49c81
Fix reaction list header item border ( #2317 )
2018-11-05 11:23:58 -03:00
Elias Nahum
9a5122c19c
Slide up panel for reaction list ( #2285 )
...
* Slide up panel for reaction list
* Feedback review
* UI Feedback review
* Feedback review
* Improve slide speed and fix end position
* Scroll to top when changing reaction view
* dismiss modal without animation so backdrop does not scroll down
* Smooth animation to show/hide
* Change animation speed
2018-11-02 13:21:43 -03:00
Elias Nahum
9dcf9e6a86
Show join teams option in the team sidebar when there are other joinable teams ( #2293 )
2018-10-31 14:07:59 -03:00
Elias Nahum
e6f70707cc
Allow channel drawer to close when showing the team list ( #2290 )
...
* Allow channel drawer to close when showing the team list
* prevent closing the sidebar when jump to is active
* Add proper header to drawer_layout.js
2018-10-31 13:40:22 -03:00
Elias Nahum
2f7705609f
Fix team utils test eslint ( #2295 )
2018-10-30 15:48:58 -03:00
Elias Nahum
bfdd0f7b42
Add padding to tap effect for team list item ( #2291 )
2018-10-30 09:48:36 -03:00
Harrison Healey
d18cab144e
MM-12467 Made borders between autocomplete items consistent ( #2289 )
2018-10-29 15:22:39 -04: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
Elias Nahum
94ddee15b2
Capture video in high quality ( #2287 )
2018-10-27 00:49:04 -03:00
Saturnino Abril
b763c92fc1
refactor ChannelLink and add test into it ( #2280 )
2018-10-19 08:59:33 -03:00
Sudheer
7a65d83894
Use native transition on drawyerLayout component ( #2278 )
2018-10-19 01:56:29 +05:30
Harrison Healey
78e5b99884
MM-5957 Add mention highlighting on mobile ( #2277 )
...
* Switch pullOutImages to use a NodeWalker
* Add markdown transformer to combine adjacent text nodes
* MM-5957 Add mention highlighting on mobile
2018-10-18 14:12:25 -04:00
Elias Nahum
5240e83bbb
Hook the onMessage event only when needed ( #2271 )
2018-10-18 12:11:48 -03:00
Elias Nahum
729d69a541
Add ability to include custom headers with requests ( #2273 )
...
* Add ability to include custom headers with requests
* feedback review
* Feedback review
2018-10-18 19:47:11 +08:00
Elias Nahum
640f0151b2
Fix backgroundColor when updating the theme in real time ( #2268 )
2018-10-15 21:31:17 -03:00
Elias Nahum
fe7c73d5a5
Fix Upload file size ( #2252 )
2018-10-15 21:29:43 -03:00
Nick Frazier
e6062d5e26
Allow 'view members' for GMs ( #2265 )
2018-10-15 14:13:52 -03:00
Sudheer
1b54e1ebe3
Fix for LHS populating you next to current user ( #2263 )
...
* Fix for LHS populating you next to current user
* Add test cases
* Refactor to use avaiable props conditions in component
instead of passing flags from connector
2018-10-15 21:00:11 +05:30
Elias Nahum
dcf5004acd
Fix uploading iOS videos ( #2260 )
2018-10-12 17:32:18 +08:00
Elias Nahum
e3f531e232
Scroll search results to the top ( #2241 )
2018-10-12 13:16:41 +05:30
Elias Nahum
85d9cd8348
Fix crash when loading the permalink view ( #2258 )
2018-10-11 16:52:42 -03:00
Sudheer
bcad54b6ff
MM-12652 Fix for android thread crash ( #2257 )
2018-10-12 00:35:48 +05:30
Elias Nahum
a78482c942
Set explicit white background to icon previews ( #2256 )
2018-10-11 15:31:34 -03:00
Sudheer
3eb66c591e
MM-12491 Fix archive channels staying in LHS ( #2253 )
...
* Add isArchived flag for all DM's and channels
* Exclude search results from channel_list component to show
results when isSearchResult flag is set
This is to let user search for deactivated users from jumpto
2018-10-11 23:12:17 +05:30
Harrison Healey
cfb372f75a
MM-11157 Switch ESLint to use eslint-config-mattermost ( #2247 )
2018-10-11 13:35:25 -04:00
Elias Nahum
b20e976dff
Properly handle max file size ( #2248 )
...
* Properly handle max file size
* Feedback review
2018-10-11 14:11:05 -03:00
Elias Nahum
de7878ec78
Set Roboto as the default font family for Android ( #2244 )
2018-10-11 19:33:11 +05:30
Martin Kraft
dda2e002e0
MM-11589: Adds 'View Members' button to archived channels. ( #2200 )
...
* MM-11589: Adds 'View Members' button to archived channels.
* MM-11589: Adds menu item separator line.
* MM-11589: Keeps ability to manage users of an archived channel.
2018-10-11 07:29:48 -04:00
Sudheer
97979d89f3
MM-12560 Fix for infinite loading indicator for thread from search ( #2246 )
...
* MM-12560 Fix for infinite loading indicator for thread from search
* Change tests
2018-10-10 23:59:32 +05:30
Elias Nahum
9e8bebe942
Do not show the option to copy post if there is no text ( #2240 )
2018-10-10 08:43:49 -03:00
Martin Kraft
224e5a9139
MM-12552: Adds parameter to include archived channel search results. ( #2237 )
2018-10-09 16:10:16 -04:00
Elias Nahum
1c40604a70
Fix update keywords field on Android ( #2229 )
2018-10-09 11:56:35 -03:00
Elias Nahum
2968b0da7a
Fix KeyboardAvoidView for android ( #2226 )
2018-10-09 11:54:31 -03:00
Harrison Healey
926856f9a5
MM-11477 Use custom thunk middleware to intercept leaked network errors ( #2222 )
...
* MM-11477 Use custom thunk middleware to intercept leaked network errors
* MM-11477 Always include url in Client4 errors
* Update redux
2018-10-09 10:13:28 -04:00
Saturnino Abril
953a087948
Add deactivated to separate row on user list and fix truncating user info ( #2232 )
2018-10-09 20:50:34 +08:00
Saturnino Abril
6b312df268
add opacity of 0.3 to circle stroke of offline status ( #2233 )
2018-10-09 20:46:49 +08:00
Elias Nahum
f9e49d8c66
Missing translations on login screen ( #2227 )
2018-10-08 12:26:12 -03:00
Saturnino Abril
bc54c6e0dd
[MM-12550] Fix hangup on permalink view when user deleted the post in it ( #2228 )
...
* fix hangup on permalink view when user deleted the post in it
* return null when no need to change state on getDerivedStateFromProps
2018-10-08 23:13:41 +08:00
Elias Nahum
43cdaa81a5
Fix Option to capture and share video ( #2225 )
2018-10-05 17:46:47 -03:00
Elias Nahum
811f3edd50
Reset isLoadingMoreTop flag when switching channels ( #2224 )
2018-10-05 17:45:40 -03:00
Harrison Healey
4e251d392a
MM-12189 Set autocomplete max height based off available space ( #2218 )
...
* MM-12189 Set autocomplete max height based off available space
* Have each autocomplete type determine its own max height since DateSuggestion needs more space
* Remove unused props and ref
2018-10-05 09:58:05 -04:00
Saturnino Abril
dd506d4c9f
fix issue that blocks adding test for thread screen ( #2221 )
2018-10-05 14:46:21 +08:00
Elias Nahum
fa5efd4007
Revert "image thumbnail not centered ( #2210 )" and fix it properly ( #2219 )
...
This reverts commit 5f31374e74 .
2018-10-04 19:41:41 -03:00
Elias Nahum
db2b79f0a9
Fix search screen from braking and improved how to get more results ( #2215 )
...
* Fix search screen from braking and improved how to get more results
* Update mattermost-redux
2018-10-03 16:15:55 -03: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
Sudheer
5323be6a52
MM-12301 Add padding for error text on edit profile screen ( #2214 )
2018-10-03 15:06:42 -03:00
Elias Nahum
5f31374e74
image thumbnail not centered ( #2210 )
...
* image thumbnail not centered
* feedback review
2018-10-04 01:37:59 +08:00
Martin Kraft
12e822836d
MM-12061: Fixes component name typo and adds missing param. ( #2199 )
2018-10-03 09:33:52 -04:00
Saturnino Abril
df0200111d
fix empty space on link preview when title and URL is not present in open graph meta ( #2197 )
2018-10-03 09:32:35 -04:00
Elias Nahum
29d975ceef
Draft channel indicator to ignore message with whitespaces only ( #2209 )
2018-10-03 08:44:32 -04:00
Harrison Healey
f5d1c3c434
MM-12424 Remove unused props from KeyboardLayout and simplify methods ( #2203 )
...
* MM-12424 Remove unused props from KeyboardLayout and simplify methods
* Update snapshots
2018-10-02 17:12:21 -04:00
Sudheer
46143df823
MM-12347 Fix crash of app when accessing jumpTo ( #2205 )
2018-10-02 22:51:59 +05:30
Harrison Healey
8a2049f2ab
Hide warnings caused by React Native ( #2202 )
2018-10-02 09:23:22 -04:00
Saturnino Abril
b594d58572
fix empty reaction row when profile is missing ( #2196 )
2018-10-01 18:38:17 +08:00
Saturnino Abril
3c99672af5
Update unit test: use default theme, snapshot on wrapped elements and removal of unnecessary adapter ( #2171 )
...
* use default theme when unit testing the component
* update snapshots by getting wrapped elements only
* fix merge conflicts
2018-10-01 15:11:00 +08:00
Saturnino Abril
2cf3ac18f5
fix blank space on link preview when no site name ( #2193 )
2018-10-01 15:06:31 +08:00
Saturnino Abril
1fbfe33a22
add border to image of link preview and not allow such image width to exceed the view port width ( #2189 )
2018-10-01 09:34:30 +08:00
Elias Nahum
b3738ffd58
Do not show a loading spinner if thread has root post loaded ( #2186 )
...
* Do not show a loading spinner if thread has root post loaded
* Feedback review
* Remove additional condition
2018-09-28 10:54:41 -04:00
Saturnino Abril
bf36a7533e
[MM-12145] Make user info of user list on two rows: first with username and second with teammate display ( #2185 )
...
* make user list row on two columns: first is username, second is teammate display
* move style of filler
2018-09-28 11:36:43 -03:00
Christopher Speller
cd38d8690f
Switching broken image error text to icon. ( #2156 )
2018-09-28 10:28:40 +08:00
Elias Nahum
637df1df63
Get more search results only if value is set
2018-09-27 15:57:04 -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
9bd89930b7
MM-11567: Autocomplete search in: for DMs and GMs ( #2133 )
...
* MM-11567: Autocomplete search in: for DMs and GMs
* More robust behavior on older versions and a fix on autocompletion
* Moving get display_name for search to a selector
2018-09-27 18:38:07 +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
Saturnino Abril
ce47c23100
[MM-9490] Add reaction list ( #2125 )
...
* add reaction list
* update styles and add tests
* update styles
* update per comment
2018-09-27 21:54:17 +08:00
Elias Nahum
48b945d6f9
Localization support for the calendar ( #2182 )
2018-09-27 10:40:21 -03:00
Elias Nahum
eab1ab7c0c
Add support for new iPhone models in missing places ( #2180 )
2018-09-27 09:16:19 -04:00
Sudheer
13aaefa0ac
[MM-11988] Fix File Upload loading progress indicator alignment ( #2181 )
2018-09-27 15:15:45 +02:00
Harrison Healey
3e675ce7a2
MM-10273 Always focus search input when first opening ( #2174 )
2018-09-27 08:40:35 -04:00
Elias Nahum
028d527905
Fix config fetch loop when HA config mismatch ( #2164 )
2018-09-26 17:09:24 -03:00
Elias Nahum
14422f33a5
Fix Android previewer download option ( #2157 )
...
* Fix Android previewer download option
* Feedback review
2018-09-26 15:53:30 -04:00
Christopher Speller
2f9e273923
Adding paging for elasticsearch results. ( #2154 )
2018-09-26 15:38:47 -03:00
Elias Nahum
2567b7dc04
Add draft indicator to the channel item ( #2150 )
...
* Add draft indicator to the channel item
* Feedback review
2018-09-26 12:17:54 -03:00
Elias Nahum
4cebbfdc94
Fix YouTube play button position ( #2160 )
2018-09-26 11:14:51 -04:00
Elias Nahum
f522df7a2e
Refactor postlist to include Android Pie fixes and smoother scrolling ( #2161 )
2018-09-26 10:43:33 -04:00
Elias Nahum
f7c7e70a37
Fix SSO error display ( #2158 )
2018-09-26 10:40:28 -04:00
Elias Nahum
e6c37e5e69
Do not fetch image if file.id is not present ( #2165 )
2018-09-26 10:26:35 -04:00
Elias Nahum
452b97231d
Remove bottom margin in the channel drawer ( #2168 )
2018-09-26 13:23:22 +08:00
Elias Nahum
0e15692f13
Add support for iPhone XR, XS and XS Max ( #2153 )
2018-09-25 14:03:05 -04:00
Harrison Healey
45b8d97168
Use defaultProps to ensure postIds prop exists for ChannelPeek ( #2159 )
2018-09-25 11:47:28 -03:00
Elias Nahum
6e25dbf04b
Adding CSRF header to file uploads/downloads ( #2151 )
2018-09-24 10:51:32 -03:00
Elias Nahum
0edcc139f4
Make the image preview smoother ( #2147 )
...
* Make the image preview smoother
2018-09-24 12:53:40 +05:30
Jesús Espino
8884293b18
Add t() translation mark to i18nable strings and update translations ( #2026 )
...
* Add t() translation mark to i18nable strings and update translations
* Small fixes
* Adding to the packager
* Rebase fixes
* Added missed texts
2018-09-21 11:25:38 -03:00
Sudheer
5fb9b5427e
MM-12199 Add a check for loading on threads ( #2146 )
2018-09-21 19:24:23 +05:30
Sudheer
a6e15320d4
MM-11974, MM-11980 Add deactivated user to LHS search ( #2080 )
...
* MM-11974, MM-11980 Add deactivated user to LHS search
* Add (you) to current user in jumpto search
* Change to use old format of objects for non-search results
* Remove deactivated when searched using JumpTo
* Use archive icon in JumpTo Search for deactivates users
* Update snapshots
* Change snapshots to use getElement
* Fix snapshot
2018-09-21 21:06:33 +08:00
Saturnino Abril
63196936d0
MM-12258 Update snapshots to only compare against the elements and not the bloated objects ( #2140 )
...
* update snapshots to only compare against the elements and not the bloated objects
* resolve conflicts to master
2018-09-21 16:07:37 +08:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 ( #2131 )
2018-09-20 19:05:41 -03: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
Elias Nahum
46b6687d1f
Show local notification when replying to PN fails ( #2142 )
2018-09-21 00:58:21 +08:00
Joram Wilander
1d37f9bbec
Close channel autocomplete if multiple tildes are typed ( #2138 )
2018-09-20 12:36:37 -04:00
Saturnino Abril
858c8e8435
[MM-12016] Add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested) ( #2144 )
...
* add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested)
* remove null check to openGraphData on renderDescription
2018-09-20 11:45:23 -03:00
Elias Nahum
ce0fc1a2d9
Fix can download file for documents in preview screen ( #2141 )
2018-09-20 14:27:44 +05:30
Jesús Espino
f9d9edecdf
MM-12004: Hide the archived messages on search results when ViewArchivedChannels is disabled ( #2137 )
2018-09-18 18:49:10 +02:00
Saturnino Abril
b75aa36554
Fix build error on Hashtag component ( #2134 )
...
* fix build error on Hashtag component
* update commonmark-react-renderer
2018-09-18 12:27:41 -03:00
Sudheer
710ce17a19
MM-12038 Fix attachment icon styling ( #2115 )
...
* MM-12038 Fix attachment icon styling
* Fix attachment icon background-color.
* Fix attachment icon alignment when downloading.
2018-09-18 20:51:04 +05:30
Harrison Healey
ecf25969cc
Fix version of commonmark-react-renderer in package.json ( #2136 )
...
* Fix version of commonmark-react-renderer in package.json
2018-09-18 20:37:49 +05:30
Harrison Healey
578f204784
MM-10273 Add hashtag support ( #2106 )
...
* MM-10273 Add hashtag support
* Put hashtag search in a proper modal
* Change hashtag search style to match regular search
* Move Hashtag component and explicitly pass props
* Add unit tests for Hashtag component
* Fix merge conflict
2018-09-17 17:17:20 -03:00
Elias Nahum
07f88071c6
Update dependencies ( #2040 )
...
* Update dependencies
* Update snapshots
2018-09-17 10:22:38 -03:00
Elias Nahum
6471bcbed3
Merge pull request #2130 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-17 09:12:27 -03:00
Elias Nahum
2f88ae2f3c
Fix mention keywords setting ( #2127 )
2018-09-17 13:34:24 +05:30
Elias Nahum
24185dc47d
Fix post background color from getting stuck ( #2126 )
2018-09-15 19:27:49 -03:00
Jesús Espino
280577dbc7
MM-11725: Using the new server endpoint to autocomplete channels ( #2100 )
...
* MM-11725: Using the new server endpoint to autocomplete channels
* Fixing suggestions from the PR
* Updating mattermost-redux dependency
* Removing unnecesary Client4.getServerVersion usage
2018-09-14 15:06:11 -04:00
Sudheer
5aac68e785
Change rn-fetch-blob to mock globally in jest ( #2124 )
2018-09-14 12:14:37 -03:00
Sudheer
92218659d5
MM-11614 Add Nickname to user profile ( #2123 )
2018-09-14 19:54:44 +05:30
Elias Nahum
e4ecab97e4
Merge pull request #2122 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-14 11:13:30 -03:00
Saturnino Abril
0afdbdd0f9
remove backgroundColor from styles.video of Android share extension that's causing app to crash ( #2119 )
2018-09-14 09:10:10 -03:00
Elias Nahum
5c0e4acf2a
Merge pull request #2118 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-13 18:40:17 -03:00
Elias Nahum
48a311344c
Fix drawer stutter when jumping to a DM or joining a channel ( #2113 )
2018-09-13 16:27:45 -03:00
Elias Nahum
a873640e41
Fix Option modal items tap effect off center ( #2109 )
...
* Fix Option modal items tap effect off center
* Add snapshot
2018-09-13 09:57:54 -03:00
Elias Nahum
f71ea2814b
Merge pull request #2112 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-13 09:32:42 -03:00
Elias Nahum
5f17a48f4c
Fix unable to delete file cache in Android ( #2108 )
2018-09-12 18:22:29 -03:00
Elias Nahum
8d21000b9f
Fix unable to delete file cache in Android ( #2108 )
2018-09-12 16:16:38 -03:00