silverstripe-framework/admin
Hamish Friedlander 4b54383d68 API change request handling to be more orthogonal
RequestHandler#handleAction now exists. It takes the request, and
the action to call on itself. All calls from handleRequest to call an action
will go through this method

Controller#handleAction has had it's signature changed to
match new RequestHandler#handleAction

RequestHandler#findAction has been added, which extracts the
"match URL to rules to find action" portion of RequestHandler#handleRequest
into a separate, overrideable function

GridField#handleAction has beeen renamed to handleAlterAction and
CMSBatchActionHandler#handleAction has been renamed to handleBatchAction to
avoid name clash with new RequestHandler#handleAction

Reason for change: The exact behaviour of request handling depended heavily
on whether you inherited from RequestHandler or Controller, and whether the
rule extracted it's action directly (like "foo/$ID" => 'foo') or dynamically
(like "$Action/$ID" => "handleAction"). This cleans up behaviour so
all calls follow the same path through handleRequest and handleAction, and
the additional behaviour that Controller adds is clear.
2013-02-18 14:56:04 +13:00
..
code API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
css Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-18 14:31:57 +13:00
images Provide new save icon for the use in the framework. 2012-12-13 17:43:25 +01:00
javascript Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-18 14:31:57 +13:00
scss Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-18 14:31:57 +13:00
templates Remove whitespace from LeftAndMain_Menu 2013-02-05 12:30:14 +13:00
tests FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
thirdparty Merge remote-tracking branch 'origin/3.0' into 3.1 2013-01-21 11:14:57 +01:00
_config.php BUG Video embed from Add Media Feature no longer works (open #8033) 2012-11-15 15:49:03 +13:00
.gitignore MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
config.rb MINOR Removing compass asset_cache_buster functionality, as it wrongly changes the hashes even if files haven't changed, causing merging hassles - leave cache control to the webserver 2011-12-20 17:46:43 +01:00