Ross McFarland
2e3d325f71
YamlProvider.SUPPORTS dynamically returns the list of registered types
3 years ago
Ross McFarland
557b80f784
Implement YamlProvider.supports that always says yes
3 years ago
Ross McFarland
16e0bd0675
Testing of Zone and Record name/decoded_name handling
3 years ago
Ross McFarland
27fc734c2a
Test YamlProvider handling of non-ascii record names
3 years ago
Ross McFarland
55b9701837
IdnaError exception handling, ensure validation happens on encoded names
3 years ago
Ross McFarland
799e1232b3
Record should work with encoded same as everything else
3 years ago
Ross McFarland
2d0f2ccc5c
Add idna tests of eligible_zones and fix some messages/bugs
3 years ago
Ross McFarland
a33235d608
YamlProvider idna/utf-8 support, prefers utf8
3 years ago
Ross McFarland
286e2bc94d
Use dict.__repr__ for IdnaDict
3 years ago
Ross McFarland
a3ceb1f409
Extract Manager zones configuration, add checks for matching utf-u and idna zone names
3 years ago
Ross McFarland
67c75ff146
Implement IdnaDict, a dict with case and idna/utf-8 insensitive keys
3 years ago
Ross McFarland
4a847cb38c
More test cases for configured_sub_zones
3 years ago
Ross McFarland
18ee70ddb5
Fix issue when subzone is a non-dotted endswith for zone
3 years ago
Ross McFarland
af010121ea
Do away with zone_tree, not a tree and unnecessary now
3 years ago
Ross McFarland
33794f3796
Fix a bug in Zone.add_record subzone handling when name ends with non-dotted subzone name
3 years ago
Ross McFarland
6a1b86af6f
Rework configured_sub_zones and add tests specifically for it
3 years ago
Ross McFarland
6e5c7a8b70
Add failing tests of subzone handling
3 years ago
Adam Smith
2a56d9b26e
AxfrSource and ZoneFileSource: support multi-value PTR records
3 years ago
Ross McFarland
e116d26eec
Implement black formatting
3 years ago
Sachi King
04be906c3c
Add test to validate non-dotted subdomain zones are vaild
This confirms that in addition to the recently added support for dotted
subdomains that subdomains that are not dotted are supported. From
RFC1034 Section 3.5 this would be a <subdomain> that contains a single
<label> without <subdomain> recurring.
4 years ago
Ross McFarland
08523cd4ba
Functionally complete (I think) IDNA encode/decode support
4 years ago
Sachi King
e299ceced2
Prepare tests with failing "managed subzone" error
The is not a zone between delegated.subzone.unit.tests. and unit.tests.,
however we get a delegated subzone error. This modifies the tests to
succeed with the added record, however the tests fail as it incorrectly
throws the managed subzone error.
Change the name of delegated.subzone, and the tests will pass cleanly.
4 years ago
Kian-Meng Ang
04b7bf0ac2
Fix typos
4 years ago
Ross McFarland
044d8561ed
Add idna encode/decode helpers
4 years ago
Aquifoliales
8b2bfa5dea
SSHFP support for Source AXFR/Zonefile
4 years ago
Aquifoliales
2401a7318c
Fixed testing, TLSA record ready.
4 years ago
Aquifoliales
3cdefc5058
Adaption for Linting
4 years ago
Aquifoliales
084d537c94
Fixed testing for TLSA record type.
4 years ago
Ross McFarland
0d606e0728
dump output_provider testing
4 years ago
Ross McFarland
17c294042f
Implement a sketch of --output-provider support for dump
4 years ago
Ross McFarland
66958f7c21
Manager._try_version with 3.7 noop (for now)
4 years ago
Ross McFarland
633aef5845
Manager prints provider, processor, and plan_output versions for non-core modules when available
4 years ago
Ross McFarland
5827e23d22
Simplify Record.register_type. Values?Mixin public
4 years ago
Ross McFarland
ea5000e191
Real testing of register_type
4 years ago
Ross McFarland
7f98d9dfca
Base of Record type registration
4 years ago
Ross McFarland
cdcaef8f2b
Order changes: deletes, creates, updates
4 years ago
Ross McFarland
e3edae8466
Non-configured root NS when supported is always a warning
4 years ago
Ross McFarland
0544e9ed7d
More thorough testing of root ns cases and associated improvements
4 years ago
Ross McFarland
02ee7518fa
Rework root NS logic to ignore when unconfigured, more testing
4 years ago
Ross McFarland
14fc137788
Use Zone.root_ns to avoid lookping/searching
4 years ago
Ross McFarland
02296652ca
WIP: Backing out a more test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
4 years ago
Ross McFarland
adb01a982c
WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
4 years ago
Ross McFarland
f43833e9bb
Make YamlProvider.SUPPORTS_ROOT_NS configurable, default True
This will result in less churn in tests for root NS support and allow us
to enable/disable things easily as needed.
4 years ago
Ross McFarland
38b51fb456
Rework unsafe bits, add RootNsChange as a new type of unsafe plan
4 years ago
Ross McFarland
40820f351e
Implement and test Zone.root_ns helper property
4 years ago
Ross McFarland
2564e4aebe
Fix handling of null MX records and add test for behavior
4 years ago
Ross McFarland
51d4b1ba7a
Few more root ns test cases
4 years ago
Ross McFarland
728ab2af89
_process_desired_zone after populate, test/enforce order
4 years ago
Ross McFarland
5215930109
Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests
4 years ago
Ross McFarland
08f98a5e65
Revert "Remove _process_existing_zone as it's not currently needed"
This reverts commit f1fd63205e .
4 years ago