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
D. Berge
a167d4954c
Use server notifications on map.
...
The real-time position is pushed via a websocket rather
than pulled at regular intervals.
2020-09-04 01:33:18 +02:00
D. Berge
34dfb4f862
Add websocket client to receive event notifications.
...
These are saved in the Vuex store and can be retrieved
via the `serverEvent` getter. There are also some
convenience getters for retrieving line status.
2020-09-04 01:33:18 +02:00
D. Berge
52907921f1
Add websocket server to emit DB notifications
2020-09-04 01:33:18 +02:00
D. Berge
8c6d4e69ac
Send notification on real_time_inputs insert
2020-09-04 01:33:18 +02:00
D. Berge
8800666380
Send notification on project insert/update/delete
2020-09-04 01:33:18 +02:00
D. Berge
0cdff4c493
Add notification trigger function to DB
2020-09-04 01:33:18 +02:00
D. Berge
a9a084b531
Cope with prospect detection not working during approach / runout
2020-09-04 01:31:39 +02:00
D. Berge
0fc795d1c4
Add commit after copy_from calls
2020-09-03 17:08:25 +02:00
D. Berge
c7cee0b822
Associate correct schema when recreating a survey
2020-09-02 18:58:50 +02:00
D. Berge
fb947dcf9f
Run exports before database upgrade
2020-09-02 18:58:24 +02:00
D. Berge
0cd1b30e29
Let create_survey take an explicity schema name
2020-09-02 18:57:42 +02:00
D. Berge
19c0562888
Ensure we don't try to connect to a non-existing database
2020-09-02 16:52:33 +02:00
D. Berge
ffd021a23e
Ensure we're not using the database we're about to drop
2020-09-02 16:39:49 +02:00
D. Berge
faf1a0d83f
Add database upgrade scripts (WIP)
2020-09-02 15:05:43 +02:00
D. Berge
f708410e47
Conditionally enable / disable system import / export
2020-09-02 15:05:43 +02:00
D. Berge
a8830c9a05
Add system data import module
2020-09-02 15:05:43 +02:00