Commit Graph

18 Commits

Author SHA1 Message Date
andreaspiening
5b3f2f5c09 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-06-05 15:37:02 +12:00
andreaspiening
0500ab25d3 Cast SilverStripe types to appropriate JSON types (#60) 2018-06-05 15:37:02 +12:00
Mojmir Fendek
3207e93b89 Many many through syntax support added. 2018-06-05 15:37:02 +12:00
cpenny
4d5ded4e95 Added general Exception catch/response. Added extension points to all response methods. 2018-06-05 15:37:02 +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
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
Ingo Schommer
9732ec8932 API Added canView() checks to record listing logic
In preparation for removal of those checks from the underlying
JSONDataFormatter and XMLDataFormatter implementations in core,
which shouldn't deal with these kinds of model concerns.
2012-10-31 00:14:46 +01:00
Ingo Schommer
90bfa5eac6 MINOR Initial commit 2012-06-04 10:14:02 +02:00