renovate[bot]
05ca8c959b
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.6 ( #2482 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.6
* Update SDK changes
* Fix tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
8 months ago
Benoit Marty
c6c00a60d4
Need a default value for Modifier.
8 months ago
Benoit Marty
7b1e57c9f4
Fix preview error of MediaVideoView.
8 months ago
bmarty
4f81fe2090
Sync Strings from Localazy
8 months ago
bmarty
7710876089
Sync Strings from Localazy
8 months ago
ganfra
bd87e99df1
RoomListFilters : use kotlin filtering as rust one is slower and has more chance to bust the room list cache.
8 months ago
Benoit Marty
0df33bf3e6
An interface is enough.
8 months ago
Benoit Marty
e90b09b9cf
Fix import order.
8 months ago
Benoit Marty
b634fb43e2
Add test for DatabaseSessionStore.getAllSessions(), and update data when session is not found.
8 months ago
Benoit Marty
eacb515e14
Add test on DefaultSessionObserver.
8 months ago
Benoit Marty
38bb166298
Remove useless log.
8 months ago
Benoit Marty
cbf6e2383d
Add test on TextField for `TextFieldValue` parameter
8 months ago
Benoit Marty
f484be0e0b
Renaming function for code clarity.
8 months ago
Benoit Marty
43b5b2196e
Add test on MediaViewerView
8 months ago
Benoit Marty
6d31c7d1d3
Import string again with new post processing.
8 months ago
bmarty
5c8be8f61f
Sync Strings from Localazy
8 months ago
Jorge Martin Espinosa
cdf89adcd2
Show blocked users list ( #2437 )
...
* Show blocked users list.
Also allow to unblock them from this list.
* Add non-blocking `AsyncIndicatorHost` component
* Use `StateFlow` for getting ignored users.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
8 months ago
Benoit Marty
0994960b79
Log the fact that the application is using the global proxy.
8 months ago
Benoit Marty
d169388a80
Also log the filter value.
8 months ago
ganfra
3a5f3c04d2
MediaViewer : fix konsist
9 months ago
Benoit Marty
b9933acf98
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
9 months ago
ganfra
22676cc5eb
MediaViewer : introduce fullscreen and flick to dismiss behavior
9 months ago
Benoit Marty
5e0b705d44
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
9 months ago
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
9 months ago
Benoit Marty
ec007a2b21
Provide global proxy to the SDK
9 months ago
Jorge Martín
9198cb19ac
Add `null` proxy parameter to `RustAuthenticationService`
9 months ago
Benoit Marty
8428823c76
Add test about clicking an Avatar in a DM room detail.
9 months ago
Benoit Marty
9fed868968
Merge try blocks.
9 months ago
Benoit Marty
3684761bcd
Add test on RoomDetailsView
9 months ago
Benoit Marty
7d4cf6d574
Create extensions `backupStateFlow()` and `recoveryStateFlow`.
9 months ago
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.
9 months ago
Benoit Marty
fd555b1070
Move getAdditionalCertificates function to a dedicated class (no change in the implementation).
9 months ago
Benoit Marty
3543d9398e
Add TestTag to the Recovery key field.
9 months ago
Benoit Marty
26ea71193f
Use `mxCallbackFlow`
9 months ago
ganfra
0599f26a64
RoomListFilters : add more tests.
9 months ago
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.
9 months ago
Benoit Marty
661b9d8653
Keep references on TaskHandle, to avoid it to be garbage collected, and so the listeners are stopped.
9 months ago
Benoit Marty
6ddc2f5814
Make isLastSession "live"
9 months ago
Benoit Marty
daa90a0660
Remove feature flag `SecureStorage`
9 months ago
Benoit Marty
347edb67ab
Fix tests.
9 months ago
Benoit Marty
4345f26d0b
Add a way to enter recovery key to verify the session.
9 months ago
Benoit Marty
42e990e472
Do the opposite (was it a bug 🤔 )
9 months ago
Damir Jelić
73ba371a3e
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
9 months ago
Jorge Martin Espinosa
598bf96208
Do not display empty room list state before the loading one ( #2402 )
...
* Do not display empty room list state before the loading one
9 months ago
ganfra
7471e12bc5
RoomListFilters: try to improve ui with animation and fading edges
9 months ago
ganfra
31988e81fa
RoomListFilters: add feature flag
9 months ago
ganfra
33664c44ec
RoomListFilters : branch the logic
9 months ago
Jorge Martin Espinosa
e68139bf46
Display banned users in room member list ( #2415 )
...
* Display banned users in room member list
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
ganfra
d6c81c207c
rust sdk : should fix test
9 months ago
ganfra
f171dc94da
rust sdk : fix api changes
9 months ago