Commit graph

646 commits

Author SHA1 Message Date
Martin Hebnes Pedersen
77cc83bdc1 Support config overrides using env variables
Override configuration values by setting PAT_* environment variables.
This is handy when deploying a containerized/scripted setup.

Syntax examples:
* PAT_MYCALL=LA5NTA
* PAT_ARDOP_ADDR="host:port"
2023-11-05 07:08:14 +01:00
Martin Hebnes Pedersen
230e2cfc7f wl2k-go@v0.11.8 (FW_AUX_ONLY_EXPERIMENT)
Ref issue #428
2023-11-04 12:39:50 +01:00
Martin Hebnes Pedersen
60dac56b07 Include Root CA certificates in Docker image
Needed for various API calls. Avoids having to mount from host.
2023-10-27 21:35:03 +02:00
Martin Hebnes Pedersen
8da571982a wl2k-go@v0.11.7 (fix hamlib vfo mode)
Resolves #427
2023-10-27 21:18:03 +02:00
Martin Hebnes Pedersen
f0df19a6af go fmt ./... 2023-10-21 13:10:19 +02:00
Martin Hebnes Pedersen
c76b66012e vara@v1.1.4
Updated dependencies
2023-10-21 13:07:03 +02:00
Martin Hebnes Pedersen
5f728122e2 ci: Push docker images only when new tag is pushed
... but run the pipeline on release/* branches, so we can verify that
they build before merging to master and tagging.
2023-10-18 22:21:19 +02:00
Martin Hebnes Pedersen
a02a25cb07 Merge branch 'master' into develop 2023-10-18 21:57:17 +02:00
Martin Hebnes Pedersen
2b23ce295b wl2k-go@v0.11.6 (requires Go 1.19)
* fbb: Ignore leading whitespace when parsing msg
* Update dependencies (requires Go 1.19)
2023-10-18 20:57:41 +02:00
Chris Keller
4f1b7e5bcd Update node version and transitive deps 2023-10-18 18:39:10 +00:00
Martin Hebnes Pedersen
0f183d03d6 Fix incorrect time layout strings for UTC variants
The reference date is MST (seven hours west of GMT). This is a very
common mistake when constructing formatting strings to be used with
time.Format.

Since we converted all dates that includes zone information to UTC
*before* outputting in Z time, this bug did not affect the output
strings. But it's best to use the correct reference time anyway, in case
we later add a string representation including zone information that is
not UTC.
2023-10-16 13:55:02 +00:00
Martin Hebnes Pedersen
2f30d0f033 Refactor date parsing in forms and add tests 2023-10-16 13:55:02 +00:00
Martin Hebnes Pedersen
efb7eaa535 Use metadata-action@v5 and run for this branch 2023-10-15 13:35:17 +02:00
Martin Hebnes Pedersen
eda9ead811 Push to Docker Hub 2023-10-15 13:23:02 +02:00
Martin Hebnes Pedersen
8bf6162472 Add Dockerfile and docker-compose.yml 2023-10-15 12:39:49 +02:00
Martin Hebnes Pedersen
49bb71fad5 Cleanup of HTTP routing
No need to use both gorilla's mux and http's ServeMux.
2023-10-13 23:06:04 +02:00
as3ii
b62dbc787b fix tests and compilation with TAGS=libhamlib 2023-10-07 14:26:32 +02:00
Martin Hebnes Pedersen
8da9a16c3a wl2k-go@v0.11.5 (libhamlib v4.2 compatibility)
* libhamlib v4.2 compatibility (ref pr #423)
* mailbox: Remove warning on missing file extension
* catalog: Improve position report's Course
2023-10-07 12:12:59 +02:00
Martin Hebnes Pedersen
6b75f18b78 Only attach Forms XML if a viewer file is defined
Resolves #420
2023-09-22 20:26:17 +02:00
Martin Hebnes Pedersen
a1555a96f9 vara@v1.1.3
Resolves #417
2023-07-31 20:19:18 +02:00
Martin Hebnes Pedersen
13448c89e3 Don't attempt to convert SVG attachments
Resolves #419
2023-07-24 19:27:02 +02:00
Martin Hebnes Pedersen
ca015382d1 fsnotify cleanup 2023-06-16 21:37:18 +02:00
Martin Hebnes Pedersen
2f6fd4de4e Close VARA modem before re-initializing 2023-06-14 21:22:16 +02:00
Martin Hebnes Pedersen
ae8ce001d3 Bump version (v0.15.0) 2023-06-10 13:15:41 +02:00
Martin Hebnes Pedersen
32af057ca3 vara@1.1.2 (bug fix) 2023-06-10 13:14:28 +02:00
Martin Hebnes Pedersen
86f28094e6 Print VARA version on initialization 2023-05-29 20:35:41 +02:00
Martin Hebnes Pedersen
f853c3543a Set VARA HF bandwidth on modem initialization 2023-05-29 20:32:40 +02:00
Martin Hebnes Pedersen
9c9fbcc15b vara@v1.1.1 (increased throughput and stability) 2023-05-29 20:31:32 +02:00
Martin Hebnes Pedersen
5d0ed4baa0 Improve dirty disconnect 2023-05-25 06:25:43 +02:00
Martin Hebnes Pedersen
ba2499bf40 Run nvm install before building web assets 2023-05-22 12:43:43 +02:00
Martin Hebnes Pedersen
4d4130e394 Fix (and simplify) bandwidth response 2023-05-22 12:42:07 +02:00
Martin Hebnes Pedersen
700edb6f8b Fix missing URI component encoding
Accidentally removed in PR #410
2023-05-22 00:04:21 +02:00
Martin Hebnes Pedersen
588c450198 Rewrite aliases using serial-tnc:// 2023-05-21 23:35:13 +02:00
Martin Hebnes Pedersen
605cfd5c64 Restore previous connect params from local storage
Ref https://groups.google.com/g/pat-users/c/-fOnlGzzMIE
2023-05-21 22:03:59 +02:00
Martin Hebnes Pedersen
f3ab9edddd Add missing VARA_DEBUG to env's output 2023-05-21 22:02:24 +02:00
Martin Hebnes Pedersen
708301402b Add missing experiment toggles to env's output 2023-05-21 21:56:47 +02:00
Martin Hebnes Pedersen
e19b28976f Align address field in connect modal 2023-05-21 13:00:23 +02:00
Martin Hebnes Pedersen
04ccdf2fa0 make.bash web
For PR #411 and 4c1a249b3e.
2023-05-21 12:20:38 +02:00
Martin Hebnes Pedersen
4c1a249b3e Re-align connect modal input fields 2023-05-21 12:18:30 +02:00
Martin Hebnes Pedersen
2de9520a58 Separate optgroup for ax25+... transports
Also removed legacy serial-tnc scheme.
2023-05-21 12:12:20 +02:00
Corey Minyard
b514a0a704 web: Add all the ax25 transports to the transport menu
So they can be individually selected and used from the web page.

Signed-off-by: Corey Minyard <minyard@acm.org>
2023-05-21 12:12:20 +02:00
Martin Hebnes Pedersen
15074aa1d7 wl2k-go@v0.11.4 (experimental FSKONLY in ardop)
Enable this experiment by setting `ARDOP_FSKONLY_EXPERIMENT=1`.

Configures ARDOP to use FSK modulations only, allowing the use of
QRP-Labs' QDX transceiver.

Ref la5nta/wl2k-go#84
2023-05-21 08:25:09 +02:00
Martin Hebnes Pedersen
935807131a wl2k-go@v0.11.3 (AGWPE improvements) 2023-05-20 22:13:42 +02:00
Martin Hebnes Pedersen
62a62403a6 Fix error handling in /connect ajax call 2023-05-19 21:18:09 +02:00
Martin Hebnes Pedersen
dd3d4576a7 Use gitrev from debug/buildinfo if available
Go 1.18+ embeds the vcs revision in binaries, meaning we can eventually
remove it from make.bash (we still support Go 1.16).
2023-05-18 21:01:03 +02:00
Martin Hebnes Pedersen
116760cc33 Add VARA listeners for inbound (P2P) connections
Closes #369

Ref PR n8jja/Pat-Vara#37
2023-05-18 17:10:06 +02:00
Martin Hebnes Pedersen
de4743b2bf Fix clearing of To/Cc after message is posted
It seems bootstrap-tokenfield's API changed.

Resolves #408
2023-05-18 11:32:31 +02:00
Andrew Matecha
fbdf517622 Fix small typo in connection cancellation message 2023-05-04 18:39:11 +02:00
Martin Hebnes Pedersen
28e98e85a3 Update github.com/n8jja/Pat-Vara
Issue #402
2023-05-03 16:13:50 +02:00
Martin Hebnes Pedersen
41914d28ad Pull latest wl2k-go
Resolves #404
2023-05-02 19:01:44 +02:00