Commit Graph

211 Commits

Author SHA1 Message Date
18b8a30140 Fixed BUG-11: we have changed to file_refimg_link table (from file_person_link), this means we now have some optimisations, and can definitely re-run AI jobs without crashing. Several optims could still be done - see TODO 2021-01-25 01:05:30 +11:00
0829a98376 updated install instructions to get newer PIL and fix exif issues 2021-01-25 01:01:51 +11:00
6aad209802 BUG-15 fixed by updating PIL version on mara 2021-01-24 15:21:23 +11:00
56f19ff3b7 first pass/thoughts on faces per file in DB, mostyl commented out. Also put a poor hack in to allow AI jobs to re-run without error, its limited, need to really fix this properly 2021-01-24 00:16:58 +11:00
bce7d2a2d2 more BUGs 2021-01-24 00:16:08 +11:00
469745ce3b partial fix/optimisation for refimgs, only recalc if file is newer than when we build the refimg encoding 2021-01-23 21:21:29 +11:00
6f2175c973 clarified BUG-15 into several steps/issues 2021-01-23 21:01:33 +11:00
fc76fbb259 fixed BUG-4 - negative durations 2021-01-23 20:20:31 +11:00
f253760d26 update start time of jobs to when they actually are starting to run, should also help with durations being more accurate. Also added a catch-all force job finish if one is not done already. Will stop it enetering an endless loop 2021-01-23 20:19:44 +11:00
e17d6c41fe just use python time calls for jobs, now db and python calls, as on Cams box, this can results in the last update (Cams box) occurring before the job is created in the db (maras time) - and that shows up as negative durations 2021-01-23 20:05:15 +11:00
afc4eda233 last commit or the night, a feel-good one, now have search by file name and refimg tag, can find ppl :) 2021-01-23 00:48:00 +11:00
c0648f0822 added search todo 2021-01-23 00:32:53 +11:00
221ab03dbb fixed BUG-8 job failures should cascade cancels. Also put back dependency for AI job to wait for GetFileDetails (might not really be needed as I think Cams code just calls exif rotate itself anyway, also took out my temporary block of running the slow AI code. Need to discuss how to optimise it so it does not re-run parts it should know, e.g. refimg stuff once / not again unless ref imgs changed, ditto file/ai scan , etc. 2021-01-23 00:32:17 +11:00
ecb276b4c7 new thumbnail code Cam wrote fixes BUG-7 too - image orientation 2021-01-23 00:08:57 +11:00
5c34aa9cc7 BUG-10 also squashed by removing dir-level optimisation code 2021-01-23 00:05:48 +11:00
2466c15011 BUG-6 also now fixed with new code 2021-01-23 00:01:17 +11:00
bfe0613167 fixed BUGS 12/13/14, fixed new thumbnail code, fixed duplicate db entries for directories, fixed optimising code not working, by just ditching the directory optimising anyway 2021-01-23 00:00:47 +11:00
8e9c7408a8 BUG-14 added - optimisation at dir level doesnt work at all, only dir modifications occur with NEW files, this probably would work for importing, but its not that bad to stat files, so Im just ditching the added complexity 2021-01-22 23:58:54 +11:00
17447f9314 fixed thumbnail issues on linux, and JobImportDir bug with adding empty and then duplicate dir entries 2021-01-22 23:43:50 +11:00
954132cf1a BUG-2 (FixPath) solved, because we no longer fix paths :) 2021-01-22 22:33:44 +11:00
20a302e3d6 BUG-3 is wrong, removing it... we can never know numfiles before we walk the fs, so just live with it, the code is quick anyway, it will be 0 then 100% before you notice anyway 2021-01-22 22:32:21 +11:00
745ff245aa new bug 2021-01-22 22:28:08 +11:00
685c626fd7 updated AI job, to show progress in joblog, and fixed BUG-12 (can now forcescan again) 2021-01-22 22:27:35 +11:00
b5b3529559 added BUG-12 delete from DB needs to cope with file_person_link content 2021-01-22 22:27:08 +11:00
aa81d46a09 fixed BUG-9, current_file_num uninitd 2021-01-22 21:15:47 +11:00
2dc0e921ef added people to file in the ORM 2021-01-22 21:15:23 +11:00
c976858c27 fix file_eid->file_id to match db 2021-01-22 21:15:15 +11:00
42b4880b62 added basic view of which files were matched with which people 2021-01-22 21:14:17 +11:00
ea48900564 reordered, cleaned up, also closed off some AI ones 2021-01-22 21:13:48 +11:00
71dd213636 added face recog dependencies 2021-01-22 21:13:09 +11:00
c34758ed51 closed BUG-9, and new AI job bug (uninitialised current_file_num) 2021-01-22 21:09:55 +11:00
Cam
1cf65f4c31 Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-22 18:48:34 +11:00
Cam
dd7475f41b bugs and ooft merge changes coming 2021-01-22 18:46:34 +11:00
Cam
605b26af89 implemented ai in our pa_job_manager, with refimgs, a job, and the whole deal 2021-01-22 18:46:18 +11:00
2e5811adf4 changed encoding to bytea 2021-01-22 18:42:07 +11:00
01d0663e16 fix bug with id not eid 2021-01-22 18:41:46 +11:00
4db6c05c51 Merge branch 'master' of 192.168.0.2:photoassistant 2021-01-22 17:18:46 +11:00
Cam
53d0f71b58 tables updated to reflect ai changes in pa_job_manager.py 2021-01-22 17:18:12 +11:00
db5bba551f added some BUGs 2021-01-22 16:33:24 +11:00
cfd4a3071f fix current_file_num and num_files being wrong in import and gen*details jobs 2021-01-22 16:32:30 +11:00
f73d488ee7 mid-way through new Import function, has buggy counts, updated bugs and todos 2021-01-22 15:33:35 +11:00
2f3d7c1ae2 ProcessFilesInDir - now is generic and takes funcs to call on files 2021-01-21 22:22:42 +11:00
60953553a2 qualified bug 2021-01-21 16:12:07 +11:00
192921ba4c more todos 2021-01-21 16:10:02 +11:00
777d0099ce fixed non-PROD run of job manager to use localhost 2021-01-21 16:09:54 +11:00
22cab9b090 fix BUG-5 (job file num cnt wrong when processing unknown file type) 2021-01-21 16:09:37 +11:00
Cam
bbd15e9fd0 added BUGs to BUGs file 2021-01-21 15:29:34 +11:00
Cam
fae655073a Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-21 15:25:29 +11:00
a9819c613b more path fixes 2021-01-21 15:25:19 +11:00
Cam
bcb876f475 Merge branch 'master' of mara.ddp.net:photoassistant 2021-01-21 15:20:26 +11:00