silverstripe-framework/core/model
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
..
fieldtypes #3340 - Add extra date functions 2009-01-12 02:02:45 +00:00
ComponentSet.php BUGFIX: Fixing tests 2008-11-24 19:28:46 +00:00
CurrentPageIdentifier.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
Database.php BUGFIX Allowing to pass direct ALTER TABLE notation into Database->requireField() as a fallback from array-syntax. This is necessary for external modules like gis which cant hook into core database abstraction routines. Specifically, the GeoPoint implementation broke /dev/build 2009-01-11 22:20:51 +00:00
DatabaseAdmin.php MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
DataObject.php MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
DataObjectDecorator.php ENHANCEMENT Added Versioned::get_versionnumber_by_stage() (used in new CMSMain/SiteTree state checking) 2008-12-17 22:38:47 +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 MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
DB.php MINOR merged from branches/2.3 2009-01-07 23:00:54 +00:00
ErrorPage.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +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 MINOR initializing local variables properly in Hierarchy 2009-01-16 04:04:13 +00:00
Image.php MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
MySQLDatabase.php MINOR merged from branches/2.3 2009-01-07 23:00:54 +00:00
PDODatabase.php BUGFIX Added stub PDODatabase implementations to avoid errors when batch-instanciating singletons 2008-12-10 07:33:27 +00:00
RedirectorPage.php Static caching merges from dnc branch 2008-12-15 01:30:41 +00:00
SiteTree.php ENHANCEMENT Looking for URLSegments in languages outside of default language in ModelAsController by implementing a new extension point in SiteTree::get_by_url(): DataObjectDecorator->alternativeMatches() 2009-01-16 04:07:17 +00:00
SQLMap.php MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
SQLQuery.php BUGFIX Disabled assumption that SQLQuery->filtersOnID() should only kick in when exactly one WHERE clause is given - this is very fragile and hard to test. It would return TRUE on $where = "SiteTree.ID = 5", but not on $where = array("Lang = 'de'", "SiteTree.ID = 5") 2009-01-14 04:00:30 +00:00
Translatable.php 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
Versioned.php ENHANCEMENT Added Versioned::get_versionnumber_by_stage() (used in new CMSMain/SiteTree state checking) 2008-12-17 22:38:47 +00:00
VirtualPage.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:32 +00:00
YamlFixture.php FEATURE #2767 wakeless: Allow popuplation of non-DataObject tables with YamlFixture 2008-11-10 23:18:31 +00:00