Commit Graph

972 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
03786c1fd2 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
8154aa3319 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
7ed5ee9186 Merge branch 'develop' into feature/fga/timeline_utd 2024-09-09 15:40:26 +02:00
Benoit Marty
39c296efc6 Remove Wait list screen #3293 2024-09-09 14:06:53 +02:00
ganfra
a556557881 Timeline : remove the encrypted history banner for now. 2024-09-09 11:20:50 +02:00
Benoit Marty
8ff40ac6fb Merge pull request #3422 from element-hq/feature/bma/agpl
Change license to AGPL
2024-09-06 20:40:28 +02:00
Benoit Marty
776e45d516 Migrate license to AGPL - Update KonsistLicenseTest 2024-09-06 18:02:35 +02:00
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
ganfra
87a485baf6 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
e5c81db224 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
b35b31aa6f Update screenshots 2024-09-06 13:27:06 +00:00
ElementBot
53a7bf43f2 Update screenshots 2024-09-05 15:52:50 +00:00
ElementBot
a134163dc8 Update screenshots 2024-09-05 15:45:14 +00:00
Benoit Marty
8cc8f1fce1 Merge pull request #3295 from frebib/feat/big-emoji
Big emoji-only messages
2024-09-04 18:36:26 +02:00
Benoit Marty
f820adfb9a 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
780539692e Update screenshots 2024-09-04 14:53:10 +00:00
ElementBot
a0d15f4a22 Update screenshots 2024-09-04 12:54:42 +00:00
ElementBot
8c87272a83 Update screenshots 2024-09-04 12:22:08 +00:00
Benoit Marty
200c1ae5c5 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
9e186aca64 Update screenshots 2024-09-02 20:00:50 +00:00
Benoit Marty
b9169e6c76 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
9b27547196 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
3658f07c73 Update screenshots 2024-09-02 10:19:03 +00:00
Benoit Marty
9f67c65c2c 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
9d4a2cfafa Update screenshots 2024-08-29 16:48:33 +00:00
ElementBot
50fa209baf Update screenshots 2024-08-29 14:39:56 +00:00
ElementBot
b70079a0d5 Update screenshots 2024-08-29 08:08:12 +00:00
ElementBot
5c4c7c1a77 Update screenshots 2024-08-27 15:55:18 +00:00
bmarty
1b064a008f Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
SpiritCroc
00e26f0c6b Big emoji-only messages
Adapted from SpiritCroc's SchildNext implementation from
7eba87f02e

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
5529345bf1 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
62f687ee86 Update screenshots 2024-08-22 11:54:08 +00:00
ElementBot
98ef608b89 Update screenshots 2024-08-21 13:45:00 +00:00
Benoit Marty
a8f0c6c2b2 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
c420fcad18 Merge pull request #3240 from element-hq/feature/valere/message_shields
Timeline UI | MessageShield Support
2024-08-16 14:25:33 +02:00
ElementBot
12bdeed60d Update screenshots 2024-08-16 09:44:36 +00:00
Benoit Marty
350c678199 Add preview for message shield dialog. 2024-08-16 11:33:52 +02:00
ElementBot
970d11ffd1 Update screenshots 2024-08-16 08:07:11 +00:00
ElementBot
05f02f2aa7 Update screenshots 2024-08-14 15:49:23 +00:00
ElementBot
73b0cd9757 Update screenshots 2024-08-14 15:31:44 +00:00
Benoit Marty
34268a30ea 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
76a091629f Update screenshots 2024-08-13 08:55:07 +02:00
ElementBot
b022652b0d Update screenshots 2024-08-13 08:55:06 +02:00
ElementBot
a4674b55a8 Update screenshots 2024-08-07 14:41:27 +00:00
ElementBot
3e19b15c9d Update screenshots 2024-07-31 14:43:47 +00:00
ElementBot
8adabda028 Update screenshots 2024-07-31 11:55:28 +00:00
ganfra
878333cc77 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
5ec9948367 Update screenshots 2024-07-25 07:33:26 +00:00
ElementBot
043682300a Update screenshots 2024-07-19 14:43:41 +00:00
ElementBot
73bf14f7d2 Update screenshots 2024-07-19 12:58:11 +00:00