Commit Graph

5849 Commits

Author SHA1 Message Date
Damir Jelić e9d3bfda45 Add a changelog fragment for the user-installed certs feature 2024-02-21 13:18:17 +01:00
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
2024-02-21 13:18:11 +01:00
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
2024-02-21 12:16:00 +01:00
ganfra 7532f96c4f 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 b814a101b5 Fix sample compilation 2024-02-20 10:59:13 +01:00
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>
2024-02-20 10:07:06 +01:00
ganfra 9669f84766 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 d6c81c207c rust sdk : should fix test 2024-02-19 21:52:19 +01:00
ganfra f171dc94da rust sdk : fix api changes 2024-02-19 21:35:31 +01:00
renovate[bot] e40f5606af Update dependency org.matrix.rustcomponents:sdk-android to v0.2.3 2024-02-19 19:36:17 +00:00
ganfra e69b62bfa1 Merge branch 'develop' into feature/fga/add_some_analytics 2024-02-19 17:52:16 +01:00
ganfra 66030aeb64 Analytics : add analytics on read status and favorite toggles 2024-02-19 17:38:17 +01:00
Benoit Marty 72e5e4481f Merge pull request #2407 from element-hq/renovate/kotlin
Update kotlin
2024-02-19 16:28:09 +01:00
Benoit Marty 4daf2b0150 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 354e82d489 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 0a6f00e9df 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 4fc9947a9e Remove extra new line. 2024-02-19 14:17:18 +01:00
Benoit Marty 973aef4c72 Add test for RoomListEvents.ToggleSearchResults. 2024-02-19 13:52:01 +01:00
Benoit Marty 99773bc7e0 Kover: ignore io.element.android.features.leaveroom.fake.FakeLeaveRoomPresenter 2024-02-19 13:42:15 +01:00
Benoit Marty 8961147844 Add test for MessageComposerEvents.SendUri 2024-02-19 13:42:15 +01:00
Benoit Marty 1734c43951 Add test for MessagesEvents.HandleAction(TimelineItemAction.EndPoll) 2024-02-19 13:42:15 +01:00
Benoit Marty 1d10796625 Add first tests for BlockUserDialogs 2024-02-19 13:42:15 +01:00
Benoit Marty f372fd27cf 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 3cbbde7c3e Add first tests for ShowLocationView 2024-02-19 13:36:08 +01:00
Benoit Marty 367e4bdbda Introduce fun aShowLocationState to reduce boilerplate code. 2024-02-19 13:35:24 +01:00
Benoit Marty 1e7c9b2256 Remove warning in tests 2024-02-19 13:35:24 +01:00
renovate[bot] bb0cfee0b8 Update dependency com.posthog:posthog-android to v3.1.8 2024-02-19 11:32:23 +00:00
ganfra 4f4a73fe64 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
ganfra bdb660f346 RoomList : clean after PR review 2024-02-19 12:08:11 +01:00
renovate[bot] 22ab4e716b Update dependency me.saket.telephoto:zoomable-image-coil to v0.8.0 (#2409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 11:36:33 +01:00
Jorge Martin Espinosa 0918f9ed29 Improve how Talkback works with the timeline (#2404)
* Improve how Talkback works with the timeline

* Fix interaction test by adding test tag

* Disable reverse layout when a screen reader is enabled

This messes up with the ordering, but fixes the scrolling when a screen reader is used.
2024-02-19 11:36:15 +01:00
ganfra 94d486be84 Merge pull request #2406 from element-hq/renovate/com.google.truth-truth-1.x
Update dependency com.google.truth:truth to v1.4.1
2024-02-19 10:53:50 +01:00
Jorge Martin Espinosa ff2ab454f1 Merge pull request #2403 from element-hq/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.8.1
2024-02-19 09:29:27 +01:00
renovate[bot] 31cadb00cd Update kotlin 2024-02-17 01:51:52 +00:00
ganfra a5faa56dc8 RoomList: try to fix the test in ci... 2024-02-17 00:46:41 +01:00
ganfra 939f24cec5 RoomList : remove direct dependency to the RoomListSearchPresenter 2024-02-16 23:41:59 +01:00
renovate[bot] 1425f7cf74 Update dependency com.google.truth:truth to v1.4.1 2024-02-16 21:13:27 +00:00
ElementBot ceaf1a78ab Update screenshots 2024-02-16 20:18:28 +00:00
ganfra ec162b5f90 RoomList : fix formatting 2024-02-16 19:46:56 +01:00
ganfra e6424289a4 RoomList : fix sample compilation 2024-02-16 19:45:11 +01:00
ganfra ebb07de8a4 RoomList : rework how search is done to prepare for later filtering 2024-02-16 19:35:03 +01:00
Benoit Marty 2bed671c00 Merge pull request #2401 from element-hq/renovate/kotlin
Update kotlin to v1.8.0
2024-02-16 13:34:43 +01:00
renovate[bot] 216ed575b9 Update mobile-dev-inc/action-maestro-cloud action to v1.8.1 2024-02-16 12:12:29 +00:00
ganfra 34ab25e0d1 Merge pull request #2397 from element-hq/feature/fga/mark_room_as_favorite
Feature/fga/mark room as favorite
2024-02-15 17:18:24 +01:00
renovate[bot] 654fdfc169 Update kotlin to v1.8.0 2024-02-15 15:37:14 +00:00
ganfra 3893db3c21 favorites : fix formating 2024-02-15 16:23:05 +01:00
ganfra 4a9f75be9a Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-15 15:55:26 +01:00
ganfra 25047f7093 favorite : use distinctUntilChanged 2024-02-15 15:54:53 +01:00
Jorge Martin Espinosa 6adff9a4f3 Merge pull request #2399 from element-hq/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.5
2024-02-15 14:15:52 +01:00
ganfra 6ef50081bd favorite : apply pr review remarks 2024-02-15 13:25:37 +01:00