Commit Graph

4089 Commits

Author SHA1 Message Date
ganfra
217f0f3dd6 misc : re-enable share pos by default 2025-08-01 10:31:20 +02: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
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
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
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
880f1e0134 deps (firebase) : bom >= 34.0.0 doesn't have ktx module anymore 2025-07-22 18:23:42 +02:00
Jorge Martin Espinosa
b2477eb412 Remove the scaling added in Player.Listener.onVideoSizeChanged (#5055) 2025-07-22 16:06:49 +02:00
Jorge Martin Espinosa
62b377dcb8 Fix toPlainText where <ol start='n'> tags appear (#5044) 2025-07-18 13:23:26 +02:00
ganfra
9c9d33a582 misc (room id) : relax room id regex pattern to match new versions 2025-07-17 19:56:34 +02:00
Benoit Marty
c40badec65 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
9dbb2634ab FAB: iterate on design 2025-07-16 10:11:53 +02:00
Benoit Marty
75c9bf20db Iterate on FloatingActionButton shape and colors. 2025-07-16 09:47:08 +02:00
ganfra
e071a08b8a Merge pull request #5021 from element-hq/sync-localazy
Sync Strings
2025-07-15 21:02:38 +02:00
renovate[bot]
d73510ac3f Update dependency org.matrix.rustcomponents:sdk-android to v25.7.15 (#5011)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-07-15 15:41:06 +02:00
Jorge Martin Espinosa
2c325df32f Replace video transcoder with Media3 Transformer (#5018) 2025-07-15 11:08:56 +02:00
bmarty
fcacfa87c1 Sync Strings from Localazy 2025-07-14 00:33:09 +00:00
Benoit Marty
9f5acd24fa [a11y] Group device information and spell out the deviceId 2025-07-11 14:35:08 +02:00
Benoit Marty
773797fff8 Remove PageTitle, it was a duplicate of IconTitleSubtitleMolecule 2025-07-11 14:22:11 +02:00
Benoit Marty
71cb6892cb MediaGalleryView: replace PageTitle by IconTitleSubtitleMolecule 2025-07-11 14:21:04 +02:00
Benoit Marty
c33b16db6b MediaDeleteConfirmationBottomSheet: replace PageTitle by IconTitleSubtitleMolecule 2025-07-11 14:19:59 +02:00
Benoit Marty
9ae5ea78ee FlowStepPage: replace PageTitle by IconTitleSubtitleMolecule 2025-07-11 14:14:30 +02:00
Jorge Martin Espinosa
fb318ad6fe Keep video rotation metadata when transcoding (#5008) 2025-07-10 15:02:42 +00:00
Benoit Marty
f39304d9d2 Merge pull request #5007 from element-hq/feature/bma/a11y/reportRoom
[a11y] Fix several issues around accessibility
2025-07-10 16:36:10 +02:00
Jorge Martin Espinosa
b618395f42 Add a feature flag to reuse the last pos value for initial syncs (#5010) 2025-07-10 13:33:23 +00:00
Benoit Marty
00a00ecbe4 Fix test 2025-07-10 11:40:38 +02:00
Benoit Marty
1790d289c3 Quality 2025-07-10 10:04:21 +02:00
Benoit Marty
366d040d01 Remove dead code. 2025-07-10 08:30:39 +02:00
Benoit Marty
803a5292ba [a11y] Improve accessibility of picto next to the timestamp.
https://github.com/element-hq/customer-success/issues/572
2025-07-09 17:32:59 +02:00
Benoit Marty
62c2738de0 [a11y] Make SelectedUser more accessible by grouping the text and the action to remove.
https://github.com/element-hq/customer-success/issues/566
2025-07-09 16:47:23 +02:00
Benoit Marty
1f3a017c73 [a11y] Add click label on edit avatar component
https://github.com/element-hq/customer-success/issues/579
2025-07-09 16:20:59 +02:00
Benoit Marty
035aaf5aa2 Sync strings. 2025-07-09 16:20:47 +02:00
Benoit Marty
80df68c1dc Enable blur effect on the top bar too. 2025-07-09 14:47:32 +02:00
Benoit Marty
470ed51758 Add preview for mentions in the context of the timeline. 2025-07-08 18:49:22 +02:00
Benoit Marty
0077d96138 Change fun to val and extend SemanticColors 2025-07-08 17:49:06 +02:00
Benoit Marty
d445e3695b Remove unused BigCheckmark 2025-07-08 17:43:30 +02:00
Benoit Marty
dc4c5a561b Merge pull request #4979 from element-hq/renovate/major-okhttp-monorepo
Update dependency com.squareup.okhttp3:okhttp-bom to v5
2025-07-08 15:17:04 +02:00
Benoit Marty
0bcb3a704b Ensure big log does not crash the application 2025-07-08 12:30:17 +02:00
ganfra
12a18796a5 misc (a11y) : mark MainActionButton icon as decorative 2025-07-08 11:38:09 +02:00
Benoit Marty
1f4b8735cf Merge pull request #4926 from element-hq/feature/bma/roomListHeader
Remove bloom effect and replace by linear gradient
2025-07-08 10:12:31 +02:00
renovate[bot]
04a1c00b94 Update dependency org.matrix.rustcomponents:sdk-android to v25.7.7 (#4989)
Make sure we distinguish between notification events that were filtered out and those that couldn't be resolved.

---

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-07-07 17:56:51 +02:00
Benoit Marty
cb2e018431 Centralize gradient color definitions 2025-07-07 16:39:19 +02:00