ganfra
7ed5ee9186
Merge branch 'develop' into feature/fga/timeline_utd
2024-09-09 15:40:26 +02:00
ganfra
a556557881
Timeline : remove the encrypted history banner for now.
2024-09-09 11:20:50 +02:00
ganfra
82a31d3ede
Self verification : makes sure cancellation works properly
2024-09-09 10:30:35 +02:00
ganfra
2be46edc17
Self verification : makes sure only one controller is created
2024-09-09 10:30:17 +02:00
Jorge Martin Espinosa
daa5130300
Wait for a room with joined state in /sync after creating it ( #3421 )
2024-09-09 09:36:49 +02:00
Benoit Marty
8ff40ac6fb
Merge pull request #3422 from element-hq/feature/bma/agpl
...
Change license to AGPL
2024-09-06 20:40:28 +02:00
Benoit Marty
62a6e916a6
Migrate license to AGPL - XML files.
2024-09-06 17:43:35 +02:00
Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Jorge Martin Espinosa
1b79887c9d
Fix new logins with Simplified SS using the proxy ( #3417 )
...
* Fix new logins with Simplified SS using the proxy
* Make sure `ClientBuilderSlidingSync.Restored` is always used for restored sessions
2024-09-06 15:09:36 +00:00
ganfra
e5c81db224
Merge pull request #3392 from element-hq/feature/fga/pinned_messages_list
...
[Feature] Pinned messages list
2024-09-06 16:32:44 +02:00
ganfra
a37a6d249f
Pinned messages list : improve and fix code after PR review.
2024-09-05 17:40:50 +02:00
ganfra
4fe142c624
Rust sdk : update to 0.2.42
2024-09-04 16:37:46 +02:00
ganfra
9936dbc464
Merge branch 'develop' into feature/fga/pinned_messages_list
2024-09-04 14:11:53 +02:00
ganfra
5d18b1a8fa
Pinned messages list : fix all tests after changes
2024-09-04 12:09:17 +02:00
Jorge Martin Espinosa
4fbf98700a
Make sure to save the tokens the Client might return when its session is restored ( #3378 )
...
* Use `ClientSessionDelegate` to ensure tokens are always updated.
Refreshed tokens on client restoration might not have been stored to disk if the token refresh happened before `RustMatrixClient` was built and the `ClientDelegate` was set in it.
Using `ClientSessionDelegate` should ensure the tokens refreshed callback is called at any point in time.
* Improve how assigning the Client works, fix docs
* Fix review comments
2024-09-04 10:54:31 +02:00
renovate[bot]
5ba88dc5b0
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.41 ( #3384 )
...
* Introduce value class UniqueId.
* Allow reactions on non-sent Event, the SDK can now handle it.
Also the SDK will manage local echo for reactions.
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.41
* Fixes after SDK upgrade:
- Use `ClientBuilderSlidingSync` to set `SlidingSyncVersionBuilder` in `RustMatrixClientFactory`.
- `Room.toggleReaction(emoji: String, eventId: EventId)` is now `Room.toggleReaction(emoji: String, uniqueId: UniqueId)`, since reactions can now be applied to local echoes too in the SDK.
* Rename exception case
* Fix wrong error case being used in test
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Benoit Marty <benoitm@matrix.org >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-09-03 20:09:33 +02:00
Jorge Martin Espinosa
08d05647af
Make pinned events required state in SlidingSync ( #3385 )
...
This is needed to always have the pinned events of a room as soon as we open it.
2024-09-03 17:44:48 +02:00
Benoit Marty
8213b0a980
Change the way we do not delete the crypto database.
2024-09-02 11:29:44 +02:00
Benoit Marty
40832d7815
Introduce SessionPathsFactory.
2024-08-30 18:42:00 +02:00
Benoit Marty
93cace6954
Provide distinct cache directory to the Rust SDK.
2024-08-30 18:36:20 +02:00
Benoit Marty
82fa369c8b
Merge pull request #3320 from element-hq/feature/bma/cleanNotificationOfRedactedEvent
...
Redact message on displayed notification
2024-08-29 14:46:13 +02:00
Benoit Marty
8441795e0d
Use let.
2024-08-29 11:07:43 +02:00
Benoit Marty
b4e9799fec
Better handling on null reset handler.
...
This is not an error, but in this case, the reset identity is successful.
2024-08-29 09:41:13 +02:00
ganfra
0832fb9f2f
Timeline : add a mode to differentiate between live/focused/pinned
2024-08-28 12:35:21 +02:00
Benoit Marty
3b12d54dad
Cleanup notification for redacted event.
2024-08-28 10:29:01 +02:00
ganfra
5da76f6ff8
Rust sdk : fix tests after api breaks
2024-08-27 20:46:15 +02:00
ganfra
f06b2290ea
Rust sdk : handle the remaining changes
2024-08-27 17:45:32 +02:00
ganfra
18959a930f
Rust sdk : refactor LocalSendState to use the new failure states as iOS does
2024-08-27 17:45:22 +02:00
ganfra
57c6abfe47
Rust sdk : use newMessageShield state
2024-08-27 17:43:07 +02:00
Benoit Marty
4b8985e501
Suggestion for room alias.
...
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2024-08-21 15:32:05 +02:00
Benoit Marty
c420fcad18
Merge pull request #3240 from element-hq/feature/valere/message_shields
...
Timeline UI | MessageShield Support
2024-08-16 14:25:33 +02:00
Benoit Marty
34268a30ea
Iterate on shield mapping and rendering
...
Also handle click on the timeline and information displayed on long click.
2024-08-14 17:24:11 +02:00
Benoit Marty
5dceba8146
Merge branch 'develop' into feature/valere/message_shields
2024-08-14 12:37:31 +02:00
Jorge Martín
903d24ea2f
Improve APIs, add tests
2024-08-13 08:55:06 +02:00
Jorge Martín
252b3e11a0
Improve existing APIs
2024-08-13 08:55:06 +02:00
Jorge Martín
e16057a366
Initial implementation of the reset identity feature
2024-08-13 08:55:05 +02:00
Benoit Marty
0d5f6d3e67
Fix formatting and improve comment.
2024-08-12 14:55:12 +02:00
Benoit Marty
08b5cc7261
Ensure sessionPath is not reused for different homeserver.
2024-08-12 14:16:58 +02:00
Jorge Martin Espinosa
d510941e83
Update the SDK bindings to v0.2.39 ( #3288 )
...
- Rework `RoomSyncSubscriber` to work with the new `RoomListService.subscribeToRooms` API.
2024-08-09 12:42:15 +02:00
ganfra
fa3fa2623e
Merge branch 'develop' into feature/fga/pinned_message_banner_logic
2024-08-07 16:05:41 +02:00
ganfra
30e5688e26
timeline : allow rendering m.room.pinned_events
2024-08-06 17:28:23 +02:00
ganfra
d29ffc653c
Pinned events : update sdk
2024-08-06 15:08:02 +02:00
ganfra
ebc9fd745e
Pinned events : introduce pinnedEventsTimeline method.
2024-08-01 18:22:22 +02:00
ganfra
2605ddec7a
Pin : expose the new rust sdk apis
2024-07-29 12:50:35 +02:00
ganfra
8ab74a7e9c
Merge branch 'develop' into feature/fga/pinned_event_feature_flag
2024-07-29 12:50:02 +02:00
ganfra
e6faa4deed
Rust sdk update : fix test
2024-07-29 11:09:57 +02:00
ganfra
3adc6d0be8
Timeline Action : refactor how it's computed and align with iOS
2024-07-26 18:20:03 +02:00
ganfra
878333cc77
Merge pull request #3222 from element-hq/feature/jme/add-simplified-sliding-sync-toggle
...
Add simplified sliding sync toggle to developer options
2024-07-25 10:37:11 +02:00
ganfra
4f86e21e8d
SSS : enhance getBaseClientBuilder to avoid mistakes.
2024-07-25 10:08:31 +02:00
Valere
33e09edd62
Timeline UI | MessageShield Support
2024-07-25 10:01:27 +02:00