Commit graph

12533 commits

Author SHA1 Message Date
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
9247c2da79 Remove unused import. 2025-11-18 16:42:34 +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
860257e3b2
Try fixing forced dark mode issues on MIUI on Android 10 (#5708) 2025-11-18 15:34:06 +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
Jorge Martin Espinosa
740e486cd0
Revert "Stop overriding the homeserver when restoring a Client (#5753)" (#5754)
This reverts commit 21ced9e105.
2025-11-18 15:16:34 +01:00
Jorge Martin Espinosa
21ced9e105
Stop overriding the homeserver when restoring a Client (#5753)
This isn't necessary and overrides the existing data previously saved by the SDK, resulting in losing data such as the `Client::server` (the discovery server URL).

In turn, this caused the app to be unable to refresh the server info in some homeservers.
2025-11-18 11:48:42 +01:00
Jorge Martin Espinosa
36ecb440ef
Add media retention policy (#5749)
* Add media retention policy.

Add `ByteSize` class to help with conversions between byte units.

* Use bit shifting instead of multiplication

Improve the tests too
2025-11-18 07:53:45 +00:00
renovate[bot]
584ec4f64e
fix(deps): update dependency org.maplibre.gl:android-sdk to v12.1.3 (#5743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-18 08:02:15 +01:00
renovate[bot]
78052bec40
fix(deps): update metro to v0.7.6 (#5752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-18 08:01:36 +01:00
Benoit Marty
3f6ec44d62
Merge pull request #5626 from element-hq/bma/brandColor
Fix issue on brand color override
2025-11-18 07:58:49 +01:00
Benoit Marty
a7ffe8087c @Inject is not necessary here. 2025-11-17 21:35:56 +01:00
Benoit Marty
e3bf824d73 Update ref 2025-11-17 18:05:55 +01:00
Benoit Marty
a00a188cd9 Fix Javascript issue. 2025-11-17 18:05:29 +01:00
Benoit Marty
001e399d40 vector-im -> element-hq 2025-11-17 18:04:54 +01:00
Benoit Marty
8804fb7ce5 Update Ref. 2025-11-17 18:04:53 +01:00
Benoit Marty
65171c7d92 Enable Konsist test. 2025-11-17 18:03:43 +01:00
Benoit Marty
a586299900 Ensure the color has a # prefix. 2025-11-17 18:03:43 +01:00
Benoit Marty
38448f7f1e
Merge pull request #5748 from element-hq/feature/bma/newNotificationSound
Use new notification sound in release.
2025-11-17 16:36:13 +01:00
Benoit Marty
aab46b3ed6 Use new notification sound in release. 2025-11-17 16:25:17 +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
S1m
c4dd960e0d
Fix push gateway with some push provider (Sunup/autopush) (#5741)
* Add more HTTP response code returning NoMatrixGateway

Fix Push notifications with Mozilla's autopush that returns 406

* Update gateway resolver tests to match new known errors
2025-11-17 13:34:35 +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
renovate[bot]
ee49e8fa19
fix(deps): update dependency com.google.firebase:firebase-bom to v34.6.0 (#5737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 13:27:42 +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
renovate[bot]
e9a8e9594d
fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5.3.1 (#5746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 08:46:35 +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
Benoit Marty
017a259f1c Update notification content 2025-11-14 15:40:31 +01:00
Benoit Marty
1d7d00e4bb Improve code readability and documentation. 2025-11-14 15:10:24 +01:00
Benoit Marty
dbb9bb1338 Update KDoc 2025-11-14 14:23:29 +01:00
ganfra
2120b5c5bd
Merge pull request #5728 from element-hq/feature/fga/members_improvements
Changes : member list improvements
2025-11-14 14:01:28 +01:00
Jorge Martin Espinosa
dcfe025dd2
Fix navigation stack overflow when sharing media (#5724)
* Fix navigation stack overflow when sharing media

* Improve the handling of back navigation in the navigation button too
2025-11-14 13:50:13 +01:00
ElementBot
f8fb069fbe Update screenshots 2025-11-14 11:42:00 +00:00
ganfra
5046148708 change(room members): address PR reviews 2025-11-14 12:27:45 +01:00
ganfra
2bcf6f32d1
Merge pull request #5730 from element-hq/renovate/sqldelight
Update sqldelight to v2.2.1
2025-11-14 10:01:31 +01:00
Benoit Marty
8a53be3b33 Fix warning 2025-11-14 09:39:55 +01:00
Benoit Marty
6f13feed13 No need for an id, can use ordinal. 2025-11-14 09:38:31 +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
renovate[bot]
6cee36e3be
Update sqldelight to v2.2.1 2025-11-14 01:08:22 +00: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
358731def3 Update comment 2025-11-13 18:06:27 +01:00
Benoit Marty
d3339872ff Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher 2025-11-13 17:50:21 +01:00