Commit Graph

1116 Commits

Author SHA1 Message Date
cc478cb722 new BUG-87 - faces with empty locn and no formal connection between file and face? Quick hack added to files as well to at least prevent a 500 server fault, and show it to us if it happens again 2022-04-30 19:38:08 +10:00
4a5bde559d still have a BUG with locn data format being munged in the ORM/DB 2022-03-19 11:39:54 +11:00
60c2357921 spacing 2022-03-12 22:24:04 +11:00
faeec228ca get output from gunicorn into some logs for now 2022-03-12 22:23:41 +11:00
226f6fdb3e remove old/wrong faces binary from FILE in DB 2022-02-27 00:40:06 +11:00
3f39a5d8c6 new BUG for clearing out pa_user_state in DEV rebuild data 2022-02-27 00:39:39 +11:00
e9ab49c60a with viewer, unmatched face now has img data / thumbnail, so we know what it really looks like when we choose to override - still major WIP, tables.sql also has some override types, but not convinced I have design yet 2022-02-06 23:21:23 +11:00
8625b1d217 order joblogsearch by log_date 2022-02-06 16:16:09 +11:00
3fe5f1438e quick switch off of context menu so we can push log viewing to prod 2022-02-06 16:13:12 +11:00
66eab072ce polished log button and content of dbox 2022-02-06 16:11:41 +11:00
645d419748 moved JoblogSearch to internal/js/ as it does not need any jinja processing, added button and hotkey to show logs, and brief logs into dbox - it works, but needs prettying up 2022-02-06 11:36:25 +11:00
83eff02910 added plumbing for viewer to have a joblog search for the current file 2022-02-05 23:23:10 +11:00
10cbee450f framework for a left-click menu per face that calls up a DBox with basics -- needs much more love 2022-02-04 22:33:11 +11:00
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