Commit Graph

10563 Commits

Author SHA1 Message Date
Benoit Marty
b322a4bae5 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
3d64afa937 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
6513534ff1 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
93499910ba 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
3cf8b04a07 Changelog for version 25.05.3 2025-05-12 17:52:42 +02:00
Jorge Martín
11bd562ee3 Merge tag 'v25.05.3' into develop
v25.05.3
2025-05-12 17:11:06 +02:00
Jorge Martín
323ad7217f Merge branch 'release/25.05.3' 2025-05-12 17:10:59 +02:00
Jorge Martín
4076cb7a9f Adding fastlane file for version 25.05.3 2025-05-12 17:10:58 +02:00
Jorge Martín
c6a9d99441 Setting version for the release 25.05.3 2025-05-12 17:10:08 +02:00
Jorge Martín
52d069d71f Merge tag 'v25.05.2' into develop
v25.05.2
2025-05-12 16:43:42 +02:00
Jorge Martín
00bc42feb7 Merge branch 'release/25.05.2' 2025-05-12 16:43:35 +02:00
Jorge Martín
1baa2bc8ce Adding fastlane file for version 25.05.2 2025-05-12 16:43:34 +02:00
Jorge Martín
e58939ce4d Setting version for the release 25.05.2 2025-05-12 16:43:34 +02:00
Benoit Marty
857adf27b6 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
267226b7b9 Revert "fix(deps): update dependency io.element.android:element-call-embedded…" (#4706) 2025-05-12 14:07:50 +02:00
ElementBot
bcfbd5ace4 Sync Strings from Localazy (#4703)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-05-12 09:56:19 +02:00
ElementBot
e3d5391fc9 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]
c24099ded9 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]
54fea47cba 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]
b5d1d1632e 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
30067b2a50 Keep call notification ringing while a call is present in the room (#4634) 2025-05-09 11:38:43 +02:00
Benoit Marty
e8e75af506 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
ee5abd3264 Merge remote-tracking branch 'origin/main' into develop 2025-05-08 13:09:51 +02:00
Jorge Martín
d06539cea6 Changelog for version 25.05.1 2025-05-08 11:51:36 +02:00
Jorge Martín
957a7432fe Merge branch 'release/25.05.1' 2025-05-08 11:24:01 +02:00
Jorge Martín
94207c1af9 Adding fastlane file for version 25.05.1 2025-05-08 11:24:00 +02:00
Jorge Martín
57648315be Setting version for the release 25.05.1 2025-05-08 11:23:31 +02:00
renovate[bot]
659e8f9ac5 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
0e74fe7062 Ensure that the Rust room is not closed while the driver needs it. (#4694) 2025-05-08 09:33:35 +02:00
renovate[bot]
62a1d1bcb9 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]
1968d4046e chore(config): migrate config .github/renovate.json 2025-05-06 18:33:21 +00:00
Benoit Marty
93eb70bd83 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
8bbe4a55d2 Changelog for version 25.05.0 2025-05-06 16:27:35 +02:00
Jorge Martín
19358d3d14 Merge tag 'v25.05.0' into develop
v25.05.0
2025-05-06 15:58:28 +02:00
Jorge Martín
9ecbbb5891 Merge branch 'release/25.05.0' 2025-05-06 15:58:17 +02:00
Jorge Martín
a28a5195ab Adding fastlane file for version 25.05.0 2025-05-06 15:58:16 +02:00
Jorge Martín
eb687e2286 Setting version for the release 25.05.0 2025-05-06 15:57:37 +02:00
renovate[bot]
b5d70708ba 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
32916444e5 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
9ea4853e88 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
Jorge Martin Espinosa
024aa49e60 Make sure any JoinedRustRoom is destroyed after use (#4678) 2025-05-05 16:09:07 +02:00
ganfra
a7179b711c Merge pull request #4673 from element-hq/renovate/org.maplibre.gl-android-sdk-11.x
fix(deps): update dependency org.maplibre.gl:android-sdk to v11.8.7
2025-05-05 16:03:13 +02:00
renovate[bot]
4ffe9ea0e9 chore(deps): update rnkdsh/action-upload-diawi action to v1.5.9 (#4674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 15:33:39 +02:00
ElementBot
aab5104010 Sync Strings from Localazy (#4677)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-05-05 12:11:22 +02:00
renovate[bot]
c5e453cc0f fix(deps): update dependency io.element.android:element-call-embedded to v0.10.0 (#4667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 09:40:57 +02:00
renovate[bot]
877215191d fix(deps): update dependency org.maplibre.gl:android-sdk to v11.8.7 2025-05-03 02:19:34 +00:00
renovate[bot]
5ae1f49b4e fix(deps): update dependency io.sentry:sentry-android to v8.11.1 (#4668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-02 13:10:18 +02:00
renovate[bot]
883100b17d fix(deps): update kotlin to v2.1.20-2.0.1 (#4670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-02 13:09:53 +02:00
renovate[bot]
02593f13e3 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.4.30 (#4665)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.4.30

* OidcConfiguration do not take a contact parameter anymore.

* Fix API break.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-05-02 12:33:19 +02:00
ganfra
c2568f84d2 Feature : Report room (#4654)
* feature (report room) : introduce all presentation classes.

* feature (report room) : branch entry point in the room list

* refactor (matrix ui) : move some code from appnav to matrix ui

* feature (report room) : add api on room

* feature (report room) : adjust ui

* feature (report room) : branch api

* feature (decline invite and block) : move things around and introduce presentation classes

* feature (decline invite and block) : continue to move things

* feature (report room) : remove reference to "conversation" for now

* feature (report room) : add report room action to room detail screen

* feature (report room) : enabled button state

* feature (report room) : improve code and reuse

* feature (report room) : add feature flag

* feature (report room) : change feature flag to static bool

* feature (report room) : add tests

* feature (report room) : fix ui with new api on ListItem

* feature (report room) : clean up and add more tests.

* Update screenshots

* feature (report room) : more test and fix issue

* feature (report room) : update strings

* feature (report room) : fix konsist preview

* feature (report room) : disable feature

* Update screenshots

* var -> val

* Improve preview of AcceptDeclineInviteView

* Improve preview consistency

* Add missing test on DismissErrorAndHideContent

* Update screenshots

* Add missing tests

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-05-02 12:25:19 +02:00