Commit Graph

86 Commits

Author SHA1 Message Date
Robbie Averill
11ac9d142e Merge branch '2.0' 2018-06-06 10:34:43 +12:00
Russ Michell
9e923d6f9e FIX: Fixes #65 Use Injector to instantiate created objects. (#68) 2018-06-06 09:39:30 +12:00
Russ Michell
8e4fbd0636 FIX: Fixes #63 Conditionally permit additional GET request in POST context. (#64) 2018-05-31 12:11:12 +12:00
Robbie Averill
489f8c576f Merge branch '2.0' 2018-05-25 15:03:11 +12: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
Robbie Averill
9243546b75
Merge pull request #59 from catalyst/jsondataformater-to-not-use-xml
FIX: fix JSONDataFormatter to not convert values to XML
2018-04-17 13:01:09 +12:00
Andreas Piening
4ec6eb4db0 FIX: fix JSONDataFormatter to not convert values to XML 2018-04-17 11:56:21 +12:00
Robbie Averill
ee37e6c896
Merge pull request #57 from silverstripe-terraformers/feature/many_many_through_support
Many many through syntax support added.
2018-04-09 15:49:41 +12:00
Mojmir Fendek
a60751bd74 Many many through syntax support added. 2018-04-09 12:26:24 +12:00
Robbie Averill
3c1055e2f0
Merge pull request #58 from catalyst/fix-missing-canview-check
FIX: add missing canView check in json
2018-04-09 11:34:20 +12:00
Andreas Piening
cbca821c9b FIX: comply with psr-2 2018-04-09 11:27:20 +12:00
Andreas Piening
d0149f8995 FIX: add missing canView check in json 2018-04-09 11:20:34 +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
eaef7a5ea4 Merge branch '2.0' 2018-04-04 15:33:03 +12:00
Robbie Averill
f54142e661 Remove obsolete branch alias 2018-04-04 15:31:59 +12:00
Robbie Averill
bb000254af
Merge pull request #56 from catalyst/sanitise-json-classnames
Sanitise json classnames
2018-04-04 15:19:54 +12:00
Robbie Averill
49f12cb31d
Merge pull request #55 from catalyst/master
FIX: make RestfulServer:: configurable
2018-04-04 15:19:01 +12:00
Andreas Piening
9cfe4f343d Sanitise class name in JSON formatter 2018-04-04 14:54:00 +12:00
Andreas Piening
d45a407185 FIX: make RestfulServer:: configurable 2018-04-04 12:54:18 +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
Bernard Hamlin
aada3e350f Add field mapping config 2018-03-08 16:27:23 +13:00
cpenny
44c5b45748 Added general Exception catch/response. Added extension points to all response methods. 2018-03-07 11:41:27 +13:00
Robbie Averill
c30b72e058
Merge pull request #50 from silverstripe-terraformers/feature/validation-result
SS4: Catch ValidationExceptions and return ValidationResult messages.
2018-03-02 10:47:56 +13:00
cpenny
029ccd0a38 Catch ValidationExceptions and return ValidationResult messages. 2018-03-02 10:39:47 +13:00
Robbie Averill
b59d956143
Merge pull request #49 from creative-commoners/pulls/2.0/fix-relation-getter
FIX getFieldsForObj does not return relation classes in hasField() check
2018-02-08 17:11:43 +13:00
Robbie Averill
5b58220367 Cleanup unused class imports 2018-02-08 16:56:21 +13:00
Robbie Averill
defdc72bbd FIX getFieldsForObj does not return relation classes in hasField() check 2018-02-08 16:56:07 +13:00
Robbie Averill
9e4b2ff59b
Merge pull request #46 from creative-commoners/pulls/4.0/replace-config-stat-with-get
FIX Replace deprecated Config stat() calls with get()
2017-12-07 23:53:47 +13:00
Raissa North
334553c779 FIX Replace deprecated Config stat() calls with get() 2017-12-07 15:53:11 +13:00
Robbie Averill
852ca334b8
Merge pull request #47 from creative-commoners/pulls/4.0/dataformatter-enhancement
ENHANCEMENT DataFormatter setters return for chaining
2017-12-07 15:19:31 +13:00
Raissa North
823d29f94a ENHANCEMENT DataFormatter setters return for chaining 2017-12-07 10:32:13 +13:00
Robbie Averill
47ec185c12
Merge pull request #42 from creative-commoners/pulls/2.0/towards-two
Upgrade: begin SilverStripe 4 compatiblity update
2017-12-06 13:10:05 +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
Robbie Averill
e5a757d589 Merge branch '1.0' 2017-11-17 14:59:38 +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
Dylan Wagstaff
4bdd071354
Merge pull request #40 from creative-commoners/pulls/1.0/fix-for-empty-post-body
FIX Return string directly when no body content is provided to put/post methods
2017-11-17 14:10:39 +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
Daniel Hensby
4ba5bf5853
Merge pull request #39 from creative-commoners/pulls/1.0/pass-member
FIX Ensure a Member object is passed to canView etc methods if available
2017-11-06 12:16:33 +00:00
Robbie Averill
e54e23ede0 Remove PHP 5.3 from Travis config, shuffle tested SS versions 2017-11-03 10:23:32 +13:00
Robbie Averill
cb92696392 FIX Ensure a Member object is passed to canView etc methods if available 2017-11-03 10:20:45 +13:00
Franco Springveldt
a12e6d48f5 Remove obsolete branch-alias 2017-08-25 16:15:18 +12:00
Daniel Hensby
ba7b5bce1d Merge pull request #38 from creative-commoners/pulls/1/travis-php7
Add PHP7 + SS3.6 build to Travis configuration
2017-06-15 19:16:42 +01:00
Robbie Averill
c54b4d345d Add PHP7 + SS3.6 build to Travis configuration 2017-06-15 11:14:22 +12:00
Damian Mooyman
f6025eac1d Update changelog for 1.0.5 release 2016-02-04 15:32:17 +13:00
Damian Mooyman
09662b678e Merge pull request #33 from helpfulrobot/update-license-year
Updated license year
2016-01-05 11:20:48 +13:00
helpfulrobot
24bc82b0ac Updated license year 2016-01-01 06:46:47 +13:00