D. Berge
30aa2c302e
Add graphic aesthetics
2021-09-11 12:38:12 +02:00
D. Berge
3eaa2757b9
Add Graphs tab to navigation bar
2021-09-11 12:19:06 +02:00
D. Berge
6f6af1bbc7
Add graphs/ route to client
2021-09-11 12:19:06 +02:00
D. Berge
019561229c
Add Graph component.
...
It displays a series of data plots.
2021-09-11 12:19:06 +02:00
D. Berge
e212dc8b92
Add unpack helper function to frontend.
...
Convenience function to extract a key from an
array of objects.
2021-09-11 12:19:06 +02:00
D. Berge
5c00013892
Add graphic library dependencies
2021-09-11 12:19:06 +02:00
D. Berge
1e5bdcc068
Add Vuex functions to load / save user preferences
2021-09-11 12:19:06 +02:00
D. Berge
a280a910f5
Add database upgrade file 07
2021-09-11 12:19:06 +02:00
D. Berge
45fe467a21
Implement sequence/get API endpoint.
...
It returns data for all individual points in a sequence.
2021-09-11 12:19:06 +02:00
D. Berge
8d3b7adc78
Show azimuths to two decimals in SeisJSON exports
2021-09-04 23:34:53 +02:00
D. Berge
079d3a18b0
Merge branch '131-show-missing-shots-in-sequence-reports' into 'devel'
...
Resolve "Show missing shots in sequence reports"
Closes #131
See merge request wgp/dougal/software!15
2021-09-04 21:32:44 +00:00
D. Berge
f0b1fc2fe6
Show missed shot events in HTML, PDF exports
2021-09-04 23:29:58 +02:00
D. Berge
987bdf6e21
Add option to export missing shots as SeisJSON events
2021-09-04 23:28:43 +02:00
D. Berge
1d3507b3a4
Export missing shots by default.
...
Unless explicitly requested by the user by setting the
option `missing` to `false`, a list of missing shotpoints
will be included in the SeisJSON file.
2021-09-04 23:19:25 +02:00
D. Berge
a82fc7bc8a
Recover from feed XML parsing error
2021-09-04 02:43:58 +02:00
D. Berge
29b3c9a250
Show azimuth to two decimals elsewhere too.
...
Related to #126 , might as well use two decimals throughout.
2021-09-02 01:18:47 +02:00
D. Berge
040c1ead96
Show azimuth to two decimal places.
...
In planner report template.
Closes #126 .
2021-09-02 01:17:40 +02:00
D. Berge
1c7bed0c15
Fix returning next planned sequence number.
...
If no sequences have been shot, return 1 instead of null as the
next available sequence number.
Fixes #125 .
2021-09-02 01:04:38 +02:00
D. Berge
dfcda1b2d9
Merge branch '103-24-hour-lookahead-planning-report' into 'devel'
...
Resolve "24-hour lookahead planning report"
Closes #103
See merge request wgp/dougal/software!13
2021-06-21 14:53:35 +00:00
D. Berge
b3aadfc33c
Merge branch '60-update-planner-as-sequences-are-shot' into 'devel'
...
Resolve "Update planner as sequences are shot"
Closes #60
See merge request wgp/dougal/software!12
2021-06-21 14:52:11 +00:00
D. Berge
d5980d9154
Add CSV planner output option
2021-06-19 19:04:05 +02:00
D. Berge
b5f2945c8b
Fix end time in plan HTML template
2021-06-19 15:43:04 +02:00
D. Berge
9bbffe2ae0
React to changes in planner remarks
2021-06-19 12:27:36 +02:00
D. Berge
09f60d6c18
Add database upgrade file 06
2021-06-19 12:23:25 +02:00
D. Berge
81d9ea19cc
Add adjust_planner() function to DB schema.
...
It updates the planned lines details according to production and current
time.
2021-06-19 12:18:28 +02:00
D. Berge
497d4d68f9
Call notify on changes to schema's info table
2021-06-19 12:17:26 +02:00
D. Berge
853deca3c3
Rename misnamed trigger
2021-06-19 12:16:37 +02:00
D. Berge
99f1530db3
Replace phone icon in template.
...
Strangely enough, the emoji icon seems to work reliably across
platforms.
2021-05-31 02:54:38 +02:00
D. Berge
b325ae3452
Let the user know when there are no planner comments
2021-05-31 02:47:20 +02:00
D. Berge
f97d334fe5
Improve the aesthetics of the planner remarks section
2021-05-31 02:41:58 +02:00
D. Berge
cb114f01cd
Add GUI support for downloading planner data.
...
Including HTML and PDF formats, which constitutes the lookahead report.
2021-05-31 02:29:50 +02:00
D. Berge
707df76b70
Add GUI support for saving planner remarks.
...
They get saved to `/project/:project/info/plan/remarks`.
2021-05-31 02:29:50 +02:00
D. Berge
bba050032f
Add POST, PUT, DELETE support to /project/:project/info.
...
It reuses the same backend functions as for the global `/info/` path.
2021-05-31 02:29:50 +02:00
D. Berge
594233c965
Add HTML & PDF planner output options.
...
Coupled with a suitable Nunjucks template, this is effectively the
24-hour (or whatever period of time) lookahead.
2021-05-31 02:29:50 +02:00
D. Berge
5795c1f87d
Add server-side map rendering component.
...
Based on our own fork of leaflet-headless.
2021-05-31 02:29:50 +02:00
D. Berge
ccd1852f65
Add Nunjucks rendered get filter.
...
Given an argument consisting of an array of objects and an attribute
name `attr`, it returns an array of all `attr` attributes.
2021-05-31 02:29:50 +02:00
D. Berge
17947df168
Modify Nunjucks rendered timestamp function.
...
* It accepts a `precision` parameter which truncates the timestamp to a
give precision. Can be `seconds`, `minutes`, `hours` or `days` / `date`.
* It tries to be more flexible in what it accepts as input.
* It accepts an input of "now" which returns the current timestamp. Can
be used along with `precision`.
2021-05-31 02:29:50 +02:00
D. Berge
041878096d
Accept a mime query parameter to force MIME type
2021-05-31 02:29:50 +02:00
D. Berge
ea3e31058f
Refactor the planned lines editing logic.
...
We move most of the logic from the client (as it was until now) to the
server.
The PATCH command maintains the same format but it should provide only
one of the following keys per request:
* ts0
* ts1
* speed
* fsp
* lsp
* lagAfter
* sequence
Earlier keys in the list above take priority over latter ones.
The following keys may be provided by themselves or in combination with
each other (but not with any of the above):
* name
* remarks
* meta
As a special case, an empty string as the `name` value causes the name
to be auto-generated.
See comments in the code `patch.js` for details on the update logic.
2021-05-28 20:30:59 +02:00
D. Berge
534a54ef75
Add database upgrade file 05
2021-05-28 20:30:59 +02:00
D. Berge
f314536daf
Change planned_lines trigger from statement to row.
...
Because a) it tells us what has changed and b) doesn't fire if we
didn't actually change anything.
2021-05-28 20:30:59 +02:00
D. Berge
de4aa52417
Make planned_lines primary key deferrable.
...
Helps when we need to renumber sequences.
2021-05-28 20:30:59 +02:00
D. Berge
758b13b189
Add saillines layer to map
2021-05-28 20:30:29 +02:00
D. Berge
967db1dec6
Include NTBA status in preplot GIS output
2021-05-28 20:29:57 +02:00
D. Berge
91fd5e4559
Ensure that timestamp is always a Date object
2021-05-27 17:50:01 +02:00
D. Berge
cf171628cd
Fix error in editing of planned line start time
2021-05-27 17:49:32 +02:00
D. Berge
94c29f4723
Change the sunset / sunrise times reported via the tooltip.
...
The icon still uses the lower edge of the sun to calculate day / night,
but the tooltip shows actual sunrise and sunset times.
2021-05-27 02:08:30 +02:00
D. Berge
14b2e55a2e
Remove edit controls from planner for read-only users.
...
Left over from #108 .
2021-05-27 01:32:03 +02:00
D. Berge
c30e54a515
Round vessel speeds to 0.1 kt
2021-05-27 01:09:28 +02:00
D. Berge
7ead826677
Show sunrise / sunset times in the planner.
...
* A ‘sun’ icon is shown when a line starts and ends in daytime
* A ‘moon’ icon is shown when a line starts and ends in nighttime
* A ‘sun/moon’ icon is shown in other cases
Sunrise and sunset times are provided as a tooltip when hovering over
the icon.
Closes #72 .
2021-05-27 01:02:42 +02:00