Commit Graph

61 Commits

Author SHA1 Message Date
Will Rossiter
8a831c79c5 BUGFIX: Fixed bugs in content differencer, and improved styling. BUGFIX: fixed notice when getting title of member which didnt exist. Merged from trunk r77661.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@81942 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:25 +13:00
Hamish Friedlander
29ab106af8 ENHANCEMENT: Correct issue with SiteTree filtering not persisting and add drop down for page type and clear button. Part of a re-work of the search system
@todo: Tests, speed optimisation, proper connection of filtering with tree control checkboxes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:20 +13:00
Sam Minnee
820d6b92cd ENHANCEMENT: Added 'show deleted pages' function to CMS, with a restore page option.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75737 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:17 +13:00
Ingo Schommer
74fad6a1d0 Merging refactored Translatable from trunk, and related changes to CMSMain
------------------------------------------------------------------------
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
2011-02-02 17:48:13 +13:00
Andrew O'Neil
699eda53be FEATURE: #3659 - Update key to show what purple means (ezero)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@72804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:07 +13:00
James Kirkus-Lamont
d8687d4063 BUGFIX: CMS UI site content > search > add criteria select element now returns back to prompt & tweaked layout
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70994 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:04 +13:00
Ingo Schommer
9526f6e138 BUGFIX #3430 page versions don't appear automatically in Safari - versions DOM panel was floated behind the edit form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:04 +13:00
James Kirkus-Lamont
5f51bfe7d9 BUGFIX: cms ui fixing up treetool
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:00 +13:00
James Kirkus-Lamont
c1237db4b7 BUGFIX: cms ui fix styling of tools on files & images section
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70572 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:48:00 +13:00
James Kirkus-Lamont
9ac2df7b6d BUGFIX: cms ui padding on tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70561 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:58 +13:00
James Kirkus-Lamont
0e0b20a8f9 BUGFIX: cms ui tidying up padding of tree tools elements
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70496 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
c2b5cdbc64 BUGFIX: cms ui site tree tools style fix
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
Sean Harvey
f09ee232fa BUGFIX Fixed float issue caused by change in r70303
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70474 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
e30a18ca3b BUGFIX: site tree form element alignment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70404 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:56 +13:00
James Kirkus-Lamont
295c204585 BUGFIX: cms ui form site tree input alignments
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70389 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:55 +13:00
James Kirkus-Lamont
c948a45176 cms ui: site tree tools visual update
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70303 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:55 +13:00
James Kirkus-Lamont
58d7cdb164 cms ui: fixed line background to drop down from root node
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70240 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:55 +13:00
James Kirkus-Lamont
38906cfdef cms ui: fixed line background for open nested lists
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70239 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:55 +13:00
James Kirkus-Lamont
b7e2a51c64 cms ui fix: adding separator above allow drag and drop
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70206 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:54 +13:00
James Kirkus-Lamont
93b01711d9 IE6 ui fixes for calendar in search filters (positioning and when sidebar is expanded)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70141 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:54 +13:00
Sean Harvey
e06d884d04 BUGFIX Fixed clearing issue in IE7 for the left hand tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70117 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:54 +13:00
Will Rossiter
a6d0b5eb0c MINOR: search interface design improvements
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@69706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:51 +13:00
Ingo Schommer
62a064ceab ENHANCEMENT Improved styling of side reports
ENHANCEMENT Added .message styles to cms/css/layout.css

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@69449 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:49 +13:00
Sam Minnee
59278d784f Added light blue colouring to notinmenu items
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65913 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:36 +13:00
Sam Minnee
98f749cdb8 BUGFIX #1721: Fixed del/ins styling in page comparison
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@65894 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:36 +13:00
Sam Minnee
4c03867428 BUGFIX #1816: Added a little padding to page version table
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 02:58:33 +00:00
Matt Peel
66c3db1e8e Reverted geoffm's accidental commit to /open
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
4475726ad6 First post
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Sam Minnee
17f796d0af Merged revisions 48474 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.1asfonz

........
  r48474 | sminnee | 2008-01-23 16:22:59 +1300 (Wed, 23 Jan 2008) | 1 line
  
  Fixed context menus in CMS
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48523 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:01:44 +00:00
Andrew O'Neil
fc1ba512b9 #1959 - You can't reorganise pages without creating pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 22:11:32 +00:00
Sean Harvey
8dc2b6e7e6 DESIGN change - removed status images, these were removed in design so we'll remove them from 2.2 as well
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44518 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 04:59:19 +00:00
Sean Harvey
d843553e4c Fixed search CSS, and repeat background in IE6 of site tree root node
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 04:43:19 +00:00
Sam Minnee
4921e0380a ie6 is gay.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 01:13:09 +00:00
Sean Harvey
a2d59ee1c7 Ticket #1498 - refactored the button css, it's now in layout.css instead of multiple files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44326 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 02:53:40 +00:00
Sean Harvey
19919ce881 Ticket #1498 - fixed styling of input for unused thumbnails in files and images, styled submit inputs in batch actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44288 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 22:08:12 +00:00
Sean Harvey
e387a5083e Ticket #1498 - CSS cleanup after reset
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44275 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 20:38:25 +00:00
Sean Harvey
4db20bec83 Ticket #1498 - CSS clean up, use margin reset and remove excess margin 0 and padding 0
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44273 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 10:10:14 +00:00
Sean Harvey
96006c5614 Ticket #1498 - CSS cleanup and template tweak
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44267 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 05:03:05 +00:00
Andrew O'Neil
bdfbb9a046 #1471 - In cms_left.css should read 'cursor: default' not 'cursor: normal' (merged from 2.1.1 branch, r43598)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44208 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:44:27 +00:00
Sean Harvey
a2001436b9 Reduction of padding for safari, and width change to avoid label wrapping
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44181 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 00:24:26 +00:00
Sean Harvey
a129de4c1a Tweaks to version template, styling and more tweaking of inconsistent styling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44167 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:12:12 +00:00
Sean Harvey
3d6057d533 Ticket #1494 - Fixes to tabstrip images, and tweaks to CSS tehre and there
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44152 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 02:03:18 +00:00
Sean Harvey
30e2d73d1c Ticket #1494 - button consistency
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44138 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 01:03:19 +00:00
Sean Harvey
1fe431ae5c Ticket #1469 - new images for pagination, and consistent button look across the board! :-)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44137 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 00:44:00 +00:00
Sean Harvey
77b00605f6 Ticket #1496 - CSS tweaks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44129 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 22:46:48 +00:00
Sean Harvey
2277725b8f Ticket #1496 - IE fix and css changes to buttons on tree actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44125 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 22:39:25 +00:00
Sean Harvey
fa94bb8ec2 Removed status box, tweak treepanes css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44123 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 22:31:27 +00:00
Sean Harvey
bba5d8bf5b Ticket #1496 - Side bar - arrows for toggling on right of bars
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44121 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 22:21:45 +00:00
Sean Harvey
38ce22b75e Ticket #1496 - Changes to left bar
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44112 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 22:05:37 +00:00
Sean Harvey
da73f46ef5 Ticket #1496 - Side bar and css changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44110 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 21:54:24 +00:00