silverstripe-framework/tests/forms
Ingo Schommer 1661213e5b FIX Opt-out pf form message escaping (fixes #2796)
This fixes a limitation introduced through http://www.silverstripe.org/ss-2013-008-xss-in-numericfield-validation/.
Form messages used to accept HTML, now they’re escaped by default, effectively removing the ability
to pass in HTML and take care of escaping manually.

We pass through HTML to message in core through the CTF system, so this needs to be fixed.
It’s an alternative fix to https://github.com/silverstripe/silverstripe-framework/pull/2803.
2014-08-22 16:59:34 +12:00
..
gridfield NEW: GridFieldPageCount control for displaying the current page count/total in the gridview header. Designed to complement a functional pager in the grid footer. 2012-10-03 14:54:37 +13:00
uploadfield Test allowedExtensions in UploadField, return correct HTTP status 2013-07-12 13:16:34 +02:00
CheckboxFieldTest.php l10n key to make "yes" and "no" translatable (see #1749) 2013-04-12 01:11:24 +02: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
ComplexTableFieldTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
ComplexTableFieldTest.yml ENHANCEMENT: Refactored TableListField and subclasses to rely on the DataList to handle data manipulatation. 2011-05-01 15:25:45 +12:00
CompositeFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
ConfirmedPasswordFieldTest.php FIX: ConfirmedPasswordField used to expose existing hash 2014-04-17 11:57:57 +12: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 FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
DropdownFieldTest.php Removed duplicate assertion comments in DropdownFieldTest 2012-10-30 22:46:33 +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 00:12:11 +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 FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +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 FIX Opt-out pf form message escaping (fixes #2796) 2014-08-22 16:59:34 +12: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 Fixed PHPUnit assertions for incomplete tests in core 2012-11-23 15:16:39 +01: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.php Requirements acces to files with query strings (fixes #7735) 2013-04-03 16:39:59 +02:00
TableFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
TableFieldTest.yml API CHANGE Removed TableField->FieldSet() and TableField->SubmittedFieldSet(), please use Items() and TableField_Item->Fields() instead (merged branches/2.3-nzct) 2009-07-17 02:09:27 +00:00
TableListFieldTest.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
TableListFieldTest.yml ENHANCEMENT Allowing batch checkbox selection of TableListField rows with TableListField->Markable and TableListField->addSelectOptions() (from r105266) 2010-10-15 02:27:59 +00: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