Commit graph

8 commits

Author SHA1 Message Date
bmarty
0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
bmarty
b179518962 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
bmarty
e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
bmarty
86373ad1f7 Sync Strings from Localazy 2024-09-30 00:26:52 +00:00
bmarty
1768f24fd0 Sync Strings from Localazy 2024-09-23 00:23:49 +00:00
bmarty
4583ffeaf9 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty
bb0a281342 Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
Jorge Martin Espinosa
663362ac7f
Add forced logout flow when the proxy is no longer available (#3458)
* Add `MatrixClient.isSlidingSyncProxySupported` function

* Update localazy strings

* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.

Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.

* Check if a forced migration to SSS is needed because the proxy is no longer available.

In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.

* Enable native/simplified sliding sync by default.

* Refactor the login to make sure we:

1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).

* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00