Commit Graph

622 Commits

Author SHA1 Message Date
Benoit Marty
30e0478cc0 Please ktlint 2024-04-18 10:57:18 +02:00
Benoit Marty
70f7bf7e8d Ignore too generic exceptions (temporary code). 2024-04-18 00:03:21 +02:00
Benoit Marty
9950d3c0fa Comment out SDK usage. 2024-04-18 00:03:18 +02:00
Benoit Marty
5e28bfef33 Add name to call arguments. 2024-04-18 00:03:17 +02:00
Benoit Marty
c0bd527486 Resolve RoomId in RoomFlowNode. 2024-04-18 00:03:15 +02:00
Benoit Marty
c1bb910dbd Simplify PermalinkData, now that we have RoomIdOrAlias interface. 2024-04-18 00:03:15 +02:00
Benoit Marty
c1188ebb2d Alias permalink navigation - WIP 2024-04-18 00:03:14 +02:00
Benoit Marty
a602849ec5 Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
Benoit Marty
fe7dfcb09b Use RoomId and RoomAlias in MatrixRoomInfo 2024-04-18 00:02:10 +02:00
Benoit Marty
dca3d56aa7 Introduce value class RoomAlias 2024-04-18 00:02:09 +02:00
Benoit Marty
fb3d49cc2f Add MatrixClient.getRoomPreview method. 2024-04-18 00:00:36 +02:00
Benoit Marty
0550da3e3b Add MatrixClient.resolveRoomAlias method. 2024-04-18 00:00:36 +02:00
ganfra
bbb92bcc87 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
e8bc8c1125 Room list invites: address some remarks and add small tests 2024-04-17 22:02:44 +02:00
ganfra
0e65ea8eb8 RoomList : make invite filter truly exclusive 2024-04-16 11:53:40 +02:00
ganfra
1cdf561688 RoomList : add invite filter 2024-04-15 22:50:43 +02:00
Benoit Marty
416017f1e5 Remove unnecessary tests. 2024-04-15 17:57:15 +02:00
Benoit Marty
9b6ab9b484 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
2c6620a199 Room list : activate merged invites in Client 2024-04-15 16:58:07 +02:00
Benoit Marty
8894adad86 Use org.matrix.rustcomponents.sdk.matrixToUserPermalink to build permalinks for user. 2024-04-15 16:24:56 +02:00
Benoit Marty
4c7e66e928 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
Benoit Marty
f99670eae3 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
Benoit Marty
ae09b5b69c Encrypt new session data with a passphrase #2703 2024-04-15 11:02:16 +02:00
ganfra
c0918bd965 Join room : change state and view 2024-04-12 14:10:32 +02:00
ganfra
d07df2319b Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
ganfra
fc20b7399a Room navigation : more reliable roomInfoFlow method 2024-04-10 11:41:06 +02:00
Jorge Martin Espinosa
c8b5458878 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
b68ecbf0c4 Add suggestion of users when starting a Chat #2634 2024-04-08 13:53:55 +02:00
Benoit Marty
124426e44b Add functions trackRecentlyVisitedRoom and getRecentlyVisitedRooms 2024-04-08 11:40:41 +02:00
Jorge Martin Espinosa
4057b4b9cd 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
abca950636 Room navigation : add a JoinedRoomFlowNode so we use RoomFlowNode for managing different routes 2024-04-04 20:36:16 +02:00
Benoit Marty
68ababa0be Merge pull request #2653 from element-hq/feature/bma/copyPermalink
Copy permalink
2024-04-03 17:38:38 +02:00
Jorge Martin Espinosa
8b335a9125 Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
Benoit Marty
90a03cbd4c Add action to copy permalink #2650 2024-04-03 15:37:21 +02:00
Benoit Marty
67a9765bd3 Code quality and remove reference to DefaultMatrixToConverter.SUPPORTED_PATHS in MatrixToConverter 2024-04-02 15:51:59 +02:00
Benoit Marty
e296fe2877 Move Event exclusion to the module appconfig.
It has to become an android module to be able to add a dependency on : libraries:matrix:api.
2024-04-02 14:35:58 +02:00
Benoit Marty
db3f17fd7d Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module. 2024-04-02 14:15:54 +02:00
ganfra
5ee1b8f79b Merge pull request #2620 from element-hq/feature/fga/room_directory
Feature/fga/room directory
2024-03-29 16:54:27 +01:00
ganfra
5e4eed68b5 RoomDirectory : address pr reviews 2024-03-29 11:37:00 +01:00
Benoit Marty
9ff9b92035 Compact code. 2024-03-28 18:14:31 +01:00
Benoit Marty
2db04ecda8 Fix crash observed when going back to the room list.
Protect MatrixRoom access when the room is disposed.
2024-03-28 18:14:31 +01:00
ganfra
35b12f265f Room directory : add tests and cleanup 2024-03-28 17:03:34 +01:00
ganfra
33c3dc07aa Merge branch 'develop' into feature/fga/room_directory 2024-03-28 16:15:04 +01:00
Benoit Marty
99132f39a9 Fix analytics: spaceId have the same syntax as roomId. Use MatrixRoom.isSpace instead of MatrixPatterns.isSpaceId (#2612)
Also remoce useless orFalse() calls.
2024-03-28 12:13:49 +01:00
ganfra
425eadd98f RoomDirectory : continue improving interactions 2024-03-27 12:51:36 +01:00
ganfra
0700384ef0 Room directory : implement simple join room 2024-03-26 12:32:15 +01:00
ganfra
967c1b1a02 Room directory : fix pagination and add empty state. 2024-03-25 18:21:03 +01:00
ganfra
089fbe697a RoomDirectory : continue implementing the search 2024-03-25 11:17:19 +01:00
ganfra
21dfb46b1e Room Directory : start exposing the matrix apis 2024-03-21 19:14:05 +01:00
Jorge Martin Espinosa
1e0891bb68 Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00