Commit Graph

2671 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
d8f9408cdb Room member moderation: kick, ban and unban (#2496)
* Room member moderation: kick, ban and unban

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-06 16:44:05 +01:00
Jorge Martin Espinosa
3e56420648 Add room moderation feature flag (#2495) 2024-03-06 09:51:43 +01:00
Jorge Martin Espinosa
6a75be7bf0 Room admins can change user roles (#2423)
Allow Admins to modify room member roles:

- Add a 'roles and permissions' option for each room.
- Allow promoting users to admins, adding or removing moderators, and demote yourself if you're and admin.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-05 16:46:47 +00:00
Jorge Martin Espinosa
b64d7a267e Add extra params to bug reports (#2490)
* Add extra params to bug reports

- `local_time`: the time in the device's timezone.
- `utc_time`: the time in UTC.
- `sdk_sha`: the commit SHA that was used to build the Rust SDK
2024-03-05 17:21:47 +01:00
ElementBot
bd85def8fa Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
Benoit Marty
c85c0dc829 Fix layout issue, issue only visible when text is longer (French, German, etc.) 2024-03-01 15:57:13 +01:00
Benoit Marty
01b74f3ef9 Fix layout issue, issue only visible when text is longer (French, German, etc.) #2461 2024-03-01 15:28:45 +01:00
bmarty
a5aa446dce Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
Benoit Marty
bf4cda769e Merge pull request #2453 from element-hq/renovate/app.cash.molecule-molecule-runtime-1.x
Update dependency app.cash.molecule:molecule-runtime to v1.4.0
2024-02-28 18:21:30 +01:00
Benoit Marty
a560c74e32 Stop using consumeItemsUntilPredicate 2024-02-28 15:28:23 +01:00
bmarty
7fd358166d Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
Benoit Marty
bbc24d70f2 Remove weird trailing comma 2024-02-27 22:19:04 +01:00
Benoit Marty
ce2033bd43 Avoid consumeItemsUntilPredicate and try the deterministic way. 2024-02-27 22:17:11 +01:00
ganfra
2c2a2abd10 PinUnlock tests: do not use awaitLastSequentialItem... 2024-02-27 20:31:09 +01:00
ganfra
26607761a1 RoomListFilters : use kotlin filtering as rust one is slower and has more chance to bust the room list cache. 2024-02-27 16:24:54 +01:00
ganfra
f5c6aaf94e RoomListFilters : remove animation on filter toggling 2024-02-27 16:22:30 +01:00
Benoit Marty
05c9c4e227 Merge pull request #2448 from element-hq/feature/bma/testMediaViewerView
Add test on MediaViewerView and other missing unit tests.
2024-02-27 15:51:45 +01:00
Benoit Marty
b843b5d9fa Renaming function for code clarity. 2024-02-27 09:53:14 +01:00
Benoit Marty
66aa342d73 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
54ef435d9c Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Jorge Martin Espinosa
f0700f9904 Show blocked users list (#2437)
* Show blocked users list.

Also allow to unblock them from this list.

* Add non-blocking `AsyncIndicatorHost` component

* Use `StateFlow` for getting ignored users.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-26 15:24:22 +00:00
ganfra
2c8c43f5d3 Merge pull request #2438 from element-hq/feature/fga/improve_media_viewer
[Improvement] MediaViewer/Attachment experience
2024-02-26 10:39:02 +01:00
Benoit Marty
c746a0acc5 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
ganfra
aff9943f24 AttachmentsPreview: set zoomable state 2024-02-23 17:36:38 +01:00
ganfra
e9e99918be Attachment : quickly improve rendering too 2024-02-23 17:26:31 +01:00
ganfra
f0483b8fdb MediaViewer : introduce fullscreen and flick to dismiss behavior 2024-02-23 16:55:41 +01:00
Benoit Marty
37e85b4db0 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty
9119a7b7fb Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
ganfra
0f563d712a Merge pull request #2422 from element-hq/feature/fga/room_list_filters
[Feature] Room list filters
2024-02-22 22:59:28 +01:00
Benoit Marty
4477328cf2 Merge pull request #2429 from element-hq/feature/bma/testRecoveryKey
Test recovery key
2024-02-22 17:37:11 +01:00
Benoit Marty
08b01ffb79 Preview must be internal. 2024-02-22 16:18:34 +01:00
Benoit Marty
e9c0a0a18e Add test about clicking an Avatar in a DM room detail. 2024-02-22 16:18:07 +01:00
Benoit Marty
5d33f8dafc Exclude ContentToPreview from coverage. 2024-02-22 16:12:29 +01:00
Benoit Marty
bbed475f93 Fix copyright date on new files. 2024-02-22 15:59:44 +01:00
Benoit Marty
aa1e214e46 Add test on RoomDetailsView 2024-02-22 15:47:21 +01:00
Benoit Marty
69e66d9101 Add test on RoomDetailsView 2024-02-22 15:31:58 +01:00
Benoit Marty
f48446439f Use aRoomNotificationSettings. 2024-02-22 15:25:26 +01:00
Benoit Marty
6801ef9524 Add test on RoomDetailsView 2024-02-22 15:23:22 +01:00
Benoit Marty
5a80f89e12 Add parameter to avoid copy of objects. 2024-02-22 14:43:17 +01:00
Benoit Marty
48e8900a2c Create extension to cleanup LogoutViewTest 2024-02-22 14:32:18 +01:00
Benoit Marty
6521ffe0aa Add test on DefaultDirectLogoutView 2024-02-22 14:28:17 +01:00
Benoit Marty
cf38553701 Add more states in DirectLogoutStateProvider 2024-02-22 14:03:59 +01:00
Benoit Marty
cbf1ea1354 Add DirectLogoutStateProvider, and add preview for DefaultDirectLogoutView 2024-02-22 12:53:38 +01:00
ganfra
77ba3f905a Merge develop into feature/fga/room_list_filters 2024-02-22 11:15:43 +01:00
Benoit Marty
64db9fa173 Add TestTag to the Recovery key field. 2024-02-22 10:25:47 +01:00
Benoit Marty
fb451282fe Use method references, and avoid using navigateUp(): let the parent Node decide how to navigate. 2024-02-22 08:57:12 +01:00
ganfra
35319c7c05 RoomListFilters : add more tests. 2024-02-21 20:55:49 +01:00
Benoit Marty
544b4b4389 Cleanup after rebase. 2024-02-21 18:34:15 +01:00
Benoit Marty
1ea9d41d27 Fix test clicking on enter recovery key calls the expected callback 2024-02-21 18:30:57 +01:00
Benoit Marty
9ecbbf3955 Add more tests on RoomListView 2024-02-21 18:30:57 +01:00