* AppConfig setting to control the default request timeout
* Set default timeout to 10s
(cherry picked from commit bab1cc0601)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* 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>
* 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>
* 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>
* Show arrows in calendar
* Set calendar arrow size platform specific
(cherry picked from commit 514ba57a8e)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* 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
* 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>
* 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>
* 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>
* 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>
* Encode lone % chars
* No need to decode on Android
(cherry picked from commit 7c827fe319)
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* 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>
* 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>