Benoit Marty
7353381356
Add MatrixRoomInfo.rawName.
2024-05-15 10:06:54 +02:00
Benoit Marty
b971ac36d3
Merge pull request #2843 from element-hq/feature/bma/joinRoomVia
...
Provide serverNames when available and fix issue around analytics
2024-05-14 17:17:59 +02:00
Benoit Marty
32f31855b5
Provide serverNames when available and fix issue around analytics
2024-05-14 15:58:10 +02:00
ganfra
9844a642c0
Timeline : remove some code from main thread
2024-05-14 14:07:17 +02:00
Jorge Martin Espinosa
6257425344
Bump Rust SDK to v0.2.18 and bump app version ( #2836 )
...
* Adapt to changes in SDK:
- Remove name from MatrixRoom, we should use displayName instead.
- Remove separate invites room list.
- Added runBlocking to get the now async NotificationClient from the Rust SDK.
- Made some other functions suspend.
- Client.resolveRoomAlias now returns a roomId and via parameters, we pass the roomId.
* Add logs removal migration again as `AppMigration03` to make sure we don't leak private data in existing logs.
* Bump app version to `0.4.12`
2024-05-13 16:48:23 +02:00
Benoit Marty
b156097e1a
Add support for link generated by matrix.to website.
2024-05-03 11:57:22 +02:00
Benoit Marty
f5060defa1
Merge pull request #2754 from element-hq/feature/valere/expected_utd_integration
...
Expected UTDs due to membership support
2024-04-30 11:03:36 +02:00
Benoit Marty
51d87a8309
Merge pull request #2759 from element-hq/feature/fga/permalink_timeline
...
Permalink timeline
2024-04-30 10:58:33 +02:00
Valere
37fee97c65
test for utd cause
2024-04-30 09:30:05 +02:00
Benoit Marty
c89f4d1596
Fix issue when retrieving Event detail. The wrong method was used.
2024-04-29 17:55:45 +02:00
Benoit Marty
2e2d1277e8
Map all replyTo data and add preview for loading and erorr case.
2024-04-29 17:41:25 +02:00
Benoit Marty
6b8552fac1
Ensure editMessage, enterSpecialMode and replyMessage are called on the current timeline.
2024-04-29 15:50:56 +02:00
Benoit Marty
16bdd34a80
Add log in case of error.
2024-04-29 15:48:58 +02:00
Benoit Marty
ee0a198c4c
Remove unnecessary default value.
2024-04-29 14:28:04 +02:00
Benoit Marty
d42a96cc63
No need to keep innerTimeline as a class member.
2024-04-29 14:27:07 +02:00
Benoit Marty
48e9b780b1
Code optimization.
2024-04-29 14:20:46 +02:00
Valere
808bbf33a4
Expected UTDs due to membership support
2024-04-26 17:21:10 +02:00
Benoit Marty
7b55b0e327
Add mapping on FocusEventException.
...
Extract FocusRequestState to its own file and add preview.
2024-04-26 16:40:09 +02:00
Benoit Marty
9b4fa0f03d
Fix detekt issues
2024-04-26 15:23:24 +02:00
Benoit Marty
21ddeb00fe
Format and cleanup files
2024-04-26 13:57:08 +02:00
Benoit Marty
d20605b8be
Fix compilation issue (develop has been merged here)
2024-04-26 12:55:08 +02:00
Benoit Marty
a11bfb5d29
Merge branch 'develop' into feature/fga/permalink_timeline
2024-04-26 12:50:38 +02:00
Benoit Marty
9f2e8d44ce
Let the SDK manage the file log cleanup, and keep one week of log.
2024-04-26 12:33:20 +02:00
Benoit Marty
60b8761a4a
Fix test on UtdTrackerTest
2024-04-26 09:22:08 +02:00
Benoit Marty
4897552e2d
Fix false positive
...
A single Unit expression is unnecessary and can safely be removed. [OptionalUnit]
2024-04-26 09:17:22 +02:00
Benoit Marty
6f2507f517
SDK 0.2.16: fix compilation issue
2024-04-26 09:11:30 +02:00
ganfra
345d4c7da3
Timeline : try to get better forward pagination.
2024-04-25 23:34:04 +02:00
ganfra
7b07adc5ab
Timeline : do not cancel pagination to avoid stuck timeline.
2024-04-25 15:01:18 +02:00
ganfra
cf1c728eab
Timeline : makes sure all tests are passing
2024-04-25 14:35:37 +02:00
Benoit Marty
f1a31e3b3c
Ensure roomId are not rendered in the UI.
...
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
Benoit Marty
9adbf6c811
Introduce RoomType
2024-04-25 09:49:05 +02:00
Jorge Martin Espinosa
2cc124bda2
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 >
2024-04-24 13:55:25 +00:00
ganfra
b40f01a634
Timeline : exposes same methods as the rust type and use them by default on liveTimeline
2024-04-24 13:37:14 +02:00
ganfra
6af4bf30ff
Timeline : use latest api
2024-04-24 12:34:52 +02:00
ganfra
e09e23abb0
Timeline permalink : automatic focus on live when reaching end of forward pagination (and remove usage of PaginationStatus)
2024-04-23 14:24:48 +02:00
ganfra
f56ac869ff
Timeline permalink : continue to iterate (try a strategy to avoid forward insertion to "auto-scroll")
2024-04-23 13:30:55 +02:00
Benoit Marty
188f92fecc
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`.
2024-04-22 16:23:15 +02:00
Benoit Marty
70d7b5a61f
Implement Knock action (until the SDK level)
2024-04-19 18:11:13 +02:00
Benoit Marty
025c6294c2
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
9c0d1cfdeb
Use now available SDK API.
2024-04-18 15:45:48 +02:00
ganfra
6808edda86
Merge develop into feature/fga/permalink_timeline
2024-04-18 15:40:17 +02:00
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