193 Commits

Author SHA1 Message Date
Aine
0baf6ad94d
try a different approach to #277 2025-01-17 10:38:40 +02:00
Aine
df911c9e97
safer decodeURIComponent(), fixes #277 2025-01-17 09:42:21 +02:00
Borislav Pantaleev
2a5b59002e
Add Users' Account Data tab (#276)
* Add Account Data tab in User edit

* update readme
2025-01-16 11:00:59 +02:00
Borislav Pantaleev
c596d38d7a
Add notifications badge and page (#240)
* WIP on server notifications

* WIP: Add server notifications page and removal of notifications

* improve design

* fix missing notifications case; add tooltop

* Fix api response

* fix tests

* add docs; update readme
2024-12-19 11:24:42 +02:00
Aine
9f2293f9c4
Add "Purge Remote Media" button 2024-12-16 11:25:49 +02:00
Borislav Pantaleev
402457640c
Add "Media" tab for rooms (#196)
* WIP on Media tab to rooms

* handle error for downloadFile if it's missing

* Add warning message for rooms Media tab

* Fix error message for download media of rooms

* update readme
2024-12-09 21:56:45 +02:00
Aine
c35416ec13
add safeguard for custom menu 2024-12-09 11:42:05 +02:00
Borislav Pantaleev
7c21692a1e
Add server status page and a badge in AppBar (#182)
* WIP: Add server status and running process indicators

* Finish ServerStatusPage and ServerRunningProcess

* fix typos, add running process info to the server status page

* Remove ServerRunningProcess and integrate it into ServerStatusBadge

* remove divider in menu

* display time as started X minutes ago

* add documentation; clearly state what new components are; update readme

* change wording a bit, cross-link with docs/README.md

* use returned HTML

* Finish ServerStatus page and badges

* Fix types

* cleanup

* remove some code

* adjust config load
2024-12-04 00:14:29 +02:00
Aine
392fec3186
refactoring (#178)
* unify components import

* refactor config and app context

* refactor icons

* refactor date, error, mxid and storage

* refactor synapse utils
2024-11-25 12:51:05 +02:00
Aine
20417a67b9
User badges (#160)
* Users badges

* update readme
2024-11-22 00:37:16 +02:00
Aine
cfd8238edc
migrate config away from localStorage; ensure config is properly loaded on access token auth 2024-11-21 23:31:07 +02:00
Aine
eae00a6ccd
use first letter of display name / name / id as default avatar 2024-11-21 22:34:44 +02:00
Borislav Pantaleev
cb1314ab1d
Add "Assign Admin" button to the rooms (#156)
* wip on make admin button

* Finish assign admin button

* fixes from pr

* update readme; remove unnecessary console.log; add assign admin to room directory and room view; rename user_id label; set own MXID by default; fix room name display when there is no name
2024-11-21 07:11:48 +02:00
Borislav Pantaleev
befcd15298
Add preferred theme colors to footer (#155)
* Add preferred theme colors to footer

* remove inline-block

* Add Footer to LoginPage

* update README, add new screenshot, update Footer
2024-11-19 11:14:06 +02:00
Aine
86d0fd04e6
make login form use dark/light theme 2024-11-18 12:48:20 +02:00
Aine
1570ca5485
automatically check for app update 2024-11-13 23:44:54 +02:00
Aine
1d5511421d
better rate limits handling 2024-11-07 12:15:18 +02:00
Aine
b925c63171
clear storage on logout 2024-11-07 10:46:25 +02:00
Aine
6faebaf9df
properly handle restrictBaseUrl config option, fixes #128 2024-11-07 10:34:06 +02:00
Aine
c698f57395
Add support for config from /.well-known/matrix/client (#126)
* Add support for config from /.well-known/matrix/client

* final fixes, refactoring, updated readme
2024-11-07 00:24:33 +02:00
Borislav Pantaleev
9adc13e722
Add User Rate Limits tab (#125)
* Add User Rate Limits tab

* update readme
2024-11-06 23:55:14 +02:00
Borislav Pantaleev
cd1ca7c039
Add option to control user's experimental features (#111)
* Add option to control user's experimental features

* Don't use ReferenceManyField, load experimental features manually

* cleanup

* Move experimental features to their own components, improve UI

* remove background from Stack

* update readme
2024-11-06 11:25:47 +02:00
Aine
44e8b82412
Sanitize CSV on import (#101)
* Sanitize CSV on import

* update readme
2024-10-25 11:52:26 +03:00
Aine
791ae2c869
update naming 2024-10-24 21:49:00 +03:00
Aine
b7dc703157
add community room to the footer 2024-10-24 14:17:02 +03:00
Aine
132ea6f97f
add images 2024-10-24 13:44:12 +03:00
Aine
abc922c956
Enable visual customization (#81)
* Enable visual customization

* update readme
2024-10-23 00:03:06 +03:00
Aine
4f2cd38344
Add user profile to the top menu (#80)
* Add user profile to the top menu

* update readme
2024-10-22 12:18:55 +03:00
Aine
ca71038874
Custom Menu Items (#79)
* Custom Menu Items

* update readme

* fix indentation
2024-10-21 23:33:51 +03:00
Aine
f2f540b429
fix footer content overlapping and scrollbar 2024-10-21 13:27:32 +03: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
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
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
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
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
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
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
Manuel Stahl
dbcb4f92dc Use central defintion of storage system
Change-Id: Ibf31c650b08920bf82827607c3421556ac90ae61
2024-08-17 10:50:29 +02:00