Commit Graph

12843 Commits

Author SHA1 Message Date
renovate[bot]
d4c7cb77fb fix(deps): update dependency com.android.tools.build:gradle to v8.13.2 2025-12-15 10:29:40 +01:00
Jorge Martin Espinosa
aaf788b448 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
b03b6b3da8 Merge pull request #5891 from element-hq/feature/bma/qrCodeScannerCleanup
Qr code scanner cleanup
2025-12-12 17:24:01 +01:00
Benoit Marty
9ba84a1f8f 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
93224c0e70 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
23f3195b2a Update screenshots 2025-12-12 11:36:01 +00:00
Benoit Marty
4e043bfa40 Fix compilation issue. 2025-12-12 12:21:41 +01:00
Benoit Marty
6791890bf9 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
06c20e3abf Move usage of LocalInspectionMode.current into the deeper block. 2025-12-11 17:33:24 +01:00
Benoit Marty
6100d4944f Cleanup 2025-12-11 17:23:34 +01:00
Benoit Marty
efa5c7794d Improve code 2025-12-11 17:07:55 +01:00
Benoit Marty
4f5ce5711d Remove nullability 2025-12-11 17:05:42 +01:00
ElementBot
6876d0da22 Update screenshots 2025-12-11 14:06:53 +00:00
Benoit Marty
6d93ce25aa 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
cf00b799f2 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
8d0e2e669e Improve proguard config to keep the names in the classes in out packages 2025-12-11 11:43:55 +01:00
Jorge Martín
9723a7c426 Add missing trace log packs 2025-12-10 16:27:53 +01:00
Jorge Martín
289c0751d5 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]
287d0a38d7 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.10 2025-12-10 16:27:53 +01:00
Jorge Martín
fc9ba17f84 Use the raw expected string for DefaultDeepLinkCreatorTest cases 2025-12-10 15:58:41 +01:00
Jorge Martín
a59b9c86e9 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
1e52e1139f Tweak the DefaultWorkManagerScheduler.hasPendingWork logic 2025-12-10 15:22:16 +01:00
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
d98a733974 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
eacd7dbb04 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
c30e61f04c 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
00265d9574 Merge pull request #5877 from element-hq/feature/bma/fixPermissionSettingNavigation
Fix permission setting navigation
2025-12-10 11:19:48 +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
renovate[bot]
e668c50351 fix(deps): update dependency org.maplibre.gl:android-sdk to v12.2.2 2025-12-10 07:11:40 +00:00
renovate[bot]
618171be05 chore(deps): update codecov/codecov-action action to v5.5.2 2025-12-10 08:09:29 +01:00
Benoit Marty
d044c0b032 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
cf53a7b0dc Merge pull request #5868 from element-hq/renovate/showkase
Update showkase to v1.0.5
2025-12-09 16:06:13 +01:00
ganfra
cb26dba913 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]
a6df4af7ed Update dependency net.zetetic:sqlcipher-android to v4.12.0 2025-12-09 13:07:50 +00:00
ganfra
49b5901615 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]
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
Benoit Marty
eff79d0b88 Add accessibility to the "sending" picto. 2025-12-08 15:28:38 +01:00
renovate[bot]
2030e79f2e Update showkase to v1.0.5 2025-12-08 14:18:33 +00: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