* MM-29948 Display error msg when pasting files and uploads are disabled
* Remove unnecessary ref and Animated.View
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
(cherry picked from commit f73db6e51c)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM-29620 Add props to post input to prevent autofill
* Set autoCompleteType to off instead of none
(cherry picked from commit cb4d875b13)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM-28105 do not crash when in-app notification shows
* Use index.tsx to register the notification screen
* Fix notification e2e and some import cleanup
* Update iOS notification json
* e2e: Show the add reaction screen before receiving a notification
* Update snapshots
* Patch react-native-notifications to prevent iOS crash when opening
* Apply TM4J id
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Bump app build number to 331
* Bump app version number to 1.37.0
* Update fastlane to 2.164.0
(cherry picked from commit 80c655b8a9)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM-28688 Close sidebar when current channel is selected
* Update snapshot
* Apply suggestions from code review
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Fix iOS select_channel e2e and feedback review
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* MM-28336 Align hamburger menu badges
* Fix Fastlane and CI artifacts for PR's
* Fastlane to post to QA build channel
* Fix plist.erb template
* Fix variable type
(cherry picked from commit aeb61cb162)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Use AppGroupId from Info.plists instead of hardcoded constant
* Update script, ci & Makefile
* Update Cocoapods to 1.9.3
* Split android builds using ABI filters
* Update Fastlane deps & build scripts
* Update CI to use latests scripts
* Display app version & build number in select server screen
* Make generate scripts compatible with node < 12
* Build scripts
* add build script to package.json
* Update to use bundler 2.1.4 and CI with Xcode 12
* Fix script name for build:ios-unsigned
* Fix RN iOS scripts
* Update CI pods-dependencies step
* Add pipefail to android executor
* Update Fastlane
* Fix type in postinstall script
* update android executor and set TERM
* Fix S3 bucket name variable
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Fix master unit tests
* use requireActual in jest setup
* Jest setup to use react instead of React
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
(cherry picked from commit 30d4aa2a3e)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* [MM-22366] Make user autocomplete also match on spaces
* Move template string to fullName variable
* Add Detox E2E tests for user autocomplete
* Add TM4J IDs
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Add test for keyword not associated with user
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
(cherry picked from commit cff81f168e)
Co-authored-by: Ed Trist <edtrist@users.noreply.github.com>
* Translated using Weblate (Japanese)
Currently translated at 100.0% (655 of 655 strings)
Translated using Weblate (Japanese)
Currently translated at 99.8% (649 of 650 strings)
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/ja/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (650 of 650 strings)
Co-authored-by: Chikei <chikei@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/zh_Hant/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Dutch)
Currently translated at 100.0% (655 of 655 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (651 of 651 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (650 of 650 strings)
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/nl/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Russian)
Currently translated at 100.0% (650 of 650 strings)
Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/ru/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Romanian)
Currently translated at 100.0% (650 of 650 strings)
Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/ro/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (655 of 655 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (650 of 650 strings)
Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/zh_Hans/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Turkish)
Currently translated at 100.0% (651 of 651 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (650 of 650 strings)
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/tr/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Dutch)
Currently translated at 100.0% (651 of 651 strings)
Co-authored-by: ctlaltdieliet_TESTACCOUNTFORWEBINARS <github3@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/nl/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (655 of 655 strings)
Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/pt_BR/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Korean)
Currently translated at 69.7% (457 of 655 strings)
Co-authored-by: Heefe <vampelf@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/ko/
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
* Translated using Weblate (Korean)
Currently translated at 70.3% (461 of 655 strings)
Translation: mattermost-languages-shipped/mattermost-mobile_release-1.36
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_release-1-36/ko/
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Chikei <chikei@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: ctlaltdieliet_TESTACCOUNTFORWEBINARS <github3@controlaltdieliet.be>
Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com>
Co-authored-by: Heefe <vampelf@gmail.com>
* Remove first char of suggestion text, only if it is a slash
* Check if suggestion is for a top-level command
(cherry picked from commit a6779f4293)
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
* WIP: slash suggestion autocomplete
* WIP: patched styles a bit
* WIP: Adding styles
* Adding active state to autocomplete items
* Fixing style for channel mention item
* Fixing bugs + styling issues for Android
* Updating snapshot
* Fixing autocomplete to render on top of post draft
- Misc style fixes
* Renaming props, patching slash suggestion icon
* Fixing tests and lint errors
* Resolving post-merge issue with slash commands
* Fixing android positioning for autocomplete
* Fixing autocomplete not scrolling in edit_channel_info
* WIP: Fixing things according to UX Review
* UX Fixes to autocomplete
* Updating snapshots
* Updating snapshots, replacing slash-command icons
* Fixing android scrolling and positioning issues
* Fixing issues with date_suggestion not rendering
* Making use of the "ShowFullName" config in at_mention_item
* Removing top border on first autocomplete section
* Allowing autocomplete to be smaller than its maxWidth
* Fixing slash_suggestion padding
* removing "componentWillReceiveProps" from date_suggestion
* Changing edit_channel_info autocomplete offset
* Replacing toUpperCase() with textTransform: uppercase
* Fixing odd border issues + prop validation warning
* Restore section header background & add paddingBottom
* Patching up padding on channel mentions
- Reverting previous incorrect padding adjustments
* Removing inline 'completeSuggestion' function
* Removing brackets from style prop
(cherry picked from commit 59045e3bb0)
Co-authored-by: Andre Vasconcelos <andre.onogoro@gmail.com>
* Update RequiredServer
* Take 2
* Update patch version
* Take 3
* Update version
* Update version
(cherry picked from commit 72313291a1)
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Prevent destructuring of undefined
* Do the same for thread drafts
(cherry picked from commit 8a5c58b39a)
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Add accessibility to channel header - search & more options buttons
* Add unit tests for channel_nav_bar accessibility
* Update snapshot for settings_drawer_button.js
* Add Channel Settings > Notification Preferences.
Fixes#15185
* Make newly added strings mmjstool compatible.
mmjstool seems to be looking for specific patterns in AST like called with
`formatMessage` and `t()` [1]. Looks like `t()` is just for that purpose.
[1]: a83581379d/mmjstool/src/i18n_extract.js (L97):L100
* Pass only required props to NotificationPreference & ChannelNotificationPreference.
* Fix style issues/nits from code review.
* Use radio button for channel notifications on android, and checkmarks on iOS.
Also changes style according to figma spec.
* Fix missing prop error.
For some reason, `npm run fix` didn't catch this. But `npm run check` did during CircleCI.
* Fix missing i18n strings by passing strings through `t()`.
mmjstool really needs to be smarter to understand these types of cases.
* Address comments from UX code review.
* Remove remnant from merge conflict.
* Fix UI in iOS landscape mode.
* Use SafeArea view for ios landscape view
* Use paddingHorizontal for SafeArea view for iOS landscape mode