Commit Graph

5200 Commits

Author SHA1 Message Date
ganfra
9b0b1fa112 change(member list): use only local user identity 2025-11-24 20:23:46 +01:00
Benoit Marty
df7640a0a3 Edit user profile cancel confirmation (#5788)
* Show not save dialog when exiting user profile edition with unsaved changes

* Use test extension

* Add unit tests

* Add preview

* Add unit test on EditUserProfileView

* Avoid using navigateUp.

* Update screenshots

* Remove BaseCallback, it's actually not ideal when looking for usage.

* Remove BaseNavigator, it's actually not ideal when looking for usage.

* Fix crash when clicking fast on back key on the Add account screen.

* Fix crash when clicking fast on back key on the Labs screen.

* Fix crash when clicking fast on back key on the Developer settings screen.

* Fix compilation issue in test

---------

Co-authored-by: ElementBot <android@element.io>
2025-11-24 09:38:15 +01:00
Benoit Marty
80d799c4db Merge pull request #5786 from element-hq/feature/bma/addAdminConfirmation
Ensure confirmation dialog is displayed when an admin add other admin to a room
2025-11-21 17:06:42 +01:00
Benoit Marty
b0da504bc5 Fix test 2025-11-21 16:36:56 +01:00
Benoit Marty
f733588f6e Fix compilation issue in test 2025-11-21 16:22:33 +01:00
Benoit Marty
b1ea71e3bf Fix crash when clicking fast on back key on the Developer settings screen. 2025-11-21 15:54:03 +01:00
Benoit Marty
883fb36fcc Fix crash when clicking fast on back key on the Labs screen. 2025-11-21 15:52:54 +01:00
Benoit Marty
24b76f2001 Fix crash when clicking fast on back key on the Add account screen. 2025-11-21 15:51:11 +01:00
Benoit Marty
13af794872 Remove BaseNavigator, it's actually not ideal when looking for usage. 2025-11-21 15:50:42 +01:00
Benoit Marty
5150f38dfe Remove BaseCallback, it's actually not ideal when looking for usage. 2025-11-21 15:46:10 +01:00
Benoit Marty
6c8dfff963 Avoid using navigateUp. 2025-11-21 15:13:23 +01:00
Benoit Marty
914a44c6dc Add unit test on EditUserProfileView 2025-11-21 14:41:19 +01:00
Benoit Marty
d9a0e4971d Add preview 2025-11-21 14:24:48 +01:00
Benoit Marty
5000ba6424 Add unit tests 2025-11-21 12:03:38 +01:00
Benoit Marty
89404a0dd9 Use test extension 2025-11-21 11:56:26 +01:00
Benoit Marty
636c4c940e Show not save dialog when exiting user profile edition with unsaved changes 2025-11-21 11:55:20 +01:00
Benoit Marty
a82254d2d5 Use test extension 2025-11-21 09:43:03 +01:00
Benoit Marty
8f25c972d8 Fix and add test 2025-11-21 09:43:03 +01:00
Benoit Marty
ab3d7ab75c Avoid computing the boolean on each recomposition. 2025-11-21 09:43:02 +01:00
Benoit Marty
f66f61fc39 Fix and add missing preview. 2025-11-20 18:06:55 +01:00
Benoit Marty
423154e153 Render room version in room detail screen if developer mode is enabled. 2025-11-20 17:29:28 +01:00
Benoit Marty
57708bd462 Improve code around confirmation. 2025-11-20 17:29:28 +01:00
Benoit Marty
0110cf018a Comparing mutable state was wrong 2025-11-20 17:29:28 +01:00
Benoit Marty
37c5ba4b94 item can be reordered, so hasPendingChanges should compare set and not list. 2025-11-20 17:29:28 +01:00
ElementBot
42dd6c3544 Sync Strings from Localazy (#5782)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2025-11-20 15:25:19 +00:00
ganfra
43b4bd3fd5 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
12b71d6c0b quality: fix tests after api changes 2025-11-19 17:30:01 +01:00
Benoit Marty
2861d1cf8e Ensure that htmlConverterProvider is initialized when viewing Pinned events. Fixes #5763 2025-11-19 14:37:19 +01:00
ganfra
f5d450e68b deps(sdk): fix api usages 2025-11-19 13:07:59 +01:00
Benoit Marty
d8cacba43a Improve API: use RoomId instead of String. 2025-11-19 10:14:03 +01:00
Benoit Marty
88f0111137 Ensure in test that rooms are sorted. 2025-11-19 10:14:03 +01:00
Benoit Marty
a64fe57ec6 Use test extension 2025-11-19 10:14:03 +01:00
Benoit Marty
e91f03181f Simplify again. 2025-11-19 10:14:03 +01:00
Benoit Marty
8be1faf70f Improve code again. 2025-11-19 10:14:03 +01:00
Benoit Marty
c1811bb727 roomMembers can be private 2025-11-19 10:14:03 +01:00
Benoit Marty
1dbf2319ff Avoid creating many PowerLevelRoomMemberComparator instance and also avoid doing the sorting twice. 2025-11-19 10:14:03 +01:00
Benoit Marty
b3969fdb8e Remove class duplication. 2025-11-19 10:14:03 +01:00
Benoit Marty
a50844c0e6 Avoid creating a new Collator and apply same decomposition across codebase. 2025-11-19 10:14:03 +01:00
Benoit Marty
d799fa3b5a Fix reported crash.
https://github.com/element-hq/element-x-android-rageshakes/issues/8517
2025-11-19 10:14:03 +01:00
Benoit Marty
03094ec298 Fix crash at startup 2025-11-19 09:34:17 +01:00
Benoit Marty
b54b077125 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
de2ab5a557 Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
Module cleanup
2025-11-18 16:14:10 +01:00
Benoit Marty
5728452e68 Remove unused slidingSyncProxy from DB. 2025-11-18 15:58:22 +01:00
Jorge Martin Espinosa
396edbce3d 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
399ad6ea03 Ensure the color has a # prefix. 2025-11-17 18:03:43 +01:00
Benoit Marty
1c052bf31d 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
6bdb4d1ad4 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
6e66d63f53 Fix regression on Preview. 2025-11-17 10:46:38 +01:00
ElementBot
5087cb8bbd 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
65ff881174 Fix owners not displayed in the horizontal list. 2025-11-17 10:06:30 +01:00