silverstripe-framework/tests
Ingo Schommer bcac495926 ENHANCEMENT Recursively creating translations for parent pages to ensure that a translated page is still accessible by traversing the tree, e.g. in "cms translation mode" (in Translatable->onBeforeWrite())
ENHANCEMENT Simplified AllChildrenIncludingDeleted() to not require a special augmentAllChildrenIncludingDeleted() implementation: We don't combine untranslated/translated children any longer (which was used in CMS tree view), but rather just show translated records
ENHANCEMENT Ensuring uniqueness of URL segments by appending "-<langcode>" to new translations (in Translatable->onBeforeWrite())
ENHANCEMENT Added Translatable->alternateGetByUrl() as a hook into SiteTree::get_by_url()
ENHANCEMENT Adding link back to original page in CMS editform for translations
BUGFIX Excluding HiddenField instances from Translatable->updateCMSFields()
BUGFIX Don't require a record to be written (through exists()) when checking Translatable->isTranslation() or Translatable->hasTranslation()
MINOR Don't use createMethod() shortcut for Translatable->AllChildrenIncludingDeleted()
MINOR Added Translatable unit tests

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@70306 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-16 04:14:34 +00:00
..
api MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
control New test for old URL redirection 2008-11-13 02:18:12 +00:00
dev Updating queries to be more DB agnostic 2008-11-24 09:31:14 +00:00
fieldtypes BUGFIX: Fixing tests 2008-11-24 19:28:46 +00:00
filesystem MINOR Fixed FileTest for changes to getFileType() on the File class 2008-10-16 04:33:35 +00:00
forms MINOR Merged from branches/2.3 2009-01-05 06:19:48 +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 ENHANCEMENT Recursively creating translations for parent pages to ensure that a translated page is still accessible by traversing the tree, e.g. in "cms translation mode" (in Translatable->onBeforeWrite()) 2009-01-16 04:14:34 +00:00
search MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
security Updating queries to be more DB agnostic 2008-11-24 09:31:14 +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 ArrayData should only change the type of included objects if they're not ViewableData. 2008-08-12 03:34:19 +00:00
ControllerTest.php BUGFIX: Fixing tests 2008-11-24 19:28:46 +00:00
DataObjectDecoratorTest.php Updating queries to be more DB agnostic 2008-11-24 09:31:14 +00:00
DataObjectDecoratorTest.yml API CHANGE Deprecated DataObjectDecorator->augmentBeforeWrite(), use DataObjectDecorator->onBeforeWrite() 2008-11-07 12:18:35 +00:00
DataObjectTest.php BUGFIX Fixed DataObject->merge() behaviour when merging grandchildren classes of DataObject - was using customDatabaseFields() to merge only the db fields on specific class. Changed to inheritedDatabaseFields() and added unit test. 2009-01-07 01:25:43 +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 MINOR merged from branches/2.3 2009-01-07 23:00:54 +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
ObjectTest.php MINOR Todos for ObjectTest 2008-10-15 17:09:43 +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