Damien De Paoli ddp
  • Joined on 2025-05-01
ddp pushed to master at ddp/docker-compose 2025-10-10 23:55:35 +11:00
43719b968a trying to place a health check/url on padev to fix the weird slow restart, not sure it was not just traefik needing a rebuild??? also finally have moved embyserver off the beta versions back to mainline :latest
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-10 23:14:21 +11:00
6419e20d7e updated as I have fixed the restore/del from the viewer
b51d9e1776 make delete/restore button in viewer be the right colour, and go back to / when the success for the delete or restore finishes
fa2197adbe fix up bug where empty file_rbp did not work and displayed in the wrong div
66344e146e added a health check to see if this can help with the odd startup lag, it didnt
Compare 4 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-09 23:56:36 +11:00
ee1c9b5494 all override add and remove now use new datastructures, close to be able to test / augment as per TODO
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-07 23:52:10 +11:00
846bdc4e52 fix up linking between face to refimg when we add that face to a person from right-click
541cbec0de update adding refimg to new or existing person via right-click on a face to use new data structures
071164d381 remove dead code
1adb1bc7af no longer have pa_user_state data really, ditch the table
747f524343 remove more dead code
Compare 8 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-07 00:01:34 +11:00
f369b6d796 ticked off a couple of items around no content being better displayed
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
7f13d78700 deal with completely empty directories, remove ChangeSize and move that content into changeSize
Compare 3 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-05 23:20:22 +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
e0654edd21 alter move_paths from a specific var passed in the render_template, to be folded into query_data var
24c2922f74 actually set NMO var based on marshmallow data
24c3762c61 remove PathDetails*, and use marshmallow schemas with methods to get icon_url, and "path" renamed to "root_dir", updated move* code to use new data structure
Compare 4 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-04 23:26:45 +10: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
2f5c6ec949 update for sqlalchemy v2
81ebf6fa01 use to_dict() here, so we can use |json in jscript
7a4f5ddb17 update z-index so we dont get buttons being higher than toast popup
Compare 4 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-04 10:43:22 +10:00
00e42447fc make download link work with document.viewing rather than objs[current]
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-04 10:39:27 +10:00
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
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
86761994df need to check length of faces, not just it exists - it comes back as an empty array when no faces
4138f392d3 clean up includes, double up of fullscreen var, and use of current still
525b823632 dont crash server if we have not scanned the Path yet
Compare 5 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-03 21:41:06 +10:00
d019dc7960 more things to test/fix
a15fbd74d5 update for new db models/marshmallow object
3c8babb619 made basic viewer now handle new marshmallowed data - faces, model_used, face_distance, etc.
cd73c16545 include refimg_lnk and facefile_lnk into Face to be used in viewer
efaec00127 OMG, face_distance is float not int, how has this ever worked
Compare 5 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-02 23:14:46 +10:00
0777bbe237 remove more dead code
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-02 23:11:24 +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
2b9e0e19a2 add a to_dict() for States, and then I can use a 1-liner to set a var in jscript
e526d99389 no longer maintain too much state per user, remove all need to update it
5a923359bc remove dead viewing code
a147308b64 removed fields from PA_USER_STATE, no longer needed with new viewing logic
Compare 7 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-10-01 23:48:25 +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
b9b7a24326 removing done items
a7ce8e66b5 change back to how_many, too hard to fix and the inconsistency broke the GUI change
6199c042e3 remove most of the code, just have States with default values and some derived values such as prefix
c32b99f53e augment CreateFoldersSelect to support supplying js
Compare 5 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-09-30 18:39:00 +10:00
175e43c9bb make viewer work for files_sp, by resetting entryList and pageList for any new directory load
4bb99ce589 catch all to cover when we try to view an img/video and the dir contents is empty, so nothing to show
70ca93b14e convert files_rbp to new query_data model
Compare 3 commits »
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-09-30 00:29:16 +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
0851b79e16 remove debug
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
5b6dc1b3e9 seems I now need setuptools, this feels like a kludge - watch this space for further upstream changes
59bd2af15e update to reflect we no longer use sudo for docker commands
Compare 6 commits »
ddp pushed to master at ddp/docker-compose 2025-09-28 10:35:49 +10:00
ef24976947 bump emby, deal with postgres 18 upgrade - including annoying "18" now being in path for data
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-09-27 17:36:35 +10:00
5f8c48ac18 fix highlighting issue - as expected, ecnt was wrong
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-09-27 12:42:06 +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
ddp pushed to refactor-entry-viewing at ddp/photoassistant 2025-09-27 00:31:46 +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
ddp created branch refactor-entry-viewing in ddp/photoassistant 2025-09-26 19:32:31 +10:00