Commit graph

12950 commits

Author SHA1 Message Date
Benoit Marty
3ea10c2c62
Merge pull request #5909 from element-hq/feature/bma/qrCodeLogin
Link new device using QrCode - First version
2025-12-18 16:08:21 +01:00
Benoit Marty
798132f676 Remove translations
Translations are not located in the current module. They will be imported in the correct module once the current PR with the Localazy config has been merged.
2025-12-18 15:33:08 +01:00
Benoit Marty
229e9f9bc4 Reset the handlers when coming back from ShowQrCode screen. 2025-12-18 15:07:08 +01:00
Benoit Marty
92e417a9ba Reset the handlers when starting over after an error. 2025-12-18 15:06:44 +01:00
Benoit Marty
090292a324 Rename vars. 2025-12-18 14:48:23 +01:00
renovate[bot]
8948c2ed6f
chore(deps): update plugin sonarqube to v7.2.2.6593 (#5927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 14:23:21 +01:00
Jorge Martín
20eebea077 Remove comment that was no longer valid 2025-12-18 14:08:38 +01:00
Jorge Martín
fba32a2938 Fix wrong variable being used, improve tests 2025-12-18 14:08:38 +01:00
Jorge Martín
7864066f9a Make sure we don't upload any user ids in tags either 2025-12-18 14:08:38 +01:00
Jorge Martín
425a694564 Add more tests to SentryAnalyticsProviderTest 2025-12-18 14:08:38 +01:00
Jorge Martín
35a0da506f Check computeCacheSize function in DeveloperSettingsPresenterTest 2025-12-18 14:08:38 +01:00
Jorge Martín
480376ef9b Inject SentryDsn the same way we do with SentrySdkDsn so we can fake it for tests 2025-12-18 14:08:38 +01:00
Jorge Martín
2590659637 Add tests for RustMatrixClient.getDatabaseSizes() 2025-12-18 14:08:38 +01:00
Jorge Martín
2cc18fa735 Add tests for SentryAnalyticsProvider 2025-12-18 14:08:38 +01:00
Jorge Martín
d851f91287 Try fixing UI test (it works locally) 2025-12-18 14:08:38 +01:00
Jorge Martín
8798f362c1 Fix test 2025-12-18 14:08:38 +01:00
Jorge Martín
fe9224b807 Distinguish between indexable and non-indexable extra data 2025-12-18 14:08:38 +01:00
Jorge Martín
fa8d7b73c7 Fix tests 2025-12-18 14:08:38 +01:00
Jorge Martín
a91dac6cac Add a new entry in the developer settings to check the store sizes 2025-12-18 14:08:38 +01:00
Jorge Martín
c864fbac8c Add extra code to make sure we can't upload a session/user id as an extra by mistake 2025-12-18 14:08:38 +01:00
Jorge Martín
c9b904e606 Integrate the new use case with Sentry
We'll upload the store sizes as different fields so we can later use them to filter transaction/issues
2025-12-18 14:08:38 +01:00
Jorge Martín
e18a5ef17f Create GetDatabaseSizesUseCase so we don't have to expose the while MatrixClient to get these values 2025-12-18 14:08:38 +01:00
Jorge Martín
6441153dba Rename ByteSize.to to ByteSize.into
This method could clash the the `a to b` operator.
2025-12-18 14:08:38 +01:00
Jorge Martín
a7eb46ed45 Add MatrixClient.getDatabaseSizes
This returns a `SdkStoreSizes` object, with the possible SDK database sizes.
2025-12-18 14:08:38 +01:00
Jorge Martín
8d0cc3fd41 Add AnalyticsUserData, with keys for several extras we want to upload to Sentry.
Add the `HOMESERVER` extra, with a hashed homeserver value. This is only so we can identify devices using a problematic HS (like matrix.org under heavy load).
2025-12-18 14:08:38 +01:00
Jorge Martín
5ca108c526 Create addUserData method in the analytics providers
This allows us to globally add arbitrary data to the events and transactions
2025-12-18 14:08:38 +01:00
renovate[bot]
d1fd3020a0
fix(deps): update activity to v1.12.2 (#5924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:21:39 +00:00
renovate[bot]
45c4241fcb
fix(deps): update metro to v0.9.1 (#5920)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 12:00:20 +01:00
renovate[bot]
05410d946b
chore(deps): update plugin sonarqube to v7.2.1.6560 (#5905)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:48:12 +01:00
renovate[bot]
a035d9efd8
fix(deps): update dependency com.posthog:posthog-android to v3.27.2 (#5871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:46:45 +01:00
renovate[bot]
e41374cebf
chore(deps): update peter-evans/create-pull-request action to v8 (#5878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:45:58 +01:00
renovate[bot]
651d4ec179
fix(deps): update haze to v1.7.1 (#5712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:45:16 +01:00
Benoit Marty
3fc1f5f518
Merge pull request #5919 from element-hq/feature/bma/fixPreviewName
Fix preview name
2025-12-17 22:16:48 +01:00
renovate[bot]
48c59ce8b9
fix(deps): update dependency com.google.firebase:firebase-bom to v34.7.0 (#5915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 16:41:13 +01:00
renovate[bot]
af28351fc8
fix(deps): update dependency io.sentry:sentry-android to v8.29.0 (#5918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 16:40:17 +01:00
renovate[bot]
74ca4ff9d6
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.17 (#5912)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.17

* Fix changes in the SDK:

`LatestEventValue.Local` doesn't have an `isSending` property anymore, now it has `state: LatestEventValueLocalState`. If this is `HAS_BEEN_SENT`, it's equivalent to a `LatestEventValue.Remote`, we just haven't received the updated value from the SDK yet.
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-12-17 15:08:41 +00:00
renovate[bot]
2fb0751873
fix(deps): update activity to v1.12.1 (#5770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 15:39:18 +01:00
ElementBot
d247e72b76 Update screenshots 2025-12-17 14:21:11 +00:00
renovate[bot]
a2c41acec4
fix(deps): update kotlin (#5417)
* fix(deps): update kotlin

* No need for compat.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoitm@element.io>
2025-12-17 14:12:42 +00:00
Benoit Marty
3784ad39b2 Fix how we compute screenshot files.
`AttachmentsPreviewViewPreview` was wrongly converted to `AttachmentsView` instead of `AttachmentsPreviewView`
2025-12-17 15:05:11 +01:00
renovate[bot]
800d06f179
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.2 (#5911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 14:39:10 +01:00
renovate[bot]
048dead477
Update lifecycle to v2.10.0 (#5240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 14:27:39 +01:00
Benoit Marty
13cd6e980e
Merge pull request #5913 from element-hq/feature/bma/compound_6.4.3
Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v6.4.3
2025-12-17 12:57:58 +01:00
ElementBot
eef74524cb Update screenshots 2025-12-17 11:26:22 +00:00
Benoit Marty
341c986fc2 Use BackspaceSolid Icon from Compound 2025-12-17 12:07:23 +01:00
Benoit Marty
57a02d01fc Icon Backspace and BackspaceSolid must be auto-mirrored. 2025-12-17 12:03:04 +01:00
Benoit Marty
87dbfbd2b2 Import Compound tokens from release v6.4.3
https://github.com/element-hq/compound-design-tokens/releases/tag/v6.4.3
2025-12-17 11:59:16 +01:00
Benoit Marty
13fb01226e
Merge pull request #5179 from element-hq/feature/bma/compose2025.08.00
Update Compose BOM to version 2025.12.00.
2025-12-17 11:33:49 +01:00
Benoit Marty
b5d15ee787 Fix issue detected by lint. 2025-12-17 10:59:48 +01:00
ElementBot
e8d7c0bf2d Update screenshots 2025-12-17 08:46:11 +00:00