okay fix_dups page now has functioning pagination, highlights regex matching "good" files as green, and just a file as yellow if we cant find the right one, so easily shows where to really pat attention. Has DBox based help page, and overall just a better UI/UX

This commit is contained in:
2021-03-06 17:18:11 +11:00
parent b9dea327d0
commit 76aee3a10a
4 changed files with 77 additions and 52 deletions

12
TODO
View File

@@ -1,12 +1,11 @@
## GENERAL
* fix_dups, etc. need to know path so we don't guess import_path or storage_path to remove the prefix from the keep/del alerts
* pagination in dups, needs to be a drop-down and take affect on page on change
* SymlinkName - use it from shared everywhere, never do path_prefix by hand use this function
* AddJobForLog can absorb DEBUGs, etc. in fact fix up logging in general
* comment your code
* do we need to make some funcs/code into OO?
* scan_sp needs to be in scannow
* need a way for page to show we are in import_path or storage_path
* storage_path viewing needs to be by folder / not a big grab bag of files (by default)
## DB
Need to think about...
@@ -21,10 +20,9 @@
ignore *thumb*
scan storage_dir
* need to find / remove duplicate files from inside storage_dir and itself, and in import_dir and in storage_dir
implications --
VIEWING: need to view import dir and view storage dir as separate menu items AND make it clear what you are looking at in header
MOVING/COPYING: need to be smart, its a file move/copy depending on file systems (if import_dir/storage_dir on same fs, we can use mv - much faster)
* need to find / remove duplicate files from inside storage_dir and import_dir
-- in fact not sure what will happen if I try this right now, I think it might sort of work, only the dup display per file won't be able to
use jex.path for all sets of files, only those dups in the original source of the scan
-- started on some basic optimisations (commit logs every 100 logs, not each log)
- with debugs: import = 04:11, getfiledetails== 0:35:35
@@ -33,7 +31,7 @@
*** Need to use thread-safe sessions per Thread, half-assed version did not work
need a manual button to restart it in the GUI,
need a manual button to restart a job in the GUI,
(based on file-level optims, just run the job as new and it will optim over already done parts and continue)
Future: