Commit Graph

24 Commits

Author SHA1 Message Date
c2d0004537 fixed up a few issues found from linter 2021-03-19 18:00:44 +11:00
b9dea327d0 use pagesize not page_size, and pass it in based on job extras, also use path based on job extras, so we fix issue of fix_dups not knowing which path from settings was used (import or storage) 2021-03-06 11:45:21 +11:00
e19e1b57f8 add extension so that break from loop works 2021-03-03 22:04:23 +11:00
Damien De Paoli
a82226b082 use DB_URL from shared 2021-02-27 10:57:27 +11:00
96bcada5c5 CreateSelect() in py called in jinja to neaten up selects 2021-02-02 00:18:52 +11:00
31d45e80b6 moved over to new ENTRY based data structures for loading from DB and viewing content 2021-01-19 17:33:10 +11:00
0e01b132ab removed debug 2021-01-18 10:53:28 +11:00
c5d8811671 actually create a job for scan now, and let the job manager do the work and send back output via new PA_JobManager_FE_Message table 2021-01-17 10:50:43 +11:00
e138ab22aa git commit, converted over to base.html pulling Status*, rather than every render_template calling it. Tightened up naming for job manager, fixed a few bugs in there with items like div by zero, created the active jobs link/badge in navbar, have it invoked each time by base.html template and it gets active jobs from DB, pa_job_manager now initiliases from an empty DB and can work out where it is at, no loop/thread/or actual job code yet. jobs.py has basics of a NewJob(), so next step is to force that job to be executed in pa_job_manager, but its tea time 2021-01-16 17:51:16 +11:00
Cam
588980a260 Added the ability to add a reference image to a person, and connect the two in the db 2021-01-15 16:55:12 +11:00
a93f9e1da8 changed files table to file to be consistent with other tables in the db 2021-01-14 21:58:20 +11:00
e884accd0a renamed importlog* to job* -- in db, python and html 2021-01-14 21:47:12 +11:00
3684f279e4 first pass of import logging, its not being used, data is in real tables, but faked. will probably have to switch to gunicorn and threading to allow import and serving pages when we use slower AI routines 2021-01-14 00:15:54 +11:00
ed3a85b8f0 added reference image class, also tweaked DB classes to have foreign keys, so you cant delete a person connected to a file (tested). Also made refimg class do some quirky bootstrap/jquery to get file dialogs not looking like crap 2021-01-12 23:58:12 +11:00
a3a95f636e now have a Person class & associated CReate/Update/Delete functions, and menu in base.html 2021-01-12 21:51:33 +11:00
ccc8085aaf changed Photo class and DB table to be Files, also reflected through templates/files* - files.html is not used yet 2021-01-11 11:00:31 +11:00
1afb794bb8 first pass at seeing if path exists 2021-01-10 16:11:24 +11:00
cf1adb3e6e made settings work lamely, but functional for now, also removed test route 2021-01-10 15:46:41 +11:00
64d3e3e4cd Settings class now uses sequence, the DB sequence and table have been created and commented out a simple settings addition for now -- Beware it runs twice with Flask in DEV mode 2021-01-10 13:41:36 +11:00
0bbed0ced5 renamed ClearMessage to better name of ClearStatus, and exposed it to jinja2 so status messages now work in base.html 2021-01-10 12:17:14 +11:00
7a0d9ec165 updated base.html to have a appropriate navbar, use Status class and a quick test route in main 2021-01-10 12:07:50 +11:00
Cam
686cc5daca added base app.route, and a templates folder with a base.html 2021-01-10 11:57:12 +11:00
BuildTools
58871299a2 fix your grammar 2021-01-10 11:41:31 +11:00
d375bbe1e3 Initial commit of our brand new photo assistant 2021-01-10 11:39:14 +11:00