Commit graph

1535 commits

Author SHA1 Message Date
Richard Hansen
50e8d2ed00 Post-release version bump 2025-01-19 14:46:10 -05:00
Richard Hansen
d6da6b878d Release v4.0.0 2025-01-19 14:29:22 -05:00
Richard Hansen
33a86eb556
Merge pull request #801 from insanolanbiri/upnp
Add UPnP example in configuration file
2025-01-16 04:10:59 -05:00
Eren Akgün
10d3561353
Add UPnP example in configuration file
This commit demonstrates a simple way to obtain the
IP address using UPnP in the ddclient configuration file.
2025-01-16 11:02:25 +03:00
Richard Hansen
803f77404d Post-release version bump 2025-01-11 03:30:56 -05:00
Richard Hansen
590d7d91fc Release v4.0.0-rc.3 2025-01-11 03:18:38 -05:00
Richard Hansen
41170b9c08
Merge pull request #684 from rhansen/dnsexit2
dnsexit2: Update multiple hosts at a time when possible
2025-01-11 03:09:48 -05:00
Richard Hansen
63bf3512a4 dnsexit2: Update multiple hosts at a time when possible 2025-01-10 19:20:25 -05:00
Richard Hansen
3b10e37607 tests: dnsexit2: Add test for host outside of zone 2025-01-10 19:20:25 -05:00
Richard Hansen
115f23dead tests: Option to select which log messages to capture 2025-01-10 19:20:25 -05:00
Richard Hansen
009033d476 tests: Factor out duplicate log capture code 2025-01-10 19:20:25 -05:00
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