element-x-ada/tools
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
..
adb Migrate license to AGPL - other files. 2024-09-06 17:55:16 +02:00
check Migrate license to AGPL 2024-09-06 17:51:37 +02:00
danger Remove Showkase processor not found warning from Danger (#3148) 2024-07-05 15:15:18 +02:00
dependencies Add missing license header on Python files. 2024-09-06 17:25:05 +02:00
detekt Restore intentional mentions in the markdown/plain text editor (#3193) 2024-07-15 18:27:59 +02:00
docs Migrate license to AGPL - sh files. 2024-09-06 17:50:45 +02:00
git Migrate license to AGPL - other files. 2024-09-06 17:55:16 +02:00
gitflow Migrate license to AGPL - other files. 2024-09-06 17:55:16 +02:00
github Fix comment block on Python files 2024-09-06 17:21:51 +02:00
lint Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
localazy Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
quality Migrate license to AGPL - sh files. 2024-09-06 17:50:45 +02:00
release Small update of the release script wording. 2024-09-10 10:35:06 +02:00
rte Run shellcheck autofix. 2024-06-11 15:27:02 +02:00
sas Fix comment block on Python files 2024-09-06 17:21:51 +02:00
sdk Add missing license header on shell files. 2024-09-06 17:48:14 +02:00
templates Migrate license to AGPL - sh files. 2024-09-06 17:50:45 +02:00
test Fix comment block on Python files 2024-09-06 17:21:51 +02:00