Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 35d0291

Browse files
committed
Initial commit
0 parents  commit 35d0291

File tree

27 files changed

+1709
-0
lines changed

27 files changed

+1709
-0
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.idea/
2+
vendor/
3+
4+
composer.lock
5+
6+
*.key
7+
*.env
8+
*.pem
9+
10+
test*
11+
*.zip
12+

LICENSE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2018-2019 Michael Dekker
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Cloudflare DNS Extension for Plesk 17.8+
2+
![Cloudflare](cloudflareplesk.png)
3+
4+
![Cloudflare settings](src/_meta/screenshots/1.png)
5+
6+
## Requirements
7+
- PHP 7.1+
8+
- Plesk 17.8 or higher
9+
- One or more domains hosted with Cloudflare and API access
10+
11+
## How to install
12+
13+
- Navigate to the releases tab: https://github.com/firstred/plesk-cloudflare/releases/latest
14+
- Download the extension
15+
- Add the following to your [panel.ini](https://docs.plesk.com/en-US/onyx/administrator-guide/plesk-administration/panelini-configuration-file.78509/) file:
16+
17+
```
18+
[ext-catalog]
19+
20+
extensionUpload = true
21+
```
22+
This makes sure that you can upload extension on the extension page.
23+
- Navigate to the `Extensions` page, then `My Extensions`. Here you can upload the extension zip.
24+
- Cloudflare should now be visible in your extension list.
25+
26+
## How to configure
27+
28+
The module needs your Cloudflare email and an API key to use for the API.
29+
You can generate a new private key in your Cloudflare Config Panel.
30+
31+
## How to build
32+
33+
Install the dependencies first with composer. Unlike a regular composer package the `vendor` folder
34+
can be found in the subdirectory `src/plib`. This is the folder that eventually ends up on Plesk.
35+
Packing up the `src/plib` folder is enough to upload the module.
36+
This is what an extension's file structure should
37+
look like: https://docs.plesk.com/en-US/onyx/extensions-guide/plesk-extensions-basics/extension-structure.71076/

cloudflare.svg

Lines changed: 50 additions & 0 deletions
Loading

cloudflareplesk.png

15 KB
Loading

composer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "firstred/plesk-cloudflare",
3+
"description": "Cloudflare DNS connector for Plesk",
4+
"require": {
5+
"php": "^7.1",
6+
"ext-json": "*",
7+
"ext-curl": "*"
8+
},
9+
"license": "MIT",
10+
"authors": [
11+
{
12+
"name": "Michael Dekker",
13+
"email": "info@trendweb.io"
14+
}
15+
],
16+
"require-dev": {
17+
}
18+
}

src/_meta/descriptions/en-US.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This extension integrates Plesk with Cloudflare DNS, so you can:
2+
3+
- Synchronize all DNS zones information between Plesk and Cloudflare name servers at once.
4+
- Push DNS updates automatically to Cloudflare.

src/_meta/descriptions/nl-NL.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Deze extensie integreert Plesk met Cloudflare DNS, zodat je:
2+
3+
- alle informatie van DNS-zones tussen Plesk en Cloudflare kunt synchroniseren.
4+
- DNS updates automatisch kunt versturen naar Cloudflare.

src/_meta/icons/128x128.png

2.03 KB
Loading

src/_meta/icons/32x32.png

567 Bytes
Loading

0 commit comments

Comments
 (0)