Commit Graph

37 Commits

Author SHA1 Message Date
79a817fa90 removed useless [0] for face_locn in refimg code 2022-01-31 21:08:33 +11:00
491663f1c9 update comment 2022-01-21 18:21:21 +11:00
a2fb877f12 implemented job archiving (via a Setting, and just viewing recent or all) 2022-01-13 23:11:21 +11:00
8a6a7a5115 joblog rewrite to show only a few "newest" lines and "oldest" logs for a job, with the more button in the middle, also has a little icon to show the re-ordering that goes with each view - should really make this clickable/togglable. 2022-01-13 21:12:09 +11:00
10866c3147 scheduled jobs implemented, after X days in settings we scan import, storage paths, and check the Bin for old files and actually delete them from the file system 2022-01-13 13:27:55 +11:00
d422fdf3ad fix new bug introd, where after exif transpose I stupidly im to use im_orig always, instead of if its not a JPEG 2021-09-22 18:41:19 +10:00
6f17e1677d be more explicit, only exif_transform jpegs, and if mode is not rgb convert it first before thumbnail - fixes BUG-63 no thumbs for GIFs 2021-09-21 16:53:47 +10:00
10fcda0d7c convert OPT from a dict to a class 2021-08-29 20:13:26 +10:00
7bd4552727 updated comments 2021-08-11 18:05:54 +10:00
6ce92c3398 remove debug 2021-07-29 21:47:27 +10:00
dc35417933 allowed CreateSelect to take list of values for options - used in cnn/hog AI model menu in viewer 2021-07-29 21:42:35 +10:00
b7d346c206 model_used is now per file, not per face, implemented split of default_model to default_refimg_model and default_scan_model in settings, and default_refimg_model actualy works when creating refimgs in person.py. The model_used in face_file_link is based on default settings model and will scan with cnn if chosen and store that in DB as needed. Need viewer to allow changing per file / not just default for future scans 2021-07-27 17:14:03 +10:00
915063a7a7 semi fixed move dbox, the input group is still not right, but it will suffice, more use of svg and ditching font awesome 2021-07-22 00:50:45 +10:00
b9f05d64f8 okay this now works with bootstrap 5, I dont love the sz buttons / mixed black and white hover text needs love - probably own class with own styles, but I dont want to hard-code info color, need to work out how to do style / css using the right bs variable for info color 2021-07-20 19:03:14 +10:00
6737664c4c remove debug 2021-07-17 16:32:45 +10:00
e622774c0f made GenThumb return thumb and orig_w, orig_h - not sure this stays, but for optimising it prob. will -- its not being used in pa_job_mgr yet, and that will see the final version of this 2021-07-11 22:31:37 +10:00
b811f8710e moved GenFace and GenThumb common code into shared, and hook it in both f/e and b/e where needed 2021-07-04 20:04:25 +10:00
a6782c24ff if you dont pass an FLASK_ENV, we now assume development 2021-06-28 17:02:41 +10:00
126b17aa33 make prod pa_job_manager have FLASK_ENV of production and use localhost for job mgr host 2021-06-27 14:37:53 +10:00
4bda64ca17 hide prod DB inside docker network so only paweb can get to prod, created a new DEV DB on port 65432 and if FLASK_ENV is development you get that one 2021-06-27 13:12:42 +10:00
173e1f0de7 whitespc 2021-06-24 17:32:48 +10:00
9eb82bf1c3 added comment & TODO to recode SymlinkName one day 2021-06-22 18:42:03 +10:00
1234a3c804 remove debug 2021-06-13 21:28:26 +10:00
ecefb59458 added icons for paths into a dict ICON, and func to retrieve the icon based on objects type of path 2021-06-06 17:21:45 +10:00
7e2494884e can now toggle between folder or flat view, its a bit ugly, but it works 2021-06-06 14:09:11 +10:00
5e03650ed5 first cut of paths actually working with folder viewing - for now defaulting on for both Storage only 2021-05-01 18:16:45 +10:00
9c263f54e3 minor fix to only remove trailing slash if there is content at all in sig_bit of SymlinkName 2021-03-21 12:06:56 +11:00
b763a59b2b whitespace removed 2021-03-19 18:06:16 +11:00
40dba847c1 moved SymlinkName into shared 2021-02-27 18:30:20 +11:00
Damien De Paoli
4042fdef77 put explicit use of locahost:5432 for pg, and localhost:5000 for flask for lappy 2021-02-27 10:57:57 +11:00
1795e91126 hard hacked a class modifier in CreateSelect(), should make it a param 2021-02-07 20:42:41 +11:00
96bcada5c5 CreateSelect() in py called in jinja to neaten up selects 2021-02-02 00:18:52 +11:00
98d4c7d43e Fixed BUG-19 - video thumbs being out of ratio, using THUMBSIZE in shared.py to also make sure images and videos have at least one of their width / height be 256 in their thumbnail 2021-01-30 20:16:36 +11:00
777d0099ce fixed non-PROD run of job manager to use localhost 2021-01-21 16:09:54 +11:00
Cam
ddd409650d updated shared to work on local environments too 2021-01-21 15:19:38 +11:00
2b9dedb9b9 change how we calculate active jobs, probably will remove it from pa_job_engine, safer with threads I think. But, mostyle, added in client / server socket comms between web FE and job manager, with better job creation message (including link to job detail) and when you view job detail it auto-refreshes every few seconds until job complete) 2021-01-17 12:35:28 +11:00
a6d2e424d2 added shared.py at least for DB_URL, maybe more 2021-01-16 17:46:28 +11:00