Commit Graph

1017 Commits

Author SHA1 Message Date
renovate[bot]
6ec39e1e76 fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03 (#3583)
* fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03

* Fix the `LinearProgressIndicator` new style

* 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 <android@element.io>
2024-10-09 11:50:11 +00:00
Benoit Marty
bea40cbe21 Merge pull request #3633 from element-hq/feature/bma/qrCodeNotice
QrCode intro screen: add subtitle and fix button wording #3632
2024-10-09 12:25:21 +02:00
renovate[bot]
55959fbbbd Update dependency io.element.android:emojibase-bindings to v1.3.3 (#3620)
* fix(deps): update dependency io.element.android:emojibase-bindings to v1.3.3

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-10-09 10:23:23 +00:00
ganfra
f43c92723b Merge pull request #3631 from element-hq/feature/fga/rework_room_summary
Rework room summary
2024-10-09 11:44:45 +02:00
ElementBot
2ae13534a3 Update screenshots 2024-10-09 08:57:09 +00:00
ElementBot
db7f637ad1 Update screenshots 2024-10-09 08:35:09 +00:00
ElementBot
3d9d752e89 Update screenshots 2024-10-08 10:02:00 +00:00
Benoit Marty
da08cc3e08 Fix konsist test. 2024-10-08 11:13:56 +02:00
Benoit Marty
4394b76d07 Konsist: Ensure that Presenter do not depend on other presenters. 2024-10-07 17:45:16 +02:00
Benoit Marty
01b083270a Konsist: Ensure that unit tests are detected 2024-10-07 17:45:15 +02:00
Benoit Marty
643c9c7f39 Merge pull request #3609 from element-hq/feature/bma/slidingSyncCheck
Remove supportSlidingSync boolean.
2024-10-07 15:30:39 +02:00
bmarty
05291bcf2f Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
ElementBot
39ab1e142a Update screenshots 2024-10-04 15:15:15 +00:00
ElementBot
847c22cadb Update screenshots 2024-10-04 15:12:13 +00:00
Benoit Marty
a73c8b1e25 Rename hideContent to hideMediaContent 2024-10-04 17:02:03 +02:00
ElementBot
16c7c3ae96 Update screenshots 2024-10-04 17:02:00 +02:00
Benoit Marty
eeca2e1f96 Fix test 2024-10-04 17:01:54 +02:00
ElementBot
db5bb4b198 Update screenshots 2024-10-04 14:05:07 +00:00
Jorge Martin Espinosa
0350a95672 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
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