Ross McFarland
dd745f9ca6
Near complete rework of chunked rdata handling/parsing
2024-05-10 15:05:02 -07:00
Ross McFarland
89b3650c4c
Improve _ChunkedValue's handling of split chunks with unexpected whitespace
2024-05-08 15:02:39 -07:00
Ross McFarland
743c3b88db
Fix CAA value handling to support tags
2024-05-05 16:38:17 -07:00
Ross McFarland
47fd435bb7
Merge branch 'main' into ensure-trailing-dots-fix
2024-04-29 14:35:10 -07:00
William Gauthier
b15e04380d
Use the TTL value of the first ordered FQDN
2024-04-28 21:33:42 +02:00
Ross McFarland
6991786cc5
Fix for EnsureTrailingDots reverting value types back to strings
2024-04-26 16:01:42 -07:00
William Gauthier
a948b8233e
AutoArpa: Add an optional inherit_ttl option
2024-04-26 17:07:58 +02:00
Ross McFarland
16a6bb4f8a
Remove duplicative sort and add a more robust test.
2024-04-18 08:08:00 -07:00
Ross McFarland
a84ad6fe44
Fix auto arpa formatting
2024-04-18 08:06:06 -07:00
William Gauthier
aa85f7e533
Added suggestions from comments
2024-04-18 16:46:52 +02:00
William Gauthier
f26b7c1a43
Make things unique in populate instead of process_source_zone
2024-04-17 22:39:27 +02:00
William Gauthier
79b2a25684
Add a priority option to AutoArpa
2024-04-17 19:33:25 +02:00
Matt Cholick
885126d48f
Additional test checking Zone threshold defaults to None
2024-04-10 12:43:22 -07:00
Matt Cholick
2bb2d5643b
Add zone specific threshold config
2024-04-10 11:44:37 -07:00
Ross McFarland
c263b6e991
Fix env var int handling regression
2024-03-17 12:34:20 -07:00
Ross McFarland
62f8358688
Merge remote-tracking branch 'origin' into secrets
2024-03-11 14:58:51 -07:00
Ross McFarland
eee68d5470
Merge remote-tracking branch 'origin' into missing-dots-processor
2024-03-11 14:54:17 -07:00
Ross McFarland
b539cb0a4f
more consistent naming, pural secrets
2024-03-11 14:51:06 -07:00
Ross McFarland
ec9c3bcc29
Merge remote-tracking branch 'origin/main' into secrets
2024-03-09 14:33:53 -08:00
Ross McFarland
4b229fbf82
_build_kwargs fix, don't convert int-y things to floats
2024-03-08 07:51:09 -08:00
Ross McFarland
a48881beb4
pass at adding a processor that adds missing trailing dots
2024-03-07 12:50:59 -08:00
Ross McFarland
6d778b3b67
Include tests of secret_handlers from config yaml and some of that's implementation details
2024-02-18 14:25:59 -08:00
Ross McFarland
f88247fdc8
Merge branch 'main' into secrets
2024-02-18 13:41:44 -08:00
Ross McFarland
60bc4193f8
configured secret handlers & tests of that configuration
2024-02-10 21:45:43 -05:00
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.
2024-02-10 20:58:21 -05:00
Ross McFarland
9f58b8e482
Record.octodns formalized, Record._octodns deprecated
...
Both point to the same thing via properties
2024-02-10 20:14:08 -05:00
Ross McFarland
b148a4c716
Add test_records_have_rdata_methods, implement them for URLFWD
2024-01-23 13:45:42 -08:00
Ross McFarland
f1c7102f23
Merge remote-tracking branch 'origin/main' into validate-values-not-string
2024-01-15 16:05:36 -08:00
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
2024-01-15 16:02:35 -08:00
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
2024-01-14 16:45:29 -08:00
Ross McFarland
3beab65e8b
Add Record.values not a single string validation
2024-01-11 09:43:58 -08:00
Ross McFarland
87051ea315
Merge branch 'main' into list_zones_for_autoarpa
2024-01-11 09:07:13 -08:00
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)
2024-01-05 13:59:49 +01:00
Ross McFarland
119de9b421
Add ASCII validation to ChunkedValue, TXT/SPF
2024-01-03 08:42:17 -08:00
Ross McFarland
d35022b9dc
Merge branch 'main' into checksumming
2023-12-22 09:30:34 -08:00
Ross McFarland
98a1175399
Update tests/test_octodns_manager.py
2023-12-13 08:25:00 -08:00
Ross McFarland
9e1aa7b8ed
Apply suggestions from code review
2023-12-13 08:22:28 -08:00
Alizey Jalil
dc4addc837
Removed the specific config file used missing zone test use case
2023-12-13 21:22:16 +05:30
Alizey Jalil
a2a502987e
Added test for missing zone
2023-12-13 21:22:16 +05:30
Alizey Jalil
c816fe7af0
Added test for missing zone file
2023-12-13 21:22:16 +05:30
Ross McFarland
780fa2a24b
Add support for checksum matching
2023-12-11 13:27:49 -08:00
Ross McFarland
d85c925ebf
Greatly simplify MetaProcessor and (more) thoroughly test it
2023-12-07 13:02:46 -08:00
Ross McFarland
b8dab67d6a
Fix bug in MetaProcessor up to date record check
2023-12-07 07:41:40 -08:00
Ross McFarland
4c09f4bc71
Support for nested config env variable expansion
2023-12-05 10:29:49 -08:00
Ross McFarland
b0b330f1d1
Merge branch 'main' into fix-meta-target
2023-12-01 11:52:33 -08:00
Ross McFarland
0f582de47b
Merge branch 'main' into process-source-and-target-zones
2023-12-01 11:47:02 -08:00
Ross McFarland
523a188e1d
explicit test for values and value
2023-12-01 10:46:58 -08:00
Ross McFarland
cb09b590e7
ValueMixin._data always includes 'value'
2023-11-29 14:21:14 -08:00
Ross McFarland
5568dc6be1
Add Processor.process_source_and_target_zones
2023-11-29 14:08:19 -08:00
Ross McFarland
1a5c9a2c5e
Flip ValuesMixin._values logic to handle/have key in all cases
2023-11-29 14:03:22 -08:00