Commit Graph

29 Commits

Author SHA1 Message Date
Mert Oturak
a909f3780e About cache - 1107 Error code 2017-10-12 03:42:35 +03:00
Linus Metzler
566ab3fc70 Don't run json_encode
Guzzle takes care of this thanks to its JSON middleware
2017-10-03 21:16:58 +02:00
Junade
a5384b7466 Correct input types for (Bypass) Cache on Cookie 2017-10-03 17:59:59 +01:00
Junade
8ffd3e3541 Merge pull request #18 from anthonysterling/feature/page-rules-config
Consolidated some of the config/option creation
2017-10-03 17:57:57 +01:00
Anthony Sterling
cebeae15a3 Inconsistent Array Declaration
This PR normalises the declaration of arrays throughout the project, and adds
this to the php-cs-fixer rules.

I've chosen "short" by default, but happy to change the PR to use "long" if
preferred.
2017-10-02 09:05:05 +01:00
Anthony Sterling
b7e70655ce Consolidated some of the config/option creation
I've just added some internal methods to handle the casting and formatting of the
configuration/option creation.
2017-09-28 21:16:27 +01:00
Anthony Sterling
2faff272df Applied PSR2 formatting to existing files 2017-09-23 18:50:51 +01:00
Junade
b91dd5e684 Merge pull request #5 from typhonius/add-query-to-get
Adds the query parameter to the guzzle call for GET requests.
2017-09-21 23:16:50 +01:00
Junade
77df7ead1e Merge pull request #11 from typhonius/fix-zone-id-verification
Changes sizeof check to throw an error if no zone id is found.
2017-09-21 18:07:55 +01:00
Adam Malone
9939afd0b6 Changes sizeof check to throw an error if no zone id is found. 2017-09-22 02:53:25 +10:00
Adam Malone
7d838d7f5f Adds the query parameter to the guzzle call for GET requests. 2017-09-21 11:45:21 +10:00
Junade Ali
85d64f8afc COM-45 :: Bugfix active status in Page Rules 2017-09-20 14:50:55 +01:00
Junade Ali
4699270f51 COM-45 :: Bugfix Page Rules class 2017-09-20 14:32:46 +01:00
Junade Ali
1baeeee882 COM-40 :: Change API submission type to JSON and adjust function names 2017-09-20 13:15:34 +01:00
Junade
a4ddb61d2a Merge pull request #7 from cloudflare/COM-40
COM-40 :: Added Page Rules endpoint.
2017-09-20 11:54:57 +01:00
Junade Ali
3166645a0c COM-40 :: Added Page Rules endpoint. 2017-09-20 11:52:33 +01:00
Junade
1658f4abcc Merge pull request #6 from cloudflare/COM-40
COM-40 :: Add ZoneLockdown and UA Rules
2017-09-19 16:10:19 +01:00
Junade Ali
1e8c8d6019 COM-40 :: Add ZoneLockdown and UA Rules 2017-09-19 16:04:35 +01:00
Junade
1b5d0273ed Merge pull request #4 from cloudflare/COM-40
COM-40 :: Added None Auth class, IPs endpoint and associated tests
2017-09-05 13:13:03 +01:00
Junade Ali
7d0c0c86dc COM-40 :: General refactoring/fixes. 2017-09-04 21:14:34 +01:00
Junade Ali
53cbd9d578 Finalised IPs endpoint 2017-09-04 20:33:22 +01:00
Junade Ali
4876787118 COM-40 :: Added None Auth class, IPs endpoint and associated tests 2017-09-04 20:22:23 +01:00
Hans
91dbd38824 Use correct format to post data. 2017-08-27 00:28:21 -05:00
Junade Ali
3b028041a6 Additional DNS API coverage, PHPUnit whitelist and license added. 2017-08-22 16:28:05 +01:00
Junade Ali
6176cd81a3 Added extra endpoints. 2017-06-09 16:18:24 +01:00
Junade Ali
7ab10aaeaa Zones endpoints. 2017-06-07 17:01:50 +01:00
Junade Ali
bf8716e0b8 Finished user endpoints, started zone ones. 2017-06-06 17:05:21 +01:00
Junade Ali
5fcb00153b Finished Guzzle implementation, started work on Endpoints. 2017-02-01 18:07:33 +00:00
Junade Ali
a49c655e77 Initial commit, WIP. 2017-01-13 23:52:27 +00:00