329 Commits

Author SHA1 Message Date
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
bd7cae6037 fixed BUG-78 (deleted recursively too far - took out parent_dir), also deleting from the viewer page works with Delete key too. Removed debugs in viewer for fullscreen 2022-01-14 13:49:39 +11:00
fd16e80b78 tweaked bin icon for small/large displaying, added todo around viewing on phone and maybe datatables 2022-01-14 11:20:41 +11:00
71951ca04c minor re-formating of joblog to fit larger screens & phone screens better 2022-01-14 11:03:03 +11:00
a2fb877f12 implemented job archiving (via a Setting, and just viewing recent or all) 2022-01-13 23:11:21 +11:00
3e67c9c27f try sm-txt on joblog 2022-01-13 21:22:49 +11:00
8a6a7a5115 joblog rewrite to show only a few "newest" lines and "oldest" logs for a job, with the more button in the middle, also has a little icon to show the re-ordering that goes with each view - should really make this clickable/togglable. 2022-01-13 21:12:09 +11:00
a67c20d72b new BUG (very minor), reordered TODOs and now have basic stale job handling - they are detected, and can be cancelled or restarted from GUI 2022-01-11 13:18:21 +11:00
bf04c862d6 first pass of allowing to scan for all files in import and storage paths <- works, and showing all unknown faces to handle them somehow - very rudimentary 2022-01-10 01:20:20 +11:00
27dadacd5c add move on context menu for folders 2022-01-09 18:51:03 +11:00
911d43bddc wrong password now has close button looking consistent AND actually closes alert 2021-10-08 22:31:31 +11:00