Commit Graph

56 Commits

Author SHA1 Message Date
fa63e08b59 store away person.id per matched face to support match_add_refimg in context menu 2025-08-19 20:22:49 +10:00
70908d60f5 use fixed width and height to force buttons to be consistent with new rot pngs 2025-01-08 13:37:01 +11:00
989fc7c6db svgs cant have fill and do onHover properly, and arcs need a fill of none, so switched over to pngs and made the arrow match the actual direction of rotation 2025-01-04 22:01:51 +11:00
030eb785f3 Fix BUG-126 (basically disable next/prev buttons the moment we go back to the server for the previous/next page of images, only re-enable if they make sense after we have loaded the new images 2024-06-29 13:53:38 +10:00
60258a2859 added download icon to svg, and button on viewer to allow to "view original - request from Mandy :) 2023-05-06 11:56:37 +10:00
4b1bbcb2bf broad (small) changes to make style of all routes and jobs to be consistent, e.g. use underscords between words 2023-01-15 23:17:59 +11:00
dbcdfd44dd remove use of tmp_locn, use explicit coords, sizes - partial BUG-108 fix 2022-12-23 13:28:24 +11:00
6189b500c1 temp fix for another face_locn bug 2022-12-23 10:51:55 +11:00
25919f5a5c fix BUG-104, dont process keybindings when DBox with text inputs is shown 2022-09-20 23:08:45 +10:00
f62eaef1cd fixed BUG-96 (no longer wrapped name of file for image viewer) 2022-07-17 16:45:11 +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
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
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
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
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
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
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
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
3dafae334b remove last remnants of rotate instead of transform, updated rot* svgs to have arrow point in direction of actual rotation, AND, fixed bug where when we rotate an image that has already had an exif_transform on it, then we have to do that and then the requested rotation - fixes why sometimes we rotate say 180 when we intended a 90 rotate. Also, when we transform, recalc md5 as file has changed 2021-10-01 22:16:28 +10:00
db6319c5ab when viewing image, with fname, show full path with icon of path 2021-09-22 19:59:18 +10:00
e07d6c462b remember orig_url properly in OPT so that viewlist knows if we were originall import or storage for GetEntries to continue the list 2021-09-22 18:43:01 +10:00
67b1c0dd49 fix BUG-53 video/image viewer switching had spacing and name wrong 2021-09-16 21:06:05 +10:00
301b3d220b fixed BUG-54/55, viewer now works in PROD, current_file being set in run_ai_on job, added "new" bug-53 re video fname not being set properly when next/prev in viewer 2021-09-14 17:56:06 +10:00
f71e3d6144 fix bug with 2 captions when video caption has to be outside <video> tag 2021-09-12 18:28:37 +10:00
35a096c79d added name for videos 2021-09-06 19:15:58 +10:00
dc4ff64600 viewer hotkeys are in tooltip now 2021-08-30 17:47:33 +10:00
10fcda0d7c convert OPT from a dict to a class 2021-08-29 20:13:26 +10:00
f9bd558727 moved most of the js out to internal/js/view_support.js 2021-08-28 21:45:28 +10:00
c38929d884 viewer now deals with videos and images when next/prev, AND, fullscreen is maintained on videos and handles when escape gets you out as well... 2021-08-28 13:26:07 +10:00
1d3caf17de complete rewrite of viewer, videos need to be fixed. Otherwise, viewer now loads entry data for all "how_many" images on the screen, and allows prev/next movement between images without a DB load for the current page of images, then as required, it will retrieve the prev/next "how_many" from the database via /viewlist route, and go back into view/<id> of the appropriate new image of the new list. Also prevents going below 0 and beyond end of DB for the first time. 2021-08-27 23:38:31 +10:00
652a89161d include the js form the internal dir and viewer now has tooltips on buttons, and all buttons work, call the right javascript, send jobs to the pa_job_manager, and make image go gray with throbber, and on job completion, hide throbber, redraw the image in color and with the newly transformed image 2021-08-15 21:26:43 +10:00
59c72f9aee moving to /internal for a js dir, icons.svg Ive built, etc. and added route in files.py, updates all html to use new path 2021-08-15 00:26:27 +10:00
d49af24fee spacing 2021-08-08 16:18:28 +10:00
ae0d27b284 first pass of usable fullscreen, will need arrow keys to remember state, or realistically pre-load? but for now you can fullscreen the image you are on 2021-07-31 22:49:40 +10:00
902830ad95 viewer now has (non-functional) buttons for rotation, flip, fullscreen, and Ive put icons.svg into the repo as its hand-crafted upstream content so I cant really just download it anymore 2021-07-31 22:40:12 +10:00
c0a8ab8f79 allowed view prev/next to remember settings (fname, faces, distance) and use new CreateSelect() for AI menu, also make fname toggle actually do that 2021-07-29 21:44:54 +10:00
e0802bc573 move to form toggles, made them bg-info colours give or take, made the fname, face & distance toggles work. The model drop-down is not set correctly, or taking action, but mara needs more rel mem to run cnn model anyway 2021-07-28 21:42:40 +10:00
cd51ea21bf quick add of default_{model|threshold} to settings, face_refimg_link now stores model_used and face_distance AND working implementation of own face_distance algorithm rather than compareAI(), removed older AI code it would no longer work with DB structures anyway, tweaked viewer to remove coords of unmatched faces for now 2021-07-26 18:39:36 +10:00
b40ecbf208 put svgs in icons.svg and reference appropriately, still not happy with pa_logo, but otherwise all working 2021-07-25 13:19:01 +10:00
915063a7a7 semi fixed move dbox, the input group is still not right, but it will suffice, more use of svg and ditching font awesome 2021-07-22 00:50:45 +10:00