Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a new process in charge of deleting files from local storage.
Files can now be marked for deletion by being listed in
the scheduled_deletions collection. The garbage collector process
will periodically look up this collection and delete all
the files for which the
delete_by
datetime field is in the past.Files are now automatically marked for deletion when the user posts
them using the /storage/add_json and /storage/add_file endpoints.
The deletion is cancelled if a user creates a message using this
content before a given period of time (one hour by default).
Added a migration script that goes through all the files currently
stored on a CCN and schedules all the files not related to an Aleph
message for deletion.