William Gauthier
b15e04380d
Use the TTL value of the first ordered FQDN
2 years ago
Ross McFarland
6991786cc5
Fix for EnsureTrailingDots reverting value types back to strings
2 years ago
William Gauthier
a948b8233e
AutoArpa: Add an optional inherit_ttl option
2 years ago
Ross McFarland
16a6bb4f8a
Remove duplicative sort and add a more robust test.
2 years ago
Ross McFarland
a84ad6fe44
Fix auto arpa formatting
2 years ago
William Gauthier
aa85f7e533
Added suggestions from comments
2 years ago
William Gauthier
f26b7c1a43
Make things unique in populate instead of process_source_zone
2 years ago
William Gauthier
79b2a25684
Add a priority option to AutoArpa
2 years ago
Matt Cholick
885126d48f
Additional test checking Zone threshold defaults to None
2 years ago
Matt Cholick
2bb2d5643b
Add zone specific threshold config
2 years ago
Ross McFarland
c263b6e991
Fix env var int handling regression
2 years ago
Ross McFarland
b539cb0a4f
more consistent naming, pural secrets
2 years ago
Ross McFarland
4b229fbf82
_build_kwargs fix, don't convert int-y things to floats
2 years ago
Ross McFarland
a48881beb4
pass at adding a processor that adds missing trailing dots
2 years ago
Ross McFarland
6d778b3b67
Include tests of secret_handlers from config yaml and some of that's implementation details
2 years ago
Ross McFarland
60bc4193f8
configured secret handlers & tests of that configuration
2 years ago
Ross McFarland
ca2c7112a1
Secrets handlers support
Add functionality that enables configurable secrets sources, with a
hard-coded `env` that provides the existing environmental variable
support.
2 years ago
Ross McFarland
9f58b8e482
Record.octodns formalized, Record._octodns deprecated
Both point to the same thing via properties
2 years ago
Ross McFarland
b148a4c716
Add test_records_have_rdata_methods, implement them for URLFWD
2 years ago
Ross McFarland
c04a320cfd
Treat value/values interchangably when configuring records
- All of the `if data isn't a list turn it into one in the value type
validates are no longer needed, they'll always be passed a list now`
- Special case to handle PTR/target values since it previously was
single value and is now values
See README for more information
2 years ago
Nullreff
e9d8b02365
Add filters for checking record values
Create two new filters, ValueAllowlistFilter and ValueRejectlistFilter
that allow checing the value(s) of records to include or exclude,
similar to the name filters that alread exist
2 years ago
Ross McFarland
3beab65e8b
Add Record.values not a single string validation
2 years ago
Martin Frausing
68e1178ac7
Add list_zones to AutoArpa
- This makes it possible to use dynamic zone config with AutoArpa
- Document what gotchas that entails
- Add tests both with another source (for generating zones to populate) and without (no zones to populate)
2 years ago
Ross McFarland
119de9b421
Add ASCII validation to ChunkedValue, TXT/SPF
2 years ago
Ross McFarland
98a1175399
Update tests/test_octodns_manager.py
2 years ago
Ross McFarland
9e1aa7b8ed
Apply suggestions from code review
2 years ago
Alizey Jalil
dc4addc837
Removed the specific config file used missing zone test use case
2 years ago
Alizey Jalil
a2a502987e
Added test for missing zone
2 years ago
Alizey Jalil
c816fe7af0
Added test for missing zone file
2 years ago
Ross McFarland
780fa2a24b
Add support for checksum matching
2 years ago
Ross McFarland
d85c925ebf
Greatly simplify MetaProcessor and (more) thoroughly test it
2 years ago
Ross McFarland
b8dab67d6a
Fix bug in MetaProcessor up to date record check
2 years ago
Ross McFarland
4c09f4bc71
Support for nested config env variable expansion
2 years ago
Ross McFarland
523a188e1d
explicit test for values and value
2 years ago
Ross McFarland
cb09b590e7
ValueMixin._data always includes 'value'
2 years ago
Ross McFarland
5568dc6be1
Add Processor.process_source_and_target_zones
2 years ago
Ross McFarland
1a5c9a2c5e
Flip ValuesMixin._values logic to handle/have key in all cases
2 years ago
Ross McFarland
6f6cb79854
Fix bug with Record.copy when values is an empty list []
2 years ago
Ross McFarland
5b6b53bca0
modify desired, not existing
2 years ago
Ross McFarland
03f37e3ae9
Fix bug with Record.copy when values is an empty list []
2 years ago
Ross McFarland
e612e2b885
Fix MetaProcessor/Manager.include_meta where include_provider
2 years ago
Ross McFarland
93a00f12a9
Add Processor.process_source_and_target_zones
2 years ago
Ross McFarland
0332b34f72
deprecation.deprecated, use official mechinism for deprecations
2 years ago
Ross McFarland
65e87d0a46
Fixed Record.data, now includes the octodns special section data
2 years ago
Ross McFarland
d2baf6db8f
Prefer __version__ over __VERSION__ internally, fallback when referencing modules
2 years ago
Ross McFarland
6cd933a834
Add include_target option to most processor.filter processors
2 years ago
Ross McFarland
e9cdacdd13
Include octodns special section in record __repr__
2 years ago
Solvik Blum
abdab8f6d8
fix lint
2 years ago
Solvik Blum
3ed7a88e34
add test to cover CIDR validation in config for filters
2 years ago
Solvik Blum
f9cb31b602
add a txt in tests so we can see the filter effectively only handles A/AAAA
2 years ago