Jakob Ackermann
0d5b3c22b7
CLOUDFLARE: adopt ZoneCache ( #3373 )
2025-01-15 17:43:24 -05:00
Tom Limoncelli
5dbe5e84c9
CHORE: Fix lint warnings from golangci-lint ( #3311 )
2025-01-13 11:33:12 -05:00
Hamish Moffatt
9bb9f16e7f
BUG: Errors while listing zones do not propagate through the system ( #2474 ) ( #3216 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2024-12-06 17:04:40 -05:00
Tom Limoncelli
8899f45816
CLOUDFLAREAPI: Upgrade to cloudflare-go v0.102.0 ( #3081 )
2024-08-14 10:22:42 -04:00
Tom Limoncelli
0869052419
CLOUDFLAREAPI: CF_SINGLE_REDIRECT improvements: fix bugs, log translated redirects ( #3051 )
2024-07-18 12:10:46 -04:00
Tom Limoncelli
95c7a70434
REFACTOR: Pave args (not validate) ( #3045 )
2024-07-09 21:44:38 -04:00
Tom Limoncelli
088306883d
CLOUDFLAREAPI: Add CF_SINGLE_REDIRECT to manage "dynamic single" redirects ( #3035 )
2024-07-08 12:38:38 -04:00
Tom Limoncelli
5ef1e9979b
CLOUDFLARE: Fix bugs with the new "single redirect" feature ( #3031 )
...
Co-authored-by: Josh Zhang <jzhang1@stackoverflow.com>
2024-07-01 20:21:44 -04:00
Tom Limoncelli
7fd6a74e0c
CLOUDFLAREAPI: CF_REDIRECT/CF_TEMP_REDIRECT should dtrt using Single Redirects ( #3002 )
...
Co-authored-by: Josh Zhang <jzhang1@stackoverflow.com>
2024-06-18 17:38:50 -04:00
Zheng Chaojian
68b0b300d6
CLOUDFLAREAPI: Enable DNSKEY, HTTPS, SVCB record types ( #3000 )
2024-06-11 00:52:33 -04:00
Tom Limoncelli
bb79c70708
CHORE: update deps ( #2927 )
2024-05-01 18:50:15 -04:00
Tom Limoncelli
68c5e87c89
NEW FEATURE: Gather data for providers concurrently ( #2873 )
2024-03-27 13:54:36 -04:00
Tom Limoncelli
c0d8ca7a18
deadcode: move createTestWorker
2024-03-03 15:42:49 -05:00
Tom Limoncelli
c91fe6c1c8
CHORE: Remove diff1 from codebase ( #2575 )
2023-10-22 13:56:13 -04:00
Tom Limoncelli
c01fb2d40b
Update Deps, fix staticcheck and golint warnings ( #2558 )
2023-09-15 15:30:55 -04:00
asn-iac
af91e37043
CLOUDFLAREAPI: Add NAPTR record support ( #2548 )
2023-09-07 16:31:34 -04:00
Tom Limoncelli
7fc80ac7cc
CLOUDFLARE: BUGFIX: Proxy=full not handled in diff2 ( #2525 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 12:19:16 -04:00
Tom Limoncelli
56b11d0881
CLOUDFLARE: Upgrade modules/GitHub.com/cloudflare/cloudflare go 0.70.0 ( #2518 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Hartvigsen <brian.andrew@brianandjenny.com>
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-08-17 13:07:13 -04:00
Brian Hartvigsen
5d9b82e917
CLOUDFLARE: Support unicode domains ( #2466 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-08-17 11:41:52 -04:00
Hamish Moffatt
1405901171
CLOUDFLAREAPI: Update cloudflare-go to v0.68 ( #2390 )
2023-05-24 06:20:11 -04:00
nemunaire
5ae231030e
Update version in go.mod ( #2382 )
2023-05-20 13:21:45 -04:00
Hamish Moffatt
0c9e1bd4af
CLOUDFLAREAPI: Update cloudflare-go to v0.58.1 ( #2367 )
2023-05-17 07:14:56 -04:00
Tom Limoncelli
e1ce6ff34f
CLOUDFLARE: Adopt diff2 ( #2040 )
2023-02-01 16:18:01 -05:00
Jeffrey Cafferata
b66af29aec
BUG: Re-introducing the cloudflare/cloudflare-go import ( #1795 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-10-31 07:02:30 -04:00
Tom Limoncelli
1aca045d5b
DOCS: Fix many small typos ( #1794 )
...
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
2022-10-30 13:56:45 -04:00
Tom Limoncelli
3743c7de03
Bump cloudflare/cloudflare-go from 0.46 to 0.49 ( #1746 )
...
Co-authored-by: Brian Hartvigsen <brian.andrew@brianandjenny.com>
2022-09-12 08:58:44 -04:00
Tom Limoncelli
ccb582b278
CHORE: Linting ( #1704 )
...
* Remove deprecated io/ioutil
* fixup!
* staticcheck and linting
* revert models/provider.go
* Fix imports to new style
* linting
2022-08-14 20:46:56 -04:00
Tom Limoncelli
09a53b4d68
CLOUDFLAREAPI: Clarify source of error in message ( #1700 )
2022-08-14 07:33:05 -04:00
Tom Limoncelli
f24c250c46
CLOUDFLARE: Error messages should indicate which cred entry ( #1690 )
2022-08-11 13:10:06 -04:00
Tom Limoncelli
dad4115a55
CLOUDFLAREAPI: Fix TXT quoting bug ( #1543 )
...
* Cleanup
* wip!
* Fix cloudflare quote bug
* wip!
* cleanup
* go generate
2022-06-18 09:58:55 -04:00
Tom Limoncelli
cbf5ebd64c
CLOUDFLAREAPI: Fix quoted TXT bug ( #1538 )
...
* Cleanup
* add GetTargetQuotedRFC1038
* wip!
* The RFC is 1035
2022-06-16 17:16:29 -04:00
Tom Limoncelli
cc0fecf1f7
Revert "CLOUDFLAREAPI: Fix TXT records with quotes"
...
This reverts commit c3f52d228a .
2022-06-16 15:21:45 -04:00
Tom Limoncelli
c3f52d228a
CLOUDFLAREAPI: Fix TXT records with quotes
2022-06-16 15:19:44 -04:00
Jan-Philipp Benecke
60324bc4f5
CLOUDFLAREAPI: FIX: Preventing segfault when Cloudflare API limit is reached ( #1530 )
...
* Preventing segfault when Cloudflare API limit is reached
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Add comment for future me
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2022-06-09 11:26:46 -04:00
Tom Limoncelli
4d125fca5f
Guard against nil ( #1452 )
2022-03-09 15:20:45 -05:00
Tom Limoncelli
886dbf6d00
MAINT: Make staticcheck more strict and fix new warnings ( #1408 )
...
* Make staticcheck more strict and fix new warnings
2022-02-11 14:30:45 -05:00
Tom Limoncelli
f9c4887d95
Revert "Make staticcheck more strict and fix new warnings"
...
This reverts commit 5c456e2513 .
2022-02-11 12:14:24 -05:00
Tom Limoncelli
a70354775e
Make staticcheck more strict and fix new warnings
2022-02-11 12:14:22 -05:00
F.D.Castel
0d12eb7dc6
CLOUDFLAREAPI: Adds CF_WORKER_ROUTE ( #1243 )
...
* CLOUDFLAREAPI: Adds CF_WORKER_ROUTE.
- CLOUDFLAREAPI: Initial support for CF_WORKER_ROUTE.
- Put CF_WORKER_ROUTE behind a per-domain feature-flag.
- Adds Integration Test.
- Create Cloudflare workers for tests.
- Updates documentation.
* Workaround for updateWorkerRoute causing stack overflow.
* Sets AccountID.
* Updates to latest master (Thanks @tresni!).
* Removes $CLOUDFLAREAPI_ACCOUNTNAME.
* Add alltrue() filter and -cfworkers flag
* Final workers changes
* alltrue() should be implemented like other filters.
* Update documentation.
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-10-11 16:04:49 -04:00
Brian Hartvigsen
d08a8f6c4e
CLOUDFLARE: Stop requiring accountname ( #1280 )
...
There is no API call I've found that requires it, only the accountID. Also, we now set the cfClient.AccountID similar to b55278140f (h/t @fdcastel) and no longer store duplicate information in the cfClient and api objects.
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-10-03 16:40:50 -04:00
Brian Hartvigsen
d8941a04bc
CLOUDFLARE: Use cloudflare-go ( #1267 )
...
* First pass at moving to cloudflare-go vs hand made implementation of cloudflare's API
* Final changes to use cloudflare-go
* Fix for proxy configuration failing
Forgot to set the ID when we created a new records. This didn't fail in the integrations tests so I missed it.
* Add integration test
To prevent something like what I did from happening in the future.
* Fix bad messaging
2021-09-30 07:09:42 -04:00
Tom Limoncelli
8dea9edc34
Re-engineer TXT records for simplicity and better compliance ( #1063 )
...
TXT records are now handled different.
1. The raw input from dnsconfig.js is passed all the way to the provider. The provider can determine if it can or can't handle such records (auditrecords.go) and processes them internally as such.
2. The CanUseTXTMulti capability is no longer needed.
* DSPs now register a table of functions
* Use audits for txt record variations
* unit tests pass. integration fails.
* fix deepcopy problem
* rename to AuditRecordSupport
* Reduce use of TXTMulti
* Remove CanUseTXTMulti
* fix Test Skip
* fix DO
* fix vultr
* fix NDC
* msdns fixes
* Fix powerdns and cloudflare
* HEDNS: Fix usage of target field to resolve TXT handling (#1067 )
* Fix HEXONET
Co-authored-by: Robert Blenkinsopp <robert@blenkinsopp.net>
Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
2021-03-07 13:19:22 -05:00
Tom Limoncelli
096458d91c
CLOUDFLAREAPI: Support TXTMulti and empty TXT targets ( #978 )
...
* CLOUDFLAREAPI: Add TXTMulti support
* CLOUDFLAREAPI: Support TXTMulti and empty TXT strings
2020-11-29 14:39:15 -05:00
Tom Limoncelli
7db3741bc7
MAINTENANCE: Unknown rtypes should return errors, not a panic ( #945 )
...
* Eliminate panics related to unknown rtypes
2020-11-13 16:32:40 -05:00
Tom Limoncelli
ca30c9c34f
Rename provider handles to *Provider ( #914 )
2020-10-26 09:25:30 -04:00
Tom Limoncelli
d56a8307f3
Be more consistent in API handle variable names ( #911 )
2020-10-25 12:58:43 -04:00
Tom Limoncelli
3a2b1b2f7b
Internal: deps updates and linting ( #905 )
...
* Update dependencies
* writing-providers.md: Update for Go Mod, etc.
* Linting pkg/version
* s/CloudflareAPI/api/g
* s/ApiKey/APIKey/g
* s/ApiToken/APIToken/g
* s/ApiUser/APIUser/g
2020-10-18 14:04:50 -04:00
Tom Limoncelli
b6fd4dffd7
Cleanups: Fix many issues reported by staticcheck.io ( #837 )
...
* Lint: Fix ST1005: error strings should not be capitalized
* Cleanup: Fix a lot of staticcheck.io warnings
2020-08-30 20:38:08 -04:00
Tom Limoncelli
de308c0952
Lint: Fix ST1005: error strings should not be capitalized ( #834 )
2020-08-30 19:52:37 -04:00
Tom Limoncelli
676d98fc4a
Linting ( #767 )
...
What could possibly go wrong?
2020-06-18 09:37:57 -04:00