Commit Graph

60 Commits

Author SHA1 Message Date
5eb967c77f added foreign key constraint for file type in ENTRY 2021-01-19 17:30:51 +11:00
5285bf66ab alternate database structure with entry, (new_)file, dir works in terms of DB and SQL alchemy, tomorrow we rewrite the jobs to really use the new structure 2021-01-18 21:40:46 +11:00
ab3eff4e62 starting on new DB structure, with a new branch, with thoughts in TODO, file_types in tables.sql 2021-01-18 13:19:25 +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
f661cf0489 Fixed BUG-1 - timezone issues, by forcing alter database 2021-01-17 10:49:29 +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
34814236fc add pa_job_engine_id_seq 2021-01-15 16:57:27 +11:00
a8789e60fe first thoughts on pa_job_engine - to keep overall pa_job engine state, also a pa_job_state in each action also a wait_for so we can do basic handling of jobs and dependencies 2021-01-14 22:13:00 +11:00
348c9132f2 rename of files table to file, included settings defaults to make this work in DEV after rebuild of DB container 2021-01-14 21:57:53 +11:00
f7688badd1 created a tables.sql so program can run from a brand new docker / db 2021-01-14 21:46:12 +11:00