Commit graph

358 commits

Author SHA1 Message Date
Benoit Marty
1e5a61a49c Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module. 2024-04-02 14:15:54 +02:00
ganfra
42004f251b Room directory : more cleanup and more tests 2024-03-28 18:10:29 +01:00
ganfra
865b8b0001
Merge pull request #2591 from element-hq/fix/jme/2590-update-room-member-list-after-changing-roles
Update member list after changing member roles
2024-03-26 12:27:42 +01:00
bmarty
3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa
4960621277
Replace leftover hardcoded string with the right text (#2592) 2024-03-22 14:34:40 +01:00
Jorge Martín
9f2726ec4f Only retrieve active users in RoomMemberListDataSource 2024-03-22 10:14:22 +01:00
Jorge Martín
759022ec92 Update member list after changing member roles
Also do it when the user enters the room member list screen.
2024-03-22 10:13:51 +01:00
Benoit Marty
fb64018110
Merge pull request #2565 from element-hq/feature/bma/userDataCache
Read user avatar from cache
2024-03-18 17:33:26 +01:00
Jorge Martin Espinosa
883d834284
Remove unnecessary Room.updateMembers() calls. (#2564)
* Remove unnecessary `updateMembers` calls.

Some of them can be directly removed since we have a way to automatically get member info updates based on membership changes.

Others can be replaced by a simpler `getUpdatedMember` method. This might still need a full member sync, but it's quite unlikely.
2024-03-18 14:57:25 +00:00
Benoit Marty
a0cbe1087b Fix compilation warning. 2024-03-18 15:02:41 +01:00
Jorge Martin Espinosa
4b9507d512
Add analytic events to room moderation (#2553)
* Add analytic events to room moderation

* Fix typo and tests
2024-03-18 08:06:36 +01:00
ElementBot
f089847f48
Sync Strings (#2557)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-15 13:37:11 +01:00
Jorge Martin Espinosa
e3a395f15a
Improve room member list loading UX (#2543)
Improve room member list UX:

- Don't display the list in chunks anymore.
- Use an indeterminate linear progress indicator to display some loading is being done (either loading the cached list or the updated one).
- Try to make sure we don't display the members loaded from timeline items as the cached room list by mistake.
* Update screenshots
* Simplify member loading logic.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 08:05:44 +00:00
Jorge Martin Espinosa
4c14ac822e
Added empty state to banned member list (#2541)
* Added empty state to banned member list

* Center both empty states in `RoomMemberListView` and `PollHistoryView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-13 15:04:43 +00:00
Benoit Marty
ad17afe209
Merge pull request #2533 from element-hq/sync-localazy
Sync Strings
2024-03-12 16:08:52 +01:00
Jorge Martin Espinosa
59a682b407
Change a room's permissions power levels (#2525)
* Change a room's permissions power levels

* Make `currentPermissions` use a `MatrixRoomPowerLevels?` instance instead.

* Update strings

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-12 15:45:06 +01:00
bmarty
c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
Benoit Marty
b8ee02375e
Merge pull request #2524 from element-hq/feature/bma/testRoomMembersModerationView
Add UI test on room members moderation view
2024-03-11 13:59:35 +01:00
Benoit Marty
b48122f3ac Format file 2024-03-11 13:59:17 +01:00
Benoit Marty
e7cb391b12 Add UI test on RoomMembersModerationView 2024-03-11 12:26:08 +01:00
Benoit Marty
533c2280e8 Using listOf is OK here. 2024-03-11 12:26:08 +01:00
ElementBot
dac54e7154
Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
Benoit Marty
9e9c57c324 LocalInspectionMode.current is checked at ModalBottomSheet body. 2024-03-11 09:28:25 +01:00
Jorge Martin Espinosa
878a36fbd5
Fix double back navigation in roles and permissions screen (#2506)
* Fix double back navigation in roles and permissions screen

This happened after saving changes and pressing the back navigation button in the top app bar.


---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-03-07 17:18:06 +01:00
Jorge Martin Espinosa
134cacb024
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
97f2620997
Add room moderation feature flag (#2495) 2024-03-06 09:51:43 +01:00
Jorge Martin Espinosa
b9d902e3fe
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
ElementBot
f2169aaaa8
Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
Benoit Marty
98fd9133ac Fix layout issue, issue only visible when text is longer (French, German, etc.) 2024-03-01 15:57:13 +01:00
bmarty
4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty
7710876089 Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
Benoit Marty
6d31c7d1d3 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
5e0b705d44 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty
a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
8428823c76 Add test about clicking an Avatar in a DM room detail. 2024-02-22 16:18:07 +01:00
Benoit Marty
d73f35e5ff Exclude ContentToPreview from coverage. 2024-02-22 16:12:29 +01:00
Benoit Marty
602429002a Add test on RoomDetailsView 2024-02-22 15:47:21 +01:00
Benoit Marty
bef3092e76 Add test on RoomDetailsView 2024-02-22 15:31:58 +01:00
Benoit Marty
f40a3b8f21 Use aRoomNotificationSettings. 2024-02-22 15:25:26 +01:00
Benoit Marty
3684761bcd Add test on RoomDetailsView 2024-02-22 15:23:22 +01:00
Benoit Marty
66514f7756 Add parameter to avoid copy of objects. 2024-02-22 14:43:17 +01:00
ganfra
7532f96c4f
Merge pull request #2416 from element-hq/feature/fga/add_some_analytics
Analytics : add analytics on read status and favorite toggles
2024-02-20 13:51:33 +01:00
Jorge Martin Espinosa
e68139bf46
Display banned users in room member list (#2415)
* Display banned users in room member list

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-20 10:07:06 +01:00
ganfra
e69b62bfa1 Merge branch 'develop' into feature/fga/add_some_analytics 2024-02-19 17:52:16 +01:00
ganfra
66030aeb64 Analytics : add analytics on read status and favorite toggles 2024-02-19 17:38:17 +01:00
Benoit Marty
354e82d489
Merge pull request #2413 from element-hq/feature/bma/unitTests
Add more unit tests
2024-02-19 16:15:28 +01:00
Jorge Martin Espinosa
0a6f00e9df
Sort the room member list and display member roles (#2412)
* Sort the room member list and display member roles

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-19 15:03:36 +00:00
Benoit Marty
4fc9947a9e Remove extra new line. 2024-02-19 14:17:18 +01:00