silverstripe-framework/tests/forms
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
..
gridfield API Show GridFieldEditButton even without edit permissions (for readonly forms) 2012-12-17 00:47:23 +01:00
uploadfield Fixed UploadField regression from 4da1af9c3 2013-01-11 09:30:21 +01:00
CheckboxFieldTest.php API Copying instance props on FormField readonly/disabled transformations 2012-12-14 01:58:04 +01:00
CheckboxSetFieldTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
CheckboxSetFieldTest.yml Revert "ENHANCEMENT Support numeric array values in CheckboxSetField (?Field[]=val1&Field[]=val2 instead of ?Field[val1]=1&Field[val2]=1)" - data handling with numeric/associative arrays too clumsy, fixed up ListboxField instead 2012-03-05 10:55:44 +01:00
CompositeFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
ConfirmedPasswordFieldTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
CurrencyFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
DateFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
DatefieldViewJQueryTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
DatetimeFieldTest.php DatetimeField->setDateField()/setTimeField() 2013-02-05 11:03:19 +01:00
DropdownFieldTest.php NEW Disable items in DropdownField and GroupedDropdownField 2013-01-11 16:32:20 +01:00
EmailFieldTest.php Fixed PHPUnit assertions for incomplete tests in core 2012-11-23 15:16:39 +01:00
FieldListTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
FileFieldTest.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
FormActionTest.php BUGFIX: Fix correct input type for ImageFormAction replaces. 2012-06-13 09:57:54 +02:00
FormFieldTest.php BUG Remove .ss-tabset class from CMS tabs to prevent rogue ajax load (#7980) 2012-11-01 00:25:13 +01:00
FormScaffolderTest.php APICHANGE: add_extension() is now called directly on the class, instead of on Object 2012-11-07 11:07:55 +13:00
FormScaffolderTest.yml FEATURE Added ForeignKey and used it in relation- and databasefield getters in DataObject 2008-10-13 22:20:41 +00:00
FormTest.php Merge branch '3.0' 2012-11-22 23:51:28 +01:00
FormTest.yml BUGFIX Adjusted FormTest->testLoadDataFromObject() to new assumptions about changed behaviour on loadDataFrom() from $loadBlanks to $clearMissingFields - which means that form fields are cleared regardless if they have blank values in the passed object or not 2008-10-09 14:40:13 +00:00
GridFieldTest.php API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
HtmlEditorConfigTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
HtmlEditorFieldTest.php SimpleXML string casting in tests for older PHPUnit 2012-12-17 15:52:01 +01:00
HtmlEditorFieldTest.yml ENHANCEMENT Inserting image via new dialog with ajax field retrieval and GridField file selection. Rewritten to jQuery.entwine and using the new HTML editor abstraction layer. 2012-02-14 13:53:35 +01:00
ListboxFieldTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
ListboxFieldTest.yml ENHANCEMENT Relationship saving in ListboxField (preparing for chosen.js usage), escaping commas in payload when serialising multiple values into a single field 2012-03-05 10:55:09 +01:00
LookupFieldTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
LookupFieldTest.yml BUGFIX Added support for array values in LookupField, to ensure it works correctly when used as a readonly representation of ListboxField (AIR-39) 2011-10-07 14:12:49 +02:00
MemberDatetimeOptionsetFieldTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
MemberDatetimeOptionsetFieldTest.yml ENHANCEMENT #5352 Decouple date display from i18n locales, users now have access to change their date and time formats in Member::getCMSFields() using Member_DatetimeOptionsetField field (from r107326) 2010-10-15 03:23:02 +00:00
MoneyFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
NullableFieldTests.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
OptionsetFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
RequirementsTest_a.css ENHANCEMENT Using namespaces for filenames in RequirementsTest 2008-11-01 14:04:31 +00:00
RequirementsTest_a.js ENHANCEMENT Using namespaces for filenames in RequirementsTest 2008-11-01 14:04:31 +00:00
RequirementsTest_b.css ENHANCEMENT Using namespaces for filenames in RequirementsTest 2008-11-01 14:04:31 +00:00
RequirementsTest_b.js ENHANCEMENT Using namespaces for filenames in RequirementsTest 2008-11-01 14:04:31 +00:00
RequirementsTest_c.css ENHANCEMENT Using namespaces for filenames in RequirementsTest 2008-11-01 14:04:31 +00:00
RequirementsTest_c.js ENHANCEMENT Using namespaces for filenames in RequirementsTest 2008-11-01 14:04:31 +00:00
RequirementsTest_print_a.css API Add possibility to combine media-targeting stylesheets. 2013-02-13 11:04:05 +13:00
RequirementsTest_print_b.css API Add possibility to combine media-targeting stylesheets. 2013-02-13 11:04:05 +13:00
RequirementsTest.php API Add possibility to combine media-targeting stylesheets. 2013-02-13 11:04:05 +13:00
SelectionGroupTest.php SimpleXML string casting in tests for older PHPUnit 2012-12-17 15:46:09 +01:00
TextareaFieldTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
TimeFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00