silverstripe-cms/code
Ingo Schommer c8beba696c Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless!
API CHANGE Changed Translatable schema from auxilliary tables (SiteTree_lang, SiteTree_lang_Live) to automatically filtered records on the original table (SiteTree, SiteTree_Live), using $Lang and $OriginalID properties. Incompatible update to old schema, migration script is in the works.
API CHANGE Removed Translatable::get_one(), Translatable::write()
ENHANCEMENT Simplified Translatable tree generation by using getSiteTreeFor() in CMSMain->createtranslation()
ENHANCEMENT Added AllChildrenIncludingDeleted(), augmentNumChildrenCountQuery(),  augmentAllChildrenIncludingDeleted(), augmentStageChildren() to Translatable class to allow for more stable tree generation.
ENHANCEMENT Moved definition of Translatable schema from augmentDatabase() to Translatable->extraStatics()
ENHANCEMENT Changes to the CMS language selection refresh the whole admin interface instead of the tree only. This way we can add a URL parameter ?lang=<lang> to /admin, which makes the specific language bookmarkable and reloadable. Changes to LangSelector.js
ENHANCEMENT Added fallback to ModelAsController->getNestedController() to fetch page with matching URLSegment but different language in case no page is found in the current language.
ENHANCEMENT Added helper methods to Translatable: getTranslation(), hasTranslation(), isTranslation(), findOriginalIDs()
ENHANCEMENT Getters and setters for Translatable->getOriginalPage() etc.
ENHANCEMENT Hooking Translatable into ModelAsController and ContentController initialization in order to call choose_site_lang()
ENHANCEMENT Simplified Translatable->augmentSQL(), augmentWrite() by not using auxilliary tables
ENHANCEMENT Showing clickable links for Translations in Translatable->updateCMSFields()
BUGFIX Modifying Hierarchy/SiteTree Children getters to accept optional "context" which can be used to set a language explicitly through the $Lang property, rather than implicitly reyling on the static Translatable::current_lang()
BUGFIX Fixed TranslatableTest to work with new datamodel
BUGFIX Temporarily disabled cookie/session selection in Translatable::choose_site_lang() until we have a good test suite for the side effects.
MINOR Added "untranslated" CSS styles to tree nodes and marking them as inactive/grey


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69959 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-10 12:15:30 +00:00
..
sitefeatures MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
staticpublisher Bugfixes for recent staticpublisher importsD 2008-12-15 01:45:20 +00:00
AssetAdmin.php ENHANCEMENT Moved batch forms in CMSMain and AssetAdmin from hardcoded templates to SilverStripe forms. Enhances styling capabilities, unifies HTML syntax, better support for unobtrusive scripting, validation and field additions. 2009-01-06 02:18:33 +00:00
AssetTableField.php MINOR merged from branches/2.3 2009-01-07 23:01:47 +00:00
CMSActionOptionsForm.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
CMSMain.php Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless! 2009-01-10 12:15:30 +00:00
CMSMenu.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
CMSMenuItem.php MINOR Code formatting in CMSMenuItem 2008-11-03 02:07:03 +00:00
CommentAdmin.php MINOR merged from branches/2.3 2009-01-07 23:01:47 +00:00
CommentTableField.php MINOR merged from branches/2.3 2009-01-07 23:01:47 +00:00
Diff.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
FileList.php Updating queries to be more DB agnostic 2008-11-24 09:30:41 +00:00
ImageEditor.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:58 +00:00
LeftAndMain.php MINOR Merged from branches/2.3 2009-01-10 11:36:30 +00:00
LeftAndMainDecorator.php MINOR Renamed LeftAndMainDecorator (had wrong classname) 2009-01-06 02:16:47 +00:00
MemberTableField.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
ModelAdmin.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
ReportAdmin.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
SecurityAdmin.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
SideReport.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
SSReport.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
StaticExporter.php MINOR merged branches/2.3 into trunk 2008-12-04 22:38:58 +00:00
ThumbnailStripField.php MINOR Merged from branches/2.3 2009-01-05 06:17:59 +00:00
WidgetAreaEditor.php Updated SQL queries to be ansi compatable 2008-11-23 00:31:13 +00:00