silverstripe-framework/forms
Ingo Schommer c945e23c62 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 $timeformat 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 $futureOnly 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.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99360 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:38 +13:00
..
AjaxUniqueTextField.php Merged from branches/2.3 2009-03-10 22:08:52 +00:00
AutocompleteTextField.php BUGFIX Fixed extra class addition on various FormField->Field() methods 2008-10-21 20:58:11 +00:00
CheckboxField.php MINOR: Made extract() call a little tighter. 2009-07-08 23:04:43 +00:00
CheckboxSetField.php BUGFIX: was being passed to foreach without a check to see if it's an array or not. (from r86202) 2009-11-05 00:29:21 +00:00
ComplexTableField.php API CHANGE Made ComplexTableField not use Object::create() for item and popup classes to be consistent with TableListField. These can be overridden as itemClass and popupClass are public properties on ComplexTableField 2011-02-02 14:18:29 +13:00
CompositeField.php BUGFIX Setting brokenOnConstruct to FALSE in CompositeField::__construct() - it skips a constructor, hence breaking request handling (and therefore direct field access through /Form/Field/MyCompositeField/FieldHolder 2009-07-06 21:48:12 +00:00
ConfirmedPasswordField.php MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript 2011-02-02 14:17:52 +13:00
CountryDropdownField.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
CreditCardField.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
CurrencyField.php MINOR If CurrencyField->setValue() passed a null or empty value, default to 0.00 so number_format() has no issues converting the number 2011-02-02 14:18:13 +13:00
CustomRequiredFields.php BUGFIX: merge r 85079 from branches/iss to fix Payment Validation of php side when submit a OrderForm 2009-08-25 01:51:56 +00:00
DatalessField.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
DateField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
DatetimeField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
DisabledTransformation.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
DropdownField.php MINOR Ensure DropdownField option elements have escaped the title correctly 2011-02-02 14:18:08 +13:00
EmailField.php BUGFIX #3946 ilyabr: Allow multiple forms containing EmailFields on the same page. 2009-06-08 00:41:06 +00:00
FieldGroup.php MINOR #3399: Removed last references to DefaultFieldHolder. 2009-06-27 07:00:01 +00:00
FieldSet.php API CHANGE: Inserting $HiddenFields into a form template will show the input tags of all the hidden fields. (from r90871) 2011-02-02 14:17:31 +13:00
FileField.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
FileIFrameField.php BUGFIX: FileIFrameField throws sub-URLs error when changing cms to a non default language (#4767) 2011-02-02 14:18:18 +13:00
Form.php BUGFIX: Let FieldMap access non-data fields too (from r95825) 2011-02-02 14:18:21 +13:00
FormAction.php MINOR Use addExtraClass() in FormField::__construct() instead of direct assignment (see #4607, thanks Tjofras) 2011-02-02 14:18:13 +13:00
FormField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
FormScaffolder.php Merge branch 'master' of git@github.com:sminnee/sapphire 2009-10-23 23:26:10 +00:00
FormTransformation.php Reverted r78129 2009-06-01 23:09:03 +00:00
GroupedDropdownField.php ENHANCEMENT Added DropdownField->setEmptyString() and DropdownField->setHasEmptyDefault() to decrease constructor arguments and allow for modification of behaviour after calling construtor. Added DropdownField->getSource() to dynamically include empty defaults at rendering-time rather than construction time. Adjusted DropdownField subclasses to new behaviour 2008-10-15 12:39:09 +00:00
HasManyComplexTableField.php Merged from branches/2.3 2009-04-29 00:07:39 +00:00
HasOneComplexTableField.php Updated SQL queries to be ansi compatable 2008-11-23 00:31:06 +00:00
HeaderField.php BUGFIX Removed 'name' attribute from HeaderField markup - its invalid HTML to put in <h*> elements (#4623) 2009-10-17 00:01:55 +00:00
HiddenField.php MINOR: added $extraClass of a hidden field to its rendered html 2009-06-19 01:36:09 +00:00
HtmlEditorConfig.php BUGFIX: Don't throw a notice-level error if you access a setting that hasn't been set yet. 2011-02-02 14:17:56 +13:00
HtmlEditorField.php ENHANCEMENT: Select the uploaded image after uploading by default. #4962 2011-02-02 14:18:16 +13:00
ImageField.php ENHANCEMENT ImageField now shows only images and folders under the 'From the File Store' tree 2009-07-31 00:46:07 +00:00
ImageFormAction.php BUGFIX: convert ImageFormAction form prototype syntax to jQuery syntax, merged from r94304 2011-02-02 14:17:56 +13:00
InlineFormAction.php Merged from branches/2.3 2009-04-28 23:52:15 +00:00
LabelField.php BUGFIX: removed name attribute from label fields since this is invalid html. Ticket: #4887. PATCH via tobych 2011-02-02 14:18:09 +13:00
LanguageDropdownField.php BUGFIX Filter both 'available' and 'new' languages in LanguageDropdownField for canTranslate() permissions 2009-10-05 20:40:22 +00:00
ListboxField.php MINOR Explicitly set ListboxField::$multiple to be a boolean, added phpDoc to support this 2009-06-01 23:37:03 +00:00
LiteralField.php ENHANCEMENT: Added LiteralField::setValue() so that so that LiteralField is more compatible with other field types. 2009-05-31 11:01:30 +00:00
LookupField.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
ManyManyComplexTableField.php MINOR FIX: backticks converted to quotes 2009-09-17 00:16:12 +00:00
MoneyField.php ENHANCEMENT: enabled saveInto to use the setter method when available instead of passing through the form field values directly to the money class. 2009-06-30 03:16:28 +00:00
NestedForm.php MINOR phpdoc documentation 2009-03-22 22:59:14 +00:00
NullableField.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
NumericField.php BUGFIX Fixed NumericField->jsValidation(), now accepts negative numbers, making it more like the equivalent phpValidation(), which is using is_numeric() (see #4874, thanks Allisone) 2011-02-02 14:18:13 +13:00
OptionsetField.php ENHANCEMENT Added DropdownField->setEmptyString() and DropdownField->setHasEmptyDefault() to decrease constructor arguments and allow for modification of behaviour after calling construtor. Added DropdownField->getSource() to dynamically include empty defaults at rendering-time rather than construction time. Adjusted DropdownField subclasses to new behaviour 2008-10-15 12:39:09 +00:00
PasswordField.php Merged from branches/2.3 2009-04-28 23:55:53 +00:00
PhoneNumberField.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
PrintableTransformation.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
ReadonlyField.php MINOR Documentation 2009-03-10 15:03:34 +00:00
ReadonlyTransformation.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
RequiredFields.php Merged from branches/2.3 2009-04-28 23:55:53 +00:00
ResetFormAction.php Merged from branches/2.3 2009-04-28 23:55:53 +00:00
RestrictedTextField.php MINOR: reverted r93693 due to the field being required for the CMS 2011-02-02 14:17:54 +13:00
ScaffoldingComplexTableField.php API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog. 2009-10-26 03:06:31 +00:00
SelectionGroup.php MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript 2011-02-02 14:17:52 +13:00
SimpleImageField.php BUGFIX: File don't have method URL(), instead, we use $image->URL, which will call $image->getURL() 2011-02-02 14:18:16 +13:00
Tab.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
TableField.php BUGFIX: Fixed reloading of TableFields after ajax save. (http://mingle.silverstripe.com/projects/air_nz_cms_enhancements/cards/154) (from r88921) 2011-02-02 14:18:01 +13:00
TableListField.php MINOR Removed useless third argument to instantiation of itemClass in TableListField::generateExportFileData() 2011-02-02 14:18:29 +13:00
TabSet.php MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript 2011-02-02 14:17:52 +13:00
TabularStyle.php (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-06 06:54:59 +00:00
TextareaField.php Merged from branches/2.3 2009-06-17 11:36:49 +00:00
TextField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
TimeField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
ToggleCompositeField.php MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript 2011-02-02 14:17:52 +13:00
ToggleField.php MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript 2011-02-02 14:17:52 +13:00
TreeDropdownField.php BUGFIX Added missing Requirements to TreeDropdownField->Field() and TreeMultiSelect->Field() 2011-02-02 14:18:31 +13:00
TreeMultiselectField.php BUGFIX Added missing Requirements to TreeDropdownField->Field() and TreeMultiSelect->Field() 2011-02-02 14:18:31 +13:00
TreeSelectorField.php MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript 2011-02-02 14:17:52 +13:00
UniqueRestrictedTextField.php MINOR: reverted r93693 due to the field being required for the CMS 2011-02-02 14:17:54 +13:00
UniqueTextField.php Merged from branches/2.3 2009-03-10 22:08:52 +00:00
Validator.php MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript 2011-02-02 14:17:52 +13:00