Commit Graph

334 Commits

Author SHA1 Message Date
D. Berge
2bd4b895b7 Save item id in results 2020-09-20 17:08:15 +02:00
D. Berge
1f837b12df Save item type in results.
Not sure if this is actually used though.
2020-09-20 17:05:32 +02:00
D. Berge
5324a71523 Fix assignment of _id values to tests 2020-09-20 17:04:13 +02:00
D. Berge
ae0052de0c Add id to QC tests.
Each test has to have a unique id, in order that
we can associate results and labels with them and
cope with reorganisation of the QC tree.
2020-09-20 17:00:52 +02:00
D. Berge
92f15d00de Check for Notifications in the window object 2020-09-19 14:48:03 +02:00
D. Berge
b58dfc847a Adapt footer to small viewports 2020-09-15 03:06:31 +02:00
D. Berge
6c582e6b4b Notifications control: cancel waiting state if switched off 2020-09-15 03:02:12 +02:00
D. Berge
47166b65e0 Adapt footer to small viewports 2020-09-15 02:54:48 +02:00
D. Berge
f32066695e Add notifications control.
Experimental. Pushes updates of interest (currently
new / changed log entries) via the Notifications API.
Can be enabled or disabled by the user at any time.
2020-09-15 02:41:05 +02:00
D. Berge
3d091eec53 Adapt to small viewports 2020-09-15 02:40:19 +02:00
D. Berge
00e00a2ae6 Change page title 2020-09-15 00:39:46 +02:00
D. Berge
0bbe29febc Make QC tab more mobile friendly.
Closes #38.
2020-09-14 23:58:26 +02:00
D. Berge
d93c70b9eb Make log reactive.
Automatically reloads when events have been changed.
2020-09-14 23:56:30 +02:00
D. Berge
946e05c283 Add project schema to Vuex state 2020-09-14 23:55:46 +02:00
D. Berge
94c3ed1584 Update schema.
* Report also schema in projects_summary
* Add notify triggers to events_timed, events_seq
2020-09-14 23:54:48 +02:00
D. Berge
5980b7d231 Implementation of QC qualification UI (non-functional).
This commit implements a possible interface for QC
qualifications, with a mechanism to override QC results.

As of this commit, no changes are saved to the backend.
2020-09-14 20:48:27 +02:00
D. Berge
ffcc3ef8cb Remove dead code 2020-09-14 20:46:56 +02:00
D. Berge
1348eb9a8a Rename QCFail label to QC 2020-09-14 20:45:34 +02:00
D. Berge
4b3a254119 Ensure labels are unique 2020-09-14 14:06:49 +02:00
D. Berge
5a96701e46 Use labels from preset remarks 2020-09-14 13:46:46 +02:00
D. Berge
165640599c Highlight clicked row in sequence list.
Clicking again unhighlights.

Closes #36.
2020-09-14 11:36:37 +02:00
D. Berge
c9b9a009af Speed up the events view.
We do this with the help of some denormalisation
and a handy trigger.

Closes #35.
2020-09-14 03:01:55 +02:00
D. Berge
b5b91d41c9 Reset event serial ids after re-import.
When the database is recreated, the sequences
used in the events_timed and events_seq tables
will be at their initial values, which will
almost certainly conflict with existing data
when it is imported via COPY.

With this commit, we set the current value for
those sequences to something usable.

Fixes #33.
2020-09-14 01:36:40 +02:00
D. Berge
53077f0baf Remove logging statement 2020-09-13 17:30:25 +02:00
D. Berge
d45e17fce3 Add scripts to launch Dougal services in production 2020-09-13 15:35:36 +02:00
D. Berge
225c710142 Allow taking JWT secret from environment in production 2020-09-13 15:02:58 +02:00
D. Berge
da7a977c59 Change definition of Preplot QC objects 2020-09-12 22:25:45 +02:00
D. Berge
13d4771589 Add description of QC tests 2020-09-12 22:07:08 +02:00
D. Berge
52cdc8904b QC: Add gun deltas warning check 2020-09-12 21:22:34 +02:00
D. Berge
69f43c129b Remove spurious line from QC definition 2020-09-12 21:22:13 +02:00
D. Berge
8a5d103754 Fix typo 2020-09-12 20:59:20 +02:00
D. Berge
1d3d202d1f QC: change threshold of inline moving average check 2020-09-12 19:56:34 +02:00
D. Berge
cd76df9329 QC: check inline position shot by shot 2020-09-12 19:56:00 +02:00
D. Berge
5e130c3e42 QC: measure gun not manifold pressure 2020-09-12 19:54:01 +02:00
D. Berge
7b0bcb5256 Report timestamp when QCs were last run 2020-09-12 19:53:20 +02:00
D. Berge
6d5167c052 Add more QCs 2020-09-12 19:17:14 +02:00
D. Berge
ea34bbc7bb Let the user know if there are no QCs 2020-09-12 19:16:41 +02:00
D. Berge
b28224475e Make style scoped 2020-09-12 19:16:18 +02:00
D. Berge
17d8041945 Update standard QC definitions + parameters 2020-09-10 23:36:13 +02:00
D. Berge
c82caa1d1f Add QC view to web interface.
This commit implements most of what is required
by #23, with the exception of labels processing
as stated in https://gitlab.com/wgp/dougal/software/-/issues/23/designs/20200908_101516.jpg#note_408968681
2020-09-10 23:27:53 +02:00
D. Berge
606f1b8125 Export QC results to text files.
Script meant to be run by runner.sh, either directly
or via an intermediate script that consolidates all
the user outputs in one place.
2020-09-10 23:24:11 +02:00
D. Berge
8841ffc10b Add QC definitions and parameters for Siddis surveys.
These are incomplete but meant to serve as a starting
point for other projects.
2020-09-10 23:20:58 +02:00
D. Berge
a596a3be48 Implement QC routine.
Even though for practical reasons it's inside lib/www
this is meant to be run by bin/runner.sh at regular
intervals and refresh the QC data. This is a work
in progress. This version does not process or produce
labels, it doesn't create events in the event log and
it doesn't do online data, amongst other things.
2020-09-10 23:18:28 +02:00
D. Berge
bda11cc22f Add raw_shots_preplots view.
Used by the QC routines.
2020-09-10 20:50:08 +02:00
D. Berge
48f2931a13 Change type of info table value to JSONB 2020-09-10 20:49:39 +02:00
D. Berge
d192eb3668 Add CRUD operations for project info table 2020-09-10 20:39:06 +02:00
D. Berge
3b5b200f08 Change address of system exports path 2020-09-10 20:37:52 +02:00
D. Berge
08656a0b5e Fix reversed actions in calendar 2020-09-10 02:19:46 +02:00
D. Berge
5fdd84fadf Change style of raw data columns in sequence list 2020-09-10 02:19:07 +02:00
D. Berge
db25878fdd Add info API endpoint.
It queries a project's `info` table.
2020-09-09 15:55:04 +02:00