From 151775fa26f49c863ac98b846b113e361ccc88c0 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 27 Mar 2021 15:12:23 +1100 Subject: [PATCH] clean up / add to TODOs --- TODO | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/TODO b/TODO index 7a0051f..7eaa544 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,9 @@ ## GENERAL - * storage_path viewing needs to be by folder / not a big grab bag of files (by default) * doing actual file deletes needed again - decided a recycle bin would be good - could also allow undelete per file / show content as another Files->View and more like storage (i.e. show folders) * AddJobForLog can absorb DEBUGs, etc. in fact fix up logging in general + * storage_path viewing needs to be by folder / not a big grab bag of files (by default) * comment your code * do we need to make some funcs/code into OO? * need a way for page to show we are in import_path or storage_path @@ -18,18 +18,7 @@ ### BACKEND scan storage/import dir: - ignore *thumb* - - deal with duplicates differently, and process in this order: - 1) DONE GUI: any duplicate from inside import dir -> storage dir => delete all import dir duplicate files - 2) DONE GUI: any duplicate from inside storage dir -> storage dir => - if regex match yyyy/yyyymmdd in a set of files and no other regex match -> keep regex files & delete others - if regex match yyyy/yyyymmdd in a set of files and other regex matches -> present to user to choose - if no regex match yyyy/yyyymmdd in a set of files -> present to user to choose - if regex match yyyy/yyyymmdd in a dir of files and no other regex match -> keep regex dir files & delete others - all other dir sets -> present to user to choose - 3) DONE GUI: any duplicate from inside import dir -> import dir == Do as we do now - NOTING that deleting files as per above, should be just presented as we are auto-deleting these X files for this condition -> click confirm + ignore *thumb* -- but consider how we do this and don't screw up 'dir/job counts' -- started on some basic optimisations (commit logs every 100 logs, not each log) - with debugs: import = 04:11, getfiledetails== 0:35:35