extensions-website/extensions
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
..
fixtures Tags: Make tags dependent on type, and remove taggit 2024-02-29 15:52:47 +01:00
migrations Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
static/extensions/scripts Previews: allow JPEG, PNG, WebP and MP4 2024-04-04 16:04:45 +02:00
templates/extensions Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
templatetags Cleanup: black and flake8 2024-01-29 15:06:36 +01:00
tests Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
views Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
admin.py Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
apps.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
fields.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
forms.py Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
models.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
signals.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
urls.py update API response structure #71 (#76) 2024-04-11 14:54:40 +02:00
utils.py JSON shouldn't have null values and empty lists for optional fields 2024-02-16 15:48:08 +01:00