Commit Graph

14748 Commits

Author SHA1 Message Date
Benoit Marty 2010620fbc Merge branch 'develop' into fix/a11y-reading-order 2026-07-02 16:13:55 +02:00
Benoit Marty 6181f60b5e Fix compilation issue 2026-07-02 16:12:54 +02:00
Benoit Marty 00ffff4c0a Merge pull request #7133 from element-hq/fix/a11y-chats-search
Add accessibility label to search input
2026-07-02 15:30:39 +02:00
Benoit Marty 6b68ddcb25 Merge pull request #7135 from element-hq/fix/a11y-message-composer
Fix accessibility for message composer input and read receipts button
2026-07-02 15:30:09 +02:00
Benoit Marty 1fdc778fe2 Merge pull request #7137 from element-hq/fix/a11y-video-preview
Add content description to video preview for screen readers
2026-07-02 15:29:38 +02:00
Benoit Marty a3fbbed8f4 A11Y: Improve accessibility of search field.
Closes #6389
2026-07-02 13:16:01 +02:00
Benoit Marty 57ed76bd03 A11Y: Do not read the +x Text. 2026-07-02 12:26:49 +02:00
Benoit Marty c1dfd6d6ae A11Y: Improve talkback for video and image / preview not preview. 2026-07-02 11:10:14 +02:00
Benoit Marty 54d452c364 Fix accessibility: remove TalkBack reverseLayout workaround (#6392)
The LazyColumn was using reverseLayout=false when TalkBack was active to work
around a Compose accessibility traversal bug. This placed new messages at the
top of the screen, distorting the reading order for TalkBack users.

With Compose BOM 2026.06.00, reverseLayout=true now works correctly with
TalkBack traversal, so remove both workarounds:
- Always use reverseLayout=true in TimelineView
- Remove the .reversed() for expanded groups in TimelineItemGroupedEventsRow

Note: this change should be manually tested with TalkBack to verify correct
traversal order (oldest messages first, newest last).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 17:55:36 +02:00
Benoit Marty 01c8064a16 Fix accessibility: add content description to video preview (#6382)
Set contentDescription on the ExoPlayer PlayerView so TalkBack announces
the video preview to screen reader users instead of treating it as
decorative/invisible content.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 17:52:56 +02:00
Benoit Marty 79f1423a30 Fix accessibility: message composer label and 'Seen by' button (#6390, #6393)
- MarkdownTextInput: set contentDescription on MarkdownEditText so TalkBack
  announces a persistent label even when the field has content (fixes #6390)
- TimelineItemReadReceiptView: remove hideFromAccessibility() so the 'Seen by'
  button is exposed to TalkBack; use semantics (not clearAndSetSemantics) to
  preserve click action, and add Role.Button (fixes #6393)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 17:49:32 +02:00
renovate[bot] 58b3830187 Update dependency org.maplibre.gl:android-sdk to v13.3.1 (#7129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 11:14:49 +02:00
renovate[bot] a8d6652e03 Update dependency io.sentry:sentry-android to v8.44.1 (#7093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 11:14:16 +02:00
Benoit Marty f954a20f67 Changelog for version 26.07.0 2026-07-01 11:09:22 +02:00
Benoit Marty 71ad652c38 Merge tag 'v26.07.0' into develop
tag
2026-07-01 10:07:55 +02:00
Benoit Marty 2f7748bc64 Merge branch 'release/26.07.0' 2026-07-01 10:07:43 +02:00
Benoit Marty 59b770a539 Adding fastlane file for version 26.07.0 2026-07-01 10:07:41 +02:00
Benoit Marty 7638c2704d Setting version for the release 26.07.0 2026-07-01 10:06:50 +02:00
renovate[bot] 92cb33008c Update dependency com.posthog:posthog-android to v3.51.1 (#7128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 09:27:15 +02:00
ganfra de3361e339 Merge pull request #7127 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-26.x
Update dependency org.matrix.rustcomponents:sdk-android to v26.06.30
2026-06-30 22:01:48 +02:00
ganfra 1300fef2e7 Merge pull request #7116 from element-hq/renovate/zizmorcore-zizmor-action-0.x
Update zizmorcore/zizmor-action action to v0.5.7
2026-06-30 18:50:44 +02:00
renovate[bot] b1be66f26d Update dependency org.matrix.rustcomponents:sdk-android to v26.06.30 2026-06-30 16:39:34 +00:00
ganfra d4d8571087 Merge branch 'develop' into renovate/zizmorcore-zizmor-action-0.x 2026-06-30 18:38:30 +02:00
Aliaksandr Daroshchanka b8752152cf Add read all messages feature (#7049)
* Add read all messages feature: read all messages using Client.markAllRoomsAsRead() method

* Move the 'mark all rooms as read' footer as part of the list item

* Replace `showMarkAllRoomsAsReadConfirmation` and its associated event with `MarkAllRoomsAsRead(val needsConfirmation: Boolean)` and a `AsyncAction.Confirming` state

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
2026-06-30 11:43:27 +02:00
renovate[bot] c4f32db4be Update dependency io.element.android:element-call-embedded to v0.20.3 (#7117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 16:00:35 +02:00
Jorge Martin Espinosa 6068aeaf01 Detect RTL text in events and adjust the text rendering (#6994)
* Add `TextDirection.detect` to check the overall LTR or RTL direction of texts

* Calculate if the contents of events have a different direction than the layout to reverse the layout direction if needed.

LTR content, RTL text -> mismatched direction, reverse.
RTL content, LTR text -> also mismatched, reversed too.

* Measure text in `measureLastTextLine` based on its direction, not the layout's,
to avoid some issues with incorrectly calculated free space.

* Tweak the paddings in `TimelineEventTimestampView` a bit if the layout and text directions don't match

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-06-29 15:11:49 +02:00
ElementBot 46460e1c27 Sync Strings (#7115)
* Sync Strings from Localazy

* Update screenshots

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-06-29 14:09:36 +02:00
renovate[bot] 8f73c8f61b Update dependency androidx.compose:compose-bom to v2026.06.00 (#7095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 12:05:35 +02:00
Jorge Martin Espinosa fc18ea5bb6 Try a different workaround for flaky ScanQrCodeViewTest (#7109)
Changing the SDK version using `@Config` to one supported by `ShadowNativeHardwareRenderer` (it has a `maxSdk` of `UPSIDE_DOWN_CAKE`) seems like fixed the issue.
2026-06-29 11:56:51 +02:00
renovate[bot] f6330c6098 Update zizmorcore/zizmor-action action to v0.5.7 2026-06-29 07:03:55 +00:00
ganfra 9e7ae34728 Merge pull request #7107 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-26.x
Update dependency org.matrix.rustcomponents:sdk-android to v26.06.25
2026-06-26 14:13:02 +02:00
Jorge Martin Espinosa 5848e0b9eb Disable periodically generating the screenshot gallery (#7110) 2026-06-26 12:48:04 +02:00
ganfra 2689f53342 Merge pull request #7104 from element-hq/renovate/danger-danger-js-13.x
Update danger/danger-js action to v13.0.8
2026-06-26 11:10:03 +02:00
ganfra 340317d667 Merge pull request #7097 from element-hq/renovate/lifecycle
Update lifecycle to v2.11.0
2026-06-26 11:09:33 +02:00
renovate[bot] 17d0c54173 Update actions/checkout action to v7 (#7098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-26 09:32:40 +02:00
renovate[bot] 0f64266ba6 Update dependency com.google.crypto.tink:tink-android to v1.22.0 (#7105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-26 06:45:27 +00:00
Jorge Martín 16d16b92f5 Fix breaking API changes:
- Use `uniffi.ruma_events` types for `MessageLikeEventType` and `StateEventType`.
- Fix tests: using those 2 classes can sometimes call the SDK under the hood, trying to load the native library. We ignore the tests that cause it for now.
2026-06-26 08:16:56 +02:00
renovate[bot] dd55d9c369 Update dependency org.matrix.rustcomponents:sdk-android to v26.06.25 2026-06-26 06:10:10 +00:00
renovate[bot] 4495f58520 Update danger/danger-js action to v13.0.8 2026-06-25 15:07:47 +00:00
renovate[bot] a3736786cd Update dependency com.google.firebase:firebase-bom to v34.15.0 (#7089)
* Update dependency com.google.firebase:firebase-bom to v34.15.0

* Replace deprecated FCM `token` usages with `installationId`

Renamed a few components, changed the behaviour of `FirebaseTokenRotator` so it doesn't save the new token, `FirebaseMessagingService` will do it in its `onRegistered` method

* Enable firebase messaging installation_id

* Make sure we delete the FID when unregistering the app from Firebase

* Add `runFirebaseTask` util to convert `Task<T>` into a `Result<T>` returned from a suspending function

Also, rename the use cases and make them use the `invoke` pattern

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2026-06-25 09:48:48 +02:00
renovate[bot] 81b0b357e5 Update firebaseAppDistribution to v5.3.0 (#7096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-25 09:41:48 +02:00
renovate[bot] 3d86105e8c Update lifecycle to v2.11.0 2026-06-25 00:51:25 +00:00
Jorge Martín 7a5a0f5955 Bump SDK bindings to v26.06.24 2026-06-24 13:29:28 +02:00
Jorge Martín b38b5a924f Remove Room.clearEventCacheStorage since it's not supported by the SDK anymore 2026-06-24 13:29:28 +02:00
Jorge Martín f62030ac5b Modify rustls' CertificateVerifier, removing the cert revocation logic:
This operation is not done by Android by default and doesn't properly support CRLs (Certificate Revocation Lists) which can be a problem with CAs like Let's Encrypt.
2026-06-24 13:29:28 +02:00
Jorge Martín 3586824a0d Remove UserCertificatesProvider:
`rustls-platform-verifier` automatically checks the user certs too, so there's no need to provide them separately.

This should also improve start times since we don't need to load the user certs when starting the app, which was a really slow operation.
2026-06-24 13:29:28 +02:00
renovate[bot] 8eafab20aa Update dependency org.matrix.rustcomponents:sdk-android to v26.06.18 2026-06-24 13:29:28 +02:00
ganfra bbc4259220 Merge pull request #7088 from element-hq/renovate/actions-setup-java-5.x
Update actions/setup-java action to v5.3.0
2026-06-24 11:55:06 +02:00
renovate[bot] 03fb97ce6e Update actions/setup-java action to v5.3.0 2026-06-23 19:14:52 +00:00
renovate[bot] 24bde2430e Update dependency com.github.matrix-org:matrix-analytics-events to v0.37.0 (#7079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-23 09:03:15 +02:00