|
|
cb5ff7e985
|
comments for clarity of root_eid=0 meaning no entries
|
2025-10-12 13:14:13 +11:00 |
|
|
|
517b5c6167
|
made more of the javascript hopefulyl honour versions, sort of works, not fully deployed consistently but works well enough for home use in dev. Also tweaked how the layout looks on a phone so that la / ra buttons on beside the image. Still oddly needs me to shrink that page, but it is now visually right - odd
|
2025-10-11 15:02:58 +11:00 |
|
|
|
16d28bc02e
|
first pass of versioning, working for files.html only for now
|
2025-10-11 12:47:53 +11:00 |
|
|
|
da0019ecdc
|
adding a get_version function that gets the mtime of the jscript file and then lets us embed that into the
<script src=>
Note, accidentally committed, partially tested
|
2025-10-11 12:27:59 +11:00 |
|
|
|
1e421c3f22
|
move jscript logic out of template/html, into jscript so we can keep all logic into the included file, then I can force version on it and stop caching issues in mobiles, and a shift-reload will also get new code, rather than a container restart even on desktops
|
2025-10-11 11:11:51 +11:00 |
|
|
|
346defde8b
|
added a functional (small) up button in the viewer, all works
|
2025-10-11 09:19:51 +11:00 |
|
|
|
b51d9e1776
|
make delete/restore button in viewer be the right colour, and go back to / when the success for the delete or restore finishes
|
2025-10-10 23:13:03 +11:00 |
|
|
|
ee1c9b5494
|
all override add and remove now use new datastructures, close to be able to test / augment as per TODO
|
2025-10-09 23:56:27 +11:00 |
|
|
|
071164d381
|
remove dead code
|
2025-10-07 23:42:17 +11:00 |
|
|
|
1adb1bc7af
|
no longer have pa_user_state data really, ditch the table
|
2025-10-07 23:42:02 +11:00 |
|
|
|
eb7bb84e09
|
add some padding, and set root_eid - Its 0 when nothing at all in Path (first run/empty). Also, started override for marshmallow, but overrides wont work yet
|
2025-10-07 00:00:50 +11:00 |
|
|
|
e5d6ce9b73
|
move MoveDBox into full javascript and fold it into internal/js/files_support.js, also remove unused parameter for MoveDBox, and use marshmallow to pass people in query_data - overall just cleaner more consistent code for existing functionality
|
2025-10-05 23:20:17 +11:00 |
|
|
|
e0654edd21
|
alter move_paths from a specific var passed in the render_template, to be folded into query_data var
|
2025-10-05 22:36:49 +11:00 |
|
|
|
24c2922f74
|
actually set NMO var based on marshmallow data
|
2025-10-05 22:21:57 +11:00 |
|
|
|
40f0b5d369
|
refactor most javascript code, moved what can be moved into files_support.js, made keydown() items only apply when I go to the viewer code
|
2025-10-04 23:25:46 +10:00 |
|
|
|
7a4f5ddb17
|
update z-index so we dont get buttons being higher than toast popup
|
2025-10-04 22:45:01 +10:00 |
|
|
|
00e42447fc
|
make download link work with document.viewing rather than objs[current]
|
2025-10-04 10:43:00 +10:00 |
|
|
|
4138f392d3
|
clean up includes, double up of fullscreen var, and use of current still
|
2025-10-04 10:37:00 +10:00 |
|
|
|
0777bbe237
|
remove more dead code
|
2025-10-02 23:14:42 +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 |
|
|
|
5a923359bc
|
remove dead viewing code
|
2025-10-02 17:54:31 +10:00 |
|
|
|
a147308b64
|
removed fields from PA_USER_STATE, no longer needed with new viewing logic
|
2025-10-02 17:51:47 +10:00 |
|
|
|
2e952deda0
|
added code to support changing noo/how_many/folders and do this with json data back and forth, update the UI, all works - only search is missing now. Lots of dead code can still be deleted
|
2025-10-01 23:48:19 +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 |
|
|
|
0851b79e16
|
remove debug
|
2025-09-30 00:26:45 +10:00 |
|
|
|
8e6342b627
|
quick add of files_div to be able to toggle beween files viewing and viewer itself, moved isMobile to support js, change eids to use query_data - for now, will remove when we consolidate to new approach
|
2025-09-28 21:48:11 +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 |
|
|
|
be218c5049
|
first pass of using query data to allow display of files_ip only. Does use pass in list to do next/prev page (of the eids only). No images drawn at all. Definitely NOT, a usable version of PA at the moment
|
2025-09-26 19:32:09 +10:00 |
|
|
|
57e736a495
|
temporarily add some data capturing to dom for debugging, and remove superfluous condition in if
|
2025-09-20 14:47:52 +10:00 |
|
|
|
fa63e08b59
|
store away person.id per matched face to support match_add_refimg in context menu
|
2025-08-19 20:22:49 +10:00 |
|
|
|
1a182d30b5
|
added a clear messages (forced) to allow M to clear out annoying messages if needed
|
2025-08-19 20:18:59 +10:00 |
|
|
|
b7b2eaeb1f
|
use new logo for about page, and center the alert text
|
2025-05-13 18:59:09 +10:00 |
|
|
|
1555cd5ad6
|
use new logo
|
2025-05-13 18:42:21 +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 |
|
|
|
37c0125fbd
|
Fixed BUG-136, now can search with a * or % as wildcards, and fix bug where no search results broke pa
|
2024-12-31 15:13:17 +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 |
|
|
|
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 |
|
|
|
262efd89d4
|
Fixed BUG-121: crashing when cannot find a match when searching
|
2024-01-01 11:49:41 +11:00 |
|
|
|
f34a8b23e0
|
name of AI match is now in field 1 not field 0
|
2023-09-27 14:28:29 +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 |
|
|
|
05c08938d8
|
create build-time random string for SECRET_KEY for prod
|
2023-01-15 23:17:05 +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 |
|
|
|
e1c0622be6
|
reordered todo
|
2023-01-05 21:02:00 +11:00 |
|