Commit graph

919 commits

Author SHA1 Message Date
Martin Hebnes Pedersen
2e6a8d14ba Bump version (v1.0.0) 2026-04-19 17:59:55 +02:00
Martin Hebnes Pedersen
c1f8b15338 pre-release script 2026-04-19 17:57:52 +02:00
Martin Hebnes Pedersen
6592fcf937 Limit prehook executable paths to the prehooks dir 2026-04-19 17:33:10 +02:00
Martin Hebnes Pedersen
ba089e05dd ci: docker workflow - upgrade actions 2026-04-05 13:06:23 +02:00
Martin Hebnes Pedersen
e74a202f24 ci: go workflow - upgrade actions 2026-04-05 13:03:26 +02:00
Martin Hebnes Pedersen
b6d5c8ade8 Use term.IsTerminal for terminal detection 2026-04-05 12:09:44 +02:00
Martin Hebnes Pedersen
43788c1b73 Replace howeyc/gopass with golang.org/x/term
github.com/howeyc/gopass was archived in 2021, which led to the debian
project to mark this as a release candidate bug (#1130525).

Resolves #517
2026-04-05 12:09:44 +02:00
Martin Hebnes Pedersen
7068f947ad ci: Only run govulncheck on the linux-native Go 1.x build 2026-04-05 11:54:07 +02:00
Martin Hebnes Pedersen
7f77b771f0 ci: Force local go toolchain for the Go 1.24 build
The point of this build is to ensure the project is able to build with
the toolchain available in debian stable (currently Go 1.24). Without
GOTOOLCHAIN=local, `go build` will automatically download a newer
toolchain if required, defeating the purpose of the test.
2026-04-05 11:46:45 +02:00
Martin Hebnes Pedersen
cca9779ec5 Update Go dependencies 2026-01-31 07:17:55 +01:00
Martin Hebnes Pedersen
98f9968bd5 Remove some deprecated config fields
- gpsd_addr: Use gpsd.addr instead.
- serial_tnc.baudrate: Use serial_tnc.hbaud instead.
2026-01-30 19:17:25 +01:00
Martin Hebnes Pedersen
68edaee8e9 docker: Resolve FromAsCasing
[ci skip]
2026-01-25 08:54:26 +01:00
Martin Hebnes Pedersen
ac744aca19 Update tmd710_tncsetup example in ax25.default
Resolves #209

[ci skip]
2026-01-25 08:38:24 +01:00
Martin Hebnes Pedersen
f4a48b2ed9 Fix various web config bugs
* Fix hamlib VFO selection
* Fix AX.25 engine Linux' options
* Add missing PACTOR init script wiring
* Remove defensive undefined handling causing bugs to go unnoticed
* Remove defaulted values (backend handles this)
* Remove PACTOR PTT Control (not supported)
* Remove AX.25 PTT Control (not supported)
2025-12-31 08:06:49 +01:00
Martin Hebnes Pedersen
0d32898036 Fix serial-tnc's "type" default value and options
This field is only for documentation purposes. The only valid value is
'kenwood', to clearly demonstrate that the serial-tnc transport has only
been tested with Kenwood TNCs.
2025-12-31 07:58:04 +01:00
Martin Hebnes Pedersen
503543f603 Remove obsolete serial-tnc rig field from config 2025-12-31 07:57:07 +01:00
Martin Hebnes Pedersen
01f8a273d5 Minor cli refactor and some more tests 2025-12-31 07:54:31 +01:00
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
53058b982c Fix panic on invalid schedule expressions 2025-12-29 12:11:11 +01:00
Martin Hebnes Pedersen
2ba7bbcb74 Fix schedule handling in web config ui 2025-12-29 12:07:37 +01:00
Martin Hebnes Pedersen
111fc9516d Fix bfcache restoration issues in web config ui 2025-12-29 12:04:47 +01:00
Martin Hebnes Pedersen
d6566c0657 Fix "Back to mailbox" in web config ui
The previous solution did work well on small screens. This simplifies all
that by removing the unnecessary green status light and Configuration
branding.
2025-12-29 11:46:55 +01:00
Martin Hebnes Pedersen
8061aa4494 Bump version (v0.19.2) 2025-12-20 12:48:18 +01:00
Martin Hebnes Pedersen
cdf4beb8fd pre-release script
* Built web assets
* Updated bundled data (silso and gateway list)
2025-12-20 12:48:18 +01:00
Martin Hebnes Pedersen
10f9e9c31f Avoid hardcoding executable name in make.bash
That incorrectly produced `pat` instead of `pat.exe` on Windows.
2025-12-20 12:45:31 +01:00
Martin Hebnes Pedersen
52625bdfaf web config: Fix rig selection reset on save
Resolves #505
2025-11-22 12:28:46 +01:00
Martin Hebnes Pedersen
d6411a33eb wl2k-go @ v1.0.1
Removes the FW_AUX_ONLY_EXPERIMENT.

Resolves #504
2025-11-01 21:45:55 +01:00
Martin Hebnes Pedersen
80a19c174e Remove legacy // +build comments
Only required for Go 1.16 or older (which we no longer support)
2025-10-31 12:35:23 +01:00
Martin Hebnes Pedersen
d73c5ec057 Fix VOACAP midnight edgecase
VOACAP uses 1-24 instead of 0-23 to represent hours.
2025-09-26 15:01:34 +02:00
Martin Hebnes Pedersen
896c37d77e wl2k-go @ v1.0.0
No notable changes in that release other than updated deps and Go 1.24
requirement.
2025-09-20 06:40:50 +02:00
Martin Hebnes Pedersen
d7890d96de Switch to containerized web asset build pipeline
For sandboxing and improved reproducibility, build the web assets in
docker.
2025-09-19 21:31:40 +02:00
Martin Hebnes Pedersen
8d20b92153 Remove image optimization step in web build stage
Resolves an issue with non-producable builds, and also removes a lot of
npm dependencies.

We only bundle a single image, and the original is less than 20 kB
already.
2025-09-19 11:47:43 +02:00
Martin Hebnes Pedersen
23a44f397a Rewrite directories.IsInPath to use os.Root 2025-09-18 15:22:30 +02:00
Martin Hebnes Pedersen
706b2d21ba Add test for directories.TestIsInPath 2025-09-18 15:21:42 +02:00
Martin Hebnes Pedersen
ed6d6fde10 Add verbose option to version command
Prints all modules that the build consists of.
2025-09-18 11:57:07 +02:00
Martin Hebnes Pedersen
35e8a92822 GH Actions: Add govulncheck step 2025-09-18 10:05:50 +02:00
Martin Hebnes Pedersen
b7df4198f0 Remove legacy buildinfo gitrev mechanism 2025-09-18 10:00:35 +02:00
Martin Hebnes Pedersen
4946b14a2c Add pre-release command in make.bash
To help with chores prior to a new release. Includes govulncheck to
check for vulnerabilities in the Go code (including dependencies).
2025-09-17 21:23:21 +02:00
Martin Hebnes Pedersen
9f328f76b0 Separate debug flag for propagation logging 2025-09-17 10:19:19 +02:00
Martin Hebnes Pedersen
94a561ad3e Bump version (v0.19.1) 2025-09-13 17:22:05 +02:00
Martin Hebnes Pedersen
4811996dac Build web assets 2025-09-13 17:20:50 +02:00
Martin Hebnes Pedersen
dd8598a1d9 Fix Reply All button accumulating event handlers
Resolves #501
2025-09-13 16:51:49 +02:00
Martin Hebnes Pedersen
c71cfaf87f Revert "Temporarily disable prompt to defer OTA activation"
Ref #491

CMS was recently patched to resolve the issue. The auto-generated
passwords will no longer take effect until the OTA activation message
has been downloaded.

This reverts commit e1354901a7.
2025-09-12 09:44:16 +02:00
Martin Hebnes Pedersen
3c77d9b0ee Update GH Actions' minimum Go version 2025-09-04 11:49:16 +02:00
Martin Hebnes Pedersen
e7e817e4fd Cleanup 2025-09-04 11:47:20 +02:00
Martin Hebnes Pedersen
063c15f38f Require Go 1.24 (and update deps) 2025-09-04 11:47:20 +02:00
Martin Hebnes Pedersen
006a6895c5 Search brew prefix for voacapl data dir 2025-09-04 11:38:54 +02:00
Martin Hebnes Pedersen
0f75049ee6 Debug log voacap init error if autodetect failes 2025-09-04 09:57:17 +02:00
Martin Hebnes Pedersen
aee71b0a98 Search share folders for voacapl data dir
Removes the need to run makeitshfbc after voacapl installation.

* /usr/share/voacapl/itshfbc/
* /usr/local/share/voacapl/itshfbc/
2025-09-04 09:55:11 +02:00
Martin Hebnes Pedersen
247e64164e Handle interrupt (ctrl+c) in configure 2025-09-03 19:01:01 +02:00