Ross McFarland
aae65594f2
Remove explicit use of six
2021-09-17 07:10:07 -07:00
Ross McFarland
775917f4b9
f-strings for the rest of the tests
2021-09-16 19:55:22 -07:00
Brian E Clow
8ca7070186
Formatting, lingering pr comments, fixing resulting errors
2021-07-23 15:03:51 -07:00
Brian E Clow
a3b94cfed3
Adding URLFWD type to CloudeFlare provider + testing updates
2021-07-22 14:33:06 -07:00
Brian E Clow
0967858554
Accounting for CloudFlare TTL alias
2021-07-22 14:32:09 -07:00
Ross McFarland
5e1f653848
Merge remote-tracking branch 'origin/master' into srv_null_records
2021-02-18 07:52:47 -08:00
Mark Tearle
403be8bb83
Fix handling of NULL SRV records in Cloudflare provider
2021-02-15 22:23:45 +08:00
Mark Tearle
5852ae7a2f
Detect changes to LOC record correctly
2021-02-09 20:41:44 +08:00
Mark Tearle
5963c8b894
Force order of Delete() -> Create() -> Update() in Cloudflare provider
...
Addresses issues with changing between A, AAAA and CNAME records in
both directions with the Cloudflare API
See also: github/octodns#507
See also: github/octodns#586
See also: github/octodns#587
2021-02-09 20:41:42 +08:00
Mark Tearle
8338e8db58
Add LOC record support to Cloudflare provider
2021-02-09 20:41:41 +08:00
Lance Hudson
b80d1575e6
Update tests with new per_page params
2020-06-11 17:57:32 -04:00
Lance Hudson
53d654c39d
Cloudflare: Add Support for Rate Limit
2020-05-28 22:17:34 -04:00
Daniel Weissengruber
74a13e4a19
Cloudflare: Add Support for PTR Records
2020-05-18 11:17:40 +02:00
Ross McFarland
59b12dd9c0
Remove CloudFlare test copy, and specifically test token auth
2020-02-15 16:02:20 -08:00
Ross McFarland
7958233fcc
Consistently order changes :-/
...
Many providers make their modifications in the order that changes comes. In
python3 this causes things to be inconsistently ordered. That mostly works, but
could result in hidenbugs (e.g. Route53Provider's batching could be completely
different based on the order it sees changes.) Sorting changes consistently
is a good thing and it shouldn't hurt situations where providers are already
doing their own ordering. All-in-all more consistent is better and we have to be
explicit with python 3.
2019-10-07 09:17:48 -07:00
Ross McFarland
bfa1fadde9
Fix CloudflareProvider test ordering assumptions
2019-10-07 08:47:01 -07:00
Ross McFarland
f252aa3b98
Merge remote-tracking branch 'origin/master' into python3-start
2019-10-05 07:20:47 -07:00
Ross McFarland
a9d0eef3ba
Lots of text_type
2019-07-29 08:37:47 -07:00
Kitten King
daa6fecc9b
Fix Typos
2019-07-20 06:31:05 +00:00
cclauss
158add8eb6
Modernize Python 2 code to prepare for Python 3
2019-07-12 02:11:43 +02:00
Adam Smith
10452d1546
CloudflareProvider: unpack long SRV records correctly
2019-03-04 11:46:22 -08:00
Matt
bcff231e35
Alter - New tests to be more unit-test-like.
2018-10-18 21:55:48 +11:00
Matt
6ceb35c2fc
Add: New tests.
2018-10-18 10:46:12 +11:00
Matt
18f29f1c6b
Alter: Existing tests.
2018-10-18 10:46:12 +11:00
Ross McFarland
aee786dd01
Explicit handling of SRV & CAA in _gen_key, tests for those cases
2018-10-16 07:08:01 -07:00
Ross McFarland
0c33d3acac
Handle the MX special case around content
2018-10-15 20:18:14 -07:00
Ross McFarland
db8e291d53
Implement CloudflareProvider create + delete -> update conversion
2018-10-15 19:51:26 -07:00
Ross McFarland
e0c4e60c43
Vastly improved CloudflareProvider _apply_Update, much safer
2018-10-15 16:29:36 -07:00
Ross McFarland
7228c5b294
Merge remote-tracking branch 'origin/master' into show-zone-create
2018-03-03 10:18:32 -08:00
Josh Soref
5d2ba2e715
Spelling ( #214 )
...
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing
This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...
* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
dfe7d33d23
Merge branch 'master' into cloudflare-proxied
2018-02-09 07:52:45 -05:00
Paul van Brouwershaven
6f0b0ddb08
Test different exception types
2018-02-08 08:30:27 +01:00
Paul van Brouwershaven
c4179ef0e8
Allow proxied records with the same name
2018-02-07 17:35:19 +01:00
Paul van Brouwershaven
8a7145f49f
Changes according to review
2018-02-07 14:53:18 +01:00
Paul van Brouwershaven
c848860b1f
Add SRV support to Cloudflare provider
2018-02-02 09:33:02 +01:00
Paul van Brouwershaven
b5e7af0398
Option to handle Cloudflare proxied records
...
This change imports records that are marked as proxied so that they can be synced to other DNS providers as described in
[this support acticle](https://support.cloudflare.com/hc/en-us/articles/115000830351-How-to-configure-DNS-for-CNAME-partial-setup-when-managing-DNS-externally ).
Records that use this functionality will be ignored by this provider and not be synced back to Cloudflare as we don't know the origin record values that would be required.
This change does not allow you to enable, disable or configure the CDN itself as that would require a lot of metadata to be handled by OctoDNS.
The intention of this change is to allow users to run a multi-DNS provider setup without sending any traffic to their origin directly.
See also github/octodns#45
2018-01-31 09:57:36 +01:00
Ross McFarland
1f40b98889
Implement populate exists for CloudflareProvider
2018-01-21 14:40:07 -08:00
Ross McFarland
94bfb1e507
Switch populate to return exists, cleaner setup
2018-01-21 14:06:20 -08:00
Ross McFarland
1e71bce907
Add create param to Plan
2018-01-21 13:47:58 -08:00
Ross McFarland
0659eda451
Add Cloudflare ALIAS record support
...
Translates them to/from root CNAME
2018-01-06 16:53:11 -08:00
Ross McFarland
3c3f63b450
Unit tests for reworked Cloudflare updates
2018-01-06 15:51:48 -08:00
Ross McFarland
fd9af2bd25
Major reworking of Cloudflare record update
2017-12-27 09:54:18 -08:00
Paul van Brouwershaven
4b41762642
Use target.id instead of class name
2017-09-29 10:09:16 +02:00
Ross McFarland
e43da949a3
Add CAA for CF, DNSimple, and README
2017-08-26 15:39:54 -07:00
Ross McFarland
908698da49
Fix major performance issue with add_record O(N^2)
...
Before, 1-2k record took ~10s and more than that was just painful, 5k took
forever. This records things to keep a dict of nodes with a set of records so
that we can quickly "jump" to the point we're looking for without having to
search. 10k records now takes ~5s.
2017-07-02 18:23:45 -07:00
Ross McFarland
e41f0d7d78
Wrap a long line in test_octodns_provider_cloudflare.py
2017-05-03 06:24:37 -07:00
zBart
bc98af024b
Handle Cloudflare not escaping semicolons
2017-05-03 12:46:42 +02:00
Ross McFarland
7957a4c018
Initial import of OSS OctoDNS
2017-03-15 15:38:10 -07:00