1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-07-08 05:25:00 +00:00

Add support for auto-deleting trashed items

Upstream will soon auto-delete trashed items after 30 days, but some people
use the trash as an archive folder, so to avoid unexpected data loss, this
implementation requires the user to explicitly enable auto-deletion.
This commit is contained in:
Jeremy Lin 2021-04-02 20:52:15 -07:00
parent 73ff8d79f7
commit d77333576b
7 changed files with 54 additions and 2 deletions

View file

@ -68,6 +68,10 @@
## Cron schedule of the job that checks for Sends past their deletion date.
## Defaults to hourly. Set blank to disable this job.
# SEND_PURGE_SCHEDULE="0 0 * * * *"
##
## Cron schedule of the job that checks for trashed items to delete permanently.
## Defaults to daily. Set blank to disable this job.
# TRASH_PURGE_SCHEDULE="0 0 0 * * *"
## Enable extended logging, which shows timestamps and targets in the logs
# EXTENDED_LOGGING=true