jjj333-p / dendrite-admin-interface

[Early Developmentt] A bot interface for administrating a Dendrite server using the administration api and some database interfacing
https://matrix.to/#/#admin-interface-support:pain.agency
GNU Affero General Public License v3.0
6 stars 0 forks source link

regex to deactivate users #3

Open jjj333-p opened 9 months ago

jjj333-p commented 9 months ago
  1. change password endpoint, set log out sessions to true
  2. log in using http endpoint, or possibly natively through the sdk
  3. use userside deactivation endpoint
TruncatedDinoSour commented 9 months ago

https://gist.github.com/TruncatedDinoSour/b3646071cc404a8ba8201f4950bfc031 i did this

jjj333-p commented 9 months ago

moving here for better organization

from @timaeos

As mentioned in the #dendrite:matrix.org room:

Having a regular expression format that allows for mass user deletion / purging would be useful for managing spam account abuse. I would preferably want there to be a confirmation step that shows example accounts (<20) that are going to be purged or deleted prior to performing the purge because malformed RegEx mishaps are bound to happen.

Similarly, mass evacuations of rooms would be helpful for moderation.

from me:

oh hm i never would have thought about that. i kinda like that idea since many spambot scripts will do @spambot_[randomstring]:server.tld which could be reasonably picked up by regex.

as for mass evacuations, assuming you dont mean evacuating multiple rooms at once that is already a natively supported admin endpoint and of course this will have it