Commit graph

12829 commits

Author SHA1 Message Date
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
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
Benoit Marty
0b62a4a7f9 Add a way to configure value of android.packaging.jniLibs.useLegacyPackaging from command line. 2025-12-08 09:54:01 +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