Mattermost Build
7729cf2d10
MM-28295 Do not remove the Channel screen from the stack tracking ( #4793 ) ( #4794 )
...
* Do not remove the Channel screen from the stack tracking
* Reset stack for select server & when no teams are present
(cherry picked from commit 96bf1db243 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-09-09 13:33:27 -03:00
Mattermost Build
22dfaf1e0f
MM-27132 Fix groups not actually being highlighted for self on mobile ( #4776 ) ( #4786 )
...
(cherry picked from commit b8a002683f )
Co-authored-by: Farhan Munshi <3207297+fmunshi@users.noreply.github.com>
2020-09-08 21:29:41 -07:00
Mattermost Build
9ecc755c65
MM-28450 Fix crash when posting at-mention that does not belong to the channel ( #4778 ) ( #4782 )
...
(cherry picked from commit 05f264554e )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-09-08 18:02:25 -03:00
Mattermost Build
c11b92b64e
MM-28295 Android fix opening sidebar after closing setting screen ( #4777 ) ( #4780 )
...
(cherry picked from commit e40d0e4c8a )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-09-08 16:49:36 -03:00
Mattermost Build
b51f7a0bb2
Always load the thread & modify thread selector ( #4771 ) ( #4775 )
...
* Always load the thread & modify thread selector
* review feedback
(cherry picked from commit bd7afae6f0 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-09-08 13:21:04 -03:00
Mattermost Build
9db54fb462
MM-28296 Fix Android @mention render ( #4764 ) ( #4774 )
...
* MM-28296 Fix Android @mention render
* Simplify mention style
* Update @mention snapshot
* @mention fix lint
* Address QA feedback
* QA Review
(cherry picked from commit c97b2be927 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-09-08 13:20:55 -03:00
Mattermost Build
bcd5397300
MM-28307 Fix display name in convert channel to private alert ( #4767 ) ( #4773 )
...
(cherry picked from commit 4ecccbbb16 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-09-08 13:11:54 -03:00
Mattermost Build
11f24a76a1
Add word boundaries for (all | channel | here) ( #4754 ) ( #4762 )
...
* Add word boundaries for (all | channel | here)
* do not include underscore in channel wide mention highlight
* Regex suggested in code review
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
* Restyle at_mention suffix
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
(cherry picked from commit dce5675f05 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-09-01 14:58:46 -04:00
Miguel Alatzar
2666c7c541
Store value before resetting text input ( #4748 )
2020-08-28 11:15:08 -07:00
Mattermost Build
537acefb2d
MM-25684 Highlight at-mention followed by a period ( #4733 ) ( #4747 )
...
* MM-25684 Highlight at-mention followed by a period
* Refactor at_mention to not highlight the period
* Do not add a link for invalid mentions
* Suggested review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
(cherry picked from commit 1d0fc0510c )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-28 13:16:24 -04:00
Mattermost Build
dccdf1a238
Show arrows in calendar ( #4745 ) ( #4746 )
...
* Show arrows in calendar
* Set calendar arrow size platform specific
(cherry picked from commit 514ba57a8e )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-28 12:58:42 -04:00
Mattermost Build
d45268d877
SSO: Rebuild the server url without query string and/or hash ( #4731 ) ( #4734 )
...
(cherry picked from commit 7a0b5f982e )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-27 08:51:46 -04:00
Farhan Munshi
d50923e841
[MM-27132] Handle group mention keys for group synced channels and teams ( #4726 ) ( #4732 )
...
* Handle group synced channel highlighting better
* Add tests
* Dont check if teamRoleFound if no teamId given for haveIChannelPermission
* Pass team id for channel mentions and group mentions checks
* Actually make a selector
* Check for falsey teamId instead of undefined
* Remove true &&
* Iterate over object values instead of for in
2020-08-26 13:40:42 -04:00
Mattermost Build
449d7272d2
Apply flex style only to empty results ( #4728 ) ( #4729 )
...
(cherry picked from commit ffb5213b3a )
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-08-25 16:12:24 -07:00
Mattermost Build
a47b2a3831
Upgrade depdendencies ( #4725 ) ( #4727 )
...
* @react-navigation/*
* react-native-navigation
* react-native-calendars
* react-native-gesture-handler
* react-native-reanimated
* react-native-safe-area-context
* react-native-screens
* react-native-video
(cherry picked from commit 183eec0fad )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-25 17:41:54 -04:00
Mattermost Build
089d158b87
oauth should not be able to edit full name ( #4713 ) ( #4714 )
...
(cherry picked from commit 2800de0922 )
Co-authored-by: Hossein Ahmadian-Yazdi <hahmadia@users.noreply.github.com>
2020-08-21 16:51:56 -04:00
Mattermost Build
075b99d48d
Fix soft crash for edge emoji formatting ( #4705 ) ( #4708 )
...
(cherry picked from commit ea4e21de93 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-20 20:01:01 -04:00
Mattermost Build
41a1d55713
Upgrade react-native-fast-image, react-native-localize, react-native-vector-icons, react-native-video & dev dependencies ( #4698 ) ( #4706 )
...
(cherry picked from commit 3fce45f308 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-20 14:55:28 -04:00
Mattermost Build
504072d01b
MM-25832 Prevent permalink view from loading posts multiple times ( #4696 ) ( #4703 )
...
* Prevent permalink view from loading posts multiple times
* Android unhandled exception and initial loader indicator
* Fix permalink tests
(cherry picked from commit c095d45330 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-19 20:00:41 -04:00
Mattermost Build
55511e1fdb
MM-26329 Fix Channel info guests info in landscape ( #4692 ) ( #4702 )
...
* MM-26329 Fix Channel info guests info in landscape
* Channnel info refactor
* Rename canEditChannel to canEdit in connected component
(cherry picked from commit 55cfce9b89 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-19 10:18:46 -04:00
Mattermost Build
031bac9863
Allow swipe to close the sidebar after search is cancelled ( #4688 ) ( #4697 )
...
(cherry picked from commit 033cdfc459 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-18 18:23:11 -04:00
Mattermost Build
49bd5a13ac
MM-26436: Allows others' posts to be delete with just 'delete_others_posts' permission. ( #4660 ) ( #4694 )
...
(cherry picked from commit 7f7e7e7554 )
Co-authored-by: Martin Kraft <martinkraft@gmail.com>
2020-08-18 09:43:09 -04:00
Mattermost Build
034a9400c5
MM-27711 Play YouTube video using expanded link ( #4666 ) ( #4685 )
...
(cherry picked from commit d1d7b7f9d6 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-15 11:21:43 -04:00
Mattermost Build
abb93e9b3d
[MM-27139] Use file preview URL for images in post ( #4656 ) ( #4682 )
...
* Use file preview URL for images in post
* Use getFilePreviewUrl for gallery as well
* But use getFileUrl for GIFs in gallery
(cherry picked from commit 304e3674c8 )
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-08-15 10:46:19 -04:00
Mattermost Build
ea0b24149c
MM-23739 Empty search state for emoji picker ( #4641 ) ( #4680 )
...
* Returning a "no results for" default message
* Added styles & i18n text
* Updating icon to Octicons
* Replacing conditional render with ListEmptyComponent
* Running mmjstool sort
* Changing fontWeight, center layout, icon style
(cherry picked from commit c57c2f4245 )
Co-authored-by: Andre Vasconcelos <andre.onogoro@gmail.com>
2020-08-15 10:23:08 -04:00
Mattermost Build
b807140fe1
[MM-12526] removed from channel alert ( #4633 ) ( #4677 )
...
* GH-13222: Shows an alert when you are removed from the channel that you are currently viewing
* GH-13222: Removed channel alert improved text
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
(cherry picked from commit 8b9ef0e849 )
Co-authored-by: Kyle Watson <mail@watsonk.me>
2020-08-14 19:18:18 -04:00
Mattermost Build
d1c81ef2d4
Update camera-roll dependency ( #4595 ) ( #4675 )
...
(cherry picked from commit e7e0ca0d5c )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-14 17:31:28 -04:00
Elias Nahum
1805874740
Merge branch 'release-1.35' of github.com:mattermost/mattermost-mobile into release-1.35
2020-08-14 14:06:07 -04:00
Elias Nahum
10572d17ad
MM-26817 Upgrade to RN 0.63 ( #4566 )
...
* Upgrade to RN 0.63
* Bump to RN 0.63.1
* Fix RN patch
* Use JSC Intl version
* Update android/app/build.gradle
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Fix Android external storage permission
* Fix emoji imageUrl when no server url is present
* Patch react-native-image-picker
* Allow to post attachment only messages
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-08-14 14:05:23 -04:00
Mattermost Build
4ded73b927
[MM-26489] No need to decode file URI on Android ( #4610 ) ( #4673 )
...
* Encode lone % chars
* No need to decode on Android
(cherry picked from commit 7c827fe319 )
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-08-14 11:02:12 -07:00
Mattermost Build
72c9414993
MM-27607 Fix filter undefined when searching profiles ( #4657 ) ( #4659 )
...
(cherry picked from commit b001c50fdc )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-11 13:09:50 -04:00
Miguel Alatzar
d6147d289b
Check for undefined channel ( #4650 )
2020-08-07 10:35:50 -04:00
Mattermost Build
66d730387e
Ignore pagination when loading group data ( #4644 ) ( #4651 )
...
(cherry picked from commit 581e6ba12a )
Co-authored-by: Farhan Munshi <3207297+fmunshi@users.noreply.github.com>
2020-08-07 09:41:15 -04:00
Mattermost Build
798bb45782
[MM-27483] Fetch channel and member when loading from push notification ( #4648 ) ( #4649 )
...
* Fetch channel and member
* Uncancel if unreadCount increased from 0
(cherry picked from commit 1084d38ecb )
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-08-06 14:40:29 -07:00
Elias Nahum
46d7a17d4a
Fix edit post input text selection ( #4647 )
2020-08-06 17:23:53 -04:00
Mattermost Build
c6978c858a
Cleanup fetch error & add details to sso ( #4642 ) ( #4643 )
...
(cherry picked from commit bba139726d )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-08-04 14:02:15 -04:00
Miguel Alatzar
4992052fb0
Set results count to 0 ( #4629 )
2020-07-30 21:32:07 -07:00
Mattermost Build
c8854ba51e
[MM-27294] Allow returning to Channel screen without resetting the navigation root ( #4619 ) ( #4626 )
...
* Add popDismissToChannel
* Use popToRoot + dismissAllModals
* Just dismissAllModals and popToRoot
* Revert unnecessary changes
* Close permalink on popToRoot
* Emit after dismissAllModals and popToRoot
(cherry picked from commit 1324bfd0bf )
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-07-30 12:59:42 -07:00
Mattermost Build
838a52221f
Fix autocomplete after cache delete ( #4623 ) ( #4625 )
...
(cherry picked from commit 9f98b943e7 )
Co-authored-by: Shota Gvinepadze <wineson@gmail.com>
2020-07-30 15:51:24 -04:00
Miguel Alatzar
5ee6142142
Define registerTypingAnimation in Thread screen ( #4617 )
2020-07-27 16:39:16 -07:00
Elias Nahum
977b385dc7
Show the unsupported alert if server version is available ( #4608 )
...
* Show the unsupported alert if server version is available
* Check for supported server version when channel screen updates
2020-07-27 11:13:21 -04:00
Mattermost Build
9b6b3d9bbc
Automated cherry pick of #4609 ( #4613 )
...
* Fix the display the error message if ssoLogin action fails
* Fix typo
* Remove token parameter
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-23 19:40:36 -04:00
Elias Nahum
a6dd6e65ff
MM-24895 Load team member and roles in the WebSocket event ( #4603 )
...
* Load team member and roles in the WebSocket event
* Split WebSocket actions and events into multiple files
2020-07-23 13:29:27 -04:00
Shota Gvinepadze
be2211a8cc
Add analytics to the command autocomplete ( #4597 )
...
* Add analytics to the command autocomplete
* Refactor analytics
* Refactor reset method
2020-07-23 20:40:18 +04:00
Miguel Alatzar
f19701d704
Don't set state.inputValue in constructor ( #4606 )
2020-07-23 09:00:42 -07:00
Mattermost Build
1326fb53f2
Allow to post attachment only messages ( #4594 )
...
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-20 18:08:00 -04:00
Mattermost Build
aafc68a0e6
Automated cherry pick of #4579 ( #4592 )
...
* Implement non-cached autocomplete for mobile
* Add partial caching support
* Fix whitespace
* Implement suggestion fetching using actions
Co-authored-by: iomodo <wineson@gmail.com>
2020-07-20 16:57:28 -04:00
Mattermost Build
01c796e441
Automated cherry pick of #4551 ( #4587 )
...
* Initial Commit for Group Highlights
* Fix some stuff
* Get my groups
* update channel.js
* Address PR comments
* Address PR comments
* Update app/actions/views/channel.js
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* update selector stuff
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hahmadia@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-07-20 10:30:38 -04:00
Mattermost Build
3f80957240
Rename actual_user_id to user_actual_id to be more consistent with the rest of MM telemetry. ( #4586 )
...
Co-authored-by: Alex Dovenmuehle <alex.dovenmuehle@mattermost.com>
2020-07-20 08:48:45 -04:00
Mattermost Build
cfdac2a3f9
We can allow events to RudderStack since we don't have any rate limit restrictions. ( #4585 )
...
Co-authored-by: Alex Dovenmuehle <alex.dovenmuehle@mattermost.com>
2020-07-20 08:48:29 -04:00