1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

882 Commits

Author SHA1 Message Date
Ross McFarland
2a3eb24759 Remove stray pprint 2022-09-27 07:18:47 -07:00
Ross McFarland
2d0be4147c Merge branch 'main' into host-from-fqdn-idna 2022-09-23 18:49:33 -07:00
Ross McFarland
1e57595554 Merge branch 'main' into empty-super 2022-09-23 18:47:11 -07:00
Ross McFarland
d04ad0fd15 Merge branch 'main' into idna-values 2022-09-21 09:25:38 -07:00
Ross McFarland
23673f1a1f Merge branch 'main' into value-object 2022-09-20 12:32:46 -07:00
Ross McFarland
3b102b4516 hostname_from_fqdn work with utf8 or idna, whichevr it's passed 2022-09-15 19:26:16 -07:00
Ross McFarland
66debc0b80 Use super() now that we require python3, less error prone 2022-09-15 14:25:47 -07:00
Ross McFarland
d7880c084d Remove from __futures__ bits, all are now manditory 2022-09-15 14:10:21 -07:00
Ross McFarland
0932cb5def Merge remote-tracking branch 'origin/value-object' into idna-values 2022-09-14 14:04:52 -07:00
Ross McFarland
6e6edac576 Merge branch 'main' into value-object 2022-09-14 14:04:22 -07:00
Ross McFarland
faf277ca01 IDNA support for Record values holding fqdns 2022-09-14 13:56:27 -07:00
Ross McFarland
870a5c3c3e Merge remote-tracking branch 'origin/main' into value-object 2022-09-14 10:35:56 -07:00
Ross McFarland
bf296cd5ff Merge branch 'main' into global-processors 2022-09-14 09:52:10 -07:00
Ross McFarland
0c9fb11696 Merge branch 'main' into idna-internally 2022-09-14 09:37:05 -07:00
Ross McFarland
5f277b886c Merge branch 'main' into name-filtering 2022-09-14 06:49:10 -07:00
Ross McFarland
48831659e5 Add allowed_ttls support to TtlRestrictionFilter 2022-09-14 06:46:13 -07:00
Ross McFarland
0f57e6c63e Implement manager.processors for configuring global processors 2022-09-12 15:28:51 -07:00
Ross McFarland
b4792707f8 Merge remote-tracking branch 'origin/main' into idna-internally 2022-09-12 14:56:01 -07:00
Ross McFarland
cabdd1222a Add lenient support to TtlRestrictionFilter 2022-09-12 14:32:23 -07:00
Ross McFarland
8ff83b8ed9 Implement TtlRestrictionFilter w/tests 2022-09-12 14:18:20 -07:00
Ross McFarland
47b72225dc Processor impl that filters on name 2022-09-11 14:36:35 -07:00
Ross McFarland
9da2c15328 full testing for missing value properties 2022-09-06 15:30:00 -07:00
Ross McFarland
b402a43665 All record value(s) are first-class objects, as compatible as possible with previous str/dict 2022-09-06 14:55:24 -07:00
Ross McFarland
fa4225b625 Fix lots of errant '...' '...' string joins 2022-09-06 12:47:47 -07:00
Ross McFarland
2e3d325f71 YamlProvider.SUPPORTS dynamically returns the list of registered types 2022-08-27 15:53:56 -07:00
Ross McFarland
557b80f784 Implement YamlProvider.supports that always says yes 2022-08-27 15:40:02 -07:00
Ross McFarland
16e0bd0675 Testing of Zone and Record name/decoded_name handling 2022-08-20 11:55:19 -07:00
Ross McFarland
27fc734c2a Test YamlProvider handling of non-ascii record names 2022-08-20 11:39:00 -07:00
Ross McFarland
55b9701837 IdnaError exception handling, ensure validation happens on encoded names 2022-08-20 09:40:54 -07:00
Ross McFarland
799e1232b3 Record should work with encoded same as everything else 2022-08-20 08:11:24 -07:00
Ross McFarland
2d0f2ccc5c Add idna tests of eligible_zones and fix some messages/bugs 2022-08-18 20:10:11 -07:00
Ross McFarland
a33235d608 YamlProvider idna/utf-8 support, prefers utf8 2022-08-18 08:26:57 -07:00
Ross McFarland
286e2bc94d Use dict.__repr__ for IdnaDict 2022-08-18 07:42:08 -07:00
Ross McFarland
a3ceb1f409 Extract Manager zones configuration, add checks for matching utf-u and idna zone names 2022-08-17 18:40:10 -07:00
Ross McFarland
67c75ff146 Implement IdnaDict, a dict with case and idna/utf-8 insensitive keys 2022-08-17 09:58:35 -07:00
Ross McFarland
4a847cb38c More test cases for configured_sub_zones 2022-08-11 12:25:37 -07:00
Ross McFarland
18ee70ddb5 Fix issue when subzone is a non-dotted endswith for zone 2022-08-11 09:10:56 -07:00
Ross McFarland
af010121ea Do away with zone_tree, not a tree and unnecessary now 2022-08-11 08:58:40 -07:00
Ross McFarland
33794f3796 Fix a bug in Zone.add_record subzone handling when name ends with non-dotted subzone name 2022-08-11 08:40:32 -07:00
Ross McFarland
6a1b86af6f Rework configured_sub_zones and add tests specifically for it 2022-08-11 07:50:32 -07:00
Ross McFarland
6e5c7a8b70 Add failing tests of subzone handling 2022-08-11 06:18:05 -07:00
Ross McFarland
78c53de22c Merge remote-tracking branch 'origin/master' into idna 2022-08-09 07:58:07 -07:00
Ross McFarland
02e07f4209 Merge remote-tracking branch 'origin/master' into dump-support-output-provider 2022-07-22 16:06:51 -07:00
Adam Smith
2a56d9b26e AxfrSource and ZoneFileSource: support multi-value PTR records 2022-07-22 12:50:24 -04:00
Ross McFarland
e116d26eec Implement black formatting 2022-07-04 12:27:39 -07:00
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.
2022-06-27 10:56:20 +10:00
Ross McFarland
5c1a1b9621 Merge remote-tracking branch 'origin/master' into idna 2022-06-26 16:36:17 -04:00
Ross McFarland
08523cd4ba Functionally complete (I think) IDNA encode/decode support 2022-06-26 16:35:47 -04:00
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.
2022-06-23 19:22:15 +10:00
Kian-Meng Ang
04b7bf0ac2 Fix typos 2022-05-29 13:16:01 +08:00