Commit Graph

5900 Commits

Author SHA1 Message Date
Benoit Marty
ee443de771 Merge pull request #2433 from element-hq/feature/bma/testLogoutDialog
Test direct logout dialog and RoomDetailsView
2024-02-22 17:09:16 +01:00
Benoit Marty
e94a099447 Merge pull request #2430 from element-hq/feature/bma/userCertificates
Pass user certificates to the Rust SDK
2024-02-22 17:09:02 +01:00
Benoit Marty
08b01ffb79 Preview must be internal. 2024-02-22 16:18:34 +01:00
Benoit Marty
e9c0a0a18e Add test about clicking an Avatar in a DM room detail. 2024-02-22 16:18:07 +01:00
Benoit Marty
5d33f8dafc Exclude ContentToPreview from coverage. 2024-02-22 16:12:29 +01:00
Benoit Marty
236725dfb2 Merge try blocks. 2024-02-22 16:06:01 +01:00
Benoit Marty
bbed475f93 Fix copyright date on new files. 2024-02-22 15:59:44 +01:00
ElementBot
90786ee31f Update screenshots 2024-02-22 14:56:53 +00:00
Benoit Marty
aa1e214e46 Add test on RoomDetailsView 2024-02-22 15:47:21 +01:00
Benoit Marty
69e66d9101 Add test on RoomDetailsView 2024-02-22 15:31:58 +01:00
Benoit Marty
f48446439f Use aRoomNotificationSettings. 2024-02-22 15:25:26 +01:00
Benoit Marty
6801ef9524 Add test on RoomDetailsView 2024-02-22 15:23:22 +01:00
Benoit Marty
5a80f89e12 Add parameter to avoid copy of objects. 2024-02-22 14:43:17 +01:00
Benoit Marty
48e8900a2c Create extension to cleanup LogoutViewTest 2024-02-22 14:32:18 +01:00
Benoit Marty
6521ffe0aa Add test on DefaultDirectLogoutView 2024-02-22 14:28:17 +01:00
Benoit Marty
cf38553701 Add more states in DirectLogoutStateProvider 2024-02-22 14:03:59 +01:00
Benoit Marty
cbf1ea1354 Add DirectLogoutStateProvider, and add preview for DefaultDirectLogoutView 2024-02-22 12:53:38 +01:00
Benoit Marty
f29f46b9e9 Safer code, add some try catch blocks.
Filter out system alias before reading the keyStore entry.
use `size` instead of `count()`
Kotlin style.
2024-02-22 12:06:54 +01:00
Benoit Marty
f1790c9a7a Move getAdditionalCertificates function to a dedicated class (no change in the implementation). 2024-02-22 11:09:55 +01:00
Benoit Marty
7efef9441b Merge pull request #2392 from poljar/poljar/user-certs
Add the user certificates as additional certificates to the ClientBuilder
2024-02-22 10:51:44 +01:00
Benoit Marty
efa56e6124 Merge pull request #2421 from element-hq/feature/bma/lastSessionRecovery
Last session recovery
2024-02-22 08:47:50 +01:00
renovate[bot]
93ea86d3f2 Update dependency androidx.compose.compiler:compiler to v1.5.10 (#2427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 08:46:38 +01:00
Benoit Marty
244e835af6 Merge pull request #2425 from element-hq/renovate/io.sentry-sentry-android-7.x
Update dependency io.sentry:sentry-android to v7.4.0
2024-02-21 18:48:06 +01:00
Benoit Marty
1034c4599c Changelog 2024-02-21 18:39:21 +01:00
Benoit Marty
544b4b4389 Cleanup after rebase. 2024-02-21 18:34:15 +01:00
Benoit Marty
1ea9d41d27 Fix test clicking on enter recovery key calls the expected callback 2024-02-21 18:30:57 +01:00
Benoit Marty
9ecbbf3955 Add more tests on RoomListView 2024-02-21 18:30:57 +01:00
Benoit Marty
3cf0375bb6 Add tests on RoomListView (e2e banner) 2024-02-21 18:30:57 +01:00
Benoit Marty
4e8aa3a135 Remove empty line. 2024-02-21 18:30:57 +01:00
Benoit Marty
89cd8ad33e Add tests on VerifySelfSessionView 2024-02-21 18:30:57 +01:00
Benoit Marty
addc3d4782 Improve test framework. 2024-02-21 18:30:57 +01:00
Benoit Marty
bb4c050819 Fix parameter order. 2024-02-21 18:30:57 +01:00
Benoit Marty
c3b160f890 Fix compilation issue on minimal. 2024-02-21 18:30:57 +01:00
Benoit Marty
8d8cbab17e Force a refresh of the verification status when the recovery state value change.
The session can become verified when the user enters their recovery key, and in this case the callback `didFinish` is not invoked.
2024-02-21 18:30:57 +01:00
Benoit Marty
2381c0cdcd Keep references on TaskHandle, to avoid it to be garbage collected, and so the listeners are stopped. 2024-02-21 18:30:57 +01:00
Benoit Marty
06caf35ff4 Make isLastSession "live" 2024-02-21 18:30:57 +01:00
Benoit Marty
fb368f058b Remove feature flag SecureStorage 2024-02-21 18:30:57 +01:00
Benoit Marty
6c5567d075 Go directly to the enter recovery key screen when coming from the banner which ask the user to do so. 2024-02-21 18:30:57 +01:00
ElementBot
e94563202d Update screenshots 2024-02-21 18:30:08 +01:00
Benoit Marty
b6aa44d374 Remove unused val. 2024-02-21 18:30:08 +01:00
Benoit Marty
4ed353aa56 Fix tests. 2024-02-21 18:30:08 +01:00
Benoit Marty
9d6a6ce88b Do not show the RecoveryKeyConfirmation banner if the sync is not Running. 2024-02-21 18:30:08 +01:00
Benoit Marty
7fc9a4c0fa Add a way to enter recovery key to verify the session. 2024-02-21 18:30:08 +01:00
Benoit Marty
6efb4869f3 Do the opposite (was it a bug 🤔) 2024-02-21 18:30:08 +01:00
Benoit Marty
4a75e6a9a7 Do not show verification banner for the last device, show the enter recovery key banner. 2024-02-21 18:30:08 +01:00
Benoit Marty
6cd28b2305 Sync strings. 2024-02-21 18:30:08 +01:00
Benoit Marty
3f7060e9ce Introduce SecurityBannerState to replace Boolean set.
Also get the sessionVerificationService from the matrixClient, instead of injecting it separately.
2024-02-21 18:30:08 +01:00
Benoit Marty
55a105572a Rename isLastSession to isLastDevice, to match SDK naming. 2024-02-21 18:25:45 +01:00
ganfra
e49b677862 Merge pull request #2426 from element-hq/feature/fga/room_list_empty_ui
RoomList : allow to show empty state and invites.
2024-02-21 17:38:53 +01:00
ganfra
840465340d RoomList : allow to show empty state and invites. 2024-02-21 16:31:12 +01:00