Commit graph

37 commits

Author SHA1 Message Date
Martin Hebnes Pedersen
e508975ee6 Use original if resize did not reduce image size 2026-04-22 21:30:54 +02:00
Martin Hebnes Pedersen
9d476c4262 Add support for PNG and BMP convertion 2026-04-22 21:27:38 +02:00
Martin Hebnes Pedersen
8534491e8f Switch from nfnt/resize to golang.org/x/image
nfnt/resize was archived in 2022.
2026-04-22 20:59:18 +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
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
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
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
e7e817e4fd Cleanup 2025-09-04 11:47:20 +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
ec6a1870e9 Add some tests 2025-09-01 13:28:41 +02:00
Martin Hebnes Pedersen
6760cbcf63 Pass automatic locator updates to forms manager 2025-08-31 18:55:35 +02:00
Martin Hebnes Pedersen
343c19577b Fix AX.25 heard regression 2025-08-27 18:56:15 +02:00
Martin Hebnes Pedersen
3e68a6e326 Resolve placeholder in connect uri on connect
Previosly this was done on app startup, but that won't work now that we
support CRUD operations on the aliases during runtime.
2025-08-22 19:25:04 +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
847542fdb1 Add automatic locator updates from GPSd
Implements hourly polling of GPSd to automatically update the locator field
in-memory based on current GPS position. This eliminates the need for manual
locator updates when operating from different locations.

The feature is opt-in via the new 'update_locator' config option and only
updates the in-memory locator value - the config file remains unchanged.
2025-08-19 20:51:12 +02:00
Martin Hebnes Pedersen
70c573af76 Add voacap-api engine
Mainly to be able to run VOACAP in a separate docker container.

Issue #494
2025-08-13 15:01:47 +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
b388dde362 Log to stderr (and the log file) 2025-08-11 08:51:20 +02:00
Martin Hebnes Pedersen
e1354901a7 Temporarily disable prompt to defer OTA activation
Also adjust the pre-connect prompt to be even more dramatic about the
consequences of over-the-air activation.

Ref #491 and #445
2025-07-02 19:18:13 +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
d4afe76a75 Prompt before accepting "Your New Winlink Account"
Ref #491 and #445
2025-06-29 19:21:39 +02:00
Martin Hebnes Pedersen
3f684b0852 Log system messages and received account password
This will hopefully better communicate to new users that are testing Pat
that an account was activated and they should store their password
safely.

Ref #491 and #445
2025-06-27 19:55:53 +02:00
Martin Hebnes Pedersen
85fca6ccf2 Add init command with API-based account creation
Ref #491
2025-06-25 21:00:29 +02:00
Martin Hebnes Pedersen
8eafa11f44 Fix unresponsiveness when initializing listeners 2025-06-24 18:57:31 +02:00
Martin Hebnes Pedersen
9bc6ac22b1 Refactor reload handling 2025-06-22 20:22:37 +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
7fb24d2335 Properly close hamlib rigs 2025-06-22 06:42:09 +02:00
Martin Hebnes Pedersen
5da5cf6770 Fix panic on Close after version cmd 2025-06-21 17:18:18 +02:00
Martin Hebnes Pedersen
e99029b644 Properly close prompt hub 2025-06-21 17:14:18 +02:00
Martin Hebnes Pedersen
45695ba753 Properly close log file 2025-06-20 19:43:43 +02:00
Martin Hebnes Pedersen
d0c8a57c86 Properly close websockets 2025-06-20 19:33:45 +02:00
Martin Hebnes Pedersen
713d20a491 Call app.Close from main 2025-06-20 12:58:25 +02:00
Martin Hebnes Pedersen
07391c2b55 Busy channel detect for VARA (FM and HF)
Resolves #387
2025-06-18 19:49:50 +02:00
Martin Hebnes Pedersen
e69745e051 Move signal handling to main 2025-06-17 09:14:34 +02:00
Martin Hebnes Pedersen
c266e0b52d Improve busy-channel prompt
Ref discussion n8jja/Pat-Vara#44
2025-06-15 14:16:39 +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