Commit Graph

11189 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
a87bbdd91c Delegate call notifications to Element Call, upgrade SDK and EC embedded (#5119)
* Stop sending call notifications manually: the Element Call widget can now assume responsibility for sending them when you start a call.

* Upgrade SDK version to `v25.8.5`, fix API breaks

* Upgrade Element Call embedded to `v0.14.1`

* Fix tests and lint issues

* Add `RoomListEntriesDynamicFilterKind.NonSpace` to avoid displaying spaces in the room list

---------

Co-authored-by: Robin <robin@robin.town>
2025-08-05 15:14:51 +00:00
Benoit Marty
0b895f631d Merge pull request #5112 from element-hq/sync-localazy
Sync Strings
2025-08-04 16:01:40 +02:00
Benoit Marty
aae24e01ef Sync string again 2025-08-04 14:50:08 +02:00
renovate[bot]
d65808d8cf Update media3 to v1.8.0 (#5101)
* Update media3 to v1.8.0

* Fix breaking API changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-08-04 10:26:15 +02:00
bmarty
a2c8107b44 Sync Strings from Localazy 2025-08-04 00:34:11 +00:00
ganfra
0a9f0d9049 Changelog for version 25.08.0 2025-08-01 14:27:53 +02:00
ganfra
79b8113f00 Merge branch 'release/25.08.0' into main 2025-08-01 13:52:47 +02:00
ganfra
506498b244 Adding fastlane file for version 25.08.0 2025-08-01 13:52:44 +02:00
ganfra
48079fec63 Setting version for the release 25.08.0 2025-08-01 13:48:43 +02:00
ganfra
36ce2640f7 Merge pull request #5108 from element-hq/feature/fga/re_enable_share_pos
misc : re-enable share pos by default
2025-08-01 11:09:38 +02:00
ganfra
0f4954ab88 Merge pull request #5097 from element-hq/renovate/io.sentry-sentry-android-8.x
Update dependency io.sentry:sentry-android to v8.18.0
2025-08-01 11:07:17 +02:00
ganfra
c7ff5120cd Merge pull request #5103 from element-hq/renovate/androidx.test.ext.junit
Update dependency androidx.test.ext:junit to v1.3.0
2025-08-01 11:06:34 +02:00
ganfra
217f0f3dd6 misc : re-enable share pos by default 2025-08-01 10:31:20 +02:00
ganfra
c5615f4d6d Merge pull request #5104 from element-hq/renovate/test.core
Update test.core to v1.7.0
2025-07-31 10:45:44 +02:00
ganfra
4f629139f4 Merge pull request #5102 from element-hq/renovate/androidx.test-runner-1.x
Update dependency androidx.test:runner to v1.7.0
2025-07-31 10:45:13 +02:00
ganfra
be8a5e8cd4 Merge pull request #5098 from element-hq/feature/fga/media_send_queue_ff
feature (media send queue) : enable send queue by default
2025-07-31 10:10:15 +02:00
renovate[bot]
c2066b4baf Update test.core to v1.7.0 2025-07-31 05:51:37 +00:00
renovate[bot]
8339463b6a Update dependency androidx.test.ext:junit to v1.3.0 2025-07-31 01:31:24 +00:00
renovate[bot]
ac67bc66eb Update dependency androidx.test:runner to v1.7.0 2025-07-31 01:31:18 +00:00
ganfra
cbb07217f5 feature (media send queue) : enable send queue by default and hide from dev settings 2025-07-30 22:09:16 +02:00
renovate[bot]
0c64d23ae4 Update dependency io.sentry:sentry-android to v8.18.0 2025-07-30 19:41:34 +00:00
renovate[bot]
c10608eb67 Update dependency org.maplibre.gl:android-sdk to v11.13.0 (#5093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-30 07:55:43 +02:00
Jorge Martin Espinosa
8298404630 Adapt 'change roles' screens to the new creator/owner role (#5076)
* Replace `RoomMember.Role.CREATOR` with `RoomMember.Role.Owner` - Make `RoomMember.Role` a sealed interface instead

* Adapt room member role mapping to include the power level to distinguish between admins and owners

* Use new `RoomMember.Role` sealed interface through the app

* Change how `MembersByRole` groups members to add owners to the admins section

* Adapt the `ChangeRoles` screen to the new roles:
    - Owners can't modify other owner's roles.
    - They can modify the roles of any other user, without confirmation.

* Adapt 'roles and permissions' screen:
    - Owners can't demote themselves.
    - The admin count also counts owners.

* Add more tests and screenshots

* Add owners to its own section in the 'change roles' screen

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-07-29 14:07:16 +00:00
Jorge Martin Espinosa
9509ad5170 Fix crash when trying to get active notifications (#5085)
Sometimes something goes wrong when unmarshalling them
2025-07-29 15:40:58 +02:00
renovate[bot]
07edaa3dcb Update dependency org.matrix.rustcomponents:sdk-android to v25.7.28 (#5088)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.7.28

* Adapt to SDK changes

* Remove Sonatype repos: use Maven Central instead

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-07-29 11:45:52 +02:00
renovate[bot]
dc6734d530 Update dependency com.posthog:posthog-android to v3.20.1 (#5087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-28 14:16:22 +00:00
ganfra
78e2c95c70 Merge pull request #5083 from element-hq/sync-localazy
Sync Strings
2025-07-28 11:58:12 +02:00
bmarty
0d0e958bd4 Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
Jorge Martin Espinosa
2750835a36 Make sure we display errors when we create a recovery key and it fails (#5079)
* Make sure we display errors when we create a recovery key and it fails

* Add another preview for the error state

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-07-25 13:36:43 +02:00
Jorge Martin Espinosa
7958bb4692 Prevent crash caused by re-release of wakelock in calls (#5077) 2025-07-25 13:36:23 +02:00
Jorge Martin Espinosa
b57e79f8c6 Prevent loop when exiting the attachments preview screen (#5078)
Disable the custom `BackHandler` when the `sendState` is `Done`. Otherwise, it can get into a loop in some cases where `postCancel()` calls the `OnDoneListener`, which triggers an up navigation, which then simulates a back press... and we end up in the custom `BackHandler` again.
2025-07-25 13:36:09 +02:00
renovate[bot]
58e1503e61 Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23 (#5073)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23

* Adapt to SDK changes:

- Add 'creator' role, adapt existing logic to it.
- Remove `ReplyParameters`, replace with `EventId` where possible.
- Fix changes in OIDC auth methods.
- Add more join rules.

* Make sure both creators and users with power level >= 150 are displayed as 'owners' in the room member list.

* Don't close the roles and permissions screen if the user is a creator

* Use `MediaPreviewValue.DEFAULT` for `MediaPreviewConfig.DEFAULT` too

* Improve APIs around checking roles and power levels:
    - Ensure `RoomInfo.RoomPowerLevels.users` can't be directly used to check power levels since it can't check the power levels for creators.
    - Add a few helper functions to handle actions that relied on the previous `users` property, and docs to explain their usages.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-07-24 11:58:30 +02:00
Jorge Martin Espinosa
6c184076a9 Calculate video output size taking into account portrait mode (#5068) 2025-07-23 14:19:08 +02:00
Jorge Martin Espinosa
b50e5430cb Add fallback notifications from UTDs to the push history (#5047) 2025-07-23 08:55:41 +02:00
Jorge Martin Espinosa
b219c05d06 Make sure we clean up the pre-processed and uploaded media (#5039)
* Add `MediaSender.cleanUp()` and `MediaPreProcessor.cleanUp()` methods: this will remove the temporary files created when pre-processing media before sending them.

* Make sure we clean up also the previous temporary media.

* Fix the condition for the custom back handler in the attachments preview screen

* Tests: check the clean up is performed when needed
2025-07-23 08:55:20 +02:00
ganfra
746699b468 Merge pull request #5054 from element-hq/sync-localazy
Sync Strings
2025-07-22 21:13:30 +02:00
bmarty
06312b2e4a Sync Strings from Localazy 2025-07-22 20:46:13 +02:00
ganfra
527db355ca Merge pull request #5061 from element-hq/renovate/com.google.firebase-firebase-bom-34.x
Update dependency com.google.firebase:firebase-bom to v34
2025-07-22 18:51:38 +02:00
ganfra
566377abc8 Merge pull request #5046 from element-hq/feature/bma/a11y/createRoomImage
[a11y] Improve accessibility on avatar when creating a room.
2025-07-22 18:25:23 +02:00
ganfra
880f1e0134 deps (firebase) : bom >= 34.0.0 doesn't have ktx module anymore 2025-07-22 18:23:42 +02:00
ganfra
738e87c4cd Merge pull request #5067 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.20.0
2025-07-22 17:58:41 +02:00
Jorge Martin Espinosa
820be3ffb2 Disable Element Call Maestro tests for the time being (#5064) 2025-07-22 17:28:57 +02:00
renovate[bot]
55434a5db4 Update dependency com.posthog:posthog-android to v3.20.0 2025-07-22 14:08:50 +00:00
Jorge Martin Espinosa
b2477eb412 Remove the scaling added in Player.Listener.onVideoSizeChanged (#5055) 2025-07-22 16:06:49 +02:00
renovate[bot]
d3afe9f1e5 Update dependency io.nlopez.compose.rules:detekt to v0.4.26 (#5065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-22 12:34:09 +00:00
renovate[bot]
6042c0391e Update coil to v3.3.0 (#5063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-22 10:46:26 +02:00
ganfra
595b0479ed Merge pull request #5060 from element-hq/feature/fga/update_store_description
misc (store description) : update store description for fastlane
2025-07-22 09:59:14 +02:00
renovate[bot]
80d2679686 Update dependency com.google.firebase:firebase-bom to v34 2025-07-21 20:35:02 +00:00
ganfra
4b52294d92 misc (store description) : update store description for fastlane 2025-07-21 20:55:08 +02:00
renovate[bot]
84bf3d71cd Update dependency io.nlopez.compose.rules:detekt to v0.4.25 (#5058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 12:19:37 +02:00