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

Add backend support for anonymous voting #501

Merged
merged 3 commits into from
Dec 26, 2019
Merged

Add backend support for anonymous voting #501

merged 3 commits into from
Dec 26, 2019

Conversation

paskal
Copy link
Sponsor Collaborator

@paskal paskal commented Dec 26, 2019

Backend part for #473.

After merging this PR new ANON_VOTE option is added and propagated to /config endpoint, and if it's true then anonymous users can cast votes.

As mentioned in README, VOTES_IP should be enabled at the same time to make these new options work.

I've tested it and it works as intended, however, is unavailable from UI without appropriate frontend changes.

@umputun
Copy link
Owner

umputun commented Dec 26, 2019

Looking good, but it will be nice to have a test covering such a case.

@umputun umputun merged commit b055c61 into umputun:master Dec 26, 2019
@paskal paskal deleted the anon_vote branch December 26, 2019 23:48
@paskal paskal added this to the v1.5 milestone Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants