silverstripe-framework/tests
Ingo Schommer 103c6e8d68 API CHANGE Added concept of "translation groups" to Translatable- every page can belong to a group of related translations, rather than having an explicit "original", meaning you can have pages in "non-default" languages which have no representation in other language trees. This group is recorded in a new table "<classname>_translationgroups". Translatable->createTranslation() and Translatable->onBeforeWrite() will automatically associate records in this groups. Added Translatable->addTranslationGroup(), Translatable->removeTranslationGroup(), Translatable->getTranslationGroup()
API CHANGE Removed Translatable->isTranslation() - after the new "translation group" model, every page is potentially a translation
API CHANGE Translatable->findOriginalIDs(), Translatable->setOriginalPage(), Translatable->getOriginalPage()
ENHANCEMENT Translatable->getCMSFields() will now always show the "create translation" option, not only on default languages - meaning you can create translations based on other translations
ENHANCEMENT Translatable language dropdown in CMS will always show all available languages, rather than filtering by already existing translations
ENHANCEMENT Added check for an existing record in Translatable->createTranslation()
BUGFIX Removed Translatable->getLang() which overloaded the $db property - it was causing side effects during creation of SiteTree default records.
BUGFIX Added check in Translatable->augmentSQL() to avoid reapplying "Lang = ..." filter twice
BUGFIX Removed bypass in Translatable->AllChildrenIncludingDeleted()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73338 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 16:13:40 +00:00
..
api Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
control BUGFIX Fixed Director::makeRelative() to accept https:// protocol 2009-03-17 22:22:55 +00:00
dev Merged from branches/2.3 2009-02-03 04:00:02 +00:00
fieldtypes BUGFIX: Fixed dates in DateTest so that they don't trip up on timezone quirks, since those are more to do with our buildslave than bugs in SilverStripe 2009-03-09 07:32:51 +00:00
filesystem MINOR Fixed FileTest for changes to getFileType() on the File class 2008-10-16 04:33:35 +00:00
forms BUGFIX Fixed wrong condition in Requirements::includeInHTML() which failed to process requirements if only customCSS() was used 2009-02-08 19:06:15 +00:00
i18n MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +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 API CHANGE Added concept of "translation groups" to Translatable- every page can belong to a group of related translations, rather than having an explicit "original", meaning you can have pages in "non-default" languages which have no representation in other language trees. This group is recorded in a new table "<classname>_translationgroups". Translatable->createTranslation() and Translatable->onBeforeWrite() will automatically associate records in this groups. Added Translatable->addTranslationGroup(), Translatable->removeTranslationGroup(), Translatable->getTranslationGroup() 2009-03-18 16:13:40 +00:00
search FEATURE Supporting search for special characters like umlauts in SearchForm. These characters are encoded to HTML entities by TinyMCE for SiteTree->Content, hence we need a special case in the search logic (incl. unit tests) 2009-01-19 02:49:42 +00:00
security ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
templates (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-09 03:19:54 +00:00
testing FEATURE #2767 wakeless: Allow popuplation of non-DataObject tables with YamlFixture 2008-11-10 23:18:31 +00:00
ArrayDataTest.php ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
ClassInfoTest.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
ControllerTest.php BUGFIX: Fixing tests 2008-11-24 19:28:46 +00:00
DataObjectDecoratorTest.php MINOR Added DataObjectDecoratorTest->testPopulateDefaults() 2009-03-16 13:47:52 +00:00
DataObjectDecoratorTest.yml API CHANGE Deprecated DataObjectDecorator->augmentBeforeWrite(), use DataObjectDecorator->onBeforeWrite() 2008-11-07 12:18:35 +00:00
DataObjectTest.php MINOR Added DataObjectTest->testPopulateDefaults() 2009-03-16 13:43:03 +00:00
DataObjectTest.yml BUGFIX Fixed whitespace issue in DataObjectTest.yml 2009-01-07 21:40:36 +00:00
ErrorPageTest.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
ErrorPageTest.yml MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
HTTPRequestTest.php FEATURE Added HTTP method override support to HTTPRequest and Form (through $_POST['_method'] or $_SERVER['X-HTTP-Method-Override']), incl. unit tests 2008-10-06 14:58:01 +00:00
HTTPTest.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
ManifestBuilderTest.fixture.inc Added TokenisedRegularExpression for accurate parsing of class files for the manifest. To make it efficient, the parse results of each file are now cached. 2008-04-08 06:17:58 +00:00
ManifestBuilderTest.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
ObjectStaticTest.php ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
ObjectTest.php MINOR: Commented out problematic caching test :-( 2009-03-16 06:49:05 +00:00
RedirectorPageTest.php BUGFIX Using _t() to check content strings in unit tests and avoid tests failing when i18n is enabled 2008-10-10 02:20:33 +00:00
RedirectorPageTest.yml BUGFIX: Improved RedirectorPage's handling of invalid configuration options to prevent infinite loops and segfaults 2008-10-09 01:46:17 +00:00
RequestHandlingTest.php MINOR: Tests for r64981 2008-10-31 02:16:51 +00:00
SearchContextTest.php BUGFIX Fixed SearchContextTest to comply to new scaffolded searchfield in Text DBFIeld 2008-11-02 21:24:56 +00:00
SearchContextTest.yml (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-09 06:40:50 +00:00
SiteTreeActionsTest.php MINOR merged from branches/2.3 2009-01-07 23:00:54 +00:00
SiteTreeActionsTest.yml MINOR merged from branches/2.3 2009-01-07 23:00:54 +00:00
SiteTreePermissionsTest.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
SiteTreePermissionsTest.yml MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
SiteTreeTest.php ENHANCEMENT Removed object state setting in CMSMain/SiteTree publication process: DeletedFromStage, CheckedPublicationDifferences, IsAddedToStage and added getters for them. Improves testability as we don't have to rely on random methods like MenuTitle() being called to set object state. 2008-12-17 22:41:07 +00:00
SiteTreeTest.yml API CHANGE #2698 ajshort: URL handler only passes control to subclasses of RequestHandlingData 2008-10-30 21:51:59 +00:00
SoapModelAccessTest.php (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-11 03:39:14 +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 FEATURE Formatting MySQL error messages with newlines through new SQLFormatter class (used in MySQLDatabase) 2008-09-16 18:12:07 +00:00
SQLQueryTest.php MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
SSViewerTest.php ENHANCEMENT Added support for two arguments when calling object-methods with dot notation in templates (see #3292) 2009-01-04 22:20:36 +00:00
TokenisedRegularExpressionTest.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00