Commit Graph

8323 Commits

Author SHA1 Message Date
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
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
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
bmarty
e0c24c0f1c Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
Benoit Marty
8c424c63e6 Merge pull request #3467 from element-hq/feature/bma/accountCreation
Temporary account creation using Element Web.
2024-09-16 16:52:26 +02:00
ganfra
7fcccea43f Merge pull request #3438 from element-hq/feature/fga/pinned_messages_actions
Update pinned message actions
2024-09-16 16:11:13 +02:00
ganfra
60365e46a5 Merge pull request #3461 from element-hq/feature/fga/send_failure_identity_changes
Require acknowledgement to send to a verified user if their identity changed or if a device is unverified.
2024-09-16 16:00:18 +02:00
Benoit Marty
505a67e4a2 Remove wrong comment 2024-09-16 15:59:31 +02:00
ganfra
1162b86c01 Merge branch 'develop' into feature/fga/pinned_messages_actions 2024-09-16 15:24:22 +02:00
ganfra
6c29b5c694 Send failure verified user : add some comments and logs. 2024-09-16 15:22:40 +02:00
Jorge Martin Espinosa
b91d13b466 Fix not being able to decline an invite from the room list (#3466)
* Add `InvitedRoom` to wrap Rust SDK Rooms in 'invited' membership state.

At the moment, this is a wrapper that allows us to call `Room.leave()` without having to initialise the room's timeline (which is impossible).

* Add `MatrixRoom.getInvitedRoom(roomId)` to get one of these rooms.

Also, `RustRoomFactory` now has a `createInvitedRoom` method for this.

* Adapt `AcceptDeclineInvitePresenter` to use the new APIs.
2024-09-16 13:02:20 +00:00
Benoit Marty
e209c30c06 Fix quality and failing test. 2024-09-16 14:26:12 +02:00
ElementBot
0e9c0450d9 Update screenshots 2024-09-16 10:50:01 +00:00
Benoit Marty
554797099f Fix compilation error 2024-09-16 12:39:40 +02:00
Benoit Marty
34a577d63d Temporary account creation flow is only supported on matrix.org 2024-09-16 12:24:47 +02:00
Benoit Marty
3f06664d88 Open external url (like terms and condition) in a Custom Chrome Tab, and disable to "Leave page" dialog. 2024-09-16 12:24:47 +02:00
Benoit Marty
bed7776674 Account Creation using a WebView 2024-09-16 12:24:47 +02:00
Benoit Marty
6efa31257d Enable account creation and iterate on the Button design 2024-09-16 12:12:35 +02:00
Benoit Marty
c87353516c Merge pull request #3464 from element-hq/sync-localazy
Sync Strings
2024-09-16 11:50:11 +02:00
Jorge Martin Espinosa
03786c1fd2 Add forced logout flow when the proxy is no longer available (#3458)
* Add `MatrixClient.isSlidingSyncProxySupported` function

* Update localazy strings

* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.

Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.

* Check if a forced migration to SSS is needed because the proxy is no longer available.

In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.

* Enable native/simplified sliding sync by default.

* Refactor the login to make sure we:

1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).

* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00
bmarty
e840974dc5 Sync Strings from Localazy 2024-09-16 00:25:04 +00:00