Commit graph

10510 commits

Author SHA1 Message Date
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]
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
Benoit Marty
b068597a25
OIDC configuration (#4623)
* Login: more logs.

* Login: map Oidc error to provide more information in the error dialog.

* Oidc: use the application name.

* Oidc: move configuration from OidcConfigurationProvider to OidcConfig and add some comments.

* Oidc: limit to only 1 contact in the configuration.

* Oidc: Move configuration to BuildConfig file.

* Remove unused const.

* Add missing test on Exception mapping

* Remove contacts from OidcConfiguration.

https://github.com/matrix-org/matrix-rust-sdk/pull/4958
2025-04-23 11:58:38 +02:00
ganfra
bc5c77140d Changelog for version 25.04.3 2025-04-23 11:43:17 +02:00
ganfra
c27e7c7af4 Merge tag '25.04.3' into develop 2025-04-23 11:12:32 +02:00
ganfra
a69d126e26 Merge branch 'release/25.04.3' into main 2025-04-23 11:05:37 +02:00
ganfra
6879f88ea7 Adding fastlane file for version 25.04.3 2025-04-23 11:03:47 +02:00
ganfra
68c766a6c5 Setting version for the release 25.04.3 2025-04-23 11:02:23 +02:00
Benoit Marty
4e0d00d970
Ensure that pinning an event makes the pinned messages banner appear (#4606) 2025-04-22 17:27:02 +02:00
ganfra
566457af2b
Merge pull request #4622 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.4.22
2025-04-22 15:21:38 +02:00
ganfra
baafa24beb test (sdk) : fix api break on EventTimelineItemContent 2025-04-22 14:54:11 +02:00
ganfra
7c0318e5fe change (sdk) : add topic string to NotificationContent.StateEvent.RoomTopic 2025-04-22 14:53:37 +02:00
Benoit Marty
4b9c9ccb7d
Push gateway config (#4608)
* Read PushProvidersConfig parameter from BuildTimeConfig

* Update submodule link.
2025-04-22 13:58:12 +02:00
Jorge Martin Espinosa
3b35d96e1a
Fix ringing calls not stopping when the other user cancels the call (#4613)
* Fix ringing calls not being automatically canceled

This will keep the sync active while the user is screening an incoming call, allowing receiving a call cancellation event, which will terminate the incoming call ringing early.

* Add extra logs to help debugging ringing call issues.
2025-04-22 11:30:10 +00:00
renovate[bot]
2456b2fa07
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.4.22 2025-04-22 10:34:21 +00:00
renovate[bot]
75cb3156a1
fix(deps): update android.gradle.plugin to v8.9.2 (#4615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 10:54:27 +02:00
renovate[bot]
99846c4e1d
fix(deps): update dependency com.posthog:posthog-android to v3.14.0 (#4616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 09:09:32 +02:00
ElementBot
e3a32ba52e
Sync Strings from Localazy (#4612)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-04-22 08:57:00 +02:00
Benoit Marty
bacfa09916
[a11y] Make more items focusable (#4605)
* Fix settings entry point not available when there is no avatar on the account. Fixes #4599.

* Use Ktx extension `String.toUri()`

* Allow screen reader to focus on the user avatar to allow editing it.

* Fix import order
2025-04-22 08:50:50 +02:00
ganfra
cb926ee9c5
Merge pull request #4565 from element-hq/renovate/compose.bom
fix(deps): update dependency androidx.compose:compose-bom to v2025.04.00
2025-04-18 13:59:00 +02:00
renovate[bot]
466d5223aa
fix(deps): update dependency io.sentry:sentry-android to v8.8.0 (#4557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-18 13:58:42 +02:00
renovate[bot]
47c7a74ff4
fix(deps): update dagger to v2.56.2 (#4603)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-17 13:58:54 +02:00
Benoit Marty
dc058544d7 Merge commit from fork
* Check validity of Element Call url host.

* Prepare release 25.04.2
2025-04-17 11:58:13 +02:00
Benoit Marty
c0a1d8d586 Changelog for version 25.04.1 2025-04-17 11:57:14 +02:00
Benoit Marty
dc64d9cf74
Merge commit from fork
* Check validity of Element Call url host.

* Prepare release 25.04.2
2025-04-17 11:39:38 +02:00
Benoit Marty
be1c9b793b
Fix audio output selection for Element Call (#4602)
* Fix audio output selection.

* Ensure that Element Call audio output uses a new connected device, even during a call.
Also add a few logs.

* Extract functions.

* Add more log and protect from crash.

* Revert formatting change

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-04-17 10:36:42 +02:00
Benoit Marty
7ed362b9db
Push: improve Push history screen, log and stored data (#4601)
* Add adb tools to help with doze mode and app standby

* Add info about the device state when an error occurs in push.

* Keep more events in the DB.

* Push history: add confirmation dialog when resetting the data

* Push history: add a filter to see only the errors

* Update screenshots

* Push history: print out invalid/ignored data received.

* Increase log level for push, to make such log more visible.
It also appears that sometimes Timber.d are not present in the rageshakes.

* Log priority

* Do not include device state for invalid/ignored event.

* Fix tests.

* Fix format issue.

* Fix mistake in code blocks and do not filter when not necessary.

* Improve formatting and add missing unit test.

* Reduce nesting of blocks.

---------

Co-authored-by: ElementBot <android@element.io>
2025-04-16 16:37:32 +02:00
ganfra
653416fa34
Merge pull request #4591 from element-hq/renovate/io.element.android-emojibase-bindings-1.x
fix(deps): update dependency io.element.android:emojibase-bindings to v1.4.2
2025-04-16 16:02:17 +02:00
Jorge Martin Espinosa
a11ca17242
Fetch the initial ignored user list manually (#4598)
The SDK won't return it automatically, so we need to fetch it manually.
2025-04-16 12:55:18 +02:00
renovate[bot]
f74486f525
chore(deps): update danger/danger-js action to v13.0.4 (#4596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 10:05:55 +02:00
Jorge Martin Espinosa
740c28eda9
Improve accessibility of the timeline (#4579)
* Make whole messages selectable and readable as a single unit when possible.
* Make most UI components not clickable when talkback is enabled.
* Make voice messages work with talkback too.
* Read grouped state events even if the events are collapsed.
* Move image and video item actions to the timeline item.
* Improve accessibility in the message context menu too
* Fix a11y issue on add attachment button.
* Add `contentDescription` to file icon so it's read aloud

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-04-15 15:28:29 +00:00
Jorge Martin Espinosa
f9c00ac99d
Send SVG images as files (#4595)
Since Android doesn't have support for SVG files we can't create a thumbnail or get the dimensions and other metadata needed for the `m.image` message type, so we need to send them as plain files
2025-04-15 17:05:09 +02:00
renovate[bot]
d53f0480c7
fix(deps): update media3 to v1.6.1 (#4592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-15 14:19:35 +02:00