Commit graph

48 commits

Author SHA1 Message Date
Dirk Klimpel
e6f01f035b
Add buttons to protect and unprotect users' media from quarantine (#150) 2021-08-19 11:51:07 +02:00
Dirk Klimpel
9f16e5c6ba
Change delete room API to DELETE (#151) 2021-07-05 14:32:44 +02:00
Dirk Klimpel
e19c34324b
Allow fixed homeserver (#142) 2021-05-18 12:39:53 +02:00
Dirk Klimpel
3ea1f51eb5
Add a new tab to rooms with forward extremities (#107)
Add a new tab to rooms with forward extremities.
2021-05-08 19:10:51 +02:00
Manuel Stahl
e2fd934851 Allow base URL with path
Ignore and remove trailing slashes.
Fixes #134.

Change-Id: Iedf266e9a93e6939f7f66707fee59a2b56226216
2021-05-04 18:41:54 +02:00
Manuel Stahl
0bc1ce3226 Reuse device_id for synapse-admin on login
Change-Id: I47bbfd1e33ef8bffb618101ae233aeb093cf0ada
2021-05-04 17:10:49 +02:00
Manuel Stahl
41ce58bac8 Enable sorting in tab of users' media (#138) 2021-05-04 16:18:12 +02:00
Dirk Klimpel
2cdd41b615 Add a new tab to rooms with state events (#108)
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2021-05-04 14:42:27 +02:00
Dirk Klimpel
2ab4343970
Add the lists of public rooms on the server (#105)
* Add room directory and the switches to rooms settings

* Fix react admin version
2021-05-04 13:52:43 +02:00
dklimpel
60854bcc60 Add button to delete media by size and date 2021-04-21 10:51:14 +02:00
Dirk Klimpel
c6b6e54617
Fix broken redirect to login page (#116) 2021-03-16 12:13:32 +01:00
Aaron Raimist
8adab0e927
Name device used by Synapse Admin and hook up logout button (#113)
* Name device used by Synapse Admin

* Actually logout when the logout button is pressed so that old sessions get deleted

* Fix lint
2021-03-02 11:45:05 +01:00
Dirk Klimpel
7f92e1a3c0
Add new list with information about users' media (#89) 2021-02-11 21:14:02 +01:00
Dirk Klimpel
ea59d0dd02
Add a new tab to user page with media (#87)
* Add a new tab to user page with media
2021-02-11 21:11:34 +01:00
Dirk Klimpel
706114a382
Add a new tab to user page with room memberships (#73)
The admin API for user's room memberships is new in synapse v1.21.0.

Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2021-02-11 20:45:02 +01:00
Dirk Klimpel
f2a1275673
Add a new tab to user page with pushers (#85)
* Add a new tab to user page with pushers

* Update pushers `total` and `id`
2021-02-11 20:37:20 +01:00
Dirk Klimpel
b184954ffa
Update total in dataProvider (#101) 2021-02-11 20:20:42 +01:00
Dirk Klimpel
2f96951c19
Add view of reported events (#84) 2021-01-04 09:14:33 +01:00
Manuel Stahl
1432724a64 yarn: Upgrade packages
- react-admin: 3.10.0
 - react-dom: 16.14.0
 - react-scripts: 3.4.4

Change-Id: I805bcd2f65419747f7e8c5a3e2c6b9896010ca9e
2020-11-16 13:31:39 +01:00
Dirk Klimpel
5de5015655
Add SearchInput to RoomFilter (#83) 2020-11-12 14:56:21 +01:00
Dirk Klimpel
3d4f45d070 Bugfix delete room (#72)
Fixes #70
Bugfix delete a room in room list with `deleteMany`.
2020-10-28 09:25:22 +01:00
Michael Albert
3d7c0bf67f Add search for users
Change-Id: I4bb4b33819b66846645e2e7a3d38d3e837a5bcd8
2020-10-08 08:07:55 +02:00
Dirk Klimpel
26b8cea6a5
Add button to purge rooms to room list (#44)
* Add button to purge rooms to room list

Add button (BulkDeleteButton) to delete rooms with no local users:
- purge rooms `POST /_synapse/admin/v1/purge_room`
(https://github.com/matrix-org/synapse/blob/master/docs/admin_api/purge_room.md)

* Bugfix of merge 'master'

* Change from purge room to delete room endpoint
2020-10-07 20:50:10 +02:00
Michael Albert
7c9a87bc86 Show room members in room detail view
Change-Id: I7d82f728de0e503d4834f6815bde000c7a0204a3
2020-08-07 21:29:58 +02:00
Manuel Stahl
1f56bac356 Add basic tests for dataProvider
Change-Id: Ib399cbb4e927ab18f714371e07606df83170df52
2020-07-30 13:52:17 +02:00
Manuel Stahl
314906657f Add support to remove user devices (#57)
Change-Id: I19176daa656b9280ccd00f1ca0095e72870ca21e
2020-07-29 17:49:30 +02:00
Manuel Stahl
352ab1290a Add devices tab to UserEdit component
Allows to view user devices.
API was added by synapse v1.15.0.

Change-Id: Id0693bf6cd6f6182c657412cf8036537e2db9df7
2020-07-13 10:32:13 +02:00
Manuel Stahl
ab04db5baf Get avatar_url and displayname from v2/users API
API was added by synapse v1.13.0.

Change-Id: I927b81882fa20e5b3de3d9fc216e2136f7036bba
2020-07-07 18:51:35 +02:00
Michael Albert
2fc75cd6fc
Merge pull request #43 from dklimpel/extend_room_list
Extend the room list with further attributes
2020-07-03 19:32:00 +02:00
dklimpel
aaf1ebb909 Change field creation_ts * 1000 to creation_ts_ms 2020-06-16 10:15:22 +02:00
dklimpel
627f3d2917 Add creation timestamp and consent version to UserEdit
Add information about the user to UserEdit
- creation timestamp
- consent version
2020-06-16 10:15:22 +02:00
dklimpel
3884c50012 Extend the room list with further attributes
Add further attributes:
- is_encrypted
- federatable
- public
- state_events
- version
- joined_local_members

Also add the ability to sort.

API was added by synapse v1.13.0.
2020-05-23 17:43:33 +02:00
Dirk Klimpel
009ce803e2
Add ServerNoticeButton to UserBulkActionButtons (#41)
This adds the button to send "Server Notices" to many users at once.
2020-05-06 09:03:33 +02:00
Manuel Stahl
c41b8ab846 Add ServerNoticeButton to UserEditToolbar
For this, the feature "Server Notices" must be activated on the server.

Change-Id: If3873dc5548822a06a7be0c55e48835c9fb8f78f
2020-05-05 13:34:16 +02:00
Manuel Stahl
2d0ce50444 Save base_url from login input
Change-Id: I58447145dfc2df4ab3544b6a165721f900e29b24
2020-05-02 16:22:53 +02:00
Michael Albert
dd022eab04 Validate URL on input instead of automatic rewrite of http to https
Change-Id: I3f3a9c5fb408af1f03ef876456133b331dc4cea3
2020-05-02 16:22:40 +02:00
Manuel Stahl
437fd70d6d Make creating users a special case in dataProvider
Since users are created with PUT instead of POST, this is actually a
special case.

Change-Id: Ibe430fcac4d81de9723abd650804ffa93f87bf6d
2020-04-23 16:57:24 +02:00
Manuel Stahl
d812cff5fc Rename homeserver_url to endpoint_url in dataProvider
Change-Id: I86441cd90e9b9b6b04ba2d28fee12a1cfa0684a7
2020-04-23 14:29:13 +02:00
Manuel Stahl
b7f009e559 Add buttons to erase users (#32)
Change-Id: I9b5644394d213dc66b30e39f19e9e392b69a0be3
2020-04-09 11:37:02 +02:00
Manuel Stahl
2240559f74 yarn: Upgrade packages
- react: 16.13.1
- react-admin: 3.4.0
- prettier: 2.0.0

Change-Id: Ibbd4ff2bd8054a7086d194229ec732c1a256579c
2020-04-06 12:17:42 +02:00
dklimpel
7ef6bc05c6 Add list of client connections per user (#26)
List the result of GET /_synapse/admin/v1/whois/<user_id>.
2020-03-30 10:42:31 +02:00
Manuel Stahl
e4dd013c19 Fix coding style
Change-Id: Ifa944a7eb541b290f54d67eb654b893e71724843
2020-03-27 21:22:16 +01:00
rkfg
d099e582e0 Fix pagination and use deactivated users switch 2020-03-24 18:59:48 +03:00
teutates
40b5031550 Use proper homeserver URL for API requests 2020-03-05 10:04:22 +01:00
Lukas Winkler
726461aa19 Fix deleteMany() in dataProvider (#6)
Change-Id: I6ef3abbf3ed7a1860b7c395d91fda8b7e44f4d95
2020-02-11 09:18:40 +01:00
Michael Albert
2163c4dfc8 Fix user create/update url
Change-Id: I33ff191f7e598c29e0b034d5079e9adf05ff80ae
2020-02-10 19:33:52 +01:00
Manuel Stahl
a151a18b6e Add dataProvider for synapse
Change-Id: Id1bd6e840a1af8c647c316e29a39e988ac224dba
2020-02-10 12:59:44 +01:00
Manuel Stahl
b920ecae86 Add login page
Change-Id: I167f6492aa2608558bf2ac4e6604dd584de6db66
2020-02-10 12:59:41 +01:00