Commit graph

3109 commits

Author SHA1 Message Date
Mattermost Build
6e239d5566
Automated cherry pick of #4357 (#4369) 2020-05-29 09:43:02 -04:00
Mattermost Build
72b95fa265
Bump app build number to 297 (#4367)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-28 14:03:11 -04:00
Mattermost Build
d19fc71ad4
Bump app build number to 296 (#4364)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-27 15:45:17 -04:00
Mattermost Build
526290bbdf
MM-25562 Fix dismiss reaction list crash (#4363)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-27 14:17:22 -04:00
Mattermost Build
962b38d024
Bump upload timeout to 1 min (#4359)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-27 13:02:44 -04:00
Mattermost Build
51109c74d3
Invalidate versions for iOS (#4356)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-27 12:44:20 -04:00
Mattermost Build
098230e79e
Automated cherry pick of #4344 (#4348)
* Fix emoji autocomplete results

* Rename selectors with "select" prefix

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-27 07:42:23 -04:00
Mattermost Build
8fa67bd5b4
Automated cherry pick of #4346 (#4351)
* MM-25510 Increase post options long press delay to 250ms

* Set delay to 200ms

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-26 20:17:52 -04:00
Elias Nahum
6d7749a098
translations PR 20200525 (#4343) 2020-05-26 10:04:51 -07:00
Mattermost Build
37479587cc
Add calls to Client4.savePreferences (#4347)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-26 10:00:41 -07:00
Mattermost Build
3708b86b30
MM-25434 Fix switch team badge cut off (#4339)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-22 10:57:38 -07:00
Mattermost Build
cabce2a808
Bump app build number to 295 (#4336)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-22 10:29:29 -07:00
Mattermost Build
4abb483f2c
Apply background style for Android as well (#4329)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-22 11:49:50 -04:00
Mattermost Build
7a0bf1dc77
Update control icon style (#4328)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-22 11:49:37 -04:00
Mattermost Build
6cf1140a0f
Incrase redux-persist timeout to 1 min (#4324)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-21 14:24:19 -07:00
Mattermost Build
9506875683
Catch ClassCastException activity (#4323)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-21 12:28:15 -07:00
Mattermost Build
679a897848
Bump app build number to 294 (#4321)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-21 09:38:02 -07:00
Mattermost Build
b5fd0284e8
Bump app version number to 1.32.0 (#4319)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-21 09:11:11 -07:00
Mattermost Build
67eea1750d
Fix overflow of searchbar for iOS in Landscape (#4316)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-21 11:01:19 -04:00
Mattermost Build
d4e405485b
Do not preload images with FastImage (#4315)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-20 16:17:49 -04:00
Mattermost Build
1389e4f7f7
Handle MFA error in MFA screen (#4313)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-20 08:37:01 -07:00
Mattermost Build
7cf4084fe5
Automated cherry pick of #4305 (#4309)
* Fixes Android Share Extension

* Revert changes to share extension navigation

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-05-20 08:05:29 -04:00
Mattermost Build
6b7cffd6af
Automated cherry pick of #4295 (#4307)
* Allow interaction when the in-app notification is shown

* Wrap in gesture HOC only for Android

* Set height and remove flex for android in-app notifications gesture hoc

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-19 16:09:33 -07:00
Mattermost Build
dba3278c9f
Automated cherry pick of #4304 (#4306)
* Fix infinite skeleton in different use cases

* Apply suggestions from code review

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/utils/teams.js

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-05-19 16:08:58 -07:00
Amit Uttam
ea0f8ab5f0
MM-22181 Backoff retries for ID-loaded push notification messages (#4302)
* MM-22181 Backoff retries for ID-loaded push notification messages

Fibonacci backoffs. 6 attempts in ~20 seconds, not including response latency for each failure.

0 seconds to attempt 1 (original try)
1 seconds to attempt 2
2 seconds to attempt 3
3 seconds to attempt 4
5 seconds to attempt 5
8 seconds to attempt 6

* PR review: Reset re-request counter when server call succeeds

* PR Review: Localize scope of recursion counter

This handles scenario where multiple notification requests are being made at the same time for multiple messages. Counter will be isolated for each fetch request.

* PR Review: Remove unnecessary class variable

* Trigger Build

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-19 10:48:55 -07:00
Elias Nahum
c04c1f26f7
Do not schedule session expiry notification for 5.24+ (#4291) 2020-05-19 12:15:45 -04:00
Amy Blais
be2b0a03e6
Update CHANGELOG.md (#4301)
* Update CHANGELOG.md

* Update CHANGELOG.md
2020-05-19 11:59:02 -04:00
Amit Uttam
56809a3605
MM-25240 Add host verification check for SSL servers (#4303) 2020-05-19 11:08:18 -04:00
Miguel Alatzar
a819cce708
[MM-24642] Sidebar fixes (#4286)
* Fixes to height and padding

* Add underlayColor

* Rename to index

* Revert height change for overflow change

* Increase toValue

* Update Android offset
2020-05-18 16:31:11 -07:00
Elias Nahum
d3a6e166ad
MM-15758 Update dependencies including Fastlane (#4272)
* Update dependencies including Fastlane and disable Flipper on iOS

* Remove EventEmitter for previous doc-viewer

* Fix android crash when setting more channels buttons

* Downgrade fuse.js

* Upgrade deps to latest

* Update Podfile.lock

* Downgrade RNN to 6.4.0

* QA Review #2

* Upgrade fuse.js to 6.0.0
2020-05-18 11:24:47 -07:00
Andre Vasconcelos
a0841e0ef1
MM-24497 Ensuring quick reactions render within safe area (#4235)
* Ensuring quick reactions render within safe area

* Added modifier to align paddings

* Updating snapshots
2020-05-14 22:10:15 -04:00
Amy Blais
5727064f48
v1.31.0 Changelog (#4169)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2020-05-14 12:11:50 -04:00
Amit Uttam
8d26fb0c0d
MM-18642 Ensure SSL exception is thrown for bad servers (#4299)
Without the explicitly thrown exception, the TLS handshake never exits cleanly as it should ( [conversation](https://community.mattermost.com/private-core/pl/36cp76j5g3r7z8hre1pr8hfhmy) )
2020-05-14 10:00:23 -03:00
Amit Uttam
1f59cbfa28
Bump app build number to 293 (#4297) 2020-05-13 19:37:28 -03:00
Elias Nahum
c0a763e9e0
Set previous app version on persist store migration (#4294) 2020-05-13 19:24:44 -03:00
Elias Nahum
1ae5584cb1
MM-24115 Use Native + BuiltIn emojis instead of systemEmojis (#4274)
* MM-24115 Use BuiltInEmojis instead of systemEmojis

* Address QA found issues
2020-05-13 18:23:47 -04:00
Elias Nahum
36e55c95a2
MM-23570 Migrate from Segment to Rudder (#4293)
* Replace Segment with Rudder (ios not working)

* Update @assets reference and fix tests
2020-05-13 16:54:07 -04:00
Elias Nahum
e50fa1d85b
MM-24973 Prevent search input to take full screen on Android landscape (#4283) 2020-05-13 10:12:53 -04:00
Amit Uttam
79c09d4ac0
Bump app build number to 292 (#4290) 2020-05-12 09:43:41 -03:00
Jesús Espino
6b6a685909
Using new getKnownUsers api to cleanup the users on leave channel (#4220)
* Using new getKnownUsers api to cleanup the users on leave channel

* Fixing tests

* Addressing PR comments

* Removing unnused variables

* Fixing proptypes annotation

* Addressing PR review comments

* Fixing minimun version check

* Changing the import to use

* Adding tests for version check

* Addressing PR review comments

* Small change to no change accidentaly the previous behavior

* Adding small fix proposed by Elias
2020-05-11 13:19:38 -03:00
Miguel Alatzar
94bdd8e430
Ensure currentChannel set (#4288) 2020-05-11 12:12:01 -03:00
Amit Uttam
ee5d336190
[MM-18642] Notify on server certificate trust problems when connecting (#4282)
* MM-18642 Notify user on server certificate trust problems

Presents a new alert specific to SSL connection/certificate trouble on the server, when pinging.

* Change Alert title (PR review)
2020-05-08 19:58:43 -07:00
Farhan Munshi
901f31ec4b
[MM-24891] [MM-24572] Add ability to specify default value when role not found for selector (#4277)
* MM-24891 Allow permissions to have defaults set in case where roles not in state

* MM-24891 Add tests for haveIPermission

* MM-24891 Apply the defaults to more channel permission checks
2020-05-08 14:19:33 -04:00
Miguel Alatzar
879e604bbf
Ensure receivedPosts runs first (#4281) 2020-05-08 08:08:22 -07:00
Amit Uttam
42f93769b1
Revert "MM-24113 Support 'leave' slash command (#4273)" (#4279)
This reverts commit fd450f9988.
2020-05-07 14:40:54 -03:00
Amit Uttam
fd450f9988
MM-24113 Support 'leave' slash command (#4273)
Fixes crash on Android when attempting to redirect back to a read-only channel (default channel) after using the `/leave` command.

Also, enables official support of `leave` slash command. Added as auto-complete suggestion.
2020-05-07 13:58:09 -03:00
Miguel Alatzar
65314fae47
[MM-24706] Use cache only for http URIs (#4257)
* Use cache only for http URIs

* Style fixes

* No need for cache prop

* Remove redundant absolute positioning

* Cap at two lines
2020-05-06 19:30:42 -07:00
Amit Uttam
67fa7aeb53
[MM-24061] Bring back channel sidebar hamburger icon for tablets (#4244)
* MM-24061 Bring back channel sidebar hamburger icon for tablets

* Remove channel sidebar icon for iPads

iPads run with a "persistent" sidebar already.

* Better conditional logic from PR review + tests

* Test tidying from PR review
2020-05-06 22:19:31 -03:00
Elias Nahum
1a605891fe
MM-22401 Refactor Post Draft (#4122)
* Babel TS and Eslint config

* Channel is archived component

* Move Typing component

* Move Uploads component

* Add PostInput component

* QuickActions components

* Add PostDraft component

* Remove old PostTextbox component

* Rename post_textbox constant

* Fix Autocomplete

* Rename blur post draft event

* Fix references

* Feedback review

* Fix autocomplete for iOS
2020-05-06 06:30:51 -04:00
Elias Nahum
597e03a6bc
MM-24852 ensure only one listener for in-app notification is registered (#4267) 2020-05-05 18:56:58 -04:00