extensions-website/abuse
Anna Sirota 8124bc62ae Log deleted extension data (#84)
When an extension or a version is deleted, create a `LogEntry` for each record linked to that extension or version.
Each `LogEntry` has action flag `DELETION` and contains a blob with the last known field values of the records.
These `LogEntry` can be viewed by admins in `/admin/admin/logentry/`, same as any other `LogEntry` created by Django admin, so this should be sufficient for archival purposes.

Part of #82

Reviewed-on: #84
2024-04-19 16:25:49 +02:00
..
migrations Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
templates/abuse Abuse Report Detail: Style and layout adjustments 2024-03-05 18:33:04 +01:00
tests Fix 403 error on clicking "report abuse" twice (#46) 2024-04-04 18:44:45 +02:00
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
admin.py Abuse reports: clean up admin, allow viewing on site (to staff or reporter) 2022-10-31 15:22:16 +01:00
apps.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
forms.py Fix reporting add-ons when Blender version is specified 2024-02-29 19:43:27 +01:00
models.py Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
signals.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
urls.py Abuse Reports List: Add initial template 2024-03-05 18:31:22 +01:00
views.py Abuse: rename ABUSE_TYPE_REVIEW to ABUSE_TYPE_RATING to avoid confusion 2024-04-18 15:55:52 +02:00