app/tasks
Carlos Quintana a70baad478
Implement Alias Trash (#2417)
* wip: start implementing alias trash

* Added alias trash dashboard page

* test: delete_alias changes

* Format html

* fix: mailbox deletion

* feat: add delete_alias_action setting in dashboard settings

* chore: disable alias when trashing it

* Add restore tests

* Move tras/restore to alias_actions

* rename alias_actions to alias_delete

* Remove alias_actions

* Send events and alias audit log on alias restore

* feat: adapt queries to trashed alias

* chore: add metrics on alias trash actions

* fix: missing empty arg

* Add rate limit for restore and restore all

* fix: mailbox alias count

* feat: properly handle alias deletion for custom domain deletion

* chore: add error logs

* chore: update alias trash copy + change Trash location

* feat: make can_create_new_alias not take trashed aliases into account

* chore: update mailbox deletion dialog copy

---------

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2025-03-18 10:10:56 +01:00
..
__init__.py Cleanup old data (#2066) 2024-03-18 16:00:21 +01:00
clean_alias_audit_log.py feat: alias audit log (#2261) 2024-10-14 12:45:00 +02:00
clean_user_audit_log.py feat: user audit log (#2266) 2024-10-16 16:57:59 +02:00
cleanup_alias.py Implement Alias Trash (#2417) 2025-03-18 10:10:56 +01:00
cleanup_old_imports.py Cleanup old data (#2066) 2024-03-18 16:00:21 +01:00
cleanup_old_jobs.py Cleanup old data (#2066) 2024-03-18 16:00:21 +01:00
cleanup_old_notifications.py Cleanup old data (#2066) 2024-03-18 16:00:21 +01:00
delete_custom_domain_job.py Implement Alias Trash (#2417) 2025-03-18 10:10:56 +01:00