Ross McFarland
cea1c65305
Remove pprints and add some comments/doc
3 years ago
Ross McFarland
ace2fdf4e1
Make sure _ChunkedValue.parse_rdata_text escapes ;
3 years ago
Ross McFarland
0228e6822e
Implmement Record.from_rrs and plug it together with parse_rdata_text
3 years ago
Ross McFarland
d7880c084d
Remove from __futures__ bits, all are now manditory
3 years ago
Ross McFarland
1cbcfbf1d3
Urlfwd isn't a RFC type so it shouldn't have rr text support
3 years ago
Ross McFarland
e6944ff5ae
finish up rr text Record coverage (hopefully)
3 years ago
Ross McFarland
e33cf55e7d
Another round of Record rr_text handling
3 years ago
Ross McFarland
0eb4e66634
Naptr to/from rr text
3 years ago
Ross McFarland
9caaa5259a
Implement to/from rr text for MxValue as a POC
3 years ago
Ross McFarland
9da2c15328
full testing for missing value properties
3 years ago
Ross McFarland
b402a43665
All record value(s) are first-class objects, as compatible as possible with previous str/dict
3 years ago
Ross McFarland
fa4225b625
Fix lots of errant '...' '...' string joins
3 years ago
Ross McFarland
2e3d325f71
YamlProvider.SUPPORTS dynamically returns the list of registered types
3 years ago
Ross McFarland
16e0bd0675
Testing of Zone and Record name/decoded_name handling
3 years ago
Ross McFarland
55b9701837
IdnaError exception handling, ensure validation happens on encoded names
3 years ago
Ross McFarland
e116d26eec
Implement black formatting
3 years ago
Kian-Meng Ang
04b7bf0ac2
Fix typos
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
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
2564e4aebe
Fix handling of null MX records and add test for behavior
4 years ago
Ross McFarland
99da4abd9f
Include a CNAMe test for url with path too
4 years ago
Ross McFarland
f2b3505d43
Falidate record fields that should hold FQDNs w/tests
4 years ago
Ross McFarland
f62b4113c9
Test that CNAME does not allow url and fqdn w/path
4 years ago
Ross McFarland
9e51a4600f
Extract RackspaceProvider from octoDNS core
4 years ago
Ross McFarland
3ed6d743e6
Switch to pytests, add a tiny bit of smoke test coverage to get something coverage no longer gets
4 years ago
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
4 years ago
Ross McFarland
d280e0850c
Add a validation to catch name=@ and suggest name='' instead
4 years ago
Viranch Mehta
8d95d05f5f
Bump upper limit on weights
4 years ago
Viranch Mehta
e3f76e562e
Add tests for full coverage
4 years ago
Viranch Mehta
787ce7ccc8
Add the default status in tests to make them pass
4 years ago
Viranch Mehta
7d7a1361b2
Retain octodns settings on record copy
4 years ago
Ross McFarland
aae65594f2
Remove explicit use of six
4 years ago
Ross McFarland
9156bdaea0
f-strings for tests pass 1
4 years ago
Ross McFarland
074de66988
Normalize IP addresses
4 years ago
Viranch Mehta
6e9ce3ac3c
pick first PTR value instead of erroring out
4 years ago
Viranch Mehta
49bff426b7
Multi-value PTR records
4 years ago
Brian E Clow
2a6480bc05
Adding URLFWD record testing
5 years ago
Ross McFarland
e1d262a301
Add a validation requiring single value weight=1
5 years ago
Viranch Mehta
9b5c8be01e
optimize by not creating traffic manager for single-value pools
If single-value pools have a weight defined, it will be lost by this
optimization. Next time octodns-sync is run, it will show an update for
setting the weight on remote. To overcome this, this commit includes a
change to Record object that ignores the weight in single-value pools.
5 years ago
Mark Tearle
9d4bd0aaec
Add support for LOC records
5 years ago
Peter Dave Hello
b7ed4aa57f
Improve ALIAS, CNAME, DNAME & PTR record FQDN validation
Use fqdn package to help verify if the record value is really valid.
The original behavior will treat value like `_.` or `.` be a valid
record, which is strange, and the real world may not have those use
cases at all.
The RFC documents are pretty long, as I didn't read them all or enough
to tell should it be valid or not by the spec, so I opened issue #612 to
discuss this case and got a positive response from the main maintainer
to have the change.
Close #628
5 years ago
Guillaume Gelin
9c20d0015b
Fix name length validation
Closes #626
5 years ago
Ross McFarland
19798e3acf
Only allow ALIAS on APEX
5 years ago
Jonathan Leroy
a2aa98377d
Add tests for Record.copy()
5 years ago
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
support them
5 years ago