Commit Graph

270 Commits

Author SHA1 Message Date
Ingo Schommer
5cd476c701 BUGFIX Attribute escaping in PageCommentInterface_singlecomment.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@97071 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-01-18 02:44:19 +00:00
Sean Harvey
0670933202 FEATURE: added delete all link to page comments. Patch via #4427. Thanks walec51 (from r95418)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95658 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 06:08:03 +00:00
Sean Harvey
e623c3d883 MINOR make widgetarea/editor more suitable for generic use (from r95086)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 06:06:30 +00:00
Ingo Schommer
d0cc476c2a MINOR Merged CanOrganiseSitetree permission into CMSMain_TreeTools.ss (originally implemented in r84073)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-22 08:23:16 +00:00
Ingo Schommer
683dfa9426 MINOR Styling of side reports and tree area in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:08 +00:00
Ingo Schommer
f793ffd368 ENHANCEMENT SideReportsHandler class for easier handling and templating of "side reprts" in the CMS interface
API CHANGE Removed CMSMain->ReportFormParameters()/ReportForm()/sidereport(), replaced with new SideReportsHandler class

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92846 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:54 +00:00
Ingo Schommer
e56852dcd8 ENHANCEMENT Adjusted SecurityAdmin to new LeftAndMain API and jquery.concrete javascript. Changed 'delete' and 'create' interface to be more in line with CMSMain parent implementation, and increase code reuse.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:17 +00:00
Ingo Schommer
c467c926fd ENHANCEMENT Converted AssetAdmin and AssetTableField javascript to jquery-concrete
MINOR Moved AssetAdmin->movemarked() logic to AssetTableField

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:11 +00:00
Ingo Schommer
26df8bd9af ENHANCEMENT Moved AssetAdmin->deletemarked() logic into AssetTableField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92826 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:03 +00:00
Ingo Schommer
9be25f8a18 MINOR Fixed CommentAdmin_left.ss links
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92823 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:54 +00:00
Ingo Schommer
343044e89c ENHANCEMENT Using built-in TableListField javascript deletion for AssetTableField
ENHANCEMENT Less template overloading in AssetTableField.ss

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:47 +00:00
Ingo Schommer
067b7bcaeb ENHANCEMENT Changed AssetAdmin interface 'delete' action to behave same as main CMS interface: Show 'batch actions' with dropdown. Added AssetAdmin_DeleteBatchAction class.
ENHANCEMENT Moved 'Sync files' action in AssetAdmin from toplevel tab to the bottom of the tree and hooked up to AssetAdmin->SyncForm to avoid hardcoding the URL.
ENHANCEMENT Changed AssetAdmin interface 'create' button to show dialog and 'go' button, and behave similar to the main CMS interface

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92802 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:05 +00:00
Ingo Schommer
b9bfcc99b5 API CHANGE Renamed CMSMain->AddPageOptionsForm() to AddForm()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:51 +00:00
Ingo Schommer
1192d5b671 Reimplementation for reports (#49) - removing unneeded code and remaking the template to use standard SiteTree functionality.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92788 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:28 +00:00
Ingo Schommer
a9adcbefaa MINOR Overloading 'create' button for AssetAdmin.js to perform action instead of opening a tab.
MINOR Moved drag/drop functionality into new AssetAdmin.DragDrop.js location (will most likely be temporary until we switch to jQuery drag/drop)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92787 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:25 +00:00
Ingo Schommer
c9646d8d43 MINOR Respecting FormField->extraClass() settings in AssetTableField.ss, CommentTableField.ss and MemberTableField.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92772 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:47 +00:00
Ingo Schommer
001151a66b API CHANGE Adjusted ModelAdmin CSS, JS and PHP to fit with underlying LeftAndMain changes: Using jquery.concrete, removing some redundant form saving logic in ModelAdmin.js, returning <form> tags within ajax responses in ModelAdmin controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:34 +00:00
Ingo Schommer
d0d676b1b0 MINOR Fixed remaining references to jsparty/ directory in CSS and PHP files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92750 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:54 +00:00
Ingo Schommer
4aa80af647 MINOR Fixed spacing in CMS bottom bar template (LeftAndMain.ss)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92734 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:15 +00:00
Ingo Schommer
cb1895866a ENHANCEMENT Refactored versions panel in CMS: Removed "compare mode" checkbox in UI, and replaced with explicit checkboxes and a "compare versions" button. Added manual "refresh" button. Replaced custom markup with a form generated through CMSMain->VersionsForm(), and adjusted markup in CMSMain_versions.ss accordingly
API CHANGE Removed CMSMain->sendFormToBrowser(), replaced with custom code

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:09 +00:00
Ingo Schommer
01d06dd47e API CHANGE Replaced CMSMain->LangSelector() with CMSMain->LangForm() to provide more accessible backend and properly wrap existing <select> tag in a form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92728 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:00 +00:00
Ingo Schommer
2796a37a02 API CHANGE Removed SideReport javascript class, replaced with concrete implementation in CMSMain.js
ENHANCEMENT Using full form for 'site reports' panel in CMSMain->ReportForm(). Removed CMSMain->ReportSelector()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92727 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:55 +00:00
Ingo Schommer
fec71a06eb ENHANCEMENT Moved sitetree filter functionality back into CMSMain->SearchForm() to simplify both serverside and clientside processing, and save precious UI real estate above the tree panel
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:47 +00:00
Ingo Schommer
44e16b9620 API CHANGE Removed CMSBatchAction->getDoingText(), is now using button loading indicators in the UI
API CHANGE Removed LeftAndMain->BatchActionList(), no longer necessary as we're creating the batch actions form in the same class
ENHANCEMENT Changed CMSBatchAction logic to return JSON status changes rather than eval'ed JavaScript via FormResponse
ENHANCEMENT Ported batchactions in CMSMain_left.js to concrete javascript, and moved to new CMSMain.BatchActions.js file
ENHANCEMENT Using native CMSMain->BatchActionsForm() to render form instead of custom template markup in CMSMain_TreeTools.ss

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:40 +00:00
Ingo Schommer
8d5dc11aab MINOR Using native AddPageOptionsForm rendering in CMSMain_TreeTools.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92717 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:28 +00:00
Ingo Schommer
dc4375a383 API CHANGE Removed LeftAndMain->EditForm(), please use getEditForm() instead
API CHANGE Returning LeftAndMain->EmptyForm() as a welcome/placeholder message from LeftAndMain->getEditForm() if no record is found. Removed this placeholder from LeftAndMain_right.ss
ENHANCEMENT Allowing optional $id parameter in LeftAndMain->getEditForm() (and subclasses)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:13 +00:00
Ingo Schommer
e30f92a2f8 API CHANGE Returning empty form from getEditForm() method in CMSMain, AssetAdmin, SecurityAdmin to avoid an <% if %> condition in the template. The previous placeholder text is now always stored alongside the form template. This also allows for easier class overloading with different URLs, as the form action is no longer hardcoded in the template placeholder form.
BUGFIX Adjusted AssetAdmin_left.ss, CommentAdmin_left.ss
MINOR Removed CommentAdmin_right.ss, SecurityAdmin_right.ss - inherits a more generic LeftAndMain_right.ss instead
MINOR Merged CommentAdmin_SiteTree.ss template back into CommentAdmin_left.ss

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92705 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:00 +00:00
Ingo Schommer
7400f8e3d1 ENHANCEMENT Using concrete for CMS loading screen javascript
ENHANCEMENT Better styling for non-javascript message in CMS loading screen

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:49 +00:00
Ingo Schommer
8b8867ba76 API CHANGE Changed <p id=statusMessage> to <div class=notice-wrap> in LeftAndMain_right.ss and subclasses
ENHANCEMENT Using external jquery.notice library to handle status message updates in the CMS

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92696 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:36 +00:00
Ingo Schommer
140fae5d7e API CHANGE Removed AssetAdmin_right.ss template, using LeftAndMain_right.ss now
API CHANGE Removed CMSMain_right.ss template, moved one level up to LeftAndMain_right.ss to be inheritable by other LeftAndMain subclasses

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92692 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:24 +00:00
Ingo Schommer
c48c7755bb ENHANCEMENT Moving placeholder HTML for CMS EditForm out of the <form> tag, and picking it up for later usage in the EditForm javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92691 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:22 +00:00
Ingo Schommer
471afa4002 MINOR Changed statusMessage container in LeftAndMain_right.ss to a <div> so we can save ourselves the CSS styling defaults
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92690 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:18 +00:00
Ingo Schommer
a9c257bc2f MINOR Re-enabled statusmessage in CMSMain_right.ss template
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92667 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:54 +00:00
Ingo Schommer
773d7c9e18 API CHANGE Removed StageLink javascript class, replaced with 'concrete' implementation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92649 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:17 +00:00
Ingo Schommer
671961cf45 ENHANCEMENT Refactored tree search javascript to support concrete and jquery, and build less UI scaffold on the serverside
API CHANGE Removed CMSMain::site_tree_filter_options
API CHANGE Removed CMSMain::SiteTreeFilterOptions() and T_SiteTreeFilterOptions(), now handled inline in CMSMain::TreeSearchForm()
ENHANCEMENT Refactored tree search PHP in CMSMain: Generate form in PHP instead of template, require less UI state, pass filtered/sanitized paramers straight into CMSMainMarkingFilter instead of relying on

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92618 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:06 +00:00
Ingo Schommer
58513992aa MINOR Removed "ss-tabset" class from #TreeTools: it messes up the execution order on which tabs are created, meaning they cant be made collapsible in LeftAndMain code later on
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92611 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:30 +00:00
Ingo Schommer
9f4d0da80a ENHANCEMENT Integrating right panels ('insert image', etc.) in CMS with new layout manager, adjusting title bar to jQuery UI styling, making panel content scrollable
MINOR Updated cmsmain/leftandmain javascript to concrete API changes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92609 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:26 +00:00
Ingo Schommer
2ccc3669eb ENHANCEMENT Using a simple target=_blank for opening the logo link in CMS instead of javascript
ENHANCEMENT Moved the "edit profile" popup link to concrete

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92605 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:15 +00:00
Ingo Schommer
c5eadd81ab ENHANCEMENT Using jQuery UI tabs for tree tools like 'search' or 'batch actions' instead of custom JavaScript
API CHANGE Removed 'treeactions' javascript global

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92603 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:09 +00:00
Ingo Schommer
081802e2d6 MINOR Reverted removal of placeholder <form> tab in CMSMain_right.ss - its still needed for the CMS javascript
MINOR Reverted north/south inner layouts in CMSMain_right.ss

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92596 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:52 +00:00
Ingo Schommer
612dbe0831 MINOR Added 'ss-ui-button' class to all #TreeActions buttons in the CMS to allow for jQuery UI native styling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92595 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:50 +00:00
Ingo Schommer
63e1fede45 MINOR Changed to CMS layout
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92584 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:27 +00:00
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
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
Ingo Schommer
c14e7df9e8 MINOR added stubs to allow widgets to use treedropdown fields (from r91850)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92471 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:00:58 +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
a7c07369e0 FEATURE batch actions for setting/resetting embargo/expiry (from r85397)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89221 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:08 +00:00
Sam Minnee
2294857460 ENHANCMENT side reports can now have parameters (from r85329)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89220 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:43:58 +00:00
Sean Harvey
6cdbbe9d6b BUGFIX Fixed missing default english text for "Clear" and "Search" buttons in template CMSMain_left.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88957 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-14 06:42:04 +00:00
Ingo Schommer
98ba54ec91 MINOR More translations for ModelAdmin (#4521, thanks "random-value ")
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85279 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-26 20:54:24 +00:00