## GENERAL * [DONE] Bin images need their own context-menu [DONE] - but undelete, needs to know orig dir/path... to be able to undel [DONE] - need to create Undel func (just reverse / similar to Move*) [DONE] - also need to hook up front-end GUI to invoke the func that has been tested [DONE] - need Del from contextMenu, Undel from contextMenu (and change the del button when I'm in the Bin path) [DONE] - it needs to enqueue a CheckDups job (as it will likely cause dups to reappear) [DONE] --> need to remove previous F/E dup messages when I either rerun CheckDups, or maybe when I del/undel? basically, have to remove old messages and throw a CheckDups job out there on Del/Undel [TODO] - have to not process content in Bin on startup of pa_job_manager as there are no DelFile entries to use [TODO] --> BUT, no msg in front-end ... (for del or undel) -- I think ajax and no reloads (but next reload doesnt see status either, that feels wrong) [TODO] - still no GUI or routes for View Details... in contextMenu [TODO] - still no routes for Move Files... * AddJobForLog can absorb DEBUGs, etc. in fact fix up logging in general * comment your code * more OO goodness :) ## 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