This will add a new submission/report endpoint to report a given post to the moderators.
The endpoint can be called with a mandatory { "reason": "..." } body to send a report message to mod Slack.
The message is the same that we had for the transcription app.
New features include that the report reason is now saved in the Submission object, as well as the ID of the Slack message.
If a post is already removed from the queue or already has a report, no message will be sent to avoid duplicates.
Future Work:
We save the Slack message ID of the reports now, so if a submission is removed on Reddit we could also delete/edit the report message in Slack.
We can import the report message, e.g. adding the submission image and more actions.
Moderators should be able to approve a submission, also approving it on Reddit.
Moderators should be able to mark a submission as NSFW.
Relevant issue: Closes #315
Description:
This will add a new
submission/report
endpoint to report a given post to the moderators.The endpoint can be called with a mandatory
{ "reason": "..." }
body to send a report message to mod Slack. The message is the same that we had for the transcription app.New features include that the report reason is now saved in the Submission object, as well as the ID of the Slack message. If a post is already removed from the queue or already has a report, no message will be sent to avoid duplicates.
Future Work:
Checklist: