Commit graph

1892 commits

Author SHA1 Message Date
Elias Nahum
9ee794548b
MM-26699 Track open modals (#4539) 2020-07-08 13:50:24 -04:00
Mattermost Build
f4422db6d3
MM-26722 check for switchKeyboardForCodeBlocks only on iOS 12+ (#4546)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-07 13:13:53 -04:00
Mattermost Build
457df4bb4d
Fix LHS team icon on team switch (#4545)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-07 13:01:53 -04:00
Mattermost Build
fa86680036
Wait for hydration before app launch (#4525)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-02 16:56:42 -04:00
Mattermost Build
ef4bc3b1e2
MM-26667 Set EMM username as the initial loginId (#4524)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-02 15:03:31 -04:00
Mattermost Build
0ef94c23af
MM-26638 MM-26656 await when dismissing post options modal (#4522)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-02 13:36:25 -04:00
Mattermost Build
593a39220e
MM-25967 Disable Shared Process Pool in WebView (#4515)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-01 16:20:44 -04:00
Elias Nahum
fd83088fb5
MM-15719 Use metadata only to render post additional content (#4386)
* MM-15719 Use metadata only to render post additional content

* Default link to empty instead of undefined

* Feedback review
2020-06-29 11:54:01 -04:00
Mattermost Build
b7ee48a6f8
Automated cherry pick of #4499 (#4502)
* Revert updated dependecies for SSO

* Fix test setup

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-26 22:05:03 -04:00
Mattermost Build
a9e56cb315
Fix SSO login with subpaths (#4496)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-26 16:50:53 -04:00
Mattermost Build
a968db07f7
Automated cherry pick of #4489 (#4493)
* Avoid throwing when purging

* Update app/store/index.ts

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

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-06-26 16:27:15 -04:00
Mattermost Build
07bc7a4c9f
Automated cherry pick of #4488 (#4491)
* MM-25946 prompt sys admins if they are running server versions below 5.19

* Update alert message

* Change alert buttons

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-26 16:14:54 -04:00
Mattermost Build
d05c39d323
Various fixes: (#4476)
* Fix map call on Set
* Ensure we don't destructure non-iterable values
* Include error message and stack in Alert

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-06-23 16:48:34 -07:00
Mattermost Build
22cb961de3
Various fixes: (#4467)
* Dispatch REHYDRATED if already hydrated after getStoredState call
* Empty/null prev version is valid
* Update iOS target to 11.0

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-06-22 15:31:35 -07:00
Mattermost Build
91692f78b8
Automated cherry pick of #4448 (#4462)
* MM-25820 prevent double tap in post options

* Fix weird behavior on iOS when doble tapping on add reaction and edit in post options

* Callback after close

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-21 20:55:01 -04:00
Mattermost Build
bbe51d91f3
Automated cherry pick of #4452 (#4457)
* Remove withEncryption

* Remove warm up

* Downgrade react-native-keychain

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-06-19 16:19:50 -07:00
Elias Nahum
a5c2f86f0b
MM-25670 perform search when hitting Enter on HW keyboard (#4432) 2020-06-18 10:59:51 -04:00
Elias Nahum
b316ad5a20
MM-25931 Handle incoming session expired push notification (#4417) 2020-06-17 21:32:08 -04:00
Mattermost Build
c9dae37414
MM-25350 Hide 'Select Team' title on modal when error occurs (#4447)
Co-authored-by: Amit Uttam <changingrainbows@gmail.com>
2020-06-17 21:31:30 -04:00
Elias Nahum
6664d2531b
Fix unhandled error when logging out from the select team screen (#4423) 2020-06-17 21:28:50 -04:00
Mattermost Build
f90d12f05a
Automated cherry pick of #4371 (#4445)
* MM-21368 Notify user when editing message that's too long

* Disable 'Save' button to prevent edits from being posted
* Display error message specific to the message size and allows max, instead of the current, default "Invalid Message" error.

* Split message length error into text (left justified) and counts (right justified)

UX guidance from PR review

* UX Review: Wrap for longer error text + spacing adjustment

* UX Review: Align split messages to top + add spacing in-between

* UX Review: Align error message box padding with content

Co-authored-by: Amit Uttam <changingrainbows@gmail.com>
2020-06-17 21:26:30 -04:00
Mattermost Build
ae65a4af6f
MM-13076 Start with store results for at-mention/search autocomplete (#4444)
Currently, at-mention and search autocomplete do not render if there is a server request or network problem/outage, because the only data used to populate autocomplete results is a server request.

Now, these autocompletes will render initially with user data currently in store, and then re-rendered in place, once the server response completes.

Co-authored-by: Amit Uttam <changingrainbows@gmail.com>
2020-06-17 21:26:13 -04:00
Mattermost Build
0cd123aecc
MM-25695 Select channel when switching teams if available (#4443)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-17 21:25:59 -04:00
Mattermost Build
311c107f54
Automated cherry pick of #4370 (#4442)
* Animate top bar height/padding

* Update import order

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-06-17 21:25:44 -04:00
Mattermost Build
cf3ff99cd8
MM-24029 Fix date re-selection on search bar (#4441)
Picking a new date string (tapping a date on the autocomplete calendar) to replace an already populated date string in the search bar, leaves the search text garbled. This was because of incorrect handling of the tap cursor position in the search box.

Co-authored-by: Amit Uttam <changingrainbows@gmail.com>
2020-06-17 21:25:29 -04:00
Mattermost Build
56806a9d9f
Fix sidebar search bar (#4440)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-06-17 21:21:34 -04:00
Mattermost Build
916d93daab
MM-24201 List joinable teams alphabetically (#4439)
Matches webapp behaviour.

Co-authored-by: Amit Uttam <changingrainbows@gmail.com>
2020-06-17 21:21:18 -04:00
Mattermost Build
817d1792ce
Automated cherry pick of #4362 (#4438)
* MM-24501 Load all (joinable) teams when resetting app state

The subsequent `loadMe` only fetches a user's already-joined teams, which doesn't populate `state.entities.teams.teams` with the entire set of teams available, including potentially joinable teams.

Fixes https://github.com/mattermost/mattermost-mobile/issues/4209

* Add names to batched team action groups

Co-authored-by: Amit Uttam <changingrainbows@gmail.com>
2020-06-17 21:21:03 -04:00
Mattermost Build
240ad3857c
Automated cherry pick of #4354 (#4437)
* Remove border to login option buttons

* Remove email login option color for O365

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-17 21:20:47 -04:00
Mattermost Build
5c54186c8d
MM-24895 fetch roles if needed and add team member to the store when joining a new team (#4436)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-17 21:20:25 -04:00
Mattermost Build
dc0133bf01
MM-24964 select server url correctly animate error with keyboard (#4435)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-17 21:19:19 -04:00
Mattermost Build
8e858c76b5
MM-24932 Bold LHS active channel manually marked as unread (#4434)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-17 21:17:48 -04:00
Mattermost Build
aab0814b7f
Automated cherry pick of #4422 (#4424)
* Fix SSO and clear cookies

* Fix unit tests

* Removed unnecessary argument

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

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-06-15 14:06:53 -04:00
Mattermost Build
514e9cfd08
Automated cherry pick of #4418 (#4419)
* Wrap await calls in try/catch

* Fix spacing

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-06-12 13:15:35 -07:00
Mattermost Build
e6547d7dc1
MM-25967 await until cookies are cleared (#4413)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-11 15:13:21 -04:00
Mattermost Build
bc25a29c42
MM-25782 improve channel member reducer speed to sync memberships (#4402)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-09 14:39:48 -04:00
Mattermost Build
c3fc53a071
Removed unnecessary trim (#4399)
Co-authored-by: marianunez <maria.nunez@mattermost.com>
2020-06-08 21:43:40 -04:00
Mattermost Build
34af598a6d
clear cookies on again trying to login (#4395)
Co-authored-by: Harshit Khetan <khetanmehul@gmail.com>
2020-06-08 15:27:14 -04:00
Mattermost Build
ff89f3530e
Ensure previous state is cleared when logout (#4396)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-08 15:26:53 -04:00
Mattermost Build
8a95000bd0
MM-25831 Fix timing issue with cancelPing (#4394)
With `getUrl` recently [becoming async](https://github.com/mattermost/mattermost-mobile/commit/293470ff#diff-60b06b1c4aab028b96d9b207e84000c6R316), the global definition of the cancelPing function wasn't being made available in time for use by other functions (e.g. `handleSslProblem` and `handleConnect`)
2020-06-08 14:24:16 -03:00
Mattermost Build
97d393a2ba
MM-25694 Disallow profile picture update is set by LDAP (#4379)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-02 12:11:53 -04:00
Mattermost Build
fb03a88304
Automated cherry pick of #4372 (#4376)
* Handle SSO redirecting to a different URL than specified by the user

* Set Server URL based on the last redirect

* Improve last redirect condition

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-01 16:22:28 -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
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
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