Commit graph

11168 commits

Author SHA1 Message Date
renovate[bot]
d4e253b8d1
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
51f67741ae
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
4534229e84
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]
6017379ecc
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]
dc2bc71d26
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
789a255e32
Merge pull request #5083 from element-hq/sync-localazy
Sync Strings
2025-07-28 11:58:12 +02:00
bmarty
0fb0861bc1 Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
Jorge Martin Espinosa
afa01e926b
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
34848aa7f9
Prevent crash caused by re-release of wakelock in calls (#5077) 2025-07-25 13:36:23 +02:00
Jorge Martin Espinosa
e14ef24927
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]
040fde7f22
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
33aa7a914f
Calculate video output size taking into account portrait mode (#5068) 2025-07-23 14:19:08 +02:00
Jorge Martin Espinosa
7c982a30cb
Add fallback notifications from UTDs to the push history (#5047) 2025-07-23 08:55:41 +02:00
Jorge Martin Espinosa
d53457ec66
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
9f11884ddd
Merge pull request #5054 from element-hq/sync-localazy
Sync Strings
2025-07-22 21:13:30 +02:00
bmarty
8ffbfd82e8 Sync Strings from Localazy 2025-07-22 20:46:13 +02:00
ganfra
5d097022b8
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
372d5f6e9b
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
1fe347ff1b deps (firebase) : bom >= 34.0.0 doesn't have ktx module anymore 2025-07-22 18:23:42 +02:00
ganfra
0f804e1490
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
6e2ef1f75f
Disable Element Call Maestro tests for the time being (#5064) 2025-07-22 17:28:57 +02:00
renovate[bot]
a0ce3c86a1
Update dependency com.posthog:posthog-android to v3.20.0 2025-07-22 14:08:50 +00:00
Jorge Martin Espinosa
399c52bf1d
Remove the scaling added in Player.Listener.onVideoSizeChanged (#5055) 2025-07-22 16:06:49 +02:00
renovate[bot]
8947757c4c
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]
2a064793da
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
6d175a84bf
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]
39832252fb
Update dependency com.google.firebase:firebase-bom to v34 2025-07-21 20:35:02 +00:00
ganfra
74d567e9a8 misc (store description) : update store description for fastlane 2025-07-21 20:55:08 +02:00
renovate[bot]
08b1286133
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
Jorge Martin Espinosa
09e127cffc
Use lower level APIs to draw the message bubbles (#5056)
Co-authored-by: ElementBot <android@element.io>
2025-07-21 12:00:31 +02:00
renovate[bot]
a57a5ab65e
Update dependency io.nlopez.compose.rules:detekt to v0.4.24 (#5053)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 08:08:12 +02:00
Jorge Martin Espinosa
760ff51061
Fix toPlainText where <ol start='n'> tags appear (#5044) 2025-07-18 13:23:26 +02:00
renovate[bot]
7f65075bbd
Update haze to v1.6.9 (#5045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-18 11:43:39 +02:00
Andy Balaam
cdced4beb6
Note how to switch back to the published SDK after building locally (#5042) 2025-07-18 10:14:26 +02:00
ganfra
0fc3c4fe1e
Merge pull request #5040 from element-hq/feature/fga/relax_room_id_regex_pattern
misc (room id) : add room id regex pattern to match new versions
2025-07-17 21:33:32 +02:00
Andy Balaam
6b7cb76734
Grammar fixes for docs and comments (#5043) 2025-07-17 20:32:37 +02:00
ganfra
d92a089553 misc (room id) : relax room id regex pattern to match new versions 2025-07-17 19:56:34 +02:00
Benoit Marty
41783eb599 [a11y] Improve accessibility on avatar when creating a room. 2025-07-17 16:46:34 +02:00
ganfra
344db204cc
Merge pull request #5038 from element-hq/renovate/dagger
Update dagger to v2.57
2025-07-17 15:59:00 +02:00
Benoit Marty
2e0da99f2c
Merge pull request #5017 from element-hq/feature/bma/a11y/sessionVerification
[a11y] Improve session verification screens
2025-07-17 15:45:32 +02:00
Benoit Marty
fe8b68576f
Merge pull request #5033 from element-hq/feature/bma/updateFabStyle
Iterate on FloatingActionButton shape and colors.
2025-07-17 15:15:12 +02:00
Benoit Marty
cb725b279f
Fix typo 2025-07-17 15:14:49 +02:00
renovate[bot]
dbf983afe1
Update dependency androidx.lifecycle:lifecycle-process to v2.9.2 (#5036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-17 09:44:05 +02:00
renovate[bot]
50513c4059
Update dependency io.mockk:mockk to v1.14.5 (#5037)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-17 08:24:19 +02:00
renovate[bot]
75ec530361
Update dagger to v2.57 2025-07-16 22:37:58 +00:00
Benoit Marty
6674afbdb0 Remove blank line 2025-07-16 11:23:42 +02:00
ElementBot
43bcb49bef Update screenshots 2025-07-16 08:26:06 +00:00
Benoit Marty
cdbadb5477 FAB: iterate on design 2025-07-16 10:11:53 +02:00
ElementBot
d550a1dbb8 Update screenshots 2025-07-16 09:47:09 +02:00
Benoit Marty
827b02992d Iterate on FloatingActionButton shape and colors. 2025-07-16 09:47:08 +02:00