Commit graph

241 commits

Author SHA1 Message Date
Borislav Pantaleev
60ae00ac14
Add seprate login button for access token (#61) 2024-10-19 12:03:46 +00:00
Borislav Pantaleev
26862fa708
Add etke.cc to footer and package.json (#60)
* Add etke.cc to footer and package.json

* more links
2024-10-19 11:24:45 +03:00
Aine
853d14c1ce
fix 'Sign in' button disabled on SSO-only servers when attempting access token login 2024-10-18 10:21:48 +03:00
jamazi
11a5cac709
Refactor required fields check on Bulk CSV upload (#59)
Related to https://github.com/etkecc/synapse-admin/pull/32
2024-10-17 22:56:19 +03:00
Borislav Pantaleev
0d021021df
Add option for access token login (#58)
* Fix SSO login flow, redirect is done after auth

* Add accessToken login

* Add confirmation for session destroy on accessToken logout

* add translations, fix tests, minor renaming

* update readme
2024-10-17 18:34:20 +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
Aine
f5d6f24b30
correctly treat empty or "almost empty" restrictBaseUrl config option, fixes #56 2024-10-07 12:00:33 +03:00
Aine
a42efe7eda
do not color failed federation destinations, use an icon instead 2024-10-04 00:16:11 +03:00
Borislav Pantaleev
31d3712dbb
Better media preview/download implementation (#53)
* Add download option for non image media

* make view media button change the icon during the loading; update readme
2024-10-03 11:23:51 +03:00
Aine
a15dad4a31
ensure preview works for images only (for now) 2024-10-03 01:18:45 +03:00
Borislav Pantaleev
9062a6afb1 Remove Dialog window for image preview, open all media in new tab 2024-10-03 00:52:07 +03: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
470f1b5455
adjust 'redact all user events on remove' to the new API 2024-10-02 23:34:07 +03:00
Aine
46cc0e2fda
refactor users' after delete to react-admin lifecycle hooks, fixes #50 2024-09-29 19:46:00 +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
Aine
f8fe1166e2
Do not block deleted rooms from being rejoined by default (UI option), fixes #48 2024-09-27 19:25:15 +03:00
Borislav Pantaleev
02bee92806
Fix missing QueryClient (#47) 2024-09-26 21:42:09 +00:00
Aine
bb53d53692
Add Contact support button (#45) 2024-09-25 19:09:58 +03: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
Aine
6957cb1f7d
Fix Bulk registration invalid MXID in requests, fixes #30 (#33)
* Fix Bulk registration invalid MXID in requests

* update readme
2024-09-17 14:02:41 +03:00
Aine
66c706532a
Fix required fields check on Bulk registration CSV upload, fixes #29 (#32) 2024-09-17 13:17:07 +03:00
Borislav Pantaleev
7de9166648
Add UI option to block deleted rooms from being rejoined (#26)
Add UI option to block deleted rooms from being rejoined
This is almost a copy of https://github.com/Awesome-Technologies/synapse-admin/pull/166 PR,
authored by @jkanefendt
2024-09-14 11:03:51 +03:00
Borislav Pantaleev
0bf3440fc8
Federation page improvements for dark mode and last_entry without a date (#19)
Federation page improvements
This is almost a copy of https://github.com/Awesome-Technologies/synapse-admin/pull/583 PR,
authored by @rkfg
2024-09-06 00:23:23 +03:00
Aine
01e3947b22
add missing translations 2024-09-05 23:52:27 +03:00
Borislav Pantaleev
e093bd8625
Fix base_url being undefined on unsuccessful login (#18)
* Fix base_url being undefined on unsuccessful login

* update readme
2024-09-05 23:23:17 +03:00
Borislav Pantaleev
390aab5ce7
Display actual synapse errors (#17)
* Display actual synapse errors

* Show actual errors from dataProvider requests

* update README
2024-09-05 21:39:39 +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
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
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
rkfg
eb626a7e9e
Add Russian language support (#581) 2024-07-18 20:32:22 +02:00
Manuel Stahl
4adf2c2bca Fix getWellKnownUrl()
Change-Id: I494831a7608e80c4d9fa1a2455755d915607a22d
2024-07-09 13:03:53 +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
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
Dirk Klimpel
8cadfbd3af
Support darkTheme (#459)
* add darkTheme

* set `palette` to `darkTheme`
2024-07-03 08:31:24 +02:00
Dirk Klimpel
b5ca951b32
Add locked status to users (#413) 2024-05-07 13:14:15 +02:00
Dirk Klimpel
fac09cb9bb
Add erasure status to users (#294) 2024-05-07 13:01:24 +02:00
Manuel Stahl
5b50838fb7 Fix interface SynapseTranslationMessages
Add missing entries.

Change-Id: Ied393e07b61f5463c849118196a1ad32eee45c23
2024-05-07 10:36:09 +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