ganfra
1bde2384e9
quality: fix tests after api changes
2025-11-19 17:30:01 +01:00
ganfra
abcb38ef06
Merge branch 'develop' into renovate/org.matrix.rustcomponents-sdk-android-25.x
2025-11-19 13:10:18 +01:00
ganfra
fe65ba1839
deps(sdk): fix api usages
2025-11-19 13:07:59 +01:00
Jorge Martin Espinosa
f78c80803b
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
c8604c262a
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
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
f3247b8d5d
Rename test class
2025-11-19 10:14:03 +01:00
Benoit Marty
65ed414c87
Remove class duplication.
2025-11-19 10:14:03 +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
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
Benoit Marty
a7ffe8087c
@Inject is not necessary here.
2025-11-17 21:35:56 +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
aab46b3ed6
Use new notification sound in release.
2025-11-17 16:25:17 +01:00
Benoit Marty
c26b61c0c6
Cleanup
2025-11-17 13:41:16 +01:00
Benoit Marty
78f976e3d9
Using Kdoc is not correct here.
2025-11-17 13:40:19 +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
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
b40ccd94c8
Merge pull request #5726 from element-hq/feature/bma/notificationCleanup
...
Notification robustness
2025-11-14 18:02:45 +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
ganfra
5046148708
change(room members): address PR reviews
2025-11-14 12:27:45 +01:00
Benoit Marty
6f13feed13
No need for an id, can use ordinal.
2025-11-14 09:38:31 +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
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
ganfra
3279684dc6
change(room members): moderation sheet design updates
2025-11-13 17:13:45 +01:00
ganfra
9618e9ad51
quality : format code
2025-11-13 16:00:07 +01:00
Benoit Marty
c7d4689473
Add missing test.
2025-11-13 15:39:20 +01:00
Benoit Marty
c453d2adac
Add unit test on DefaultUnifiedPushRemovedGatewayHandler
2025-11-13 15:34:33 +01:00
Benoit Marty
0dcd63c7f9
Add unit test on DefaultServiceUnregisteredHandler
2025-11-13 15:13:05 +01:00
Benoit Marty
f9c0b9e8bb
UnifiedPush: emit error when registration fails.
...
Note that I did not manage to have the method `onRegistrationFailed` invoked. If the network is not available for instance, unregistering the previous pusher will fail first.
2025-11-13 14:56:20 +01:00
ganfra
7400fd6c84
Merge branch 'develop' into feature/fga/members_improvements
2025-11-13 14:30:29 +01:00
Benoit Marty
6b7e8f72f5
Improve logs
2025-11-13 12:26:46 +01:00
Benoit Marty
e706e5fa0e
Unregister the pusher when the topic is deleted (unregistered)
2025-11-13 12:26:35 +01:00
Benoit Marty
3a3ab4e696
Cleanup NotificationCreator.
2025-11-13 11:59:58 +01:00
Benoit Marty
8c6a7ccac5
Use the method setLargeIcon(Bitmap?) instead of setLargeIcon(Icon?) because it may scale the Bitmap on versions before API 27. Starting in API 27, the framework does this automatically.
2025-11-13 11:41:11 +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
df11dbdf97
Fix tests
2025-11-12 23:04:55 +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