extensions-website/reviewers
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
templates/reviewers Review Detail: mention Approval Queue in link 2024-05-30 17:35:20 +02:00
tests Refactor approval queue to display last meaningful status (#94) 2024-04-30 10:48:36 +02:00
__init__.py Initial models, tests and other boilerplate 2022-08-25 17:37:48 +02:00
admin.py Review: Admin: Show user 2024-05-08 14:41:27 +02:00
apps.py Notification emails (#80) 2024-04-18 16:11:18 +02:00
forms.py Cleanup: Simplify placeholder text logic for the review form 2024-03-11 15:42:03 +01:00
models.py Fix deletion task, protect more account-linked data 2024-06-05 13:20:51 +02:00
signals.py Upload new version: generate approval activity item (#95) 2024-04-30 10:49:03 +02:00
urls.py Moderation reviews are now called approvals 2024-02-21 23:38:18 +01:00
views.py Approval Queue: fix N+1 queries for user groups 2024-05-30 16:31:57 +02:00