Commit graph

9 commits

Author SHA1 Message Date
bmarty
0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
bmarty
1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
bmarty
e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +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
bmarty
5ad2764402 Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
bmarty
3e67448006 Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
jmartinesp
dabaa2d265 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
bmarty
32c5da898b Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
bmarty
f3d286911c Sync Strings from Localazy 2024-06-10 00:17:04 +00:00