Commit Graph

903 Commits

Author SHA1 Message Date
694aef038b if we use run_ai_on_path, then we remove all existing matches on the path, then go again -- allows us to change threshold and reset 2022-02-04 22:03:04 +11:00
8ef3a97eb7 use run_ai_on_path as job type, rather than find ent and pass it to run_ai_on 2022-02-04 21:57:13 +11:00
e16f7dbc30 fixed bug when get of a view is for a non-search, now that I have added search to pa_user_state ORM query 2022-02-03 21:16:51 +11:00
e1a6348967 face_size_limit added so we ignore faces that are too small 2022-02-02 21:12:14 +11:00
8b3844d882 formatting 2022-02-02 21:11:29 +11:00
298f28b943 update 2022-02-02 18:51:16 +11:00
a830e8dc92 viewing same eid but different search, etc. caused BUG-84 -- Fixed now as we look for a pa_user_state of View, eid=<eid>, orig_search_term=<...> 2022-02-02 18:51:02 +11:00
3d829a6118 viewing same eid but different search, etc. caused BUG-84 -- Fixed now as we look for a pa_user_state of View, eid=<eid>, orig_search_term=<...> 2022-02-02 18:50:48 +11:00
b38e4fa0bb if we do confuse the viewing / states AND we are in prod, then delete states and tell user to get a new tab / try again -- lame but it will work as a catch all 2022-02-02 18:49:55 +11:00
e26a731883 spc 2022-02-02 18:48:48 +11:00
35dbbe86f9 order persons view by tag name 2022-02-02 18:48:24 +11:00
a09188d811 fixed BUG-84, only exit fullscreen if we are in fullscreen and we set fullscreen var to False, pretty much only when in FS and we hit the "F" key 2022-02-02 18:48:06 +11:00
79a817fa90 removed useless [0] for face_locn in refimg code 2022-01-31 21:08:33 +11:00
47b9e13a53 use tmp_locn, to remove any chance of accidentally overwriting face.locn - see /viewlist issues earlier 2022-01-31 21:08:19 +11:00
da8ac77a44 fixed search issue (of empty string) 2022-01-30 23:48:34 +11:00
39781d8fe3 remove debug 2022-01-30 23:46:15 +11:00
e022b49a92 remove old route for /search and fix issue where searching for empty string was failing 2022-01-30 23:42:38 +11:00
2e8de89a6a issue with empty search term 2022-01-30 23:16:30 +11:00
cc656ffd6d clarified (non) issue 2022-01-30 23:10:47 +11:00
305995df37 updated 2022-01-30 23:02:52 +11:00
c6efd29a48 removed fullscreen and added default_search_noo 2022-01-30 23:02:42 +11:00
075fa2b6f4 remove fullscreen settings from DB, we cant use it anyway - browsers cannot load a page in fs mode 2022-01-30 23:01:59 +11:00
272ce5e010 remove SetViewingOptions, as its not needed any more, search gets values from pa_user table 2022-01-30 23:01:02 +11:00
b4c0a25760 allow F in viewer to toggle fullscreen, rather than have to use Esc to exit fullscreen 2022-01-30 22:55:40 +11:00
36c11a18ca fix issue where search was not saving prefs 2022-01-29 20:07:51 +11:00
776f429ce4 most noo/search issues and next/prev bugs fixed 2022-01-29 18:55:20 +11:00
24e49a613c now use eval() for GetEntries*Fold*, and much better fix for bug where next/prev was breaking with inputs with spaces in names -- dont need those inputs anyway, JUST pass next or prev and the rest comes from pa_user_state now 2022-01-29 18:54:48 +11:00
cce78b019c fix up issue with various fields for a View using last View values, rather than orig_ptype values -- which can now change as we change noo/folders 2022-01-29 18:54:31 +11:00
7a17d91779 now use eval() for GetEntries*Fold*, and much better fix for bug where next/prev was breaking with inputs with spaces in names -- dont need those inputs anyway, JUST pass next or prev and the rest comes from pa_user_state now 2022-01-29 18:53:30 +11:00
8e82271e2a start of noo for Search, and rewrite of GetEnt* to use eval(), search and flat done, but also fixed OLD bug I just noticed where prev/next buttons would not work when sorting by "A to Z", etc. as the value of the form.input has a space in it and serializeArray() was not dealing with it properly 2022-01-29 18:06:21 +11:00
8722448f2d reorder 2022-01-29 08:20:15 +11:00
5d0cdec3ba cleanup 2022-01-28 21:01:09 +11:00
fee993711f hacked /files_ip for now, this whole page is a bit of a mess, not sure we keep it - and its a kludge to assume its in the file_ip path -- only will work if img is in import path and we are viewing in flat mode, but at least this means we dont break the app, just get a confused viewer message. Also use tmp_locn rather than face.locn for viewlist to fix BUG-82 2022-01-28 20:48:56 +11:00
9a480dccd8 update decision to ditch multiple dir per path 2022-01-28 19:59:37 +11:00
ec4747ba2e added last_used to pa_user_state 2022-01-28 19:58:52 +11:00
3903f7704c remove debugs, and added last_used to pa_user_state 2022-01-28 19:58:40 +11:00
f509786977 remove debugs, only calc num_entries in Flat view once 2022-01-28 19:57:48 +11:00
47039ec35c partial fix for various BUGs with going past the end of a viewing list... we now keep num_entries (of files) in pa_user_state, and use it to stop going before first or past last entry, even from viewlist, so this fixes many isseus... Final bug(s) are relating to multiple Dirs in a Path and its feeling too complex for no real gain, going to remove the feature, but for now, this version works / can be made to PROD 2022-01-28 15:52:35 +11:00
297b12b2b1 fix bug where viewer does not disable ra / la if viewlist causes us to land on first/last image 2022-01-28 14:45:07 +11:00
52f6063bc1 remove debug 2022-01-28 13:26:22 +11:00
3acc967101 fix up not sending import/storage versions of noo/folders 2022-01-28 13:25:55 +11:00
0751cc6010 clarified bug-82, fixed issue with AI scan optimising still scanning when it should not, finalised back button work for view/viewlist 2022-01-27 21:44:29 +11:00
07b339f5ab current, first_eid, last_eid now work for Flat view of Paths, folder view next 2022-01-27 17:06:31 +11:00
55724ccd59 removed use of last_entry_in_db (boolean) and replaced with use of current/first_eid/last_eid in PA_USER_STATE so it persists across reloads/back buttons, and allows full use of ajax data retrieval in the background for the viewer (so fullscreen stays across page loads), and the next/prev buttons are set on the image load, not after they have been pressed "one too many times" 2022-01-27 14:27:52 +11:00
08ca9b4e74 partial implementation of first_eid, last_eid -- I think the vals work -- they do for searches anyway, but not stored in pa_user_state yet 2022-01-25 00:48:14 +11:00
65ebfe2d31 DONE - todo to have force rescan delete face from DB 2022-01-23 14:54:49 +11:00
8ac9af7067 fixes for pa_user_state and distinct files fix bug-81 and old BUG-56 2022-01-23 14:44:57 +11:00
0f44af4ec3 clean up of unneeded viewing hidden vars, now we retrieve data from pa_user_state 2022-01-23 14:41:54 +11:00
868ae25e6d quick fix for BUG-81 / need to test with PROD dataset 2022-01-23 14:41:32 +11:00
fe35ed0d02 final todo for today 2022-01-23 01:08:17 +11:00