Ross McFarland
d7880c084d
Remove from __futures__ bits, all are now manditory
3 years ago
Ross McFarland
e116d26eec
Implement black formatting
3 years ago
Kian-Meng Ang
04b7bf0ac2
Fix typos
4 years ago
Ross McFarland
25c6569a04
Correct the extraction warning links in the rest of the providers
4 years ago
Ross McFarland
7ad1a8389f
Link all of the extration help messages to the README section
4 years ago
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
4 years ago
Ross McFarland
355995dadd
Extract and shim CloudflareProvider
4 years ago
Ross McFarland
f9280d3274
f-strings for CloudflareProvider
4 years ago
Ross McFarland
af22e8c9c7
Use ProviderException as the base for all provider exception classes
4 years ago
Brian E Clow
a9fe3b5398
Adding URLFWD ttl exception handling for cloudflare
4 years ago
Brian E Clow
8ca7070186
Formatting, lingering pr comments, fixing resulting errors
4 years ago
Brian E Clow
f4ccaaa791
Apply suggestions from code review
Thank you, Ross
Co-authored-by: Ross McFarland <rwmcfa1@gmail.com>
4 years ago
Brian E Clow
afc46f67eb
When you filter is important
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
84048dbde9
Cloudflare: Make page size configurable
6 years ago
Lance Hudson
b80d1575e6
Update tests with new per_page params
6 years ago
Lance Hudson
90cc9576f5
Increase Cloudflare page size
Increase Cloudflare page size to reduce request count
`GET zones` has a MAX of 50 and a default of 20
https://api.cloudflare.com/#zone-list-zones
`GET zones/:zone_identifier/dns_records` has a MAX of 100 and a default of 20
https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records
6 years ago
Lance Hudson
a939cf52b0
Cloudflare: Rename _try to _try_request
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
bc3ce2071c
Flipped bool logic
6 years ago
Ross McFarland
1fb4f4facd
Avoid double existing_records lookup
6 years ago
Maik Zumstrull
f590f201ea
Use dict to speed up record search
This dict is created earlier, presumably to speed up this exact lookup, but it was using the list form instead, requiring a linear scan for each item.
6 years ago
Mark Mercado
cf3dc94315
use the generic replacement field specifier
6 years ago
Mark Mercado
e235796865
support and test old and new authn methods
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
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
Ross McFarland
f52005bf60
Fix deletion of Cloudflare ALIAS reocrds
7 years ago
Ross McFarland
303d0532c8
Implement SUPPORTS_DYNAMIC functionality, no providers
7 years ago
Bart S
c26c8b7c3f
Added ALIAS to the support list of proxiable record types
7 years ago
Matt
a0eaefb330
Add: Documentation on how to utilise the new behaviour.
7 years ago
Matt
9ff5942d19
Add: Ability to manage "proxied" flag of "A", "AAAA" and "CNAME" records via
YAML configuration (see "CloudflareProvider" class docstring for details).
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
c752005856
CloudflareProvider._hash_data is no longer used
7 years ago
Ross McFarland
e0c4e60c43
Vastly improved CloudflareProvider _apply_Update, much safer
7 years ago
Ross McFarland
cee7677ae4
Implement Zone.add_record lenient across our providers
8 years ago
Ross McFarland
3ea78af8e1
pycodestyle updates, mostly escaping \, couple r's, ignore break on binary
8 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
Ross McFarland
543b1c9dbd
Fix handling of Cloudflare ALIAS updates
8 years ago
Ross McFarland
4b44ab14b1
Use MIN_TTL, not 120 literal
8 years ago
Ross McFarland
886a26bc6f
Extract _record_for from populate, use round trip in _apply_Update
This will ensure that we have exactly the same logic/behavior across the
board when turning records into content and prevent the :-( hack that was in
here before. It was missing the max(min, ttl) bit we throw everything else
through and this makes that consistent. Most importantly it'll prevent us
from having to fix bugs or make improvements in multiple code paths in the
future.
8 years ago