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 Paoli2025-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 Paoli2025-09-28 21:45:19 +10:00
59bd2af15e
update to reflect we no longer use sudo for docker commands
Damien De Paoli2025-09-28 21:44:26 +10:00
1ca5ca192c
move isMobile() to support js, as it has no jinja2 in it
Damien De Paoli2025-09-28 21:44:02 +10:00
5f8c48ac18
fix highlighting issue - as expected, ecnt was wrong
Damien De Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-09-26 19:32:09 +10:00
a28f016b8a
when viewing, there is no path and not needed for viewing anyway
Damien De Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-09-26 19:24:10 +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 Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-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 Paoli2025-08-19 20:12:42 +10: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 Paoli2025-01-04 22:03:21 +11:00
f4aeadc019
adding some notes from some bugs stored into the db
Damien De Paoli2025-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 Paoli2025-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 Paoli2025-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
Damien De Paoli2024-12-31 15:13:17 +11:00
b34b71bf32
adding BUG-136, handle wildcard search of % and no results bug
Damien De Paoli2024-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 Paoli2024-12-07 19:46:15 +11:00
cbfd00fe53
make dev PA go via container name instead of via mara for DB connection
Damien De Paoli2024-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 Paoli2024-12-07 19:38:48 +11:00
fdba16c004
added BUG-133 right arrow in viewer goes to next pic AND scrolls right
Damien De Paoli2024-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 Paoli2024-08-11 18:59:02 +10:00
15cc101bbe
add BUG-131, init failing on first build to create symlinks
Damien De Paoli2024-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 Paoli2024-07-28 17:31:35 +10:00
aba96f6c52
added BUG-130, moving files and next page confusion
Damien De Paoli2024-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 Paoli2024-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 Paoli2024-06-30 17:12:31 +10:00
28d4f8d998
minor tweak of content of try for symlink creation and error content afterwards
Damien De Paoli2024-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 Paoli2024-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 Paoli2024-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 Paoli2024-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 Paoli2024-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 Paoli2024-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 Paoli2024-06-29 13:50:07 +10:00
d53bffcab9
allow this to work in padev container (e.g. run as mythtv)
Damien De Paoli2024-06-29 13:49:31 +10:00
4885acea80
adding extra debugs for weird bugs with losing data when viewing
Damien De Paoli2024-04-07 20:18:40 +10:00
fed78672dc
make message field larger to cater for larger debugs
Damien De Paoli2024-04-07 20:18:10 +10:00
bc23c9a3c6
added new BUG relating to restart DB underneath web
Damien De Paoli2024-04-07 20:17:22 +10:00
d39f1734a3
fix BUG-124 - pa job mgr does not have timestamps, vi creating/use of PAprint()
Damien De Paoli2024-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 Paoli2024-03-10 23:52:34 +11:00
8b89d845db
change key warning to be persistent, so I dont miss what it said
Damien De Paoli2024-03-10 13:39:38 +11:00
6ef12d7636
change key warning to be persistent, so I dont miss what it said
Damien De Paoli2024-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 Paoli2024-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 Paoli2024-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 Paoli2024-03-10 13:36:31 +11:00
98d33b4880
have a solution for multi-select on tablet/phone now
Damien De Paoli2024-01-28 23:27:20 +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 Paoli2024-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 Paoli2024-01-21 18:19:20 +11:00
4db3d27cbc
fix use of SetFELog with log_level="error" => level="danger"
Damien De Paoli2024-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 Paoli2024-01-21 18:17:03 +11:00