extensions-website/common
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 Fixtures: Update about page with latest images 2024-02-27 11:00:14 +01:00
management/commands Fake data: set logging level from verbosity 2024-04-18 15:13:46 +02:00
middleware Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
static/common Navbar: Use icon instead of user avatar 2024-03-11 16:12:00 +01:00
templates Navbar: Use icon instead of user avatar 2024-03-11 16:12:00 +01:00
templatetags Move absolutify to utils, don't use tempatetags from models 2024-04-19 15:07:58 +02:00
tests Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
views Fix TemplateDoesNotExist that happens during handling of CSRF 2024-04-04 08:49:24 +02:00
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
admin.py Admin: allow deletion of LogEntry (otherwise it blocks deletion of other objects) 2024-04-18 15:13:34 +02:00
compare.py OpenAPI Support 2024-02-14 15:28:29 +01:00
context_processors.py Add Blender ID login and webhook 2022-09-26 18:09:41 +02:00
fields.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
help_texts.py Upload files, create extensions of different types + tests 2022-08-31 17:31:22 +02:00
log_entries.py Fix "Cannot record change" error that happens when a new user logs in 2024-04-04 08:41:45 +02:00
markdown_renderers.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
markdown.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
model_mixins.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00