Commit Graph

13869 Commits

Author SHA1 Message Date
Timur Gilfanov fd92a2eef2 Remove default value for allowBlackTheme in mapToTheme 2026-04-05 12:34:25 +04:00
Timur Gilfanov 43bef7f1df Add isBlackThemeAllowed as a key to theme remember block 2026-04-05 12:34:07 +04:00
Timur Gilfanov f19295d63d Merge branch 'develop' into feature-oled-black 2026-04-05 12:06:20 +04:00
Timur Gilfanov 5e6a6af409 Add "Allow black theme" feature flag 2026-04-05 12:03:50 +04:00
renovate[bot] 67671126f2 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 350d8bc61f Fix a missing : in build-rust-sdk (#6522)
This prevented us providing a build target argument.
2026-04-03 11:41:57 +02:00
Timur Gilfanov 104ae4752a Reorder imports to align with static analysis 2026-04-02 18:24:23 +04:00
Benoit Marty 4ad495d36c 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] 3634b5593c 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] 19070771d2 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] 068b5b95a2 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] 68ad2bf7a9 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 860def3965 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] 212e7390e1 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] 0f5283520f 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] 10d7ba900a 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] a44cf4335b 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 df456cf921 Changelog for version 26.04.0 2026-04-01 14:30:38 +02:00
Jorge Martín e5780283d7 Merge tag 'v26.04.0' into develop
v26.04.0
2026-04-01 13:42:17 +02:00
Jorge Martín 8019e235d4 Merge branch 'release/26.04.0' 2026-04-01 13:42:06 +02:00
Jorge Martín 6f59e91a92 Adding fastlane file for version 26.04.0 2026-04-01 13:42:04 +02:00
Jorge Martín e2d418beb8 Setting version for the release 26.04.0 2026-04-01 13:37:57 +02:00
Jorge Martin Espinosa 556c793b8d 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 410a3d132b 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 e08621aef6 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] 07d3152ca1 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 bd618ccba6 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 87184328eb 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 579bc7db62 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 bc37d3d8d9 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] be461516a7 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 6ab47dae17 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 1825740152 Fix permissions to publish GitHub pages. 2026-03-31 15:47:36 +02:00
renovate[bot] add21b8dc8 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.31 2026-03-31 10:57:48 +00:00
Jorge Martin Espinosa ad56b01e4a 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] 4c31c9451e 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 a2fe637978 Fix media cover placeholder floating (#6484) 2026-03-30 11:26:16 +02:00
Timur Gilfanov d0dcbab750 Merge branch 'develop' into feature-oled-black 2026-03-30 11:08:53 +04:00
Benoit Marty cbb220f08d Merge pull request #6472 from element-hq/feature/bma/inReplyUi
Update replied message UI
2026-03-27 10:17:01 +01:00
renovate[bot] 5975454424 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] 81cc055c91 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 bba2e6df3f 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 ef041baeb4 chore: update the build-rust-sdk script (#6476) 2026-03-27 07:36:48 +01:00
Benoit Marty 8851476bc7 Kotlin 2.3.20 2026-03-26 11:32:40 +01:00
Timur Gilfanov 55d043788b Reorder theme options in AdvancedSettingsState 2026-03-26 09:11:05 +04:00
Benoit Marty 360fe65277 Merge pull request #6358 from element-hq/renovate/io.element.android-element-call-embedded-0.x
Update dependency io.element.android:element-call-embedded to v0.18.0
2026-03-25 19:02:27 +01:00
Benoit Marty dc5889c05c Merge pull request #6437 from element-hq/renovate/kotlin
Update kotlin to v2.3.20
2026-03-25 19:01:34 +01:00
ganfra cd695d948e Merge pull request #6442 from element-hq/renovate/nschloe-action-cached-lfs-checkout-1.x
Update nschloe/action-cached-lfs-checkout action to v1.2.4
2026-03-25 17:21:33 +01:00
ganfra 71dd68746b Merge pull request #6449 from element-hq/renovate/sqldelight
Update sqldelight to v2.3.2
2026-03-25 17:18:36 +01:00
Benoit Marty 1de3729792 Merge pull request #6446 from bxdxnn/misc/bullet-margin
Add margin after bullet points
2026-03-25 17:05:48 +01:00