silverstripe-framework/tests/control
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
..
files API CHANGE: Do not rely on a specific OS mime type detection, use PHP finfo 2012-05-11 11:34:07 +12:00
CMSProfileControllerTest.php Merge remote-tracking branch 'origin/3.0' 2012-10-30 17:52:49 +01:00
CMSProfileControllerTest.yml BUG CMSProfileController::Member_ProfileForm() respecting canEdit() permissions on Member 2012-09-07 11:24:47 +12:00
ControllerTest.php API Tighten up allowed_actions 2013-02-18 14:53:33 +13:00
ControllerTest.yml API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
DirectorTest.php Merge remote-tracking branch 'origin/3.0' into 3.1 2013-01-30 12:46:24 +01:00
HTTPRequestTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
HTTPResponseTest.php Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-07 21:45:16 +01:00
HTTPTest.php API HTTP::urlRewriter with (string)$code deprecated in 3.1. Fixed regressions and CSS urls. 2013-01-24 09:49:44 +01:00
NullHTTPRequestTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
PjaxResponseNegotiatorTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
RequestHandlingTest.php API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
SessionTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00