silverstripe-framework/tests
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
..
api BUGFIX Use BASE_PATH and BASE_URL instead of data from $_SERVER. 2010-04-12 23:15:04 +00:00
control MINOR: permission code is case sensitive in some cases (from r98017) 2010-04-13 01:48:59 +00:00
cuke/step_definitions MINOR: Ensure that cuke can work with --dry-run (from r94819) (from r96772) 2010-04-12 03:20:39 +00:00
dev 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
fieldtypes MINOR Added DecimalTest (merged from 2.4) 2010-04-13 02:10:13 +00:00
filesystem MINOR: Fixed FileTest execution if the assets/ directory doesn't exist. (from r88353) (from r98086) 2010-04-13 02:01:14 +00:00
forms FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00:00
i18n API CHANGE <% _t() %> calls without a namespace no get the right filename when placed in an <% include %> block (actual fix in r100972) 2010-04-12 02:31:10 +00:00
integration BUGFIX: Suppressed errors in SS_HTMLValue->setContent() so it can handle malformed HTML. 2009-10-13 01:44:41 +00:00
javascript MINOR Moved js unit tests from sapphire/javascript/tests to sapphire/tests/javascript to have a consistent location for all tests on server- and clientside 2008-11-01 11:05:38 +00:00
model MINOR Temporarily disabled nested url specific cases inTranslatableTest->testAlternateGetByLink(), unclear functionality requirements (from r99350) 2010-04-14 04:12:46 +00:00
search 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
security MINOR: Fixed PermissionTest assertion (from r96642) (from r98142) 2010-04-13 02:18:14 +00:00
tasks BUGFIX: Adjust EncryptAllPasswordsTask test to match API for BuildTask (from r96828) 2010-04-12 03:27:27 +00:00
templates ENHANCEMENT: Parse template includes at runtime, so that recursive templates and automatic recompilation of included templates work 2010-03-12 03:08:59 +00:00
testing 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
widgets MINOR: Added explicit listing of testonly dataobjects for widget tests. (from r96830) 2010-04-12 03:27:51 +00:00
ArrayDataTest.php ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
ArrayLibTest.php MINOR Documented and unit tested ArrayLib::invert() (merged from branches/2.3-nzct) 2009-07-17 00:01:06 +00:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. (from r94429) 2009-12-16 05:40:59 +00:00
CacheTest.php MINOR: Speed up cache test (1s is as good a test expiry as 8s) (from r98433) 2010-04-13 03:24:37 +00:00
ClassInfoTest.php ENHANCEMENT Added ClassInfo::classes_for_folder() 2009-06-30 22:08:59 +00:00
ControllerTest.php MINOR: Updated Controller to return a 404 on actions that don't exist, rather than a 403. 2009-10-11 00:07:24 +00:00
ControllerTest.yml MINOR Added ControllerTest for $allowed_actions with permission codes, switched this class to extend FunctionalTest and use get() instead of Director:;test() for this purpose (better login/session mocking capabilities) 2009-09-10 06:34:40 +00:00
ConvertTest.php ENHANCEMENT #3677 Added more rules for escaping reserved characters in XML to their proper entities e.g. ' => &apos; 2009-05-20 03:09:50 +00:00
CoreTest.php BUGFIX Use BASE_PATH and BASE_URL instead of data from $_SERVER. 2010-04-12 23:15:04 +00:00
DataObjectDecoratorTest.php API CHANGE #4929: Add $class argument to DataObjectDecorator::extraStatics() (from r97582) 2010-04-12 21:58:35 +00:00
DataObjectDecoratorTest.yml BUGFIX #3919: Fix DataObject::dbObject() for decorated fields 2009-04-27 00:44:10 +00:00
DataObjectSetTest.php MINOR Merge error (see r99737) 2010-04-12 08:35:36 +00:00
DataObjectTest.php BUGFIX: TeamComment table added to dataobjects list (from r101220) 2010-04-12 22:30:35 +00:00
DataObjectTest.yml BUGFIX: TeamComment table added to dataobjects list (from r101220) 2010-04-12 22:30:35 +00:00
ErrorPageTest.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
ErrorPageTest.yml BUGFIX Fixed empty ErrorPage types in output by setting status code in init() instead of index() and checking for "index" action - introduced in r75096 (see #3960) 2009-05-04 02:20:57 +00:00
FileLinkTrackingTest.php BUGFIX: Add a default list of allowed extensions so that the CMS works reasonably out of the box. 2010-04-12 02:42:51 +00:00
FileLinkTrackingTest.yml BUGFIX: Fixed image link rewriting and added a test. (from r89011) 2009-10-15 22:40:06 +00:00
HtmlEditorConfigTest.php ENHANCEMENT Added support for loading external plugins (with relative paths) in HtmlEditorConfig. This means relative paths can be separate from the plugin name, and fixes a bug where paths containing dashes were ignored by TinyMCE.init(). 2009-12-16 05:30:46 +00:00
HTTPRequestTest.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
HTTPTest.php MINOR Fixed HTTPTest->testSetGetVar() (from r98409) 2010-04-13 03:23:56 +00:00
ManifestBuilderTest.fixture.inc BUGFIX: Fixed manifest builder tests to not have fake data, and to test that classes can be in files with different names 2009-08-08 03:39:12 +00:00
ManifestBuilderTest.php MINOR: Renamed manifest test temp dir as there was some kind of conflict (from r98519) 2010-04-14 02:17:09 +00:00
MemoryLimitTest.php BUGFIX: Fix MemoryLimitTest not to fail on machines with <1G of memory and later versions of PHP 5.2.x that check available memory before setting memory_limit setting. 2009-09-24 07:14:30 +00:00
ObjectStaticTest.php BUGFIX #4929: Fixed Object::add_static_vars() for uninherited static.s (from r97586) 2010-04-12 22:00:25 +00:00
ObjectTest.php BUGFIX Fixing regression in TranslatableTest due to outdated singleton caching. 2009-10-22 00:30:21 +00:00
PhpSyntaxTest.php BUGFIX: Don't rely on the current working directory for any file access; use BASE_PATH. (from r97728) 2010-04-12 23:14:36 +00:00
RedirectorPageTest.php MINOR More robust RedirectorPageTest implementation that doesn't rely on _t() calls which are mysteriously failing on all subsequent calls in PHPUnit 2009-08-27 03:10:13 +00:00
RedirectorPageTest.yml BUGFIX: Created Versioned's Version field as a proper Dataobject field. 2009-05-07 06:00:50 +00:00
RequestHandlingTest.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
SearchContextTest.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
SearchContextTest.yml BUGFIX Fixed SQL syntax error in MATCH AGAINST clause in FulltextFilter 2009-05-24 21:27:48 +00:00
SessionTest.php FEATURE: added Session::clearAll() functionality. ENHANCEMENT: Added Unit Tests covering Session API. MINOR: Tided up formatting in session class and included doc comments for API level documentation (from r97024) 2010-04-12 03:32:28 +00:00
ShortcodeParserTest.php FEATURE: Added the Shortcode API (ShortcodeParser) to allow you to replace simple BBCode-like tags in a string with the results of a callback. 2009-10-11 00:06:57 +00:00
SiteTreeActionsTest.php BUGFIX: Let users without a specific TRANSLATE_ permission edit the default locale, so that things don't break when you install the Translatabe module. (from r97267) 2010-04-12 03:41:34 +00:00
SiteTreeActionsTest.yml BUGFIX Respecting SiteTree->canDelete() in SiteTree->getCMSActions() 2009-10-17 05:11:23 +00:00
SiteTreeBacklinksTest.php BUGFIX Added setup/teardown methods to SiteTreeBacklinksTest to make it work with Translatable enabled 2009-10-21 19:49:13 +00:00
SiteTreeBacklinksTest.yml MINOR Fixed SiteTreeBacklinksTest on Windows (from r98427) 2010-04-13 03:24:08 +00:00
SiteTreeBrokenLinksTest.php BUGFIX: Fixed broken link correction when a page is deleted. (from r89989) (from r96731) 2010-04-12 01:57:01 +00:00
SiteTreeBrokenLinksTest.yml ENHANCMENT improved reporting around broken links/files (from r88993) 2009-10-15 22:39:26 +00:00
SiteTreePermissionsTest.php MINOR: Re-enabled SiteTreePermissionsTest tests (from r97592) 2010-04-12 22:01:00 +00:00
SiteTreePermissionsTest.yml MINOR added more documentation around SiteConfig. Also wrote unit tests for permissions inheritance off it. (from r86132) 2009-10-15 21:53:15 +00:00
SiteTreeTest.php MINOR refactored setting/getting strict hierarchy setting. (from r98654) (from r99064) 2010-04-14 03:57:45 +00:00
SiteTreeTest.yml ENHANCEMENT: Updated the SiteTree URLSegment conflict resolver to work with nested URLs. 2009-10-11 00:07:21 +00:00
SoapModelAccessTest.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
SoapModelAccessTest.yml (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-11 03:03:52 +00:00
SQLFormatterTest.php 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 2009-11-21 01:43:54 +00:00
SQLQueryTest.php MINOR remove sort direction when running canSortBy. Also added test coverage for this. (from r96428) (from r98138) 2010-04-13 02:16:50 +00:00
SSViewerCacheBlockTest.php APICHANGE: rename the class "Cache" to "SS_Cache" (ref ticket: #4997) (from r97996) 2010-04-13 01:48:06 +00:00
SSViewerTest.php BUGFIX: Updated SiteConfig-based theme selection to remove inappropriate coupling from SSViewer (from r98263) 2010-04-13 03:18:10 +00:00
TokenisedRegularExpressionTest.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
TransactionTest.php Transaction test created 2009-10-01 21:04:18 +00:00
ViewableDataTest.php BUGFIX Don't return empty value from ViewableData->XML_val() if the actual value is an uncasted 0 integeter (or anything else evaluating to untyped boolean false) 2009-10-15 21:48:24 +00:00
WebserverRoutingTest.php BUGFIX: Made use of new BasicAuth::protect_entire_site() consistent. 2009-11-15 23:43:30 +00:00