Ross McFarland
08de84078e
idna_decode barfs on .., so needs a work-around
1 year ago
Ross McFarland
40b30e5124
Record validation for double dots ..
1 year ago
Ross McFarland
c5ea3c24d9
Remove existing tests with double dots
1 year ago
Ross McFarland
291992db2c
remove stray print(
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
Ross McFarland
3beab65e8b
Add Record.values not a single string validation
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
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
03f37e3ae9
Fix bug with Record.copy when values is an empty list []
2 years ago
Ross McFarland
65e87d0a46
Fixed Record.data, now includes the octodns special section data
2 years ago
Ross McFarland
e9cdacdd13
Include octodns special section in record __repr__
2 years ago
Ross McFarland
bca8db6c8f
parse_rdata_text supports unquoting things (powerdns)
2 years ago
Ross McFarland
76e330a7c3
Add source parameter to Record.from_rrs
2 years ago
Ross McFarland
857d5e2a61
Record's carry context, Zone exceptions make use of it to help with error messages
2 years ago
Ross McFarland
ebe9374405
Clean up context cases, full test coverage
2 years ago
Ross McFarland
59a8958226
Record.parse_rdata_texts, TinyDns support for arbitrary record types
2 years ago
Ross McFarland
cfa7abaee5
Validations to ensure Record.name and Zone.name have no whitespace
3 years ago
Ross McFarland
6be0a8133a
isort import formatting
3 years ago
Ross McFarland
90c0402b00
break record tests into individual files
3 years ago
Ross McFarland
9205e32392
Finish breaking up octodns.record
3 years ago
Ross McFarland
965ee566bb
Pull out rest of record into specific files
3 years ago
Ross McFarland
be7c3d279e
WIP breakup of octodns.record file
3 years ago
Ross McFarland
8ba5335333
Add support for DsRecord type
3 years ago
Ross McFarland
e6652c4262
Independant tests for Record.from_rrs
3 years ago
Ross McFarland
4a6fae34b3
PtrValue should no longer be using _TargetValue now that it acceps multiple values
3 years ago
Ross McFarland
2c5d8ad101
Flip ttl and type return order
3 years ago
Ross McFarland
7f0cfb08a2
Implement Record.rrs
3 years ago
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
faf277ca01
IDNA support for Record values holding fqdns
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