Commit Graph

904 Commits

Author SHA1 Message Date
Benoit Marty 797c912ccd Implement Knock action (until the SDK level) 2024-04-19 18:11:13 +02:00
Benoit Marty f29e79d64e Change API MatrixClient.joinRoom(roomId: RoomId): Result<RoomId> to MatrixClient.joinRoom(roomId: RoomId): Result<Unit> 2024-04-19 18:11:13 +02:00
Benoit Marty 64e22bc2f1 Use now available SDK API. 2024-04-18 15:45:48 +02:00
Benoit Marty 4e55c9aa4e Please ktlint 2024-04-18 10:57:18 +02:00
Benoit Marty 5aa0ffea34 String -> RoomAlias 2024-04-18 00:43:34 +02:00
Benoit Marty b8d87d4e75 Ignore too generic exceptions (temporary code). 2024-04-18 00:03:21 +02:00
Benoit Marty c9580ad1e5 Remove extra space. 2024-04-18 00:03:21 +02:00
Benoit Marty 2eb545cd11 Add test to JoinRoomPresenter to cover RoomPreview 2024-04-18 00:03:19 +02:00
Benoit Marty 12b230594b Fix JoinRoomPresenterTest 2024-04-18 00:03:19 +02:00
Benoit Marty 6a125bbb1b Add test on RoomAliasResolverPresenter 2024-04-18 00:03:18 +02:00
Benoit Marty 7a7fb2aa54 Comment out SDK usage. 2024-04-18 00:03:18 +02:00
Benoit Marty b7d214fa56 Update extension. 2024-04-18 00:03:17 +02:00
Benoit Marty b6e30833da Add name to call arguments. 2024-04-18 00:03:17 +02:00
Benoit Marty 96203824ac Handle navigation to the same room. 2024-04-18 00:03:16 +02:00
Benoit Marty 235ef2a71b Resolve RoomId in RoomFlowNode. 2024-04-18 00:03:15 +02:00
Benoit Marty 09faa6d1c9 Simplify PermalinkData, now that we have RoomIdOrAlias interface. 2024-04-18 00:03:15 +02:00
Benoit Marty ea3a1f363a Alias permalink navigation - WIP 2024-04-18 00:03:14 +02:00
Benoit Marty 8327ea306f Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
Benoit Marty ecd1bf76e2 Use RoomId and RoomAlias in MatrixRoomInfo 2024-04-18 00:02:10 +02:00
Benoit Marty bd12ff737b Introduce value class RoomAlias 2024-04-18 00:02:09 +02:00
Benoit Marty 68346dd782 Add MatrixClient.getRoomPreview method. 2024-04-18 00:00:36 +02:00
Benoit Marty 37fa6548c4 Add MatrixClient.resolveRoomAlias method. 2024-04-18 00:00:36 +02:00
ganfra 0cda5b9e90 Merge pull request #2714 from element-hq/feature/fga/room_list_invites
[Feature] Room list invites
2024-04-17 23:04:31 +02:00
ganfra 90e273cd65 Room list invites: address some remarks and add small tests 2024-04-17 22:02:44 +02:00
Benoit Marty f2ff326938 Observe ignoredUsersFlow to have live data about blocked user.
This will also ensure that blocking a user will work even if the user is not a member of the room (preparatory work for user permalink)
2024-04-17 13:21:52 +02:00
ganfra e72983f1b8 RoomList invites : update and remove tests 2024-04-16 15:45:57 +02:00
ganfra 3e13191153 RoomList : make invite filter truly exclusive 2024-04-16 11:53:40 +02:00
ganfra 43e336cb72 RoomList : add invite filter 2024-04-15 22:50:43 +02:00
Benoit Marty 9ee36e9ca4 Remove unnecessary tests. 2024-04-15 17:57:15 +02:00
Benoit Marty 3df328b1ab Parse permalink using parseMatrixEntityFrom.
Create new PermalinkData type for link to Events.
Keep matrixToConverter for now to first convert to matrix.to link. At some point it may be done by the SDK.
Remove parse(Uri)
2024-04-15 17:47:40 +02:00
ganfra 9d87240f4c Room list : activate merged invites in Client 2024-04-15 16:58:07 +02:00
Benoit Marty 6b301ac37f Use org.matrix.rustcomponents.sdk.matrixToUserPermalink to build permalinks for user. 2024-04-15 16:24:56 +02:00
Benoit Marty 294f1f2d96 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
Benoit Marty 7b14a0e4c8 Merge pull request #2704 from element-hq/feature/bma/encryptDbRelease
Encrypt new session data with a passphrase
2024-04-15 15:59:15 +02:00
ganfra e19cd28879 Merge pull request #2695 from element-hq/feature/fga/room_navigation
Room navigation
2024-04-15 12:55:29 +02:00
Benoit Marty 3e52a4f3bd Encrypt new session data with a passphrase #2703 2024-04-15 11:02:16 +02:00
ganfra 11979167c5 Room navigation : some clean up 2024-04-12 15:58:15 +02:00
ganfra a2329fc7df Join room : change state and view 2024-04-12 14:10:32 +02:00
ganfra fbb92f0c9a Room navigation : fix tests on invite after the refactoring 2024-04-11 16:50:09 +02:00
ganfra 73f276ba8e Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
Benoit Marty ffede8b13b Use productionApplicationName, set to "Element", instead of "Element X", and use ot for screen_onboarding_welcome_message 2024-04-10 16:45:14 +02:00
Benoit Marty 075510c425 Add desktopApplicationName to BuildMeta. 2024-04-10 12:36:41 +02:00
ganfra 9604acb75a Room navigation : more reliable roomInfoFlow method 2024-04-10 11:41:06 +02:00
Jorge Martin Espinosa 1045f99d18 Add SessionData.needsVerification field (#2672)
* Add `SessionData.needsVerification`:
  - Allows us to add a skip button for debug builds.
  - We can have the verification state almost instantly.
  - It doesn't depend on network availability to know the verification state and display the UI.
* Add DB migration.
- Make the skip button in the verification flow skip the whole flow including the completed screen.
- Save the session as verified in `RustEncryptionService.recover(recoveryKey)`.
* Enforce session verification for existing users too.
* Fix verification confirmed screen subtitle (typo in id, was using the wrong string)
* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:28:12 +02:00
Benoit Marty 1c66254e74 Add suggestion of users when starting a Chat #2634 2024-04-08 13:53:55 +02:00
Benoit Marty 649204238c Add functions trackRecentlyVisitedRoom and getRecentlyVisitedRooms 2024-04-08 11:40:41 +02:00
Jorge Martin Espinosa 8e2f7a35cb Categorise members by role in the ChangeRoles screen (#2595)
* Categorise members by role in the ChangeRoles screen

* Fix automatic reload of member list when either the membership or power levels change

* Replace empty space with disabled checkbox

* Add 'pending' label to members who are in invited state

* Implement new designs

* Fix string issue in confirm recovery key screen

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 08:54:38 +00:00
ganfra 01d45377f6 Room navigation : do not replay RoomMembership Changes 2024-04-05 17:57:38 +02:00
Benoit Marty c0caa907aa Move usersWithRole() function to a dedicated file and make it a documented extension of MatrixRoom. 2024-04-05 12:43:41 +02:00
Benoit Marty 34f3208fc0 Fix documentation 2024-04-05 12:07:11 +02:00