Permalink
Commits on Feb 2, 2011
  1. API CHANGE: Made ModelAdmin's configuration statics public rather tha…

    sminnee committed May 6, 2009
    …n protected, so that they can be accessed with Object::get_static()
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76124 467b73ca-7a2a-4603-9d3b-597d59a354a9
  2. MINOR: Added additional tests for LeftAndMain and ModelAdmin

    sminnee committed May 5, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76112 467b73ca-7a2a-4603-9d3b-597d59a354a9
  3. MINOR: Allow imagemaps in tinymce

    ajoneil authored and sminnee committed May 5, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76111 467b73ca-7a2a-4603-9d3b-597d59a354a9
  4. MINOR: Allow imagemaps in tinymce

    ajoneil authored and sminnee committed May 5, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76109 467b73ca-7a2a-4603-9d3b-597d59a354a9
  5. BUGFIX Ensure that template path comments don't make it into ViewArch…

    halkyon authored and sminnee committed May 4, 2009
    …ivedEmail
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75919 467b73ca-7a2a-4603-9d3b-597d59a354a9
  6. ENHANCEMENT: Added page location fields in the behaviour tab, as an a…

    sminnee committed May 1, 2009
    …lternative to drag and drop
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75815 467b73ca-7a2a-4603-9d3b-597d59a354a9
  7. Reverted r69828

    halkyon authored and sminnee committed May 1, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75812 467b73ca-7a2a-4603-9d3b-597d59a354a9
  8. BUGFIX: set when ajax is disabled for commenting that we redirect man…

    Will Rossiter authored and sminnee committed Apr 30, 2009
    …ually down to the comment form
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75785 467b73ca-7a2a-4603-9d3b-597d59a354a9
  9. ENHANCEMENT: Added 'show deleted pages' function to CMS, with a resto…

    sminnee committed Apr 30, 2009
    …re page option.
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75737 467b73ca-7a2a-4603-9d3b-597d59a354a9
  10. BUGFIX: Allow insertion of object tags (such as youtube vids) into WY…

    sminnee committed Apr 30, 2009
    …SIWYG's HTML view
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75733 467b73ca-7a2a-4603-9d3b-597d59a354a9
  11. BUGFIX Fixed right hand image add/edit form panel sizing

    halkyon authored and sminnee committed Apr 30, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75705 467b73ca-7a2a-4603-9d3b-597d59a354a9
  12. Merged r75696 from cms/trunk

    halkyon authored and sminnee committed Apr 30, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75703 467b73ca-7a2a-4603-9d3b-597d59a354a9
  13. MINOR Merged Translatable fixes from trunk

    chillu authored and sminnee committed Apr 29, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75686 467b73ca-7a2a-4603-9d3b-597d59a354a9
  14. BUGFIX Fixed PageCommentInterface $this->class being NULL because par…

    halkyon authored and sminnee committed Apr 29, 2009
    …ent::__construct() wasn't called
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75654 467b73ca-7a2a-4603-9d3b-597d59a354a9
  15. BUGFIX: Fixed refactoring of getRecord() so that it can handle curren…

    sminnee committed Apr 29, 2009
    …tPage() calls properly.
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75614 467b73ca-7a2a-4603-9d3b-597d59a354a9
  16. BUGFIX: Let CMS users open pages deleted from draft; bug introduced b…

    sminnee committed Apr 29, 2009
    …y translatable.
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75611 467b73ca-7a2a-4603-9d3b-597d59a354a9
  17. BUGFIX #3740: Fixd duplicate tab highlight in ModelAdmin, by moving b…

    sminnee committed Apr 27, 2009
    …ack to old tabstrip.js
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75270 467b73ca-7a2a-4603-9d3b-597d59a354a9
  18. ENHANCEMENT #3920: Alllow searching within subfolders in Files and Im…

    sminnee committed Apr 27, 2009
    …ages section
    
    BUGFIX: Let users open the root folder in Files and Images section
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75226 467b73ca-7a2a-4603-9d3b-597d59a354a9
  19. FEATURE: Allow Title and Navigation Label to be searched separately

    ajoneil authored and sminnee committed Apr 27, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75153 467b73ca-7a2a-4603-9d3b-597d59a354a9
  20. MINOR Allow DIV elements in TinyMCE to have a style attribute

    halkyon authored and sminnee committed Apr 26, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75120 467b73ca-7a2a-4603-9d3b-597d59a354a9
  21. BUGFIX Fixed image editing panel padding in CMS "Insert image" button…

    halkyon authored and sminnee committed Apr 25, 2009
    … being squashed
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75113 467b73ca-7a2a-4603-9d3b-597d59a354a9
  22. ENHANCEMENT: Added fullscreen button to WYSIWYG toolbar

    sminnee committed Apr 23, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75037 467b73ca-7a2a-4603-9d3b-597d59a354a9
  23. ENHANCEMENT #3687: Allow the insertion of iframes (such as google map…

    sminnee committed Apr 23, 2009
    …s snippets) into TinyMCEa
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75036 467b73ca-7a2a-4603-9d3b-597d59a354a9
  24. BUGFIX: when load a new Page (or other type of form in DataAdmin or G…

    Normann Lou authored and sminnee committed Apr 23, 2009
    …enericAdmin), initTabstripe called additional time for every tabstrip on the page
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75030 467b73ca-7a2a-4603-9d3b-597d59a354a9
  25. MINOR Partially merged r71388 from trunk - removed group filtering wh…

    chillu authored and sminnee committed Apr 23, 2009
    …ich wasn't implemented fully
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75026 467b73ca-7a2a-4603-9d3b-597d59a354a9
  26. BUGFIX Fixed error if clicking the root of a sitetree in the CMS - af…

    halkyon authored and sminnee committed Apr 23, 2009
    …fected the AssetAdmin and SecurityAdmin sections
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75023 467b73ca-7a2a-4603-9d3b-597d59a354a9
  27. Merging refactored Translatable from trunk, and related changes to CM…

    chillu authored and sminnee committed Apr 23, 2009
    …SMain
    
    ------------------------------------------------------------------------
    r69959 | ischommer | 2009-01-11 01:15:30 +1300 (Sun, 11 Jan 2009) | 18 lines
    
    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
    
    ------------------------------------------------------------------------
    r70307 | ischommer | 2009-01-16 17:16:19 +1300 (Fri, 16 Jan 2009) | 2 lines
    
    ENHANCEMENT Simplifying creation logic of new languages in CMS by reloading complete interface, rather than refreshing partial interface, language dropdown etc.
    API CHANGE Removed CMSMain->switchlanguage()
    ------------------------------------------------------------------------
    r70308 | ischommer | 2009-01-16 17:17:37 +1300 (Fri, 16 Jan 2009) | 2 lines
    
    ENHANCEMENT Moved language selector in CMS above tree for better visibility, added padding and adjusted dropdown width
    ENHANCEMENT Removed "Translating mode" status message above edit form - should be clear by the language dropdown above the CMS tree now
    ------------------------------------------------------------------------
    r70322 | ischommer | 2009-01-19 13:09:55 +1300 (Mon, 19 Jan 2009) | 1 line
    
    BUGFIX Ensuring that new pages can't be created when in translation mode by disabling the "create..." tree action
    ------------------------------------------------------------------------
    r70323 | ischommer | 2009-01-19 13:11:08 +1300 (Mon, 19 Jan 2009) | 1 line
    
    BUGFIX Fixed expanded/unexpanded flags on new tree items - was showing expanded styling (plus icon) with newly created pages
    ------------------------------------------------------------------------
    r70324 | ischommer | 2009-01-19 13:26:02 +1300 (Mon, 19 Jan 2009) | 1 line
    
    BUGFIX Making sure that LeftAndMain->CurrentPage() respects language settings - was returning pages in different language from session after switching between languages in cms
    ------------------------------------------------------------------------
    r71297 | sharvey | 2009-02-03 18:12:42 +1300 (Tue, 03 Feb 2009) | 1 line
    
    BUGFIX Only show the LangSelector dropdown if there's multiple languages available on the site
    ------------------------------------------------------------------------
    r73343 | ischommer | 2009-03-19 06:14:02 +1300 (Thu, 19 Mar 2009) | 1 line
    
    BUGFIX Changed CSS selector for TranslationTab javascript behaviour to be less specific
    ------------------------------------------------------------------------
    r73344 | ischommer | 2009-03-19 06:14:59 +1300 (Thu, 19 Mar 2009) | 1 line
    
    BUGFIX Checking for existence of original before trying to get translation in LeftAndMain->currentPage()
    ------------------------------------------------------------------------
    r73345 | ischommer | 2009-03-19 06:18:52 +1300 (Thu, 19 Mar 2009) | 3 lines
    
    ENHANCEMENT Showing all available languages in language selector above sitetree in CMS - you can now create new pages in completely new languages without any relation to an "original"
    ENHANCEMENT Added CMSMain->IsTranslatableEnabled
    API CHANGE Removed CMSMain->switchlanguage() - createTranslation() is sufficient for new, ajax refreshing of CMS state got way too complicated for switching languages, we now just reload the entire CMS with a different ?lang GET parameter
    ------------------------------------------------------------------------
    r73469 | ischommer | 2009-03-20 21:49:27 +1300 (Fri, 20 Mar 2009) | 1 line
    
    ENHANCEMENT Adjusted CMSMain and LeftAndMain to use locales instead of short lang codes when reading and writing translations. See r73468 for details on the underlying Translatable datamodel change
    ------------------------------------------------------------------------
    r74071 | ischommer | 2009-04-04 10:24:59 +1300 (Sat, 04 Apr 2009) | 1 line
    
    BUGFIX Fixed Form_EditForm_Locale reference in LeftAndMain_right.js (used to be Form_EditForm_Lang)
    ------------------------------------------------------------------------
    r74072 | ischommer | 2009-04-04 10:26:51 +1300 (Sat, 04 Apr 2009) | 1 line
    
    MINOR Using Translatable::choose_site_locale() instead of choose_site_lang() in LeftAndMain->init()
    ------------------------------------------------------------------------
    r74951 | ischommer | 2009-04-22 16:23:56 +1200 (Wed, 22 Apr 2009) | 1 line
    
    BUGFIX Fixed CMSMainTest->testThatGetCMSFieldsWorksOnEveryPageType() - was comparing a string $class with instanceof() instead of comparing the actually created instance
    ------------------------------------------------------------------------
    
    
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74988 467b73ca-7a2a-4603-9d3b-597d59a354a9
  28. BUGFIX Fixed newly created Group records in SecurityAdmin not having …

    halkyon authored and sminnee committed Apr 22, 2009
    …"admin/security/show/" link by adding missing site tree handlers in SecurityAdmin_left.js
    
    MINOR Reworked SecurityAdmin->SiteTreeAsUL() code to be tidier and easier to understand
    BUGFIX Fixed ajax deletion of Group records properly - the site tree items didn't disappear immediately after deleting
    
    MINOR Removed AssetAdmin->returnItemToUser() as it does the same thing as the parent class' LeftAndMain
    MINOR Removed unused AssetAdmin_left.js and AssetAdmin_right.js Requirements calls in AssetAdmin - these files no longer exist
    
    
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74980 467b73ca-7a2a-4603-9d3b-597d59a354a9
  29. BUGFIX: Explicitly destroy TinyMCE instances when loading a new page,…

    sminnee committed Apr 22, 2009
    … in an attempt to reduce memory leaks
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74924 467b73ca-7a2a-4603-9d3b-597d59a354a9
  30. BUGFIX Moving Requirements for AssetTableField, CommentTableField and…

    chillu authored and sminnee committed Apr 21, 2009
    … MemberTableField from __construct() into FieldHolder() and renderWith(), which means inclusion closer to render time, and less side-effects by a previous Requirements::clear(), e.g. in a CTF popup. See r74919
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74920 467b73ca-7a2a-4603-9d3b-597d59a354a9
  31. APICHANGE: add documentation to changeset r74858.

    Normann Lou authored and sminnee committed Apr 21, 2009
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74901 467b73ca-7a2a-4603-9d3b-597d59a354a9
  32. APICHANGE: pass argument $includerelations into DataObject::fieldLabe…

    Normann Lou authored and sminnee committed Apr 21, 2009
    …ls() default as true;
    
    APICHANGE: BulkLoader::getImportSpec() call DataObject::fieldLables() with $includerelations as false, so that the relations is separated from column fields
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74858 467b73ca-7a2a-4603-9d3b-597d59a354a9
  33. BUGFIX Added missing "Created" and "LastEdited" fields to the MemberT…

    halkyon authored and sminnee committed Apr 14, 2009
    …ableField export fields
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74397 467b73ca-7a2a-4603-9d3b-597d59a354a9
  34. MINOR: Add disabled class to InlineFormAction, adjust Folder to use I…

    Hamish Friedlander authored and sminnee committed Apr 7, 2009
    …nlineFormAction rather than LiteralField for "Delete unused thumbnails" button.
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74168 467b73ca-7a2a-4603-9d3b-597d59a354a9
  35. BUGFIX Fixed javascript error in CommentTableField.js where input ele…

    halkyon authored and sminnee committed Apr 6, 2009
    …ments were not being correctly picked up, due to the form HTML change
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74098 467b73ca-7a2a-4603-9d3b-597d59a354a9