Commit Graph

101 Commits

Author SHA1 Message Date
Phil Young
a281dd11e7 Merge branch '177-missing-support=for=custom-hostname-properties' of github.com:phily245/cloudflare-php into 177-missing-support=for=custom-hostname-properties 2021-06-22 10:52:32 +01:00
Phil Young
ed822d19ff Move An LoC
I needed to trigger a github action after a network timeout
2021-06-22 10:51:41 +01:00
Phil Young
3e605dfa53 Merge branch 'master' into 177-missing-support=for=custom-hostname-properties 2021-06-22 10:44:00 +01:00
Phil Young
d9958973e0 Appease PHPMD
This was a good spot, as I can reuse this declaration in another PR
2021-06-22 10:42:20 +01:00
Phil Young
fd34eaf813 Move The Custom SSL To An Array
This kinda kicks the can down the road, but allows me to appease PHPMD
(for now)
2021-06-22 10:34:28 +01:00
Phil Young
be886c36cb Correct Some Bad Spacing
This was my bad
2021-06-22 10:07:14 +01:00
Phil Young
5394ec3cc8 Add Cuystom Hostname Fallback Origin Retrieval
I would like to surface this endpoint via the SDK
2021-06-15 13:55:41 +01:00
Phil Young
f473e5f73c Correct A Request Parameter Namespace
This wasn't taking affect before as it wasn't in the object the API was
expecting it to be in
2021-06-15 10:52:44 +01:00
Phil Young
9955166ae8 Tidy Up Longer Method/Function Signatures/Calls
I've added a few new parameters which has made these lines rather long
2021-06-15 00:56:23 +01:00
Phil Young
c639f20cea Add More Custom Hostname Creation Parameters
This now matches what is available as per the documentation
2021-06-15 00:49:14 +01:00
Ha Phan
6d9b4ddffe [RFR]: Added Origin CA Certificate endpoint (#123)
* Added Certificate endpoint

* Implement all calls in /certificates endpoint

* Added to travis more php versions

* Fix package compatibility

* Added CertificateTest

* Added test for Certificate endpoint

* Added more tests

* Updated README

Co-authored-by: haphan <thanhha.phan@myrepublic.net>
2020-07-07 11:19:15 +01:00
bnalonezi
fab493d2d3 Add Browser Cache TTL endpoint (#127)
Co-authored-by: bnalonezi <b.alenezi@zid.sa>
2020-07-07 11:18:40 +01:00
Constantin Cuciurcă
ffc3989607 Dns analytics report (#121)
* Add DNS Analytics report endpoint


Add DNS Analytics report endpoint


Add DNS Analytics report endpoint

* Remove useless response error test

* Add tests for DNS analytics report class methods

* Implement methods for listing grouped by time metrics report
2020-07-07 11:17:48 +01:00
bubbleupdotnet
06de5b0c04 Add custom hostname options (#131)
* Add ability to set additional SSL settings

* Add ability to specify a custom origin server

* Add ability to set wildcard

* Fix json parsing error with empty 'ssl' key

Co-authored-by: Craig Menning <craig@bubbleup.net>
2020-07-07 11:16:24 +01:00
Junade
8879ba4c0a Merge pull request #135 from pjjonesnz/pjjonesnz-fix-mx-priority-0
Fix for MX with priority 0
2020-07-07 11:15:18 +01:00
Nathan S
c575b3bc9b Replace DELETE method by POST according to the Cloudflare [documentation](https://api.cloudflare.com/#zone-purge-all-files) 2020-06-21 14:52:11 +02:00
Paul Jones
251ab5247d Fix for MX with priority 0
Author:    Paul Jones <info@beyondthebox.co.nz>
Date:      Sun Jun 21 07:42:38 2020 +0000
2020-06-21 07:47:06 +00:00
Junade
694342f718 Merge pull request #98 from llbbl/firewall-rules
Adding new Firewall rules Class
2020-02-03 17:23:45 +00:00
Junade
2a83d24954 Merge pull request #102 from umbrellio/add_endpoints_zones_settings
add endpoint for server-side exclude setting
2020-02-03 17:22:17 +00:00
Junade
445bc30be7 Merge pull request #114 from Pezhvak/patch-1
Fixing fatal error in PHP 7.4
2020-02-03 17:21:31 +00:00
Pezhvak
adfb6d28d2 Update SSLTest.php
fixed curly braces in this file as @aaronhuisinga reported
2019-12-20 17:12:58 +03:30
Kyle Yee
9d0df44838 remove test 2019-12-16 18:02:49 +08:00
Kyle Yee
6e6a850d62 fix test case 2019-12-16 17:58:04 +08:00
Kyle Yee
b54c3481a3 fix typo in test case 2019-12-16 17:39:38 +08:00
Kyle Yee
8310111b11 Merge branch 'master' into master 2019-12-16 17:32:56 +08:00
Junade
4e1a12bdea Merge pull request #107 from beltofte/ssl-change-verify-method
Add method to change SSL certificate pack validation method
2019-09-20 02:45:08 +01:00
Jens Beltofte
1211b644e0 Change validation method to txt as in the CF API documentation + change response json file 2019-09-12 15:10:22 +02:00
Jens Beltofte
58ba140930 Add method to change SSL certificate pack validation method 2019-09-12 14:50:24 +02:00
Benedict E. Pranata
56b760bb06 Remove new line
line 265
2019-09-12 14:39:52 +07:00
Benedict E. Pranata
469d66e92a Remove trailing space
line 18
2019-09-12 14:38:58 +07:00
dave
c49409b978 add endpoint for server-side exclude setting 2019-08-12 15:00:34 +03:00
Benedict E. Pranata
8e279f2217 Update ZoneDeleteTest.php 2019-07-24 09:27:07 +07:00
Benedict E. Pranata
274517553c Create ZoneDeleteTest.php 2019-07-24 09:22:27 +07:00
Benedict E. Pranata
4cb9eb228e Rollback ZonesTest.php 2019-07-24 09:21:06 +07:00
Benedict E. Pranata
c525cef45c Refactor ZonesTest
Refactoring ZonesTest to keep number of public methods under 10
2019-07-24 09:12:59 +07:00
Benedict E. Pranata
818e6e4505 Update method testDeleteTest 2019-07-23 15:07:58 +07:00
Benedict E. Pranata
cb24d2c77f Add deleteZone test 2019-07-23 13:42:06 +07:00
Vitaliy Dotsenko
8364249fbb Added unit tests to check Firewall rules 2019-07-08 21:20:48 +03:00
Junade
b17ae6e7d0 Merge pull request #90 from squeezely/loadbalancers
LoadBalancers + LoadBalancers Pool endpoint integration
2019-06-07 16:27:15 +01:00
Junade
b558622bb5 Merge pull request #92 from exportsmedia/feature-crypto-endpoints
Add Crypto endpoints to crypto.php, update TLS.php
2019-06-07 16:26:32 +01:00
Junade
d913aa827f Merge pull request #94 from exportsmedia/feature-update-security-level
Add Firewall Settings Endpoints, Tests
2019-06-07 16:25:47 +01:00
Kyle Yee
b04abe73bc Feature: add pause 2019-06-06 15:00:57 +08:00
Michael
bd10d7f833 fix security endpoint 2019-05-25 22:58:10 -05:00
Michael
598ba5c1d1 add firewall settings endpoints, tests 2019-05-25 22:53:56 -05:00
Michael
ed06650390 move array over 2019-05-25 22:14:00 -05:00
Michael
246925dec2 add get dns record id method, test 2019-05-25 22:10:36 -05:00
Michael Markoski
7a7e6dc364 move array over 2019-05-25 15:39:30 -05:00
Michael Markoski
5f57b871aa remove new lines 2019-05-25 15:37:34 -05:00
Michael Markoski
31453d8184 remove new line 2019-05-25 15:36:29 -05:00
Michael Markoski
79ca15c066 split methods to another class to pass CI test 2019-05-25 14:59:29 -05:00