Commit Graph

11592 Commits

Author SHA1 Message Date
Benoit Marty
fecb8cb0be Cleanup nodes (#5358)
* Remove unused NavTarget.Empty

* Let SpaceEntryPoint.Inputs implement NodeInputs.

* Small cleanup

* Small cleanup

* Method can be private.

* Simplify code

* Rename to follow naming convention

* Rename Node to follow naming convention

* Add Konsist test.

* Remove useless line of code.
2025-09-16 14:36:43 +02:00
Benoit Marty
c286c60c30 Remove useless line of code. 2025-09-16 12:27:27 +02:00
Benoit Marty
17c1f21927 Add Konsist test. 2025-09-16 10:50:34 +02:00
Benoit Marty
a45e9d23c2 Rename Node to follow naming convention 2025-09-16 10:38:16 +02:00
Benoit Marty
11887a39a2 Rename to follow naming convention 2025-09-16 10:36:35 +02:00
Benoit Marty
071665905b Simplify code 2025-09-16 10:33:18 +02:00
Valere Fedronic
2ca0afff3a Call: MSC4310 sending RTC decline event and listening for Decline from other sessions
MSC4310 RTC decline event support
2025-09-16 10:25:17 +02:00
Benoit Marty
b313528544 Method can be private. 2025-09-16 10:24:16 +02:00
Benoit Marty
f7108b0f67 Small cleanup 2025-09-16 10:08:50 +02:00
Benoit Marty
e77c0ab0c2 Small cleanup 2025-09-16 10:06:16 +02:00
Benoit Marty
d3502c4412 Let SpaceEntryPoint.Inputs implement NodeInputs. 2025-09-16 09:58:42 +02:00
Benoit Marty
043aa93276 Remove unused NavTarget.Empty 2025-09-16 09:57:21 +02:00
Jorge Martin Espinosa
b0708636ad Media viewer: release the ExoPlayers when the hosting composables are disposed (#5351)
* Media viewer: release the `ExoPlayers` when the hosting composables are disposed

* Restore missing `removeListener` call
2025-09-15 16:00:13 +02:00
Jorge Martin Espinosa
15a99a5f0c Upgrade Rust SDK bindings to v25.09.15 (#5353)
* Upgrade Rust SDK bindings to `v25.09.15`:

This contains important changes to the APIs used to build the EC widget.

* Use the new `intent` parameter correctly, by calculating locally its behaviour based on whether the room is a DM and there is an ongoing call or not.

Using just the `intent` parameter is our end goal, but sadly this is not fully supported by the current EC embedded `v0.15.0`, so we need to add a workaround using the `skipLobby` and `preload` parameters.
2025-09-15 15:15:10 +02:00
Jorge Martin Espinosa
f4c73477c7 Do not center the dialog title text for dialogs with no icon (#5332)
* Fix: do not center the dialog title text for dialogs with no icon

* Fix alignment for dialogs with icons, add screenshots

* Replace text title in previews so the screenshot tests are easier to understand

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-15 11:39:37 +02:00
ElementBot
3cf121345a Sync Strings from Localazy (#5349)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-15 08:39:59 +02:00
renovate[bot]
5e2cead331 Update dependency com.google.testparameterinjector:test-parameter-injector to v1.19 (#5341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-12 19:09:55 +02:00
Richard van der Hoff
5f920eb100 Show progress dialog while we are sending invites in a room (#5342)
* Add `InvitePeopleState.sendInvitesAction`

Keep track of the progress on sending invites with a new state property.

* Keep `RoomInviteMembersView` open until invites are sent

* Sync strings from localazy

* extend `ProgressDialog` to support custom content

For my current design, a simple text element is insufficient. I extend
`ProgressDialog` to give more flexibility over the content of the dialog.

* Show progress dialog while invites are being sent

* Add new ProgressDialog previews to the naming exceptions list

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-12 10:35:37 +00:00
Benoit Marty
06e7bc1604 Space list (#5320)
* feature(spaces) : introduce SpaceRoomList matrix api

* feature (space) : extract SpaceRoomItemView

* feature(spaces) : start introducing SpaceScreen

* feature (space) : iterate on space list (and space screen)

* feature (space) : add space cache and navigation to sub space/room

* feature (space) : display top bar title

* Code cleanup, remove dead code and fix compilation issue

* More compilation fixes.

* Update screenshots

* Fix test compilation issues.

* Introduce MatrixClient.rememberHideInvitesAvatar() extension to reduce code duplication.

* Add test on SpacePresenter

* Add test on SpaceRoomCache and fix implementation

* Iterate on SpaceRoomCache thanks to SpaceRoomCacheTest

* Add UT on SpaceListUpdateProcessor

* Fix quality issue.

* Add tests on RustSpaceRoomList

---------

Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-09-11 17:29:15 +02:00
renovate[bot]
a8b7a3e7ad Update dependency com.posthog:posthog-android to v3.21.2 (#5333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-11 17:13:49 +02:00
renovate[bot]
ad00c4d2bf Update camera to v1.5.0 (#5336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-11 17:13:27 +02:00
Benoit Marty
d06c9de08c Use .value instead of .toString(). 2025-09-11 17:04:58 +02:00
Benoit Marty
1fe2eceb9a Extract plantTestTimber 2025-09-11 16:58:47 +02:00
renovate[bot]
a222f7854e Update dependency androidx.sqlite:sqlite-ktx to v2.6.0 (#5337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-11 16:44:20 +02:00
Benoit Marty
f1c0ac0b9b Improve log messages and comment 2025-09-11 16:37:12 +02:00
Benoit Marty
2db74ce9e5 Code cleanup. Avoid usage of !! 2025-09-11 16:23:07 +02:00
Benoit Marty
b1e6ab17c0 Add tests on RustSpaceRoomList 2025-09-11 15:05:50 +02:00
Valere
3ee2e5575b fix detekt 2025-09-11 13:41:24 +02:00
Valere
4e8e355f27 Call: RTC decline event support 2025-09-11 13:33:37 +02:00
Benoit Marty
0a16b86569 Update dependency org.matrix.rustcomponents:sdk-android to v25.9.10 (#5323)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.9.10

* normalizedPowerLevel has been removed from the SDK (and was not used).

* SDK API change: handle change on VirtualElementCallWidgetOptions

* Add a TODO

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-09-11 11:50:05 +02:00
Benoit Marty
2cc4bd5820 Fix quality issue. 2025-09-11 10:15:23 +02:00
Benoit Marty
137dc3bf25 Add UT on SpaceListUpdateProcessor 2025-09-11 09:57:18 +02:00
renovate[bot]
21e59a88b1 Update dependency io.sentry:sentry-android to v8.21.1 (#5310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-11 09:54:28 +02:00
renovate[bot]
3f53d4507d Merge pull request #5322 from element-hq/renovate/com.google.truth-truth-1.x
Update dependency com.google.truth:truth to v1.4.5
2025-09-11 09:04:55 +02:00
Benoit Marty
637c58ff3d Add a TODO 2025-09-11 09:02:43 +02:00
Benoit Marty
2e5a042774 SDK API change: handle change on VirtualElementCallWidgetOptions 2025-09-11 08:58:36 +02:00
Benoit Marty
cd830266ca normalizedPowerLevel has been removed from the SDK (and was not used). 2025-09-11 08:52:02 +02:00
renovate[bot]
87fbd266d9 Update activity to v1.11.0 (#5324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-11 07:57:09 +02:00
ganfra
00d07f970a Iterate on SpaceRoomCache thanks to SpaceRoomCacheTest 2025-09-10 21:42:25 +02:00
renovate[bot]
d6302a7de0 Update dependency org.matrix.rustcomponents:sdk-android to v25.9.10 2025-09-10 17:30:00 +00:00
Benoit Marty
54daa6251c Add test on SpaceRoomCache and fix implementation 2025-09-10 18:18:16 +02:00
Benoit Marty
e71e78e1b4 Merge pull request #5318 from element-hq/feature/bma/releaseScriptImprovement
Improve release script and the file Versions.kt
2025-09-10 17:30:17 +02:00
Benoit Marty
884231e1e1 Add test on SpacePresenter 2025-09-10 16:30:21 +02:00
Benoit Marty
aa63d9420a Introduce MatrixClient.rememberHideInvitesAvatar() extension to reduce code duplication. 2025-09-10 15:48:08 +02:00
Benoit Marty
c6b522e5ad Fix test compilation issues. 2025-09-10 15:48:07 +02:00
ElementBot
afe22a4137 Update screenshots 2025-09-10 13:17:52 +00:00
Benoit Marty
c7f609ac2c More compilation fixes. 2025-09-10 14:58:18 +02:00
Benoit Marty
d7c6cbc78c Code cleanup, remove dead code and fix compilation issue 2025-09-10 14:47:07 +02:00
ganfra
df93fa82db feature (space) : display top bar title 2025-09-10 14:32:08 +02:00
ganfra
65961ad404 feature (space) : add space cache and navigation to sub space/room 2025-09-10 14:31:44 +02:00