silverstripe-framework/core/model
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
..
fieldtypes ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
ComponentSet.php BUGFIX Added E_USER_ERROR error to ComponentSet::getExtraData() if a NULL component name is passed 2009-02-11 00:18:00 +00:00
CurrentPageIdentifier.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
Database.php API CHANGE: Postgres support for T-search indexes 2009-03-17 22:22:46 +00:00
DatabaseAdmin.php BUGFIX Added isDev() and Permission::check() directives to DatabaseAdmin and DevelopmentAdmin 2009-03-17 22:23:52 +00:00
DataObject.php API CHANGE: Postgres support for T-search indexes 2009-03-17 22:22:46 +00:00
DataObjectDecorator.php ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
DataObjectInterface.php MINOR formatting 2008-11-02 00:55:33 +00:00
DataObjectLog.php (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-10 23:03:35 +00:00
DataObjectSet.php Merged from branches/2.3 2009-03-10 22:08:52 +00:00
DB.php API CHANGE: Auto-increment of ID column now DB-specific 2009-03-11 21:48:59 +00:00
ErrorPage.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
GhostPage.php MINOR Added empty $db static on GhostPage - was causing weird side-effects when reinitializing decorated $db statics through Translatable 2009-01-13 04:31:14 +00:00
HiddenClass.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
Hierarchy.php API CHANGE: queries fixed for MSSQL 2009-03-11 23:03:28 +00:00
Image.php MINOR Merged r73298,r73299,r73301,r73304,r73318 from branches/2.3 2009-03-18 10:16:15 +00:00
MySQLDatabase.php BUG FIX: modifyIndex function now present (was indexOrIndexAlt()) 2009-03-17 19:56:11 +00:00
PDODatabase.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
RedirectorPage.php BUGFIX Altering parent getCMSFields() results in RedirectorPage instead of starting with an empty FieldSet, as this discards any tabs and fields which are not explicitly mentioned in the implementation like the ability to create a translation. 2009-01-19 00:33:43 +00:00
SiteTree.php BUG FIX: SQL queries fixed for MSSQL 2009-03-12 21:48:58 +00:00
SQLMap.php MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
SQLQuery.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
Translatable.php 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
Versioned.php API CHANGE: Versioned fixed to use DB-specific ID auto-increment settings 2009-03-11 21:44:58 +00:00
VirtualPage.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
YamlFixture.php FEATURE #2767 wakeless: Allow popuplation of non-DataObject tables with YamlFixture 2008-11-10 23:18:31 +00:00