backend.globaleaks.jobs.cleaning

Module Contents

Classes

Cleaning
class backend.globaleaks.jobs.cleaning.Cleaning[source]

Bases: globaleaks.jobs.job.DailyJob

monitor_interval[source]
clean_expired_itips(self, session)[source]

This function, checks all the InternalTips and their expiration date. if expired InternalTips are found, it removes that along with all the related DB entries comment and tip related.

db_clean_expired_wbtips(self, session, tid)[source]

This function checks all the InternalTips and deletes the receipt if the delete threshold is exceeded

db_check_for_expiring_submissions(self, session, tid)[source]
clean(self, session)[source]
get_files_to_secure_delete(self, session)[source]
commit_files_deletion(self, session, filepaths)[source]
perform_secure_deletion_of_files(self)[source]
per_tenant_clean(self, session, tid)[source]
operation(self)[source]