silverstripe-framework/tests
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
..
api Adding default curl options 2013-02-15 11:45:52 +00:00
behat NEW Show the allowed extensions as a toggle tip as per trac 7993 2012-12-19 17:00:39 +01:00
cache Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
control API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
core FIX Handle namespaced classes in Object::parse_class_spec() 2012-12-18 15:00:45 +13:00
dev Added test cases for exception error logging 2013-01-24 09:36:42 +01:00
filesystem BUG GD::greyscale did not correctly preserve alpha component of images Added test cases to test greyscale operation across various image formats Replaced various magic numbers with IMAGETYPE_XXX definitions 2012-12-04 09:47:26 +01:00
forms API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
i18n Merge remote-tracking branch 'origin/3.0' into 3.1 2012-12-21 15:04:17 +01:00
injector BUG: Fixed the injection of named services. 2013-02-13 23:06:15 +11:00
integration BUG Fixing regression in 26d70d6fca with formatted output in SS_HTMLValue 2012-10-16 11:59:30 +13:00
javascript Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
model API Data corruption on Versioned due to lazy loading 2013-02-14 14:18:10 +01:00
oembed FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
parsers FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
phpcs Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
search Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
security Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-18 14:31:57 +13:00
tasks Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
templates BUG: Pass named include argument as objects. 2013-02-14 18:31:40 +11:00
testing NEW FixtureFactory separated out from YamlFixture 2012-12-11 17:06:27 +01:00
travis Merge remote-tracking branch 'origin/3.0' into 3.1 2012-12-14 10:57:28 +01:00
view BUG: Pass named include argument as objects. 2013-02-14 18:31:40 +11:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. 2011-02-02 14:17:57 +13:00
bootstrap.php Setting SapphireTest::is_running_test() in PHPUnit bootstrap 2013-01-09 23:31:10 +01:00
FakeController.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
MemoryLimitTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
PhpSyntaxTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00