Commit graph

510 commits

Author SHA1 Message Date
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
Elias Nahum
c35a34107a
Bump app build number to 284 (#4162) 2020-04-16 16:39:58 -04:00
Elias Nahum
fda4948c8c
MM-23848 consolidate store, upgrade mmkv and fix logout (#4145)
* MM-23848 consolidate store, upgrade mmkv and fix logout

* Feedback review

* Add store.ts to modulesPath
2020-04-16 09:02:47 -04:00
Elias Nahum
b025ed0f01
Bump app build number to 283 (#4159) 2020-04-16 08:59:52 -04:00
Elias Nahum
aaa571db32
Upgrade to RN 0.62.2 (#4093)
* Upgrade to RN 0.62.0

* Update packager module paths

* Fix Android PasteableInput

* Fix regression on Android share extension credentials needed

* Update android/app/src/main/java/com/mattermost/rnbeta/RNPasteableEditTextOnPasteListener.java

* Reject commit if TSC check fails and Fix small eslint issues automatically

* Use super.getExportedCustomBubblingEventTypeConstants in RNPasteableTextInputManager

* Update to rn 0.62.2

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-04-14 16:39:51 -04:00
Elias Nahum
795091983c
Bump app build number to 282 (#4154) 2020-04-14 15:56:35 -04:00
Elias Nahum
4f04216c9f
Bump app build number to 281 (#4148) 2020-04-13 19:25:59 -04:00
Miguel Alatzar
b450c4ac9a
Bump app build number to 280 (#4139) 2020-04-09 15:06:41 -07:00
Miguel Alatzar
7afa9aed01
[MM-23698] [MM-19559] Remove redux-offline and updated redux-persist (#4120)
* Remove redux-offline and configure redux-persist

* Fix typo

* Fix configure store

* Upgrade to redux-persist 6.0.0

* Add migration from redux-persist v4 to v6

* Replace AsyncStorage with MMKVStorage to boost storage speed

* Mock RNFastStorage

* Fix reactions test

* Fix clearing the store on logout

* Remove the need for LOGOUT_SUCCESS

* No need to pass persistConfig to middlewares()

* Remove unused imports

* Export connection

Accidentally removed this export.

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Fix delete post

* Fix leave channel

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-08 13:44:54 -07:00
Miguel Alatzar
f3f072eb91
Get store data on init (#4127) 2020-04-07 16:56:17 -07:00
Miguel Alatzar
ee21ff8d81
Bump app build number to 279 (#4114) 2020-04-02 11:50:10 -07:00
Elias Nahum
7d8a286192
Bump app build number to 278 (#4081)
* Update mattermost-redux

* Update Fastlane

* Bump app build number to 278
2020-03-26 20:27:45 -03:00
Elias Nahum
0631623b13
Bump version to 1.30 and Build number to 277 (#4051)
* Bump app version number to 1.30.0

* Bump app build number to 277
2020-03-19 14:23:18 -03:00
Elias Nahum
4a1c35489d
Update ios Podfile.lock (#4048) 2020-03-19 11:53:50 -03:00
Elias Nahum
8fbc988c90
Upgrade Dependencies (#4034)
* Upgrade Navigation library

* Fix background color on Select Server

* Upgrade Navigation library

* Apply patch to nav lib

* Upgrade RNN to 6.1.1

* Update Dependencies

* Feedback review

* Call clearNavigationComponents when reset to channel
2020-03-18 19:05:49 -03:00
Amit Uttam
8b33b449d0
MM-22237 Fix text capitalization (#4041) 2020-03-17 15:50:48 -07:00
Elias Nahum
0f3ea72556
Bump app build number to 276 (#4028) 2020-03-11 18:25:56 -03:00
Elias Nahum
0a98672e23
Bump app build number to 275 (#4022) 2020-03-09 17:44:41 -03:00
Elias Nahum
5f74491ea8
Upgrade Navigation library (#3997)
* Upgrade Navigation library

* Feedback review on Navigation Library

* Fix select server background color

* Fix iPhone 11 and 11 Pro Max navbar height

* Fix background color on Select Server

* Upgrade nav lib to 6.1.0

* Apply patch to nav lib

* Upgrade RNN to 6.1.1
2020-03-09 12:50:42 -07:00
Miguel Alatzar
a8430bd3af
Bump app build number to 274 (#4017) 2020-03-06 11:45:39 -07:00
Amit Uttam
558965aba3
Override bestAttemptContent only when we have values (#4012) 2020-03-05 13:39:32 -03:00
Elias Nahum
815e54bc79
Bump app build number to 273 (#4006) 2020-03-04 15:50:32 -03:00
Elias Nahum
57d991f584
Bump app build number to 272 (#3984) 2020-03-01 10:00:25 -03:00
Miguel Alatzar
c1528d0944
Add set_online query param (#3940) 2020-02-27 20:39:53 -07:00
Elias Nahum
ce1aad22ce
MM-21276 & MM-22419 Fix PostList insets and Channel Intro (#3921)
* MM-21276 & MM-22419 Fix PostList insets and Channel Intro

* Update patches/react-native-keyboard-tracking-view+5.6.1.patch

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-02-27 17:06:04 -03:00
Miguel Alatzar
4e25c30a80
Bump app build number to 271 (#3953) 2020-02-21 17:36:57 -05:00
Miguel Alatzar
c3f1b4a095
Bump app build number to 270 (#3942) 2020-02-18 11:41:12 -03:00
Miguel Alatzar
4f7aeb6d3e
Bump app build number to 269 (#3934) 2020-02-17 13:40:11 -07:00
Miguel Alatzar
d8697253ac
Bump app version number to 1.29.0 (#3935) 2020-02-17 13:34:42 -07:00
Miguel Alatzar
c51bd36721
Bump build number and update server version in Android description (#3927)
* Bump app build number to 268

* Update server version in Android description
2020-02-13 20:29:21 -07:00
Miguel Alatzar
13921d1bac
Call completionHandler in sendReply (#3925) 2020-02-14 00:21:02 -03:00
Miguel Alatzar
178dfc71c6
Bump app build number to 267 (#3917) 2020-02-12 13:33:35 -07:00
Elias Nahum
0109bedf41
Bump app build number to 266 (#3914) 2020-02-12 09:50:42 -03:00