Commit Graph

23 Commits

Author SHA1 Message Date
Steve Boyd bdafc33228 API Stop using deprecated API 2022-11-28 19:19:41 +13:00
Steve Boyd 5bff584246 ENH PHP 8.1 compatibility 2022-04-13 13:42:48 +12:00
Steve Boyd 4a2716cd7d API phpunit 9 support 2021-10-27 18:12:45 +13:00
Robbie Averill aed6575e89 Merge branch '2.0' into 2.1 2019-06-11 12:05:29 +12:00
Robbie Averill dbb8e18644 [CVE-2019-12149] Fixed potential SQL injection vulnerability in RestfulServer 2019-05-20 15:46:18 +12:00
Robbie Averill 2390698ea9 FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4 2018-10-28 21:39:14 +00:00
andreaspiening cacf25fb9b Fix infinite redirect after PUT (#62)
* Fix infinite redirect after PUT by changing requestMethod through responsecode
* Fix unit tests to reflect changes
* Use 202 instead of 303
2018-05-08 12:09:02 +12:00
andreaspiening 73c61e7d4c Cast SilverStripe types to appropriate JSON types (#60) 2018-04-19 15:54:43 +12:00
Mojmir Fendek a60751bd74 Many many through syntax support added. 2018-04-09 12:26:24 +12:00
Robbie Averill 5f7861e0ac
Merge pull request #51 from silverstripe-terraformers/feature/catch-exception-and-extension-points
Added general Exception catch/response. Added extension points to response methods
2018-04-04 15:34:05 +12:00
Robbie Averill 4581fbf479
Merge pull request #53 from silverstripe-terraformers/feature/api-field-mapping
Add field mapping config
2018-03-23 09:43:17 +13:00
Bernard Hamlin 5c52bf0c53 Alias unit tests 2018-03-09 16:16:15 +13:00
cpenny 44c5b45748 Added general Exception catch/response. Added extension points to all response methods. 2018-03-07 11:41:27 +13:00
cpenny 029ccd0a38 Catch ValidationExceptions and return ValidationResult messages. 2018-03-02 10:39:47 +13:00
Robbie Averill 5b58220367 Cleanup unused class imports 2018-02-08 16:56:21 +13:00
Dylan Wagstaff 3dda824796 Silence Travis CI complaints about Versioned via require-dev 2017-12-06 11:57:22 +13:00
Dylan Wagstaff 6601b42c4b Upgrade: begin SilverStripe 4 compatiblity update 2017-12-06 10:43:10 +13:00
Dylan Wagstaff a737f67a13
Merge pull request #41 from creative-commoners/pulls/1.0/fix-total-items-with-canview
FIX Total items count in output respects canView on records
2017-11-17 14:12:47 +13:00
Robbie Averill be255c2af1 FIX Total items count in output respects canView on records 2017-11-17 14:09:23 +13:00
Robbie Averill b3fc6803fd FIX Return string directly when no body content is provided to put/post methods 2017-11-17 13:55:08 +13:00
helpfulrobot 96f868dbf5 Converted to PSR-2 2015-11-21 19:21:34 +13:00
Ingo Schommer 746ff0f823 Line length fixes (no logic changes) 2012-10-31 00:23:29 +01:00
Ingo Schommer 86ac971948 Travis support 2012-10-31 00:18:45 +01:00