Commit Graph

150 Commits

Author SHA1 Message Date
Robbie Averill
a9507a7886 Merge branch '2.0' into 2.1 2019-06-11 14:09:15 +12:00
Robbie Averill
5505f93875 Use trusty dist for Travis builds 2019-06-11 14:09:07 +12:00
Robbie Averill
aed6575e89 Merge branch '2.0' into 2.1 2019-06-11 12:05:29 +12:00
Robbie Averill
a3319831a8
Merge pull request #1 from silverstripe-security/pulls/2.0/sort-only-on-fields
[CVE-2019-12149] Fixed potential SQL injection vulnerability in RestfulServer
2019-06-11 12:04:42 +12:00
Robbie Averill
284aceddd0 Use trusty in Travis builds 2019-05-29 11:08:55 +12:00
Robbie Averill
165e1d4794
Merge pull request #75 from phptek/issue/70
FIX: Fixes #70 Added extension points for GET requests
2019-05-27 15:29:22 +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
b44203b800
DOCS Fix formatting endpoint descriptions
[ci skip]
2019-05-16 10:30:11 +12:00
User for performing fabric deployments
498402389c FIX: Fixes #70 Added extension points for GET requests
- MINOR: Fixed typos
2019-05-07 14:08:32 +12:00
Guy Marriott
57c0597db3
Merge pull request #72 from creative-commoners/pulls/2.1/remove-json-methods
FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4
2018-10-29 11:29:39 +13: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
Robbie Averill
080ce4015b Merge branch '2.1' 2018-07-26 15:12:19 +12:00
Dylan Wagstaff
c8ddec1ecb Add supported module badge to readme (#71) 2018-06-18 10:42:37 +12:00
Robbie Averill
1e09707cc0 Remove obsolete branch alias 2018-06-11 15:36:41 +12:00
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