Commit graph

12807 commits

Author SHA1 Message Date
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
renovate[bot]
e250f46f4a chore(deps): update codecov/codecov-action action to v5.5.2 2025-12-10 08:09:29 +01:00
Benoit Marty
a4c619c601
Merge pull request #5869 from element-hq/feature/bma/roomPreviewA11y
Add accessibility to the "sending" picto.
2025-12-09 23:05:51 +01:00
ganfra
f9a8eda251
Merge pull request #5868 from element-hq/renovate/showkase
Update showkase to v1.0.5
2025-12-09 16:06:13 +01:00
ganfra
29490f7aad
Merge pull request #5857 from element-hq/renovate/camera
Update camera to v1.5.2
2025-12-09 16:05:43 +01:00
ganfra
8aff1e6503
Merge pull request #5865 from element-hq/renovate/peter-evans-create-pull-request-7.x
Update peter-evans/create-pull-request action to v7.0.11
2025-12-09 14:05:47 +01:00
renovate[bot]
fd48e73851 Update metro to v0.8.2 2025-12-09 08:57:05 +01:00
Skye Elliot
59f51d8627
Add alert to encrypted rooms with visible history (Android). (#5709)
* feat: Add visible history alert to encrypted rooms.

- Adds a dismissable alert that is displayed whenever the user opens a
  room with `history_visibility` != `joined`. When cleared, this is
  recorded in the app's data store.
- When opening a room with `history_visibility` = `joined`, this flag is
  cleared.`

Issue: https://github.com/element-hq/element-meta/issues/2875

* chore: Fix linting issues.

* feat: Move alert showing logic into state presenter.

* chore: Fix linting issues.

* tests: Fixup tests.

* feat: Use real link.

* chore: Update license header.

* chore: Add (c) to license headers.

* chore: Add `.` to license header.

* feat: Lock alert behind history sharing developer setting.

* ci: Trigger record screenshots

* feat: Create repo key using session ID for multi-account support.

* feat: Use session ID hash for constructing data store.

* tests: Correct and update tests.

* tests: Update snapshots.

* feat: Prevent identity alert from displaying with history visibility alert.

* feat: Tidy up HistoryVisibleStatePresenter logic, update previews.

* chore: Remove unused import.

* chore: Update screenshots.

* feat: Add translation string.

* chore: Remove redundant temporary translation file.
2025-12-08 21:19:15 +01:00
Benoit Marty
556af69399 Add accessibility to the "sending" picto. 2025-12-08 15:28:38 +01:00
renovate[bot]
96b10258c8
Update showkase to v1.0.5 2025-12-08 14:18:33 +00:00
renovate[bot]
a5912e6960
fix(deps): update dependency io.mockk:mockk to v1.14.7 (#5866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-08 14:16:36 +00: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
renovate[bot]
a7a1497c50
Merge pull request #5853 from element-hq/renovate/io.sentry-sentry-android-8.x
fix(deps): update dependency io.sentry:sentry-android to v8.28.0
2025-12-08 14:50:03 +01:00
Benoit Marty
2fe71e6c22 Trigger CI 2025-12-08 14:28:29 +01:00
renovate[bot]
5813f0bc13
chore(deps): update peter-evans/create-pull-request action to v7.0.11 2025-12-08 13:26:21 +00: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
Benoit Marty
47b4eaff9e
Merge pull request #5860 from element-hq/sync-localazy
Sync Strings
2025-12-08 10:43:14 +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
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
Benoit Marty
d0df2cd088 Update detekt rules after updating compose.rules to version 0.5.1. 2025-12-05 09:33:21 +01:00
Jorge Martín
33441d9d40 Fix: use the right BuildTimeConfig field for the SDK DSN
We were using `SERVICES_SENTRY_SDK_DSN`, but the enterprise template uses `SERVICES_SENTRY_DSN_RUST`
2025-12-04 22:53:39 +01:00
renovate[bot]
e4fe19ef59
fix(deps): update camera to v1.5.2 2025-12-04 18:44:27 +00:00
Jorge Martín
de91d56e13 Add missing abstractions and fakes 2025-12-04 18:02:59 +01:00
ganfra
b6ff51b410
Merge pull request #5854 from element-hq/feature/fga/space_invite_notification
change(notification): handle invite notification for spaces
2025-12-04 16:56:17 +01:00
Jorge Martín
89149a4268 Restore disabled tests with FFI fakes 2025-12-04 16:55:22 +01:00
renovate[bot]
e6a681899e
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.4 2025-12-04 15:19:18 +00:00
ganfra
a52e1c28d1
Merge branch 'develop' into feature/fga/space_invite_notification 2025-12-04 15:53:49 +01:00
renovate[bot]
5e57e2cebb
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.1 2025-12-04 14:21:35 +00:00
renovate[bot]
399a267764 chore(deps): update plugin sonarqube to v7.2.0.6526 2025-12-04 15:19:36 +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
6c82393bcb Add missing doc 2025-12-04 12:17:52 +01:00
Jorge Martín
42a579a6d4 Fix screenshot tests blocking testDebugUnitTest task 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
6c404fda36 Update GH action flows to include the SDK DSN value 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
Benoit Marty
b20ccf8b63
Merge pull request #5845 from element-hq/feature/bma/unsavedChangeDialog
Update unsaved change dialog
2025-12-04 11:03:42 +01:00
Benoit Marty
24e3705671 run command ./gradlew ktlintFormat :) 2025-12-04 10:18:19 +01:00
Jorge Martín
97d38b5910 Restore no-unused-imports behaviour for ktlintFormat 2025-12-04 10:18:19 +01:00