Vitaliy Dotsenko
48404cd0ac
Added update to Firewall rules
2019-06-27 18:20:34 +03:00
Vitaliy Dotsenko
c5b6bceecb
Fixed passing the description and priority of the createFirewallRule method
2019-06-27 18:19:24 +03:00
Vitaliy Dotsenko
89986cfb02
Added Firewall rules endpoints
2019-06-25 11:54:56 +03: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
Kleis Auke Wolthuizen
a4224265d8
Switch from stdClass to object casting
2017-11-21 17:35:01 +01:00
Kleis Auke Wolthuizen
4f3f82b1ba
Remove redundant parentheses
2017-11-21 17:28:47 +01:00
Kleis Auke Wolthuizen
7c9ea4874d
Shorten the fully qualified class names
2017-11-21 17:27:47 +01:00
Kleis Auke Wolthuizen
0920fc48b2
Remove unnecessary double quotes
2017-11-21 17:25:41 +01:00
Junade
65e4f29bc0
Merge pull request #35 from thellimist/patch-2
...
Add Contribution Document
1.0.6
2017-11-08 21:28:57 +01:00
Tyler Vigario
3453e44158
Added changeDevelopmentMode & getAnalyticsDashboard to Zones ( #32 )
...
* Added toggleDevelopmentMode to Zones
* Improved success checking
Added PHPUnit test (I think?)
* Fixed success checking
* Fixed test
* Ran PHP CS Fixer
* Added getAnalyticsDashboard to Zones
Renamed toggleDevelopmentMode to changeDevelopmentMode to be uniform
* Fixed test (hopefully)
* Trying it a different way
* Another attempt
* Lol I guess we are just supressing errors for this one?
2017-11-08 21:26:32 +01:00
Kan Yilmaz
8ee1bbcc6f
Update README.md
2017-11-06 09:06:23 -08:00
Kan Yilmaz
d8b2093eed
Create CONTRIBUTING.md
2017-11-06 09:04:19 -08:00
Junade
3cfaed1019
Merge pull request #31 from cloudflare/waf_railgun
...
Readability: railID to railgunID
1.0.5
2017-10-23 14:37:38 -07:00
Junade Ali
84ee7302ca
Readibility: railID to railgunID
2017-10-23 14:29:41 -07:00
Junade
f088c67314
Merge pull request #30 from cloudflare/waf_railgun
...
Add Web Application Firewall and Railgun
2017-10-23 14:21:45 -07:00