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:

  1. Easily get a list of comments from all my users locally and across the 'verse?
  2. 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?)
  • Salamander@mander.xyz
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago
    1. 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.

    2. 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.

    • coffeeisnotlatte@latte.isnot.coffeeOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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

  • pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago
    1. I don’t think there’s an user friendly way, you’d probably need to call the API or read the db.
    2. AFAIK deletes are federated. Not sure if there’s a flow which doesn’t federated them (of course accessing the DB directly won’t)
    • coffeeisnotlatte@latte.isnot.coffeeOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      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