silverstripe-framework/core
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
..
control MINOR Merged r73298,r73299,r73301,r73304,r73318 from branches/2.3 2009-03-18 10:16:15 +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
ArrayData.php Merged from 2.3 2009-03-04 03:44:11 +00:00
ArrayLib.php Removed notice level error when ArrayLib::valuekey() is passed an empty array 2008-08-13 04:33:33 +00:00
ClassInfo.php API CHANGE: "SHOW TABLES" replaced with DB-specific version 2009-03-11 21:43:28 +00:00
Convert.php API CHANGE: raw2sql changed to use DB-specific quote escaping 2009-03-11 21:44:10 +00:00
Cookie.php Merged branches/2.3 into trunk 2008-11-22 03:33:00 +00:00
Core.php ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
Extension.php MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
HTTP.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
i18n.php Merged from branches/2.2 2009-03-10 22:17:26 +00:00
i18nEntityProvider.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
i18nTextCollector.php Merged from 2.3 2009-03-04 03:44:11 +00:00
i18nTextCollectorTask.php MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
ManifestBuilder.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
Object.php BUGFIX: Don't throw an error if a non-existent cache file is cleared 2009-03-16 04:31:53 +00:00
Requirements.php Merged from branches/2.3 2009-03-10 22:08:52 +00:00
Session.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
SSViewer.php Merged from branches/2.3 2009-03-10 22:08:52 +00:00
TokenisedRegularExpression.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
ValidationException.php DataObject::write now throws a ValidationException rather than calling user_error if the call to DataObject::validate fails. This allows the validation exception to be caught and handled by tests or other controllers. 2008-10-08 20:42:09 +00:00
ValidationResult.php BUGFIX: Validation result was ignoring the $valid flag passed as the first argument. 2008-10-08 20:40:11 +00:00
ViewableData.php MINOR Documentaion 2009-03-17 20:21:21 +00:00