Project

General

Profile

Actions

Feature proposal #5443

closed

Implement additional delete cleanup

Added by krileon over 9 years ago. Updated over 8 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.

Actions #1

Updated by krileon over 9 years ago

  • Tracker changed from Bug to Feature proposal
Actions #2

Updated by krileon over 9 years ago

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

Actions #3

Updated by krileon about 9 years ago

  • % 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)

Actions #4

Updated by krileon about 9 years ago

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

Actions #5

Updated by krileon about 9 years ago

  • 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.

Actions #6

Updated by krileon almost 9 years ago

  • Target version changed from 759 to 2.0.0
Actions #7

Updated by krileon over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF