Elias Nahum
cfbb7d4d55
Avoid throwing when purging ( #4489 )
...
* Avoid throwing when purging
* Update app/store/index.ts
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-06-26 16:14:03 -04:00
Elias Nahum
56c593d36c
MM-25946 prompt sys admins if they are running server versions below 5.19 ( #4488 )
...
* MM-25946 prompt sys admins if they are running server versions below 5.19
* Update alert message
* Change alert buttons
2020-06-26 15:58:37 -04:00
Miguel Alatzar
12c29c0673
[MM-25794] Ensure state teams and members are up-to-date ( #4454 )
...
* Ensure state teams and members are up-to-date
* Remove trailing spaces
2020-06-25 20:55:44 -07: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
Weblate (bot)
3f76ee04b2
Translations update from Weblate ( #4464 )
...
* Translated using Weblate (Turkish)
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/tr/
* Translated using Weblate (Romanian)
Currently translated at 85.2% (526 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ro/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/zh_Hans/
* Translated using Weblate (Russian)
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ru/
* Translated using Weblate (Spanish)
Currently translated at 85.0% (525 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/es/
* Translated using Weblate (Italian)
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/it/
* Translated using Weblate (German)
Currently translated at 85.0% (525 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 86.2% (532 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pt_BR/
* Translated using Weblate (Dutch)
Currently translated at 85.2% (526 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/
* Added translation using Weblate (Malayalam)
* Translated using Weblate (German)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/
* Translated using Weblate (Polish)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pl/
Translated using Weblate (Japanese)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ja/
Translated using Weblate (Spanish)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/es/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pt_BR/
Translated using Weblate (Romanian)
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ro/
Translated using Weblate (Ukrainian)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/uk/
Translated using Weblate (French)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/fr/
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/zh_Hant/
Translated using Weblate (Korean)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ko/
Translated using Weblate (Dutch)
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/
Translated using Weblate (German)
Currently translated at 99.8% (616 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/
* Translated using Weblate (Italian)
Currently translated at 100.0% (617 of 617 strings)
Translation: mattermost/mattermost-mobile_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/it/
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Co-authored-by: elias <elias@mattermost.com>
Co-authored-by: mlongo <m.longo@metalsistem.com>
Co-authored-by: Gregory Stock <gregory.stock@gmx.de>
Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: meilon <the-fr3ak@gmx.net>
Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com>
2020-06-25 16:36:28 +02:00
Amy Blais
af114b32c9
v1.32.1 Changelog ( #4453 )
...
* Update CHANGELOG.md
* Update CHANGELOG.md
2020-06-25 10:21:35 -04:00
Miguel Alatzar
9df903fd60
Bump build number to 305 ( #4477 )
2020-06-23 18:49:30 -07:00
Miguel Alatzar
363810f708
Various fixes: ( #4474 )
...
* Fix map call on Set
* Ensure we don't destructure non-iterable values
* Include error message and stack in Alert
2020-06-23 16:39:49 -07:00
Martin Kraft
47863cae3e
MM-11713: Allows edit others posts to function without edit own posts. ( #4406 )
...
* MM-11713: Allows edit others posts to function without edit own posts.
* MM-11713: Switches branching statement to ternary.
* MM-11713: Default to false expclicitly.
* MM-11713: Uses old logic for server versions prior to v5.26.
2020-06-23 16:09:44 -04: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
Elias Nahum
6fe083672c
MM-25820 prevent double tap in post options ( #4448 )
...
* 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
2020-06-20 12:28:26 -04:00
Miguel Alatzar
9d91eabe9a
Bump build number ( #4459 )
2020-06-19 16:51:39 -07:00
Miguel Alatzar
f6611f7093
[MM-26318] Improve cold start and channel switching times ( #4452 )
...
* Remove withEncryption
* Remove warm up
* Downgrade react-native-keychain
2020-06-19 16:12:15 -07:00
Elias Nahum
57e4b17ade
MM-25670 perform search when hitting Enter on HW keyboard ( #4432 )
2020-06-17 22:13:34 -04:00
Elias Nahum
b85766ec31
MM-25931 Handle incoming session expired push notification ( #4417 )
2020-06-17 21:30:19 -04:00
Amit Uttam
e23c9084b2
MM-25350 Hide 'Select Team' title on modal when error occurs ( #4412 )
2020-06-17 20:55:18 -04:00
Elias Nahum
0f9bf90211
Fix unhandled error when logging out from the select team screen ( #4423 )
2020-06-17 14:37:46 -07:00
Amy Blais
c457765e8b
v1.32 Changelog ( #4300 )
2020-06-16 18:47:25 -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
Rahim Rahman
e0d2fba243
[MM-18766] remove deprecated lifecycle methods from post components ( #4270 )
...
* [MM-18766] removed deprecated lifecycle methods from post components
* [MM-18766] update snapshot, seems like there was a bug
* [MM-18766] refactor getBestImageUrl -> getBestImageUrlAndDimensions
- refactor getBestImageUrl to take a single argument: props
- refactor getViewPostWidth to take a single argument: props
* [MM-18766] getDerivedStateFromProps was previously returning only first prop change
- fix issue if multiple props were modified at once.
* [MM-18766] removed FastImage.preload that was supposed to be removed in the last merge.
* [MM-18766] removed getDerivedStateFromProps
* [MM-18766] fix tests based on actual component being completely re-rendered rather than prop change.
* [MM-18766] cleaning up initial changes due to no longer using getDerivedStateFromProps method
- move back getBestImageUrl and getViewPostWidth from outside of components
- keep the renaming of getBestImageUrl
- remove the use of spread operator as it is also no longer needed
* [MM-18766] one of caller to getViewPostWidth is still passing this.props
- this is no longer needed
2020-06-15 10:11:21 -07:00
Miguel Alatzar
fc7083897c
Bump app build number to 301 ( #4420 )
2020-06-12 13:19:16 -07:00
Miguel Alatzar
67978382e2
Wrap await calls in try/catch ( #4418 )
...
* Wrap await calls in try/catch
* Fix spacing
2020-06-12 13:08:22 -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
8c4ce94701
MM-25967 await until cookies are cleared ( #4411 )
2020-06-11 14:19:20 -04:00
Andre Vasconcelos
55acf06c6d
MM-22852 Improve mobile modal style ( #4198 )
...
* Opening screens as 'pageSheet' for iOS
* Added pagesheet on more screens
- Search
- Edit Profile
- Recent Mentions
- FlaggedPosts
* Close sidebar when tapping new channel `+` icon
* Update search modal test to expect `pageSheet`
* Fixing search screen
* Making sure padding fix only applies to iOS
* Adjusting padding & height values for searchbar
* Adjusting padding & height values for searchbar (2)
* Changed default iOS modal to be pageSheet
* Fix test that failed due to changes in modal behavior
* Removing useless params from openModal function
2020-06-10 15:34:08 -04:00
Amit Uttam
446f95ff6b
MM-21368 Notify user when editing message that's too long ( #4371 )
...
* 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
2020-06-10 13:01:40 -03: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
Elias Nahum
36e6df2150
MM-25782 improve channel member reducer speed to sync memberships ( #4400 )
2020-06-09 13:55:57 -04:00
Maria A Nunez
6899bb9510
MM-25809 - Fixed rendering code blocks when starting with 4 spaces ( #4397 )
2020-06-08 19:58:48 -04:00
Elias Nahum
195011d678
Ensure previous state is cleared when logout ( #4390 )
2020-06-08 13:43:53 -04:00
Harshit Khetan
7b76aba233
clear cookies on again trying to login ( #4387 )
2020-06-08 13:43:22 -04:00
Amit Uttam
841a8e1df2
MM-25831 Fix timing issue with cancelPing ( #4389 )
...
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:16:44 -03:00
Amit Uttam
99ee105e17
MM-13076 Start with store results for at-mention/search autocomplete ( #4385 )
...
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.
2020-06-08 14:13:38 -03:00
Amit Uttam
e59a53dde0
MM-25849 Apply backoff & retry logic only for ID-loaded push notifications ( #4391 )
...
Changes in #4302 piggy-backed on the existing [exception catching logic](https://github.com/mattermost/mattermost-mobile/pull/4302/files#diff-266cddcf80a6bc300b40cc922e7a659bL101-L102 ) to retry failed request (status != 200). However, the change applied retries for any type of push notification.
2020-06-08 12:47:09 -03:00
Miguel Alatzar
b60ab264f4
Bump app build number to 298 ( #4382 )
2020-06-03 10:29:41 -07:00
Elias Nahum
68a9c45d88
MM-25695 Select channel when switching teams if available ( #4375 )
2020-06-03 08:53:32 -04:00
Elias Nahum
ebd31e0835
MM-25694 Disallow profile picture update is set by LDAP ( #4377 )
2020-06-02 12:04:28 -04:00
Elias Nahum
293470ff94
Handle SSO redirecting to a different URL than specified by the user ( #4372 )
...
* Handle SSO redirecting to a different URL than specified by the user
* Set Server URL based on the last redirect
* Improve last redirect condition
2020-06-01 14:06:37 -04:00
Miguel Alatzar
9b03f66e6e
[MM-24068] Animate top bar height/padding ( #4370 )
...
* Animate top bar height/padding
* Update import order
2020-06-01 10:03:58 -07:00
Amit Uttam
d869ddf8e5
MM-24029 Fix date re-selection on search bar ( #4368 )
...
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.
2020-05-29 13:29:25 -03:00
Amy Blais
8089900678
Update NOTICE.txt ( #4357 )
2020-05-29 09:35:45 -04:00
Elias Nahum
65bc1f7fab
Bump app build number to 297 ( #4366 )
2020-05-28 13:33:31 -04:00
Miguel Alatzar
023432e2f4
Fix sidebar search bar ( #4350 )
2020-05-28 09:35:34 -07:00
Amit Uttam
73da13fa66
MM-24201 List joinable teams alphabetically ( #4365 )
...
Matches webapp behaviour.
2020-05-28 13:18:51 -03:00
Amit Uttam
3d1a647263
[MM-24501] Load all (including joinable) teams when resetting app state ( #4362 )
...
* 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
2020-05-28 13:15:30 -03:00
Elias Nahum
81a4bb39ca
MM-21605 Remove border to login option buttons ( #4354 )
...
* Remove border to login option buttons
* Remove email login option color for O365
2020-05-28 11:58:35 -04:00