## GENERAL * on start up, should validate the import/storage/recycle bin paths exist and spit an error if they dont * storage_path viewing needs to be by folder / not a big grab bag of files (by default - DONE) -> EITHER view by folders (and hide the oldest 50 by Day section), or view flat and show it * need a way for search results to show we found something in import_path or storage_path: - now we can use the in_path, then have a series of icons, e.g. disk for storage, ? for import, and bin for recycling -- only show these on the thumbs *IF* we search (where it may not be obvious where it came from) => => => * handle thumbs: - need to ignore *thumb* -- but consider how we do this and don't screw up 'dir/job counts' and potentially other stuff like .pa_bin if its in storage/import folder? * AddJobForLog can absorb DEBUGs, etc. in fact fix up logging in general * comment your code * more OO goodness :) ## MAYBE? * can we consolidate the files_ip/files_sp/files_rbp route handling functions??? * Bin images need their own context-menu (undelete? instead of delete) ## DB Need to think about... file (image) -> has X faces, Y matches X == Y (optim: dont scan again) say X-Y == 1, then to optimise, we need to only check the missing face... at the moment, the DB structure is not that clever... (file_refimg_link --> file_refimg_link needs a face_num?) ### BACKEND -- started on some basic optimisations (commit logs every 100 logs, not each log) - with debugs: import = 04:11, getfiledetails== 0:35:35 - without debugs: import == 04:03, getfiledetails == 0:35:36 -- not a sig diff - with exifread & debug: import == 04:26 *** Need to use thread-safe sessions per Thread, half-assed version did not work 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: Admin -> reset face_flag AI -> rescan