1
0
Fork 0
mirror of https://github.com/etkecc/synapse-admin.git synced 2025-04-02 02:23:31 +03:00
Commit graph

74 commits

Author SHA1 Message Date
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
Aine
7747dc7f28
Add identifier when authorizing with password
This PR is almost copy of https://github.com/Awesome-Technologies/synapse-admin/pull/601 PR,
authored by @dklimpel
2024-09-03 10:42:45 +03:00
Manuel Stahl
dbcb4f92dc Use central defintion of storage system
Change-Id: Ibf31c650b08920bf82827607c3421556ac90ae61
2024-08-17 10:50:29 +02:00
Manuel Stahl
4adf2c2bca Fix getWellKnownUrl()
Change-Id: I494831a7608e80c4d9fa1a2455755d915607a22d
2024-07-09 13:03:53 +02:00
Manuel Stahl
ec0fc14b68 Use custom data provider method for "delete_media"
This is not a REST endpoint, so it's better to use a custom method, see
https://marmelab.com/react-admin/DataProviders.html#adding-custom-methods

Change-Id: I256286949e77b998f759f671b2d4e9790f8ca39c
2024-07-09 13:03:53 +02:00
Manuel Stahl
4761ea36bc Update eslint for typescript
Change-Id: I39ad44666fe958dd4f6c8f0d88b3dc960d7cb6c7
2024-05-06 08:33:32 +02:00
Manuel Stahl
72f5ab937e Refactor random MXID and password generator
Change-Id: Ifd8afde0a294adba2d28ca4f620e298aac9a1fa6
2024-05-06 08:33:10 +02:00
Manuel Stahl
2466af6936 Transform code base to typescript
Change-Id: Ia1f862fb5962ddd54b8d7643abbc39bb314d1f8e
2024-04-26 11:48:52 +02:00
Manuel Stahl
4b1277f653 Rework configuration process
Dynamically loads `config.json` on startup.

Fixes , , , 

Change-Id: I9efb1079c0c88e6e0272c5fda734a367aa8f84a3
2024-04-23 11:56:39 +02:00
Alexander Tumin
c6f9dbec18 Show links to media content from local users and reports ()
Change-Id: Ia8993470a9dd5e479c028013b5be6723f569814d
2024-04-23 10:37:52 +02:00
Manuel Stahl
c9cb9aa9e0 Show Matrix specs supported by the homeserver
Change-Id: I01c110fb4b3de4de49b34f290c91c8bf424521fe
2024-04-18 10:01:52 +02:00
Manuel Stahl
1acffdb618 Make functions in dataProvider async
Change-Id: Iab36ba6379340e47e7d58b1b2d882cd7cc111f41
2024-04-18 10:01:52 +02:00
Manuel Stahl
0b4f3a60c0 Make login and logout in authProvider async
Change-Id: I6bfb1c7a5a3c5a43f9fa622e87d9d487a95a0b6e
2024-04-18 10:01:52 +02:00
Manuel Stahl
33d29e01b1 Add authProvider test
Change-Id: Ia5acce659a386437687e38ae03d578e3bccb9324
2024-04-18 10:01:52 +02:00
Manuel Stahl
8688ab7d0e Fix update in dataProvider
Fixes 

Change-Id: Icc4b0264cfda04a8a28595d153c43cdf75524673
2024-02-07 16:48:28 +01:00
Manuel Stahl
64a89f6552 Extract helper functions from LoginPage
Change-Id: I507e223d0eff00bac3963d0b71f9bd648b9ab7b1
2024-02-07 15:15:40 +01:00
dklimpel
3adc6b4663 Use new API of dataProvider
Change-Id: I2789f1f1384b48e876bee5af421ff5db66fa3416
2024-02-07 08:49:26 +01:00
dklimpel
a222af273f Update dataProvider hooks
Change-Id: Ic19f7a6ad97b1392c96c91a19e76b8983c9d0fd2
2024-02-05 15:59:43 +01:00
Dirk Klimpel
8501f19a03
Add admin API for destinations ()
* Add admin API for destinations

* Add rooms and connections to federation/destinations
2023-01-24 16:35:42 +01:00
Charlie Calendre
a647c91f4f
fix: prevent requests from failing ()
Encode userid to handle the case of a localpart with a slash
2023-01-24 15:18:09 +01:00
Dirk Klimpel
bd6b6eef85
Use delete room API v2 (delete room in background) ()
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-16 19:53:17 +01:00
Dirk Klimpel
e787b0a940
Add edit user_type to user () 2023-01-16 12:37:30 +01:00
Dirk Klimpel
efed8b2774
Add token based registration creation and management ()
* Add token based registration creation and management

* yarn fix

* Apply suggestions from code review

Remove empty line

* move date to `const date_format`
2022-02-17 20:45:21 +01:00
Nya Candy
c891afa611
feat: support SSO login ()
* feat: support SSO login

* fix: lint

* fix: add back homeserver force protection

* fix: add back login notice

* fix: simplify login options
2022-02-17 20:24:46 +01:00
Dirk Klimpel
1a17d3e69b
Automatically set the homeserver for a new user ()
and enhance form validation
2021-11-15 20:57:38 +01:00
dklimpel
8536f552d4 Add button to quarantine media ()
Change-Id: I6496826fdf75ab8b7b3ed5a9056abf86a50caea3
2021-08-25 10:42:34 +02:00
Dirk Klimpel
e6f01f035b
Add buttons to protect and unprotect users' media from quarantine () 2021-08-19 11:51:07 +02:00
Dirk Klimpel
9f16e5c6ba
Change delete room API to DELETE () 2021-07-05 14:32:44 +02:00
Dirk Klimpel
e19c34324b
Allow fixed homeserver () 2021-05-18 12:39:53 +02:00
Dirk Klimpel
3ea1f51eb5
Add a new tab to rooms with forward extremities ()
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 .

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 () 2021-05-04 16:18:12 +02:00
Dirk Klimpel
2cdd41b615 Add a new tab to rooms with state events ()
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 ()
* 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 () 2021-03-16 12:13:32 +01:00
Aaron Raimist
8adab0e927
Name device used by Synapse Admin and hook up logout button ()
* 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 () 2021-02-11 21:14:02 +01:00
Dirk Klimpel
ea59d0dd02
Add a new tab to user page with media ()
* 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 ()
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 ()
* 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 () 2021-02-11 20:20:42 +01:00
Dirk Klimpel
2f96951c19
Add view of reported events () 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 () 2020-11-12 14:56:21 +01:00
Dirk Klimpel
3d4f45d070 Bugfix delete room ()
Fixes 
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 ()
* 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