Commit Graph

9 Commits

Author SHA1 Message Date
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
9e5e74bcdb making this look usable on ipad and okay on larger desktop browser 2021-06-18 00:40:40 +10:00
e3dcce4a53 if we have current_file_num > 0 but dont know total in num_files, at least show count to show progress 2021-01-29 00:02:56 +11:00
f7a94f0b7d allow job log to have links embedded, and label num files when N/A better 2021-01-20 21:49:04 +11:00
0de95d56d5 fixed up JobExtra printout in class, also put it in job.py, and passed extras to templates/jobs.html to show the extra details on the jobs list page so we can see what path is imported for example 2021-01-20 00:05:56 +11:00
3a73b9546d KLUDGE around num_passes for now, jobs need a clean up before I finish the new wait_for jobs 2021-01-19 23:31:37 +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
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
e884accd0a renamed importlog* to job* -- in db, python and html 2021-01-14 21:47:12 +11:00