-
Notifications
You must be signed in to change notification settings - Fork 523
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
AO3-6713 Enable comment moderation for admin posts #4790
Conversation
TODO: Allow admins to approve all comments on admin posts
…e with relative keyes and this is a code style fix
…this entire action
…code that we supposedly shouldn't need)
…when refactoring the create action
else | ||
# this shouldn't come up any more | ||
flash[:comment_notice] = ts("Sorry, but this comment looks like spam to us.") | ||
redirect_back_or_default(root_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took this out (as well as the initial @comment.approved?
check) because Reviewdog was really unhappy with the nesting here, and it had me making so many changes to this action that, hey, what's another one. We're just going to assume that if a comment is saved, it passed the spam check.
Issue
https://otwarchive.atlassian.net/browse/AO3-6713
Purpose
Adds comment moderation for admin posts.
Dreadfully sorry about not having the issue number in any of the commits; I merged with master before I thought to fix it. At least we squash now?
Testing Instructions
Refer to Jira.
Credit
Sarken, she/her