Commit graph

194 commits

Author SHA1 Message Date
Michael Albert
ff59ee4c2e Hide some room list information by default
Change-Id: Ic6fbf0d941d2ffcc87fb5b7793517b96792ce16d
2020-07-08 11:19:09 +02:00
Manuel Stahl
61938405e9 Add room detail view
Needs Synapse v1.14.0 or later

Change-Id: I6e3956a1e02fad5ba2f847458cd184af6aaedef0
2020-07-08 10:46:49 +02:00
dklimpel
6da3c8b885 Bugfix translation of plural in UserTitle 2020-07-08 08:50:00 +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
Dirk Klimpel
8282a3caf8
Move threepids in UserEdit to a separate tab (#51)
Separates information into individual tabs for a better overview.
2020-07-06 12:35:26 +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
Dirk Klimpel
3fd615943c
Shows encrypted status with icons 2020-07-01 22:36:15 +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
168e249296 Bugfix removes the ability to click on individual connections.
If you click on a connection in UserEdit, you will get an empty page.
This solves the problem.
2020-06-16 09:45:43 +02:00
dklimpel
5bdfb80db7 Bugfix sort users by user_id
Users are not sortable by `user_id`.
Set `sortable={false}`.
2020-06-10 13:11:35 +02:00
Manuel Stahl
0ada5287d7 Show Synapse server version on login page
Change-Id: Id9b0d2adf83590524069d308f4fe9e5d14147295
2020-05-25 13:29:15 +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
Michael Albert
300e22a537 Show version of Synapse-Admin
Change-Id: I354e3f3b3e4f45e5ca72318ce70b66bee433f3d6
2020-05-15 13:28:51 +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
Dirk Klimpel
7f16f784f9
Allow port in homeserver URL (#40)
Allow to use homeserver URL with port (e.g. ':443').
2020-05-04 21:28:04 +02:00
Michael Albert
50b770a312 Extract homeserver URL from fully qualified user id
Also lookup the .well-known entry and use it if available.

Change-Id: I609046f01860fd5e3ba8cb801006e6098a4ad840
2020-05-02 16:24:53 +02:00
Manuel Stahl
2d0ce50444 Save base_url from login input
Change-Id: I58447145dfc2df4ab3544b6a165721f900e29b24
2020-05-02 16:22:53 +02:00
Manuel Stahl
1fb89c9e58 Add missing german translations
Change-Id: I297a730f73a4a4aa47a4ce679bd13ef0af69cc38
2020-05-02 16:22:53 +02:00
Michael Albert
8a4c0fe0fe Use input components for LoginPage
Change-Id: Icaaa579eaeaaafe183fb027e4d3bf206f8f5516a
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
1e6e526e3c Show displayname as title for user
Change-Id: I0ba8e2265e5b8e1fe392f56052e96e0243cd3eb6
2020-04-23 16:50:58 +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
445c7fc327 Add more size options to pagination (#23) 2020-04-06 11:41:15 +02:00
Manuel Stahl
965645874c Fix coding style 2020-04-06 11:32:28 +02:00
Manuel Stahl
185d71e5fc Add helper text to deactivate switch of users (#31) 2020-04-06 11:13:20 +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
dklimpel
dfc643a10f Add 3pids to user (#24) 2020-03-30 10:23:36 +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
1e6d43e291 Add a room view
Change-Id: I20056d997e7a94fd10d03e7d1a8051030ecf7ca4
2020-02-10 13:10:08 +01:00
Manuel Stahl
26cfa80bde Add a user view
Change-Id: I29971f1eef2405cdaa786d4cad381e47d4a5c24c
2020-02-10 13:10:06 +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
Manuel Stahl
3c72960bd1 Add translation support
Change-Id: I8cc38cd00683ce6f0ef8f62eb9eeddfc84c52a34
2020-02-08 13:49:11 +01:00
Manuel Stahl
a854f981c6 Add enzyme for testing
Change-Id: If64eba12b5c255e4d0143eab009499793674778a
2020-02-08 13:49:10 +01:00
Michael
ac9400d891 Create a base react-admin application
yarn create react-app synapse-admin

Change-Id: I2ea325e5825898aefd30e2cd15d4f2ef57949879
2020-02-07 21:20:57 +01:00