extensions-website/notifications/management/commands
Anna Sirota cc900979d6 Basic email template for notifications (#96)
Based on the proposal #93

Email subjects change to the following:

```
Add-on approved: "Genuinely Disgusting"
New comment on Add-on "Genuinely Disgusting"
Add-on rated: "Genuinely Disgusting"
Add-on reported: "Genuinely Disgusting"
Add-on rating reported: "Genuinely Disgusting"
Add-on changes requested: "Genuinely Disgusting"
Add-on review requested: "Genuinely Disgusting"
```

Notification emails can also be viewed in the admin `Email previews` section (with fake objects constructed and passed into email template contexts).

Indicating why the email was sent is not in this change because we currently don't store why **precisely** (can only guess it's either because of `moderators` group or extension follow, the state of either can change after the notification was generated). This can be part of the `Notification` records however, after that the reason can be included in the email.

Reviewed-on: #96
Reviewed-by: Oleg-Komarov <oleg-komarov@noreply.localhost>
2024-05-02 14:04:22 +02:00
..
__init__.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
ensure_followers.py Fix ensure_followers: use Flag.REVIEWER 2024-04-18 16:45:43 +02:00
send_notification_emails.py Basic email template for notifications (#96) 2024-05-02 14:04:22 +02:00