Commit Graph

50 Commits

Author SHA1 Message Date
a8af00fe66 big change to get metadata working fully in DB and on Filesystem, and recover from most common scenarios, improved GUI as well for allowing an immediate search after adding refimg as well 2022-08-01 23:44:38 +10:00
96810fa1e3 can now do an AI search if we add refimg to new/existing person, cleaned up that dialog to look better with buttons for those options rather than a link. Noticed BUG-100, 2 x mich in one image 2022-07-28 18:16:10 +10:00
fd79ee2cf4 fix BUG-98 (user cancel of a job not dealing with dependant jobs) & constrain the width of the chosen face in DBox for overrides/create refimg 2022-07-19 20:45:54 +10:00
382647a91b now can create a new person and refimg from viewer - all works 2022-07-17 23:03:46 +10:00
f62eaef1cd fixed BUG-96 (no longer wrapped name of file for image viewer) 2022-07-17 16:45:11 +10:00
b9359b4680 improve usability on face dbox for search/overrides, etc. 2022-07-10 19:25:35 +10:00
6b7694f382 first pass of consolidating search in DBox for existing person, and then using the results to add override force match to that person, and WORKING version of adding refimg to existing person too. Still does not kick off new AI scan at this point, and still need to re-format dbox to be easier to use and code for resetting DB contents, rescaning files from scratch and matching overrides back 2022-07-10 15:21:31 +10:00
ba6fbbca70 added <Enter> convenience binding for search person in add manual override 2022-06-13 18:53:07 +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
8c78d9e633 progress towards allowing overrides. dbox can now allow finding a person and clicking them to post to back-end.. More work to make this real, for now it goes through the routes but does not update the DB, see bottom of face.py for next steps 2022-06-10 16:53:13 +10:00
3d30d21763 adding wrong person to menu, no code to process, just the item 2022-05-28 09:25:58 +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
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
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
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
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
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
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
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
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
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
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
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
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
a84946b561 fixed BUG-76 - no existing for a non-date with move 2022-01-09 18:13:26 +11:00
dc21d65dd7 Put new functionality in to allow choosing existing folder in move code - it goes back and forwards 7 days from the date of this file and finds matching files and uses those dirs, or just dirname matches for those dates and offers them up. Also improved Move code to reject dodgy paths 2022-01-09 12:20:29 +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
90c8ba4d9d use current var in view_transform, rather than #current - we deleted that ages ago, this fixed BUG-67 2021-09-29 17:23:31 +10:00
bbc5f4f856 add unknown_ftype - used for Unknown file types in viewer, or if no thumbnail for some reason 2021-09-29 16:55:20 +10:00
23c8d16a5b fix BUG-64: can now move files into import or storage path 2021-09-26 21:14:08 +10:00
a1229ab843 dont need to worry about taking 1 for folder selects, I dont know why I did need it, but doesnt seem too... nervous this will cause me grief somewhere else? 2021-09-24 20:26:19 +10:00
db6319c5ab when viewing image, with fname, show full path with icon of path 2021-09-22 19:59:18 +10:00
69f49b0662 fixed bug where video_div was not shown unless you start viewing on a video 2021-09-22 18:14: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
c503bd71ac fix bug with 2 captions when video caption has to be outside <video> tag 2021-09-12 18:28:31 +10:00
e25cb9fd02 more comments for js files 2021-09-07 21:50:01 +10:00
1b11fba0a8 comments for files*js 2021-09-06 22:03:11 +10:00
5d7eed68eb fix BUG-49 (images in DBox no horizontally spaced) and fixed spacing between images and buttons 2021-09-05 22:44:25 +10:00
479c6179c2 fix icon url needing to be passed as a jinja2 var 2021-09-05 22:23:08 +10:00
acd965f5c3 put back MoveDBox() in, accidentally deleted it 2021-09-05 21:33:46 +10:00
78170cace7 fixed bug in viewer where video needs to be resized after prev/next move, also updated TODO 2021-08-30 17:42:58 +10:00
10fcda0d7c convert OPT from a dict to a class 2021-08-29 20:13:26 +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