Commit Graph

8354 Commits

Author SHA1 Message Date
Benoit Marty
23fc5bc384 Add unit test on RoomPreviewMapper 2024-09-18 17:16:06 +02:00
Benoit Marty
99d9253e9a Add unit test on RoomDescriptionMapper 2024-09-18 17:16:06 +02:00
Benoit Marty
149cf7313b Add unit test on SyncServiceState.toSyncState 2024-09-18 17:16:06 +02:00
Benoit Marty
662e79871c Add unit test on UserSearchResultMapper 2024-09-18 17:16:06 +02:00
Benoit Marty
292e587276 Add unit test on UserProfileMapper 2024-09-18 17:16:06 +02:00
Benoit Marty
07258052e4 Add unit test on toRoomType 2024-09-18 17:16:06 +02:00
Benoit Marty
d13c9d9851 Add unit test on ReceiptType.toRustReceiptType() 2024-09-18 17:16:06 +02:00
Benoit Marty
b540b4796e Add unit test on MatrixRoomInfoMapper 2024-09-18 17:16:06 +02:00
Benoit Marty
7626ace24c Change type of items in activeRoomCallParticipants from String to UserId 2024-09-18 17:16:06 +02:00
Benoit Marty
b842a53106 Change type of items in alternativeAliases from String to RoomAlias 2024-09-18 17:16:06 +02:00
Benoit Marty
33f8d2d013 Add unit test on MessageEventType mappers 2024-09-18 17:16:06 +02:00
Benoit Marty
9e59aac6c7 Add unit test on elementHeroes() 2024-09-18 17:16:06 +02:00
Benoit Marty
0c37938f44 Add unit test on mappers 2024-09-18 17:16:06 +02:00
Benoit Marty
e5fdfc366b Ensure mapping of Rust exceptions cover all cases. 2024-09-18 17:16:06 +02:00
Benoit Marty
f028e902db Add unit test on crypto mappers 2024-09-18 17:16:06 +02:00
Benoit Marty
1ae10364ae Add unit test on providesTracingFilterConfiguration 2024-09-18 17:16:06 +02:00
Benoit Marty
6296cf25d9 Add unit test on ProgressWatcherWrapper 2024-09-18 17:16:06 +02:00
Benoit Marty
a77f408432 Make sure Throwable.mapAuthenticationException() is exhaustive on mapping ClientBuildException and add test for full coverage. 2024-09-18 17:16:06 +02:00
Benoit Marty
03eb7521ba Add unit test on QrLoginProgress.toStep() 2024-09-18 17:16:06 +02:00
Benoit Marty
c3bb7ef84f Add unit test on QrErrorMapper 2024-09-18 17:16:06 +02:00
Benoit Marty
9578d67981 Add unit test on toAnalyticsJoinedRoom and fix a mapping issue. 2024-09-18 17:16:06 +02:00
Jorge Martin Espinosa
cb3c5d0c49 Fix sliding sync proxy login not working after native SS failure (#3489) 2024-09-18 17:02:49 +02:00
Benoit Marty
874fb491ab Merge pull request #3488 from element-hq/feature/bma/cleanupAndFixtures
Cleanup and fixtures for SDK classes.
2024-09-18 15:51:32 +02:00
ganfra
212b948399 Merge pull request #3485 from element-hq/feature/fga/iterate_send_failure_verification
Iterate send failure verification
2024-09-18 15:04:34 +02:00
Benoit Marty
d7c92e3824 Cleanup tests. 2024-09-18 14:26:45 +02:00
Benoit Marty
d9f96b8fb3 Move FakeRust classes and factories to a fixtures package 2024-09-18 14:23:07 +02:00
Benoit Marty
7f7612ef12 Code cleanup 2024-09-18 14:14:10 +02:00
Benoit Marty
406c000ecd Merge pull request #3481 from element-hq/feature/bma/testAccounteDeactivationView
Add tests on AccountDeactivationView
2024-09-18 13:58:18 +02:00
Benoit Marty
bf7a99d9cd Merge pull request #3486 from element-hq/feature/bma/fixRoomAliasMatcch
Distinguish between roomId and roomAlias.
2024-09-18 13:56:00 +02:00
Jorge Martin Espinosa
8c2a6a54af Make sure the logout action doesn't cause a crash (#3480)
* Make sure the logout doesn't cause a crash

Some reasons why this could happen:
1. The `ClientDelegate` could receive a `didReceiveAuthError` callback call on a logout, which could trigger another logout when every Rust object had already been destroyed.
2. Even though we stop the sync before logging out, `LoggedInFlowNode` will try to start it again automatically when it detects we still have internet connection.

Making sure to unregister the delegate should fix the first part of the issue.

For the other one, adding `RustSyncService.isServiceReady` to check if we should start/stop the service, which is enabled by default and set to false on destroy should help.

* Apply the same patch on account deactivation.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-09-18 11:54:54 +00:00
Benoit Marty
5893b4d0b4 Distinguish between roomId and roomAlias. 2024-09-18 12:27:07 +02:00
ganfra
3f0ecc6674 Resolve send failure verification : clearer message when unsigned device is from you 2024-09-18 11:30:50 +02:00
Benoit Marty
9b9ce9e93a Add tests on AccountDeactivationView 2024-09-17 21:17:04 +02:00
Benoit Marty
aa696fb158 Changelog for version 0.6.2 2024-09-17 20:33:16 +02:00
Benoit Marty
4ec15284e7 version++ 2024-09-17 20:06:10 +02:00
Benoit Marty
064ab14423 Merge tag 'v0.6.2' into develop
tag
2024-09-17 20:05:29 +02:00
Benoit Marty
0881ae87b4 Merge branch 'release/0.6.2' into main 2024-09-17 20:05:17 +02:00
Benoit Marty
9f92ae03cc Adding fastlane file for version 0.6.2 2024-09-17 20:05:14 +02:00
Benoit Marty
549fce4fec Merge pull request #3479 from element-hq/bma/accountDeactivation
Account deactivation.
2024-09-17 18:38:50 +02:00
ElementBot
9437d0650a Update screenshots 2024-09-17 15:54:22 +00:00
Benoit Marty
c1d5d36f68 Fix screen title 2024-09-17 17:42:52 +02:00
Benoit Marty
c878e9beb5 Make text parts in bold. 2024-09-17 17:39:23 +02:00
Benoit Marty
effb1c57fe Fix icon tint issue. 2024-09-17 17:30:38 +02:00
ElementBot
0d15be441a Update screenshots 2024-09-17 15:13:22 +00:00
Benoit Marty
ea355d29ed Account deactivation. 2024-09-17 16:51:11 +02:00
ganfra
dee63656e5 Resolve send failure verification : fix crash when dismissing. 2024-09-17 16:17:08 +02:00
Benoit Marty
63b64a83aa Changelog for version 0.6.1 2024-09-17 14:36:12 +02:00
Benoit Marty
c3c1e62e65 Merge tag 'v0.6.1' into develop 2024-09-17 14:03:12 +02:00
Benoit Marty
8692d74b29 version++ 2024-09-17 14:02:39 +02:00
Benoit Marty
9e1c5dfbaa Merge branch 'release/0.6.1' into main 2024-09-17 14:00:40 +02:00