plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Listing of recent likes

Open jywarren opened this issue 10 years ago • 7 comments

In #309, we see that spam users are liking things in order to get link visibility. We can ban them, and #309 will make their usernames disappear from page like listings, but there is no master listing of likes, organized by time, so that we can occasionally skim it for spammers. Like spam is accumulating.

A page at /likes listing all recent likes would be great, also showing a ban button for admins.

Ban button example can be found here: https://github.com/publiclab/plots2/blob/master/app/views/admin/users.html.erb#L28

Likes have a model called node_selections and an index method could go here: https://github.com/publiclab/plots2/blob/master/app/controllers/like_controller.rb

jywarren avatar Jul 14 '16 03:07 jywarren

I would like to do it. =)

neliojrr avatar Dec 06 '16 22:12 neliojrr

We'd love your help on this. Thanks a lot!

jywarren avatar Dec 06 '16 22:12 jywarren

Perhaps related to this is the error in how many likes a page has. Shown on https://publiclab.org/wiki/plots-staff, there's a count of 6 likes:

screen shot 2017-01-19 at 1 03 07 pm but only three usernames (assuming it's because spammers were banned and their usernames removed from display):

screen shot 2017-01-19 at 1 03 14 pm

ebarry avatar Jan 19 '17 18:01 ebarry

No, i believe that is unrelated, but is related to #607 -- thanks!

@neliojrr -- just checking if you've gotten stuck on this at all, or if I could help in any way? Thanks!

jywarren avatar Jan 19 '17 18:01 jywarren

@jywarren I would like to give it a try! Would it require fetching all the likes and paginating them?

Diksha2008 avatar Oct 15 '17 13:10 Diksha2008

@jywarren I hope I can work on this?

Diksha2008 avatar Oct 18 '17 18:10 Diksha2008

Yes please, that'd be great!

On Wed, Oct 18, 2017 at 11:39 AM, Diksha Manchanda <[email protected]

wrote:

@jywarren https://github.com/jywarren I hope I can work on this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/610#issuecomment-337688453, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ5-RY5_dIY6Fk1_RU_h6J3-6HOW8ks5stkX4gaJpZM4JMDlg .

jywarren avatar Oct 18 '17 19:10 jywarren