Commit graph

13700 commits

Author SHA1 Message Date
Jorge Martin Espinosa
3a7faa8b76
Fix TransactionTooLargeExceptions caused by Appyx (#6410)
* Fix `TransactionTooLargeExceptions` caused by Appyx

After a long debugging session, we discovered the code Appyx uses to clear the saved state of nodes that have been removed is not working because of a race condition, causing this saved state to grow indefinitely.

To fix it, we need to wait until the node has been disposed, which will call `SaveableStateHolder.removeState` once, removing the associated `SaveableStateRegistry`, and *then* call `removeState` again when we detect the node has been removed from the navigation graph.

Since these classes and APIs are private in Appyx, we had to copy and modify and use these copies.

* Remove ktlint checks on `SafeChildrenTransitionScope.kt`

* Don't count the new code for coverage
2026-03-23 18:07:00 +01:00
renovate[bot]
4a79fdd9ff
Merge pull request #6430 from element-hq/renovate/reactivecircus-android-emulator-runner-2.x
chore(deps): update reactivecircus/android-emulator-runner action to v2.37.0
2026-03-23 18:00:39 +01:00
bxdxnn
e1110e2a6e
Fix media seeking flicker (#6434) 2026-03-23 16:03:50 +01:00
Jorge Martin Espinosa
054b7302f1
Fix crash when starting a DM (#6419)
`AnchoredDraggable.requireOffset` was called before it was populated when displaying  `CreateDmConfirmationBottomSheet`, because the keyboard and the bottom sheet were causing conflicting animations related to the insets.

Hiding the keyboard before displaying the bottom sheet seems to fix the issue, and `skipPartiallyExpanded` results in a better UX (and also worked around the issue by itself).
2026-03-23 16:00:04 +01:00
Benoit Marty
027da263c4
Merge pull request #6322 from element-hq/feature/bma/iterateDesignOnAttachment
Design iteration on file attachment in the timeline
2026-03-23 14:37:54 +01:00
Gianluca Iavicoli
800a9ab972
Fix keyboard not auto-opening when editing a message (#6412)
* fix: auto-open keyboard when editing a message

* fix: show keyboard on focused editor view instead of root view
2026-03-23 10:54:59 +01:00
Jorge Martin Espinosa
908ad8a102
Add warning about new features to pull request template (#6425)
* Add warning to pull request template

* Add a new section to the `CONTRIBUTING.md` file too with similar contents
2026-03-20 16:36:35 +01:00
renovate[bot]
0c8a01d2cf
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.19 (#6411)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.18

* Fix API breaks

* Add compatibility with rustls (#6367)

A new `rustls-platform-verifier-android` library has to be added to the project, it'll be called from Rust to get access to the certificates on Android.

Originally, this was supposed to be added as a local maven repo pointing to the rust crate that publishes the AAR, but that's just plain terrible (more details [here](https://github.com/rustls/rustls-platform-verifier#android).

Instead, what we can do is use a script that uses `cargo-download` to download the latest crate or a specified version, unzip it and add the `aar` file to the `:libraries:matrix:impl` module.

* Try fixing Sonar with local AAR files

* Remove `UserCertificatesProvider`: this is no longer needed after integrating rustls

* Added some docs for rustls and its `platform-verifier` library

* Upgrade SDK to `26.03.19`: this version contains a workaround that allows the app to use the same TLS verifier as before, fixing the Let's Encrypt issues we saw with some homeservers (like element.io)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-03-20 16:20:37 +01:00
bxdxnn
139d75d1ba
Fix room member not tappable in a Thread (#6416) 2026-03-19 14:23:10 +01:00
Benoit Marty
e882fc7ebe
Merge pull request #6370 from element-hq/feature/bma/fixMalformedWellknown
Improve error displayed when .well-known file is malformed
2026-03-18 22:02:45 +01:00
Benoit Marty
b2d6e8ccca Map ClientBuildException.WellKnownDeserializationException to AuthenticationException.InvalidServerName, so that the error displayed to the user is more explicit. Closes #6368 2026-03-17 18:05:23 +01:00
Benoit Marty
05c9a82e1b
Merge pull request #6366 from element-hq/feature/bma/zizmoreAgain
Fix permissions issue.
2026-03-17 16:44:03 +01:00
Benoit Marty
043d20cb01 Fix permissions issue. 2026-03-17 16:21:47 +01:00
Jorge Martin Espinosa
8e46e68630
Add a foreground service with a wakelock for fetching push notifications (#6321)
* Create `PushHandlingWakeLock` to start a foreground service:

When receiving a push and scheduling the notification fetching, several problems can happen:

1. Some async operation is waiting for a timeout and it takes way longer than that to finish (i.e. timeout of 10s but it took 30s to advance).
2. The same, but when starting new coroutines. I've seen the time between scheduling a coroutine and it running sometimes take up to 1 minute.
3. Notification fetching can be scheduled immediately, but it can take a while to actually run because the OS understands the app is now in Doze.

Having a wakelock that runs as soon as the push handling starts fixes these: it continues the previous wakelock held by either Firebase or the UnifiedPush distributor.

* Acquire the wakelock as soon as we received the pushes in both receivers

* Also release the wakelock ahead of time if possible
2026-03-17 14:24:26 +01:00
Benoit Marty
b88be242ea
Merge pull request #6357 from element-hq/feature/bma/verificationWording
Update wording of button "Enter recovery key" to "Use recovery key"
2026-03-16 18:20:47 +01:00
ElementBot
4e3a9110a7 Update screenshots 2026-03-16 16:56:32 +00:00
Benoit Marty
22fe561e7d Sync strings. 2026-03-16 17:36:13 +01:00
Benoit Marty
7fc93aec15 canEnterRecoveryKey -> canUseRecoveryKey 2026-03-16 17:21:19 +01:00
Benoit Marty
faa97ff2f1 Update wording from "Enter recovery key" to "Use recovery key" 2026-03-16 17:19:49 +01:00
Benoit Marty
2141795d59
Merge pull request #6352 from element-hq/sync-localazy
Sync Strings - iterate on wording about crypto identity
2026-03-16 16:06:54 +01:00
Benoit Marty
6701a0f31f
Merge pull request #6355 from element-hq/feature/bma/fixRemovingLabel
Fix permissions issue.
2026-03-16 15:59:46 +01:00
Jorge Martin Espinosa
e79d9b627e
Improve Kover setup by using only convention plugins (#6213)
* Improve Kover setup using convention plugins.
* Add a new JVM library convention plugin with Kover support
2026-03-16 14:41:07 +00:00
Benoit Marty
2ee5b6a4f0 Fix permissions issue. 2026-03-16 15:34:09 +01:00
ElementBot
c0fadcada3 Update screenshots 2026-03-16 14:11:01 +00:00
Benoit Marty
13578aa09b Sync string again. 2026-03-16 14:54:06 +01:00
ElementBot
39f7d233a1 Update screenshots 2026-03-16 09:57:55 +00:00
Benoit Marty
67eaab31d0
Fix issue in pattern 2026-03-16 10:32:33 +01:00
Benoit Marty
b21235d2da
Merge pull request #6345 from element-hq/feature/bma/removeMatrixToDeeplinkSupport
Remove matrix.to intent filter from the AndroidManifest.
2026-03-16 10:19:38 +01:00
renovate[bot]
82eebae6f2
fix(deps): update dependency io.sentry:sentry-android to v8.35.0 and enable ANR profiling (#6331)
* fix(deps): update dependency io.sentry:sentry-android to v8.35.0

* Add profile sampling of ANRs

This *should* help debugging them.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-03-16 09:13:08 +00:00
renovate[bot]
a3ca0deb9d
fix(deps): update activity to v1.13.0 (#6327)
* fix(deps): update activity to v1.13.0

* Remove usages of deprecated  `bundleOf`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-03-16 08:50:43 +00:00
renovate[bot]
bdb9852518
chore(deps): update webfactory/ssh-agent action to v0.10.0 (#6325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 09:18:50 +01:00
bmarty
299d5a9394 Sync Strings from Localazy 2026-03-16 00:42:32 +00:00
renovate[bot]
cf4d30ffa5
fix(deps): update dependency androidx.datastore:datastore to v1.2.1 (#6326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-14 09:33:51 +01:00
renovate[bot]
4ec8397dc6
fix(deps): update dependency androidx.compose:compose-bom to v2026.03.00 (#6329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-14 09:32:15 +01:00
Benoit Marty
d984452141
Merge pull request #6343 from element-hq/renovate/sqldelight
fix(deps): update sqldelight to v2.3.1
2026-03-13 19:21:38 +01:00
Benoit Marty
9dfd0aad3b It seems that SqlDelight v2.3.1 does not like unnecessary file 2026-03-13 18:53:08 +01:00
Benoit Marty
39bfd3a261 Fix deeplink_matrixto.sh content, it did not contain a matrix.to link. 2026-03-13 18:16:17 +01:00
Benoit Marty
015cad90b6 Remove matrix.to intent filter from the AndroidManifest. Closes #6344. 2026-03-13 15:40:45 +01:00
Benoit Marty
7a33c61d4c
Merge pull request #6323 from element-hq/feature/bma/renovateCooldown
Renovate: add a cooldown of 7 days for dependencies that we do not manage
2026-03-13 14:44:05 +01:00
renovate[bot]
7e0215d001
fix(deps): update sqldelight to v2.3.1 2026-03-12 21:10:41 +00:00
ganfra
9fca0f71ac
Merge pull request #6332 from element-hq/renovate/org.jlleitschuh.gradle.ktlint-14.x
chore(deps): update plugin ktlint to v14.2.0
2026-03-12 20:36:37 +01:00
ganfra
54eff532f4
Merge pull request #6313 from element-hq/renovate/com.github.matrix-org-matrix-analytics-events-0.x
fix(deps): update dependency com.github.matrix-org:matrix-analytics-events to v0.33.2
2026-03-12 20:31:17 +01:00
renovate[bot]
c6f12742df
chore(deps): update plugin ktlint to v14.2.0 2026-03-12 18:58:23 +00:00
renovate[bot]
9023c574fa
chore(deps): update actions/download-artifact action to v8.0.1 (#6324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 16:57:12 +00:00
Benoit Marty
228d4c9780 Renovate: add a cooldown of 7 days for dependencies that we do not manage. 2026-03-11 17:17:49 +01:00
renovate[bot]
354a879ee5
fix(deps): update dependency com.posthog:posthog-android to v3.37.0 (#6317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 16:12:28 +01:00
renovate[bot]
ff14245cc2
chore(deps): update reactivecircus/android-emulator-runner action to v2.36.0 (#6320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 16:12:00 +01:00
ElementBot
9a67da5179 Update screenshots 2026-03-11 15:03:36 +00:00
Benoit Marty
6a646550c8 Improve preview by adding a background color. 2026-03-11 15:43:15 +01:00
Benoit Marty
f97c61a386 Iterate on file attachment rendering in the timeline. Closes #6319 2026-03-11 15:30:15 +01:00