clean up / add to TODOs

This commit is contained in:
2021-03-27 15:12:23 +11:00
parent a1c2b3f72b
commit 151775fa26

15
TODO
View File

@@ -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