]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
5 years agoUpdate mypy requirement from ^0.782 to ^0.790 593/head
dependabot[bot] [Mon, 12 Oct 2020 05:46:16 +0000 (05:46 +0000)] 
Update mypy requirement from ^0.782 to ^0.790

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.782...v0.790)

Signed-off-by: dependabot[bot] <support@github.com>
5 years agoFirst pass at adding network timeouts to tests. This is for when
Bob Halley [Fri, 9 Oct 2020 16:35:14 +0000 (09:35 -0700)] 
First pass at adding network timeouts to tests.  This is for when
it looks like we have a network but it's not connected to the
Internet.

5 years agoadd comment on NSEC downcasing to avoid future confusion
Bob Halley [Tue, 6 Oct 2020 17:04:14 +0000 (10:04 -0700)] 
add comment on NSEC downcasing to avoid future confusion

5 years agowe should not canonicalize SVCB/HTTPS alias target either!
Bob Halley [Tue, 6 Oct 2020 16:33:57 +0000 (09:33 -0700)] 
we should not canonicalize SVCB/HTTPS alias target either!

5 years agoThe alias target of an SVCB or HTTPS rdata must not be compressed.
Bob Halley [Tue, 6 Oct 2020 16:26:57 +0000 (09:26 -0700)] 
The alias target of an SVCB or HTTPS rdata must not be compressed.

5 years agoMerge pull request #586 from The-Compiler/no-deprecated
Bob Halley [Tue, 22 Sep 2020 14:11:24 +0000 (07:11 -0700)] 
Merge pull request #586 from The-Compiler/no-deprecated

Avoid using deprecated Resolver.query in examples

5 years agoAvoid using deprecated Resolver.query in examples 586/head
Florian Bruhin [Mon, 21 Sep 2020 18:34:24 +0000 (20:34 +0200)] 
Avoid using deprecated Resolver.query in examples

5 years agoMerge pull request #583 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.18
Bob Halley [Wed, 16 Sep 2020 14:28:03 +0000 (07:28 -0700)] 
Merge pull request #583 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.18

Update trio requirement from >=0.14,<0.17 to >=0.14,<0.18

5 years agoUpdate trio requirement from >=0.14,<0.17 to >=0.14,<0.18 583/head
dependabot[bot] [Wed, 16 Sep 2020 05:12:50 +0000 (05:12 +0000)] 
Update trio requirement from >=0.14,<0.17 to >=0.14,<0.18

Updates the requirements on [trio](https://github.com/python-trio/trio) to permit the latest version.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.14.0...v0.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
5 years agoMerge pull request #579 from rthalley/proc-order
Bob Halley [Wed, 9 Sep 2020 12:59:19 +0000 (05:59 -0700)] 
Merge pull request #579 from rthalley/proc-order

Processing order

5 years agoincrease coverage for URI and SVCB processing_order() 579/head
Bob Halley [Wed, 9 Sep 2020 12:50:59 +0000 (05:50 -0700)] 
increase coverage for URI and SVCB processing_order()

5 years agoMerge pull request #580 from rthalley/full_match
Bob Halley [Wed, 9 Sep 2020 12:36:09 +0000 (05:36 -0700)] 
Merge pull request #580 from rthalley/full_match

Address RRset.match() signature issues

5 years agocorrect and simplify weighted_processing_order()
Bob Halley [Wed, 9 Sep 2020 12:35:36 +0000 (05:35 -0700)] 
correct and simplify weighted_processing_order()

5 years agoSimplify code.
Brian Wellington [Tue, 8 Sep 2020 18:01:57 +0000 (11:01 -0700)] 
Simplify code.

5 years agofix rrset match signature problems 580/head
Bob Halley [Thu, 3 Sep 2020 14:46:53 +0000 (07:46 -0700)] 
fix rrset match signature problems

5 years agoadd missing doco for override_rdclass parameter
Bob Halley [Thu, 3 Sep 2020 14:42:59 +0000 (07:42 -0700)] 
add missing doco for override_rdclass parameter

5 years agofix trio example
Bob Halley [Thu, 3 Sep 2020 14:09:01 +0000 (07:09 -0700)] 
fix trio example

5 years agotest processing_order()
Bob Halley [Mon, 31 Aug 2020 17:01:23 +0000 (10:01 -0700)] 
test processing_order()

5 years agodeal with all zero weight URI case
Bob Halley [Mon, 31 Aug 2020 17:01:10 +0000 (10:01 -0700)] 
deal with all zero weight URI case

5 years agoprocessing order implementation
Bob Halley [Sat, 29 Aug 2020 20:48:51 +0000 (13:48 -0700)] 
processing order implementation

5 years agotest _as_* methods
Bob Halley [Tue, 1 Sep 2020 14:20:27 +0000 (07:20 -0700)] 
test _as_* methods

5 years ago_as_ttl was not returning the value if converting from a string
Bob Halley [Tue, 1 Sep 2020 14:19:28 +0000 (07:19 -0700)] 
_as_ttl was not returning the value if converting from a string

5 years agoimprove versioned zone coverage
Bob Halley [Tue, 1 Sep 2020 14:06:27 +0000 (07:06 -0700)] 
improve versioned zone coverage

5 years agoremove obsolete change indication code from WritableVersion deletion code
Bob Halley [Tue, 1 Sep 2020 13:53:03 +0000 (06:53 -0700)] 
remove obsolete change indication code from WritableVersion deletion code

5 years agoadd some versioned zone test cases
Bob Halley [Tue, 1 Sep 2020 13:51:25 +0000 (06:51 -0700)] 
add some versioned zone test cases

5 years agomore test coverage for dns.query._matches_destination()
Bob Halley [Tue, 1 Sep 2020 13:38:18 +0000 (06:38 -0700)] 
more test coverage for dns.query._matches_destination()

5 years agocheck for TTL type errors in rdataset/rrset from_text; allow text-form TTLs there.
Bob Halley [Tue, 1 Sep 2020 13:08:43 +0000 (06:08 -0700)] 
check for TTL type errors in rdataset/rrset from_text; allow text-form TTLs there.

5 years agoadd a note on type annotations
Bob Halley [Mon, 31 Aug 2020 15:03:24 +0000 (08:03 -0700)] 
add a note on type annotations

5 years agoenable TSIG text format testing
Bob Halley [Fri, 28 Aug 2020 01:53:17 +0000 (18:53 -0700)] 
enable TSIG text format testing

5 years agoAdd DLV to example zone.
Bob Halley [Fri, 28 Aug 2020 01:45:58 +0000 (18:45 -0700)] 
Add DLV to example zone.

5 years agoSeparate common resolver functionality into a BaseResolver class.
Bob Halley [Fri, 28 Aug 2020 01:30:27 +0000 (18:30 -0700)] 
Separate common resolver functionality into a BaseResolver class.

5 years agorefresh doco rdatatype list
Bob Halley [Fri, 28 Aug 2020 01:22:52 +0000 (18:22 -0700)] 
refresh doco rdatatype list

5 years agodisable one more quad nine thing
Bob Halley [Fri, 28 Aug 2020 01:22:13 +0000 (18:22 -0700)] 
disable one more quad nine thing

5 years agofollow usual dnspython inheritance scheme for shared types
Bob Halley [Fri, 28 Aug 2020 01:21:49 +0000 (18:21 -0700)] 
follow usual dnspython inheritance scheme for shared types

5 years agoreplace() can now rely on constructors to validate
Bob Halley [Thu, 27 Aug 2020 15:26:19 +0000 (08:26 -0700)] 
replace() can now rely on constructors to validate

5 years agolint
Bob Halley [Thu, 27 Aug 2020 15:26:04 +0000 (08:26 -0700)] 
lint

5 years agoadd SMIMEA to whatsnew
Bob Halley [Thu, 27 Aug 2020 12:46:52 +0000 (05:46 -0700)] 
add SMIMEA to whatsnew

5 years agoMerge pull request #578 from desec-io/master
Bob Halley [Thu, 27 Aug 2020 12:45:23 +0000 (05:45 -0700)] 
Merge pull request #578 from desec-io/master

Adds SMIMEA record type, RFC 8162

5 years agoAdds SMIMEA record type, RFC 8162 578/head
Nils Wisiol [Thu, 27 Aug 2020 07:47:02 +0000 (09:47 +0200)] 
Adds SMIMEA record type, RFC 8162

5 years agoDo not split OPENPGPKEY base64 into chunks. #577
Bob Halley [Wed, 26 Aug 2020 16:38:25 +0000 (09:38 -0700)] 
Do not split OPENPGPKEY base64 into chunks. #577

5 years agotry to work around pathing problem for codecov
Bob Halley [Wed, 26 Aug 2020 14:20:11 +0000 (07:20 -0700)] 
try to work around pathing problem for codecov

5 years agorestore missing windows tuple-fy
Bob Halley [Wed, 26 Aug 2020 13:52:14 +0000 (06:52 -0700)] 
restore missing windows tuple-fy

5 years agouse classmethod for Gateway factories
Bob Halley [Wed, 26 Aug 2020 13:49:56 +0000 (06:49 -0700)] 
use classmethod for Gateway factories

5 years agomore constructor checking work
Bob Halley [Wed, 26 Aug 2020 13:20:32 +0000 (06:20 -0700)] 
more constructor checking work

5 years agoremove duplicate isinstance check
Bob Halley [Tue, 25 Aug 2020 16:18:22 +0000 (09:18 -0700)] 
remove duplicate isinstance check

5 years agouse self._as_name()
Bob Halley [Tue, 25 Aug 2020 16:18:10 +0000 (09:18 -0700)] 
use self._as_name()

5 years agostronger constructor checking in SVCB/HTTPS params
Bob Halley [Tue, 25 Aug 2020 14:38:31 +0000 (07:38 -0700)] 
stronger constructor checking in SVCB/HTTPS params

5 years agoremove _constify() uses; more complete checking of bitmap windows types like NSEC
Bob Halley [Tue, 25 Aug 2020 14:32:11 +0000 (07:32 -0700)] 
remove _constify() uses; more complete checking of bitmap windows types like NSEC

5 years agoconstructor checking for EDNS options
Bob Halley [Tue, 25 Aug 2020 13:49:55 +0000 (06:49 -0700)] 
constructor checking for EDNS options

5 years agois_udp is better as Inbound attribute not parameter to process_message(). Increase...
Bob Halley [Sun, 23 Aug 2020 02:11:19 +0000 (19:11 -0700)] 
is_udp is better as Inbound attribute not parameter to process_message().  Increase coverage.

5 years agodisable 9.9.9.9 in tests temporarily
Bob Halley [Sat, 22 Aug 2020 19:55:53 +0000 (12:55 -0700)] 
disable 9.9.9.9 in tests temporarily

5 years agominor doco edits
Bob Halley [Sat, 22 Aug 2020 19:43:24 +0000 (12:43 -0700)] 
minor doco edits

5 years agoremove parameters that are no longer used in inbound_xfr()
Bob Halley [Sat, 22 Aug 2020 17:43:49 +0000 (10:43 -0700)] 
remove parameters that are no longer used in inbound_xfr()

5 years agofinish type constructor type checking
Bob Halley [Sat, 22 Aug 2020 17:42:12 +0000 (10:42 -0700)] 
finish type constructor type checking

5 years agocheckpoint rdata constructor checking
Bob Halley [Fri, 21 Aug 2020 22:54:57 +0000 (15:54 -0700)] 
checkpoint rdata constructor checking

5 years agoadd as_rdataclass() and as_rdatatype(), and use them in rdata constructor
Bob Halley [Fri, 21 Aug 2020 17:12:17 +0000 (10:12 -0700)] 
add as_rdataclass() and as_rdatatype(), and use them in rdata constructor

5 years agodo not call the OPT constructor with rdclass == None
Bob Halley [Fri, 21 Aug 2020 17:11:56 +0000 (10:11 -0700)] 
do not call the OPT constructor with rdclass == None

5 years agoreplace duplicated doco with references
Bob Halley [Fri, 21 Aug 2020 17:10:59 +0000 (10:10 -0700)] 
replace duplicated doco with references

5 years agoDetect and reject attempts to use compressed names in the generic rdata
Bob Halley [Fri, 21 Aug 2020 16:20:17 +0000 (09:20 -0700)] 
Detect and reject attempts to use compressed names in the generic rdata
syntax of a known type.

5 years agoupdate whatsnew.rst
Bob Halley [Fri, 21 Aug 2020 14:55:27 +0000 (07:55 -0700)] 
update whatsnew.rst

5 years agoMerge pull request #576 from rthalley/xfr
Bob Halley [Fri, 21 Aug 2020 14:48:41 +0000 (07:48 -0700)] 
Merge pull request #576 from rthalley/xfr

Implement new inbound xfr design.

5 years agoImplement new inbound xfr design. 576/head
Bob Halley [Mon, 17 Aug 2020 00:58:29 +0000 (17:58 -0700)] 
Implement new inbound xfr design.

5 years agoadd effective origin to origin_information()
Bob Halley [Thu, 20 Aug 2020 12:17:30 +0000 (05:17 -0700)] 
add effective origin to origin_information()

5 years agoTxns and txn managers have a single RdataClass
Bob Halley [Wed, 19 Aug 2020 23:46:30 +0000 (16:46 -0700)] 
Txns and txn managers have a single RdataClass

5 years agorename masterfile to zonefile
Bob Halley [Wed, 19 Aug 2020 23:14:24 +0000 (16:14 -0700)] 
rename masterfile to zonefile

5 years agoone import of dns.immutable is enough
Bob Halley [Wed, 19 Aug 2020 23:07:24 +0000 (16:07 -0700)] 
one import of dns.immutable is enough

5 years agoMerge branch 'more-immut' into master
Bob Halley [Wed, 19 Aug 2020 23:05:09 +0000 (16:05 -0700)] 
Merge branch 'more-immut' into master

This add the immutable decorator to names and rdata, and prepares rdata
for further checking and type conversions in the constructor.

5 years agofix timeout computation in async send_tcp()
Bob Halley [Wed, 19 Aug 2020 15:24:11 +0000 (08:24 -0700)] 
fix timeout computation in async send_tcp()

5 years agomake name and rdata use the immutable decorator
Bob Halley [Wed, 19 Aug 2020 12:30:30 +0000 (05:30 -0700)] 
make name and rdata use the immutable decorator

5 years agoOn win32, skip valid IPv6 addresses that socket.inet_pton() erroneously thinks are...
Bob Halley [Wed, 19 Aug 2020 02:45:33 +0000 (19:45 -0700)] 
On win32, skip valid IPv6 addresses that socket.inet_pton() erroneously thinks are invalid.

5 years agoadd instrumentation to find out what v6 addresses windows does not like
Bob Halley [Wed, 19 Aug 2020 02:34:20 +0000 (19:34 -0700)] 
add instrumentation to find out what v6 addresses windows does not like

5 years agostore reference to manager in all txns; add origin_information()
Bob Halley [Wed, 19 Aug 2020 02:23:22 +0000 (19:23 -0700)] 
store reference to manager in all txns; add origin_information()

5 years agonode replace_rdataset() should not permit rrsets
Bob Halley [Tue, 18 Aug 2020 13:28:21 +0000 (06:28 -0700)] 
node replace_rdataset() should not permit rrsets

5 years agoadd missing copyrights
Bob Halley [Mon, 17 Aug 2020 13:31:46 +0000 (06:31 -0700)] 
add missing copyrights

5 years agoUpdate _clone protocol for immutable rdatasets.
Bob Halley [Mon, 17 Aug 2020 13:27:07 +0000 (06:27 -0700)] 
Update _clone protocol for immutable rdatasets.

5 years agoAdd tests of IPv4/IPv6 address parsing.
Brian Wellington [Fri, 14 Aug 2020 20:30:56 +0000 (13:30 -0700)] 
Add tests of IPv4/IPv6 address parsing.

5 years agoleading single colons are just as bad as trailing ones
Bob Halley [Fri, 14 Aug 2020 20:29:24 +0000 (13:29 -0700)] 
leading single colons are just as bad as trailing ones

5 years agoHandle some invalid IPv6 literals we erroneously allowed.
Bob Halley [Fri, 14 Aug 2020 20:27:08 +0000 (13:27 -0700)] 
Handle some invalid IPv6 literals we erroneously allowed.

5 years agoMerge pull request #573 from rthalley/dependabot/pip/wheel-tw-0.35.0
Bob Halley [Fri, 14 Aug 2020 13:58:58 +0000 (06:58 -0700)] 
Merge pull request #573 from rthalley/dependabot/pip/wheel-tw-0.35.0

Update wheel requirement from ^0.34.2 to ^0.35.0

5 years agoUpdate wheel requirement from ^0.34.2 to ^0.35.0 573/head
dependabot[bot] [Fri, 14 Aug 2020 05:23:08 +0000 (05:23 +0000)] 
Update wheel requirement from ^0.34.2 to ^0.35.0

Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/master/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.34.2...0.35.0)

Signed-off-by: dependabot[bot] <support@github.com>
5 years agocopy the signature of __init__ too
Bob Halley [Fri, 14 Aug 2020 00:52:49 +0000 (17:52 -0700)] 
copy the signature of __init__ too

5 years agokeep following init protocol for __setstate__ when ancestor is Immutable too
Bob Halley [Fri, 14 Aug 2020 00:42:47 +0000 (17:42 -0700)] 
keep following init protocol for __setstate__ when ancestor is Immutable too

5 years agoapply the immutable init wrapper to __setstate__ too, if present
Bob Halley [Fri, 14 Aug 2020 00:30:04 +0000 (17:30 -0700)] 
apply the immutable init wrapper to __setstate__ too, if present

5 years agotest name pickling
Bob Halley [Fri, 14 Aug 2020 00:29:42 +0000 (17:29 -0700)] 
test name pickling

5 years agoset class and module properly for decorated immutable classes.
Bob Halley [Thu, 13 Aug 2020 22:02:39 +0000 (15:02 -0700)] 
set class and module properly for decorated immutable classes.

5 years agoDo not try to set a future that is already set. [#572]
Bob Halley [Thu, 13 Aug 2020 15:08:19 +0000 (08:08 -0700)] 
Do not try to set a future that is already set. [#572]

5 years agoAllow explicit commit/rollback. Prevent multiple txn end. Add txn.changed().
Bob Halley [Thu, 13 Aug 2020 14:31:57 +0000 (07:31 -0700)] 
Allow explicit commit/rollback.  Prevent multiple txn end.  Add txn.changed().

5 years agoset_serial() -> update_serial()
Bob Halley [Thu, 13 Aug 2020 13:31:34 +0000 (06:31 -0700)] 
set_serial() -> update_serial()

5 years agoIf we rollback a write, release the write txn and wake someone up.
Bob Halley [Wed, 12 Aug 2020 13:59:59 +0000 (06:59 -0700)] 
If we rollback a write, release the write txn and wake someone up.
Don't allow pruning to prune any version >= the version of an active reader.
(This isn't a bug fix as the reader was safe before, but this ensures that
the reader can open a successor version if needed.)

5 years agoremove broken stats badge
Bob Halley [Wed, 12 Aug 2020 01:07:14 +0000 (18:07 -0700)] 
remove broken stats badge

5 years agodoco update
Bob Halley [Wed, 12 Aug 2020 01:07:02 +0000 (18:07 -0700)] 
doco update

5 years agohide versions
Bob Halley [Wed, 12 Aug 2020 01:06:34 +0000 (18:06 -0700)] 
hide versions

5 years agolint
Bob Halley [Tue, 11 Aug 2020 14:42:07 +0000 (07:42 -0700)] 
lint

5 years agoopen versions by id or serial; cleanups
Bob Halley [Tue, 11 Aug 2020 14:38:26 +0000 (07:38 -0700)] 
open versions by id or serial; cleanups

5 years agoremove ImmutableNode from node as it is not used.
Bob Halley [Tue, 11 Aug 2020 14:37:58 +0000 (07:37 -0700)] 
remove ImmutableNode from node as it is not used.

5 years agoMerge pull request #569 from rthalley/transaction
Bob Halley [Tue, 11 Aug 2020 01:15:45 +0000 (18:15 -0700)] 
Merge pull request #569 from rthalley/transaction

Transaction Support

5 years agoTransaction support. 569/head
Bob Halley [Thu, 30 Jul 2020 16:21:03 +0000 (09:21 -0700)] 
Transaction support.

5 years agodetect escapes > 255
Bob Halley [Tue, 11 Aug 2020 01:12:44 +0000 (18:12 -0700)] 
detect escapes > 255

5 years agodetect various bad ttls
Bob Halley [Tue, 11 Aug 2020 01:12:29 +0000 (18:12 -0700)] 
detect various bad ttls

5 years agoMerge pull request #571 from bwelling/tsig-text
Bob Halley [Tue, 11 Aug 2020 01:13:24 +0000 (18:13 -0700)] 
Merge pull request #571 from bwelling/tsig-text

Adds support for reading TSIG text format.