extensions-website/ratings
Anna Sirota 729ce453ac Fix deletion task, protect more account-linked data
Account deletion task had a bug in it: its was skipping all accounts
that were deactivated, but accounts are deactivated as soon as
date_deletion_requested is received via webhook, so no
deletion/anonymisation would have happened.

In addition to fixing that (now the task will exclude all account records
that look like they were already anonymized), this also changes several on-delete properties:

  * abuse reports about a deleted account are deleted along with it;
  * abuse reports made by a deleted account remain;
  * ratings made by a deleted account remain;
  * approval activity protects against deletion: account cannot be deleted if it authored any approval activity;

This change also makes sure that API tokens and OAuth info/tokens
are deleted when account deleted or anonymized.
2024-06-05 13:20:51 +02:00
..
migrations Fix deletion task, protect more account-linked data 2024-06-05 13:20:51 +02:00
static/ratings/styles Implement Web Assets' theme system and selection, and add 'light' theme (#118) 2024-05-08 14:20:05 +02:00
templates/ratings Fix: Templates add-ons and themes details layout issues on small screens 2024-05-24 13:07:22 +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 Adming: show extension in ratings admin 2024-04-19 15:04:08 +02:00
apps.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
models.py Fix deletion task, protect more account-linked data 2024-06-05 13:20:51 +02:00
signals.py Log deleted extension data (#84) 2024-04-19 16:25:49 +02:00
urls.py Ratings: rate extension page and form 2022-10-11 12:38:58 +02:00
views.py Extension manage views: clean up common mixins 2022-10-12 16:23:42 +02:00