Commit graph

13873 commits

Author SHA1 Message Date
renovate[bot]
8b07caea79 fix(deps): update media3 to v1.10.0 (#6529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-07 16:10:54 +02:00
ElementBot
c4acb75924 Sync Strings (#6537)
* Sync Strings from Localazy

* Sync strings.

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2026-04-07 16:02:12 +02:00
Benoit Marty
373557791b Changelog for version 26.04.2 2026-04-07 15:29:06 +02:00
Benoit Marty
6aba61459e Merge tag 'v26.04.2' into develop
tag
2026-04-07 14:28:53 +02:00
Benoit Marty
2854009071 Merge branch 'release/26.04.2' 2026-04-07 14:28:44 +02:00
Benoit Marty
30a9474933 Adding fastlane file for version 26.04.2 2026-04-07 14:28:43 +02:00
Benoit Marty
eaccc1dc9c Setting version for the release 26.04.2 2026-04-07 14:28:05 +02:00
renovate[bot]
d10e8ff49c fix(deps): update dependency io.element.android:element-call-embedded to v0.19.0 (#6538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-07 14:26:43 +02:00
Benoit Marty
bb2444928c Restore enterprise submodule. (#6541) 2026-04-07 10:18:42 +00:00
ganfra
22c6495978 Changelog for version 26.04.1 2026-04-05 10:56:38 +02:00
ganfra
e4df74bb8b Merge branch 'release/26.04.1' 2026-04-03 18:22:42 +02:00
ganfra
a4e9d69b0a Adding fastlane file for version 26.04.1 2026-04-03 18:22:42 +02:00
ganfra
eca977e49c Setting version for the release 26.04.1 2026-04-03 18:22:35 +02:00
renovate[bot]
c20becfeb1 fix(deps): update core to v1.18.0 (#6328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-03 14:56:48 +02:00
Andy Balaam
acf8229838 Fix a missing : in build-rust-sdk (#6522)
This prevented us providing a build target argument.
2026-04-03 11:41:57 +02:00
Benoit Marty
a77662421c Add support for slash commands (under Feature Flag) (#6482)
* Add support for slash commands

* Update screenshots

* Rename module `slash` to `slashcommands`

* Rename `SlashCommand` to `SlashCommandService`

* Introduce MsgType in order to send text message with a different msgtype value.

* Format file and add parameter names, add default values and cleanup

* Add isSupported parameter to filter out unsupported yet commands.

* Slash commands: disable suggestions if the feature is disabled.

* Fix sending shrug command.

* Add missing test on SuggestionsProcessor

* Add tests on MessageComposerPresenter about slash command.

* Fix import ordering

* Add missing tests on CommandExecutor

* Add missing tests in MarkdownTextEditorStateTest

* Slash commands: Improve code when sending message with prefix.

* Slash commands: Add support for /unflip

---------

Co-authored-by: ElementBot <android@element.io>
2026-04-02 16:15:32 +02:00
renovate[bot]
f08d1ed686 fix(deps): update dependency io.element.android:emojibase-bindings to v1.5.3 (#6493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-02 15:38:43 +02:00
renovate[bot]
cb3238f37b fix(deps): update dependency androidx.browser:browser to v1.10.0 (#6515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-02 14:45:46 +02:00
renovate[bot]
24bcbfad31 fix(deps): update dependency org.jetbrains.kotlinx:kover-gradle-plugin to v0.9.8 (#6513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-02 14:39:31 +02:00
renovate[bot]
f9af69c417 fix(deps): update dependency androidx.compose:compose-bom to v2026.03.01 (#6511)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-02 14:39:06 +02:00
Jorge Martin Espinosa
15dc582279 Tentative fix for ForegroundServiceStartNotAllowedException (#6509)
* Tentative fix for `ForegroundServiceStartNotAllowedException`

When failing to start the service in foreground, don't crash. This is a helper to speed up the scheduling by keeping the CPU awake, not a critical part that should succeed

* Simplify `DefaultPushHandlingWakeLock`

It seems like restarting the service from background won't work in some cases, so don't try it.
2026-04-02 11:10:47 +02:00
renovate[bot]
b64efe222f fix(deps): update metro to v0.12.0 (#6503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 16:44:32 +02:00
renovate[bot]
7434e522ac Update dependency net.zetetic:sqlcipher-android to v4.14.0 (#6460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 16:35:01 +02:00
renovate[bot]
d3ffb1fe77 fix(deps): update dependency androidx.work:work-runtime-ktx to v2.11.2 (#6479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 16:34:03 +02:00
renovate[bot]
d648c598c2 chore(deps): update gradle/actions action to v6 (#6489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 15:13:07 +02:00
Jorge Martín
6bef263f67 Changelog for version 26.04.0 2026-04-01 14:30:38 +02:00
Jorge Martín
2705cd313e Merge tag 'v26.04.0' into develop
v26.04.0
2026-04-01 13:42:17 +02:00
Jorge Martín
d790aeb179 Merge branch 'release/26.04.0' 2026-04-01 13:42:06 +02:00
Jorge Martín
865fccc8f6 Adding fastlane file for version 26.04.0 2026-04-01 13:42:04 +02:00
Jorge Martín
111272c524 Setting version for the release 26.04.0 2026-04-01 13:37:57 +02:00
Jorge Martin Espinosa
f7c2adcdc4 CI: yet another Maestro fix (#6505)
* Fix the `assertSessionVerificationDisplayed.yaml` check

* Previous 'Location' is now 'Share location'

* We don't have a GPS location, so the text is 'Share selected location'

* 'Create a new conversation' is now 'Create room'

* Try adding a background logcat process

* 'Sign out' is now 'Remove this device'

* Adjust the logcat filtering so it silences everything that's not our app, otherwise the logs can get quite large
2026-04-01 13:30:01 +02:00
Jorge Martin Espinosa
b340e85f83 Add floating/sticky date badge in the timeline (#6496)
* Add floating date indicator while scrolling the timeline (#6433)

* Add `FeatureFlags.FloatingDateBadge`. This enables displaying the floating date badge in the timeline as you scroll.

* Don't display the floating badge if the timeline isn't reversed. Otherwise, this will affect talkback users and break the existing navigation

* Use `TimelineItem.formattedDate()` to get the date to display. Always try finding the closest one (usually it will be just the 1st one we try).

* Align designs with iOS. Also fix shadows in fade animation by adding some paddings.

* Update screenshots

---------

Co-authored-by: Gianluca Iavicoli <gianluca.iavicoli04@gmail.com>
Co-authored-by: ElementBot <android@element.io>
2026-04-01 10:45:57 +00:00
ganfra
977e64c295 Merge pull request #6494 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-26.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.31
2026-04-01 12:02:47 +02:00
renovate[bot]
34340c3518 fix(deps): update dependency com.posthog:posthog-android to v3.39.0 (#6504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 11:30:24 +02:00
Jorge Martin Espinosa
ba81e44052 Fix content scrolling not working in the RTE (#6492)
Implement a `customDetectVerticalDragGestures` that matches the original `detectVerticalDragGestures` expect we conditionally consume the initial DOWN event in compose to decide whether we need to drag the bottom sheet or scroll inside the Android `EditText`
2026-04-01 11:06:28 +02:00
Jorge Martin Espinosa
786c260fc2 Fix crash when using View.hideKeyboardAndAwaitAnimation (#6502)
* Fix crash when using `View.hideKeyboardAndAwaitAnimation`

Remove the `View.OnApplyWindowInsetsListener` used in modern Android versions to detect if the insets changed after they do the first time: this is a single use operation and the listener will be called every time the insets change

Also, replace `Mutex` with `CompletableDeferred` so it doesn't matter if it's called several times, we only care about the first one.

* Don't try to hide the keyboard if it's already hidden. Also, add a 1s timeout in case everything goes wrong and we somehow never complete the future.
2026-03-31 16:45:10 +00:00
Jorge Martin Espinosa
dbd51ebc90 Try fixing location pin previews (#6495)
* Try fixing location pin previews

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Benoit Marty <benoitm@element.io>
2026-03-31 14:57:37 +00:00
Benoit Marty
5c8bf44b1b Merge pull request #6500 from element-hq/feature/bma/fixPermissionsForGhPages
Fix permissions to publish GitHub pages.
2026-03-31 16:01:51 +02:00
renovate[bot]
cb4c7cdb37 fix(deps): update dependency com.google.crypto.tink:tink-android to v1.21.0 (#6499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-31 15:49:20 +02:00
ElementBot
f4986d4a0b Sync Strings from Localazy (#6486)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-31 15:48:37 +02:00
Benoit Marty
4c15d9cad1 Fix permissions to publish GitHub pages. 2026-03-31 15:47:36 +02:00
renovate[bot]
01dd79fa93 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.31 2026-03-31 10:57:48 +00:00
Jorge Martin Espinosa
4725148919 Try handling ForegroundServiceStartNotAllowedException better (#6483)
* Try handling `ForegroundServiceStartNotAllowedException` better

The docs mention starting a foreground service when the app is on background is allowed when FCM receives a high priority notification, so we don't do it if the priority is not high.

Also, we handle the case where starting the foreground service fails so it doesn't crash the app.
2026-03-30 18:44:08 +02:00
renovate[bot]
c89fc2b6b1 fix(deps): update dependency io.element.android:emojibase-bindings to v1.5.2 (#6487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-30 18:22:33 +02:00
bxdxnn
69aeee67a5 Fix media cover placeholder floating (#6484) 2026-03-30 11:26:16 +02:00
Benoit Marty
43e0d2d1ce Merge pull request #6472 from element-hq/feature/bma/inReplyUi
Update replied message UI
2026-03-27 10:17:01 +01:00
renovate[bot]
44821e0e42 fix(deps): update dependency com.google.firebase:firebase-bom to v34.11.0 (#6478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-27 08:13:05 +01:00
renovate[bot]
183a89bff9 fix(deps): update dependency io.element.android:emojibase-bindings to v1.5.1 (#6474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-27 08:11:54 +01:00
Jorge Martin Espinosa
8239a5ba0a Fix ForegroundServiceDidNotStartInTimeException (#6470)
* Start the `FetchPushForegroundService ` in foreground ASAP. This is a first step to mitigate `ForegroundServiceDidNotStartInTimeException` being thrown.

* Don't stop the service immediately if it's running but not in foreground. Try waiting up to 5s for it to be in foreground.
2026-03-27 06:54:27 +00:00
Benjamin Bouvier
2c083a87d4 chore: update the build-rust-sdk script (#6476) 2026-03-27 07:36:48 +01:00