clean up / add to TODOs
This commit is contained in:
15
TODO
15
TODO
@@ -1,9 +1,9 @@
|
|||||||
## GENERAL
|
## GENERAL
|
||||||
* storage_path viewing needs to be by folder / not a big grab bag of files (by default)
|
|
||||||
* doing actual file deletes needed again
|
* doing actual file deletes needed again
|
||||||
- decided a recycle bin would be good
|
- 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)
|
- 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
|
* 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
|
* comment your code
|
||||||
* do we need to make some funcs/code into OO?
|
* 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
|
* need a way for page to show we are in import_path or storage_path
|
||||||
@@ -18,18 +18,7 @@
|
|||||||
|
|
||||||
### BACKEND
|
### BACKEND
|
||||||
scan storage/import dir:
|
scan storage/import dir:
|
||||||
ignore *thumb*
|
ignore *thumb* -- but consider how we do this and don't screw up 'dir/job counts'
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
-- started on some basic optimisations (commit logs every 100 logs, not each log)
|
-- started on some basic optimisations (commit logs every 100 logs, not each log)
|
||||||
- with debugs: import = 04:11, getfiledetails== 0:35:35
|
- with debugs: import = 04:11, getfiledetails== 0:35:35
|
||||||
|
|||||||
Reference in New Issue
Block a user