Commit Graph

1287 Commits

Author SHA1 Message Date
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
1277558b0e fixed BUG-126, so removing debugs, changing unlikely bug reoccurrence to a warning that can be closed 2024-06-29 13:51:53 +10:00
d7f028f3d1 had to hard lock numpy for now so that face recognition library can find locations 2024-06-29 13:50:07 +10:00
d53bffcab9 allow this to work in padev container (e.g. run as mythtv) 2024-06-29 13:49:31 +10:00
4885acea80 adding extra debugs for weird bugs with losing data when viewing 2024-04-07 20:18:40 +10:00
fed78672dc make message field larger to cater for larger debugs 2024-04-07 20:18:10 +10:00
bc23c9a3c6 added new BUG relating to restart DB underneath web 2024-04-07 20:17:22 +10:00
ffbedc3bca added BUG-127 sort not working after a search 2024-04-07 00:34:42 +11:00
d39f1734a3 fix BUG-124 - pa job mgr does not have timestamps, vi creating/use of PAprint() 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) 2024-03-10 23:52:34 +11:00
2665ab086e properly define regex strings 2024-03-10 23:52:24 +11:00
063c75809a more thoughts now we have a new CPU in mara 2024-03-10 13:40:23 +11:00
8b89d845db change key warning to be persistent, so I dont miss what it said 2024-03-10 13:39:38 +11:00
6ef12d7636 change key warning to be persistent, so I dont miss what it said 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 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 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 2024-03-10 13:36:31 +11:00
98d33b4880 have a solution for multi-select on tablet/phone now 2024-01-28 23:27:20 +11:00
448b635d5a updating BUGS 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 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"
2024-01-21 18:19:20 +11:00
4db3d27cbc fix use of SetFELog with log_level="error" => level="danger" 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" 2024-01-21 18:17:03 +11:00
a8ee7b4f89 added TODO for touch and multi-select 2024-01-21 18:14:53 +11:00
478a7e5add added 2 new bugs - 123 -> pa_job_mgr crashed with a timeout, 124 -> pa_job_mgr logs have no timestamp 2024-01-21 18:14:25 +11:00
aad0389d77 BUG-122 - just closing this, duplicates were from 2 years ago and were 200ms apart, looks like a reload of the POST? If so, I now force a redirect after the POST, so reloads dont add more than 1 person 2024-01-01 12:16:37 +11:00
262efd89d4 Fixed BUG-121: crashing when cannot find a match when searching 2024-01-01 11:49:41 +11:00
9c4da5ec6f add allow actions for wrong person to TODO 2024-01-01 11:49:03 +11:00
3f39f74716 new bugs, 500 when cannot find a string, and duplicates of people? 2024-01-01 11:48:43 +11:00
48353f0486 have changed the rotation code to use jpegtran so its lossless 2023-11-11 22:28:29 +11:00
0ed56d6a1a added a debug for rotate code, and put quotes in the right spots so paths with spaces are covered - D'oh! 2023-11-11 22:25:26 +11:00
1005acb339 use jpegtran to do lossless 90 rotations 2023-11-11 21:28:04 +11:00
62cfe6305e use text() for newer sqlalchemy 2023-09-27 15:02:57 +10:00
024b99d313 added TODO re: newer pg/sqlalchmemy v1.0 2023-09-27 14:31:37 +10:00
51492efe04 replaced a couple of raw sqls with ORM, making sure JobExtra value is a str(), for newer pg/sqlalchmemy 2023-09-27 14:31:22 +10:00
7511261d34 quick fix for new sqlalchemy 2 stricter mapping issues - only really using this when trying to imply typing in classes, not desperately needed, so Im ok with this workaround for now 2023-09-27 14:30:24 +10:00
621eba26ed still do need text() imported from sqlalchemy, and make sure JobExtra value is a string 2023-09-27 14:29:41 +10:00
799689d26e trying something that I *think* should be throwing warnings for sql 2.0 issues, not sure it works? 2023-09-27 14:29:03 +10:00
f34a8b23e0 name of AI match is now in field 1 not field 0 2023-09-27 14:28:29 +10:00
d2bd3ff319 make sure JobExtra values is a string - issue with newer ps/sqlalchemy 2023-09-27 14:28:05 +10:00
db7f6c07d7 updated for newer postgres and sqlachemy, mainly use text() for explicit sqls, made sure value is a string in JobExtra, removed incorrect use of distinct in GetEntries query, finally used ORM to work out last/num_entry counts instead of raw sql 2023-09-27 14:27:31 +10:00
3d124d78cb convert all raw sqls to ORM 2023-09-26 13:00:45 +10:00
a8a4a1e5fe convereted all raw SQL to ORM, and tightened up str/int use in JobExtra-> value field - sqlalchemy 2 is more strict here 2023-09-26 12:35:23 +10:00
3adca0b73d temporarily locked version here and reverted, might be a whitespace diff? 2023-09-26 12:11:35 +10:00
ad8cd69939 adding sleep as a catch-all, its useful when python code kills gunicorn, at least the container stays up and I can get into it and debug 2023-09-26 12:10:50 +10:00
ffe6c309b6 remove db.session.execute and use simple ORM statements - less efficient, but only really deleting a small amount anyway 2023-09-26 12:10:09 +10:00
91877ded3a hard-locking postgres version as postgres cant just be updated without it breaking the db, so need to do this by hand when a new version comes out 2023-09-18 22:28:04 +10:00
4f67cb30d9 had to remove the :int on route for Flask to load now - a library was failing with a converter / lookup failure 2023-09-18 22:26:30 +10:00
b636ac08b8 update file to use new pylint settings, added types and using docstrings in goolge format with partial openapi spec 2023-06-18 22:02:33 +10:00
2767d7872d improving code quality via pylint (with googles .pylintrc and my addition of keeping useless returns, 4 spaces for indents 2023-06-18 21:00:16 +10:00