Richard Hansen
d18b1cdb27
logging: Move filtering and reactions to Logger class
...
This increases overhead when the verbose or debug option is disabled,
but makes it possible for tests to intercept debug, info, and fatal
messages.
2025-01-10 19:20:25 -05:00
Richard Hansen
b31e5e2f91
tests: dnsexit2: Add test for two hosts in the same zone
2025-01-09 19:33:57 -05:00
Richard Hansen
3b73350541
tests: dnsexit2 Convert tests to table-driven
...
This makes the tests easier to read and extend.
2025-01-09 19:33:57 -05:00
Richard Hansen
6bb80cbdaa
Merge pull request #766 from greenius/feature/cmdargs
...
Enable arguments on cmdv4 and cmdv6
2025-01-09 19:33:11 -05:00
Richard Hansen
6fd9a6f106
tests: Add some tests for use=cmd
, usev4=cmdv4
, usev6=cmdv6
2025-01-09 19:29:00 -05:00
Richard Hansen
1c178d4c09
Add ChangeLog entry for --cmdv4
, --cmdv6
change
2025-01-09 19:29:00 -05:00
steven
ae01ba26c1
Do not use quotemeta
on cmdv4
and cmdv6
arguments
...
`quotemeta` prevents executing commands with arguments. With this
change, it is now possible to get an IP address with:
usev4=cmdv4
cmdv4="dig +short myip.opendns.com @resolver1.opendns.com"
2025-01-09 19:29:00 -05:00
Richard Hansen
17fc4c0a35
Merge pull request #783 from indrajitr/eval-cmd-skip
...
Make 'cmd-skip' warning message consistent for IPv4 and IPv6
2025-01-08 19:13:17 -05:00
Indrajit Raychaudhuri
8dcea0d779
Make 'cmd-skip' warning message consistent for IPv4 and IPv6
2025-01-08 19:09:29 -05:00
Bodo Eggert
8883641d97
fix ddclient --verbose calling 'p' instead of using $p{foo}
2025-01-08 19:08:19 -05:00
Richard Hansen
741a2345ea
Merge pull request #795 from rhansen/missing-semicolon
...
tests: Add missing semicolon; prevent similar future bugs
2025-01-08 18:27:35 -05:00
Richard Hansen
8cf322e162
tests: Only skip HTTPD tests if dependencies are unavailable
...
This prevents the tests from passing due to syntax errors in
the ddclient::t::HTTPD module.
2025-01-08 18:24:04 -05:00
Richard Hansen
ddeaedc136
tests: Add missing semicolon
...
This should have been in commit
06c47695fc
. The tests that use this
module did not fail because an import failure is assumed to be caused
by a missing dependency, not a genuine bug.
2025-01-08 18:24:04 -05:00
Richard Hansen
9ab038412f
Merge pull request #796 from rhansen/vestigial
...
tests: Delete vestigial code
2025-01-08 18:23:41 -05:00
Richard Hansen
ecaa05abd3
tests: Delete vestigial code
...
This deleted code came from a previous unpublished prior draft of the
tests and was accidentally not deleted when the approach changed.
2025-01-08 18:20:39 -05:00
Richard Hansen
6408be6ccc
Merge pull request #792 from rhansen/ssl-validate-tests
...
tests: Fix t/ssl-validate.pl in minimal test environments
2025-01-08 14:43:14 -05:00
Richard Hansen
06c47695fc
tests: Fix t/ssl-validate.pl in minimal test environments
2025-01-08 03:33:30 -05:00
Richard Hansen
c89a2d6186
tests: Enable debug logging in t/ssl-validate.pl
2025-01-08 03:33:30 -05:00
Richard Hansen
3f3b8cf825
tests: Localize config setting
...
This isn't strictly necessary, but is good practice because it
guarantees that the config is cleaned up after each test case.
2025-01-08 03:00:41 -05:00
Richard Hansen
8decfc4b77
Post-release version bump
...
We'll probably just release `v4.0.0` without an `-rc.3`, but I'm
setting it to `-rc.3` just in case (decreasing the version number can
break automatically built daily Git snapshots).
2025-01-07 14:37:32 -05:00
Richard Hansen
660bb11c02
Release v4.0.0-rc.2
2025-01-07 04:39:01 -05:00
Richard Hansen
fee71b46be
Merge pull request #789 from rhansen/confdir
...
Change default location of `ddclient.conf` to `${sysconfdir}/ddclient`
2025-01-07 04:36:37 -05:00
Richard Hansen
7248341ad6
Change default location of ddclient.conf
to ${sysconfdir}/ddclient
2025-01-07 04:33:54 -05:00
Richard Hansen
60bedd0fab
Merge pull request #790 from rhansen/autosquash
...
New GitHub workflow to prohibit autosquash commits
2025-01-07 04:33:15 -05:00
Richard Hansen
56f88e3bab
New GitHub workflow to prohibit autosquash commits
...
This prohibits commits whose commit message starts with "squash!",
"fixup!", or "amend!" unless the PR has the 'pr-permit-autosquash'
label. Such commits are created via the `--fixup` or `--squash`
options to `git commit`, and cause `git rebase --autosquash` to
automatically adjust the todo list appropriately before performing the
rebase. Their existence implies that the PR should be rebased with
`--autosquash` before merging.
2025-01-07 04:30:40 -05:00
Indrajit Raychaudhuri
8ffbedd436
Merge pull request #754 from Zorks/patch-1
...
Correct NearlyFreeSpeech.NET example
2025-01-06 20:38:34 -06:00
Indrajit Raychaudhuri
678b76f7e8
nfsn Rearrange zone property in example
...
Usually, the zone property is not the last property
in the configuration convention that is followed in
ddclient config examples.
2025-01-06 20:27:21 -06:00
Zorks
e4920373ee
Correct NearlyFreeSpeech.NET example
...
extra spaces in the protocol and a trailing comma caused connection issues if not corrected.
2025-01-06 20:27:21 -06:00
Indrajit Raychaudhuri
4008ccfa2d
Merge pull request #565 from TinfoilSubmarine/feature/mail-from
...
add mail-from option
2025-01-06 20:24:49 -06:00
Indrajit Raychaudhuri
cf4bad127d
fixup! add main-from option
...
move changelog entry to v4.0.0-rc.2
2025-01-06 20:21:56 -06:00
Richard Hansen
76fccba151
fixup! add mail-from option
...
add changelog entry
2025-01-06 20:20:26 -06:00
Richard Hansen
d2b1a4dfa6
fixup! add mail-from option
...
move variable declaration closer to usage
2025-01-06 20:20:26 -06:00
Richard Hansen
d1f81dc9e4
fixup! add mail-from option
...
factor out duplicate code
2025-01-06 20:20:26 -06:00
Richard Hansen
2de77f17f7
fixup! add mail-from option
...
default to undef
2025-01-06 20:20:26 -06:00
Richard Hansen
a2e818d6d3
fixup! add mail-from option
...
refine usage wording
2025-01-06 20:20:26 -06:00
Joel Beckmeyer
8030a46ca3
add mail-from option
2025-01-06 20:20:26 -06:00
Richard Hansen
59f6c2959a
Prepare for v4.0.0-rc.2
2025-01-06 21:03:47 -05:00
Richard Hansen
0a687d505b
Merge pull request #782 from indrajitr/typo-fix
...
Fix small typo in 'nochg' message grammar
2024-12-27 14:47:50 -05:00
Indrajit Raychaudhuri
3da4259a41
Fix small typo in 'nochg' message grammar
2024-12-26 18:26:26 -06:00
Richard Hansen
87a919a715
Release v4.0.0-rc.1
2024-12-25 02:22:24 -05:00
Richard Hansen
59495e99d2
Merge pull request #779 from rhansen/linear-pr
...
New GitHub workflow to enforce linear pull requests
2024-12-25 02:11:28 -05:00
Richard Hansen
07289d5c48
New GitHub workflow to enforce linear pull requests
...
When combined with GitHub's "Require branches to be up to date before
merging" setting, this forces semi-linear merging. This check can be
disabled by adding the "pr-permit-nonlinear" label to the PR.
2024-12-25 02:09:00 -05:00
Richard Hansen
4d7d6ae48e
Merge pull request #777 from rhansen/semver
...
Use semver 2.0.0 as the human-readable version string format
2024-12-24 19:45:34 -05:00
Richard Hansen
54b6d0cb0d
Use semver 2.0.0 as the human-readable version string format
...
This avoids the need to escape tilde in tag names.
2024-12-23 21:40:07 -05:00
Richard Hansen
9f2d6279d2
Rename master
branch to main
2024-12-21 22:00:56 -05:00
Richard Hansen
af4ea14fda
Merge pull request #771 from rhansen/build
...
Build system improvements
2024-12-19 05:08:06 -05:00
Richard Hansen
a12398c315
Makefile.am: Fix Automake portability warning
...
This silences:
Makefile.am:20: warning: escaping \# comment markers is not portable
2024-12-19 05:00:56 -05:00
Richard Hansen
6dfcede81a
Ignore build-aux/config.guess
, build-aux/config.sub
...
These currently aren't installed by `autoreconf --install`, but ignore
them anyway as a defensive measure.
2024-12-19 04:49:57 -05:00
Richard Hansen
ceced7e094
Delete checked-in copy of tap-driver.sh
...
It is not needed now that RHEL 6 and CentOS 6 have reached EOL.
2024-12-19 04:49:57 -05:00
Richard Hansen
8fbf9ed4c8
autogen: Force regeneration of --install
files
2024-12-19 04:49:29 -05:00