Go to file
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
api ENHANCEMENT you can now pass arbitrary CURL options to the request() method of RestfulService. 2011-02-02 14:18:29 +13:00
cache APICHANGE: rename the class "Cache" to "SS_Cache" (ref ticket: #4997) 2011-02-02 14:18:19 +13:00
cli API CHANGE: Replaced BasicAuth::enable() with BasicAuth::protect_entire_site() 2011-02-02 14:17:36 +13:00
conf BUGFIX Use BASE_PATH and BASE_URL instead of data from $_SERVER. 2011-02-02 14:18:15 +13:00
core FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
css FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
dev BUGFIX Enforcing creation of temp database in SapphireTest->setUp() to avoid writing to production databases. This check should only kick in for single test case runs, as the temp database connection should be set in a dev/tests/all run after the first db-related test anyway. (see #5034) 2011-02-02 14:18:37 +13:00
email BUGFIX: Made use of new BasicAuth::protect_entire_site() consistent. (from r91658) 2011-02-02 14:17:37 +13:00
filesystem MINOR Localized File->uploadMetadataFields() 2011-02-02 14:18:37 +13:00
forms FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
images MINOR merged from branches/2.3 2009-01-07 23:00:54 +00:00
integration MINOR Use 'b' mode for fopen() where possible for better portability 2011-02-02 14:18:26 +13:00
javascript FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
lang MINOR Update en_US with SiteConfig.THEME and SiteConfig.DEFAULTTHEME translatable entities 2011-02-02 14:18:22 +13:00
parsers BUGFIX Fixed newlines working properly across different platforms - Windows, for example, won't work properly with just \n so use PHP_EOL for a cross-platform solution 2011-02-02 14:17:38 +13:00
profiler BUGFIX: fixed closing action on profiler popup 2011-02-02 14:17:58 +13:00
search FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
security BUGFIX: Take into account tablename with custom columns in get_title_sql (from r97003) 2011-02-02 14:18:37 +13:00
tasks BUGFIX: Change EncryptAllPasswords to BuildTask instead of DailyTask 2011-02-02 14:18:04 +13:00
templates FEATURE: Add close link (from r97751) 2011-02-02 14:18:36 +13:00
tests FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
thirdparty SECURITY Removed sapphire/thirdparty/jquery-form/test PHP files to reduce XSS attack surface 2011-02-02 14:18:19 +13:00
widgets MINOR Removed debug code 2011-02-02 14:18:16 +13:00
_config.php MINOR: remove director rule for removed Image_Uploader in r77012 2011-02-02 14:17:59 +13:00
.htaccess Merged from branches/2.3 2009-04-28 23:52:15 +00:00
cli-script.php NOTFORMERGE revert accidental commit 91456 2011-02-02 14:17:36 +13:00
main.php BUGFIX Installer now opens if mod_rewrite is disabled. Using index.php instead of rewriting the URL didn't quite work with the new BASE_URL, so we need to take this case into account as well 2011-02-02 14:18:32 +13:00
main.php5 MINOR phpdoc documentation 2009-03-22 22:59:14 +00:00
Makefile MINOR: Added flush=1 to test executor 2009-05-04 05:14:00 +00:00
sake ENHANCEMENT: Fixed sapphire execution if you run the uninstalled sake from a foreigh directory. (from r88533) 2009-10-15 22:24:17 +00:00
silverstripe_version fixed $ 2007-12-14 04:35:28 +00:00
static-main.php MINOR make static caching smarter around cacheSubdirs 2011-02-02 14:18:36 +13:00