After the bot attacks I’ve cleaned up and implemented some additional measures thanks to some helpful users, but I’d also like to monitor the situation in case someone from my server decides to go on a spam rampage…
Is there a way to:
- Easily get a list of comments from all my users locally and across the 'verse?
- If I purge/ban these users, is there a protocol for letting other Lemmy admins know? I assume I have no power to delete things from their instances (just my copy of their instance?)
- I don’t think there’s an user friendly way, you’d probably need to call the API or read the db.
- AFAIK deletes are federated. Not sure if there’s a flow which doesn’t federated them (of course accessing the DB directly won’t)
I see, occasionally I get reports from local users about something elsewhere from a ‘foreign’ user… which I can then delete. I assume that’s not deleting from their server?
For example I get a report from a local user about a lemmy.ml user with a post in lemmy.world
-
Not super easily. It can be done by querying the postgresql dabase, but there is no built-in method to do it using the browser interface at the moment. When anyone from any instance does report them, you will see the report.
-
Someone please correct me if I am wrong. But, as far as I am aware, if you purge a user from your instance, that action is federated to every other instance - so if you respond quickly to these reports, other instance’s admins will not need to deal with them themselves. It is only when you perform an action on a user from a different instance that the action is only local.
Not super easily. It can be done by querying the postgresql dabase, but there is no built-in method to do it using the browser interface at the moment. When anyone from any instance does report them, you will see the report.
Do you have an example of a query I could use? I’m a bit rusty with databases :) with an example I can get chatgpt to build me something better
-