1
0
mirror of https://github.com/element-hq/element-x-android.git synced 2026-10-23 18:49:00 +03:00

16 Commits

Author SHA1 Message Date
Benoit Marty
954eb731e7 Remove unused Gradle dependencies
Remove dependencies flagged as unused by the Dependency Analysis Gradle Plugin
(`./gradlew buildHealth`) and explicitly declared in module build files.

Removals were skipped when the dependency provides transitively something the
module (or a consumer of an `api` dependency) uses directly, as well as for
runtime-only dependencies (element-call-embedded, sentry-android,
rustls-platform-verifier). Dependencies added by the convention plugin helpers
(composeDependencies, testCommonDependencies) are left untouched.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 15:47:48 +02:00
Benoit Marty
cca60ebc3a Limit usage of nullable callback. 2026-08-28 11:01:54 +02:00
Benoit Marty
17213ac93e RoomMemberModerationEvents -> RoomMemberModerationEvent 2026-08-25 10:18:21 +02:00
Benoit Marty
055fe408a6 Add KDoc to the features/roommembermoderation API interfaces
Document RoomMemberModerationState, RoomMemberModerationEvents and
RoomMemberModerationRenderer along with their members and parameters.

The renderer doc states that it draws nothing until the host screen asks for a
member's actions, and that onSelectAction exists so the host can navigate for the
actions that need a screen of their own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 10:06:53 +02:00
Jorge Martin Espinosa
bea2903093 Click on avatar in moderation bottom sheet opens avatar preview (#6991)
* Make the avatar in the room member moderation bottom sheet open the avatar in the media viewer (#6962)

* Make the avatar in the room member moderation bottom sheet open the avatar in the media viewer.

* Fix issue with avatar overlay not dismissing the bottom sheet: the bottom sheet would eat all the touch events until the first click, which would somehow cancel this behaviour

* Fix lint issues

* Update screenshots

---------

Co-authored-by: bxdxnn <267911624+bxdxnn@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
2026-06-08 16:32:13 +02:00
ganfra
2fa4994d8e quality : move canUnban logic to the permission class 2025-12-30 15:59:04 +01:00
ganfra
0cf6029614 Revert "fix: display banned member list if permissions.canKick or permissions.canBan"
This reverts commit 7c8830b16d.
2025-12-23 11:44:16 +01:00
ganfra
7c8830b16d fix: display banned member list if permissions.canKick or permissions.canBan 2025-12-22 18:06:41 +01:00
ganfra
03ac70b662 misc(power level) : expose RoomMemberModerationPermissions after PR review 2025-12-15 11:42:06 +01:00
Benoit Marty
eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
bb47492d95 Make RoomMemberModerationState stable 2025-10-09 18:22:23 +02:00
ganfra
54fceaa736 change (room member moderation) : fix copyright 2025-06-03 10:58:25 +02:00
ganfra
e405bf80a6 change (member moderation) : allow disabled action and render unban too 2025-05-16 18:38:15 +02:00
ganfra
a09cc8de97 change (member moderation) : branch moderation on timeline 2025-05-14 11:19:07 +02:00
ganfra
58d9b12ab3 change (member moderation) : extract in a separate module 2025-05-14 11:19:07 +02:00