-
Notifications
You must be signed in to change notification settings - Fork 18
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
Implement downvote modes #1022
Implement downvote modes #1022
Conversation
- convert the string constants to using an enum - fix the default value - make the settings dropdown mark the correct value as selected - ignore incoming dislike messages when the downvotes are disabled - hide the reduce activity when downvotes are not enabled - throw exception in the VoteController instead of adjusting the backend -> should be catched at the top most entry point
- API controllers throw exceptions depending on the downvote mode - Add the downvote mode to the `InstanceDetailsApi` so apps can check the downvote mode - completely disable the downvoting of posts and post comments, as we do not support that
f2273e0
to
927063a
Compare
What I did not implement is an AP representation of the downvote mode. I could add that, but I am not so sure that it would add any value. It surely wouldn't hurt either though |
Ow this is server wide.. uhm ok. |
Yes this is an instance setting |
I'd want hold this until after the 1.7.1 release |
owh? Are you afraid of breaking changes or? |
I mean we are at rc3 for 1.7.1 there shouldn't be new features anymore, just bugfixes. But if you disagree, then we can include this as well :) |
Nah I'm fine. Let's wait for this in 1.8.0 or something. |
Don't forget to update the |
I believe you still forgot to add |
This comment was marked as outdated.
This comment was marked as outdated.
Nevermind, I don't know what is happening. It also happened before your commit. I suspect some kind of Redis cache issue. |
This PR introduces downvote modes:
Thanks for @thepaperpilot for doing the majority of the work. This effectively replaces #723
Closes #482