From f3e55456ba3c477cdf29950a8a3777f5779838b0 Mon Sep 17 00:00:00 2001 From: Tudor Amariei Date: Tue, 13 Jan 2026 17:14:49 +0200 Subject: [PATCH 1/5] feature: create a feature to allow easy anonymization of donors - create a feature to allow the anonymization of all the "old" donations (>1/2 years old) - allow anonymization of a donation in different contexts in the admin # Conflicts: # backend/locale/en/LC_MESSAGES/django.po # backend/locale/hy/LC_MESSAGES/django.po # backend/locale/ro/LC_MESSAGES/django.po --- .idea/runConfigurations/compilemessages.xml | 3 +- .../generate_donations_PDF_only.xml | 28 ++ ...tions.xml => generate_donations_noPDF.xml} | 7 +- .idea/runConfigurations/makemessages.xml | 3 +- backend/donations/admin/donors.py | 245 +++++++++++++++--- .../management/commands/generate_donations.py | 69 ++++- backend/donations/models/donors.py | 34 ++- .../redirectioneaza/settings/app_configs.py | 7 +- .../redirectioneaza/settings/environment.py | 8 +- backend/utils/common/crypto_helper.py | 9 + backend/utils/constants/time.py | 3 + 11 files changed, 363 insertions(+), 53 deletions(-) create mode 100644 .idea/runConfigurations/generate_donations_PDF_only.xml rename .idea/runConfigurations/{generate_donations.xml => generate_donations_noPDF.xml} (76%) create mode 100644 backend/utils/common/crypto_helper.py diff --git a/.idea/runConfigurations/compilemessages.xml b/.idea/runConfigurations/compilemessages.xml index 11b216b1e..eb0a8c96e 100644 --- a/.idea/runConfigurations/compilemessages.xml +++ b/.idea/runConfigurations/compilemessages.xml @@ -9,11 +9,12 @@