Commit graph

1012 commits

Author SHA1 Message Date
ElementBot
be2216ccd9 Update screenshots 2024-10-09 08:35:09 +00:00
ElementBot
84fd25c6d9 Update screenshots 2024-10-08 10:02:00 +00:00
Benoit Marty
8c018c4fda Fix konsist test. 2024-10-08 11:13:56 +02:00
Benoit Marty
ac481a59de Konsist: Ensure that Presenter do not depend on other presenters. 2024-10-07 17:45:16 +02:00
Benoit Marty
f2ca3c30d7 Konsist: Ensure that unit tests are detected 2024-10-07 17:45:15 +02:00
Benoit Marty
de6b34dc7a
Merge pull request #3609 from element-hq/feature/bma/slidingSyncCheck
Remove supportSlidingSync boolean.
2024-10-07 15:30:39 +02:00
bmarty
e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
ElementBot
1f7b05a58d Update screenshots 2024-10-04 15:15:15 +00:00
ElementBot
0018cce7c1 Update screenshots 2024-10-04 15:12:13 +00:00
Benoit Marty
b889e8681c Rename hideContent to hideMediaContent 2024-10-04 17:02:03 +02:00
ElementBot
70c6bede97 Update screenshots 2024-10-04 17:02:00 +02:00
Benoit Marty
d2bd1b7cab Fix test 2024-10-04 17:01:54 +02:00
ElementBot
02a173f441 Update screenshots 2024-10-04 14:05:07 +00:00
Jorge Martin Espinosa
4d6b37f157
Merge unit, screenshot tests and coverage in a single CI call (#3593)
* Merge unit, screenshot tests and coverage tasks in a single CI call

* Disable gradle daemon too since it's all in a single gradle call now

* Make Kover upload the HTML reports on failure too
2024-10-03 15:38:08 +02:00
Benoit Marty
29356b96c1
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
79c17f714f
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
f344a1282c
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
6a8086c9c1 Update screenshots 2024-09-30 08:02:28 +00:00
Benoit Marty
f89463c3a1 Remove runCancellableScopeTest and runCancellableScopeTestWithTestScope, we can use TestScope.backgroundScope instead. 2024-09-27 18:37:16 +02:00
Benoit Marty
154114bfce Konsist: implement another workaround. 2024-09-27 12:14:51 +02:00
Benoit Marty
e0a9fbe063 Konsist: fix compilation issue and implement workaround. 2024-09-27 11:59:32 +02:00
renovate[bot]
231217c438
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
c5f5ff356b
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]
9756afc5d1
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
ae7a79e06e
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
785d3882f4 Update screenshots 2024-09-24 15:40:44 +00:00
ElementBot
6ce19f8342 Update screenshots 2024-09-24 08:23:43 +00:00
ElementBot
350e7f68f3 Update screenshots 2024-09-23 15:32:52 +00:00
ganfra
5c7ac76c9a
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
90d7a5796c Update screenshots 2024-09-20 12:24:48 +00:00
Benoit Marty
d1be4349f0 Add test on RustRoomDirectoryList 2024-09-19 15:40:25 +02:00
Benoit Marty
2d9b0bbe19 Adapt Konsist test for Fake Rust classes. 2024-09-18 18:50:54 +02:00
ElementBot
782e1e392e Update screenshots 2024-09-17 15:54:22 +00:00
ElementBot
6154b08ba7 Update screenshots 2024-09-17 15:13:22 +00:00
bmarty
4583ffeaf9 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty
bb0a281342 Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
Benoit Marty
cf2c90ea0a
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
47d0c505b5
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
7647414c68 Update screenshots 2024-09-16 10:50:01 +00:00
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
ElementBot
16bf8f04fe Update screenshots 2024-09-13 15:04:13 +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