Commit Graph

4694 Commits

Author SHA1 Message Date
Benoit Marty
f5dacb7b2f Fix crash when recording long voice message. 2025-11-26 17:14:33 +01:00
ganfra
e3315406c5 Merge pull request #5809 from element-hq/feature/fga/new_latest_event
misc : use newLatestEvent api from sdk
2025-11-26 12:30:34 +01:00
renovate[bot]
84d368741a fix(deps): update android.gradle.plugin to v8.13.1 (#5260)
* fix(deps): update android.gradle.plugin to v8.13.1

* Remove warning about AGP 8.12.x+

* Fix proguard-related code deprecations, use the new `optimization` API

* Workaround issues related to Android lint not being able to check these complex methods with kotlin contracts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-11-26 11:57:22 +01:00
ganfra
ca526580fd misc : use new_latest_event api (+ some renaming) 2025-11-26 10:58:16 +01:00
ganfra
701eed110a Merge branch 'develop' into feature/fga/iterate_members 2025-11-25 13:08:52 +01:00
ganfra
4168deb6b7 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
8a599a1e51 deps(sdk) : add fallbackToServer on userIdentity api. 2025-11-24 20:22:11 +01:00
ElementBot
cd9a0272c5 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
ganfra
b243394b67 misc: AsyncData map non nullable 2025-11-21 18:41:49 +01:00
ganfra
534d69f695 design: introduce SearchField component 2025-11-21 18:41:49 +01:00
ganfra
38eea9d4af change(members): update RoomMemberModerationView 2025-11-21 18:41:49 +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
966eab8796 Fix roleOf extension. Creator are Owner Role only if privilegedCreatorRole is true. 2025-11-20 17:41:01 +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
Benoit Marty
e9b50f604e Merge pull request #5768 from element-hq/feature/bma/fixCrashInWorkManager
Fix crash in work manager
2025-11-20 15:26:49 +01:00
Benoit Marty
3c53c4d96b it -> dataList 2025-11-20 14:52:53 +01:00
Benoit Marty
3eccb5c15d Improve test names and perform more test. 2025-11-20 12:54:06 +01:00
Benoit Marty
502fd472ed Improve chunk algorithm 2025-11-19 19:16:24 +01:00
Benoit Marty
0355c0bda9 Improve code again 2025-11-19 18:28:00 +01:00
Benoit Marty
b976d9deac Fix and add test 2025-11-19 17:38:11 +01:00
ganfra
12b71d6c0b quality: fix tests after api changes 2025-11-19 17:30:01 +01:00
Benoit Marty
e0c829d887 First attempt 2025-11-19 16:56:01 +01:00
ganfra
f4f129f420 Merge branch 'develop' into renovate/org.matrix.rustcomponents-sdk-android-25.x 2025-11-19 13:10:18 +01:00
ganfra
f5d450e68b deps(sdk): fix api usages 2025-11-19 13:07:59 +01:00
Jorge Martin Espinosa
c6c2f4a267 Add some performance metrics for Sentry (#5760)
- Add `AnalyticsService.startTransaction(...)` to start a logging transaction that can be uploaded to Sentry if the user enabled the analytics upload.
- Add `AnalyticsTransaction` wrapper to abstract the Sentry ones.
- Added several helper methods to improve the UX around these transactions.
- Then measure:
  - Time until the first sync, and how it ended.
  - Time until the first rooms are displayed.
  - Time to load a room or a preview.
  - Time to load a timeline.
2025-11-19 11:42:55 +00:00
Benoit Marty
de3ffca1af Merge pull request #5738 from element-hq/renovate/ktlint
fix(deps): update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0
2025-11-19 12:16:05 +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
dc53a03469 Rename test class 2025-11-19 10:14:03 +01:00
Benoit Marty
b3969fdb8e Remove class duplication. 2025-11-19 10:14:03 +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
7cbc616bef Remove unused import. 2025-11-18 16:42:34 +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
Jorge Martin Espinosa
5a5c0b16ca Revert "Stop overriding the homeserver when restoring a Client (#5753)" (#5754)
This reverts commit a0a3a30aa3.
2025-11-18 15:16:34 +01:00
Jorge Martin Espinosa
a0a3a30aa3 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
2b5c94cf9a 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
Benoit Marty
42e91a3395 @Inject is not necessary here. 2025-11-17 21:35:56 +01:00
Benoit Marty
6dd008948b Fix Javascript issue. 2025-11-17 18:05:29 +01:00
Benoit Marty
8a0bada50c vector-im -> element-hq 2025-11-17 18:04:54 +01:00
Benoit Marty
94a022889f Use new notification sound in release. 2025-11-17 16:25:17 +01:00
Benoit Marty
49570f53b5 Cleanup 2025-11-17 13:41:16 +01:00
Benoit Marty
ebbe477135 Using Kdoc is not correct here. 2025-11-17 13:40:19 +01:00
S1m
3cbdc97cdd 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
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
acf10ace35 Merge pull request #5726 from element-hq/feature/bma/notificationCleanup
Notification robustness
2025-11-14 18:02:45 +01:00
Benoit Marty
7f199db5ef Update notification content 2025-11-14 15:40:31 +01:00
Benoit Marty
2789c8614d Improve code readability and documentation. 2025-11-14 15:10:24 +01:00
Benoit Marty
828092c87a Update KDoc 2025-11-14 14:23:29 +01:00