ganfra
bf87b975fc
Timeline permalink : start updating tests
6 months ago
ganfra
fed1733cb5
Timeline : makes sure to use the right timeline when making some action (edit, reply, reaction)
6 months ago
Jorge Martin Espinosa
1de6797673
Remove `SessionData.needsVerification` as the source of truth for session verification status ( #2748 )
...
* Remove `SessionData.needsVerification` as the source of truth for session verification status.
- Use the Rust SDK `EncryptionService.verificationState()` instead, but always waiting for the first 'known' result (either verified or not, discarding 'unknown').
- Add a workaround in the super rare case when reading this value gets stuck somehow. We'll assume the user is not verified in that case.
- Make `DefaultFtueService.getNextStep` and dependent checks `suspend`.
- Make the `skip` button use a value in the session preferences instead.
* Log exception when the verification status can't be loaded
Co-authored-by: Benoit Marty <benoit@matrix.org>
* Fix review comments
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
6 months ago
ganfra
a6d8209407
Timeline : exposes same methods as the rust type and use them by default on liveTimeline
6 months ago
ganfra
7094955bc9
Timeline : use latest api
6 months ago
ganfra
b1dd225648
Timeline permalink : automatic focus on live when reaching end of forward pagination (and remove usage of PaginationStatus)
6 months ago
ganfra
0d7cffe400
Timeline permalink : continue to iterate (try a strategy to avoid forward insertion to "auto-scroll")
6 months ago
Benoit Marty
237ba3d727
Improve display name disambiguation rendering #2722
6 months ago
Benoit Marty
ac9689fae9
Fix test compilation issue.
6 months ago
Benoit Marty
03abfcaadb
Format state Event: use disambiguated Display name #2722 .
...
- Rename some parameter and val from `senderDisplayName` (and consort) to `senderDisambiguatedDisplayName`.
- In `InReplyToDetails`, replace `senderDisplayName` and `senderAvatarUrl` by `senderProfile`.
6 months ago
Benoit Marty
797c912ccd
Implement Knock action (until the SDK level)
6 months ago
Benoit Marty
f29e79d64e
Change API `MatrixClient.joinRoom(roomId: RoomId): Result<RoomId>` to `MatrixClient.joinRoom(roomId: RoomId): Result<Unit>`
6 months ago
Benoit Marty
64e22bc2f1
Use now available SDK API.
6 months ago
Benoit Marty
4e55c9aa4e
Please ktlint
6 months ago
Benoit Marty
5aa0ffea34
String -> RoomAlias
6 months ago
Benoit Marty
b8d87d4e75
Ignore too generic exceptions (temporary code).
6 months ago
Benoit Marty
c9580ad1e5
Remove extra space.
6 months ago
Benoit Marty
2eb545cd11
Add test to JoinRoomPresenter to cover RoomPreview
6 months ago
Benoit Marty
12b230594b
Fix JoinRoomPresenterTest
6 months ago
Benoit Marty
6a125bbb1b
Add test on RoomAliasResolverPresenter
6 months ago
Benoit Marty
7a7fb2aa54
Comment out SDK usage.
6 months ago
Benoit Marty
b7d214fa56
Update extension.
6 months ago
Benoit Marty
b6e30833da
Add name to call arguments.
6 months ago
Benoit Marty
96203824ac
Handle navigation to the same room.
6 months ago
Benoit Marty
235ef2a71b
Resolve RoomId in RoomFlowNode.
6 months ago
Benoit Marty
09faa6d1c9
Simplify PermalinkData, now that we have RoomIdOrAlias interface.
6 months ago
Benoit Marty
ea3a1f363a
Alias permalink navigation - WIP
6 months ago
Benoit Marty
8327ea306f
Increase usage of `RoomAlias`
6 months ago
Benoit Marty
ecd1bf76e2
Use RoomId and RoomAlias in MatrixRoomInfo
6 months ago
Benoit Marty
bd12ff737b
Introduce value class RoomAlias
6 months ago
Benoit Marty
68346dd782
Add MatrixClient.getRoomPreview method.
6 months ago
Benoit Marty
37fa6548c4
Add MatrixClient.resolveRoomAlias method.
6 months ago
ganfra
90e273cd65
Room list invites: address some remarks and add small tests
6 months ago
ganfra
83e7c13618
Timeline : start reworking timeline apis
6 months ago
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)
6 months ago
ganfra
2ae6931486
Timeline : expose new pagination status api
6 months ago
ganfra
e72983f1b8
RoomList invites : update and remove tests
6 months ago
ganfra
3e13191153
RoomList : make invite filter truly exclusive
6 months ago
ganfra
43e336cb72
RoomList : add invite filter
6 months ago
Benoit Marty
9ee36e9ca4
Remove unnecessary tests.
6 months ago
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)
6 months ago
ganfra
9d87240f4c
Room list : activate merged invites in Client
6 months ago
Benoit Marty
6b301ac37f
Use `org.matrix.rustcomponents.sdk.matrixToUserPermalink` to build permalinks for user.
6 months ago
Benoit Marty
294f1f2d96
Use SDK API to build room and event permalinks.
6 months ago
Benoit Marty
3e52a4f3bd
Encrypt new session data with a passphrase #2703
6 months ago
ganfra
11979167c5
Room navigation : some clean up
6 months ago
ganfra
a2329fc7df
Join room : change state and view
6 months ago
ganfra
fbb92f0c9a
Room navigation : fix tests on invite after the refactoring
6 months ago
Benoit Marty
ffede8b13b
Use productionApplicationName, set to "Element", instead of "Element X", and use ot for `screen_onboarding_welcome_message`
6 months ago
Benoit Marty
075510c425
Add `desktopApplicationName` to BuildMeta.
6 months ago