stable

Clone or download

Read-only

Clean expired work files that were being uploaded

Expired files should be removed from the filesystem and the DB. You can test it by manually launching codendi_daily event. It will remove expired files from: db (tracker_fileinfo + plugin_tracker_file_upload) and filesystem (/var/lib/tuleap/tracker/**/). Part of story #12964: drag'n drop images in tracker text areas Change-Id: I69d102301ae63057e68a93a38f57915d5d5d7420

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Field/File/Upload/FileOngoingUploadDao.php +12 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/File/Upload/FileUploadCleaner.php +86 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +14 −3 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/File/Upload/FileUploadCleanerTest.php +90 −0 Go to diff View file