Commit Graph

235 Commits

Author SHA1 Message Date
Ingo Schommer
ae56eba853 ENHANCEMENT Using jQuery layout manager plugin to size panels in main CMS interface. Removed custom javascript resizing and CSS rules.
API CHANGE Removed custom resizing javascript methods: window.ontabschanged, window.onresize, fixRightWidth(), fixHeight_left()
API CHANGE Removed DraggableSeparator, SideTabs, SideTabItem javascript classes
API CHANGE Removed Effect.ReSize and Highlighter javascript helper classes
API CHANGE Modified template structure in CMSMain_left.ss, CMSMain_right.ss and LeftAndMain.ss
API CHANGE Modified markup IDs in LeftAndMain/CMSMain templates, removed "left", "right", "contentPanel", "bottom"
ENHANCEMENT Using jquery-latest (currently 1.3) in CMSMain and LeftAndMain
ENHANCEMENT Added jQuery UI library and "smoothness" theme to default CMS interface

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92581 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:20 +00:00
Ingo Schommer
5ff353aa72 MINOR Removed obsolete ImageEditor.css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92580 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:15 +00:00
Ingo Schommer
094c30ea4a API CHANGE Removed ModalForm, ModalDialog, GBModalDialog javascript classes from cms, were superseded by a simple javascript alert a while ago (see r11727 and r12245)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92577 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:07 +00:00
Tom Rix
a0649efa49 BUGFIX WidgetArea now works. Can have multiple areas on a page, and has unit tests
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 00:13:56 +00:00
Sam Minnee
b9f59ae925 MINOR three step workflow test
MINOR prettified side reports with form labels (from r85521)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89223 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:24 +00:00
Andrew Short
c90e47db28 MINOR: Renamed the broken link style to .ss-broken to avoid conflicts.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:08:07 +00:00
Andrew Short
36cd236329 MINOR: Uncommented CMS broken link styles.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88515 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:08:06 +00:00
Will Rossiter
ada0084506 MINOR: fixed typo in layout.css file. Ticket #4398
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85690 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-03 21:57:53 +00:00
Tom Rix
b087ef99c5 MINOR moving inline css to a class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83698 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 04:41:32 +00:00
Sam Minnee
1dd80edb8a MINOR: Fixed newlines and set svn:eol-style to native
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79474 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-17 23:14:01 +00:00
Sean Harvey
09128f09b2 BUGFIX Changed references from "Image" to "FolderImages"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-15 03:19:44 +00:00
Sean Harvey
0e4cccb979 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-25 07:00:36 +00:00
Sam Minnee
646ed9342a BUGFIX: Fixed bugs in content differencer, and improved styling.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77661 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-23 03:30:57 +00:00
Sean Harvey
7f4e06c616 MINOR Removed styling for TypeDropdown which was removed in r77395
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-20 07:37:51 +00:00
Sean Harvey
c550b63f29 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77246 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-19 10:42:35 +00:00
Sean Harvey
d0e3ae5d6b BUGFIX Fixed clearing issue in checkbox actions CMSMain_left
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76860 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 06:21:02 +00:00
Sean Harvey
b360ad9cd7 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76857 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 06:11:18 +00:00
Sam Minnee
1a1229cd96 BUGFIX: Fixed tab layout for add form of model admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76841 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 05:18:50 +00:00
Sean Harvey
0a362cc542 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76663 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-12 05:14:52 +00:00
Sean Harvey
182d1061a9 Merged from 2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76270 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 06:37:45 +00:00
Sean Harvey
7dd4e4284c ENHANCEMENT Added loading indicator for the AJAX request "Show deleted pages" checkbox in the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 06:22:00 +00:00
Sean Harvey
4389affa5c BUGFIX Fixed checkbox "Show only changed pages" alignment issue
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76244 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:16:53 +00:00
Sean Harvey
687d0fef5e BUGFIX Fixed clearing issue of "Allow drag & drop reordering" and "Show deleted pages"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76237 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:01:51 +00:00
Sean Harvey
e2a704d127 Reverted r69557
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-01 03:18:05 +00:00
Sean Harvey
09bc4d359a Merged in r75812
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75817 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-01 03:05:08 +00:00
Sean Harvey
4e4810bbb6 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-30 22:47:28 +00:00
Sean Harvey
7446bc29e9 BUGFIX Tweak CSS for contentpanel
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75696 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-30 01:29:09 +00:00
Sean Harvey
42a6692d79 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 01:44:28 +00:00
Normann Lou
230a70c02a merge open/modules/cms/branches/2.3 changeset 73452
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-24 08:23:09 +00:00
Sam Minnee
550931c02a Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-10 21:59:19 +00:00
Sean Harvey
b1045b461c MINOR Merged tinymce toolbar improvement change from cms/branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72677 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-09 05:20:49 +00:00
Andrew O'Neil
fa76e64d48 Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-04 03:35:29 +00:00
Sean Harvey
55ba6f6cfa BUGFIX Fixed styling of consistent label colours for non-left aligned labels
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71741 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-12 02:47:50 +00:00
Sean Harvey
97d8522e04 MINOR ModelAdmin left hand panel styling tweaks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71715 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-11 21:57:18 +00:00
Sean Harvey
d28951065e Added missing editor.css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71284 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 04:06:11 +00:00
Sean Harvey
31f530cb0f Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71279 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:56:56 +00:00
Sean Harvey
75f962b6e9 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71277 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:52:06 +00:00
Sean Harvey
34a50e3de6 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71276 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:46:15 +00:00
Sean Harvey
22b5b6ea7e Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71272 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:38:04 +00:00
Sean Harvey
32137f61c6 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71271 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:36:47 +00:00
Sean Harvey
9d32dd4026 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71267 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:26:44 +00:00
Sean Harvey
3680bbea46 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:22:20 +00:00
Ingo Schommer
2591492023 BUGFIX Ensuring that new pages can't be created when in translation mode by disabling the "create..." tree action
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@70322 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-19 00:09:55 +00:00
Ingo Schommer
5889def36d 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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@70308 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-16 04:17:37 +00:00
Michael Andrewartha
f855a7512f BUGFIX: fixed scrollbar in safari and firefox3 for the list of pages in site reports and version history #2065
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@70229 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-15 21:27:32 +00:00
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
Ingo Schommer
300435fb13 MINOR Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69958 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-10 11:36:30 +00:00
Ingo Schommer
7e09cc8a18 MINOR merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69858 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-07 23:01:47 +00:00
Ingo Schommer
266acd409d 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.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69744 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-06 02:18:33 +00:00
Ingo Schommer
7b3068ac4f MINOR Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-05 06:17:59 +00:00