Commit Graph

33 Commits

Author SHA1 Message Date
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