Project

General

Profile

Actions

Feature proposal #5443

closed

Implement additional delete cleanup

Feature proposal #5443: Implement additional delete cleanup

Added by krileon over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05 August 2015
Due date:
% Done:

100%

Estimated time:

Description

When a folder is deleted the folder in file system still exists, but it's empty. It should clean it self up and delete the folder too. In addition to this when a user is deleted their folder that containers all their items also still exists. That should also clean up on delete.

Updated by krileon over 10 years ago Actions #1

  • Tracker changed from Bug to Feature proposal

Updated by krileon over 10 years ago Actions #2

See GJ and its directory handling functions for easier cleanup (e.g. deleteDirectory function mainly)

Updated by krileon about 10 years ago Actions #3

  • % Done changed from 0 to 50

Empty folder is fine, but it should delete the entire structure for a user that's deleted. The below should be the behavior.

Delete Album = Delete All Items in Album (done)
Delete Item = Delete Item and Thumbnail (done)
Delete User = Delete Entire Folder Structure
Edit Item Upload = Delete Old Item (done)

Updated by krileon about 10 years ago Actions #4

Deleting of Folders and Items exists already, but it needs to remove the left over folder structure for that user id.

Updated by krileon about 10 years ago Actions #5

  • Status changed from Assigned to Resolved
  • % Done changed from 50 to 100

A final cleanup is now done by deleting the gallery folder associated with the deleted users id.

Updated by krileon almost 10 years ago Actions #6

  • Target version changed from 759 to 2.0.0

Updated by krileon over 9 years ago Actions #7

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom