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

No double votes #852

Merged
merged 4 commits into from Aug 15, 2016
Merged

No double votes #852

merged 4 commits into from Aug 15, 2016

Conversation

karyon
Copy link
Collaborator

@karyon karyon commented Jul 23, 2016

fixes #850

first and third commits are alternatives. i like the first one better. the second one is more explicit, but both require the explaining comment, and with that, the first one is enough imo. what do you think?

@janno42
Copy link
Member

janno42 commented Jul 23, 2016

as voting is the most important feature of the whole system, i would prefer the second version and would add an explicit entry to the log file explaining from which user and for which course the double vote was recorded so that we could further investigate if any problems with the voting procedure should occur in the future.

@karyon
Copy link
Collaborator Author

karyon commented Jul 23, 2016

well, if we just log it, nobody is going to notice, just like in the last few years.

@janno42
Copy link
Member

janno42 commented Jul 23, 2016

then make it an error and send an email to the admins :)

@karyon
Copy link
Collaborator Author

karyon commented Jul 23, 2016

the button disable thing is ok? it might be slightly confusing, because when clicking the button, it gets disabled and the mouse pointer turns into that red forbidden-sign before the new page is loaded...

@janno42
Copy link
Member

janno42 commented Jul 23, 2016

maybe you could also change the button text to something like "Submitting questionnaire..."? then the user gets instant feedback,

@karyon
Copy link
Collaborator Author

karyon commented Jul 25, 2016

As discussed, the SuspiciousOperation gets logged and send to the admins by default, so there's no need for any additional logging.

@janno42
Copy link
Member

janno42 commented Aug 15, 2016

🐇

@karyon karyon merged commit c6ca24e into e-valuation:master Aug 15, 2016
@karyon karyon deleted the no_double_votes branch August 15, 2016 16:03
@karyon karyon mentioned this pull request Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Votes might get counted twice
2 participants