Richard Hansen
ee5bb2de90
Check, don't assume, that --use*
names a firewall
2024-05-14 22:18:59 -04:00
Richard Hansen
474cc76587
Enable --usev4=cisco
and --usev4=cisco-asa
...
These were implemented, but accidentally(?) left out of
`%ipv4_strategies` which prevented their use.
2024-05-14 22:18:59 -04:00
Richard Hansen
e2919873ba
Merge pull request #669 from rhansen/systemd
...
systemd.service unit file improvements
2024-05-14 22:16:48 -04:00
Richard Hansen
21de3cbc96
systemd: Make it easier to override the daemon interval
2024-05-14 22:12:36 -04:00
Richard Hansen
509ea8745a
systemd: Set Restart=on-failure
2024-05-14 22:12:36 -04:00
Richard Hansen
c0a1431f78
systemd: Use Type=exec
instead of fork
...
When forking, ddclient redirects STDERR and STDOUT to `/dev/null`,
which prevents useful information from appearing in the systemd
journal (`journalctl`).
2024-05-14 22:12:36 -04:00
Richard Hansen
48daf8a5d7
Merge pull request #668 from rhansen/logging
...
Log message improvements
2024-05-14 22:11:59 -04:00
Richard Hansen
5cad38a047
Don't attempt to read file if open fails
2024-05-14 22:00:12 -04:00
Richard Hansen
2eacc71acc
Logging improvements
...
* Consistently use logging functions instead of `print`
* Wording/formatting fixes
* Use `info(...)` instead of `verbose('VERBOSE:', ...)`
2024-05-14 22:00:12 -04:00
Richard Hansen
50b7e3d94b
Merge pull request #666 from rhansen/retry
...
`--retry` improvements
2024-05-14 21:55:54 -04:00
Richard Hansen
066b19af8f
Error out if --daemon
and --retry
are both specified
2024-05-14 21:55:12 -04:00
Richard Hansen
2764cd8a10
Clarify what --retry
does
2024-05-14 21:55:12 -04:00
Richard Hansen
498df75790
Fix "no hosts to update" warning condition
2024-05-14 21:55:03 -04:00
Richard Hansen
542bb28a13
Consistently use --arg
instead of -arg
2024-05-14 18:00:14 -04:00
Richard Hansen
8ac575125b
Merge pull request #665 from rhansen/usage
...
Enable `--use=disabled`; more `--help` usage improvements
2024-05-13 19:24:50 -04:00
Richard Hansen
12222ff912
Clarify interaction between --use
, --usev4
, and --usev6
2024-05-13 18:53:19 -04:00
Richard Hansen
e35be25010
Reorder --help
for --usev4
and --usev6
for readability
...
and for consistency with `--use`.
2024-05-13 18:53:19 -04:00
Richard Hansen
05304622ea
Add context to --use
deprecation notices in --help
2024-05-13 18:52:22 -04:00
Richard Hansen
a911f2bc0e
Include --use=disabled
and --use=no
in --help
usage
2024-05-13 18:40:05 -04:00
Richard Hansen
16fd4d948d
Enable --use=disabled
...
It's unclear why this entry did not exist before now.
2024-05-13 18:37:33 -04:00
Richard Hansen
07c4e4ad4c
Merge pull request #639 from rhansen/version
...
User-friendly pre-release version strings
2024-05-12 16:51:49 -04:00
Richard Hansen
dfb2196499
Translate Perl version string to user-friendly version string
...
Perl version strings are flawed in a few ways. Convert them to
user-friendly strings when printed so that Git tags and tarball names
are easier for downstream distributions to work with.
2024-05-12 16:43:43 -04:00
Richard Hansen
0806363b57
Tell Autoconf to get the version from ddclient.in
...
This avoids the need to maintain the same version string in two
different places.
2024-05-12 16:43:43 -04:00
Richard Hansen
c9cec591f0
Add short
option to --version
argument
...
Passing `--version=short` simply prints the version and exits. This
will make it possible for a future commit to change `configure.ac` to
extract the version string from `ddclient.in` to avoid maintaining the
same version string in two places.
2024-05-12 16:43:43 -04:00
Richard Hansen
5eb6a6d755
Merge pull request #662 from rhansen/skip
...
Distinguish unset `--*-skip` settings from set to the empty string
2024-05-12 16:03:28 -04:00
Richard Hansen
58d7be4e83
Distinguish unset --*-skip
settings from set to the empty string
...
This prevents the `%builtinweb` or `%builtinfw` skip defaults from
overriding a user's explicitly empty `--web-skip=` or `--fw-skip=`
setting.
This is technically a backwards-incompatible change: Any config that
explicitly sets `--web-skip` or `--fw-skip` to the empty string but
depends on the built-in skip behavior will fail. This is unlikely to
affect many (if any) users; compatibility concerns are believed to be
far less significant than the potential need to turn off the built-in
skip.
2024-05-12 15:55:28 -04:00
Richard Hansen
fe06a19742
Merge pull request #661 from rhansen/ssl-validate
...
Fix misspelled `*-ssl-validate` option names
2024-05-12 03:37:13 -04:00
Richard Hansen
281b7307a8
Fix misspelled *-ssl-validate
option names
...
There is no `ssl-validate` option, and there never has been.
2024-05-10 16:54:40 -04:00
Richard Hansen
fedf0cbf40
Update ddclient::Test::Fake::HTTPD
2024-05-09 22:32:28 -04:00
Richard Hansen
f6f19c962e
Merge pull request #660 from rhansen/logs
...
Improve log messages
2024-05-07 23:29:30 -04:00
Richard Hansen
d525e28c20
Show original user input in debug message
...
Also add comments explaining the purpose of the lines, because it's
not immediately clear.
2024-05-07 23:04:20 -04:00
Richard Hansen
b7dd590300
Fix misleading, unclear, redundant, and unnecessary warnings
2024-05-07 23:04:20 -04:00
Richard Hansen
57f15bcb97
Don't modify $usev6
to avoid misleading log messages
2024-05-07 23:04:20 -04:00
Richard Hansen
01d1d5e142
Change t/geturl_connectivity.pl
to handwritten
...
Commit a9c1e545fb
removed the
`configure.ac` substitution, so the test no longer needs to be
generated.
2024-05-07 22:39:17 -04:00
Richard Hansen
97397db294
Merge pull request #659 from rhansen/usage
...
Improvements to `--help` usage output
2024-05-06 23:58:01 -04:00
Richard Hansen
908b728503
Refine --help
usage for --use*
strategies
2024-05-06 00:21:13 -04:00
Richard Hansen
09b42a78bd
Use --arg
instead of -arg
or arg
in --help
usage
...
`--arg` is preferred over `-arg` because the broader convention is to
use double hyphens for long option names. Perl accepts either.
`--arg` is preferred over `arg` to avoid confusion between `--use=ip`
and `--ip` and similar option pairs.
2024-05-06 00:21:13 -04:00
Richard Hansen
6ac1ee45b0
Consistently use -arg=val
in --help
usage
2024-05-06 00:21:13 -04:00
Richard Hansen
fc4daae0cd
Consistently use |
in placeholders for --help
usage
2024-05-06 00:21:12 -04:00
Richard Hansen
77c9cb5512
Consistently use <
and >
for placeholders in --help
usage
2024-05-06 00:21:12 -04:00
Richard Hansen
dac72a344c
Remove unimplemented --usev*
strategies from --help
usage
...
The `ciscov4`, `ciscov6`, `cisco-asav4`, and `cisco-asav6` strategies
were never implemented, and it doesn't make sense to implement them
because the `v4` and `v6` variants don't follow the pattern
established by the `%builtinfw` strategies.
The `%builtinfw` strategies were never implemented for `--usev6`.
2024-05-06 00:21:12 -04:00
Richard Hansen
640a6f08d7
Fix indentation in --help
output
2024-05-06 00:21:12 -04:00
Lenard Hess
9885d55a37
Merge pull request #646 from toniwiki/fix-dondominio-response-treatment
...
Fix DonDominio service response treatment
2024-03-28 23:25:29 +01:00
Toni Wiki
e6e0072e8d
dondominio: Fix service response treatment
2024-03-28 12:56:09 +01:00
Lenard Hess
981dd5f333
Fixed _env suffixed config variables causing errors in check_value()
2024-03-19 22:03:20 +01:00
Lenard Hess
09ee38f694
Merge pull request #638 from rhansen/testdep
...
Tell make that the tests depend on `ddclient`
2024-03-19 22:03:06 +01:00
Lenard Hess
b803b308fa
Merge pull request #636 from ddclient/feature_gandi_pat_support
...
Gandi: Personal access token support
2024-03-19 21:58:31 +01:00
Lenard Hess
12e9a7c47b
gandi: Added support for personal access tokens
2024-03-19 21:48:30 +01:00
Lenard Hess
9b7714c39c
Revert "gandi: Changed authorization to personal access token"
...
This reverts commit a57cb3b9ff
.
See https://github.com/ddclient/ddclient/issues/602 for more info.
2024-03-19 21:48:30 +01:00
Richard Hansen
5aa6530c84
Tell make that the tests depend on ddclient
...
This ensures that `ddclient` is rebuilt before running tests if
`ddclient.in` changes.
2024-03-06 23:32:11 -08:00