Commit Graph

12794 Commits

Author SHA1 Message Date
renovate[bot]
dafc508e06 Update metro to v0.8.2 2025-12-09 08:57:05 +01:00
Skye Elliot
d0ba02dd7e 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
renovate[bot]
374c43794a 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
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
renovate[bot]
f2622e2ee9 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
38d17b4ac4 Trigger CI 2025-12-08 14:28:29 +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
Benoit Marty
4e847aeb23 Merge pull request #5860 from element-hq/sync-localazy
Sync Strings
2025-12-08 10:43:14 +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
Benoit Marty
a9afa59053 Update detekt rules after updating compose.rules to version 0.5.1. 2025-12-05 09:33:21 +01:00
Jorge Martín
9e997a2fa6 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
Jorge Martín
5d88a04ab0 Add missing abstractions and fakes 2025-12-04 18:02:59 +01:00
ganfra
a5c889ff40 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
e814906ba1 Restore disabled tests with FFI fakes 2025-12-04 16:55:22 +01:00
renovate[bot]
198f3f2a0b fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.4 2025-12-04 15:19:18 +00:00
ganfra
07d02fd076 Merge branch 'develop' into feature/fga/space_invite_notification 2025-12-04 15:53:49 +01:00
renovate[bot]
effddbb583 fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.1 2025-12-04 14:21:35 +00:00
renovate[bot]
fe6c1de6f6 chore(deps): update plugin sonarqube to v7.2.0.6526 2025-12-04 15:19:36 +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
6dd6ce1ad4 Add missing doc 2025-12-04 12:17:52 +01:00
Jorge Martín
9a9f4fd67d Fix screenshot tests blocking testDebugUnitTest task 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
ea36caf981 Update GH action flows to include the SDK DSN value 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
Jorge Martín
8b1efd6bc3 Restore no-unused-imports behaviour for ktlintFormat 2025-12-04 10:18:19 +01:00
ganfra
e111c0aaa6 Merge pull request #5831 from element-hq/renovate/org.maplibre.gl-android-sdk-12.x
fix(deps): update dependency org.maplibre.gl:android-sdk to v12.2.1
2025-12-04 10:10:34 +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
renovate[bot]
96a78d476e fix(deps): update metro to v0.8.1 2025-12-04 08:07:32 +01:00
renovate[bot]
404d8c085a fix(deps): update dependency androidx.exifinterface:exifinterface to v1.4.2 2025-12-04 08:07:20 +01:00
ElementBot
6f7726a472 Update screenshots 2025-12-03 17:45:55 +00:00
Benoit Marty
627549c67a Fix compilation issue after rebase. 2025-12-03 18:26:25 +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
32e2cabae4 CreatePollEvents -> CreatePollEvent 2025-12-03 18:13:18 +01:00
Benoit Marty
4afeb6210c RoomDetailsEditEvents -> RoomDetailsEditEvent 2025-12-03 18:05:12 +01:00
Benoit Marty
a10e049a79 Fix tests 2025-12-03 18:05:12 +01:00
Benoit Marty
2f52d7c683 EditUserProfileEvents -> EditUserProfileEvent 2025-12-03 18:05:11 +01:00
Benoit Marty
f913b5963e Fix test 2025-12-03 18:05:11 +01:00
Benoit Marty
f9b0690257 SecurityAndPrivacyEvents -> SecurityAndPrivacyEvent 2025-12-03 18:05:10 +01:00