Commit Graph

289 Commits

Author SHA1 Message Date
d833f724f1 formatting 2022-08-03 17:54:16 +10:00
8646b3b8c2 quick fix/hack for unmatched faces 2022-07-19 21:23:32 +10:00
f62eaef1cd fixed BUG-96 (no longer wrapped name of file for image viewer) 2022-07-17 16:45:11 +10:00
3193b86f9f general clean up of lazy dt/dd tag use, also added estimate remainging in the dd for run time, rather than elsewhere 2022-07-17 15:57:22 +10:00
4f01125bcc improved login page to be responsive, also made pretty fname remove paths now we have only 1 imp/sto/bin path -- reduces fname size which is a small help to BUG-96 2022-07-16 17:10:05 +10:00
6d1801dce9 remove debug 2022-07-15 17:15:15 +10:00
3710b573ea added auto-rotate to settings, not used in job mgr yet 2022-07-13 00:26:24 +10:00
8921e5dbcd Fixed BUG-89 -- face_locn -> tmp_locn 2022-07-10 20:28:58 +10:00
1507addf38 quick add of row/container-fluid for margins - prob. should remove table too one day 2022-07-10 15:19:59 +10:00
b9465d6f8b spacing 2022-06-19 23:04:04 +10:00
b935aa8ab8 can now add/remove overrides (manual or no matchx3) in any sequence of load/reload, or back-to-back and it all works 2022-06-13 18:30:13 +10:00
83819a0cb3 minor clean-ups, link-primary now has cursor set via role=button (go figure?) and face distance is not undefined on override, its deliberately set to N/A 2022-06-12 17:09:45 +10:00
a53d4896b0 now have functional add/remove manual override to existing person 2022-06-11 22:41:31 +10:00
b0779c2704 reorder scans/db rebuild (affects dev only), also removed unmatched faces from prod until it works - newer view pref code broke it 2022-06-10 16:50:34 +10:00
18ec0f87f5 fixed BUG-86 - last places changed from locn to tmp_locn 2022-06-10 16:49:03 +10: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
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
8b3844d882 formatting 2022-02-02 21:11:29 +11:00
e26a731883 spc 2022-02-02 18:48:48 +11:00
79a817fa90 removed useless [0] for face_locn in refimg code 2022-01-31 21:08:33 +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
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
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
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
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
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
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
0f44af4ec3 clean up of unneeded viewing hidden vars, now we retrieve data from pa_user_state 2022-01-23 14:41:54 +11:00
2e4b1ed9d2 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 2022-01-22 23:26:14 +11:00
0f4632e240 changing options on files_*, search, also next/prev all now use POST->redirect model, so should allow back/forward browser buttons to work - commit so we can test in PROD 2022-01-22 21:36:58 +11:00
78acb9bd66 big clean up of Options -> States, total rework, now actually handles pa_user_state -> States as Import/Storage/Bin/Search or View. If Search has orig_search_term saved. If view, has orig_ptype (and orig_search_term if orig_ptype is Search) -- removed OPT.paths -> these are now worked out when we GetEntries based on pa_user_state. This now allows us to GET all URLs for image viewing allowing me to use the back-button without issues in PROD - well we will see once I commit :) 2022-01-20 17:25:01 +11:00
2dab42d712 renamed pa_pref to better named pa_user_state, changed code to adapt and made new_view and viewlist work with newer Options/pa_user_state - still more work but it should be functional again 2022-01-20 14:14:14 +11:00
4fa7b4b2d3 renamed pa_pref to better named pa_user_state, changed code to adapt and made new_view and viewlist work with newer Options/pa_user_state - still more work but it should be functional again 2022-01-20 14:13:50 +11:00
30a2fa6d99 quick fix for view being a POST, its now redirected to a GET, but I want to fix up the viewlist properly as well, should work for now though 2022-01-20 11:26:09 +11:00
505a5fa813 made search a POST to /search be a redirect to a GET /search/<search_term> so that it works with back/forward buttons in the browser 2022-01-19 22:40:47 +11:00
a2091f0194 remove onpopstate stuff, and updated TODO with better way to deal with this 2022-01-19 21:18:50 +11:00
de81db9412 unmatched faces now sorts size of face desc, and is slightly prettier -- still slow and only takes you to the file anyway, might optimise that later. still no code to auto deal with unmatched face, but will add some capabilities next. Also, remembered last dir when file_ip/sp/bin. Also throw error if try to find unknown person - happened since I allowed the back/forward. 2022-01-18 20:59:39 +11:00
d65c310f6e remove debug 2022-01-16 14:49:56 +11:00
28f15ee4e6 fixed sort order to work with datatables sorting 2022-01-16 14:49:38 +11:00
d8db522d00 first quick pass of user menu in navbar which shows simple read only prefs content, and a logout option that works 2022-01-16 12:51:42 +11:00
684cc27df9 first quick pass of user menu in navbar which shows simple read only prefs content, and a logout option that works 2022-01-16 11:37:49 +11:00
e03d11b9e1 fixed job refresh issues 2022-01-16 01:17:54 +11:00
12726ed186 added # matches on show persons page, and fixed issue with search OPT being hardcoded and not using those in the DB 2022-01-16 00:55:23 +11:00