extensions-website/extensions/tests
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
..
files Extra validation of the uploaded ZIP (#73) 2024-04-11 12:32:47 +02:00
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
test_approve.py Tags: Make tags dependent on type, and remove taggit 2024-02-29 15:52:47 +01:00
test_delete.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
test_manifest.py Derive slug from extension_id instead of name 2024-04-19 11:41:40 +02:00
test_models.py Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
test_submit.py Derive slug from extension_id instead of name 2024-04-19 11:41:40 +02:00
test_update.py Previews: allow JPEG, PNG, WebP and MP4 2024-04-04 16:04:45 +02:00
test_utils.py Manifest Validation: tags 2024-02-20 16:15:33 +01:00
test_views.py Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00