-
Notifications
You must be signed in to change notification settings - Fork 8
spam reporting #7
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
Conversation
8b589eb
to
46c36e5
Compare
Spam reporting is available for trusted users (org members) via a button on a spammer's profile page; processing is done automatically using a new cron task process_spam_reports; a new section Site Administration > Identity & Access > Spam Reports.
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 only superficially tested it and skimmed the code so far.
Is the plan to upstream this at some point, or just as a local change? If we wanted to upstream this eventually I would have various comments, but probably that's not the plan for now?
It would be good to fix the errors reported by make lint
. I like to run that on our patches to catch issues.
Also would be good to run |
sorry for potential confusion with the force push: all previous commits are combined in one, followups are done as commits on top |
I got an impression that gitea is currently not looking for a site-wide moderation mechanism, and that they prefer to delegate it to org members. I think this to some extent contradicts the direction we are taking, so I don't think this exact approach would ever land upstream to be honest. |
otherwise ID is not populated
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.
Seems to work fine overall. I think it's polished enough for us, only have some smaller comments left.
All outstanding remarks were incorporated in the latest commits, please take another look. |
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.
Thanks, looks good now.
Ok, i'll update the patch PR now. Thank you for the review! |
Spam reporting patch Spam reporting is available for trusted users (org members) via a button on a spammer's profile page; processing is done automatically using a new cron task process_spam_reports; a new section Site Administration > Identity & Access > Spam Reports. See #7 for the code review. --------- Co-authored-by: Oleg Komarov <[email protected]>
Spam reporting is available for trusted users (org members and admins) via a button on a spammer's profile page; a new section Site Administration > Identity & Access > Spam Reports; a new "pending spam reports" indicator in the header for admins. See #7 for the code review. --------- Co-authored-by: Oleg Komarov <[email protected]>
Spam reporting is available for trusted users (org members) via a button on a
spammer's profile page;
processing is done automatically using a new cron task process_spam_reports;
a new section Site Administration > Identity & Access > Spam Reports.