Ross McFarland
d7880c084d
Remove from __futures__ bits, all are now manditory
3 years ago
Ross McFarland
e116d26eec
Implement black formatting
3 years ago
Ross McFarland
355995dadd
Extract and shim CloudflareProvider
4 years ago
Ross McFarland
aae65594f2
Remove explicit use of six
4 years ago
Ross McFarland
775917f4b9
f-strings for the rest of the tests
4 years ago
Brian E Clow
8ca7070186
Formatting, lingering pr comments, fixing resulting errors
4 years ago
Brian E Clow
a3b94cfed3
Adding URLFWD type to CloudeFlare provider + testing updates
4 years ago
Brian E Clow
0967858554
Accounting for CloudFlare TTL alias
5 years ago
Mark Tearle
403be8bb83
Fix handling of NULL SRV records in Cloudflare provider
5 years ago
Mark Tearle
5852ae7a2f
Detect changes to LOC record correctly
5 years ago
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
5 years ago
Mark Tearle
8338e8db58
Add LOC record support to Cloudflare provider
5 years ago
Lance Hudson
b80d1575e6
Update tests with new per_page params
6 years ago
Lance Hudson
53d654c39d
Cloudflare: Add Support for Rate Limit
6 years ago
Daniel Weissengruber
74a13e4a19
Cloudflare: Add Support for PTR Records
6 years ago
Ross McFarland
59b12dd9c0
Remove CloudFlare test copy, and specifically test token auth
6 years ago
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.
6 years ago
Ross McFarland
bfa1fadde9
Fix CloudflareProvider test ordering assumptions
6 years ago
Mark Mercado
16121be4de
support email/token and just token for cloudflare
6 years ago
Mark Mercado
e18dfe1c19
switch from X-Auth-{Email,Key} to Authorization for Cloudflare
6 years ago
Ross McFarland
a9d0eef3ba
Lots of text_type
6 years ago
Kitten King
daa6fecc9b
Fix Typos
6 years ago
cclauss
158add8eb6
Modernize Python 2 code to prepare for Python 3
7 years ago
Adam Smith
10452d1546
CloudflareProvider: unpack long SRV records correctly
7 years ago
Matt
bcff231e35
Alter - New tests to be more unit-test-like.
7 years ago
Matt
6ceb35c2fc
Add: New tests.
7 years ago
Matt
18f29f1c6b
Alter: Existing tests.
7 years ago
Ross McFarland
aee786dd01
Explicit handling of SRV & CAA in _gen_key, tests for those cases
7 years ago
Ross McFarland
0c33d3acac
Handle the MX special case around content
7 years ago
Ross McFarland
db8e291d53
Implement CloudflareProvider create + delete -> update conversion
7 years ago
Ross McFarland
e0c4e60c43
Vastly improved CloudflareProvider _apply_Update, much safer
7 years ago
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
8 years ago
Paul van Brouwershaven
6f0b0ddb08
Test different exception types
8 years ago
Paul van Brouwershaven
c4179ef0e8
Allow proxied records with the same name
8 years ago
Paul van Brouwershaven
8a7145f49f
Changes according to review
8 years ago
Paul van Brouwershaven
c848860b1f
Add SRV support to Cloudflare provider
8 years ago
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
8 years ago
Ross McFarland
1f40b98889
Implement populate exists for CloudflareProvider
8 years ago
Ross McFarland
94bfb1e507
Switch populate to return exists, cleaner setup
8 years ago
Ross McFarland
1e71bce907
Add create param to Plan
8 years ago
Ross McFarland
0659eda451
Add Cloudflare ALIAS record support
Translates them to/from root CNAME
8 years ago
Ross McFarland
3c3f63b450
Unit tests for reworked Cloudflare updates
8 years ago
Ross McFarland
fd9af2bd25
Major reworking of Cloudflare record update
8 years ago
Paul van Brouwershaven
4b41762642
Use target.id instead of class name
8 years ago
Ross McFarland
e43da949a3
Add CAA for CF, DNSimple, and README
8 years ago
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.
9 years ago
Ross McFarland
e41f0d7d78
Wrap a long line in test_octodns_provider_cloudflare.py
9 years ago
zBart
bc98af024b
Handle Cloudflare not escaping semicolons
9 years ago
Ross McFarland
7957a4c018
Initial import of OSS OctoDNS
9 years ago