Commit graph

4762 commits

Author SHA1 Message Date
Jorge Martín
7e3acd6b58 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
09cab10abc Fix dependency injection 2025-12-10 15:22:16 +01:00
Jorge Martín
d78e28be5e 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
6887ca06d7 Fix lint issues 2025-12-10 15:22:16 +01:00
Jorge Martín
482d7e0648 Add a periodic DB vacuuming task 2025-12-10 15:22:16 +01:00
Jorge Martín
9c72310cb4 Add developer option to optimize the SDK DBs 2025-12-10 15:22:16 +01:00
Benoit Marty
9529c1cb90 Remove empty line 2025-12-10 10:56:52 +01:00
Benoit Marty
d65cbd46a9 PermissionsEvents -> PermissionsEvent 2025-12-10 10:50:10 +01:00
Benoit Marty
87b85409fc Test cleanup 2025-12-10 10:49:16 +01:00
Benoit Marty
0309b9d4cb Improve test. 2025-12-10 10:36:15 +01:00
Benoit Marty
b34f2cddef 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
Benoit Marty
4cfd8907dd 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
ad366c63ec 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
f4c8bbd8ad Sync Strings from Localazy 2025-12-08 00:34:18 +00:00
Jorge Martín
f15a236c10 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
7eae3a16ae Use SessionObserver instead of SessionStore to observe sessions 2025-12-05 17:42:57 +01:00
Jorge Martín
221e18d139 Test DefaultWorkManagerScheduler 2025-12-05 17:42:57 +01:00
Jorge Martín
754c0781f9 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
f745f2ca1e Add SessionRestorationException, make sure ClientException can expose it through the cause property 2025-12-05 17:42:57 +01:00
Benoit Marty
096b8768ea Fix warning "Throwable should be first argument" 2025-12-05 09:48:26 +01:00
Benoit Marty
72b3decf4c Detekt: enable rule exceptions.SwallowedException and fix existing issue. 2025-12-05 09:45:23 +01:00
Jorge Martín
5d88a04ab0 Add missing abstractions and fakes 2025-12-04 18:02:59 +01:00
Jorge Martín
e814906ba1 Restore disabled tests with FFI fakes 2025-12-04 16:55:22 +01:00
ganfra
07d02fd076 Merge branch 'develop' into feature/fga/space_invite_notification 2025-12-04 15:53:49 +01:00
ganfra
a27e31b01b change(notification): handle invite notification for spaces 2025-12-04 12:25:30 +01:00
Jorge Martín
739f12d603 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
b31267d7c7 Make SentrySdkDsn a value class instead of a qualifier 2025-12-04 12:17:52 +01:00
Jorge Martín
c7a5ce152e 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
11f41629c1 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
53ab38d990 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
Benoit Marty
fbaedd017e Merge pull request #5845 from element-hq/feature/bma/unsavedChangeDialog
Update unsaved change dialog
2025-12-04 11:03:42 +01:00
Benoit Marty
5007b6e730 run command ./gradlew ktlintFormat :) 2025-12-04 10:18:19 +01:00
Benoit Marty
9e71e2283b Merge pull request #5835 from element-hq/feature/bma/limitComposerHeight
Limit composer height dynamically
2025-12-04 09:49:19 +01:00
ganfra
1234b91a6a Merge pull request #5832 from element-hq/feature/fga/fix_owner_admin_displayed_twice
fix: usersWithRole(Owner) returns creators only if privilegedCreatorRole is true
2025-12-03 18:19:20 +01:00
Benoit Marty
eeef1b11ea Iterate on Save change dialog. 2025-12-03 18:04:53 +01:00
Benoit Marty
0405ce9254 Remove unused import. 2025-12-03 17:55:40 +01:00
ganfra
5bd194b2b6 Merge pull request #5827 from element-hq/feature/fga/space_feature_flags
Space feature flags
2025-12-03 17:53:03 +01:00
ganfra
147c49e99a quality: remove useless parenthesis
Co-authored-by: Benoit Marty <benoitm@element.io>
2025-12-03 17:45:37 +01:00
Benoit Marty
95ccf16d5d Merge branch 'develop' into feature/bma/limitComposerHeight 2025-12-03 17:44:05 +01:00
ganfra
8382d6292e Merge pull request #5844 from element-hq/feature/fga/room_edit_details
Change : room details edit
2025-12-03 17:43:59 +01:00
ganfra
b40a98acd5 change : update wording of SpaceSettings ff
Co-authored-by: Benoit Marty <benoitm@element.io>
2025-12-03 17:20:56 +01:00
ganfra
42e3a62ab1 Merge pull request #5826 from element-hq/feature/fga/hide_banned_members_name
change(room member): make sure we never display name/avatar when member is banned
2025-12-03 17:19:30 +01:00
ganfra
653f794475 change(room details edit): adjust the ui 2025-12-03 15:10:59 +01:00
ganfra
2e7355e789 change(room details edit): move to his own module 2025-12-03 14:30:05 +01:00
ganfra
15cb6431c6 design: update EditableAvatarView to match figma 2025-12-03 11:38:11 +01:00
ganfra
e5317b069d quality: remove useless code on MatrixRoomState 2025-12-03 11:38:11 +01:00
ganfra
ae3056317d space: SpaceSettings feature flag should be off by default 2025-12-03 11:14:20 +01:00
Benoit Marty
2a73ce0f62 Merge pull request #5821 from element-hq/feature/bma/fixLongVoiceRecording
Fix long voice recording
2025-12-03 10:27:46 +01:00
Benoit Marty
dca7bf0a77 Remove useless derivedStateOf 2025-12-03 09:52:41 +01:00
ganfra
a91c78b56f fix: rely only on RoomMember Role values instead of using the powerLevel. 2025-12-02 21:42:29 +01:00