Commit graph

5902 commits

Author SHA1 Message Date
Benoit Marty
bbaca74aa2
Merge pull request #2431 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.1.9
2024-02-22 17:10:45 +01:00
Benoit Marty
d1023dd1a3
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
550fb725e2
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
f465a907b7 Preview must be internal. 2024-02-22 16:18:34 +01:00
Benoit Marty
8428823c76 Add test about clicking an Avatar in a DM room detail. 2024-02-22 16:18:07 +01:00
Benoit Marty
d73f35e5ff Exclude ContentToPreview from coverage. 2024-02-22 16:12:29 +01:00
Benoit Marty
9fed868968 Merge try blocks. 2024-02-22 16:06:01 +01:00
Benoit Marty
df951851da Fix copyright date on new files. 2024-02-22 15:59:44 +01:00
ElementBot
4f14aa3258 Update screenshots 2024-02-22 14:56:53 +00:00
Benoit Marty
602429002a Add test on RoomDetailsView 2024-02-22 15:47:21 +01:00
Benoit Marty
bef3092e76 Add test on RoomDetailsView 2024-02-22 15:31:58 +01:00
Benoit Marty
f40a3b8f21 Use aRoomNotificationSettings. 2024-02-22 15:25:26 +01:00
Benoit Marty
3684761bcd Add test on RoomDetailsView 2024-02-22 15:23:22 +01:00
Benoit Marty
66514f7756 Add parameter to avoid copy of objects. 2024-02-22 14:43:17 +01:00
Benoit Marty
0f97f76089 Create extension to cleanup LogoutViewTest 2024-02-22 14:32:18 +01:00
Benoit Marty
8c2ff7bcc2 Add test on DefaultDirectLogoutView 2024-02-22 14:28:17 +01:00
Benoit Marty
016081e07e Add more states in DirectLogoutStateProvider 2024-02-22 14:03:59 +01:00
renovate[bot]
6b374a7c5a
Update dependency com.posthog:posthog-android to v3.1.9 2024-02-22 12:27:41 +00:00
Benoit Marty
7b43f64ce4 Add DirectLogoutStateProvider, and add preview for DefaultDirectLogoutView 2024-02-22 12:53:38 +01:00
Benoit Marty
a3f7d55a64 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
fd555b1070 Move getAdditionalCertificates function to a dedicated class (no change in the implementation). 2024-02-22 11:09:55 +01:00
Benoit Marty
1751920d42
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
f68087bc79
Merge pull request #2421 from element-hq/feature/bma/lastSessionRecovery
Last session recovery
2024-02-22 08:47:50 +01:00
renovate[bot]
155d52dc17
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
f35731a72f
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
6548aafd23 Changelog 2024-02-21 18:39:21 +01:00
Benoit Marty
d3d76ddd76 Cleanup after rebase. 2024-02-21 18:34:15 +01:00
Benoit Marty
1c4e02797b Fix test clicking on enter recovery key calls the expected callback 2024-02-21 18:30:57 +01:00
Benoit Marty
57900eadbf Add more tests on RoomListView 2024-02-21 18:30:57 +01:00
Benoit Marty
379cdb22fb Add tests on RoomListView (e2e banner) 2024-02-21 18:30:57 +01:00
Benoit Marty
7d41fbffbc Remove empty line. 2024-02-21 18:30:57 +01:00
Benoit Marty
8605efc3df Add tests on VerifySelfSessionView 2024-02-21 18:30:57 +01:00
Benoit Marty
849f1021fd Improve test framework. 2024-02-21 18:30:57 +01:00
Benoit Marty
67190bdd1d Fix parameter order. 2024-02-21 18:30:57 +01:00
Benoit Marty
3f7d4ae0e5 Fix compilation issue on minimal. 2024-02-21 18:30:57 +01:00
Benoit Marty
0927821219 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
661b9d8653 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
6ddc2f5814 Make isLastSession "live" 2024-02-21 18:30:57 +01:00
Benoit Marty
daa90a0660 Remove feature flag SecureStorage 2024-02-21 18:30:57 +01:00
Benoit Marty
99b8efbeff 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
a495548ada Update screenshots 2024-02-21 18:30:08 +01:00
Benoit Marty
600557fd53 Remove unused val. 2024-02-21 18:30:08 +01:00
Benoit Marty
347edb67ab Fix tests. 2024-02-21 18:30:08 +01:00
Benoit Marty
4990aa38d3 Do not show the RecoveryKeyConfirmation banner if the sync is not Running. 2024-02-21 18:30:08 +01:00
Benoit Marty
4345f26d0b Add a way to enter recovery key to verify the session. 2024-02-21 18:30:08 +01:00
Benoit Marty
42e990e472 Do the opposite (was it a bug 🤔) 2024-02-21 18:30:08 +01:00
Benoit Marty
e959ca0186 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
663c7ceefe Sync strings. 2024-02-21 18:30:08 +01:00
Benoit Marty
4bc977d8dc 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
7ec876bc8a Rename isLastSession to isLastDevice, to match SDK naming. 2024-02-21 18:25:45 +01:00