Commit Graph

10573 Commits

Author SHA1 Message Date
Benoit Marty 38ad415ab5 Ensure the CI is marked as failed when Maestro test is failing (#4700)
* Ensure the CI is marked as failed when Maestro test is failing

* Fix typo in String to disable bookmark in ChromeCustomTab

* Fix Maestro test now that matrix.org is using MAS to authenticate.

* Fix Maestro test - other issues due to recent changes.

* Maestro: add test on Element Call

* Run through Chrome on boarding step.

* Try suggestion from https://github.com/mobile-dev-inc/Maestro/issues/1126#issuecomment-2842220361

* Revert "Try suggestion from https://github.com/mobile-dev-inc/Maestro/issues/1126#issuecomment-2842220361"

This reverts commit d400644622c1a240deb61040f9095e3221e07f21.

* Add comment on Maestro flow.
2025-05-15 17:14:41 +02:00
Benoit Marty f1ca70fb9a Check homeserver when login using qr code (#4708)
* Login with Qr code: check homeserver validity

* QrCode login, unauthorized homeserver: update copy.

* Update screenshots

* Add unit test on SdkQrCodeLoginData

* Remove default param value.

* Remember imageAnalysis

---------

Co-authored-by: ElementBot <android@element.io>
2025-05-15 14:08:05 +02:00
renovate[bot] 9825469912 chore(deps): update plugin sonarqube to v6.2.0.5505 (#4725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 11:29:45 +02:00
Jorge Martin Espinosa 9f39ad885b Remove event cache feature flag (#4719) 2025-05-15 09:42:18 +02:00
ganfra 49b885579f Merge pull request #4718 from element-hq/feature/fga/report_room_enabled_flow
Change (report room) : check if server supports the report room api
2025-05-14 17:25:17 +02:00
ganfra 9c69718026 Merge pull request #4717 from element-hq/renovate/io.sentry-sentry-android-8.x
fix(deps): update dependency io.sentry:sentry-android to v8.12.0
2025-05-14 15:14:19 +02:00
ganfra 21f75db4bb change (report room) : use client.isReportRoomApiSupported instead of hardcoded value 2025-05-14 11:07:17 +02:00
renovate[bot] 4eca668f35 fix(deps): update dependency io.sentry:sentry-android to v8.12.0 2025-05-13 23:03:34 +00:00
renovate[bot] 9234de6b8e fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.5.13 (#4716)
Adapt to SDK changes:
- Replace `RoomInfo.isTombstoned: Boolean` with `RoomInfo.tombstone: RoomTombstone?`.
- Add `loginHint` parameter to `Client.urlForOidc`.
- Remove `ClientBuilder.useEventCachePersistentStorage`, as it's not longer optional.
2025-05-13 16:29:34 +00:00
Jorge Martin Espinosa 4f39e09f91 Fix generic mime type being uploaded when several files are externally shared with the app. (#4715)
i.e. `image/*` when sharing a png and jpg file.
2025-05-13 15:26:47 +00:00
Benoit Marty f6cbca4a82 Disable mutliple click (parallel or serial) on a room (#4683)
* Disable mutliple click (parallel or serial) on a room (Fixes #4619)

* Rename method from FirstThrottler

* Move check to the Compose and add unit test on it.
2025-05-13 14:12:19 +02:00
Jorge Martin Espinosa c9ec26f87c When transcoding a video fails, send it as a file (#4257)
- If the video can't be transcoded it will be uploaded as a file instead.
- If the video already has the right format and dimensions, don't transcode it.
- Update the dimensions to 720p max when enabling media compression and 1080p otherwise, matching Element X iOS.
2025-05-13 11:04:51 +00:00
ganfra 4a702ba4a6 Merge pull request #4688 from element-hq/renovate/migrate-config
chore(config): migrate renovate config
2025-05-13 12:00:14 +02:00
Benoit Marty 0255111528 Improve audio focus management (#4707)
* Extract Audio focus management to its own modules.

* Request Audio focus when playing a voice message.

* Add missing dependency.
(and remove a duplicated one)

* Request Audio focus when playing a video/audio in the media viewer.

* Pause audio when audio focus is lost.

* Rename class

* Fix tests

* Fix detekt issue.

* Audio focus: let the system handle automatic ducking when playing media.

* Document and update API

* Remove useless space.
2025-05-13 09:54:58 +00:00
Jorge Martín e6b1c196d6 Changelog for version 25.05.3 2025-05-12 17:52:42 +02:00
Jorge Martín e65a8d5b65 Merge tag 'v25.05.3' into develop
v25.05.3
2025-05-12 17:11:06 +02:00
Jorge Martín c78d0fcdd2 Merge branch 'release/25.05.3' 2025-05-12 17:10:59 +02:00
Jorge Martín 2915f0c4d6 Adding fastlane file for version 25.05.3 2025-05-12 17:10:58 +02:00
Jorge Martín b396ca3159 Setting version for the release 25.05.3 2025-05-12 17:10:08 +02:00
Jorge Martín 06e8f740d4 Merge tag 'v25.05.2' into develop
v25.05.2
2025-05-12 16:43:42 +02:00
Jorge Martín 30a49216f7 Merge branch 'release/25.05.2' 2025-05-12 16:43:35 +02:00
Jorge Martín 6b90a5e4da Adding fastlane file for version 25.05.2 2025-05-12 16:43:34 +02:00
Jorge Martín e9f87e35fe Setting version for the release 25.05.2 2025-05-12 16:43:34 +02:00
Benoit Marty fe91895c9a Disable Continue button when the login field is cleared. (#4699)
* Disable Continue button when the login field is cleared.
Fixes #4691

* Add tests on LoginPasswordView
2025-05-12 14:45:07 +02:00
Jorge Martin Espinosa 525d72d85b Revert "fix(deps): update dependency io.element.android:element-call-embedded…" (#4706) 2025-05-12 14:07:50 +02:00
ElementBot 019327ef9b Sync Strings from Localazy (#4703)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-05-12 09:56:19 +02:00
ElementBot 83406ec0c0 Update Gradle Wrapper from 8.13 to 8.14 (#4645)
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2025-05-09 15:47:55 +02:00
renovate[bot] 4c99a1cfb4 fix(deps): update dependency androidx.sqlite:sqlite-ktx to v2.5.1 (#4692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 15:46:56 +02:00
renovate[bot] 5ed2e92801 fix(deps): update lifecycle to v2.9.0 (#4693)
* fix(deps): update lifecycle to v2.9.0

* Remove unused code.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-05-09 09:55:35 +00:00
renovate[bot] 02dae19b56 fix(deps): update datastore to v1.1.6 (#4630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 11:42:57 +02:00
Jorge Martin Espinosa c39b480f82 Keep call notification ringing while a call is present in the room (#4634) 2025-05-09 11:38:43 +02:00
Benoit Marty 3391e7cc55 Update "Learn more" link (#4686)
* Update target link for "Learn more".

* Rename VerifySelfSession* to OutgoingVerification*

* Optimize import

* Refactor to avoid long line

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-05-09 11:10:30 +02:00
Jorge Martín 8f484c322f Merge remote-tracking branch 'origin/main' into develop 2025-05-08 13:09:51 +02:00
Jorge Martín 5f71e25ba4 Changelog for version 25.05.1 2025-05-08 11:51:36 +02:00
Jorge Martín aa365d2496 Merge branch 'release/25.05.1' 2025-05-08 11:24:01 +02:00
Jorge Martín 5e39d90778 Adding fastlane file for version 25.05.1 2025-05-08 11:24:00 +02:00
Jorge Martín d2efaaddbd Setting version for the release 25.05.1 2025-05-08 11:23:31 +02:00
renovate[bot] 7b0de4b0ee fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.5.8 (#4696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 11:15:27 +02:00
Benoit Marty 0beec202a5 Ensure that the Rust room is not closed while the driver needs it. (#4694) 2025-05-08 09:33:35 +02:00
renovate[bot] 5fb0fc0d50 fix(deps): update android.gradle.plugin to v8.10.0 (#4687)
* fix(deps): update android.gradle.plugin to v8.10.0

* Update lint version to 8.11.0-alpha09

* Fix lint false positive.

Error: Modifier factory functions must use the receiver Modifier instance [ModifierFactoryUnreferencedReceiver from androidx.compose.ui]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-05-07 11:07:20 +02:00
renovate[bot] fd70a2cad6 chore(config): migrate config .github/renovate.json 2025-05-06 18:33:21 +00:00
Benoit Marty 8ca5f8bc9d Let EnterpriseService prevent usage of homeserver (#4682)
* Add check on homeserver url.

* Update screenshots

* Add missing test

* Update submodule link.

---------

Co-authored-by: ElementBot <android@element.io>
2025-05-06 17:25:07 +00:00
Jorge Martín 390337c426 Changelog for version 25.05.0 2025-05-06 16:27:35 +02:00
Jorge Martín d472020083 Merge tag 'v25.05.0' into develop
v25.05.0
2025-05-06 15:58:28 +02:00
Jorge Martín 9b4b107239 Merge branch 'release/25.05.0' 2025-05-06 15:58:17 +02:00
Jorge Martín 6682e4f08f Adding fastlane file for version 25.05.0 2025-05-06 15:58:16 +02:00
Jorge Martín 0628b780e1 Setting version for the release 25.05.0 2025-05-06 15:57:37 +02:00
renovate[bot] 31e5ae067f fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.5.6 (#4681)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-06 15:45:31 +02:00
Benoit Marty 3603ed6830 Fix read receipt behavior when the timeline is opened. (#4679)
* Use Timber instead of println

* Fix ReadReceipt not sent when new event is received:
- filter Virtual item regarding typing to compute NewEventState
- always scroll, since the latest event is always the typing notification (but with 0 height). This triggers the sending of RR.

* Improve the fix to fix regression detected by unit tests.

* Remove unnecessary parenthesis

* Document parameter.
2025-05-06 12:41:34 +00:00
Benoit Marty c61ee59528 Improve the callback uri format and customization. (#4664)
* Remove unused SUPPORT_EMAIL_ADDRESS

* Improve the callback uri format and customization.

Use io.element.android for the scheme of Oidc redirection for Element X.
For nightly the scheme will be io.element.android.nightly
For debug the scheme will be  io.element.android.debug

Element Pro is using `io.element`
2025-05-05 17:46:17 +02:00