extensions-website/files
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 Fix a failing migration 2024-04-19 11:11:45 +02:00
templates/files/components Scan files with clamdscan (#77) 2024-04-12 19:11:28 +02:00
tests 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 Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
forms.py Extra validation of the uploaded ZIP (#73) 2024-04-11 12:32:47 +02:00
models.py Derive slug from extension_id instead of name 2024-04-19 11:41:40 +02:00
signals.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
tasks.py Files: make sure FileValidation.date_modified is updated on scan 2024-04-15 13:06:08 +02:00
theme.xsd Upload files, create extensions of different types + tests 2022-08-31 17:31:22 +02:00
utils.py Files: use clamd socket directly when scanning 2024-04-15 12:26:46 +02:00
validators.py Files: reuse the same MIME-type validation logic for ZIPs 2024-04-05 19:15:53 +02:00