you are viewing a single comment's thread.

view the rest of the comments →

[–]magnora7 4 insightful - 4 fun4 insightful - 3 fun5 insightful - 4 fun -  (5 children)

Yeah we have tools but we need to develop them further. I could really use a 'mark all posts and comments as spam for this user' button to remove bot-automated postings. I need help with programming this tool to help defend against this type of attack more easily. If anyone reading this thinks they can possibly help develop this button (using javascript/python/postgresql) for saidit please let me know.

We could also probably use another content admin to watch over the site and help spot stuff like that earlier. VantaFount does a great job, but perhaps another person would be helpful. And removing that sort of thing would be way easier for all admins if we had the "remove all posts and comments from the user" button I just mentioned.

So that's what we need to do next to better defend against these things. Someone just has to make it happen, and my hands are already full, so saidit could use some help.

[–][deleted]  (1 child)

[deleted]

    [–]magnora7 4 insightful - 4 fun4 insightful - 3 fun5 insightful - 4 fun -  (0 children)

    Yes it's a doable thing, but I have a lot of other things to deal with regarding saidit already, so I could really use some help.

    Good suggestion on the moderator toolbox, but I really need something that works at the admin level for even the subs I'm admin of but not moderator of. And there's a lot of other code with the toolbox as well, which makes it complicated. Ideally this should be about 5 additional lines of code.

    I think we can copy the functionality of the existing admin "spam" button... the code for it is here: https://github.com/libertysoft3/saidit/blob/240ac6aa0169141ddf3a81531dd0c73f8c1a7809/r2/r2/templates/printablebuttons.m#L43

    Basically when the button is triggered we need to do event_action='spam' for every single post and comment from a user instead of just that one post... which d3rr says "You just need a controller that will get the user id from a link in the sidebar or something, then loading all posts by a user and removing as spam isn't that much code."

    So it's something like that... there will be a controller.py file probably that the 'remove all' button would trigger (similar to how the spam button works), and then that would write all the entries in the postgresql database for that user to have a spam marker set to 'true'.

    [–][deleted]  (2 children)

    [deleted]

      [–]magnora7 4 insightful - 4 fun4 insightful - 3 fun5 insightful - 4 fun -  (1 child)

      Yes that's how vantafount is. They can remove anything obvious (spam, porn, etc) and ban those users, but the tough calls fall back to me. Any additional admins would have a similar restriction.