* Add fix to prevent emdash autocorrect in a Code Block on ios
* Add fix to prevent emdash autocorrect in a Code Block on ios
* code clean up
* separate to new switchKeyboardForCodeBlocks function
* added emdash prevention to edit_post and also code cleanup
* moved keyboardType logic to its own utils function and added unit tests
* clean up - align event argument names
* removed unnecessary event check
* Improve sidebar performance on first load
* Initial work for switch channel
* Revert android changes
* Split Sidebar per Platform
* Fix waitForHydration executing the callback more than once
* Fix custom emoji not showing on Android
* Finalize Channel Switch
* Enable Android Ram Bundles
* Select the right team for lastChannelForTeam
* Channel loading post indicator
* Fix main sidebar base intl provider
* Update mm-redux
* No need to request configAndLicense on launch
* Load channel member roles
* Rename closeChannelDrawer to closeMainSidebar
* do not throw errors when console is called while running tests
* constant for LOADING_POSTS_HEIGHT
* Remove show more if a long post is edited and no longer long
* Update mm-redux#batch-actions branch
* Code review
* Clear notifications if channel was switched
* Import Platform
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Sort emojis in EmojiPicker
* Pass search term to compareEmojis
* Sort emojis that include search term first
* Fix sorting
* Handle compareEmojis without search term
* Return doDefaultComparison
* Check includes only if needed
* Make linter happy
* Use doDefaultComparison
Default to current server or site URL.
Example case: `<jump to convo>` links generated from autolink plugin have their server/site URL stripped, and it is assumed that generated links are relative to the current server.
Conversation: https://community.mattermost.com/core/pl/78j4a7ozupbci8qxwx1sczc1ua
Default deep link URL prefix: `mattermost-beta`
To set to `mattermost-mobile` (or anything else, for that matter) in production releases, set fastlane ENV var `DEEPLINK_PREFIX` to `mattermost-mobile`
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Parse source URI
* Revert "Parse source URI"
This reverts commit 1cf421c9b9897e46881685aabebb793ad6ff4c07.
* Pass imageUri instead of defaultSource to ProgressiveImage
* Parse source URI in ImageCacheManager
* 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