Ross McFarland
1a69d344b8
std logging prefix, func names
3 months ago
Tobias Mueller
24881168c1
clamp: let log format in place rather than f-strings
3 months ago
Tobias Mueller
5d9fd7e789
processor: clamp: Raise if TTL arguments are not logical
We must not have min TTLs that are not smaller than the max TTL.
3 months ago
Tobias Mueller
6ebba04111
clamp: formatted
I ran both isort and black.
Let's hope that this makes the CI happy.
3 months ago
Tobias Mueller
fac662a9ec
processors: Added a simple TTL clamping processor
This will come in handy for APIs not supporting TTL outside a certain range.
The Spaceship API, for example, only allows TTLs in the range of 5..3600 but rewriting a
whole zone for Spaceship only seems not as convenient as clamping the values as they flow
through OctoDNS.
The code is coming from Claude. My prompt was:
Write a simple OctoDNS processor that clamps TTL values.
I followed up with:
AttributeError: 'TtlClampProcessor' object has no attribute 'log'
Where should self.log come from?
And finally:
Hm. I suspect the code is not running, somehow. It doesn't seem to be getting control. I
put a raise in the process_record method but it doesn't fail. And I don't see any clamped
values nor log output.
So it took three attempts to make it produce something useful.
3 months ago
Ross McFarland
3b6fdc147e
Fix logging issues in Manager: convert generator to list and correct log method prefix
3 months ago
Ross McFarland
47b9bf27dc
Add processor support to octodns-dump
3 months ago
Ross McFarland
414a80b670
Documentation of dynamic config glob and regex matching
3 months ago
Ross McFarland
a2ca55a047
Add glob and regex support to dynamic zone config
3 months ago
Ross McFarland
5844a9d4d6
Backwards compatible _preprocess_zones that also supports regexes, needs more testing
3 months ago
Ross McFarland
eeed1aa367
Improve AutoArpa wildcard handling with wildcard_replacement option
4 months ago
Ross McFarland
30dd61dcd0
Improve leneience logic comment, further test cases
4 months ago
Ross McFarland
7359a57aaf
Allow CNAME to coexist if all records have lenient=True
4 months ago
Ross McFarland
8c22040bad
Add OwnershipProcessor.should_replace to support ownership on alias zones
4 months ago
Ross McFarland
73d956954a
more doc related cleanup and infra
5 months ago
Ross McFarland
245e764dbe
Fix all sphinx docstring errors and warnings, not links
5 months ago
Ross McFarland
8194e2a0d4
Release 1.13.0 version bump and changelog update
5 months ago
Leonardo Arena
4e8658ddbf
Quote NAPTR 'flags', 'service' and 'regexp' values as required by RFC3403
https://www.rfc-editor.org/rfc/rfc3403#section-4.3
5 months ago
Ross McFarland
af65019398
Fix encoding and decoding of mixed idna fqdns
5 months ago
Jonathan Leroy
932774f9d6
Add new provider parameter "root_ns_warnings" to disable root NS related
warnings
5 months ago
Jonathan Leroy
fad8c03986
Change in the way templating parameters are handled when trailing_dots is disabled
5 months ago
Ross McFarland
871b2f2a7e
Improve error messaging for unknown templating parameters
5 months ago
Jonathan Leroy
a5a1d50453
Add trailing_dots parameter to templating processor
5 months ago
Jonathan Leroy
c4dc79b64c
Revert: Fix Templating processor not working on alias zones
5 months ago
Ross McFarland
974d047d6e
Fix issue with using Templating processor on aliased zones
Switches the processor to use process_source_and_target_zones which
happens later, during planning changes and thus happens seperately for
the source and aliased zones. This leaves the templates in the copy of
desired that Manager uses to start the alias process. The updated copy
is in the plan so externally everything will still make sense and
behave as expected.
5 months ago
Jonathan Leroy
3e7cca0c6c
Fix Templating processor not working on alias zones
5 months ago
Jonathan Leroy
d75e672fe1
Removes the final dot from zone_*name and record_*fqdn templating variables
5 months ago
Ross McFarland
ce77ccddb5
implementation of the URI record type
6 months ago
Ross McFarland
484a04b248
very slight tweak to working for escaped_semicolons docstring
6 months ago
Ivan Schaller
e6cb0fb06a
add missing kwargs to make include_target work
Signed-off-by: Ivan Schaller <ivan@schaller.sh>
6 months ago
Ross McFarland
d2da48c063
apply support for YamlProvider.escaped_semicolons=false
6 months ago
Ross McFarland
f1b09ded98
Version 1.12.0 version bump and changelog update
6 months ago
Ross McFarland
8cb4566b73
Update geo-data, Türkiye
7 months ago
Ross McFarland
31be2c5de5
Add context to Templating, cleanly handle records w/o template method, doc
7 months ago
Ross McFarland
dfad2d9656
Tests for Value.template methods
7 months ago
Ross McFarland
b3ba45f6f7
wip Value.template functions
7 months ago
Ross McFarland
c8672cbb30
Helps if you add the new files
7 months ago
Ross McFarland
fb140f27a0
Implment Templating processor and prototype Value.template methods
7 months ago
Ross McFarland
b4b914d737
Remove unused/errant copy of _unescaped_semicolon_re
7 months ago
Ross McFarland
5c2e5d5a1a
Double escaped semi-colon validation & tests
7 months ago
Ross McFarland
777a1a655a
working escaped_semicolons=false w/tests
7 months ago
Ross McFarland
27992163ce
wip experiment with YamlProvider un-escaped semi-colons
8 months ago
Travis Kinney
926c68943f
Apply suggestions from code review
8 months ago
Travis Kinney
7ea69700a4
Fix typo in AcmeManagingProcessor
8 months ago
Mathurin Gagnon
0d9ec583b5
changed try except to elif and else, updated log line to octodns standard
8 months ago
Mathurin Gagnon
4c84423917
updated warning message
8 months ago
Mathurin Gagnon
cb01f041c1
updated tests and filter to cover all new code changes in value filter reject and allow
8 months ago
Mathurin Gagnon
b913b7ed95
added patch so when a record has an empty value it does not crash
9 months ago
Ross McFarland
1ae5ad92f0
Version 1.11.0 version bump & changelog update
11 months ago
Ross McFarland
9aa0c92699
Ecpand upon what plan meta is
11 months ago