Commit Graph

998 Commits

Author SHA1 Message Date
Benoit Marty
4d554de838 Merge pull request #3554 from element-hq/feature/bma/testEmptyTimeline
Add unit tests on TimelineItemsSubscriber
2024-10-02 14:04:48 +02:00
Jorge Martin Espinosa
4a43fcb69a Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
Jorge Martin Espinosa
5fcc80a383 Don't display security banner for unknown RecoveryState (#3579)
* Don't display security banner for unknown `RecoveryState`

* Don't display 'set up recovery' if its status is unknown.

Add more screenshot tests.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 09:28:33 +00:00
ElementBot
41ced3d1a6 Update screenshots 2024-09-30 08:02:28 +00:00
Benoit Marty
015d59af13 Remove runCancellableScopeTest and runCancellableScopeTestWithTestScope, we can use TestScope.backgroundScope instead. 2024-09-27 18:37:16 +02:00
Benoit Marty
46b41ea363 Konsist: implement another workaround. 2024-09-27 12:14:51 +02:00
Benoit Marty
5f27c3ccc3 Konsist: fix compilation issue and implement workaround. 2024-09-27 11:59:32 +02:00
renovate[bot]
461677c425 Update dependency io.element.android:compound-android to v0.1.0 (#3524)
* Update dependency io.element.android:compound-android to v0.1.0

* Fix usages of `AvatarColorsProvider`

* Update screenshots

* Fix tests and lint issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 14:54:25 +00:00
Benoit Marty
87f642918e Merge pull request #3527 from element-hq/feature/bma/elementCallNoNetwork
Handle no network error when starting Element Call.
2024-09-26 14:43:50 +02:00
renovate[bot]
0dac449fec Update dependency androidx.compose:compose-bom to v2024.09.00 (#3399)
* Update dependency androidx.compose:compose-bom to v2024.09.00

* Adapt code for changes.

* Workaround crash when closing the RTE

* Fix broken bottom sheet colors and shape

* Fix tons of warnings and deprecations

* Fix lint issues

* Fix more M3 update changes

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 09:30:20 +02:00
Benoit Marty
075571d802 Merge pull request #3531 from element-hq/feature/bma/logLevel
Remove ability to configure default log level
2024-09-25 10:33:27 +02:00
ElementBot
7113795df2 Update screenshots 2024-09-24 15:40:44 +00:00
ElementBot
eb111ed289 Update screenshots 2024-09-24 08:23:43 +00:00
ElementBot
b3824fc18a Update screenshots 2024-09-23 15:32:52 +00:00
ganfra
4ddfc78be2 Merge pull request #3500 from element-hq/feature/fga/pinned_message_icon
Pinned messages : add pin icon in timeline for pinned events.
2024-09-20 16:50:11 +02:00
ElementBot
1ff2fa37b1 Update screenshots 2024-09-20 12:24:48 +00:00
Benoit Marty
f4d8907f11 Add test on RustRoomDirectoryList 2024-09-19 15:40:25 +02:00
Benoit Marty
35fcb96e47 Adapt Konsist test for Fake Rust classes. 2024-09-18 18:50:54 +02:00
ElementBot
9437d0650a Update screenshots 2024-09-17 15:54:22 +00:00
ElementBot
0d15be441a Update screenshots 2024-09-17 15:13:22 +00:00
bmarty
97cf19cb71 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty
e0c24c0f1c Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
Benoit Marty
8c424c63e6 Merge pull request #3467 from element-hq/feature/bma/accountCreation
Temporary account creation using Element Web.
2024-09-16 16:52:26 +02:00
ganfra
60365e46a5 Merge pull request #3461 from element-hq/feature/fga/send_failure_identity_changes
Require acknowledgement to send to a verified user if their identity changed or if a device is unverified.
2024-09-16 16:00:18 +02:00
ElementBot
0e9c0450d9 Update screenshots 2024-09-16 10:50:01 +00:00
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
ElementBot
00f41b2e88 Update screenshots 2024-09-13 15:04:13 +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