Commit graph

1113 commits

Author SHA1 Message Date
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
Benoit Marty
5d10b1fe85
Merge branch 'develop' into feature/valere/message_shields 2024-08-14 12:37:31 +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
ganfra
a1987168ca
Merge pull request #3186 from element-hq/feature/fga/investigate_performance_issue
Performance : improve time to open a room.
2024-07-17 19:18:03 +02:00
Benoit Marty
0ddc306f01
Merge pull request #3206 from element-hq/feature/bma/updateGrammar
Update grammar on Matrix Ids to be more spec compliant and render error instead of infinite loading in room member list screen
2024-07-17 18:20:46 +02:00
ganfra
f08d30bb62 Performance : call roomFactory.destroy() 2024-07-17 17:23:15 +02:00
ganfra
7fab94fdd7 Performance : rename RustRoomObjects to RustRoomReferences 2024-07-17 17:22:56 +02:00
ganfra
5e6bcbd7ac Performance : do not trigger back pagination when opening room. 2024-07-17 15:49:11 +02:00
ganfra
ef12408b6e Performance : add cache on roomListItem and fullRoom 2024-07-17 14:45:14 +02:00
Benoit Marty
d6c99870f9 Be more lenient on Matrix pattern to support existing rooms in the wild (will fix crash on debug build). 2024-07-17 10:08:25 +02:00
Benoit Marty
67e09295de Still need to support both eventId legacy and v4 2024-07-16 18:40:03 +02:00
Benoit Marty
79d29d680b Add extra test for room alias. 2024-07-16 18:25:20 +02:00
Benoit Marty
5ae4668da5 No need to make the block optional. 2024-07-16 18:23:25 +02:00
Benoit Marty
52900076bd Add test on MatrixPatterns functions. 2024-07-16 18:21:02 +02:00
Benoit Marty
792667c9a4 Iterate on MatrixPatterns. 2024-07-16 18:06:18 +02:00
ganfra
181a7a0718
Merge pull request #3202 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32
2024-07-16 18:01:07 +02:00
renovate[bot]
530894e875 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32 2024-07-16 17:22:13 +02:00
Benoit Marty
d9599a239c
Merge pull request #3203 from element-hq/feature/bma/clearNotificationWhenMarkAsRead
Clear existing notification when a room is marked as read
2024-07-16 14:48:36 +02:00
Jorge Martin Espinosa
d626660023
Fix crash in the room list after a forced log out in background (#3180) 2024-07-16 11:17:04 +00:00