Alizey Jalil
c816fe7af0
Added test for missing zone file
2 years ago
Ross McFarland
4c09f4bc71
Support for nested config env variable expansion
2 years ago
Ross McFarland
5568dc6be1
Add Processor.process_source_and_target_zones
2 years ago
Ross McFarland
93a00f12a9
Add Processor.process_source_and_target_zones
2 years ago
Ross McFarland
d2baf6db8f
Prefer __version__ over __VERSION__ internally, fallback when referencing modules
2 years ago
Viranch Mehta
e92c1079c9
Fix wrong re-use of sources for dynamic zones
2 years ago
Kiran Naidoo
b20113e1a9
Fix typo when loading auto-arpa config
Resolved a typo that prevented the auto-arpa configuration options from
loading.
2 years ago
Ross McFarland
49bdf9e4df
octodns-dump support all zones, including dynamic-config
2 years ago
Ross McFarland
ebe9374405
Clean up context cases, full test coverage
2 years ago
Ross McFarland
1776d558b5
POC of config/validation errors with context. Implemented by YAML for all it's cases
2 years ago
Ross McFarland
4b4b907584
Testing for manager's use of list_zones for dynamically configured zones
2 years ago
Ross McFarland
6be0a8133a
isort import formatting
3 years ago
Ross McFarland
172f6a333b
fully check auto_arpa and eligible_* usage for safety
3 years ago
Ross McFarland
bc6a2d8067
working auto-arpa setup
3 years ago
Ross McFarland
6cb81cb15e
Support for delaying arpa processing
3 years ago
Ross McFarland
bd13f8dab1
Manager.get_zone used everywhere rather than direct create
3 years ago
Ross McFarland
9f20efc887
Remove a stray pprint in a test
3 years ago
Ross McFarland
1f2bb8860a
Revert "WIP/expiriments with auto-arpa"
This reverts commit 8b82159ee0 .
3 years ago
Ross McFarland
2a3eb24759
Remove stray pprint
3 years ago
Ross McFarland
8b82159ee0
WIP/expiriments with auto-arpa
3 years ago
Ross McFarland
d7880c084d
Remove from __futures__ bits, all are now manditory
3 years ago
Ross McFarland
0f57e6c63e
Implement manager.processors for configuring global processors
3 years ago
Ross McFarland
fa4225b625
Fix lots of errant '...' '...' string joins
3 years ago
Ross McFarland
2d0f2ccc5c
Add idna tests of eligible_zones and fix some messages/bugs
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
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
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
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
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
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
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
5215930109
Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests
4 years ago
Ross McFarland
33a10eada4
Base support for managing root NS records
* Zone object no longer treats them special, some tests needed adjusting
b/c of this, some provider's tests may also need adjusting, though
they should not plan changes since they won't (yet) have
SUPPORTS_ROOT_NS
* _process_desired_zone filters and warns when not supported
* YamlProvider supports them
* TinyDnsBaseSource supports them
4 years ago
Ross McFarland
e0a5f4d746
Rework _AggregateTarget to dynamically handle SUPPORTS
4 years ago
Ross McFarland
e25b618e95
Initial pass at script/update-requirements, results of run
4 years ago
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
4 years ago
Ross McFarland
aae65594f2
Remove explicit use of six
4 years ago
Ross McFarland
8c04508a86
Implement & test Zone.copy (shallow) and utilize it in processors
4 years ago
Brian E Clow
f4caa35caa
Ignoring URLFWD and adjusting test counts for other providers
5 years ago