Commit graph

503 commits

Author SHA1 Message Date
Miguel Alatzar
ed690d5c47 Bump app build number to 291 (#4255) 2020-04-30 12:20:06 -07:00
Miguel Alatzar
8afde65922 Bump app build number to 290 (#4247) 2020-04-29 12:05:30 -07:00
Elias Nahum
8e314022ca
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 11:36:32 -04:00
Miguel Alatzar
7158050f1a
Bump app build number to 289 (#4242) (#4243) 2020-04-27 15:43:18 -07:00
Mattermost Build
67ac6ec8a5
Add find_replace_string for MMKVStorage (#4241)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-04-27 15:35:01 -07:00
Amit Uttam
b3d274b6c7
[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:39:11 -03:00
Amit Uttam
e84f7196a0
Bump app version number to 1.31.0 (#4234) 2020-04-27 11:32:52 -03:00
Amit Uttam
bcb4197ea8
Bump app build number to 288 (#4232) 2020-04-27 11:21:45 -03:00
Miguel Alatzar
1454dc918c
Bump app build number to 287 (#4229) (#4231) 2020-04-24 11:59:47 -07:00
Elias Nahum
43c42caba7
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:39:09 -04:00
Mattermost Build
9f578461e4
Automated cherry pick of #4203 (#4215)
* Fix Crash on iOS with EMM enabled

* Fix Android Passcode authentication

* Fix Login screen header when EMM does not allow other servers

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-23 06:10:39 -04:00
Elias Nahum
0e2bc65d70
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-18 10:18:24 -04:00
Miguel Alatzar
9a0bce5b6d [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-17 22:30:27 -07:00
Mattermost Build
2434f3465b
Get store data on init (#4171)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-04-17 16:00:04 -07:00
Miguel Alatzar
a17bc4683c
Bump app build number to 285 (#4167) (#4168) 2020-04-16 19:35:34 -07:00
Elias Nahum
2418a3bdfd
Bump app build number to 284 (#4162) 2020-04-16 16:42:04 -04:00
Elias Nahum
fc25935482
Bump app build number to 283 (#4159) 2020-04-16 09:01:30 -04:00
Mattermost Build
f610a1dd55
Bump app build number to 282 (#4155)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-14 16:03:00 -04:00
Mattermost Build
7c66f4a0f7
Bump app build number to 281 (#4149)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-13 19:31:05 -04:00
Mattermost Build
919ec06535
Bump app build number to 280 (#4140)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-04-09 15:10:32 -07:00
Mattermost Build
cdf3baf40d
Bump app build number to 279 (#4115)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-04-02 11:55:12 -07:00
Elias Nahum
d893d0940b
Bump app build number to 278 (#4081)
* Update mattermost-redux

* Update Fastlane

* Bump app build number to 278
2020-03-26 20:35:38 -03:00
Mattermost Build
a1d246c110
Automated cherry pick of #4051 (#4053)
* Bump app version number to 1.30.0

* Bump app build number to 277

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-03-19 14:36:57 -03:00
Mattermost Build
e7e972b211
Update ios Podfile.lock (#4049)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-03-19 13:42:33 -03:00
Elias Nahum
1a1c73279b
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:09:20 -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
Miguel Alatzar
b465b1ed5e
Bump app build number to 265 (#3909) 2020-02-10 16:03:35 -07:00
Miguel Alatzar
11e09399f7
Bump app build number to 264 (#3888) 2020-02-04 14:52:23 -07:00
Emilio Rodriguez
0b98d82bfa
Mm 10601 - Use Enter Key to send message on Hardware Keyboards (#3760)
* Reacting to shift-enter events on iOS

* moving keyEvent logic to handleHardwareEnterPress

* configured android to work with keyEvents

* using dispatchKeyEvent instead of onKeyUp

* using react-native-hw-keyboard-event

* cleanup

* updated package name

* update package name

* using react-native-hw-keyboard-event v0.0.2

* reverted cocoapods version change

* Documentation

* fix detection of Shift-Enter on android

* simplify dispatchKeyEvent()

* fix for stacked hardware keyboard events

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

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

* simplify dispatchKeyEvent

* removed yarn.lock

* using react-native-hw-keyboard-event v0.0.4

* Using ACTION_UP instead of ACTION_DOWN

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-02-04 09:34:14 -07:00
Miguel Alatzar
e62c9b7a6d
[MM-21074] Handle iOS reply action on native side (#3884)
* Handle iOS reply action on native side

* Make linter happy

* Revert rn vector changes to .pbxproj
2020-02-04 08:49:26 -07:00
Elias Nahum
a2d1af22cb
Bump Build number to 263 (#3877)
* Bump app build number to 263

* Update ESR
2020-01-30 10:34:19 -03:00
Miguel Alatzar
4c02ea7735
Bump app build number to 262 (#3871) 2020-01-28 15:43:53 -07:00
Miguel Alatzar
535239d070 Handle com.compuserve.gif type with dataForPasteboardType (#3854) 2020-01-24 11:24:32 -03:00