mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
125 stars 41 forks source link

[Task]: Auto-close new abuse reports if the add-on is already disabled #14928

Closed eviljeff closed 1 month ago

eviljeff commented 1 month ago

Description

Implements https://mozilla-hub.atlassian.net/browse/AMOENG-660

Email template:

Hello,

Thank you for your report regarding the content you found on AMO that appeared to violate our policies.

As we had already addressed this content before your report was reviewed, your report will not be processed.

Thank you for your attention.

[{{ cinder_job_id }}]

--

Mozilla Add-ons Team

https://a.m.o/

Acceptance Criteria

  ### Milestones/checkpoints
  - [ ] When we receive an abuse report for an add-on we already force disabled or blocked (=all existing versions have been blocked), we should auto-close the abuse report
  - [ ] An email should be sent

Checks

┆Issue is synchronized with this Jira Task

alexandruschek commented 1 month ago

Hello,

I checked on -DEV Environment: The email is sent to the user:

image

Notes: "Thank you for your attention." is missing from the given email template. "Thank you for your report regarding the content you found on AMO that appeared to violate our policies." contains two ".." as seen in the screenshot.

If this needs another issue opened, please let me know and I'll mark this verified fix.

Thank you!

eviljeff commented 1 month ago

Hello,

I checked on -DEV Environment: The email is sent to the user: image Notes: "Thank you for your attention." is missing from the given email template. "Thank you for your report regarding the content you found on AMO that appeared to violate our policies." contains two ".." as seen in the screenshot.

If this needs another issue opened, please let me know and I'll mark this verified fix.

No, it's a quick template fix, I'll address with https://github.com/mozilla/addons-server/pull/22544

alexandruschek commented 1 month ago

Ok, thank you, mark this as verified fix.

eviljeff commented 1 month ago

@alexandruschek fixed now

alexandruschek commented 1 month ago

Hello,

I checked the email that is sent again, and now looks the same as the email template.

image

Thank you!