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
D. Berge
78aaacb8b3
Improve sequence list search
2020-09-02 11:09:04 +02:00
D. Berge
cf477c921e
Add data export task to bin/runner.sh
2020-09-02 09:08:10 +02:00
D. Berge
4c103fafca
Add system data export module.
...
It exports the data that is entered directly into
Dougal as opposed to being read from an external
source.
As of this commit, not all direct data is exported.
Specifically, sequence comments (raw and final),
sequence and shot NTBA and shot NTBP statuses are not
exported.
2020-09-02 09:07:06 +02:00
D. Berge
d683f00594
Implement SmartSource header parser
2020-09-02 08:59:22 +02:00
D. Berge
3864dd43f5
Force CRS for header outputs
2020-09-02 08:58:23 +02:00
D. Berge
0a2f0b0b60
Refactor save() so that we can force a specific CRS.
...
This was brought about due to the absence of CRS information
in the navigation header outputs. We get either unqualified
easting / northing or unqualified latitude / longitude, neither
of which happen to be WGS84.
This is not a good solution as it involves manual configuration,
but allows us to move forward for the time being.
2020-09-02 08:55:08 +02:00
D. Berge
ff2e30511c
Refactor save() call to pass in header.meta options
2020-09-02 08:54:16 +02:00
D. Berge
1f60ebae47
Make selection of headers to parse configurable
2020-09-02 08:52:49 +02:00
D. Berge
e9f62a420a
Only fetch real-time positions when layers are visible
2020-09-01 12:37:59 +02:00
D. Berge
7dbfb3ab6a
Change real-time position marker
2020-09-01 12:37:39 +02:00
D. Berge
bf896f71dc
Show also NTBP and in progress sequence statuses
2020-09-01 12:36:00 +02:00