Commit graph

5175 commits

Author SHA1 Message Date
ganfra
ece47a4277
Merge pull request #5762 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.11.19
2025-11-19 18:04:41 +01:00
ganfra
1bde2384e9 quality: fix tests after api changes 2025-11-19 17:30:01 +01:00
Benoit Marty
f8ce408679 Ensure that htmlConverterProvider is initialized when viewing Pinned events. Fixes #5763 2025-11-19 14:37:19 +01:00
ganfra
fe65ba1839 deps(sdk): fix api usages 2025-11-19 13:07:59 +01:00
Benoit Marty
dc65191e2c Improve API: use RoomId instead of String. 2025-11-19 10:14:03 +01:00
Benoit Marty
ddf76d818a Ensure in test that rooms are sorted. 2025-11-19 10:14:03 +01:00
Benoit Marty
7f9878c40e Use test extension 2025-11-19 10:14:03 +01:00
Benoit Marty
d1aaca21b4 Simplify again. 2025-11-19 10:14:03 +01:00
Benoit Marty
5b242670da Improve code again. 2025-11-19 10:14:03 +01:00
Benoit Marty
247e0c51a8 roomMembers can be private 2025-11-19 10:14:03 +01:00
Benoit Marty
43486a4708 Avoid creating many PowerLevelRoomMemberComparator instance and also avoid doing the sorting twice. 2025-11-19 10:14:03 +01:00
Benoit Marty
65ed414c87 Remove class duplication. 2025-11-19 10:14:03 +01:00
Benoit Marty
0b313f1209 Avoid creating a new Collator and apply same decomposition across codebase. 2025-11-19 10:14:03 +01:00
Benoit Marty
8ee2361102 Fix reported crash.
https://github.com/element-hq/element-x-android-rageshakes/issues/8517
2025-11-19 10:14:03 +01:00
Benoit Marty
a167ad90f2 Fix crash at startup 2025-11-19 09:34:17 +01:00
Benoit Marty
2bdac6d81a
Merge pull request #5755 from element-hq/feature/bma/cleanupDb
Remove unused `slidingSyncProxy` from DB.
2025-11-18 17:42:09 +01:00
Benoit Marty
310848ee38
Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
Module cleanup
2025-11-18 16:14:10 +01:00
Benoit Marty
a9ae55703a Remove unused slidingSyncProxy from DB. 2025-11-18 15:58:22 +01:00
Jorge Martin Espinosa
bf0274074d
Enable logging OkHttp traffic based on the current log level (#5750)
* Use `LogLevel` to decide whether to log the HTTP requests and responses

Added `DynamicHttpLoggingInterceptor` for this.

* Code cleanup.

* Use Timber.d

* OutOfMemoryError should not be caught. They are considered unrecoverable.

* Improve code in DefaultBugReporter.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-11-18 15:18:27 +01:00
Benoit Marty
a586299900 Ensure the color has a # prefix. 2025-11-17 18:03:43 +01:00
Benoit Marty
ac0e39cbef
Merge pull request #5736 from element-hq/feature/bma/roomV12
Render Owner in the horizontal list when editing Admins.
2025-11-17 13:41:52 +01:00
Jorge Martin Espinosa
0cb9d86157
Send read receipts using the current timeline, not the live timeline (#5731)
This fixes sending read receipts in threaded timelines.
2025-11-17 13:33:17 +01:00
Benoit Marty
954b2291d0 Fix regression on Preview. 2025-11-17 10:46:38 +01:00
ElementBot
738f707ca7
Sync Strings from Localazy (#5747)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-17 10:29:26 +01:00
Benoit Marty
9ee64093cb Fix owners not displayed in the horizontal list. 2025-11-17 10:06:30 +01:00
Benoit Marty
270d255655 Fix detekt issue
Content slots should not be reused in different code branches/scopes of a composable function, to preserve the slot internal state.
2025-11-17 09:20:24 +01:00
Benoit Marty
b40ccd94c8
Merge pull request #5726 from element-hq/feature/bma/notificationCleanup
Notification robustness
2025-11-14 18:02:45 +01:00
Benoit Marty
8586e25774 Render Owner in the horizontal list when editing Admins. Closes #5634. 2025-11-14 17:35:58 +01:00
ganfra
5046148708 change(room members): address PR reviews 2025-11-14 12:27:45 +01:00
Benoit Marty
8a53be3b33 Fix warning 2025-11-14 09:39:55 +01:00
Benoit Marty
b64a46738e Small cleanup 2025-11-14 09:33:40 +01:00
Benoit Marty
1c8b637858 No need to use apply setContentText accept null parameter. 2025-11-14 09:24:41 +01:00
Benoit Marty
f1e12c1c1c Do not attempt to restore the pusher after 2 removal in a short time. 2025-11-13 23:15:00 +01:00
Benoit Marty
9498e6f7fb Restore deleted code 2025-11-13 18:11:39 +01:00
Benoit Marty
d3339872ff Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher 2025-11-13 17:50:21 +01:00
ganfra
3279684dc6 change(room members): moderation sheet design updates 2025-11-13 17:13:45 +01:00
ganfra
51959703b1 change(room members): remove useless call to updateMembers 2025-11-13 16:48:43 +01:00
ganfra
9618e9ad51 quality : format code 2025-11-13 16:00:07 +01:00
Benoit Marty
71e8df2628 Rename val 2025-11-13 14:58:44 +01:00
ganfra
7400fd6c84 Merge branch 'develop' into feature/fga/members_improvements 2025-11-13 14:30:29 +01:00
Benoit Marty
8638c06207
Merge pull request #5721 from element-hq/feature/bma/matrixUiModules
Let notifications use avatar fallback.
2025-11-13 10:22:39 +01:00
Benoit Marty
8285478688 API modules do not need to setup dependency injection.
Move the implementation to the impl modules.
2025-11-12 19:05:39 +01:00
Benoit Marty
04589ec091 Fix package name 2025-11-12 12:24:46 +01:00
Benoit Marty
573767aca1 Let notifications use avatar fallback.
Extract code which handles Matrix image to its own api / impl / test modules.
2025-11-12 11:28:42 +01:00
Benoit Marty
30cc45c089 Ensure bottom sheet is collapsed when leaving RTE mode. Closes #5635 2025-11-10 16:59:36 +01:00
Benoit Marty
8149cc06f1 Format - no other change. 2025-11-10 16:59:00 +01:00
Benoit Marty
24c213901e Rename MessageComposerEvents to MessageComposerEvent 2025-11-10 16:29:30 +01:00
Benoit Marty
eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00