Commit graph

44 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
8da571982a wl2k-go@v0.11.7 (fix hamlib vfo mode)
Resolves #427
2023-10-27 21:18:03 +02:00
Martin Hebnes Pedersen
c76b66012e vara@v1.1.4
Updated dependencies
2023-10-21 13:07:03 +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
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
a1555a96f9 vara@v1.1.3
Resolves #417
2023-07-31 20:19:18 +02:00
Martin Hebnes Pedersen
32af057ca3 vara@1.1.2 (bug fix) 2023-06-10 13:14:28 +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
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
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
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
Martin Hebnes Pedersen
5e9ccf7da6 Merge branch 'master' into develop 2023-05-02 11:31:54 +02:00
Martin Hebnes Pedersen
f5b455a82b VARA: Fix panic by avoiding use of atomic package 2023-05-02 08:36:58 +02:00
Martin Hebnes Pedersen
c2e3f45633 Fix vara modem preventing graceful shutdown 2023-04-29 17:43:20 +02:00
Martin Hebnes Pedersen
f463f8b876 Pull latest wl2k-go 2023-03-01 21:25:23 +01:00
Martin Hebnes Pedersen
d716296b52 Add support for AGWPE (e.g. Direwolf) over TCP
This eliminates the need for Linux's AX25 stack when using Direwolf or
AGWPE TNCs. It makes AGWPE the default AX.25 engine if the build does
not include Linux AX.25 support.

Direwolf >= v1.6 is recommended (< v1.2 is unsupported).

Closes #367
2023-02-21 11:14:17 +01:00
Martin Hebnes Pedersen
f6f88f4f75 github.com/n8jja/Pat-Vara v1.0.2
* Adds support for dial cancellation (transport.ContextDialer).
* Improved progress report on outbound message transfer by limiting
  write rate to the modem and implementing the transport.TxBuffer.
* Set LISTEN OFF on init (inbound P2P is currently unsupported).
2022-11-12 22:04:21 +01:00
Martin Hebnes Pedersen
feb673de0f go get github.com/n8jja/Pat-Vara/vara@634bd01
Fixes panic when using unregistered VARA instances.

Closes #371
2022-09-17 08:27:19 +02:00
Chris Keller
6756d994eb Integrate with github.com/n8jja/Pat-Vara
Co-authored-by: gh42lb <92827417+gh42lb@users.noreply.github.com>
2022-08-20 21:25:03 +02:00
Martin Hebnes Pedersen
a7b29ea34f Switch to DialURLContext
This adds generic support for aborting while dialing the connection. It
adds dial cancellation for ax25:// and telnet://.

The same mechanism is also used to cancel ARDOP dialing (implemented as
graceful disconnect), but keeps the old code to provide "dirty
disconnect" which is not supported through the context approach and/or
the generic conn.Close().
2022-06-07 19:22:41 +02:00
Martin Hebnes Pedersen
265fdebb8c Update wl2k-go (v0.9.3)
Fixes date parsing of messages from BPQ Mail.
2022-05-18 08:27:43 +02:00
Martin Hebnes Pedersen
99d2600c41 Pull wl2k-go v0.9.2 (ARDOP dial bandwidth)
Ref #120
Ref #332
2022-04-09 08:19:07 +02:00
Martin Hebnes Pedersen
7289ae214b Update wl2k-go (v0.9.1)
Closes #324
2022-02-23 00:11:42 +01:00
harenber
b4131628d8 bump harenber/ptc-go to v2.2.3 (to prepare Android support) 2021-12-30 11:53:31 +01:00
Torsten Harenberg
e48489750e bump go-serial to v2.4.0 to address https://github.com/albenik/go-serial/issues/26 (now with fixed Go module paths) 2021-12-03 20:58:52 +01:00
Torsten Harenberg
59dd226676 pactor: bump version to v2.2.2
This changes only the dependency to the external PACTOR driver to
v2.2.2. The only change there is an updated dependency to
albenik/go-serial, which fixed a problem on Mac OS X, reported by
a user on the pat-user list.

Fixes https://github.com/albenik/go-serial/issues/26
2021-12-03 20:58:52 +01:00
Martin Hebnes Pedersen
4abf817517 Update wl2k-go (v0.9.0)
Resolves #295
2021-11-09 08:30:56 +01:00
Martin Hebnes Pedersen
3e4ab77bf8 serial-tnc: New baudrate config fields
This deprecates the serial_tnc.baudrate option. The documentation for
this field was incorrect, and the name was confusing. The field is
replaced by serial_tnc.hbaud and serial_tnc.serial_baud.

Backwards compatibility is maintained.

Closes #279

The wl2k-go upgrade also resolves #293
2021-10-31 17:12:08 +01:00
dependabot[bot]
87985d882f Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.16
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.4 to 1.0.16.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.4...v1.0.16)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 15:03:19 +02:00
Martin Hebnes Pedersen
4bd2fb29a5 Update deps 2021-08-15 20:59:07 +02:00
Chris Keller
e94f05f37c Move config, data and state files to XDG locations
Addressing https://github.com/la5nta/pat/issues/216. Includes migration of existing files, plus refactoring of directory access and build info.
2021-08-15 19:35:15 +02:00
Martin Hebnes Pedersen
07d5654370 Update github.com/microcosm-cc/bluemonday
Resolves CVE-2021-29272
2021-07-27 17:31:19 +02:00
Martin Hebnes Pedersen
bfbc3036c9 Update wl2k-go (v0.7.5)
* Adds support for message precedence
* Fixes rare FBB handshake issues

Closes #261
Closes #252
2021-07-23 00:12:11 +02:00
rainerg2000
c161d26171 added forms package, is not hooked up to any useful work yet 2021-06-16 20:08:41 +02:00
Martin Hebnes Pedersen
291c146860 Update wl2k-go (v0.7.4)
This fixes an issue with build failure on FreeBSD.
2021-06-14 23:29:43 +02:00
Martin Hebnes Pedersen
37f73134d6 Use embed instead of go-bindata-assetfs
In addition to providing similar functionality (bundle static data into
the binary), this new package does not require us to commit the binary
blob into the repo since it is supported by the Go toolchain. No more
"forgot to run go generate after modifying the front-end code"-issues.

This changes the required Go version to >= 1.16.
2021-05-20 19:32:51 +02:00
Chris Keller
103f239705 Update deps 2020-11-08 15:27:11 -07:00
Martin Hebnes Pedersen
42463c7110 Support individual passwords for auxiliary addrs
Allow users to specify indivdual passwords for each auxiliary address by
addending :MyPassw0rd to the address entry in the configuration file.
(E.g. `LA5NTA:MySecretPassw0rd`).

If no password is specified, we use the primary account password as
before. This also works fine for password-less tactical addresses.

This change is completely backwards compatible.

Closes #143
2020-09-28 20:51:08 +02:00
harenber
0e5b8033ed Update PACTOR driver to v2.2.0 2020-05-30 21:57:11 +02:00
Martin Hebnes Pedersen
bee20f7e22 Update wl2k-go (v0.7.2)
Ref #184, #135
2020-05-28 19:36:22 +02:00
Martin Hebnes Pedersen
c8d4ac9835 Switch to Go Modules for dependency management
Keeping every module pinned to the same version as before.
2020-05-28 19:01:34 +02:00