Commit Graph

1106 Commits

Author SHA1 Message Date
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
27b33eefc6 Merge branch 'develop' into feature/fga/pinned_message_banner_logic 2024-08-05 20:46:24 +02:00
ganfra
ebc9fd745e Pinned events : introduce pinnedEventsTimeline method. 2024-08-01 18:22:22 +02:00
ganfra
0969470066 tests : refactor some classes 2024-07-31 21:14:29 +02:00
ganfra
3bc6cc0a94 Pinned events : clean up code 2024-07-30 16:40:18 +02:00
ganfra
a289f93079 Pinned event : add some tests 2024-07-30 16:38:11 +02:00
ganfra
6ad547833f Refactor userEventPermissions 2024-07-29 13:43:47 +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
ganfra
b974032e64 Merge branch 'develop' into feature/jme/add-simplified-sliding-sync-toggle 2024-07-24 17:35:57 +02:00
ganfra
d1b1e16620 Merge branch 'develop' into feature/fga/room_preview_join_button_fallback 2024-07-24 16:34:35 +02:00
ganfra
f5d215ba0f Edit : fallback to room.edit when timeline item is not found. 2024-07-24 11:49:16 +02:00
ganfra
85d6acfc48 Join Room : makes sure we can join by alias 2024-07-23 21:17:35 +02:00
Benoit Marty
94f38f1af5 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
bc87ff01cf 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
f70a7fcd34 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
34015b337e Add simplified sliding sync toggle to developer options 2024-07-19 14:46:42 +02:00
renovate[bot]
8a2335f7aa 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
30154783e8 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
896b1a3e60 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
8550680adf 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
dea8f78cd6 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
303f46852a Performance : call roomFactory.destroy() 2024-07-17 17:23:15 +02:00
ganfra
dc36634f1c Performance : rename RustRoomObjects to RustRoomReferences 2024-07-17 17:22:56 +02:00
ganfra
79812f8ee4 Performance : do not trigger back pagination when opening room. 2024-07-17 15:49:11 +02:00
ganfra
e93378e7de Performance : add cache on roomListItem and fullRoom 2024-07-17 14:45:14 +02:00
Benoit Marty
79660dab51 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
81bd3dcca0 Still need to support both eventId legacy and v4 2024-07-16 18:40:03 +02:00
Benoit Marty
48cbf57340 Add extra test for room alias. 2024-07-16 18:25:20 +02:00
Benoit Marty
7506070698 No need to make the block optional. 2024-07-16 18:23:25 +02:00
Benoit Marty
da7743f0bb Add test on MatrixPatterns functions. 2024-07-16 18:21:02 +02:00
Benoit Marty
220a8f67f5 Iterate on MatrixPatterns. 2024-07-16 18:06:18 +02:00
ganfra
27226e382a 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]
d660a859b6 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32 2024-07-16 17:22:13 +02:00
Benoit Marty
abcc93e616 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
61b6970a6b Fix crash in the room list after a forced log out in background (#3180) 2024-07-16 11:17:04 +00:00
Benoit Marty
e3c7e37f23 When user manually mark a room as read, also dismiss the notifications for this room. 2024-07-16 13:10:30 +02:00
Jorge Martin Espinosa
89ec904c4a Restore intentional mentions in the markdown/plain text editor (#3193)
* Restore intentional mentions in the markdown/plain text editor

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-15 18:27:59 +02:00
ganfra
0fbab53943 Performance : subscribe to timeline items only when necessary 2024-07-12 18:11:36 +02:00
Jorge Martin Espinosa
176755ac33 Subscribe to RoomListItems in the visible range (#3169)
* Subscribe to `RoomListItems` in the visible range

This ensures the room list items always have updated info.
2024-07-11 10:54:56 +02:00
Jorge Martin Espinosa
bb47ff8f49 Unify the way we decide whether a room is a DM or a group room (#3100)
* Add centralised 'room is DM' check

Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.

* Use the centralised method and extension functions through the app, including:

- Room list.
- Room details screen.
- Invites.
- Notifications.

Replace most `isDirect` usages with `isDm`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-10 16:28:46 +00:00
renovate[bot]
8aa4fbdade Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 (#3145)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31

* Use new Rust client side sorting API

* Make `RoomListEntriesUpdate.describe()` an extension function

* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`

* Fix icon sizes to pass the lint checks

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-05 15:25:42 +00:00
ganfra
8a3d33c350 Bugfix : avoid potential NPE on verification service. 2024-07-04 14:51:14 +02:00