D. Berge
246f01efbe
Report requested URLs and user data in debug mode
2023-11-02 23:52:15 +01:00
D. Berge
68bf853594
Add comments
2023-11-02 23:51:53 +01:00
D. Berge
4a18cb8a81
Remove useless code
2023-11-02 23:51:05 +01:00
D. Berge
c615727acf
Don't require authentication for the /version endpoint.
...
It will still hide the `db` and `os` values from non-admins though.
2023-11-02 23:48:46 +01:00
D. Berge
2e21526fca
Simplify versions handling
2023-11-02 23:47:13 +01:00
D. Berge
3709070985
Add a start script to package.json.
...
So that `npm start` will run.
2023-11-02 23:40:41 +01:00
D. Berge
2ac963aa4f
Update redoc-cli version
2023-11-02 20:23:04 +01:00
D. Berge
db7b385d66
Don't show logo on graph toolbar
2023-11-02 20:05:18 +01:00
D. Berge
d91a1b1302
Do show a legend for shots with final data.
...
Fixup for commit e4607a095b .
2023-11-02 20:03:57 +01:00
D. Berge
fa031d5fc9
Update API specification
2023-11-02 19:59:02 +01:00
D. Berge
620d5ccf47
Add /version API endpoint
2023-11-02 19:48:30 +01:00
D. Berge
f0fa2b75d5
Add more details to version() return value
2023-11-02 19:46:44 +01:00
D. Berge
46bb207dfb
Remove debugging artefact
2023-11-02 15:32:48 +01:00
D. Berge
f7a386d179
Merge branch '287-the-project_summary-view-is-too-slow' into 'devel'
...
Resolve "The `project_summary` view is too slow"
Closes #287
See merge request wgp/dougal/software!55
2023-11-02 14:29:35 +00:00
D. Berge
e4607a095b
Don't show a legend for points without gun data
2023-11-02 15:27:06 +01:00
D. Berge
4b0d42390f
Show a message if plotting a c-o with no final data
2023-11-02 15:26:37 +01:00
D. Berge
114e41557f
Don't show graph if there is no data
2023-11-02 15:25:45 +01:00
D. Berge
e605320503
Refresh shotlog on sequence change
2023-11-02 15:24:45 +01:00
D. Berge
6606c7a6c1
Do not show c-o for raw sequences
2023-11-02 15:24:28 +01:00
D. Berge
e3bf671a49
Also monitor raw_shots events
2023-11-02 15:23:45 +01:00
D. Berge
3e08dfd45b
Ignore shots without source data
2023-11-02 13:51:07 +01:00
D. Berge
f968cf3b3c
Bump the required database schema version
2023-11-02 13:25:34 +01:00
D. Berge
b148ed2368
Add refresh-project-summary periodic task.
...
It listens for events that might indicate that the project_summary
materialised view needs to be refreshed and schedules a refresh.
Refreshes are throttled to a maximum of one every throttlePeriod
milliseconds so that things don't get too crazy for instance when
importing a lot of data.
2023-11-02 13:25:34 +01:00
D. Berge
cb35e340e1
Change the periodic tasks interface to support an init() function.
...
When a task needs to keep state, it can do so via a closure.
2023-11-02 13:25:34 +01:00
D. Berge
6c00f16b7e
Add a refresh() method to db.project.summary
2023-11-02 13:25:34 +01:00
D. Berge
656f776262
Do not cache any responses containing cookies
2023-11-02 13:24:40 +01:00
D. Berge
e1b40547f1
Deconflict Webpack's dev-server websocket.
...
It uses /ws which is the same path Dougal uses.
Changing Dougal's path to something more imaginative requires
reconfiguring Nginx though.
2023-11-02 13:20:41 +01:00
D. Berge
98021441bc
Revert "Rename websocket /ws → /dougal-websocket."
...
This reverts commit 4a8d3a99c1 .
2023-11-02 13:18:37 +01:00
D. Berge
4a8d3a99c1
Rename websocket /ws → /dougal-websocket.
...
The Webpack dev server seems to really like /ws and ignores any
attempts to set a different path, so we just rename our websocket
instead.
2023-11-02 11:39:49 +01:00
D. Berge
7dee457fa1
Add FIXME comment
2023-11-02 11:38:27 +01:00
D. Berge
bccac446e5
Add polyfill for node:path so we can get basename()
2023-11-01 15:12:30 +01:00
D. Berge
535b3bcc12
Adapt to new Marked interface
2023-11-01 14:59:10 +01:00
D. Berge
11e84a7e72
Upgrade Node packages for frontend build
2023-10-31 22:41:37 +01:00
D. Berge
5ef55a9d8e
Add dark mode support for QC graphs.
...
Closes #159 .
2023-10-31 21:33:30 +01:00
D. Berge
f53e15df93
Merge branch '265-add-shotlog' into 'devel'
...
Resolve "Add shotlog"
Closes #265
See merge request wgp/dougal/software!54
2023-10-31 18:51:16 +00:00
D. Berge
cf887b7852
Upgrade Plotly
2023-10-31 19:49:40 +01:00
D. Berge
a917976a3a
Fix styling of the download button in the event log
2023-10-31 19:48:42 +01:00
D. Berge
c201229891
Add a link from the event log to the shotlog
2023-10-31 19:47:18 +01:00
D. Berge
7ac997cd7d
Add a link from the shotlog to the event log
2023-10-31 19:46:40 +01:00
D. Berge
08e6c4a2de
Restyle sequence list links to shot and event logs
2023-10-31 19:46:07 +01:00
D. Berge
2c21f8f7ef
Add some graphics to the shotlog
2023-10-31 19:15:43 +01:00
D. Berge
a76aefe418
Add graphing component for shotpoint timing visualisations.
...
It operates in one of these modes:
* facet="bars" (default): shows a barplot.
* facet="lines": shows a lineplot.
* facet="area": shows a lineplot where the area between the
line(s) and y=0 is filled with a colour.
2023-10-31 19:11:09 +01:00
D. Berge
8d825fc53b
Add graphing component for inline/crossline visualisations.
...
The component takes a list of shots and operates in one of these
modes:
* facet="scatter" (default): shows a scatterplot of every shot
where x is the crossline and y are the inline errors.
* facet="crossline": shows a line graph depicting the crossline
error along the line, x is the shotpoint and y is the crossline
error.
* facet="2dhist": shows the crossline error as a 2D histogram.
The z value is the density (number of samples in the bin) and
x and y are the bin centres.
* facet="c-o": provided that the shot data comes from a final
sequence, shows the difference between final and raw positions
along the inline / crossline axes.
2023-10-31 19:04:19 +01:00
D. Berge
b039a5f1fd
Expand unpack() to be more expressive
2023-10-31 19:03:10 +01:00
D. Berge
5c1218e95e
Add link to shotlog from sequence list
2023-10-31 10:34:51 +01:00
D. Berge
1bb5e2a41d
Implement the SequenceSummary component as a shotlog
2023-10-31 10:33:56 +01:00
D. Berge
1576b121e6
Force dev frontend to run on IPv4
2023-10-29 20:46:11 +01:00
D. Berge
a06cdde449
Fix mapGetters() in ProjectList
2023-10-29 20:38:58 +01:00
D. Berge
121131e910
Add control to filter out archived projects in ProjectList
2023-10-29 20:38:58 +01:00
D. Berge
9136e9655d
Return the archived project configuration value.
...
This value indicates whether the project should receive updates
from external sources.
2023-10-29 20:38:58 +01:00