silverstripe-framework/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
..
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 ENHANCEMENT Added OptionsetField->setDisabledItems() to allow specifically disabling certain checkboxes 2010-02-22 06:11:58 +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 (from r98543) 2010-04-14 02:20:13 +00: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 Changed paths to moved thirdparty dependencies (mostly from /jsparty to /sapphire/thirdparty, /cms/javascript and /sapphire/javascript) 2009-11-21 02:29:59 +00: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 (from r97566) 2010-04-12 21:59:55 +00: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) 2010-04-14 04:38:40 +00:00
DatetimeField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00: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 (from r96882) 2010-04-12 03:28:40 +00: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. 2009-11-05 01:54:37 +00: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) (from r97984) 2010-04-13 01:46:39 +00:00
Form.php BUGFIX: Let FieldMap access non-data fields too (from r95825) (from r98095) 2010-04-13 02:05:57 +00:00
FormAction.php MINOR Use addExtraClass() in FormField::__construct() instead of direct assignment (see #4607, thanks Tjofras) (from r97481) 2010-04-12 21:19:01 +00:00
FormField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00: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. (from r94349) 2009-12-16 05:38:56 +00:00
HtmlEditorField.php ENHANCEMENT: Select the uploaded image after uploading by default. #4962 (from r97765) 2010-04-12 23:36:50 +00: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 (from r94332) 2009-12-16 05:38:28 +00: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 (from r97013) 2010-04-12 03:31:02 +00: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) (from r97482) 2010-04-12 21:19:19 +00:00
OptionsetField.php MINOR Fixed OptionsetField->disabledItems omission from r99596 2010-02-23 04:48:56 +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 (from r93701) 2009-11-30 00:43:39 +00: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 BUGFIX: Included jQuery in SelectionGroup->FieldHolder(), and used new jQuery.live syntax. 2009-12-13 05:22:31 +00:00
SimpleImageField.php BUGFIX: File don't have method URL(), instead, we use $image->URL, which will call $image->getURL() (from r97783) 2010-04-12 23:38:37 +00: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) (from r96427) 2010-04-12 01:35:47 +00:00
TableListField.php MINOR Removed useless third argument to instantiation of itemClass in TableListField::generateExportFileData() (from r98544) 2010-04-14 02:20:28 +00:00
TabSet.php MINOR Upgraded jQuery.entwine (formerly known as jQuery.concrete) to the latest trunk 2010-04-13 05:45:29 +00: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) 2010-04-14 04:38:40 +00:00
TimeField.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00:00
ToggleCompositeField.php MINOR Changed paths to moved thirdparty dependencies (mostly from /jsparty to /sapphire/thirdparty, /cms/javascript and /sapphire/javascript) 2009-11-21 02:29:59 +00:00
ToggleField.php MINOR Changed paths to moved thirdparty dependencies (mostly from /jsparty to /sapphire/thirdparty, /cms/javascript and /sapphire/javascript) 2009-11-21 02:29:59 +00:00
TreeDropdownField.php BUGFIX: fallback for changes in r98101, required if TreeDropdownField is used in a widgetarea, and does not know its field (from r98671) 2010-04-14 02:22:37 +00:00
TreeMultiselectField.php BUGFIX TreeMultiselectField_Readonly now posts the correct value to the server (from r97100) (from r98150) 2010-04-13 02:25:45 +00:00
TreeSelectorField.php ENHANCEMENT Triggering jQuery events in TreeSelectorField.js in preparation to switching the tree logic to jQuery. This prevents developers from using the soon-to-be-deprecated Observable prototype 2009-11-21 02:31:47 +00:00
UniqueRestrictedTextField.php MINOR: reverted r93693 due to the field being required for the CMS (from r93701) 2009-11-30 00:43:39 +00:00
UniqueTextField.php ENHANCEMENT Removed UniqueField.js dependency to CMS-related statusMessage() javascript class, and using jQuery even triggers instead 2009-11-21 02:31:44 +00:00
Validator.php MINOR Changed paths to moved thirdparty dependencies (mostly from /jsparty to /sapphire/thirdparty, /cms/javascript and /sapphire/javascript) 2009-11-21 02:29:59 +00:00