Commit graph

5133 commits

Author SHA1 Message Date
ganfra
541a1d29bd misc(power level) : remove old api 2025-12-12 11:26:54 +01:00
ganfra
d654280e30 misc(power level) : use new api 2025-12-12 11:26:54 +01:00
ganfra
44535243ef misc(power level) : introduce RoomPermissions 2025-12-12 11:26:54 +01:00
Benoit Marty
7d73fd3b50 Move usage of LocalInspectionMode.current into the deeper block. 2025-12-11 17:33:24 +01:00
Benoit Marty
56d7ced633 Cleanup 2025-12-11 17:23:34 +01:00
Benoit Marty
8217b0bea0 Improve code 2025-12-11 17:07:55 +01:00
Benoit Marty
3edbfccb6b Remove nullability 2025-12-11 17:05:42 +01:00
Jorge Martín
881877b23e Add missing trace log packs 2025-12-10 16:27:53 +01:00
Jorge Martín
27cb88d88e Fix broken API changes: use Room.latestEvent, which will keep its name, but it'll be using the logic previously in Room.newLatestEvent 2025-12-10 16:27:53 +01:00
Jorge Martín
f74360a2d9 Use the raw expected string for DefaultDeepLinkCreatorTest cases 2025-12-10 15:58:41 +01:00
Jorge Martín
ca21e16c26 URL-encode deep link path segments in DefaultDeepLinkCreator
Decode them later in `DefaultDeepLinkParser` too
2025-12-10 15:58:41 +01:00
ganfra
3e67a43799 change(room permissions): support space management 2025-12-10 15:29:50 +01:00
Jorge Martín
cf6ae7d611 Tweak the DefaultWorkManagerScheduler.hasPendingWork logic 2025-12-10 15:22:16 +01:00
Jorge Martín
607b1d9023 Add Sentry transaction so we can check how long it takes to vacuum and if there were any errors when doing it 2025-12-10 15:22:16 +01:00
Jorge Martín
54c49e4f33 Fix dependency injection 2025-12-10 15:22:16 +01:00
Jorge Martín
2e88815e1b Make sure we schedule the vacuum task only if there isn't an existing one 2025-12-10 15:22:16 +01:00
Jorge Martín
95cded80a6 Fix lint issues 2025-12-10 15:22:16 +01:00
Jorge Martín
734485255a Add a periodic DB vacuuming task 2025-12-10 15:22:16 +01:00
Jorge Martín
5d6aa1fcfd Add developer option to optimize the SDK DBs 2025-12-10 15:22:16 +01:00
ganfra
c4a542dbf1 localazy: download strings to match module 2025-12-10 15:14:35 +01:00
ganfra
47708dc53b fix(editable avatar) : disable avatar editing if no permission 2025-12-10 14:30:09 +01:00
ganfra
5d2008cfe9 misc(power level) : clean up code 2025-12-10 11:26:07 +01:00
Benoit Marty
3f321edc71 Remove empty line 2025-12-10 10:56:52 +01:00
Benoit Marty
8a7e71b49e PermissionsEvents -> PermissionsEvent 2025-12-10 10:50:10 +01:00
Benoit Marty
fa3274e135 Test cleanup 2025-12-10 10:49:16 +01:00
Benoit Marty
cc33ec5cca Improve test. 2025-12-10 10:36:15 +01:00
Benoit Marty
4955d79c24 Fix issue where the wrong system was opened when dealing with other permissions than Manifest.permission.POST_NOTIFICATIONS 2025-12-10 10:32:37 +01:00
ganfra
48971d4aee misc(power level) : update tests following api change 2025-12-09 22:38:30 +01:00
ganfra
400d520685 misc(power level) : remove old api 2025-12-08 22:23:17 +01:00
ganfra
0e6f339a6c misc(power level) : use new api 2025-12-08 22:23:07 +01:00
Benoit Marty
f76d817b4e
Merge pull request #5852 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.1
2025-12-08 15:05:12 +01:00
Benoit Marty
4df192ff86
Merge pull request #5855 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.4
2025-12-08 14:24:24 +01:00
bmarty
3935a3b6ce Sync Strings from Localazy 2025-12-08 00:34:18 +00:00
Jorge Martín
7a35ab6c4a Make DefaultWorkManagerScheduler a singleton sin it now has an observer that should be a singleton 2025-12-05 17:42:57 +01:00
Jorge Martín
5947d6cd67 Use SessionObserver instead of SessionStore to observe sessions 2025-12-05 17:42:57 +01:00
Jorge Martín
6ef86cdda9 Test DefaultWorkManagerScheduler 2025-12-05 17:42:57 +01:00
Jorge Martín
9c7ba58114 Don't re-schedule notification fetches if the cause of the failure is SessionRestorationException, since that means it'll most likely fail again 2025-12-05 17:42:57 +01:00
Jorge Martín
10224d8e01 Add SessionRestorationException, make sure ClientException can expose it through the cause property 2025-12-05 17:42:57 +01:00
ganfra
ce2bb0a4aa misc(power level) : introduce RoomPermissions 2025-12-05 12:53:58 +01:00
Benoit Marty
6541652d82 Fix warning "Throwable should be first argument" 2025-12-05 09:48:26 +01:00
Benoit Marty
54e742075d Detekt: enable rule exceptions.SwallowedException and fix existing issue. 2025-12-05 09:45:23 +01:00
Jorge Martín
de91d56e13 Add missing abstractions and fakes 2025-12-04 18:02:59 +01:00
Jorge Martín
89149a4268 Restore disabled tests with FFI fakes 2025-12-04 16:55:22 +01:00
ganfra
a52e1c28d1
Merge branch 'develop' into feature/fga/space_invite_notification 2025-12-04 15:53:49 +01:00
ganfra
236db9e35d change(notification): handle invite notification for spaces 2025-12-04 12:25:30 +01:00
Jorge Martín
342ee0c10b Replace AnalyticsSdkSpanFactory with AnalyticsSdkManager.
`AnalyticsSdkManager` also enables and disables Sentry logging in the SDK based on analytics user content.
2025-12-04 12:17:52 +01:00
Jorge Martín
942eae94ad Make SentrySdkDsn a value class instead of a qualifier 2025-12-04 12:17:52 +01:00
Jorge Martín
890b6111ea Fix providing the Sentry SDK DSN in Element Pro when no analytic modules are enabled 2025-12-04 12:17:52 +01:00
Jorge Martín
bd427735ff Allow bridging Sentry spans to the SDK ones.
Add distributed tracing for `Room.timelineWithConfiguration`, so we can inspect the associated Rust trace.
2025-12-04 12:17:52 +01:00
Jorge Martín
883397e9dc Enable Sentry in the SDK: add SDK Sentry DSN value
This is provided to the SDK in `PlatformInitializer`.
2025-12-04 12:17:52 +01:00