Commit Graph

972 Commits

Author SHA1 Message Date
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
Jorge Martin Espinosa 67e262fdc8 Add banner for optional migration to simplified sliding sync (#3429)
* Add banner for optional migration to native sliding sync

- Add `MatrixClient.isNativeSlidingSyncSupported()` and `MatrixClient.isUsingNativeSlidingSync` to check whether the home server supports native sliding sync and we're already using it.
- Add `NativeSlidingSyncMigrationBanner` composable to the `RoomList` screen when the home server supports native sliding sync but the current session is not using it.
- Add an extra logout successful action to the logout flow, create `EnableNativeSlidingSyncUseCase` so it can be used there.

* Update screenshots

* Make sure the sliding sync migration banner has lower priority than the encryption setup ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-09 18:13:19 +02:00
ganfra b9a581953c Merge branch 'develop' into feature/fga/timeline_utd 2024-09-09 15:40:26 +02:00
Benoit Marty 76bc70afa0 Remove Wait list screen #3293 2024-09-09 14:06:53 +02:00
ganfra 74c02cc2d3 Timeline : remove the encrypted history banner for now. 2024-09-09 11:20:50 +02:00
Benoit Marty 6251cb9269 Merge pull request #3422 from element-hq/feature/bma/agpl
Change license to AGPL
2024-09-06 20:40:28 +02:00
Benoit Marty 49fcba1381 Migrate license to AGPL - Update KonsistLicenseTest 2024-09-06 18:02:35 +02:00
Benoit Marty f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
ganfra 87dbed98ea Merge pull request #3415 from element-hq/feature/fga/pinned_messages_banner_indicators
Pinned messages banner : adjust indicator to match design.
2024-09-06 16:57:08 +02:00
ganfra b802a196fc Merge pull request #3392 from element-hq/feature/fga/pinned_messages_list
[Feature] Pinned messages list
2024-09-06 16:32:44 +02:00
ElementBot 6597fe2e1f Update screenshots 2024-09-06 13:27:06 +00:00
ElementBot 332e38b091 Update screenshots 2024-09-05 15:52:50 +00:00
ElementBot bab85c71ec Update screenshots 2024-09-05 15:45:14 +00:00
Benoit Marty e8d15989bb Merge pull request #3295 from frebib/feat/big-emoji
Big emoji-only messages
2024-09-04 18:36:26 +02:00
Benoit Marty f9af2b8d19 Merge pull request #3395 from element-hq/feature/bma/noDeviceVerifiedAfterRegistration
Skip device verification screen when creating a new account using OIDC
2024-09-04 18:28:30 +02:00
ElementBot 7c909c2c8d Update screenshots 2024-09-04 14:53:10 +00:00
ElementBot 8a8e87a354 Update screenshots 2024-09-04 12:54:42 +00:00
ElementBot 57a8e3b5a6 Update screenshots 2024-09-04 12:22:08 +00:00
Benoit Marty 99f48723d4 Merge pull request #3381 from element-hq/feature/bma/ossLicense
Replace OSS licenses plugin with Licensee and some manually done UI.
2024-09-03 10:40:58 +02:00
ElementBot add197698f Update screenshots 2024-09-02 20:00:50 +00:00
Benoit Marty 965e445d04 Replace OSS licenses plugin with Licensee and some manually done UI.
This should fix both configuration cache and reproducible F-droid builds.

Cleanup and remove gplay/fdroid diff on open source licenses.

Co-authored by @jmartinesp
2024-09-02 21:11:52 +02:00
Jorge Martin Espinosa 94f1388402 Use the right colors for @room mention pills (#3376)
* `@room` mentions the current user, so it should use the same colors as an explicit mention to them

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-02 15:14:54 +00:00
ElementBot 17ca03d76b Update screenshots 2024-09-02 10:19:03 +00:00
Benoit Marty 31d0621fa1 Merge pull request #3360 from element-hq/feature/bma/sessionVerificationBannerIsBack
Add banner entry point to set up recovery
2024-08-30 16:56:11 +02:00
ElementBot 2dc28561d4 Update screenshots 2024-08-29 16:48:33 +00:00
ElementBot cf31895e9c Update screenshots 2024-08-29 14:39:56 +00:00
ElementBot fd760823b1 Update screenshots 2024-08-29 08:08:12 +00:00
ElementBot 2aa49d40a4 Update screenshots 2024-08-27 15:55:18 +00:00
bmarty cd267249ec Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
SpiritCroc 671def23b8 Big emoji-only messages
Adapted from SpiritCroc's SchildNext implementation from
https://github.com/SchildiChat/schildichat-android-next/commit/7eba87f02e884b9b921aa4e74dd0a737e4da31ad

Fixes: https://github.com/element-hq/element-x-android/issues/1438
Signed-off-by: Tobias Büttner <dev@spiritcroc.de>
Signed-off-by: Joe Groocock <me@frebib.net>
2024-08-23 13:46:19 +00:00
Joe Groocock 0f14bc1a1c Ensure consistent AggregatedReaction screenshots
Different system locales can generate different screenshots, causing CI
to be unhappy. Hardcoding a locale ensures the same date format is
always used.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-08-23 13:38:27 +00:00
ElementBot e704af44bf Update screenshots 2024-08-22 11:54:08 +00:00
ElementBot ff217d4f88 Update screenshots 2024-08-21 13:45:00 +00:00
Benoit Marty f2b38e50e3 Add test on function name which may start or end with spaces and fix existing issues. 2024-08-20 17:11:30 +02:00
Benoit Marty 21f2c5a231 Merge pull request #3240 from element-hq/feature/valere/message_shields
Timeline UI | MessageShield Support
2024-08-16 14:25:33 +02:00
ElementBot cbc59e075e Update screenshots 2024-08-16 09:44:36 +00:00
Benoit Marty 459f60d8a0 Add preview for message shield dialog. 2024-08-16 11:33:52 +02:00
ElementBot ced4f0c018 Update screenshots 2024-08-16 08:07:11 +00:00
ElementBot 0661cd2046 Update screenshots 2024-08-14 15:49:23 +00:00
ElementBot 99efdb6d76 Update screenshots 2024-08-14 15:31:44 +00:00
Benoit Marty faf1e7da9f Iterate on shield mapping and rendering
Also handle click on the timeline and information displayed on long click.
2024-08-14 17:24:11 +02:00
ElementBot d40f5bda12 Update screenshots 2024-08-13 08:55:07 +02:00
ElementBot 300df0c620 Update screenshots 2024-08-13 08:55:06 +02:00
ElementBot c96539163d Update screenshots 2024-08-07 14:41:27 +00:00
ElementBot 6ee86a2fc7 Update screenshots 2024-07-31 14:43:47 +00:00
ElementBot d2a9a2539e Update screenshots 2024-07-31 11:55:28 +00:00
ganfra 27027371c0 Merge pull request #3222 from element-hq/feature/jme/add-simplified-sliding-sync-toggle
Add simplified sliding sync toggle to developer options
2024-07-25 10:37:11 +02:00
ElementBot 5fcb80970d Update screenshots 2024-07-25 07:33:26 +00:00
ElementBot a71d7eb2b4 Update screenshots 2024-07-19 14:43:41 +00:00
ElementBot fa0430927a Update screenshots 2024-07-19 12:58:11 +00:00