-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
The files_retention plugins currently uses the file modification date to verify if a file should be deleted instead of the upload date. This results into the situation that files are often deleted within a day because their modification date is often older than the retention period.
Using the upload date is currently impossible since this information is not being saved by Nextcloud.
See: nextcloud/files_retention#23
Likely most people would like their retention period to be based on the upload date since that makes better sense for the use case to automatically cleanup uploaded files.
Because of this I would like to request a change to store the file upload date/time in the database so it can be used by plugins.
Steps to reproduce
See: nextcloud/files_retention#23
Expected behaviour
File upload date/time stored into database
Actual behaviour
File upload date/time not stored into database
Server configuration
Nextcloud version: (see Nextcloud admin page)
11.0.2
List of activated apps:
files_retention