I noticed comment spam on this post: https://publiclab.org/questions/plam/03-31-2017/infragrammer-webgl-hsv-vs-standard-equations#a561

And so, as a site moderator, i went to that profile https://publiclab.org/profile/maisieacton10 and banned it.
What did you expect to see that you didn't?
The alert text when i clicked "ban" on the profile said that banning the author would remove all their content from the site -- but it did not. This is a bug.
Thanks for looking into this!
This is a feature request - we haven't yet designed a system to moderate
comments or answers, because we don't yet have a "status" field for these.
Right now, comment deletion is manual.
This is important because banning a user should not delete their comments
-- that would be irrevocable.
We could model a "status" system on the node.status system in
/app/models/node.rb so that banning a user changes all their comments to
"status = 0" instead of deleting them.
But we will have to ensure that anywhere comments are displayed (dashboard
activity feed, questions pages, notes pages, wiki pages, anywhere else) we
filter comments for "status == 1"
And we'll have to add the comment status column with a default of 1, so
that all current comments are "published"
Later, we could design an additional system so that new posters' comments
are moderated as initially status = 2 (maybe?), and require approval as
with nodes.
Thanks, Liz! Hope these steps help break down this request!
On Fri, Nov 17, 2017 at 1:43 PM, Diksha Manchanda notifications@github.com
wrote:
I would like to resolve this!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/1785#issuecomment-345328715,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ6eIbwWsPUsTRD7l8gU4B0REyyu0ks5s3dPWgaJpZM4Qiagw
.
@jywarren can i work on this issue??
Hi, I think this is a big set of features which we should break into smaller parts. Perhaps we could start by highlighting the poster's comments when you do ban them -- opening the profile page to the comments section? See https://publiclab.org/profile/warren
Currently there's not a way to open directly to the comments section. That's a good self-contained issue. Then a follow-up one could be, perhaps, to create a controller method to delete all comments by a user, accessible only to moderators? This would have to be used very very carefully... with an "are you sure" prompt for sure.
Via #428 -- steps for creating a comment moderation system might include:
comment.status columnstatus = 0 to unpublish (in a migration like this one)where(status: 1) to all comment displays, especially this line:@jywarren I would like to work on this!
Hi, @Diksha2008 that'd be great -- i think we need to start by planning this one out -- it's a big system. let me check with @ebarry and @steviepubliclab about whether we want to prioritize this project now or to ask folks to hold off for a bit. Thanks!!
i'd like to start with a subset here -- let's (building on the above list):
1, spam = 2user.role == admin): https://github.com/publiclab/plots2/blob/master/app/models/node.rb#L158status back to 1status == 1user.role == admin || user.role...) but with text hidden, with a notice "A comment by @______ was put in moderation. _Read the full comment_" which displays the text, and a "republish" buttonThis is a lot already! And we wouldn't even have gotten to preventing first-time posters from commenting unless approved. So let's start here and then we can build this out further once we have some of these basic systems in place!
Thanks, all! If someone wants to post these checklists as a "Planning issue" for this larger collection of features, that'd be great!
Hi @Diksha2008 @jywarren , I want to help in resolving this issue
@Gauravano sure! Lets work on this together!
On 30-Jan-2018 2:01 AM, "Gaurav Sachdeva" notifications@github.com wrote:
Hi @Diksha2008 https://github.com/diksha2008 @jywarren
https://github.com/jywarren , I want to help in resolving this issue—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/1785#issuecomment-361376537,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS6fqD0vVdbxdE7afQdmNhAoQAqrlt-6ks5tPiqhgaJpZM4Qiagw
.
Thanks @Diksha2008, How about I can work on first 2 parts and then you next 2 and so on something like this? So you wanna start with first 2 or should I start?
Opened in #2304
@Gauravano sorry for the late reply
Sure we can work that way!
Great
Most helpful comment
Hi, @Diksha2008 that'd be great -- i think we need to start by planning this one out -- it's a big system. let me check with @ebarry and @steviepubliclab about whether we want to prioritize this project now or to ask folks to hold off for a bit. Thanks!!