Commit Graph

1510 Commits

Author SHA1 Message Date
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
D. Berge
1a612f74d6 Refactor configuration methods in DB 2020-09-09 15:53:01 +02:00
D. Berge
c40a859efa Deal with Hydronav header fields overflowing.
Fixes #21.
2020-09-09 12:43:37 +02:00
D. Berge
351d2a474b Fix NTBP detection.
Fixes #25.
2020-09-08 18:36:30 +02:00
D. Berge
3c4ed6665c Reorder columns in sequence list 2020-09-08 17:46:25 +02:00
D. Berge
c0592cb72f Show correct sequence status.
Fixes #24.
2020-09-08 16:11:06 +02:00
D. Berge
0a547666e3 Fix filtering of events log.
Closes #22.
2020-09-07 17:23:00 +02:00
D. Berge
2db376e1cc Bubble errors in db.event.post 2020-09-06 23:26:12 +02:00
D. Berge
d285a63746 Remove debug statements 2020-09-06 21:00:06 +02:00
D. Berge
8411eea29d Stop race condition between multiple WebSockets.
Only one websocket should be active or initialising
at any one time.
2020-09-06 18:09:04 +02:00
D. Berge
513e6d6bc5 Fix Webpack development proxy configuration 2020-09-06 14:54:03 +02:00
D. Berge
906dcc6a7e Make event id serial rather than plain integer 2020-09-06 14:49:42 +02:00
D. Berge
4eb0a643c7 Merge branch '18-implement-server-push' into 'devel'
Resolve "Implement server push"

Closes #18

See merge request wgp/dougal/software!1
2020-09-06 12:30:33 +00:00
D. Berge
19ce158329 Import SmartSource header data.
Provided that the SmartSource headers are being
saved to file, and that the path to those files
is present in the survey configuration, we now
import SmartSource information as metadata in
raw_shots.meta->'smsrc'.

Closes #19.
2020-09-06 13:45:56 +02:00
D. Berge
c6285e881e Add function to delete data by file hash 2020-09-06 13:38:37 +02:00
D. Berge
3e949f6185 Add meta fields to schema.
Many tables now have a JSON (jsonb) column to
hold unstructured data.
2020-09-06 13:37:11 +02:00
D. Berge
1124a48e8c Add function to convert regex flags string to Python 2020-09-06 13:33:32 +02:00
D. Berge
2a835e0c02 Limit notification payload sizes to 8 Kb 2020-09-06 13:31:36 +02:00
D. Berge
9c20c4295f Make sequence, line, point getters return numbers if possible 2020-09-04 01:33:18 +02:00
D. Berge
8793f99648 Add lineStatus getter 2020-09-04 01:33:18 +02:00
D. Berge
5b21f57587 Adapt log for online shot input 2020-09-04 01:33:18 +02:00
D. Berge
45885c0081 Add gun info to map position 2020-09-04 01:33:18 +02:00
D. Berge
a253578a1b Make SmartSource header less verbose.
PostgreSQL NOTIFY has an 8,000 bytes payload limit
and we were going over that.
2020-09-04 01:33:18 +02:00
D. Berge
1a851fefdf Fix issue with protocol detection 2020-09-04 01:33:18 +02:00
D. Berge
5c8f8023d6 Remove debug statement 2020-09-04 01:33:18 +02:00