Commit graph

18 commits

Author SHA1 Message Date
Martin Hebnes Pedersen
946a91fcc4 Move embedded web assets to web package
The embedded filesystem was in package main, making it inaccessible to
alternative main packages that need to serve the HTTP interface. Moving
the embed directive and web handlers to a dedicated web package allows
any package to import and use the web UI functionality.

This also improves separation of concerns by isolating static file
serving, template handling, and dev server proxying in a single package,
and simplifies the API by removing the staticContent parameter from
NewHandler.

Ref #512 and #15
2025-12-30 09:59:16 +01:00
Martin Hebnes Pedersen
063c15f38f Require Go 1.24 (and update deps) 2025-09-04 11:47:20 +02:00
Martin Hebnes Pedersen
8bf90f7abc Add missing return in DELETE error case of aliases 2025-08-30 09:45:46 +02:00
Martin Hebnes Pedersen
9dc1645cab Add API endpoint for updating Connect Aliases
Issue #465 and #339
2025-08-21 09:09:18 +02:00
Martin Hebnes Pedersen
5f80354d6f Disallow enabling GPSd HTTP Proxy via web gui 2025-08-20 19:21:13 +02:00
Martin Hebnes Pedersen
fbee011b6c Ability to set locator from GNSS in web gui config
Same method as for postion reports: Use GPSd if available, otherwise
HTML5 Geolocation API.
2025-08-20 19:01:31 +02:00
Martin Hebnes Pedersen
68d861c31b Sort by dist in web gui if few prediction results
Issue #494
2025-08-13 15:03:56 +02:00
Martin Hebnes Pedersen
8b09160457 Integrate prediction into rmslist
Enabled by default if voacapl or voacapw is found on the system.
Configuration options are available for advanced setup.

Issue #494
2025-08-12 19:24:01 +02:00
Martin Hebnes Pedersen
9f22229f0d Prompt to create new account before connecting
Ref #491 and #445
2025-07-01 08:46:05 +02:00
Martin Hebnes Pedersen
ebb615ae64 API to check/register Winlink account 2025-06-30 06:54:51 +02:00
Martin Hebnes Pedersen
d4afe76a75 Prompt before accepting "Your New Winlink Account"
Ref #491 and #445
2025-06-29 19:21:39 +02:00
Martin Hebnes Pedersen
2b7a2eeb2e Password recovery email reminder in the web gui
Ref #491 and #445
2025-06-27 13:20:44 +02:00
Martin Hebnes Pedersen
93fc985420 Reload frontend on config changes
Closes #6
2025-06-22 20:14:20 +02:00
Martin Hebnes Pedersen
13f1a101d7 Add live-reload functionality to web config 2025-06-22 18:59:12 +02:00
Martin Hebnes Pedersen
d0c8a57c86 Properly close websockets 2025-06-20 19:33:45 +02:00
Martin Hebnes Pedersen
6ea104f172 cleanup 2025-06-17 09:12:28 +02:00
Martin Hebnes Pedersen
e9bf5ea090 Move mailbox handlers to separate file 2025-06-17 06:05:37 +02:00
Martin Hebnes Pedersen
6ae942e13b Refactor to prepare for hot reloading of config
* Remove singletons
* Split into app, cli and api packages

Ref #6
2025-06-14 07:50:42 +02:00