Benoit Marty
66aa342d73
Import string again with new post processing.
2024-02-26 21:36:28 +01:00
bmarty
54ef435d9c
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Jorge Martin Espinosa
f0700f9904
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 >
2024-02-26 15:24:22 +00:00
Benoit Marty
b6b120b489
Merge pull request #2435 from element-hq/feature/bma/proxyConfig
...
Provide global proxy to the SDK
2024-02-26 11:01:18 +01:00
Benoit Marty
9cace3c1de
Log the fact that the application is using the global proxy.
2024-02-26 11:01:01 +01:00
ganfra
2c8c43f5d3
Merge pull request #2438 from element-hq/feature/fga/improve_media_viewer
...
[Improvement] MediaViewer/Attachment experience
2024-02-26 10:39:02 +01:00
Benoit Marty
a536ba583b
Also log the filter value.
2024-02-26 10:21:13 +01:00
ganfra
9c119d3c49
MediaViewer : fix konsist
2024-02-23 18:55:45 +01:00
Benoit Marty
c746a0acc5
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
ganfra
f0483b8fdb
MediaViewer : introduce fullscreen and flick to dismiss behavior
2024-02-23 16:55:41 +01:00
Benoit Marty
37e85b4db0
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty
9119a7b7fb
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
ec82072b4d
Provide global proxy to the SDK
2024-02-23 11:49:35 +01:00
ganfra
0f563d712a
Merge pull request #2422 from element-hq/feature/fga/room_list_filters
...
[Feature] Room list filters
2024-02-22 22:59:28 +01:00
Benoit Marty
4477328cf2
Merge pull request #2429 from element-hq/feature/bma/testRecoveryKey
...
Test recovery key
2024-02-22 17:37:11 +01:00
Benoit Marty
3d94310d02
Merge pull request #2432 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
...
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.4
2024-02-22 17:36:03 +01:00
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
Jorge Martín
1e6895ba80
Add null proxy parameter to RustAuthenticationService
2024-02-22 17:01:27 +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
236725dfb2
Merge try blocks.
2024-02-22 16:06:01 +01:00
Benoit Marty
6801ef9524
Add test on RoomDetailsView
2024-02-22 15:23:22 +01:00
Benoit Marty
d51430dfe4
Create extensions backupStateFlow() and recoveryStateFlow.
2024-02-22 12:37:44 +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
ganfra
77ba3f905a
Merge develop into feature/fga/room_list_filters
2024-02-22 11:15:43 +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
64db9fa173
Add TestTag to the Recovery key field.
2024-02-22 10:25:47 +01:00
Benoit Marty
229ee205d8
Use mxCallbackFlow
2024-02-22 09:11:08 +01:00
ganfra
35319c7c05
RoomListFilters : add more tests.
2024-02-21 20:55:49 +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
4ed353aa56
Fix tests.
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
ganfra
3629a7a523
Merge develop into feature/fga/room_list_filters
2024-02-21 13:20:40 +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
e7c1cbe65e
RoomListFilters: try to improve ui with animation and fading edges
2024-02-20 21:17:16 +01:00
ganfra
8f5ea76ab8
RoomListFilters: add feature flag
2024-02-20 12:36:20 +01:00
ganfra
dd7c2cbf9a
RoomListFilters : branch the logic
2024-02-20 11:17:15 +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
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
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
bedf3b9e3e
Add test for RoomListEvents.DismissRecoveryKeyPrompt.
...
Also get the encryptionService from the matrixClient, instead of injecting it separately.
2024-02-19 13:36:08 +01:00
Benoit Marty
b48aa45d51
Add first tests for ShowLocationView
2024-02-19 13:36:08 +01:00
ganfra
615ce72131
Merge pull request #2405 from element-hq/feature/fga/room_list_refact_search
...
RoomList : rework how search is done to prepare for later filtering
2024-02-19 12:31:52 +01:00