Commit Graph

12969 Commits

Author SHA1 Message Date
renovate[bot]
59409fb9ea fix(deps): update dependency org.maplibre.gl:android-sdk to v12.3.1 (#5883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:39:17 +01:00
renovate[bot]
861ee714b4 Update GitHub Artifact Actions (#5932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:38:26 +01:00
renovate[bot]
ec61c06562 fix(deps): update dependency androidx.webkit:webkit to v1.15.0 (#5925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 15:38:08 +01:00
Benoit Marty
1571b6e719 Upgrade robolectric to version 4.16 (#5923)
* Update dependency org.robolectric:robolectric to v4.16

* Fix file size formatter output on API 26+

* Use more realistic value for maxUploadSize

* Update screenshots

* Fix test issue: "java.security.KeyStoreException: AndroidKeyStore not found"

* Add exceptions.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
2025-12-19 15:37:38 +01:00
Benoit Marty
bdaa95bae5 Merge pull request #5936 from kaylendog/kaylendog/history-sharing/algorithm
Show history visibility banner strictly for `shared` rooms instead of `invited`.
2025-12-19 15:14:36 +01:00
renovate[bot]
96b67cefa4 fix(deps): update dependency com.google.zxing:core to v3.5.4 (#5935)
* fix(deps): update dependency com.google.zxing:core to v3.5.4

* We are not targetting API 24+ so it should be fine to use the last version

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoitm@element.io>
Co-authored-by: ElementBot <android@element.io>
2025-12-19 14:15:55 +01:00
renovate[bot]
f0ff97e4cf fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.3 (#5939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-19 13:13:54 +01:00
Jorge Martin Espinosa
83eae74488 Fix unverified account after account creation (#5914)
* Fix unverified account after account creation:

When we create an account either using OIDC or by importing a login and password one, we need to wait until the verification state is known (either verified or unverified).

The problem is the verification service will return incorrect values until the E2EE tasks are initialized in the SDK, even if we add the state listeners after doing so.

So what we can do is initialize the E2EE setup, discard any invalid verification state received while it's not initialized, and take only those received after it's initialized.

* Actually restore the `Client` in `RustMatrixAuthenticationService.importCreatedSession` so we don't need to use `clear` and have the navigation restore the client later:

This standarizes the way the login/registration flow works, always restoring/reusing the existing client instance
2025-12-19 12:55:34 +01:00
Skye Elliot
fd883049be docs: Clarify purpose of LaunchedEffect as part of algorithm. 2025-12-19 11:09:19 +00: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
Benoit Marty
1f2b7eb641 Add exceptions. 2025-12-19 09:44:58 +01: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
bd46ce9775 Fix test issue: "java.security.KeyStoreException: AndroidKeyStore not found" 2025-12-19 09:27:11 +01:00
Skye Elliot
b3c4a2ba92 fix: Show history visibiliy banner for shared, not invited. 2025-12-18 16:05:22 +00: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
ElementBot
8ddbc6ff39 Update screenshots 2025-12-18 11:18:55 +01:00
Benoit Marty
07f8f878d2 Use more realistic value for maxUploadSize 2025-12-18 11:18:25 +01:00
Benoit Marty
9e00ca323d Fix file size formatter output on API 26+ 2025-12-18 11:18:25 +01:00