Commit Graph

129 Commits

Author SHA1 Message Date
matrix07012
8ee7cb9b62 Merge branch 'media_multi_select' of https://github.com/AverageMarcus/synapse-admin into AverageMarcus-media_multi_select 2022-01-29 12:37:24 +01:00
matrix07012
5aae3a8d4f
Merge pull request #8 from dklimpel/patch-2
`disableReordering` in users' `SimpleFormIterator`
2022-01-29 12:30:05 +01:00
matrix07012
b93b83c695
Merge pull request #7 from dklimpel/patch-3
Replace deprecated `fade` in `devices.js`
2022-01-29 12:28:55 +01:00
matrix07012
5db71c0f17
Merge pull request #6 from dklimpel/patch-4
Replace deprecated `fade` in `media.js`
2022-01-29 12:28:04 +01:00
matrix07012
2267742c7d
Merge pull request #5 from dklimpel/patch-5
Create `UserEditActions` on user page
2022-01-29 12:27:08 +01:00
matrix07012
0893530e6f
Merge pull request #3 from dklimpel/patch-6
Patch 6
2022-01-29 12:24:59 +01:00
matrix07012
a543d2bd3e
Merge pull request #2 from dklimpel/patch-8
Migrate `useMutation` to `useDelete` in `devices.js`
2022-01-29 12:22:37 +01:00
matrix07012
6dbcd9cfe7
Merge pull request #1 from dklimpel/upgrade_dele_room
Use delete room API v2 (delete room in background)
2022-01-29 12:18:56 +01:00
Dirk Klimpel
c54fb0d810
Migrate useMutation to useDelete in devices.js 2022-01-07 10:26:03 +01:00
Dirk Klimpel
48c3914a38
yarn prettier 2022-01-06 13:38:59 +01:00
Dirk Klimpel
7ca5248b3d
Move date format to a constant in users.js 2022-01-06 13:28:31 +01:00
Dirk Klimpel
a77e6babbc
Create UserEditActions on user page 2022-01-06 13:14:08 +01:00
Dirk Klimpel
06d8ae109d
Replace deprecated fade in media.js 2022-01-06 08:43:01 +01:00
Dirk Klimpel
2d1d261fa0
Replace deprecated fade in devices.js 2022-01-06 08:42:03 +01:00
Dirk Klimpel
062fecbd9b
disableReordering in users' SimpleFormIterator 2022-01-02 20:15:47 +01:00
Marcus Noble
31fcdbb8b1
Addressed PR feedback
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-28 11:47:41 +00:00
Marcus Noble
de8cb1225a
Update src/components/media.js
Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com>
2021-12-28 11:22:21 +00:00
Marcus Noble
ad0e73284c
Update src/components/media.js
Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com>
2021-12-28 11:22:05 +00:00
Marcus Noble
67db3fdb76
Fixed lint
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-26 12:11:15 +00:00
Marcus Noble
a6f4f6ff77
Support bulk delete of user media
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-26 11:48:56 +00:00
Dirk Klimpel
91af8f1c04
Add sorting users by creation timestamp (#174)
* Add `creation_ts` to list users

* remove filter

* Bring back origin columns sort order
2021-12-08 21:59:09 +01:00
dklimpel
236d24dcd9 Use delete room API v2 (delete room in background) 2021-11-26 14:00:35 +01:00
Dirk Klimpel
4adc20f80d
replace undoable prop with mutationMode prop (#202) 2021-11-15 21:18:29 +01:00
Dirk Klimpel
a5c7d7dd22
Make items in "Room directory" are clickable (#199) 2021-11-15 21:15:11 +01:00
Dirk Klimpel
42b3252353
Add pristine to UserEdit and ServerNotice (#185) 2021-11-15 21:02:47 +01:00
Dirk Klimpel
1a17d3e69b
Automatically set the homeserver for a new user (#184)
and enhance form validation
2021-11-15 20:57:38 +01:00
Dirk Klimpel
79ef38ee6b
Enable modify user external_ids (#179)
* Enable modify user `external_ids`

* add input validation
2021-11-15 20:40:05 +01:00
dklimpel
8536f552d4 Add button to quarantine media (#180)
Change-Id: I6496826fdf75ab8b7b3ed5a9056abf86a50caea3
2021-08-25 10:42:34 +02:00
Dirk Klimpel
e6f01f035b
Add buttons to protect and unprotect users' media from quarantine (#150) 2021-08-19 11:51:07 +02:00
Dirk Klimpel
bf3d13916f
Add SSO external_ids to user (#168) 2021-08-18 09:33:22 +02:00
Dirk Klimpel
78a282863a
Fix broken CI with language files (#165) 2021-07-06 09:56:09 +02:00
Dirk Klimpel
e50c95b4be
Fix CSV import button (#154) 2021-07-05 14:32:51 +02:00
Dirk Klimpel
9f16e5c6ba
Change delete room API to DELETE (#151) 2021-07-05 14:32:44 +02:00
Dirk Klimpel
e3d5d51342
Fix broken RoomDirectoryFilter (#155) 2021-06-15 11:03:03 +02:00
John Francis Sukamto
d72357f64f
Update en.js (#144)
Suggested a UI name change for media size (assuming length is size in bytes)
2021-05-25 15:01:13 +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
229518e456 Show room alias or room id in room list if room has no name
Change-Id: Iad769f31347566ccf0b8a978b31f5123553e9dbc
2021-05-05 20:24:15 +02:00
Dirk Klimpel
5a5a7143af
Enable sorting of user list (#133)
New in Synapse 1.32.0
Fixes: #132, #136
2021-05-05 19:36:47 +02:00
Manuel Stahl
5208198b76 Replace enzyme with testing-library/react
Enzyme is not compatible with react 17.

Change-Id: If9bca2c482bfe10a18d2ee2bc213dab966849b5b
2021-05-05 19:23:01 +02:00
Manuel Stahl
c8082a7198 Remove TestContext from App.test.js
The TestContext is only required for components that depend on react-admin,
but not for the Admin component itself.

Change-Id: I3e07cb6bfa592f1bf59ca282cdf1c2e6c922f619
2021-05-05 19:23:01 +02:00
Michael Albert
10831796e3 Add missing translation
Change-Id: Iab3203742498d2c6768b5885c0522ff8365b58f2
2021-05-05 09:41:05 +00:00
Michael Albert
5ee5288edf Fix some DOM errors
Change-Id: I22a108fd5ce6a344e629e4af0345a0221de44052
2021-05-05 09:40:48 +00:00
Manuel Stahl
a5528d9fe7 yarn: Upgrade packages
- eslint 7.25
- ra-language-german 3.13
- react-admin 3.15
- react-dom 17.0
- react-scripts 4.0

Change-Id: Iad982cf647470bc16194000519a72c401009c9fa
2021-05-04 18:42:05 +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
Nya Candy
0e3375c5ad Add zh-cn support (#131) 2021-05-04 15:06:41 +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