Commit Graph

15 Commits

Author SHA1 Message Date
Serge Latyntcev
6051c086bf Travis config update, remove branch aliases 2019-11-05 14:43:11 +13:00
Maxime Rainville
ac0b263683 BUG Restoring PHP5.6 support 2019-10-18 16:38:21 +13:00
Sander Hagenaars
0b734c21c6 NEW Aliases can now be defined for DataObject endpoints (#80)
* set endpoint_aliases on RestfulServer to specify fixed aliases for exposed dataobjects

* removed wrong use statements from older project

* better docblock

* use correct obj ClassName in RestfulServer::updateDataObject

* added findClassNameEndpoint method, replaced getEndpointAlias()

* getDataFormatter() - find correct endpoint instead of request param ClassName

* Better docblock

Co-Authored-By: Guy Marriott <guy@scopey.co.nz>

* Better docblock

Co-Authored-By: Guy Marriott <guy@scopey.co.nz>

* Return type hint in findClassNameEndpoint method

Co-Authored-By: Guy Marriott <guy@scopey.co.nz>

* renamed endpoint method to resolveEndpoint

* unsanitiseClassName in resolveEndpoint method

* renamed resolveEndpoint to resolveClassName. Take $request as param instead of string

* better docbloc

* Remove unneccesary unsanitiseClassName call

Co-Authored-By: Guy Marriott <guy@scopey.co.nz>

* changed docblocks to satisfy codesniffer

* Drop PHP 5.6 and 7.0 from travis


Co-authored-by: Guy Marriott <guy@scopey.co.nz>
2019-07-15 10:03:51 +12:00
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
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
e54e23ede0 Remove PHP 5.3 from Travis config, shuffle tested SS versions 2017-11-03 10:23:32 +13:00
Robbie Averill
c54b4d345d Add PHP7 + SS3.6 build to Travis configuration 2017-06-15 11:14:22 +12:00
helpfulrobot
775b2c6a21 Added standard Travis config 2015-11-19 14:20:16 +13:00
Damian Mooyman
1c7750e197 Include 3.2 and php 5.6 in tests 2015-10-30 17:18:11 +13:00
Daniel Hensby
b3e3b4569d Updating travis builds 2015-07-22 11:33:51 +01:00
Daniel Hensby
ad7446c10b Move to new travis containerised infrastructure 2015-07-20 16:00:19 +01:00
Ingo Schommer
9ea7097acc Switched to external travis script support 2013-03-29 09:46:01 +01:00
Ingo Schommer
86ac971948 Travis support 2012-10-31 00:18:45 +01:00