D. Berge
b9c8069828
Add an error overlay.
...
Assinging to `error` on the Map componenent will cause an overlay
with an error <v-alert/> to be shown.
2025-07-27 11:03:26 +02:00
D. Berge
b80b8ffb52
Add cache option to api Vuex action.
...
It allows the caching and retrieval of requests using Cache API.
2025-07-27 11:01:34 +02:00
D. Berge
c2eb82ffe7
Modify view on map link
2025-07-26 19:14:29 +02:00
D. Berge
e517e2f771
Refactor map component.
...
Uses Deck.gl rather than Leaflet.
2025-07-26 19:13:58 +02:00
D. Berge
0afd54447f
Add SequenceDataLayer Deck.gl class.
...
It takes the typed arrays returned by the binary-encoded
endpoints.
2025-07-26 19:06:56 +02:00
D. Berge
e6004dd62f
Add link to binary library.
...
Same library is used server and client side.
2025-07-26 19:06:56 +02:00
D. Berge
f623954399
Adapt to new calling convention for Vuex action
2025-07-26 19:06:56 +02:00
D. Berge
f8d882da5d
Replace text parameter by format in Vuex API call.
...
Instead of { text: true } as a Fetch option, one can
now specify { format: "text" }, as well as any of these
other options, which call the corresponding Fetch method:
* "arrayBuffer",
* "blob",
* "formData",
* "json",
* "text"
2025-07-26 19:06:56 +02:00
D. Berge
808c9987af
Add binary format middleware for sequence data.
...
It responds to the MIME type:
application/dougal-map-sequence+octet-stream
2025-07-26 19:05:00 +02:00
D. Berge
4db6d8dd7a
Add custom binary format packing / unpacking.
...
This series of custom binary messages are an alternative to JSON /
GeoJSON when huge amounts of data needs to be transferred to and
processed by the client, such as a GPU-based map view showing all
the points for a prospect, or QC graphs, etc.
2025-07-26 19:05:00 +02:00
D. Berge
9a47977f5f
Improve help dialogue.
...
- Shows frontend and backend versions
- Shows version release notes
2025-07-26 10:59:40 +02:00
D. Berge
a58cce8565
Add /version/history endpoint to API.
...
Retrieves Git tag annotations.
2025-07-26 10:58:42 +02:00
D. Berge
5487a3a49b
Catch JWT expiration.
...
Closes #321
2025-07-26 10:56:23 +02:00
D. Berge
731778206c
Show front and backend version on help dialogue
2025-07-25 23:15:07 +02:00
D. Berge
08e65b512d
Inject frontend version as environment variable
2025-07-25 23:14:30 +02:00
D. Berge
9b05388113
Add database upgrade file 40
2025-07-25 21:17:20 +02:00
D. Berge
1b44389a1a
Allow configuring the API URL via environment variable.
...
The environment variable DOUGAL_API_URL takes precedence
over the hard-coded value. For instance:
DOUGAL_API_URL=http://127.0.0.1:2999 will cause /api to
be proxied to the above URL (websockets are correctly
handled too) instead of the default.
2025-07-25 20:08:38 +02:00
D. Berge
0b3711b759
Fix typo
2025-07-25 20:08:08 +02:00
D. Berge
5a523d4941
Make projects table sorted by default
2025-07-25 20:07:40 +02:00
D. Berge
122951e3a2
Fix expected DB version for upgrade 38
2025-07-25 18:11:19 +02:00
D. Berge
90216c12e4
Rename database upgrades
2025-07-25 18:08:47 +02:00
D. Berge
9c26909a59
Fix npm run scripts
2025-07-25 17:54:56 +02:00
D. Berge
0427a3c18c
Use Node workspaces to manage repo dependencies
2025-07-25 17:48:30 +02:00
D. Berge
c32e6f2b38
Make map API calls silent.
...
Otherwise we get spurious 404s and such.
2025-07-25 17:17:36 +02:00
D. Berge
546d199c52
Remove annooying Leaflet attribution control
2025-07-25 17:17:36 +02:00
D. Berge
6562de97b9
Make the CSS import from package not relative
2025-07-25 17:17:36 +02:00
D. Berge
c666a6368e
Fix copy/paste logic for lineNameInfo widget
2025-07-25 14:41:21 +02:00
D. Berge
d5af6df052
Merge branch '177-refactor-users-code' into 'devel'
...
Refactor users code
Closes #177 and #176
See merge request wgp/dougal/software!57
v2025.30.1
2025-07-25 12:26:39 +00:00
D. Berge
0c5ea7f30a
Merge branch '178-add-api-endpoints-for-user-management' into '177-refactor-users-code'
...
Add API endpoints for user management
See merge request wgp/dougal/software!58
2025-07-25 12:25:45 +00:00
D. Berge
302642f88d
Fix JWT renewal over websocket
2025-07-25 14:21:26 +02:00
D. Berge
48e1369088
Fix host based authentication
2025-07-25 14:03:43 +02:00
D. Berge
daa700e7dc
Add (temporarily disabled) menu option for vessel config.
...
The idea is to have a frontend access to a screen where duly
authorised users can modify vessel-wide configuration parameters.
2025-07-25 14:01:49 +02:00
D. Berge
8db2c8ce25
Use access rights mixin in Equipment view
2025-07-25 13:36:16 +02:00
D. Berge
890e48e078
Revert "Don't refresh projects if no user is logged in."
...
This reverts commit 3a0f720f2f .
2025-07-25 13:35:35 +02:00
D. Berge
11829555cf
Add <v-tooltip/> showing permissions.
...
Hovering over the user avatar or a project name in the breadcrumbs
shows a tooltip with the relevant permissions.
2025-07-25 13:33:59 +02:00
D. Berge
07d8e97f74
Fix Markdown functions in root component
2025-07-25 13:32:30 +02:00
D. Berge
fc379aba14
Silence errors when refreshing projects.
...
We use this endpoint also to do autologins, so HTTP 403's are not
unexpected.
2025-07-25 13:31:28 +02:00
D. Berge
8cbacb9aa7
Allow silencing API request errors.
...
The {silent: true} option in the new `opts` argument to the
`api` action does the trick.
2025-07-25 13:30:26 +02:00
D. Berge
acb59035e4
Add missing file
2025-07-25 13:29:39 +02:00
D. Berge
b7d0ee7da7
Remove dead code from the frontend
2025-07-25 11:02:24 +02:00
D. Berge
3a0f720f2f
Don't refresh projects if no user is logged in.
...
Avoids a 403.
2025-07-25 10:43:08 +02:00
D. Berge
6cf6fe29f4
Improve presentation of organisation component in project settings
2025-07-24 23:04:44 +02:00
D. Berge
6f0f2dadcc
Add "actions" slot to DougalOrganisations component
2025-07-24 23:04:15 +02:00
D. Berge
64fba1adc3
Add project permissions tooltip to breadcrumbs
2025-07-24 23:03:41 +02:00
D. Berge
3ea82cb660
Fix reading of credentials for issuing JWT
2025-07-24 23:03:05 +02:00
D. Berge
84c1385f88
Refactor class User (clean up)
2025-07-24 23:02:30 +02:00
D. Berge
b1b7332216
Add access mixin to Project and use in child component
2025-07-24 20:43:22 +02:00
D. Berge
8e7451e17a
Adapt the access rights mixin to new user management code
2025-07-24 20:42:25 +02:00
D. Berge
bdeb2b8742
Show organisation membership in user avatar
2025-07-24 20:41:07 +02:00
D. Berge
ccfabf84f7
Add user management page to frontend
2025-07-24 20:40:18 +02:00