DONE - todo to have force rescan delete face from DB

This commit is contained in:
2022-01-23 14:54:49 +11:00
parent 8ac9af7067
commit 65ebfe2d31
2 changed files with 6 additions and 6 deletions

11
TODO
View File

@@ -1,19 +1,15 @@
## GENERAL
* fix BUG-81
* browser back/forward buttons dont work -- use POST -> redirect to GET
* viewlist can work out new view_eids server side, and pass them back as json data (fixes loss of fullscreen & back/fwd issues)
- can consider an optim-- new_view page makes calls to viewlist to ADD json data only, so only trigger a new "viewlist" if we dont have data for that part of the eids
job.py:@app.route("/jobs", methods=["GET", "POST"])
job.py:@app.route("/job/<id>", methods=["GET","POST"])
-- these need to store 'job prefs' somewhere... (extras?)
files.py:@app.route("/fix_dups", methods=["POST"])
???
* viewlist can work out new view_eids server side, and pass them back as json data (fixes loss of fullscreen & back/fwd issues)
- can consider an optim-- new_view page makes calls to viewlist to ADD json data only, so only trigger a new "viewlist" if we dont have data for that part of the eids
* per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach?
* delete / rescan in dev, needs to delete faces, frl, ffl, ...
* refimg locns can lose an array idx of 0 always.
* search allow noo?
@@ -34,6 +30,9 @@
* allow joblog search
* consider less hacky way to find start/end of GetEntries* -> so we KNOW which eid is first and last
and don't use jscript to work out when to set next/prev disabled
GUI overhaul?
* on a phone, the files.html page header is a mess "Oldest.." line is too large to fit on 1 line (make it a hamburger?)
- searched for text overlaps buttons above and below

View File

@@ -791,6 +791,7 @@ def JobForceScan(job):
JobProgressState( job, "In Progress" )
session.query(FaceFileLink).delete()
session.query(FaceRefimgLink).delete()
session.query(Face).delete()
session.query(DelFile).delete()
session.query(EntryDirLink).delete()
session.query(PathDirLink).delete()