Commit graph

5204 commits

Author SHA1 Message Date
Benoit Marty
9da2721570 Add unit test on toAnalyticsMemberRole() 2025-11-25 15:55:25 +01:00
ganfra
1a00184d1f
Merge pull request #5796 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.11.24
2025-11-25 11:36:16 +01:00
ganfra
1195b9a32c quality: fix test after api removal 2025-11-25 11:01:18 +01:00
ganfra
46136aafe4 change(member list): use only local user identity 2025-11-24 20:23:46 +01:00
ElementBot
eff221645e
Sync Strings (#5792)
* Sync Strings from Localazy

* Update localazy config and sync strings.

* Use the new localazy key.

* Sync strings again

* Sync strings again and fix compilation issue.

* Update screenshots

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-11-24 17:28:49 +01:00
Benoit Marty
021b021a39
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
e8e257db70
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
c10bea08b2 Fix test 2025-11-21 16:36:56 +01:00
Benoit Marty
b15c5507c5 Fix compilation issue in test 2025-11-21 16:22:33 +01:00
Benoit Marty
83d13d0eb5 Fix crash when clicking fast on back key on the Developer settings screen. 2025-11-21 15:54:03 +01:00
Benoit Marty
7bf7f68706 Fix crash when clicking fast on back key on the Labs screen. 2025-11-21 15:52:54 +01:00
Benoit Marty
e475a969d7 Fix crash when clicking fast on back key on the Add account screen. 2025-11-21 15:51:11 +01:00
Benoit Marty
31e9abbb98 Remove BaseNavigator, it's actually not ideal when looking for usage. 2025-11-21 15:50:42 +01:00
Benoit Marty
942d60812e Remove BaseCallback, it's actually not ideal when looking for usage. 2025-11-21 15:46:10 +01:00
Benoit Marty
f05a00b9b3 Avoid using navigateUp. 2025-11-21 15:13:23 +01:00
Benoit Marty
4a90186bd1 Add unit test on EditUserProfileView 2025-11-21 14:41:19 +01:00
Benoit Marty
4dd148d371 Add preview 2025-11-21 14:24:48 +01:00
Benoit Marty
c8b4c1f29e Add unit tests 2025-11-21 12:03:38 +01:00
Benoit Marty
c67f257af0 Use test extension 2025-11-21 11:56:26 +01:00
Benoit Marty
f801a0b47f Show not save dialog when exiting user profile edition with unsaved changes 2025-11-21 11:55:20 +01:00
Benoit Marty
2ffbd80363 Use test extension 2025-11-21 09:43:03 +01:00
Benoit Marty
37e395d480 Fix and add test 2025-11-21 09:43:03 +01:00
Benoit Marty
f03f64ad3b Avoid computing the boolean on each recomposition. 2025-11-21 09:43:02 +01:00
Benoit Marty
fafb243eb2 Fix and add missing preview. 2025-11-20 18:06:55 +01:00
Benoit Marty
fbddfbdb0e Render room version in room detail screen if developer mode is enabled. 2025-11-20 17:29:28 +01:00
Benoit Marty
f8cd83db24 Improve code around confirmation. 2025-11-20 17:29:28 +01:00
Benoit Marty
c39c4260eb Comparing mutable state was wrong 2025-11-20 17:29:28 +01:00
Benoit Marty
7c6aa0655b item can be reordered, so hasPendingChanges should compare set and not list. 2025-11-20 17:29:28 +01:00
ElementBot
703496e059
Sync Strings from Localazy (#5782)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2025-11-20 15:25:19 +00:00
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