defaults in PAuser include noo/folders for import/storage separated, defaults are stored into PAUser in DB, changable in GUI, used as the defaults for new PA_User_States. Also disabled search noo, search folders as they are hard-coded in the ORM retreive anyway

This commit is contained in:
2022-01-22 23:26:14 +11:00
parent 0f4632e240
commit 2e4b1ed9d2
8 changed files with 75 additions and 45 deletions

9
TODO
View File

@@ -1,10 +1,7 @@
## GENERAL
* for below.. make Options( request )
- remove all "Options()" that are not set by a user-choice in the F/E and just make sure new "Options" sets all defaults as needed
- in fact if we "re-use" a pa_user_state, we need to update it with anything that changed -- not sure but that should just happen in State()
- use prefs in States() for defaults, rather than hardcoding "50", etc.
- search allows folder/flat change in GUI, should disable it
- search NOO -- no code to handle noo!!!
- some done, just finish it
* going forward into search page (and probably all POSTs) does not work -- use POST -> redirect to GET
/viewlist ? -> think it works, BUT, need a rewrite anyway to use json data rather than new urls...
@@ -14,6 +11,10 @@
files.py:@app.route("/fix_dups", methods=["POST"])
???
* delete / rescan in dev, needs to delete faces, frl, ffl, ...
* search allow noo?
* optim to not run_ai_on_* for scan, needs to make sure last run_ai_on actually ran/worked - might have failed (or in my case was marked stale and I cancelled it)
-- also the case for get file details though, need to make sure last one was completed