Commit Graph

78 Commits

Author SHA1 Message Date
Robbie Averill bb45d27869 Update Travis build matrix 2019-06-28 16:13:59 +12:00
Robbie Averill 5505f93875 Use trusty dist for Travis builds 2019-06-11 14:09:07 +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 dbb8e18644 [CVE-2019-12149] Fixed potential SQL injection vulnerability in RestfulServer 2019-05-20 15:46:18 +12:00
Russ Michell 9e923d6f9e FIX: Fixes #65 Use Injector to instantiate created objects. (#68) 2018-06-06 09:39:30 +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 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
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
Daniel Hensby 90de9c2260 Merge pull request #26 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-11-24 14:14:21 +00:00
Daniel Hensby 78374ee57c Merge pull request #25 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2015-11-23 17:52:13 +00:00
Daniel Hensby 5e28d7bc25 Merge pull request #32 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-23 17:45:54 +00:00
helpfulrobot 90a1f63ae6 Added standard code of conduct 2015-11-21 20:16:14 +13:00
helpfulrobot e69554810d Added standard Scrutinizer config 2015-11-21 19:31:50 +13:00
helpfulrobot 96f868dbf5 Converted to PSR-2 2015-11-21 19:21:34 +13:00
Daniel Hensby de3dc96d39 Merge pull request #27 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-20 15:49:13 +00:00
Daniel Hensby c05dc87578 Merge pull request #28 from helpfulrobot/add-standard-editor-config
Added standard editor config
2015-11-20 15:00:13 +00:00