Commit Graph

8341 Commits

Author SHA1 Message Date
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
Benoit Marty
028e344051 Adding fastlane file for version 0.6.1 2024-09-17 14:00:36 +02:00
Benoit Marty
883cab8b05 Merge pull request #3475 from element-hq/feature/bma/sdk0.2.46
SDK 0.2.46
2024-09-17 13:57:10 +02:00
Benoit Marty
3e922e884a Merge pull request #3477 from element-hq/sync-localazy
Sync Strings
2024-09-17 13:56:49 +02:00
bmarty
30052d6a93 Sync Strings from Localazy 2024-09-17 11:44:31 +00:00
Benoit Marty
3ab4771c0e Merge pull request #3476 from element-hq/sync-localazy
Sync Strings
2024-09-17 13:32:14 +02:00
bmarty
97cf19cb71 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
Benoit Marty
2aac22ac0f SDK 0.2.46
f576c72ef8cf4d735e3f91e9ec52aba0278c643f
2024-09-17 12:23:09 +02:00
Benoit Marty
9c94a42b25 Merge pull request #3472 from element-hq/feature/bma/sdkUpgrade2
Upgrade Rust sdk to 0.2.45
2024-09-17 12:22:18 +02:00
Benoit Marty
750e0312c7 Fix test compilation issue. 2024-09-17 11:01:28 +02:00
Benoit Marty
70a5756369 Use new API awaitRoomRemoteEcho to ensure that the room is ready SDK side. 2024-09-17 10:59:26 +02:00
Benoit Marty
6117a23ed5 Use new API awaitRoomRemoteEcho to wait for the created room to be available. 2024-09-17 10:21:27 +02:00
Benoit Marty
1348a26d1b SDK 0.2.45
abbe2ec52316c998c3894989b9c48b3781967d26
2024-09-17 10:04:28 +02:00
Benoit Marty
f085751dd7 Merge pull request #3469 from element-hq/sync-localazy
Sync Strings
2024-09-16 22:27:52 +02:00