silverstripe-framework/tests/forms
Ingo Schommer 6227478f82 FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField)
FEATURE New DateField and TimeField form classes with more consistent API and easier localization
API CHANGE Date/time parsing in DateField, TimeField and DatetimeField defaults to i18n::get_locale() ('en_US') instead of using en_NZ/en_GB specific parsing. Use i18n::set_locale('en_NZ') in mysite/_config.php to revert to old behaviour.
API CHANGE  constructor parameter in TimeField needs to be in ISO date notation (not PHP's date())
API CHANGE TimeField, DateField and related subclasses use Zend_Date for date parsing, meaning they're stricer than the previously used strtotime()
API CHANGE Removed DMYCalendarDateField and CalendarDateField, use DateField with setConfig('showcalendar')
API CHANGE Removed CompositeDateField, DMYDateField, use DateField with setConfig('dmyfields')
API CHANGE Removed DropdownTimeField, use TimeField with setConfig('showdropdown')
API CHANGE Removed PopupDateTimeField, use DatetimeField
API CHANGE Changed 'date', 'month' and 'year' HTML field names to lowercase in DMYDateField
API CHANGE Removed support for ambiguous date formats in DateField, e.g. '06/03/03'. Use DateField->setConfig('dateformat', '<format>') to revert to this behaviour.
API CHANGE Removed  flag from DateField, CalendarDateField etc., use DateField->setConfig('min') and DateField->setConfig('max')
ENHANCEMENT Using Zend_Date for DateField and TimeField, with more robust date handling, starting localization support. Set globally via i18n::set_locale(), or for a field instance through setLocale(). Note: Javascript validation is not localized yet. (from r99360)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102859 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 04:38:40 +00:00
..
CheckboxFieldTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00:00
CheckboxSetFieldTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00:00
CheckboxSetFieldTest.yml ENHANCEMENT Using fixtures in CheckboxSetFieldTest?, restructured from hard-to-debug manymany-join on self to a Article<->Tag relation 2008-10-09 14:29:48 +00:00
ComplexTableFieldTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00:00
ComplexTableFieldTest.yml MINOR: Fixed ComplexTableField test to not generate 404s when redirecting to homepage. 2009-10-11 00:07:28 +00:00
CompositeFieldTest.php ENHANCEMENT Added CompositeField->fieldPosition() 2008-11-11 02:35:54 +00:00
ConfirmedPasswordFieldTest.php BUGFIX #4306 simon_w: Fixed ConfirmedPasswordField::setValue() 2009-06-27 04:00:10 +00:00
CurrencyFieldTest.php MINOR fixed validation on CurrencyField. Will no longer parse non-numeric characters out of input. Added test coverage. 2010-01-18 00:56:29 +00:00
DateFieldTest.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00:00
DatetimeFieldTest.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00:00
DropdownFieldTest.php MINOR Added unit test for DropdownField::performReadonlyTransformation() 2009-08-21 04:16:21 +00:00
FieldSetTest.php BUGFIX Accepting dot-notation in TabSet->fieldByName() 2009-07-06 21:53:50 +00:00
FormFieldTest.php FEATURE: Allow Text/Varchar fields to be configured to differentiate between NULL and empty string. (#4178, petebd) 2009-10-23 01:29:55 +00:00
FormScaffolderTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00: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 API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00: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
HtmlEditorFieldTest.php MINOR: Added tests for HtmlEditorField's broken link tracking and highlighting. 2009-10-15 00:02:05 +00:00
HtmlEditorFieldTest.yml FEATURE: Updated HtmlEditorField to use DOMDocument to more reliably parse image tracking and shortcode link tracking data. 2009-10-11 00:07:13 +00:00
MoneyFieldTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00:00
NullableFieldTests.php FEATURE: Allow Text/Varchar fields to be configured to differentiate between NULL and empty string. (#4178, petebd) 2009-10-23 01:29:55 +00:00
OptionsetFieldTest.php ENHANCEMENT Added OptionsetField->setDisabledItems() to allow specifically disabling certain checkboxes 2010-02-22 06:11:58 +00: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 BUGFIX Making sure RequirementsTest? has combine_files activated (merged from branches/2.3-nzct) 2009-07-16 23:45:23 +00:00
TableFieldTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00: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 MINOR Use 'b' mode for fopen() where possible for better portability (from r98321) 2010-04-13 03:19:41 +00:00
TableListFieldTest.yml Merged from branches/nzct-trunk. Use 'svn log -c <changeset> -g' for full commit message. Merge includes stability fixes and minor refactor of TableListField and ComplexTableField. 2008-10-08 02:00:12 +00:00
TextareaFieldTest.php Merged from branches/2.3 2009-06-17 11:36:49 +00:00
TimeFieldTest.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00:00