Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spam comments bypassing moderators #8434

Closed
bronwen9 opened this issue Sep 28, 2020 · 3 comments
Closed

spam comments bypassing moderators #8434

bronwen9 opened this issue Sep 28, 2020 · 3 comments
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed help wanted requires help by anyone willing to contribute

Comments

@bronwen9
Copy link

Comments from unapproved posters land on pages without 1) appearing on the moderation queue or 2) appearing as a new/unmoderated comment on the dashboard (am assuming because technically they're not approved or live on the site.

The comments do show up with the approve/spam button once you navigate onto the page, but there isn't anything to alert moderators to their presence unless they happen to open the post. Users don't appear in "active user" lists.

I haven't deleted the posts on this page here (these should only be visible to moderators):

https://publiclab.org/questions/mimiss/09-16-2020/for-the-bucket-monitor-how-many-tedlar-bags-do-you-need-per-sampling

Screen shot
image

Is there a way to ensure that the alerts to moderators for first time posters include posts that are made in the comments? I have observed most of these limbo posts to be spam, but wonder if we are also missing some "real" first time posters this way.

@ebarry
Copy link
Member

ebarry commented Sep 28, 2020

Thank you SO MUCH for reporting this @bronwen9 !!!!!

@ebarry ebarry added the bug the issue is regarding one of our programs which faces problems when a certain task is executed label Sep 28, 2020
@cesswairimu cesswairimu added help wanted requires help by anyone willing to contribute hackoctoberfest labels Sep 28, 2020
@jywarren
Copy link
Member

Hi @bronwen9 - thanks, and good to hear from you. The comment you mentioned is listed at https://publiclab.org/spam2/comments in the new comment moderation system created by @keshavsethi, so that part of the issue I believe is resolved.

image

image

For your idea --

Is there a way to ensure that the alerts to moderators for first time posters include posts that are made in the comments? I have observed most of these limbo posts to be spam, but wonder if we are also missing some "real" first time posters this way.

Tracing our comment moderation system, I believe comments by first timers are status = 4 which means an email notification is sent. Is that the kind of alert you're looking for, and is it possible to check if it was sent and received correctly?

(code for ref below)

plots2/app/models/node.rb

Lines 651 to 655 in e92aa27

def add_comment(params = {})
thread = !comments.empty? && !comments.last.nil? ? comments.last.next_thread : '01/'
comment_via_status = params[:comment_via].nil? ? 0 : params[:comment_via].to_i
user = User.find(params[:uid])
status = user.first_time_poster && user.first_time_commenter ? 4 : 1

def notify(current_user)
if status == 4
AdminMailer.notify_comment_moderators(self).deliver_later!(wait_until: 24.hours.from_now)

I think this resolves the issue but please re-open if anything looks wrong or there are gaps here, or if you have other ideas to add. Thanks a lot!

@ebarry
Copy link
Member

ebarry commented Sep 29, 2020

I think we have not communicated with our moderators that they should be using /spam2, or when /spam2 might replace /spam.
@bronwen9 please do check for email notification on this even though this issue is closed, if you don't see the email, please re-open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed help wanted requires help by anyone willing to contribute
Projects
None yet
Development

No branches or pull requests

4 participants