Commit graph

10541 commits

Author SHA1 Message Date
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
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
Jorge Martin Espinosa
1904c98c9a
Make sure any JoinedRustRoom is destroyed after use (#4678) 2025-05-05 16:09:07 +02:00
ganfra
2d189ae775
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]
6bc0b56c74
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
bfa05ece67
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]
0976c7fae0
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]
4125aebb5f
fix(deps): update dependency org.maplibre.gl:android-sdk to v11.8.7 2025-05-03 02:19:34 +00:00
renovate[bot]
dad8853a94
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]
92f68cd11e
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]
8d1234281f
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
0b83e66733
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
Benoit Marty
e502eb1971
Render kick and ban reason in the timeline when available (#4642)
* Map the reason to RoomMembershipContent

* Create function to create RoomMembershipContent.

* Render reason for kick and ban state event.
2025-04-30 18:13:53 +02:00
ganfra
b4b93a64d6
Merge pull request #4647 from element-hq/renovate/io.github.sergio-sastre.composablepreviewscanner-android-0.x
fix(deps): update dependency io.github.sergio-sastre.composablepreviewscanner:android to v0.6.1
2025-04-30 10:37:34 +02:00
renovate[bot]
bbf89db9cd
fix(deps): update dependency io.mockk:mockk to v1.14.2 (#4658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-30 08:40:21 +02:00
renovate[bot]
d367e6bf1f
fix(deps): update dependency io.github.sergio-sastre.composablepreviewscanner:android to v0.6.1 2025-04-29 23:16:15 +00:00
renovate[bot]
baa9f01071
fix(deps): update dependency io.sentry:sentry-android to v8.11.0 (#4660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 16:03:59 +00:00
renovate[bot]
0f9ecf77e0
fix(deps): update dependency com.google.accompanist:accompanist-permissions to v0.37.3 (#4649)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 17:56:18 +02:00
Benoit Marty
2fc0c2f251
Fix wrong member count in join room screen for invitation (#4651)
* Fix typo

* Fix number of room member not correct for room invitation.

* Remove unneeded annotation

* Rename test classes.

* Add test about number of room members

Fix other tests.

* Avoid multiple request to get the room preview.
2025-04-29 17:40:11 +02:00
Jorge Martin Espinosa
d97473f42b
Fix Client.getJoinedRoom crash when a room doesn't exist locally (#4656) 2025-04-29 15:52:23 +02:00
renovate[bot]
3235238999
fix(deps): update dependency org.jsoup:jsoup to v1.20.1 (#4655)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 14:33:50 +02:00
Benoit Marty
04083cab31
Pin commit sha on GitHub actions (#4653)
* Use Git SHA instead of version.

* Use version instead of main branch.
2025-04-29 09:08:06 +02:00
Benoit Marty
3167148265
Take change of screen_change_server_error_no_sliding_sync_message into account (#4650)
* Sync strings.

* screen_change_server_error_no_sliding_sync_message is now taking a parameter.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-04-28 22:25:41 +02:00
ElementBot
847f8fcbf6
Sync Strings from Localazy (#4648)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-04-28 10:59:35 +02:00
renovate[bot]
f272167d67
fix(deps): update dependency io.sentry:sentry-android to v8.10.0 (#4644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 18:07:41 +02:00
renovate[bot]
4b445dc7b9
fix(deps): update dependency com.google.firebase:firebase-bom to v33.13.0 (#4637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 17:31:14 +02:00
Benoit Marty
f6fe5fda35
Cleanup element call and UI (#4641)
* Use ElementTheme.colors.bgCanvasDefault instead of MaterialTheme.colorScheme.background

Even if the value is the same, we should use color from ElementTheme.

* Remove background management of ElementCallActivity. It does not work as expected and also changing theme during a call would require to load the url again with the new theme.

* Do not use isSystemInDarkTheme() directly.

* Use bgSubtleSecondary for background color of Preview.

* Use default colors for Preview.

* Fix copy paste issue.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-04-25 17:30:54 +02:00
renovate[bot]
b636c69843
fix(deps): update dependencyanalysis to v2.17.0 (#4638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 09:20:48 +02:00
Benoit Marty
add03ab33a
Render caller avatar on Incoming call screen (#4635)
* Ensure that the image loader is set, else the IncomingCallActivity will not be able to render the avatar.

Fixes #4633

* Add background color to OnboardingBackground

Fixes #4629

* Trigger CI
2025-04-24 21:32:46 +00:00
Benoit Marty
2ca541936f
Accessibility: improve behavior of list items (#4626)
* a11y: add Modifier to improve accessibility of ListItems.

Remove duplication of onChange. As per the documentation, it has to be used only if the behavior is different than the onClick listener of the list item.
It also has the effect to read twice the action when the screen reader is one. See https://github.com/element-hq/element-x-android/pull/4047#discussion_r1888136571 for more details

a11y: remove contentDescription on List item icon, else the text is read twice.

* Ensure that if the ListItem is not enabled, the trailing/leading content is also not enabled.

* Update screenshots

* Fix lint crash.

---------

Co-authored-by: ElementBot <android@element.io>
2025-04-24 21:53:21 +02:00
renovate[bot]
76e1612e74
fix(deps): update dependency androidx.exifinterface:exifinterface to v1.4.1 (#4632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-24 09:26:02 +02:00
renovate[bot]
6666ae4830
fix(deps): update dependency com.posthog:posthog-android to v3.14.1 (#4628)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 16:16:24 +02:00
Jorge Martin Espinosa
619aa6f2de
Split MatrixRoom into BaseRoom and JoinedRoom (#4561)
`JoinedRoom` will now contain both a mandatory live timeline reference and all the functionality associated to it.

`BaseRoom` on the other hand will contain only functionality that's shared for both joined and not joined rooms.

`NotJoinedRoom` is a wrapper around `RoomPreviewInfo` data and a possible local `BaseRoom`, if it exists.

The `RustRoomFactory` cache is now gone since the persistent event cache should have the same effect.
2025-04-23 15:53:40 +02:00
renovate[bot]
91cb84ce8d
fix(deps): update dependency io.sentry:sentry-android to v8.9.0 (#4624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 11:59:13 +02:00