Levi Durfee
45df26fec3
Add a test for cachePurge
2018-10-19 09:54:38 -04:00
Levi Durfee
a39d6fb170
Run php-cs-fixer
2018-10-19 09:53:51 -04:00
Levi Durfee
4c288c38d7
Add cachePurge fixture
2018-10-19 09:49:01 -04:00
Levi Durfee
2dd4d8f883
Set body property in cachePurge method of Zones
2018-10-19 09:45:10 -04:00
Levi Durfee
59f6d72d0a
Create trait for accessing body property
2018-10-19 09:34:17 -04:00
Bart Vrancken
f19f17ea6f
Update DNS.php
2018-10-06 23:47:25 +02:00
Junade
a3a346ccb2
Merge pull request #62 from powerkent/fix-refresh-cache
...
fix: Cloudflare Api doesn't like empty tags
1.1.1
2018-08-28 15:01:57 +01:00
Junade
deb420d087
Update Zones.php
2018-08-28 14:58:25 +01:00
Junade
640b787540
Merge branch 'master' into fix-refresh-cache
2018-08-28 14:53:47 +01:00
Junade
8df0ec5511
Merge pull request #63 from maximivanov/feature/purgeCacheHosts
...
Add support for host-based cache purge
2018-08-28 14:49:49 +01:00
Junade
938065cdf3
Merge pull request #64 from mjrider/patch-1
...
Fixes issue with creating a MX record
2018-08-28 14:49:11 +01:00
Robbert Müller
9076d714f4
Fixes problem with creating an MX record
...
Fixes #60
php api expects a string and cloudflare api expects a int
this keeps everybody happy without changing API's
2018-08-28 08:47:50 +02:00
Max Ivanov
c9d2782b88
Add support for host-based cache purge
2018-08-23 16:13:56 +01:00
Lemoine
1cca3e0724
fix: Cloudflare Api doesn't like empty tags
2018-08-23 14:54:21 +02:00
Junade
63be6cf154
Merge pull request #54 from darinrandal/refactor-clean
...
Cleanup, refactoring, and removal of duplicate code
2018-05-19 21:23:57 +01:00
Darin Randal
c06fe79ad0
Removed more object casting
2018-04-12 23:19:09 -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
35ce8eadf1
Merge pull request #51 from cloudflare/SOPS-161
...
SOPS-161 :: Add Custom Hostname endpoints to cloudflare-php
1.1.0
2018-03-18 23:47:42 -07:00
Junade Ali
d95573976e
SOPS-161 :: Lint changes
2018-03-18 23:45:06 -07:00
Junade Ali
3bfd5e17f1
SOPS-161 :: Add Custom Hostname endpoints to cloudflare-php
2018-03-18 23:40:09 -07:00
Junade
19a4f481d3
Merge pull request #48 from anthonysterling/fix/issue-46
...
Nest payload for forwarding_url page rule action in value block
2018-03-05 14:21:59 -06:00
Junade
9c56941516
Merge pull request #49 from darinrandal/add-priority-for-dns-creation
...
MX records need ability to set priority
2018-03-05 14:20:38 -06:00
Darin Randal
e18a64e7e4
MX records need ability to set priority
2018-03-05 11:38:18 -05:00
Anthony Sterling
3585dde8ea
Fixed merge conflict
2018-02-27 09:45:51 +00:00
Anthony Sterling
730b0c97ee
Nest payload for forwarding_url page rule action in value block
2018-02-27 09:40:50 +00:00
Junade
dc53414c2a
Merge pull request #45 from darinrandal/master
...
Fix name of jumpstart zone add option to jump_start
2018-01-30 14:30:46 +13:00
Darin Randal
a628cac283
Update phpdoc to match camelCase variable
2018-01-23 10:09:36 -05:00
Darin Randal
0112425a61
Rename $jump_start to $jumpStart to follow camelCase conventions for variables
2018-01-23 10:08:40 -05:00
Darin Randal
fe854e1b21
Update zone tests to reflect correctly named jumpstart option
2018-01-23 10:01:51 -05:00
Darin Randal
45cb8ee539
Fix name of jumpstart zone add option to jump_start
2018-01-23 09:57:14 -05:00
Junade
cd2fd73cc3
Merge pull request #42 from JorgenPhi/master
...
AnalyticsDashboard params are not headers
1.0.9
2017-12-26 18:52:26 +00:00
Jorgen Phillips
bd83c6d48a
Fix test
2017-12-24 12:48:22 -06:00
Jorgen Phillips
4e3d307bdd
AnalyticsDashboard params are not headers
...
Also 'continuous' needs to be a string for the API to process it.
2017-12-24 12:41:38 -06:00
Junade
99d89e7dc3
Merge pull request #39 from MeekLogic/master
...
Fixed checkError index out of range
1.0.8
2017-11-27 16:50:05 +08:00
Tyler Vigario
55e81fe02c
Fixed checkError index out of range
2017-11-26 19:23:31 -08:00
Junade
d00a1d3f44
Merge pull request #38 from kleisauke/cleanup
...
Cleanup / fixes
1.0.7
2017-11-25 11:49:35 +08:00
Kleis Auke Wolthuizen
c8e85d2582
Add firewall access rules endpoint ( #37 )
...
* Add firewall access rules endpoint
* Configuration is an object
Maybe this needs to be defined in a seperate namespace (e.g. Cloudflare\API\Configuration) because it's no longer an array.
* Incorporate review
2017-11-25 11:45:18 +08:00
Kleis Auke Wolthuizen
ff42f334a5
PHP !== Java
2017-11-21 17:57:31 +01:00
Kleis Auke Wolthuizen
dfa299c895
Remove unused imports
2017-11-21 17:54:30 +01:00
Kleis Auke Wolthuizen
e1864a6824
Drop unneeded arguments
2017-11-21 17:52:59 +01:00
Kleis Auke Wolthuizen
c9d21466aa
assertCount should be used instead
2017-11-21 17:50:28 +01:00
Kleis Auke Wolthuizen
b15b4ecc51
Class autoloading correctness
2017-11-21 17:49:29 +01:00
Kleis Auke Wolthuizen
0aa9f6c05a
Fix null pointer exception
2017-11-21 17:48:03 +01:00
Kleis Auke Wolthuizen
a09478eb2f
Return type doesn't match
2017-11-21 17:47:22 +01:00
Kleis Auke Wolthuizen
f6cb9a8e30
Argument PHPDoc missing
2017-11-21 17:46:53 +01:00
Kleis Auke Wolthuizen
bc9e15a557
Required parameter is missing
2017-11-21 17:46:07 +01:00
Kleis Auke Wolthuizen
5caae74370
Use $array[] instead of array_push
2017-11-21 17:43:47 +01:00
Kleis Auke Wolthuizen
ee4a42ea06
Replace alias functions with origin functions
2017-11-21 17:41:21 +01:00
Kleis Auke Wolthuizen
90eaea7be2
Use === null instead
2017-11-21 17:39:42 +01:00
Kleis Auke Wolthuizen
dac1e15e2d
Fix loop which doesn't loop
2017-11-21 17:35:58 +01:00