Commit Graph

12955 Commits

Author SHA1 Message Date
Benoit Marty
d04ebe880b Simplify the copy of the history visibility settings
Closes #5898
2025-12-19 14:53:06 +01:00
Benoit Marty
98f43f2402 Sync strings. 2025-12-19 12:46:39 +01:00
Jorge Martin Espinosa
0b5c4fc8bb Add threadInfo field to message like timeline events (#5930)
* Add `threadInfo` field to message like timeline events:
- Polls
- Stickers
- UTDs

* Add missing cases for `EventTimeline.threadInfo()`
2025-12-19 09:43:40 +00:00
renovate[bot]
602498a36b fix(deps): update metro to v0.9.2 (#5940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 09:18:02 +00:00
renovate[bot]
dd4537ae4c fix(deps): update media3 to v1.9.0 (#5931)
* Update media3 to v1.9.0

* Fix compilation issue.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-12-19 09:39:35 +01:00
Benoit Marty
65c17eacc6 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
999eca42d7 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
6ccbc88ef5 Reset the handlers when coming back from ShowQrCode screen. 2025-12-18 15:07:08 +01:00
Benoit Marty
b449d4d130 Reset the handlers when starting over after an error. 2025-12-18 15:06:44 +01:00
Benoit Marty
8f6a12f1e6 Rename vars. 2025-12-18 14:48:23 +01:00
renovate[bot]
e8198b246d 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
37d81fd4d1 Remove comment that was no longer valid 2025-12-18 14:08:38 +01:00
Jorge Martín
dd7649414d Fix wrong variable being used, improve tests 2025-12-18 14:08:38 +01:00
Jorge Martín
165032ea02 Make sure we don't upload any user ids in tags either 2025-12-18 14:08:38 +01:00
Jorge Martín
515f7f4946 Add more tests to SentryAnalyticsProviderTest 2025-12-18 14:08:38 +01:00
Jorge Martín
69eda26235 Check computeCacheSize function in DeveloperSettingsPresenterTest 2025-12-18 14:08:38 +01:00
Jorge Martín
b5d6843725 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
de694cecdb Add tests for RustMatrixClient.getDatabaseSizes() 2025-12-18 14:08:38 +01:00
Jorge Martín
9a9e84f6c8 Add tests for SentryAnalyticsProvider 2025-12-18 14:08:38 +01:00
Jorge Martín
4ef0dfed8c Try fixing UI test (it works locally) 2025-12-18 14:08:38 +01:00
Jorge Martín
88f45517ca Fix test 2025-12-18 14:08:38 +01:00
Jorge Martín
7fe3b18699 Distinguish between indexable and non-indexable extra data 2025-12-18 14:08:38 +01:00
Jorge Martín
5c6fee08fd Fix tests 2025-12-18 14:08:38 +01:00
Jorge Martín
b201b40639 Add a new entry in the developer settings to check the store sizes 2025-12-18 14:08:38 +01:00
Jorge Martín
20c0d0190e 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
a4b908bc18 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
b064b35c93 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
b4d2f322ad 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
dc0b508b08 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
18482a99e3 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
367bbc7e4b 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]
8057bda977 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]
432b7b8cd7 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]
d362e33821 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]
2bd6730e90 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]
c3f4b09270 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]
6b64f865d7 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
c5b2aa00f7 Merge pull request #5919 from element-hq/feature/bma/fixPreviewName
Fix preview name
2025-12-17 22:16:48 +01:00
renovate[bot]
75022f4018 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]
e953ff3137 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]
10b85ec1ff 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]
24e1514fc3 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
1f7c6c86d2 Update screenshots 2025-12-17 14:21:11 +00:00
renovate[bot]
d905dfd7ff 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
0e6a0c7f2f 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]
5c4d11c21f 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]
4ad568ecd6 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
121dc04490 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
9e23d9f451 Update screenshots 2025-12-17 11:26:22 +00:00
Benoit Marty
8be152644c Use BackspaceSolid Icon from Compound 2025-12-17 12:07:23 +01:00