Commit Graph

24 Commits

Author SHA1 Message Date
Phil Young
ba875c32ca Update tests/Endpoints/CustomHostnamesTest.php 2021-06-22 16:21:55 +01:00
Phil Young
1b80a3bae7 Update tests/Endpoints/CustomHostnamesTest.php 2021-06-22 12:21:59 +01:00
Phil Young
f88a145785 Update tests/Endpoints/CustomHostnamesTest.php 2021-06-22 12:05:30 +01:00
Phil Young
bfb24200d5 Merge branch 'master' into 179-missing-support-for-custom-hostname-update-properties 2021-06-22 11:32:02 +01:00
Phil Young
63b11374f2 Move SSL Setting To An Array
This will match the add function and help with PHPMD errors
2021-06-22 11:13:53 +01:00
Phil Young
410b8bebff Merge remote-tracking branch 'origin' into 179-missing-support-for-custom-hostname-update-properties 2021-06-22 11:06:10 +01:00
Phil Young
dfbc5a10d2 Revert "Revert "Move An LoC""
This reverts commit 969fc8cb59.
2021-06-22 11:01:09 +01:00
Phil Young
969fc8cb59 Revert "Move An LoC"
This reverts commit ed822d19ff.
2021-06-22 10:57:05 +01:00
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
f8124e76cb Shorten Longer Lines
The properties I've added have made these some pretty long lines
2021-06-15 11:12:37 +01:00
Phil Young
da3d10c4ee Add More Properties To Custom Hostname Updating
These are documented but not provided by the SDK
2021-06-15 11:10:23 +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
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
Levi Durfee
2639331c2b Add BodyAccessorTrait to most classes 2018-10-19 10:48:25 -04:00
Darin Randal
cca073c809 Code cleanup / Quality of Life updates
Adapter::get, post, put, patch and delete all had non-optional parameters for $headers and $query or $body. These have been made optional. I also re-ordered the parameters as $headers was never used while $query/$body were heavily used. I also condensed and removed some duplicate calls so that every call to Adapter::get/post sends that call to Adapter::request. It could use a magic method to do this but it might make it more difficult to test.
2018-04-12 23:11:04 -04:00
Junade Ali
3bfd5e17f1 SOPS-161 :: Add Custom Hostname endpoints to cloudflare-php 2018-03-18 23:40:09 -07:00