silverstripe-framework/javascript
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
..
core MINOR: Fixed newlines and set svn:eol-style to native 2009-06-17 23:14:40 +00:00
lang MINOR Added new javascript lang strings from FileIFrameField 2009-05-18 20:57:23 +00:00
tree MINOR Moved ul.tree rules from cms/css/cms_left.css to sapphire/javascript/tree/tree.css (particularly around multiselect tickbox styling) 2011-02-02 14:18:32 +13:00
ComplexTableField_popup.js (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-11 02:25:44 +00:00
ComplexTableField.js BUGFIX: Use Controller::join_links() for all TableListField and ComplexTableField link building, to support form URLs with querystrings. 2011-02-02 14:18:08 +13:00
ConfirmedPasswordField.js Merged revisions 47323 via svnmerge from 2007-12-19 01:45:22 +00:00
FileIFrameField.js ENHANCEMENT ajshort: Major refactoring of FileIFrameField and ImageField to use the new URL handler. Access control to the field is now controlled by the form, and ImageField now uses a codebase much more aligned with FileIFrameField. 2009-05-17 22:06:59 +00:00
HasManyFileField.js Merged from branches/2.3 2009-03-10 22:08:52 +00:00
HtmlEditorField.js ENHANCEMENT: Select the uploaded image after uploading by default. #4962 2011-02-02 14:18:16 +13:00
i18n.js Merged from branches/2.3 2009-03-10 22:08:52 +00:00
i18nx.js Merged from branches/2.3 2009-03-10 22:08:52 +00:00
ImageFormAction.js BUGFIX: convert ImageFormAction form prototype syntax to jQuery syntax, merged from r94304 2011-02-02 14:17:56 +13:00
InlineFormAction.js Moved Sapphire module to open source path 2007-07-19 10:40:28 +00:00
jquery_improvements.js MINOR Moved jsparty/jquery/jquery_improvements.js to sapphire/javascript/jquery_improvements.js 2011-02-02 14:17:50 +13:00
layout_helpers.js MINOR Moved jsparty/layout_helpers.js to sapphire/javascript/layout_helpers.js 2011-02-02 14:17:49 +13:00
loader.js MINOR Moved jsparty/loader.js to sapphire/javascript/loader.js 2011-02-02 14:17:49 +13:00
NumericField.js MINOR Moved NumericField? javascript logic from CalendarDateField?.js into new NumericField?.js. Removed unused DMYCalendarDateField javascript logic, the field behaves just fine with standard input fields and no auto-focus magic on the input fields. (merged from branches/2.3-nzct) 2009-07-16 23:52:35 +00:00
prototype_improvements.js MINOR Moved jsparty/prototype_improvements.js to sapphire/javascript/prototype_improvements.js 2011-02-02 14:17:50 +13:00
RedirectorPage.js Fixed svn:eol-style settings 2007-08-18 02:33:28 +00:00
RelationComplexTableField.js MINOR: Fixed newlines and set svn:eol-style to native 2009-06-17 23:14:40 +00:00
ScaffoldComplexTableField.js (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-09 06:18:32 +00:00
Security_login.js Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
SelectionGroup.js MINOR: fine tuning behavior of selected radio in SelectionGroup 2009-08-25 22:38:52 +00:00
SilverStripeNavigator.js FEATURE: Add close link (from r97751) 2011-02-02 14:18:36 +13:00
TableField.js BUGFIX: Fix items not deleting on tablefields (from r86099) 2009-10-15 22:11:13 +00:00
TableListField.js ENHANCEMENT: Improved TableListField header styling. (from r96028) 2011-02-02 14:18:21 +13:00
TimeField_dropdown.js FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
tiny_mce_improvements.js BUGFIX: allow all characters in the anchor's name attributes 2011-02-02 14:18:25 +13:00
ToggleCompositeField.js FEATURE: roll back r79604 which is to make a ToggleCompositeField able to save back a boolean value if its name is a boolean field of the related object. the reason is this feature is not necessary cos SelectionGroup address the same thing. 2009-06-19 02:38:33 +00:00
ToggleField.js #1658 Create a new language, then refresh the CMS gives toggle() error in js (sits on loading page) 2007-11-10 05:15:28 +00:00
TreeSelectorField.js BUGFIX Fixed URL generation in TreeSelectorField.js, was failing to detect relative URLs - prefixing with <base> URL as a workaround 2011-02-02 14:18:31 +13:00
UniqueFields.js MINOR: reverted r93693 due to the field being required for the CMS 2011-02-02 14:17:54 +13:00
UpdateURL.js Merged from branches/2.3 2009-03-10 22:08:52 +00:00
Validator.js Merged from branches/2.2 2009-03-10 22:17:26 +00:00