Commit graph

542 commits

Author SHA1 Message Date
Mattermost Build
8c3184080d
Bump app build number to 316 (#4630) (#4631)
(cherry picked from commit 086d1bddea)

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-07-31 08:42:02 -07:00
Mattermost Build
e1ec0fdf94
Bump app build number to 315 (#4627) (#4628)
(cherry picked from commit dcc3c8031e)

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-07-30 13:24:24 -07:00
Miguel Alatzar
3e263e9119 Bump app build number to 314 (#4615) 2020-07-24 10:56:41 -07:00
Miguel Alatzar
2e3ff53988 Bump app build number to 313 (#4604) 2020-07-21 14:53:54 -07:00
Mattermost Build
59ed19cebd
Bump app version number to 1.34.0 (#4601)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-07-21 13:10:42 -07:00
Miguel Alatzar
4dc929579b Bump app build number to 312 (#4602) 2020-07-21 12:21:49 -07:00
Elias Nahum
9c9aee69f4
Bump Version to 1.33.1 and build to 311 (#4576)
* Bump app build number to 311

* Bump app version number to 1.33.1
2020-07-15 15:56:17 -04:00
Elias Nahum
6ebcfaa4cd
Bump app build number to 310 (#4560) 2020-07-10 16:40:35 -04:00
Elias Nahum
2bf65491be
Bump app build number to 309 (#4549) 2020-07-08 14:06:29 -04:00
Elias Nahum
aa9d468c5e
Bump Version to 1.33.0 and build number to 308 (#4509)
* Bump app build number to 308

* Bump app version number to 1.33.0
2020-06-29 17:55:00 -07:00
Elias Nahum
06f1a2eef0
Bump app build number to 307 (#4500) 2020-06-26 21:53:56 -04:00
Elias Nahum
30cd64b38b
Revert updated dependecies for SSO (#4499)
* Revert updated dependecies for SSO

* Fix test setup
2020-06-26 21:50:53 -04:00
Elias Nahum
48617a7ab2
Bump Version to 1.32.2 and Build number to 306 (#4494)
* Bump app version number to 1.32.2

* Bump app build number to 306
2020-06-26 16:42:56 -04:00
Miguel Alatzar
4dff2cc80c
[MM-25781] Don't retry nor use response message on 401 (#4433)
* Don't retry nor use response message on 401

* Explicitly call contentHandler on retry exhaustion

* Handle all non 200 responses for id_loaded notifications

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-25 12:04:10 -07:00
Miguel Alatzar
9df903fd60
Bump build number to 305 (#4477) 2020-06-23 18:49:30 -07:00
Miguel Alatzar
dbe9b4ee35
Bump app build number to 304 (#4468) 2020-06-22 15:37:32 -07:00
Miguel Alatzar
73f5bc20eb
Various fixes: (#4465)
* Dispatch REHYDRATED if already hydrated after getStoredState call
* Empty/null prev version is valid
* Update iOS target to 11.0
2020-06-22 15:24:54 -07:00
Miguel Alatzar
9d91eabe9a
Bump build number (#4459) 2020-06-19 16:51:39 -07:00
Elias Nahum
b85766ec31
MM-25931 Handle incoming session expired push notification (#4417) 2020-06-17 21:30:19 -04:00
Elias Nahum
4cd8d2ed5e
Bump app build number to 302 (#4425) 2020-06-15 14:15:06 -04:00
Elias Nahum
023109e250
Fix SSO and clear cookies (#4422)
* Fix SSO and clear cookies

* Fix unit tests

* Removed unnecessary argument

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

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-06-15 14:00:13 -04:00
Miguel Alatzar
fc7083897c
Bump app build number to 301 (#4420) 2020-06-12 13:19:16 -07:00
Amit Uttam
3c03b0c13b
MM-25955 Refactor backoff/retry logic for failed id-loaded notifications (#4409)
Triggered per [this conversation](https://github.com/mattermost/mattermost-mobile/pull/4302#discussion_r426426887)

Raised question https://stackoverflow.com/questions/62293185/recursive-function-with-delay-in-between-calls?noredirect=1#comment110172449_62293185 which resolved the recursion.
2020-06-12 13:03:49 -03:00
Miguel Alatzar
1bc7ed1cd6
Bump app build number to 300 (#4414) 2020-06-11 13:24:10 -07:00
Elias Nahum
6de0a30f70
Bump app build number to 299 (#4404) 2020-06-09 16:04:30 -04:00
Amit Uttam
b88b92ff4f
MM-25929 Decouple id-loaded retries from regular notification run (#4401)
Bug found in #4302 that delayed delivery/receipt of normal (non id-loaded) iOS push notifications. Response handling was happening within the guard block for id-loaded messages.
2020-06-09 15:52:17 -03:00
Miguel Alatzar
b60ab264f4
Bump app build number to 298 (#4382) 2020-06-03 10:29:41 -07:00
Elias Nahum
65bc1f7fab
Bump app build number to 297 (#4366) 2020-05-28 13:33:31 -04:00
Elias Nahum
4d54ce292f
Bump app build number to 296 (#4360) 2020-05-27 15:35:58 -04:00
Miguel Alatzar
0b4a0924c8
Bump app build number to 295 (#4335) 2020-05-22 10:23:19 -07:00
Miguel Alatzar
904f45d511
Bump app build number to 294 (#4320) 2020-05-21 09:29:35 -07:00
Miguel Alatzar
a6cfe9ab5f
Bump app version number to 1.32.0 (#4318) 2020-05-21 09:04:25 -07:00
Elias Nahum
64173355f2
Fixes Android Share Extension (#4305)
* Fixes Android Share Extension

* Revert changes to share extension navigation
2020-05-19 17:22:40 -04: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
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
Amit Uttam
1f59cbfa28
Bump app build number to 293 (#4297) 2020-05-13 19:37:28 -03: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
Amit Uttam
79c09d4ac0
Bump app build number to 292 (#4290) 2020-05-12 09:43:41 -03:00
Miguel Alatzar
c4cdfa61db
Bump app build number to 291 (#4255) 2020-04-30 12:18:28 -07:00
Miguel Alatzar
1316bee403
Bump app build number to 290 (#4247) 2020-04-29 12:04:10 -07:00
Elias Nahum
9af108026e
MM-24285 Use FastImage instead of Image (#4218)
* Enable ESLint no-unused-vars

* Use FastImage instead of Image

* Update fast-image patch to support multiple cookies

* Fix ESLint errors

* Have jest run timers for post_textbox tests

* Feedback review

* Update snapshots
2020-04-28 23:23:39 +08:00
Miguel Alatzar
8226b4730c
Bump app build number to 289 (#4242) 2020-04-27 15:35:13 -07:00
Miguel Alatzar
9f92caa434
Add find_replace_string for MMKVStorage (#4240) 2020-04-27 15:29:51 -07:00
Amit Uttam
35bb4b6b28
[MM-24463] Run message retention cleanup off of pre-existing state (#4222)
* MM-24463 Run message retention cleanup off of pre-existing state

Instead of a reconstructed "zero" state.

Only posts in channels, searched posts and flag posts are recalculated (as per data retention policy, if applicable). The rest of state is cloned from existing state.

* Mark hydrationComplete only if _persist state is undefined

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-27 13:27:21 -03:00
Amit Uttam
520ddb37ce
Bump app version number to 1.31.0 (#4234) 2020-04-27 11:31:53 -03:00
Amit Uttam
feb370f4c7
Bump app build number to 288 (#4232) 2020-04-27 11:16:07 -03:00
Miguel Alatzar
1586b0fb6e
Bump app build number to 287 (#4229) 2020-04-24 11:47:09 -07:00
Elias Nahum
a4e87a0e26
Bump app build number to 286 and version to 1.30.1 (#4221)
* Bump app build number to 286

* Bump app version number to 1.30.1
2020-04-23 13:36:57 -04:00
Elias Nahum
cc4abdde2f
MM-24446 Fix Crash on iOS with EMM enabled (#4203)
* Fix Crash on iOS with EMM enabled

* Fix Android Passcode authentication

* Fix Login screen header when EMM does not allow other servers
2020-04-23 06:03:10 -04:00
Miguel Alatzar
f85e198ba2
Bump app build number to 285 (#4167) 2020-04-16 19:28:28 -07:00