Commit Graph

17 Commits

Author SHA1 Message Date
aa826f6933 if > 100 logs, truncate them and add button to show all logs, and stop auto-refresh too 2021-07-03 12:29:19 +10:00
371e2af64b added python ldap / login pages 2021-06-26 09:20:11 +10:00
c2d0004537 fixed up a few issues found from linter 2021-03-19 18:00:44 +11:00
03ddbb1c90 display logs ordered by log_date 2021-02-17 21:35:53 +11:00
d9a94ff5da allow NewJob to have job extras added 2021-02-14 16:02:41 +11:00
ec4033e0fa order jobs by descending order, more useful to see newest at top 2021-01-25 10:44:13 +11:00
72a892fd17 added BUG-3 (import dir job on 1st run does not track num_files - even at end), and now have wakeup route expose in menu 2021-01-21 01:08:52 +11:00
021aeb69c7 use correct seqs and order jobs by id 2021-01-20 21:47:53 +11:00
4be0ef2a73 removed pass* from jobs 2021-01-20 16:34:56 +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
5c840273c2 added hidden route to wake up the job manager 2021-01-19 23:33:08 +11:00
3951b3e0a1 do not need to send any data down the client conn to wake up the pa_job_manager 2021-01-18 13:19:50 +11:00
507336c2b2 commented out sleep which I use for testing of active jobs/job refresh page, and re-title the job list html 2021-01-17 12:38:28 +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
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
e884accd0a renamed importlog* to job* -- in db, python and html 2021-01-14 21:47:12 +11:00