Commit graph

12842 commits

Author SHA1 Message Date
Jorge Martin Espinosa
aa061f8ef3
Fix crash when calling Room.predecessorRoom when the room is destroyed (#5894)
* Fix crash when calling `Client.predecessorRoom` when the room is destroyed

* Handle the root cause of this crash: destroying the room on activity recreation
2025-12-15 10:25:08 +01:00
Benoit Marty
a571996ff3
Merge pull request #5891 from element-hq/feature/bma/qrCodeScannerCleanup
Qr code scanner cleanup
2025-12-12 17:24:01 +01:00
Benoit Marty
e1361d8677
Merge pull request #5888 from element-hq/feature/bma/roomListIcons
RoomSummary: move the icon related to the last message state on start of the message.
2025-12-12 17:12:34 +01:00
Benoit Marty
e6cde921a5
Merge pull request #5897 from element-hq/feature/bma/syncCompoundTokens
Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v6.4.2
2025-12-12 14:09:32 +01:00
ElementBot
72c3e79ca6 Update screenshots 2025-12-12 11:36:01 +00:00
Benoit Marty
6427332c84 Fix compilation issue. 2025-12-12 12:21:41 +01:00
Benoit Marty
9c0c1ee722 Import Compound tokens from release v6.4.2
https://github.com/element-hq/compound-design-tokens/releases/tag/v6.4.2
2025-12-12 12:20:13 +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
ElementBot
72c604b047 Update screenshots 2025-12-11 14:06:53 +00:00
Benoit Marty
82d38faa3d RoomSummary: move the icon related to the last message state on start of the message. 2025-12-11 13:52:30 +01:00
Jorge Martín
c5bb18c0a7 Make explicit we want to keep the member names too, but we want to allow optimization of the code and shrinking when methods aren't used 2025-12-11 11:43:55 +01:00
Jorge Martín
6d6ce8d071 Improve proguard config to keep the names in the classes in out packages 2025-12-11 11:43:55 +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
renovate[bot]
67dee7bb5f fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.10 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
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
Benoit Marty
0c60b75709
Merge pull request #5862 from element-hq/feature/bma/legacyPackaging
Add a way to configure value of useLegacyPackaging
2025-12-10 11:50:08 +01:00
ganfra
6ddb1ecd75
Merge pull request #5872 from element-hq/renovate/net.zetetic-sqlcipher-android-4.x
fix(deps): update dependency net.zetetic:sqlcipher-android to v4.12.0
2025-12-10 11:41:11 +01:00
ganfra
932f069b72
Merge pull request #5876 from element-hq/renovate/org.maplibre.gl-android-sdk-12.x
fix(deps): update dependency org.maplibre.gl:android-sdk to v12.2.2
2025-12-10 11:40:44 +01:00
Benoit Marty
3b7afd5240
Merge pull request #5877 from element-hq/feature/bma/fixPermissionSettingNavigation
Fix permission setting navigation
2025-12-10 11:19:48 +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
renovate[bot]
1b40029155
fix(deps): update dependency org.maplibre.gl:android-sdk to v12.2.2 2025-12-10 07:11:40 +00: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
renovate[bot]
c1e1d600a9
Update dependency net.zetetic:sqlcipher-android to v4.12.0 2025-12-09 13:07:50 +00: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