39 Commits

Author SHA1 Message Date
Aine
0baf6ad94d
try a different approach to #277 2025-01-17 10:38:40 +02:00
Aine
df911c9e97
safer decodeURIComponent(), fixes #277 2025-01-17 09:42:21 +02:00
Borislav Pantaleev
2a5b59002e
Add Users' Account Data tab (#276)
* Add Account Data tab in User edit

* update readme
2025-01-16 11:00:59 +02:00
Aine
71e90c12a7
enable media bulk delete button, fixes #216 2024-12-16 11:51:12 +02:00
Aine
c2867e44c6
Merge branch 'main' into add-account-suspention 2024-12-11 18:46:04 +02:00
Aine
4fd18007de
Support E.164-based Matrix IDs (MSC4009) 2024-12-11 18:24:08 +02:00
Aine
880270bfe6
Add support for MSC3823 - Account Suspension 2024-12-07 14:47:26 +02:00
Aine
28b80d7fa2
Show 50 elements by default in the list of each resource 2024-11-30 21:49:05 +02:00
Aine
392fec3186
refactoring (#178)
* unify components import

* refactor config and app context

* refactor icons

* refactor date, error, mxid and storage

* refactor synapse utils
2024-11-25 12:51:05 +02:00
Aine
20417a67b9
User badges (#160)
* Users badges

* update readme
2024-11-22 00:37:16 +02:00
Aine
3731410486
fix password input helper text (cover all 3 cases: system-managed user, update password, create a new password); add translations for 'generate password' button 2024-11-21 21:26:50 +02:00
Aine
099e349a90
Add missing "generate password" button to the user create form; fix password's helperText 2024-11-21 21:16:39 +02:00
Aine
6620942928
add explicit labels to datagrids in destinations, registration tokens, reports, and users (list) 2024-11-21 14:59:03 +02:00
Aine
998d3817c6
Add rooms' avatars (#158)
* Add room avatars

* update readme
2024-11-21 13:46:11 +02:00
Borislav Pantaleev
cb1314ab1d
Add "Assign Admin" button to the rooms (#156)
* wip on make admin button

* Finish assign admin button

* fixes from pr

* update readme; remove unnecessary console.log; add assign admin to room directory and room view; rename user_id label; set own MXID by default; fix room name display when there is no name
2024-11-21 07:11:48 +02:00
Borislav Pantaleev
b94b782547
Prevent accidental user overwrites (#139)
* Prevent accidental user overwrites

* cleanup

* update translation

* update readme
2024-11-12 10:15:33 +02:00
Borislav Pantaleev
9adc13e722
Add User Rate Limits tab (#125)
* Add User Rate Limits tab

* update readme
2024-11-06 23:55:14 +02:00
Borislav Pantaleev
a04b24a5d5
add random password generation on user create/edit form (#123)
* Add button to generate password in UserEdit

* increase default random password length to 64, add more possible symbols to the generator

* update readme
2024-11-06 11:48:44 +02:00
Borislav Pantaleev
cd1ca7c039
Add option to control user's experimental features (#111)
* Add option to control user's experimental features

* Don't use ReferenceManyField, load experimental features manually

* cleanup

* Move experimental features to their own components, improve UI

* remove background from Stack

* update readme
2024-11-06 11:25:47 +02:00
Aine
abc922c956
Enable visual customization (#81)
* Enable visual customization

* update readme
2024-10-23 00:03:06 +03:00
Aine
0594259ae4
make avatar field sortable in the users list 2024-10-08 12:15:03 +03:00
Aine
ba485bbb18
Merge branch 'master' 2024-10-08 10:51:16 +03:00
Dirk Klimpel
9fc005032c
Fix for empty user default tab after creation (#628) 2024-10-08 09:20:55 +02:00
Borislav Pantaleev
a79c3597d6
Authenticated Media Support (#51)
* Fix AvatarField to work with authenticated media

* Fix ViewMediaButton to work for user's media tab and reported events

* remove console.log

* cleanup AvatarField

* use correct thumbnail size

* fix AvatarField.test

* ignore postgres data for watchman

* fix new avatar preview

* watchman should ignore testdata completely, instead of specific subdirs

* update README

* change user's media icon in sidebar - use the same icon as the media tab

* Add preview for user media files if mimeType is image/*

* Add new line in user media Dialog
2024-10-03 00:38:35 +03:00
Aine
f3080e9468
Provide options to delete media and redact events on user erase (#49)
* Provide options to delete media and redact events on user erase

* update readme
2024-09-29 00:16:44 +03:00
Borislav Pantaleev
02bee92806
Fix missing QueryClient (#47) 2024-09-26 21:42:09 +00:00
Aine
52a2f1c936
reword managed user error 2024-09-24 21:58:24 +03:00
Aine
e328380c77
Restrict actions on specific users (#42)
* Restrict actions on specific users

* update readme
2024-09-24 13:25:29 +03:00
Borislav Pantaleev
48d933e028
Upgrade react-admin to version 5 (#40)
* wip on ra upgrade

* Finish upgrade

* fix package.json

* pr fixes

* more pr fixes

* update readme
2024-09-24 10:02:47 +03:00
Aine
24cf0a60bf
Expose user avatar URL field in the UI (#27)
* wip

* some fixes

* update readme

* update readme

* Add option to change/erase any user's avatar

* Fix README

* Remove mutationMode from Edit

* remove log

* update readme
2024-09-17 23:06:12 +03:00
Borislav Pantaleev
eff17a0929
Fix redirect URL after user creation (#16)
* Fix redirect URL after user creation

* increment version; update readme
2024-09-05 09:02:46 +03:00
Aine
311cc2a1f4
Merge pull request #9 from etkecc/fix-user-names-in-header
Fix user's display name in header on user's page
2024-09-03 11:48:43 +03:00
Aine
6bc760a6fa
Fix user's display name in header on user's page
For example, erased users don't have display name, so header was `User "null"`.
With this change, if there is no display name, the MXID will be show, e.g. `User "@user:example.com"`
2024-09-03 11:45:47 +03:00
Aine
50c96cfd77
Add ability to toggle whether to show locked users
This is almost copy of https://github.com/Awesome-Technologies/synapse-admin/pull/573 PR,
authored by @huw1990
2024-09-03 11:09:46 +03:00
Borislav Pantaleev
265b5157af Fix user's Edit action defualt Tab not being shown 2024-09-03 00:53:29 +03:00
Borislav Pantaleev
056d9c6b4c Prevent self user delete 2024-08-31 01:00:29 +03:00
Manuel Stahl
dbcb4f92dc Use central defintion of storage system
Change-Id: Ibf31c650b08920bf82827607c3421556ac90ae61
2024-08-17 10:50:29 +02:00
rkfg
77cc936710
Fix a few undefined records (#580) 2024-07-18 20:38:46 +02:00
Manuel Stahl
fce6e03fc5 Regroup source code
- components directory contains react components
- pages directory contains all custom pages
- resources directory contains everything that exports ResourceProps

Change-Id: I5b9b68f67e232044fabf11810482873ce5b32053
2024-07-09 13:03:53 +02:00