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
renovate[bot]
d670d451c1
Update dependency io.sentry:sentry-android to v7.4.0
2024-02-21 14:03:29 +00:00
Damir Jelić
eab9ffb6d0
Add a changelog fragment for the user-installed certs feature
2024-02-21 13:18:17 +01:00
Damir Jelić
237235c17e
Add the user certificates as additional certificates to the ClientBuilder
...
Now, this is a story all about how
Certificates work in Android town
And I'd like to take a minute
Enter, close the door
I'll tell you how I've figured out the inner workings of the Keystore
Well it all boils down the fact that Google got scared
It said, "You're certs are movin' to a place you won't find".
So the directory, user certificates are stored, is hard to find, and possibly
not readable by your application[1]. Instead, we need to use the Keystore[2]
API, specifically we'll need to open the `AndroidCAStore` Keystore type.
The various Keystore types are supposedly documented[3], but I'm failing to
find a logical path that would lead you to conclude that:
a) System certificates can or should be accessed using the Keystore,
specifically the AndroidCAStore type
b) User certificates can be found in the same Keystore type as the system
certificates
So this was mostly found using random googling, swearing, and a couple of
educated guesses.
[1]: https://android-developers.googleblog.com/2016/07/changes-to-trusted-certificate.html
[2]: https://developer.android.com/reference/java/security/KeyStore
[3]: https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html#keystore-types
2024-02-21 13:18:11 +01:00
Jorge Martin Espinosa
e7ed466b4f
Do not display empty room list state before the loading one ( #2402 )
...
* Do not display empty room list state before the loading one
2024-02-21 12:16:00 +01:00
ganfra
dbc442e239
Merge pull request #2416 from element-hq/feature/fga/add_some_analytics
...
Analytics : add analytics on read status and favorite toggles
2024-02-20 13:51:33 +01:00
ganfra
d011b4e22f
Fix sample compilation
2024-02-20 10:59:13 +01:00
Jorge Martin Espinosa
c5dcd419ce
Display banned users in room member list ( #2415 )
...
* Display banned users in room member list
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-20 10:07:06 +01:00
ganfra
cc721b6c87
Merge pull request #2417 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
...
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.3
2024-02-19 22:43:54 +01:00
ganfra
f0f009b023
rust sdk : should fix test
2024-02-19 21:52:19 +01:00
ganfra
2934682e57
rust sdk : fix api changes
2024-02-19 21:35:31 +01:00
renovate[bot]
643e2c4f94
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.3
2024-02-19 19:36:17 +00:00
ganfra
ac792006dd
Merge branch 'develop' into feature/fga/add_some_analytics
2024-02-19 17:52:16 +01:00
ganfra
4052abf15c
Analytics : add analytics on read status and favorite toggles
2024-02-19 17:38:17 +01:00
Benoit Marty
a02129ca95
Merge pull request #2407 from element-hq/renovate/kotlin
...
Update kotlin
2024-02-19 16:28:09 +01:00
Benoit Marty
6d99c048a0
Merge pull request #2411 from element-hq/renovate/com.posthog-posthog-android-3.x
...
Update dependency com.posthog:posthog-android to v3.1.8
2024-02-19 16:16:52 +01:00
Benoit Marty
afec6370c1
Merge pull request #2413 from element-hq/feature/bma/unitTests
...
Add more unit tests
2024-02-19 16:15:28 +01:00
Jorge Martin Espinosa
87823fe8a4
Sort the room member list and display member roles ( #2412 )
...
* Sort the room member list and display member roles
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-19 15:03:36 +00:00
Benoit Marty
af819dee6e
Remove extra new line.
2024-02-19 14:17:18 +01:00
Benoit Marty
a48e87a0bf
Add test for RoomListEvents.ToggleSearchResults.
2024-02-19 13:52:01 +01:00