Commit Graph

515 Commits

Author SHA1 Message Date
78713a6767 updated stats to use new face tables and be more useful now amount of matches is in the thousands 2021-06-30 14:28:15 +10:00
c-d-p
f2bb87c424 Merge branch 'master' of mara.ddp.net:photoassistant 2021-06-29 15:46:07 +10:00
c-d-p
818fdaa685 updated job manager to (theoretically) work for ai, but i havent tested the comparison code yet 2021-06-29 15:46:04 +10:00
61b7a3e457 updated DEV for Cams paths 2021-06-29 15:46:02 +10:00
c-d-p
643208f35f fixed the import path to be able to select all of the people under the ai context menu 2021-06-29 15:43:28 +10:00
dcee8c96dd minor updates 2021-06-29 00:43:51 +10:00
4cb10c4a6b started hooking up right-click menu for Dir and Files all the way through to calling the new ScanFileForPerson() - which is still incomplete but does use the new Faces DB linkages and functions 2021-06-28 18:52:05 +10:00
ef3cb3fb6f added in DB tables for new face DB structures/links 2021-06-28 17:05:52 +10:00
31db4fcca1 added in DB tables for new face DB structures/links 2021-06-28 17:03:13 +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
76d278c37a instructions for upstream bootstrap improved, to note font awesome needs work as I think only I can download 2021-06-27 14:31:26 +10:00
f12b48f38d Merge branch 'master' of 192.168.0.2:photoassistant 2021-06-27 14:30:39 +10:00
68d1fcac60 fix BUG with non-existant path causing re-render of previous path 2021-06-27 14:30:33 +10:00
c-d-p
26ba27cc0d updated files.py and files.html to add a context menu submenu to look for faces in an image. Doesnt work yet, but the context menu works 2021-06-27 14:27:46 +10:00
c-d-p
ade3745024 spacing 2021-06-27 14:26:51 +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
1c2612e2cb spacing 2021-06-27 13:11:49 +10:00
0c4da6e4af updated TODO for set of next steps to start on AI for real 2021-06-26 17:33:21 +10:00
ce296426ab login code 2021-06-26 16:48:15 +10:00
798d548ee9 Made saved users be in the DB 2021-06-26 16:48:05 +10:00
848c2b61cd fixed login code 2021-06-26 16:47:28 +10:00
f9d505a1b8 tweaked workers/threads, not sure what is best, but this will do 2021-06-26 16:46:38 +10:00
886776f737 Made saved users be in the DB, not in dict in memory of workers in gunicorn - otherwise we had BUG-39, and also added input validation to username to stop ldap injection on login form 2021-06-26 16:46:26 +10:00
2357ee9a3d FIXED: bug-39 - multiple logins 2021-06-26 16:44:41 +10:00
371e2af64b added python ldap / login pages 2021-06-26 09:20:11 +10:00
d1ed80bd35 finished move file work, updated change path / settings and symlink issues, and added user management todo 2021-06-24 17:34:59 +10:00
add702a1e2 code for making a new folder and moving content to it 2021-06-24 17:34:06 +10:00
0a5e837236 support multiple paths in move DBox via new StoragePathNames() function, and pass that through to jinja 2021-06-24 17:33:42 +10:00
a412164ef7 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:33:09 +10:00
173e1f0de7 whitespc 2021-06-24 17:32:48 +10:00
a45e07ef34 moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job 2021-06-24 17:31:47 +10:00
82f6b915de use bg-secondary for withdrawn jobs 2021-06-22 21:18:24 +10:00
6c3cdf79eb force the figcaption to break long words (even without spaces) 2021-06-22 21:06:24 +10:00
f4e8d5f9da fix BUG, that occurred when I switch to folder view with a broken path in the settings -- the init validation only kicks up a fuss if there are no valid import paths, but if one is broken - as in DEV, when I reference Cams dev area, it was causing a dir match for that path to be None - simple if to fix 2021-06-22 20:56:01 +10:00
83db6d492b fix bug I added when switching symlink create to init code, path_type was the id, not a string... use DB to get right val 2021-06-22 20:54:52 +10:00
5bca620006 only show error color on actual Fail, so New, etc. does not go red 2021-06-22 20:54:08 +10:00
b84c671690 use bootstrap to style job errors, not direct css 2021-06-22 20:02:23 +10:00
c8f82dbb6d move back to DEV settings, while we work on moving files for real 2021-06-22 19:51:11 +10:00
2543e6e935 fxied -BUG-35: when restarting paweb, symlinks not in static/, also moved longer-term piece into TODO 2021-06-22 19:50:54 +10:00
eb574e3c75 moved InitValidation checks to log to a Job to show errors in front-end, and moved the creation of the symlinks to the InitValidation so we can restart paweb docker container and it will recreate the symlinks in static without needing an import. Also added token highlighting of a failed job 2021-06-22 19:30:04 +10:00
9eb82bf1c3 added comment & TODO to recode SymlinkName one day 2021-06-22 18:42:03 +10:00
2d4f63212c added new TODOs while cleaning up / Bug-fixing 2021-06-22 18:34:14 +10:00
6a4d993440 fixed BUG-36: view details showing all entries -- its a bit crap as its only import dir, but its functional again 2021-06-22 18:32:10 +10:00
4dd5cd2f29 fixed BUG-36: view details showing all entries -- its a bit crap as its only import dir, but its functional again 2021-06-22 18:31:57 +10:00
f83228d244 BUG-37 fixed (fa-stack misalignment) 2021-06-22 18:13:30 +10:00
83c4bb5585 added some bugs 2021-06-22 18:13:12 +10:00
decbcaec9a file_{ip|sp|rbp} now use functions to view flat or folder, and consistently offer Oldest/Newest (per files) and A to Z, Z to A (dir and files)... folder view only does A to Z / Oldest as alpha sort for dirs (dirs dont currently contain date metadata, so unless I add it, it wont work and I dont really think its useful anyway)... BUT, its added to the TODO for another day 2021-06-22 18:01:15 +10:00
6da3b7f8a6 (hacked width in fa-stack css from font-awesome to force width:2em from 2.5em) to allow view by folder now has same width for back "button" 2021-06-21 18:26:49 +10:00
26cd851325 view by folder now has same width for back "button" (hacked width in fa-stack css from font-awesome to force width:2em from 2.5em) - also made figcation wrap to keep horizontal folder spacing - seems much neater 2021-06-21 18:26:18 +10:00