Pavan Chandrashekar
789f65c0d1
Lint fixes (long lines)
2020-03-09 16:51:32 -07:00
Pavan Chandrashekar
ee8111ec1a
Remove a couple debug prints
2020-03-09 16:41:35 -07:00
Pavan Chandrashekar
d7c55f15c3
Handle dynamic filter chains better
2020-03-09 16:39:02 -07:00
Pavan Chandrashekar
d68a034a57
Update country filter conditionally instead of changing the default
2020-03-06 12:25:07 -08:00
Pavan Chandrashekar
b498f76725
Add country based filter to NS1 filter chain
2020-03-04 17:55:55 -08:00
Pavan Chandrashekar
0daa37578b
Address review comments
2020-03-03 16:36:08 -08:00
Pavan Chandrashekar
71a277f6ad
NS1 doesn't support region OC. Handle it explicitly in the provider
2020-03-03 11:07:29 -08:00
Ross McFarland
c7be8fada2
Add a way to configure Ns1Provider monitoring regions for records
2020-01-16 14:37:25 -08:00
Ross McFarland
01a9fa87b1
Address Ns1Provider review feedback
2020-01-13 07:29:38 -08:00
Ross McFarland
391ef583ae
Ns1 should use geofence_regional to avoid nearest matching
2020-01-06 10:22:41 -08:00
Ross McFarland
95f5111487
NS1 geo records will always use 'answers'
2020-01-06 10:18:56 -08:00
Ross McFarland
0f298e51be
Tests for ns1 _monitors_gc
2019-12-13 13:22:54 -08:00
Ross McFarland
4022155b72
Method naming consistency, test coverage for feeds and monitors
2019-12-13 13:07:32 -08:00
Ross McFarland
8ec84f49bb
More ns1 code coverage, bug fix for monitor matching
2019-12-13 12:39:14 -08:00
Ross McFarland
d7053a2e92
Ns1Client tests for caching and minor logic
2019-12-13 11:58:18 -08:00
Ross McFarland
6c7abe1fd6
Ns1 still SUPPORTS_GEO
2019-12-12 14:19:16 -08:00
Ross McFarland
674c29fb8b
Debug logging
2019-12-12 14:17:42 -08:00
Ross McFarland
c119f2e802
Move ns1 caching to client where it's much safer/consistent
2019-12-12 14:03:09 -08:00
Ross McFarland
55f4194daf
Functionally complement and untested ns1 dynamic support
2019-12-12 13:23:35 -08:00
Ross McFarland
f6c60b69b7
WIP monitors management
2019-12-11 15:05:52 -08:00
Ross McFarland
7a472506cc
Implement _data_for_dynamic_A w/some related refactoring
2019-12-10 13:50:11 -08:00
Ross McFarland
ea2a52c307
Python 3 friendly way to re-raise when tries expire
2019-12-10 12:26:19 -08:00
Ross McFarland
f0bc9add22
Rough draft/expirimentation on dynamic creation
2019-12-09 14:30:02 -08:00
Ross McFarland
4fd2daa8a9
Implement reworked NS1 retry mechinism
2019-12-09 08:56:55 -08:00
Ross McFarland
9e8a417c35
Refactor thin Ns1Client wrapper out of provider
2019-12-09 08:26:20 -08:00
Ross McFarland
c4987f1a09
s/nsone/ns1/g
2019-12-09 08:13:09 -08:00
Ross McFarland
f599d91902
Update ns1 to 0.13.0 and use newer API methods
...
Results in lots of churn in the tests, but actually for the better as it
doesn't have to jump through nearly as many hoops to mock things now.
2019-12-09 08:09:41 -08:00
Ross McFarland
00d65af6f1
Merge remote-tracking branch 'origin/master' into python3-start
2019-10-09 14:35:14 -07:00
Josef Vogt
7c34247e3b
Fix 'server error: zone not found' for NS1 provider
2019-10-09 16:08:29 +02:00
Ross McFarland
0acff67faa
Ns1Provider python3
2019-10-05 14:38:58 -07:00
cclauss
158add8eb6
Modernize Python 2 code to prepare for Python 3
2019-07-12 02:11:43 +02:00
Ross McFarland
303d0532c8
Implement SUPPORTS_DYNAMIC functionality, no providers
2018-12-03 14:40:43 -08:00
Adam Smith
be6019f119
change all answers from NS1 to absolute for types that require it
2018-06-13 22:44:45 -07:00
Ross McFarland
cee7677ae4
Implement Zone.add_record lenient across our providers
2018-05-30 12:41:59 -07:00
Ross McFarland
3ea78af8e1
pycodestyle updates, mostly escaping \, couple r's, ignore break on binary
2018-04-15 09:58:36 -07:00
Tommy Yang
b000c07c80
Skip unsupported records for NS1 & DNSimple
...
Implements the unsupported records skipping fix [proposed by ross](https://github.com/github/octodns/issues/176#issuecomment-359294960 ) in #176 for DNSimple and additionally for NS1.
Fixes #176 and also the NS1 version of it (`AttributeError: 'Ns1Provider' object has no attribute '_data_for_DNSKEY'`) that currently affect domains that have DNSSEC enabled.
2018-04-09 05:50:22 -07:00
Ross McFarland
7228c5b294
Merge remote-tracking branch 'origin/master' into show-zone-create
2018-03-03 10:18:32 -08:00
Ross McFarland
9f2b65ec83
Change str() to unicode() to avoid encoding problems
2018-02-24 09:19:23 -08:00
Steve Coursen
eb97b43d28
length of answers check is unnecessary
2018-02-15 10:49:43 -05:00
Steve Coursen
2e17176442
Move if branch around to avoid creating unnecessary filter chains
2018-02-13 09:14:05 -05:00
Ross McFarland
3ef91326e8
Implement populate exists for Ns1Provider
2018-01-21 14:35:32 -08:00
Ross McFarland
c16b8d6d78
RateLimitException.period is coming back as str now
2018-01-09 07:28:36 -08:00
Steve Coursen
9785e40688
use defaultdict
2018-01-08 22:04:42 -05:00
Steve Coursen
d8ba6a2b41
slight code cleanup, coverage increase
2018-01-08 22:02:46 -05:00
Steve Coursen
241e6cc0ce
E501 trim lines
2018-01-08 21:57:13 -05:00
Steve Coursen
dcdde5db5d
Handle multiple answers correctly when dersializing
2018-01-08 21:46:59 -05:00
Steve Coursen
154ca64038
Fix serialization of multiple answers, that had caused a ResourceException
2018-01-08 20:13:20 -05:00
Steve Coursen
dc43c43866
Increased test coverage
2018-01-08 10:02:27 -05:00
Stephen Coursen
34f2432c3f
after discussion, we should shuffle if there's more than 1 answer
2018-01-05 22:45:00 +00:00
Stephen Coursen
e6cda62284
Only add shuffle if there is more than 1 answer *and* any of the answers have geo
2018-01-05 22:34:15 +00:00