Commit Graph

  • 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 Damien De Paoli 2025-09-28 21:48:11 +10:00
  • 5b6dc1b3e9 seems I now need setuptools, this feels like a kludge - watch this space for further upstream changes Damien De Paoli 2025-09-28 21:45:19 +10:00
  • 59bd2af15e update to reflect we no longer use sudo for docker commands Damien De Paoli 2025-09-28 21:44:26 +10:00
  • 1ca5ca192c move isMobile() to support js, as it has no jinja2 in it Damien De Paoli 2025-09-28 21:44:02 +10:00
  • 5f8c48ac18 fix highlighting issue - as expected, ecnt was wrong Damien De Paoli 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 Damien De Paoli 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 Damien De Paoli 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 Damien De Paoli 2025-09-26 19:32:09 +10:00
  • a28f016b8a when viewing, there is no path and not needed for viewing anyway Damien De Paoli 2025-09-26 19:30:29 +10:00
  • d2db7f6184 hash is a string not an Integer, not sure how this issue has been here so long. Also, first pass of using query data to allow display of files_ip only. Definitely NOT, a usable version of PA at the moment Damien De Paoli 2025-09-26 19:26:23 +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 Damien De Paoli 2025-09-26 19:25:19 +10:00
  • 2325dcd22a work out prefix and store it away in States so we can just use if in updated json data calc for files Damien De Paoli 2025-09-26 19:24:10 +10:00
  • e0b597c58c add entry_list to query table Damien De Paoli 2025-09-26 19:22:36 +10:00
  • 0895268df2 more thoughts on change over to json, etc Damien De Paoli 2025-09-26 19:20:47 +10:00
  • efceef7e57 added BUG-140 - db restarts cause job mgr to fail Damien De Paoli 2025-09-26 14:57:32 +10:00
  • 21059a6235 reformatted to be normal sql, added query table Damien De Paoli 2025-09-20 19:32:47 +10:00
  • 4d80fa4e7c first pass at new query table Damien De Paoli 2025-09-20 19:32:21 +10:00
  • a4526e2b70 updated BUG as well master Damien De Paoli 2025-09-20 14:50:00 +10:00
  • cf9b0996be works with new ldap now, and put forward details of next big change into TODO Damien De Paoli 2025-09-20 14:48:29 +10:00
  • 57e736a495 temporarily add some data capturing to dom for debugging, and remove superfluous condition in if Damien De Paoli 2025-09-20 14:47:52 +10:00
  • aaf04e7f9b AI search now does not wildcard, so only exact matches person when you do AI:<xxx> Damien De Paoli 2025-09-20 14:46:57 +10:00
  • eb9e7f2ce1 fix for ldap removing any anonymous binds, also use ldap.ddp.net Damien De Paoli 2025-09-16 20:36:04 +10:00
  • df7a81df09 new TODOs Damien De Paoli 2025-09-16 20:35:03 +10:00
  • 4742509d56 added new BUG Damien De Paoli 2025-09-16 20:34:44 +10:00
  • 391fd52332 commented out more debugs Damien De Paoli 2025-08-19 20:55:20 +10:00
  • 1831c49b15 fixed 2 x TODOs, can now add an existing face as a refimg, and I sped up the recent jobs page Damien De Paoli 2025-08-19 20:53:26 +10:00
  • fa63e08b59 store away person.id per matched face to support match_add_refimg in context menu Damien De Paoli 2025-08-19 20:22:49 +10:00
  • e36fc170f1 moved container cwd to ~/src/photoassistant so that gunicorn can react to src code changes, also forced logs to docker logs Damien De Paoli 2025-08-19 20:22:20 +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 Damien De Paoli 2025-08-19 20:20:50 +10:00
  • db8cf68d4b added a clear messages (forced) to allow M to clear out annoying messages if needed Damien De Paoli 2025-08-19 20:19:57 +10:00
  • 1a182d30b5 added a clear messages (forced) to allow M to clear out annoying messages if needed Damien De Paoli 2025-08-19 20:18:59 +10:00
  • c7c08c1c32 made AI:<tag> be literal, e.g. no wildcards to stop AI:kath matching AI:katherine, also removed unused fid var and commented out debugs Damien De Paoli 2025-08-19 20:18:30 +10:00
  • 5fa35b90eb updated to reflect move from hard-coded ip to FQDN and using gitea (on git.depaoli.id.au) instead of local git on mara Damien De Paoli 2025-08-19 20:17:31 +10:00
  • ae718fe249 had to remove libgl1-mesa-glx to get installs to work, added mkdir -p jic, force TZ so build date is timezone accurate Damien De Paoli 2025-08-19 20:12:42 +10:00
  • 48ca6c5e64 new todos Damien De Paoli 2025-08-19 20:11:54 +10:00
  • 6ceb4c4604 clean up of BUGs list Damien De Paoli 2025-08-19 20:11:39 +10:00
  • b7b2eaeb1f use new logo for about page, and center the alert text Damien De Paoli 2025-05-13 18:59:09 +10:00
  • 0660ca55d7 new logo file Damien De Paoli 2025-05-13 18:44:30 +10:00
  • e6e621d6f7 updated pics for rotations Damien De Paoli 2025-05-13 18:44:23 +10:00
  • 0a49c2a627 added BUG-137 - after moving files, shift-click selection is wrong Damien De Paoli 2025-05-13 18:43:58 +10:00
  • e460164d83 various TODOs Damien De Paoli 2025-05-13 18:43:30 +10:00
  • f6ddb66f3f set cant_close to False now, I think I know enough about this BUG Damien De Paoli 2025-05-13 18:43:08 +10:00
  • 1555cd5ad6 use new logo Damien De Paoli 2025-05-13 18:42:21 +10:00
  • 62acd34ae0 trying to use less RUNs / layers, to speed up subsequent builds Damien De Paoli 2025-05-13 18:41:59 +10:00
  • 5448e0a7a4 just do all of static, rather than explicit subdirs Damien De Paoli 2025-05-13 18:41:26 +10:00
  • 70908d60f5 use fixed width and height to force buttons to be consistent with new rot pngs Damien De Paoli 2025-01-08 13:37:01 +11:00
  • 58715491ea keep rot90.svg source in case we want to modify pngs in the future Damien De Paoli 2025-01-08 13:35:46 +11:00
  • f5dfb92db1 removing BUG-128 its a duplicate of BUG-123 Damien De Paoli 2025-01-04 22:04:36 +11:00
  • eb819e37d7 added notes on DEEPFACE Damien De Paoli 2025-01-04 22:03:33 +11:00
  • c6a0352c7d 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 Damien De Paoli 2025-01-04 22:03:21 +11:00
  • f4aeadc019 adding some notes from some bugs stored into the db Damien De Paoli 2025-01-04 22:02:26 +11:00
  • 79437477f7 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 Damien De Paoli 2025-01-04 22:02:00 +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 Damien De Paoli 2025-01-04 22:01:51 +11:00
  • febdfbbd32 added deepface notes Damien De Paoli 2025-01-04 21:59:56 +11:00
  • 37c0125fbd Fixed BUG-136, now can search with a * or % as wildcards, and fix bug where no search results broke pa Damien De Paoli 2024-12-31 15:13:17 +11:00
  • b34b71bf32 adding BUG-136, handle wildcard search of % and no results bug Damien De Paoli 2024-12-31 15:11:57 +11:00
  • bd3ee98328 clean up start-up messages and validation on ENV. Display error correctly when exif rotater fails Damien De Paoli 2024-12-07 19:46:15 +11:00
  • 47190a8829 user newer sqlalchemy v2 syntax Damien De Paoli 2024-12-07 19:42:49 +11:00
  • f97653c4f1 had to lock sqlalchemy to a newer version, but was able to unlock flask version Damien De Paoli 2024-12-07 19:42:03 +11:00
  • 8157292df4 convert over to pauser - and use ARG for uid/gid of pauser Damien De Paoli 2024-12-07 19:41:32 +11:00
  • a0b4b80ca9 clean up and use pauser Damien De Paoli 2024-12-07 19:40:29 +11:00
  • cbfd00fe53 make dev PA go via container name instead of via mara for DB connection Damien De Paoli 2024-12-07 19:39:12 +11:00
  • 61b3edf5fa added bugs 133-135, failing symlinks on build, moving images reappearing and failing to rotate Damien De Paoli 2024-12-07 19:38:48 +11:00
  • fdba16c004 added BUG-133 right arrow in viewer goes to next pic AND scrolls right Damien De Paoli 2024-08-25 22:37:38 +10:00
  • 9a359a1a4c fixed BUG-132 failing to create symlink on first build by being explicit in Dockerfile on how to handle content in static/ Damien De Paoli 2024-08-11 18:59:02 +10:00
  • 15cc101bbe add BUG-131, init failing on first build to create symlinks Damien De Paoli 2024-08-11 18:58:20 +10:00
  • 9dac54ae97 removing cant_close=True on this one, ultimately, its just viewing order is wrong, so no actual data/file issues - let it be persistent but able to be closed Damien De Paoli 2024-07-28 17:31:35 +10:00
  • aba96f6c52 added BUG-130, moving files and next page confusion Damien De Paoli 2024-07-28 17:29:24 +10:00
  • 0895bc5983 Oops - remove hardcoded path and use self.url, one too many ctrl-zs when testing :( Damien De Paoli 2024-06-30 18:07:02 +10:00
  • 46eb87bc31 use an regex match rather than just last part of self.url to find search term as something changed and caused the url to be different on the post - not sure when I broke this, or if an upgrade did, but this fixed BUG-127 and BUG-129 (just a special case of 127) Damien De Paoli 2024-06-30 17:12:31 +10:00
  • cbea1f09ab clarified new bugs Damien De Paoli 2024-06-29 15:23:08 +10:00
  • 5fa9b5e386 updated for fresh ubuntu 24.04 install Damien De Paoli 2024-06-29 13:59:40 +10:00
  • 28d4f8d998 minor tweak of content of try for symlink creation and error content afterwards Damien De Paoli 2024-06-29 13:55:43 +10:00
  • 29ea2ca833 starting to tweak from legacy query.get() method to session.get() - these fixes will be a pita/lot Damien De Paoli 2024-06-29 13:55:01 +10:00
  • 06ceefda97 popped face recog load_image_fil into a try block as it clearly has/can fail Damien De Paoli 2024-06-29 13:54:22 +10:00
  • 974d96d6eb 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 Damien De Paoli 2024-06-29 13:53:50 +10: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 Damien De Paoli 2024-06-29 13:53:38 +10:00
  • 1277558b0e fixed BUG-126, so removing debugs, changing unlikely bug reoccurrence to a warning that can be closed Damien De Paoli 2024-06-29 13:51:53 +10:00
  • d7f028f3d1 had to hard lock numpy for now so that face recognition library can find locations Damien De Paoli 2024-06-29 13:50:07 +10:00
  • d53bffcab9 allow this to work in padev container (e.g. run as mythtv) Damien De Paoli 2024-06-29 13:49:31 +10:00
  • 4885acea80 adding extra debugs for weird bugs with losing data when viewing Damien De Paoli 2024-04-07 20:18:40 +10:00
  • fed78672dc make message field larger to cater for larger debugs Damien De Paoli 2024-04-07 20:18:10 +10:00
  • bc23c9a3c6 added new BUG relating to restart DB underneath web Damien De Paoli 2024-04-07 20:17:22 +10:00
  • ffbedc3bca added BUG-127 sort not working after a search Damien De Paoli 2024-04-07 00:34:42 +11:00
  • d39f1734a3 fix BUG-124 - pa job mgr does not have timestamps, vi creating/use of PAprint() Damien De Paoli 2024-03-11 00:40:25 +11:00
  • d86893875d added capability to run a dev container for pa, and if we re-build we create a new .sk and remove old PA_UserState on fresh login. BUG-120 is either fixed by this or at least the log catches it and does not crash now (if we rebuild between re-use) Damien De Paoli 2024-03-10 23:52:34 +11:00
  • 2665ab086e properly define regex strings Damien De Paoli 2024-03-10 23:52:24 +11:00
  • 063c75809a more thoughts now we have a new CPU in mara Damien De Paoli 2024-03-10 13:40:23 +11:00
  • 8b89d845db change key warning to be persistent, so I dont miss what it said Damien De Paoli 2024-03-10 13:39:38 +11:00
  • 6ef12d7636 change key warning to be persistent, so I dont miss what it said Damien De Paoli 2024-03-10 13:39:21 +11:00
  • 42eeed7c45 move to ssl offloading, rather than processing ssl inside the python code - just easier / more consistent with other traefik enabled containers Damien De Paoli 2024-03-10 13:39:00 +11:00
  • 096251f8ce move to using base image of python, not ubuntu, update requirements to use pip for as much as we can and not mix and match some apt get and pip3 for python dependencies Damien De Paoli 2024-03-10 13:37:54 +11:00
  • 33c86f49fb "new" BUG 126 - still the fail to view an id that is not in the list Damien De Paoli 2024-03-10 13:36:31 +11:00
  • 98d33b4880 have a solution for multi-select on tablet/phone now Damien De Paoli 2024-01-28 23:27:20 +11:00
  • 448b635d5a updating BUGS Damien De Paoli 2024-01-28 23:27:02 +11: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 Damien De Paoli 2024-01-21 23:07:31 +11:00
  • 7e25c33f1a removed use of ref var for code readability added some more defensive code to throw an error, rather than crash if missing pref, referrers, etc. fix use of SetFELog with log_level="error" => level="danger" Damien De Paoli 2024-01-21 18:19:20 +11:00
  • 4db3d27cbc fix use of SetFELog with log_level="error" => level="danger" Damien De Paoli 2024-01-21 18:17:45 +11:00
  • a3350b9316 default for similar folder by date is now +/- 2 weeks not 1 AND fix use of SetFELog with log_level="error" => level="danger" Damien De Paoli 2024-01-21 18:17:03 +11:00
  • a8ee7b4f89 added TODO for touch and multi-select Damien De Paoli 2024-01-21 18:14:53 +11:00