|
|
50f9fbee20
|
update to use new viewing data structures, consolidate to one set of transform functions with successCallback to cover the files vs viewer content. Updated TODO appropriately
|
2025-10-04 10:39:11 +10:00 |
|
|
|
1b9b4c9c4f
|
update to use new viewing data structures, consolidate to one set of transform functions with successCallback to cover the files vs viewer content. Updated TODO appropriately
|
2025-10-04 10:39:06 +10:00 |
|
|
|
86761994df
|
need to check length of faces, not just it exists - it comes back as an empty array when no faces
|
2025-10-04 10:37:29 +10:00 |
|
|
|
a15fbd74d5
|
update for new db models/marshmallow object
|
2025-10-03 21:40:48 +10:00 |
|
|
|
3c8babb619
|
made basic viewer now handle new marshmallowed data - faces, model_used, face_distance, etc.
|
2025-10-03 21:28:25 +10:00 |
|
|
|
b0c738fcc1
|
moved cFO() to changeOPT() into internal/js, transformed file_list_ip to work with new query_data model, made the Size buttons use modern bootstrap5 radio buttons and work again without the form for all file* routes. Removed a lot of dead code, moved code to resetNextPrev buttons to anytime we getPage, reducing code, handle setting OPT in jscript via a to_dict() for States. Overall, search and file_list_ip now work. Only main thing left is the override code
|
2025-10-02 23:11:14 +10:00 |
|
|
|
a7ce8e66b5
|
change back to how_many, too hard to fix and the inconsistency broke the GUI change
|
2025-10-01 23:40:39 +10:00 |
|
|
|
175e43c9bb
|
make viewer work for files_sp, by resetting entryList and pageList for any new directory load
|
2025-09-30 18:38:54 +10:00 |
|
|
|
4bb99ce589
|
catch all to cover when we try to view an img/video and the dir contents is empty, so nothing to show
|
2025-09-30 18:38:20 +10:00 |
|
|
|
a0e06717ac
|
viewer now works for files_ip, still have broken bits everywhere - files_rbp, change_opts, do I want a back button? lots of dead/old code, probably cam move more js into *_support, and do I want to keep files_support separate to view_support
|
2025-09-30 00:29:11 +10:00 |
|
|
|
1ca5ca192c
|
move isMobile() to support js, as it has no jinja2 in it
|
2025-09-28 21:44:02 +10:00 |
|
|
|
5f8c48ac18
|
fix highlighting issue - as expected, ecnt was wrong
|
2025-09-27 17:36:31 +10:00 |
|
|
|
b67f2d9dcb
|
now allow files_sp paths to work (and support folders). Highlighting with folders is broken (likely dodgy ecnt). viewing still broken, but basic navigations is finally working with folders now
|
2025-09-27 12:42:01 +10:00 |
|
|
|
5842bf2ab8
|
set OPT values in jscript in files.html, added functions to draw figures on a page based on pageList (subset of entryList) & json data, and tweaked just grouping select as well to also use the draw figures func() in jscript. Needed to move out .figure click handler into the draw figures too. This is now semi-functional, images load, pages next/prev works, grouping works -- BUT only for files_ip -- folders wont work, search wont work, files_sp wont work, viewing a file wont work
|
2025-09-27 00:31:42 +10:00 |
|
|
|
9ec8195d0a
|
first pass of supprot functions to allow query/entry_list to drive pagination, and do not go back to the server to calc next/prev page
|
2025-09-26 19:25:19 +10:00 |
|
|
|
e3c94bf5eb
|
added match_add_refimg support to context menu, allows us to take existing (presumably) better image and make it a refimg for someone its matched
|
2025-08-19 20:20:50 +10:00 |
|
|
|
53ef671d34
|
added a isMobile() function that adds a shift and ctrl key to the files view, which can be clicked to fake a shift or ctrl key selection event on a tablet/mobile - first pass at this, its fairly usable. I might allow de-selecting the shift or ctrl key if they are pressed again before a selection is used, otherwise this is all functional. Note, I also changed the contextmenu to a click not mouse down on selection of an item in the menu. This is allows me to stop the propagation of the click event which was being trapped by the $(document).on( "click" ... and which we dont want - also exposes a BUG that when I click the context menu onto a different image it does not highlight the new image and some menu items process the original highlight, others the image under the context menu
|
2024-01-21 23:07:31 +11: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 |
|
|
|
f1c43906ab
|
delete & restore files now clean up UI and dont reload page by default. For all moves/deletes/restores that start on a search view, they now reload the page instead of just cleaning up the UI as searching by name will cause the UI to need complex redrawing, easier to live with the reload for now
|
2023-01-15 13:32:25 +11:00 |
|
|
|
1ed4a0f25d
|
escape apostrophes in prefix/suffix on move existing which fixes BUG-116
|
2023-01-13 17:22:26 +11:00 |
|
|
|
f875b50dc8
|
fixed BUG-114 -> only show path-specific existing options in movedbox. Added test doc to read to TODO
|
2023-01-13 16:48:35 +11:00 |
|
|
|
f98369e118
|
append is better as the toast()s appear in time-order
|
2023-01-13 15:32:43 +11:00 |
|
|
|
ef9f26189a
|
another large clean up of code, all POSTs are now using make_response() and returning json OR are for a form that flask handles with rendering direct html. Where there is a POST with json response, the jscript now calls CheckForJobs() to show it in the F/E. Removed several debugs. Fixed up undocumented BUG where import datetime was wrong, and prefix/suffix also to offer directories near the date of an image. Removed unused routes for clearing messages
|
2023-01-12 16:47:43 +11:00 |
|
|
|
a29cbb143c
|
Huge change, removed Status class and all "alert" messages are now shown as BS toast() and are via the DB and handled async in the F/E in jscript via Ajax. Fixed BUG-113 where toasts() were repeating. Removed many of the explicit alert messages (other than errors) and hooked {New|Finish}Job to consistently send messages to the F/E. Other messages (F/E without a job, like save settings) now use this model as well. Finally converted most of the older POST responses to formal json
|
2023-01-11 13:50:05 +11:00 |
|
|
|
0784861331
|
added persistent and cant_close to PA_JobManager_FE_Message, used them from pa_job_manager to set status messages with persistence/close buttons appropriately for items like fix_dups/stale_jobs. When "fixing" now, the persistent Status message stays, but its now positioned approx. below the navbar on the right and is ok. Started on changing status to a more sensible naming conventions (away from alert to level) - more work to complete this
|
2023-01-10 17:45:02 +11:00 |
|
|
|
56c2d586b6
|
clean up how we create toasts() [no longer try to reuse dom elements, just add new ones each time], support persistent notifications and close button or not [via separate booleans], created a clear message route and use that now in templates/base.html to clear FE messages. This will break for check dups as I am not setting persistence / close buttons correctly for those jobs, that is next. Converted move_files to new format
|
2023-01-09 13:13:51 +11:00 |
|
|
|
1ba9bf4312
|
renamed toast.js to jobs.js and moved Job related calls to jobs.py form files.py AND get job.py to allow job_mgr msgs to go to F/E via a POST of /checkforjobs (picked up in templates/base.html). move files also calls new CheckForJobs() to pick up when move job finishes without needing a page reload
|
2023-01-06 17:37:15 +11:00 |
|
|
|
a64b449327
|
created toast.js with a StatusMsg() func that dynamically adds toasts that can stack as we need more, and changed over code to use it
|
2023-01-04 23:36:20 +11:00 |
|
|
|
3384c5337a
|
created toast.js with a StatusMsg() func that dynamically adds toasts that can stack as we need more, and changed over the move_files to use it
|
2023-01-04 23:33:01 +11:00 |
|
|
|
c3971eb495
|
first-pass of popups for job creation for more than just move files, and fix BUG-112 (after move highlighting is broken)
|
2023-01-04 12:26:25 +11:00 |
|
|
|
0eeb68658b
|
move files now has bs toast pop for success and stays on the page you are on for more moves
|
2023-01-03 22:46:29 +11:00 |
|
|
|
972eac5b5b
|
first pass of move_files not redirecting to / and staying put for an other move_files, works, but needs success/toast
|
2023-01-03 15:48:13 +11:00 |
|
|
|
a320f1e5e6
|
fix BUG-110 (Enter key not submitting MoveDBox
|
2022-12-28 13:58:03 +11:00 |
|
|
|
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 |
|