Commit graph

1129 commits

Author SHA1 Message Date
Benoit Marty
d867a5fe6f Cleanup notification for redacted event. 2024-08-28 10:29:01 +02:00
ganfra
7310adcf07 Rust sdk : fix tests after api breaks 2024-08-27 20:46:15 +02:00
ganfra
2361b597d9 Rust sdk : handle the remaining changes 2024-08-27 17:45:32 +02:00
ganfra
88a581427c Rust sdk : refactor LocalSendState to use the new failure states as iOS does 2024-08-27 17:45:22 +02:00
ganfra
e5b21c389e Rust sdk : use newMessageShield state 2024-08-27 17:43:07 +02:00
Benoit Marty
6309137a53 Reorder imports 2024-08-21 17:27:55 +02:00
Benoit Marty
57d927e9aa 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
6b528596ed
Merge pull request #3307 from element-hq/feature/bma/cleanup
Cleanup and add unit test for DefaultPinnedMessagesBannerFormatter
2024-08-20 09:10:31 +02:00
Benoit Marty
21f2c5a231
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
70558aa381 Move editMessageLambda to the constructor. 2024-08-16 11:58:17 +02:00
Benoit Marty
3676bca042 Make extension isCritical a val instead of a fun. 2024-08-16 09:56:01 +02:00
Benoit Marty
faf1e7da9f 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
Jorge Martín
8a1e333aa7 Fix most review comments 2024-08-14 16:53:50 +02:00
Benoit Marty
5d10b1fe85
Merge branch 'develop' into feature/valere/message_shields 2024-08-14 12:37:31 +02:00
Jorge Martín
5239e5ce81 Fix lint issues 2024-08-13 08:55:06 +02:00
Jorge Martín
7fd0ad09dc Improve APIs, add tests 2024-08-13 08:55:06 +02:00
Jorge Martín
175bada0df Improve existing APIs 2024-08-13 08:55:06 +02:00
Jorge Martín
ee7a31cace Extract OIDC to its own module 2024-08-13 08:55:05 +02:00
Jorge Martín
4ab0b1074d Initial implementation of the reset identity feature 2024-08-13 08:55:05 +02:00
Benoit Marty
01ece74343 Fix formatting and improve comment. 2024-08-12 14:55:12 +02:00
Benoit Marty
683f26c051 Ensure sessionPath is not reused for different homeserver. 2024-08-12 14:16:58 +02:00
Jorge Martin Espinosa
65718b3e96
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
583625e4d4 Merge branch 'develop' into feature/fga/pinned_message_banner_logic 2024-08-07 16:05:41 +02:00
ganfra
5d2abd0350 timeline : allow rendering m.room.pinned_events 2024-08-06 17:28:23 +02:00
ganfra
80f1574b66 Pinned events : update sdk 2024-08-06 15:08:02 +02:00
ganfra
229c02e895 Merge branch 'develop' into feature/fga/pinned_message_banner_logic 2024-08-05 20:46:24 +02:00
ganfra
34fd21f440 Pinned events : introduce pinnedEventsTimeline method. 2024-08-01 18:22:22 +02:00
ganfra
0b32dbebb5 tests : refactor some classes 2024-07-31 21:14:29 +02:00
ganfra
46f5115c0a Pinned events : clean up code 2024-07-30 16:40:18 +02:00
ganfra
66e06d7d1c Pinned event : add some tests 2024-07-30 16:38:11 +02:00
ganfra
210e2092cd Refactor userEventPermissions 2024-07-29 13:43:47 +02:00
ganfra
52a643f116 Pin : expose the new rust sdk apis 2024-07-29 12:50:35 +02:00
ganfra
bcfda2e71d Merge branch 'develop' into feature/fga/pinned_event_feature_flag 2024-07-29 12:50:02 +02:00
ganfra
ba123ccee1 Rust sdk update : fix test 2024-07-29 11:09:57 +02:00
ganfra
0149007dd4 Timeline Action : refactor how it's computed and align with iOS 2024-07-26 18:20:03 +02:00
ganfra
27027371c0
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
eec0e371f6 SSS : enhance getBaseClientBuilder to avoid mistakes. 2024-07-25 10:08:31 +02:00
Valere
b3b90a3b17 MessageShields | Fix test compilation 2024-07-25 10:01:28 +02:00
Valere
524f20bb40 Timeline UI | MessageShield Support 2024-07-25 10:01:27 +02:00
ganfra
60fdee32bf Merge branch 'develop' into feature/jme/add-simplified-sliding-sync-toggle 2024-07-24 17:35:57 +02:00
ganfra
d421a6c99b Merge branch 'develop' into feature/fga/room_preview_join_button_fallback 2024-07-24 16:34:35 +02:00
ganfra
a23e5e2400 Edit : fallback to room.edit when timeline item is not found. 2024-07-24 11:49:16 +02:00
ganfra
aebcc52309 Join Room : makes sure we can join by alias 2024-07-23 21:17:35 +02:00
Benoit Marty
5bda29ca7e
Rework FakeMatrixRoom so that it contains only lambdas. (#3229)
* Upgrade lint to 8.7.0-alpha01

* FakeMatrixRoom: lambda everywhere

Fix test compilation issues
2024-07-22 10:39:48 +02:00
Jorge Martin Espinosa
344e07bc0b
Cancel ringing call notification on call cancellation (#3047)
* Cancel ringing call notification on call cancellation

* Improve implementation, add some comments to clarify how it works.

* Make sure the call timeout job is cancelled
2024-07-19 17:51:44 +02:00
Jorge Martín
ff6ea43237 Don't reset the SSS toggle when logged out.
Instead, force a logout when toggling the option so user needs to log in again and create a new session using SSS.
2024-07-19 16:32:25 +02:00
Jorge Martín
b9f4403408 Add simplified sliding sync toggle to developer options 2024-07-19 14:46:42 +02:00
renovate[bot]
05e56e1ebc
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33 (#3220)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33

* Fix API breaks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-07-19 13:33:27 +02:00
Jorge Martin Espinosa
63df35e071
Use the right filename for log files so they're sorted in rageshakes (#3219)
* Use the right filename for log files so they're sorted in rageshakes

* Hide the suffix part so it's not changed by accident
2024-07-19 10:33:33 +00:00
Jorge Martin Espinosa
aedbce8e8d
Add logging to help debug forced logout issues (#3208)
* Add logging to help debug forced logout issues

* Use tags instead of manually adding the values to the logs.

- Also add extension functions to easily get anonymized tokens from `Session`/`SessionData`.

* Make sure only 1 operation related to token persistence can run at the same time
2024-07-18 13:16:20 +00:00