I try to understand synapse and the matrix behind.
So I'm looking for administration tools e.g.:
a) To delete (hard) accounts on my home server.
b) To setup a expiration of the account validity, if a user had no login within the last two years (as example).
c) To see how many accounts are registered.
d) etc.
thank you.
And in d), I’d like to put everything from https://github.com/matrix-org/synapse/issues/2031 regarding deleting/pruning rooms locally while making federated server that my HS is leaving those rooms. ;)
For c) you can do following right now:
sqlite3 /var/lib/matrix-synapse/homeserver.db
select * from users;
Seems like here someone started a GUI: https://github.com/aminhusni/Trinity_Matrix_Management_GUI
@rubo77 looks like it might be abandoned :(
We really need a GUI method to administrate Matrix/HS stuff like that though...
Any news on Admin GUI dev ?
Is the _matrix/client/r0/admin/register endpoint that is used by https://github.com/matrix-org/synapse/blob/master/synapse/_scripts/register_new_matrix_user.py included in any offical spec?
@devcline Nothing concrete I'm afraid - clearly it is a good thing to have, more a question of finding the time to work on it - practically speaking it sits well behind S2S spec work as we try and get to an r0 release.
You can see our immediate 'to do' here https://github.com/orgs/matrix-org/projects/2
@awesome-manuel no, not that I can see. I suspect we'd build out our admin interface, prove it in the wild and then spec.
/_matrix/client/r0/admin/ is meant for stuff that's specific to a HS implementation (there's one endpoint which has slipped through the net into the CS spec somehow). Many of the endpoints synapse exposes there (including /register) are documented in synapse/docs/admin_api.
According to vector-im/riot-web#4125
we're prioritising the riot redesign over this sort of admin interface. contributions from the community would be very welcome on it.
Which is understandable to do in riot with a universal API to every server.
But it should be reasonable to create something specifically for the synapse server. Connecting directly to the databse
building a web UI is on the horizon in the next ~3 months, one way or another
@ara4n any word on target scope of features? :D
Being able to use the server notice thingy to send custom messages would be great. (Yes, you can use the manhole now but it's a pain in the nether regions)
Hope this WebUI is coming soon
We started to implement an admin UI for synapse: https://github.com/Awesome-Technologies/synapse-admin
Nice!
We did a complete rewrite using (react-admin)[https://marmelab.com/react-admin/].
Docker-Container is up-to-date: https://hub.docker.com/r/awesometechnologies/synapse-admin
building a web UI is on the horizon in the next ~3 months, one way or another
Is this still on the horizon @ara4n ? I haven't been able to find anything regarding this recently.
We did a complete rewrite using (react-admin)[https://marmelab.com/react-admin/].
Docker-Container is up-to-date: https://hub.docker.com/r/awesometechnologies/synapse-admin
This looks pretty cool. Is this currently the main functional admin gui?
Most helpful comment
building a web UI is on the horizon in the next ~3 months, one way or another