Open PC-Admin opened 3 years ago
list_joined_rooms()
PR: #73
purge_room()
Merged: https://github.com/Awesome-Technologies/synapse-admin/commit/26b8cea6a5a22aee5b94ed8727c6e0be69ae79e5, https://github.com/Awesome-Technologies/synapse-admin/commit/3d4f45d07078a04f37371b24ea73b6209dbfddc7
But without switch for blocking and send notice
purge_room
will be deprecated in Synapse 1.25.0: https://github.com/matrix-org/synapse/blob/develop/CHANGES.md
@PC-Admin can you update what you are still missing?
I believe from the above list i made these are still missing:
quarantine_users_media()
# Example:
# $ curl -X POST https://matrix.perthchat.org/_synapse/admin/v1/user/@PC-Admin:perthchat.org/media/quarantine?access_token=ACCESS_TOKEN
quarantine_media_in_room()
# Example
# $ curl -X POST 'https://matrix.perthchat.org/_synapse/admin/v1/room/!DwUPBvNapIVecNllgt:perthchat.org/media/quarantine?access_token=ACCESS_TOKEN'
This projects been making good progress recently. :)
Edited cheers @dklimpel
@PC-Admin please have a look at current version.
list_directory_rooms() remove_rooms_from_directory
was part of #105
It would be nice to be able to Purge Remote Media API
It would be nice also to include synapse-compress-state and be able to launch this tool time to time form within synapse-admin.
Some features from my own moderation tool (https://github.com/PC-Admin/PC-Admins-Synapse-Moderation-Tool/blob/master/modtool.py) that are currently missing from 'Synapse Admin':
list_joined_rooms() [Apparently in progress: #73]
quarantine_users_media()
list_directory_rooms()
remove_rooms_from_directory()
list_media_in_room()
quarantine_media_in_room()
purge_room() [Deprecated as of Synapse 1.25.0]
Lesser importance would be creating/deleting multiple accounts, maybe even purging the remote media repo:
Writing this as a reminder to myself to write you a couple PR's eventually. :) If anyone else feels inspired by it though that's cool too! Sorry if this isn't the best place to post this.