element-x-ada/features
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
..
analytics Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
cachecleaner Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
call Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
createroom Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
enterprise Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
ftue Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
invite Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
joinroom Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
leaveroom Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
licenses Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
location Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
lockscreen Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
login Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
logout Add banner for optional migration to simplified sliding sync (#3429) 2024-09-09 18:13:19 +02:00
messages Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
migration Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
networkmonitor Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
onboarding Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
poll Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
preferences Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
rageshake Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
roomaliasresolver Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
roomdetails Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
roomdirectory Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
roomlist Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
securebackup Add forced logout flow when the proxy is no longer available (#3458) 2024-09-16 09:13:02 +00:00
share Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
signedout Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
userprofile Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
verifysession Self verification : makes sure cancellation works properly 2024-09-09 10:30:35 +02:00
viewfolder Migrate license to AGPL. 2024-09-06 17:19:19 +02:00