silverstripe-framework/core
Ingo Schommer d3d6ae833d 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/sapphire/trunk@69959 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-10 12:15:30 +00:00
..
control Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless! 2009-01-10 12:15:30 +00:00
model Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless! 2009-01-10 12:15:30 +00:00
ArrayData.php Merged from branches/nzct-trunk. Use 'svn log -c <changeset> -g' for full commit message. Merge includes stability fixes and minor refactor of TableListField and ComplexTableField. 2008-10-08 02:00:12 +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: Updated DB::manipulate() to be more db-agnostic. 2008-11-23 23:20:02 +00:00
Convert.php MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
Cookie.php Merged branches/2.3 into trunk 2008-11-22 03:33:00 +00:00
Core.php Merged branches/2.3 2008-11-18 01:48:37 +00:00
Extension.php MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
HTTP.php MINOR merged from branches/2.3 2009-01-07 23:00:54 +00:00
i18n.php Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless! 2009-01-10 12:15:30 +00:00
i18nEntityProvider.php BUGFIX Collecting i18n entities for decorators separately from the decorated classes, as decorated properties like $db have to be stored in the module of the decorated, not in the module of the decorated class. 2008-11-01 23:16:45 +00:00
i18nTextCollector.php MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
i18nTextCollectorTask.php MINOR Merged from branches/2.3 2009-01-05 06:19:48 +00:00
ManifestBuilder.php MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
Object.php MINOR Merged from branches/2.3 2009-01-10 11:35:50 +00:00
Requirements.php BUGFIX: CustomHeadTags requirements were being incorrectly cleared. 2008-12-16 21:52:56 +00:00
Session.php Add checks to see if REMOTE_ADDR is set before making use of it. 2008-08-13 01:43:49 +00:00
SSViewer.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
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 Merged branches/2.3 2008-11-18 01:48:37 +00:00