Commit graph

2834 commits

Author SHA1 Message Date
ganfra
ba123ccee1 Rust sdk update : fix test 2024-07-29 11:09:57 +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
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
ElementBot
1f01bd73c4
Sync Strings (#3232)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00: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
Marco Antonio Alvarez
3a9830f714
Fix stickers display text on room summary (#3221)
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-07-19 22:14:22 +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]
21553d757a
Update wysiwyg to v2.37.7 (#3218)
* Update wysiwyg to v2.37.7

* 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 14:14:21 +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
Benoit Marty
930833300f Remove the alpha channel on those 2 images.
Reduce the image size and fixes an issue in dark mode.
2024-07-18 16:20:00 +02:00
Benoit Marty
4aa39613f3
Merge pull request #3216 from element-hq/feature/bma/forceDarkTheme
Ensure that the manual dark theme is rendering correctly regarding -night resource and keyboard
2024-07-18 15:30:42 +02: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
Benoit Marty
5ca0f645ad Ensure that the manual dark theme is rendering correctly regarding night resource and keyboard. 2024-07-18 14:37:47 +02:00
Benoit Marty
2216c11039
Merge pull request #3209 from element-hq/feature/bma/fixTruncatedButtons
Reduce the risk of text truncation in buttons.
2024-07-18 10:32:48 +02: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
2126556105 Rename val for clarity. 2024-07-17 18:42:15 +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
Benoit Marty
13853a39a5 Reduce the risk of text truncation in buttons. 2024-07-17 17:46:36 +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
Benoit Marty
85ceb0296c When user manually mark a room as read, also dismiss the notifications for this room. 2024-07-16 13:10:30 +02:00
Benoit Marty
756e04493e Remove PushBindsModule and use ContributesBinding. 2024-07-16 11:29:55 +02:00
Benoit Marty
6ea629a4d2 Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications. 2024-07-16 11:24:41 +02:00
Benoit Marty
83051d7231 Update documentation 2024-07-16 11:14:04 +02:00
Benoit Marty
544b4a1057
Merge pull request #3199 from element-hq/feature/bma/improvePip
Improve pip and add feature flag.
2024-07-16 10:18:13 +02:00
Jorge Martin Espinosa
2ff5fa67fc
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
Benoit Marty
d27e86f396 Call in PiP: add feature flag, disabled in release builds. 2024-07-15 16:48:39 +02:00
bmarty
14511633db Sync Strings from Localazy 2024-07-15 00:23:30 +00:00
ganfra
c508c8bdd0 Performance : subscribe to timeline items only when necessary 2024-07-12 18:11:36 +02:00
Jorge Martin Espinosa
5944f112fb
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
0be7058416
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