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

Prevent the same person from rating more than once #357

Open
stardust66 opened this issue Aug 11, 2017 · 3 comments
Open

Prevent the same person from rating more than once #357

stardust66 opened this issue Aug 11, 2017 · 3 comments
Labels
good first issue Hacktoberfest These are issues or pull requests related to Hacktoberfest (https://hacktoberfest.digitalocean.com/) ready

Comments

@stardust66
Copy link
Contributor

stardust66 commented Aug 11, 2017

There's no good way to do this completely, but I think it's good to do something basic so the average user can't upvote or downvote multiple times.

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Sep 20, 2017

A few ideas (these are in order of how easy they are to circumvent):

  • Desensitize the button with javascript until refresh
  • Set a cookie listing the restrooms already rated, and desensitize with javascript on pages matching the cookie
  • Do some sort of user fingerprinting, e.g. record I.P. address, and record which restrooms have been rated by that user/identity, store on the server (Kind of excessive though? Maybe not this.)

@DeeDeeG DeeDeeG added Hacktoberfest These are issues or pull requests related to Hacktoberfest (https://hacktoberfest.digitalocean.com/) and removed Hacktoberfest These are issues or pull requests related to Hacktoberfest (https://hacktoberfest.digitalocean.com/) labels Sep 30, 2018
@translatorzepp
Copy link

I can grab this!

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Oct 19, 2018

Cool, and thanks @translatorzepp!

If you have any questions, or need anything, let us know!

And Happy Hacktoberfest!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Hacktoberfest These are issues or pull requests related to Hacktoberfest (https://hacktoberfest.digitalocean.com/) ready
Projects
None yet
Development

No branches or pull requests

4 participants