Commit Graph

784 Commits

Author SHA1 Message Date
Ingo Schommer
37a914641b ENHANCEMENT Added help texts for MemberImportForm and GroupImportForm
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98750 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-11 02:22:45 +00:00
Ingo Schommer
19de418156 FEATURE Import groups from CSV in admin/security through the new GroupImportForm class (and GroupCsvBulkLoader)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98711 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-10 23:06:35 +00:00
Ingo Schommer
49dd8ddfa5 ENHANCEMENT Allowing custom 'root forms' when id values '0' or 'root' are passed from the tree selection.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-10 23:06:34 +00:00
Ingo Schommer
52c5e35768 MINOR Defensive scripting in LeftAndMain.Tree.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-10 23:06:33 +00:00
Ingo Schommer
89c926221f FEATURE Import members and their group assignments from CSV in admin/security through the new MemberImportForm class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-10 23:06:31 +00:00
Mateusz Uzdowski
25698de5c2 BUGFIX: add check for left mouse button
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95714 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-17 00:33:23 +00:00
Mateusz Uzdowski
945de82ef9 BUGFIX: #4834 disable the tree multiselect feature also when switching to another tab.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95705 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 23:20:39 +00:00
Mateusz Uzdowski
459241010b MINOR: added comment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 22:40:09 +00:00
Mateusz Uzdowski
bee365095d BUGFIX: #4841 Changed live event binding to concrete event binding. Live was binding the event to document object, resulting in the handler being executed on any click within the page.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95699 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 22:25:05 +00:00
Sean Harvey
05147ffd37 BUGFIX #4847 Fixed ComplexTableField undefined in IE8 when opening a CTF popup in the Security section of the CMS (from r95091)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95656 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 06:07:34 +00:00
Sean Harvey
e3e41a625a BUGFIX #4848 Fixed ComplexTableField undefined error in IE8 when it is not available (from r95088)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 06:07:25 +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
Sean Harvey
223dd0f176 MINOR adding maori macron button back (from r94986)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95653 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 06:01:20 +00:00
Sean Harvey
a56f9775d3 MINOR fixed bug where widget area editor would not be activated (from r94829)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95652 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 06:00:08 +00:00
Sean Harvey
70b26c2f3c MINOR fixed widget area
MINOR added select box listing anchors in text (from r94198)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95644 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:55:26 +00:00
Sean Harvey
c2403fc8c9 ENHANCEMENT Loading of tinymce_ssbuttons plugin via relative paths in HtmlEditorConfig rather than using the plugin name as a path spec (see r94060)
API CHANGE Changed cms/javascript/tinymce_ssbuttons plugin name to "ssbuttons" (see r94060)
API CHANGE Changed cms/javascript/tinymce_ssmacron plugin name to "ssmacron" (see r94060) (from r94062)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95642 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:54:10 +00:00
Sean Harvey
1c66833747 BUGFIX: add proper language link broken (from r93984)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95641 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:53:36 +00:00
Ingo Schommer
ed6334ddee MINOR Added pl_PL.js translation (#4788, thanks qlex)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@94224 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-02 03:38:44 +00:00
Ingo Schommer
b29d887cc2 MINOR l10n in CMSMain.php, CMSMain.js and CMSSiteTreeFilter.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92941 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-22 08:45:59 +00:00
Ingo Schommer
a5070b858a API CHANGE Removed CMSSiteTreeFilter->showInList(), using custom logic in CMSMain->SearchTreeForm() instead
API CHANGE Returning arrays instead of Query resource from CMSSiteTreeFilter->pagesIncluded()
MINOR Removed unused LeftAndMain->getMarkingFilter() and CMSMainMarkingFilter, now handled by CMSSiteTreeFilter and CMSMain->SearchTreeForm()
ENHANCEMENT Moved 'page tree filter' dropdown logic into an additional option for CMSMain->SearchTreeForm() (originally implemented in r83674)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92938 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-22 08:23:12 +00:00
Ingo Schommer
e3a51fe6b9 MINOR Bugfixes for SWFUpload
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92853 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:19 +00:00
Ingo Schommer
394e0c0b38 MINOR Removed cms/thirdparty/swfupload, moved to sapphire/thirdparty
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92852 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:16 +00:00
Ingo Schommer
2c7e4c1dd4 BUGFIX Fixed 'add member' popup in SecurityAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92851 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:10 +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
990ae9f145 BUGFIX Fixed CMSMain.js search clearing logic, wasnt clearing the first field properly. Fixed LeftAndMain->getsubtree() filtering in AssetAdmin and SecurityAdmin.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92849 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:03 +00:00
Ingo Schommer
9c3ecea1e7 ENHANCEMENT Unifying tree logic in most LeftAndMain subclasses: CMSMain, SecurityAdmin, AssetAdmin. Using a common LeftAndMainMarkingFilter. Allowing for custom node counts in SecurityAdmin and AssetAdmin.
API CHANGE Renamed CMSMain->getfilteredsubtree() to doSearchTree()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:00 +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
d732ee4c26 BUGFIX Don't invoke statusMessage() in LeftAndMain.EditForm.js form save callbacks, its already handled in LeftAndMain.js for global ajax completion callbacks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92835 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:28 +00:00
Ingo Schommer
98ce1b1f07 MINOR Moved batch actions code from AssetAdmin/CMSMain to a common LeftAndMain parent (which is now reused by SecurityAdmin as well)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:21 +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
622d2d46f6 MINOR Adjusted CMS JavaScript to new jquery-concrete API: Getters have 'get' prefix, namespaces are defined in blocks, event handlers work consistently. Mostly indentation and structure changes, no logic changes.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92830 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:14 +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
1581d93df6 MINOR Missed a _super() call in LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:07 +00:00
Ingo Schommer
233e6e970f MINOR Using global ajaxComplete handlers for LeftAndMain instead of limiting to error handlers to allow usage of X-Status messages throughout the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92827 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:05 +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
4d60aa5c83 MINOR Adjusted CMS JavaScript to new jquery-concrete API: Getters have 'get' prefix, namespaces are defined in blocks, event handlers work consistently. Mostly indentation and structure changes, no logic changes.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:59 +00:00
Ingo Schommer
e503a9c025 MINOR Removed obsolete CommentAdmin_right.js file, behaviour is inherited from parent implementation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92822 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:52 +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
f15e2d8da3 ENHANCEMENT Reloading current edit form after 'look for new files' in AssetAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92819 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:43 +00:00
Ingo Schommer
615494f123 MINOR Wrapped AssetAdmin.BatchActions javascript in document.load
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92818 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:41 +00:00
Ingo Schommer
6aae0aaf53 MINOR Moved sitetree state setting javascript to LeftAndMain.Tree.js, used in AssetAdmin as well
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:27 +00:00
Ingo Schommer
175ceaf890 MINOR Moved AddForm javascript logic to new LeftAndMain.AddForm.js file which is shared by CMSMain and AssetAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92810 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:25 +00:00
Ingo Schommer
284de94770 MINOR Moved some form logic from AssetAdmin.js to AssetTableField.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92808 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:18 +00:00
Ingo Schommer
f4e2dcb61a MINOR Removed deletefolder javascript in AssetAdmin.js, superseded by LeftAndMain.BatchActions.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:15 +00:00
Ingo Schommer
18f54bb99a MINOR Added javascript confirmation for 'delete folders' batch action in AssetAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92806 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:14 +00:00
Ingo Schommer
dd52d7a804 ENHANCEMENT Removed CheckboxRange javascript from AssetAdmin.js, unnecessary complication of the UI with legacy prototypejs-based code.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:12 +00:00
Ingo Schommer
c2e1c12bba MINOR Moved 'delete files' logic from AssetAdmin.DragDrop.js into AssetTableField.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:08 +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
c9c67d4ae6 MINOR Moved AssetAdmin.js dragdrop logic in new file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:57 +00:00
Ingo Schommer
34f8f9eaf3 MINOR Moved batch actions javascript from CMSMain.BatchAction.js to LeftAndMain.BatchActions.js to make it reuseable in AssetAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:55 +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
8d0c82ba52 MINOR Syntax in LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92786 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:22 +00:00
Ingo Schommer
1ce99bc5c4 MINOR Removed unused refreshAsset() javascript from AssetAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92782 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:08 +00:00
Ingo Schommer
927c28baad MINOR Removed 'delete unused items' javascript from AssetAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:06 +00:00
Ingo Schommer
69f8bc52ea BUGFIX Fixed iframe removal javascript in LeftAndMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:04 +00:00
Ingo Schommer
17392ff42b MINOR Fixed LeftAndMain.EditForm.js button onclick, concrete is buggy
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92777 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:57 +00:00
Ingo Schommer
5ab645e35c MINOR Formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92776 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:55 +00:00
Ingo Schommer
df46717bf0 BUGFIX Fixed ClassName change detection in javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92775 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:54 +00:00
Ingo Schommer
4decff9907 BUGFIX Fixed resizing problem with LeftAndMain.js->resizeChildren() caused by jQuery UI tabs and FOUC
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92774 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:52 +00:00
Ingo Schommer
2683a5ae62 MINOR Making full result table rows in ModelAdmin selectable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92773 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:49 +00:00
Ingo Schommer
7223c852e1 MINOR Added loading indicator to search button in ModelAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92771 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:44 +00:00
Ingo Schommer
4c71322997 ENHANCEMENT Added form.clickedButton to all forms triggered inside LeftAndMain javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92770 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:43 +00:00
Ingo Schommer
650d44dd57 ENHANCEMENT Reimplemented ModelAdmin history feature as separate javascript file based on jQuery.concrete. It removes any dependencies to PHP code or existing markup, which means it can be disabled if not required.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:41 +00:00
Ingo Schommer
233221e2e0 MINOR More robust width/height detectino for layout manager in LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92768 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:38 +00:00
Ingo Schommer
6f2927b538 MINOR Passing through url parameter in custom event for Form_EditForm javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92767 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:36 +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
1a5ed26cd5 ENHANCEMENT Making jQuery.layout dimension settings in CMS configurable through CSS, to allow for easy overloading without using the javascript object (e.g. making the sidebar wider in ModelAdmin through ModelAdmin.css)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:29 +00:00
Ingo Schommer
e13bb588d3 MINOR concrete specs in LeftAndMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92763 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:25 +00:00
Ingo Schommer
59790b102d MINOR Formatting in ModelAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92758 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:13 +00:00
Ingo Schommer
8b88bb7142 BUGFIX Re-initializing tabs in LeftAndMain.EditForm.js in order to get the correct height for resizeChildren()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92756 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:08 +00:00
Ingo Schommer
62ff95892f MINOR Only refresh versions side panel on new tree selection if its visible - regression from javascript refactoring, this was already the case in the old CMS logic
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92755 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:06 +00:00
Ingo Schommer
d3172a0775 BUGFIX Hiding LeftAndMain editform while loading new DOM through ajax, to avoid flash-of-unstyled-content issues
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92754 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:04 +00:00
Ingo Schommer
7580483eae BUGFIX Only resizing form in LeftAndMain after showing tabs, to ensure we get the right dimensions. Concrete was applying the tabs styling too late and in an async fashion, so we cant use it here.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:59 +00:00
Ingo Schommer
c7cca847c8 ENHANCEMENT Updated LeftAndMain->ajaxupdateparent() and ajaxupdatesort() to return JSON data rather than FormResponse eval()ed javascript, and let the clientside handle any updates. Also updated to use HTTPRequest instead of superglobals.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92740 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:30 +00:00
Ingo Schommer
57b0bbc83a MINOR Removed debug code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92739 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:27 +00:00
Ingo Schommer
758804eacf API CHANGE Removed ajaxErrorHandler() javascript method from LeftAndMain.js, and changed two known references to custom code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92736 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:21 +00:00
Ingo Schommer
3124388b4d ENHANCEMENT Removed jquery.livequery.js dependency in LeftAndMain, is using jquery.concrete now. Moved only application of livequery (cms form buttons) to concrete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92735 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:18 +00:00
Ingo Schommer
708f80ae62 BUGFIX Fixed locale GET parameter concatenation in language selector javascript for the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92732 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:11 +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
66e1d7141a MINOR Moved ss_MainLayout javascript global in correct file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92730 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:05 +00:00
Ingo Schommer
c50e2fce6b MINOR Moved form related javascript from CMSMain.js to new CMSMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92729 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:03 +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
1760759992 MINOR Moved LeftAndMain_left.js to LeftAndMain.Tree.js
MINOR Moved CMSMain_left.js to CMSMain.Tree.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:51 +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
898665e54b ENHANCEMENT Using jQuery.get() to ajax-refresh the CMS tree, to allow for concrete-style behaviour and global ajax error handling through jQuery instead of prototypejs
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92724 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:44 +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
26785076ba BUGFIX Don't reload the tree node if it is currently in selection-mode (in LeftAndMain_left.js)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92721 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:36 +00:00
Ingo Schommer
a4ae359cac ENHANCEMENT Added global ajax error handling to LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92720 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:35 +00:00
Ingo Schommer
60451f7033 API CHANGE Replaced addpageclass javascript functionality with concrete implementation in CMSMain_left.js
MINOR Renaming load() to loadForm() in LeftAndMain.EditForm.js, to avoid overloading jQuery's native methods
MINOR Triggering jQuery events on top of prototype's Observable for better handling with concrete, in SecurityAdmin.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92719 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:32 +00:00
Ingo Schommer
150cd386b0 API CHANGE Removed unused searchclass javascript class from CMSMain_left.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92718 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:29 +00:00
Ingo Schommer
c329a8e30a MINOR Setting concrete warning level in LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:25 +00:00
Ingo Schommer
5855dfef80 BUGFIX Fixed onsubmit() concrete handlers in LeftAndMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92715 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:23 +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
fef2f77b09 MINOR Removed unused action_upload_right() and save() overloading in AssetAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:08 +00:00
Ingo Schommer
8c37f0897d MINOR Fixed removal of loading screen via javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:06 +00:00
Ingo Schommer
81e3fd04e9 MINOR Triggering LeftAndMain.EditForm.js load() callback after loading the response - this makes more sense, as the inserted HTML can be parsed at this point
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92707 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:04 +00:00
Ingo Schommer
05d1f6e038 MINOR Moved layout javascript logic from CMSMain.js to LeftAndMain.js, so other subclasses of LeftAndMain can use it as well
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:02 +00:00
Ingo Schommer
9794b8324b MINOR Fixed height of loading screen for IE6
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:53 +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
febe9f6e8b MINOR Removed unnecessary CMSMain_right.js javascript, was only used for form changetracking which has changed its API since
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92700 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:45 +00:00
Ingo Schommer
d478f175b7 MINOR Layout manager tweaks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92699 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:43 +00:00
Ingo Schommer
5e4fa55472 MINOR Moved tinymce initialization from LeftAndMain.js to LeftAndMain.EditForm.js and converted to use concrete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92698 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:40 +00:00
Ingo Schommer
ffb6790fe6 BUGFIX Fixed duplicated 'confirm save' message in changetracker logic for LeftAndMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92697 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:38 +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
42a5de8536 MINOR Removed unused _AJAX_LOADING global from LeftAndMain.js javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92695 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:30 +00:00
Ingo Schommer
bf6ff4addb MINOR Moved tree context menu javascript from LeftAndMain.js into LeftAndMain_left.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92694 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:28 +00:00
Ingo Schommer
fe82f394f1 API CHANGE Removed unused ajaxSubmitForm() javascript in LeftAndMain.js, please use LeftAndMain.EditForm.js instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92693 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:26 +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
4c5e847625 BUGFIX Fixes to CMS EditForm javascript change tracking and event triggering
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:17 +00:00
Ingo Schommer
f267dac02c BUGFIX Updated jquery.changetracker behaviour in LeftAndMain javascript to properly respond to window.onbeforeunload events
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92688 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:14 +00:00
Ingo Schommer
55ed72d2aa BUGFIX Made CMSMain.js EditForm concrete rule more specifc, to avoid problems with super()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92687 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:12 +00:00
Ingo Schommer
73e9d884aa MINOR Removing commented out StatusTitle logic in LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92686 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:10 +00:00
Ingo Schommer
5aef49a0a7 API CHANGE Removed ChangeTracker javascript class, superseded by jquery.changetracker
API CHANGE Removed autoSave() javascript logic in CMS, superseded by custom code in LeftAndMain.EditForm.js
ENHANCEMENT Using jquery.changetracker in LeftAndMain.EditForm.js, and overhauled window.unload logic to automatically trigger ajax saving after a user confirmation
MINOR Changed unload confirmation text in CMS logic to adapt to new behaviour

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92685 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:08 +00:00
Ingo Schommer
5f8a164d21 ENHANCEMENT Defaulting to action_save button in ajaxSubmit() javascript logic in CMS form
ENHANCEMENT Making ajax options overrideable in ajaxSubmit() javascript logic in CMS form

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92684 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:05 +00:00
Ingo Schommer
54a7beb5e7 BUGFIX Fixed fieldSelector logic in jquery.changetracker
MINOR Fixed removeData() invocation in jquery.changetracker
MINOR Removed debug code in jquery.changetracker

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92683 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:03 +00:00
Ingo Schommer
6514dc35d4 MINOR Removed debug code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92682 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:00 +00:00
Ingo Schommer
b6dc2dec79 ENHANCEMENT Added initial implementation of jquery-changetracker as a replacement for the existing ChangeTracker behaviour/prototype javascript class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:13:58 +00:00
Ingo Schommer
4726893607 BUGFIX Adjusted WidgetAreaEditor javascript to new event names triggered by CMS forms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92679 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:24 +00:00
Ingo Schommer
3725a98da3 MINOR Added check for presence of origData in LeftAndMain event handler javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92678 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:22 +00:00
Ingo Schommer
d90d672158 MINOR Syntax
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92677 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:20 +00:00
Ingo Schommer
1bac2dc4aa BUGFIX Fixed ParentType selector javascript in SiteTree->getCMSFields()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92676 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:18 +00:00
Ingo Schommer
21160c6ccb BUGFIX Fixed _setupPinging() javascript logic to comply to jQuery callback arguments
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92675 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:14 +00:00
Ingo Schommer
c2d24f9022 FEATURE Changed CMSMain and LeftAndMain form submissions to return raw HTML instead of using FormResponse logic and evaluated javascript. This allows a more customizeable UI layer that is decoupled from the serverside logic. Any state changes should be propagated through the form itself.
ENHANCEMENT Using new 'X-STATUS' HTTP response header for CMS form responses, as it is more robust for submitting variable length strings than the original 'Status' header. The status is evaluated in LeftAndMain.EditForm.js
API CHANGE Removed CMSMain->tellBrowserAboutPublicationChange(), LeftAndMain->returnItemToUser(), LeftAndMain->getActionUpdateJS(), LeftAndMain->addTreeNodeJS(), LeftAndMain->deleteTreeNodeJS(). Use javascript to respond to state changes
API CHANGE Removed CMSForm and CMSRightForm javascript classes, superseded by LeftAndMain.EditForm.js
ENHANCEMENT Removed custom change detection in LeftAndMain->save(), this should be handled by DataObject->write()
ENHANCEMENT Removed switch in LeftAndMain->save() which doesnt process saving if the record hasn't been altered, to simplify the saving logic
ENHANCEMENT Removed custom add/remove tree node logic in LeftAndMain->save() which was retrieving state from DataObjectLog. This was never actively used, and should be handled by custom clientside logic.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92674 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:12 +00:00
Ingo Schommer
a397804db6 MINOR Set loading state on icons for CMS form loading javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92673 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:08 +00:00
Ingo Schommer
41c1c49dfe ENHANCEMENT Better response handling in LeftAndMain.EditForm
BUGFIX Fixed event cancellation in LeftAndMain.EditForm javascript buttons

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92672 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:06 +00:00
Ingo Schommer
fef02e8b1e BUGFIX Changed TreeNodeAPI->setNodeIcon() javascript to not require the old classname to replace. All PHP classnames stored in CSS class strings now have the prefix 'class-' which makes them easy to detect without context
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92668 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:56 +00:00
Ingo Schommer
e8f5b3fbe4 MINOR documentations
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92666 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:52 +00:00
Ingo Schommer
df313826e0 MINOR Fixed unload logic in MainMenu javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92665 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:50 +00:00
Ingo Schommer
59999e197e MINOR Supporting override attributes in hidden form fields in LeftAndMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92664 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:48 +00:00
Ingo Schommer
d03eb541ef MINOR Remove text for LeftAndMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92663 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:46 +00:00
Ingo Schommer
371abfdd1d BUGFIX Monitoring form for locale changes in CMSMain.Translatable.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:44 +00:00
Ingo Schommer
48bbfeffa4 MINOR Temporary workaround for event handling in namespaces for concrete library
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92657 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:33 +00:00
Ingo Schommer
4809523bae MINOR JavaScript code indentation and formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92656 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:31 +00:00
Ingo Schommer
bb6f4a9200 BUGFIX Clearing field containers instead of just input fields in Tree Search javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:29 +00:00
Ingo Schommer
e37b78878c MINOR Changed left panel size in CMSMain to resemble old interface
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:27 +00:00
Ingo Schommer
021c8d4d6c ENHANCEMENT Initialize the east layout panel in CMSMain.js as hidden, so users can't toggle it without going through tinyMCE buttons
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92653 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:25 +00:00
Ingo Schommer
6f2c9193b1 BUGFIX Fixed jQuery assignments in Form_TreeFilterForm javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92652 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:23 +00:00
Ingo Schommer
baf23e5883 MINOR Refactored onSessionLost() javascript functionality
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92651 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:22 +00:00
Ingo Schommer
9980de9c1d MINOR Moved javascript EditForm functionality in separate file: LeftAndMain.EditForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92650 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:20 +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
48068e1f75 MINOR Syntax in CMSMain.Translatable.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92647 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:12 +00:00
Ingo Schommer
dffaa08686 ENHANCEMENT Removed SitetreeAccess javascript functionality, replaced with tighter logic in CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92646 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:10 +00:00
Ingo Schommer
f297ec9ac2 ENHANCEMENT Removed a.cmsEditLink javascript behaviour, do a full page load as normal links instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92645 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:08 +00:00
Ingo Schommer
0d5ee9d775 ENHANCEMENT Migrated translation dropdown javascript to concrete and renamed js include from LangSelector.js to CMSMain.Translatable.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92644 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:05 +00:00
Ingo Schommer
4082561e5d API CHANGE Removed flashColor(), stopFlashing(), suggestStageLink() javascript methods, they were never used
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92643 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:01 +00:00
Ingo Schommer
07e8d2e1e7 API CHANGE Removed tinymce_removeAll() javacsript method in favour of a cleanup() method in #Form_EditForm
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92642 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:59 +00:00
Ingo Schommer
eba09dff2d API CHANGE Removed windowName() javascript method
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92641 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:57 +00:00
Ingo Schommer
8d637e77e5 API CHANGE Removed unused showIndicator() and hideIndicator() javascript methods
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92640 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:55 +00:00
Ingo Schommer
f76fefa873 API CHANGE Removed unused showResponseAsSuccessMessage() javascript method
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92639 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:53 +00:00
Ingo Schommer
9b1f5bc81c API CHANGE Removed baseHref() javascript method
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92638 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:51 +00:00
Ingo Schommer
d5d4d73141 MINOR Fixed javascript syntax in CMSMain.js and LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92637 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:48 +00:00
Ingo Schommer
ccb7e89ae7 MINOR Showing 'edit member profile' popup as a ghost when dragged, to avoid performance problems with iframe
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92636 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:46 +00:00
Ingo Schommer
0b0e10d01d ENHANCEMENT Better integration between new form javascript and tree in CMS
MINOR Various event and property renamings in CMSMain.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92635 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:45 +00:00
Ingo Schommer
502855cf24 MINOR Method renaming in CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:43 +00:00
Ingo Schommer
c5895ca834 MINOR Documentation for CMSMain.js and LeftAndMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92633 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:41 +00:00
Ingo Schommer
ddda0714b6 ENHANCEMENT Replacing greybox library for admin/myprofile with a jQuery UI dialog, including iframe resizing and position/dimension saving into cookies
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92630 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:34 +00:00
Ingo Schommer
ba0e2ffb86 MINOR Removed layout_helpers.js dependency
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92629 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:30 +00:00
Ingo Schommer
81fe7a2f10 MINOR Removed loader.js dependencies
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92628 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:27 +00:00
Ingo Schommer
56cb4b30c9 MINOR Fixed height of bottom panel in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:19 +00:00
Ingo Schommer
94d03555a5 MINOR Moved tab overflow logic from TabSet.js into more specific CMSMain.js, its not necessary outside of a layout-managed CMS context
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92623 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:16 +00:00
Ingo Schommer
bc55ad37d5 MINOR Removed debug code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92622 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:14 +00:00
Ingo Schommer
a3bfa49f60 ENHANCEMENT Saving layout state in CMS in cookie for left-hand panel
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92621 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:12 +00:00
Ingo Schommer
8db33cc65e BUGFIX Fixed ui.tabs saving into cookies in LeftAndMain.js and CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92620 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:10 +00:00
Ingo Schommer
0935da6aad BUGFIX Fixed tree search reloading when all fields are cleared
MINOR Documentation and refactoring for tree search javascript

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92619 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:08 +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
8bc867c554 BUGFIX Inclusing reset buttons in LeftAndMain jQuery styling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92617 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:01 +00:00
Ingo Schommer
761760eeed ENHANCEMENT Storing tabs in LeftAndMain in cookie
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92616 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:59 +00:00
Ingo Schommer
7f0e5299c0 MINOR Javascript syntax error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:57 +00:00
Ingo Schommer
538ff9b321 MINOR Moved jquery-fitheighttoparent, jquery-layout, swfupload from sapphire into cms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92614 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:54 +00:00
Ingo Schommer
e17b09b2cc MINOR Changed paths to moved thirdparty dependencies (mostly from /jsparty to /sapphire/thirdparty, /cms/javascript and /sapphire/javascript)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92613 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:38 +00:00
Ingo Schommer
42daa43e7a API CHANGE Moved jsparty/tinymce_ssbuttons to cms/javascript/tinymce_ssbuttons
API CHANGE Moved jsparty/tinymce_ssmacron to cms/javascript/tinymce_ssmacron

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92612 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:34 +00:00
Ingo Schommer
ba05455d32 MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92610 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:28 +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
d5ec175cfb MINOR Updated cms javascript to new concrete API around namespaces and properties
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92608 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:22 +00:00
Ingo Schommer
e70571d6f8 MINOR Removed concrete namespace for submit actions in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92606 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:17 +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
afc285cb12 ENHANCEMENT Removed some javascript handlers for ajax submission in CMS: action_save_right(), action_publish_right() - they're now using the same unified saving method
ENHANCEMENT Moved javascript handlers in CMS to concrete: action_print_right(), action_email_right(), action_rollback_right()
ENHANCEMENT Moved javascript ParentID UI element in CMS to concrete

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:13 +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
df7713f894 ENHANCEMENT Initial 'concrete' implementation of CMS forms incl. ajax saving, validation placeholders and session-pinging
MINOR Removed 'innerLayout' from CMSMain.js javascript

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92599 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:00 +00:00
Ingo Schommer
1b312ae81b API CHANGE Removed ajaxActionsAtTop() and prepareAjaxActions() javascript methods, to be replaced with new concrete implementation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92598 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:57 +00:00
Ingo Schommer
df79a947a3 MINOR Removed usage of deprecated ajaxLink() javascript method in AssetAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92597 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:54 +00:00
Ingo Schommer
7fd337f5f8 API CHANGE Removed ajaxLoadPage(), ajaxLoadPage_success(), ajaxLink() javascript methods - were never used in core
MINOR Moved ajaxSubmitFieldSet() javascript from LeftAndMain.js to MemberTableField.js (only place where its actually used)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92594 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:48 +00:00
Ingo Schommer
908409a5d8 API CHANGE Removed BaseForm javascript class, was never used in core
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:45 +00:00
Ingo Schommer
3731deb460 API CHANGE Removed isVisible() javascript method
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:43 +00:00
Ingo Schommer
d08450575f API CHANGE Removed DraggableSeparator, SideTabs, SideTabItem javascript classeAPI CHANGE Removed DraggableSeparator, SideTabs, SideTabItem javascript classess
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:22 +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
fca3fbdb68 API CHANGE Removed ModalForm javascript class, obsolete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92578 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:09 +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
e68fca146a MINOR Removed references to empty CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92576 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:03 +00:00
Ingo Schommer
edb8a0d1a1 API CHANGE Removed obsolete/broken ImageEditor functionality
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92575 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:00 +00:00
Ingo Schommer
45931203df MINOR Deleted unused ForumAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92574 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:34:57 +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
Ingo Schommer
d6eaea02b1 MINOR: removed debug statements (from r91543)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:00:47 +00:00
Ingo Schommer
8f10690a1b BUGFIX: fixed order inclusion of js (from r91542)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92469 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:00:41 +00:00
Will Rossiter
cd1a08d6a6 BUGFIX: fixed doUpload ajax submission to correctly handle files submitted via the content editor submission.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@91480 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-12 22:06:37 +00:00
Will Rossiter
87dfd714b2 FEATURE: reenabled the ability to upload images from the insert image tab. Still commented out while le a couple of tweaks are made
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@91302 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-11 07:06:45 +00:00
Tom Rix
d22e4d17a0 MINOR removed concurrent editing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@91198 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-10 21:14:08 +00:00
Ingo Schommer
22aaf67b85 MINOR: fixed page comment form disappearing when validation failed (from r82778)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90846 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:11:40 +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
Tom Rix
feafb55f94 MINOR fixed JS errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90684 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-03 02:01:19 +00:00
Sean Harvey
9cd09d53f8 ENHANCEMENT Current search and current page of asset section are persistent. Fixes the open source ticket #4470 and also a part of #4256 (from r84091)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:39:50 +00:00
Sean Harvey
b2fe474fde ENHANCEMENT Return the results of the FilesystemSyncTask to the status message in the CMS instead of a generic success message (from r82618)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:34:41 +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
Sam Minnee
ce7497c38a MINOR embargo expiry fixes
MINOR deny/cancel spun out into seperate actyions (from r85047)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89219 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:43:47 +00:00
Normann Lou
7eef2f4b25 MINOR: make sure the element exists before using it.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85124 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-25 00:22:05 +00:00
Tom Rix
2367de0758 MINOR fixed SiteTree search in admin
APICHANGE added onAfterSave in LeftAndMain

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84570 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 22:31:16 +00:00
Tom Rix
15d75ad293 FEATURE concurrent editing alerts. if two users are editing a page, the will get a notice. If Bob deletes/saves the page Alice is working on, Alice will be notified.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84231 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-12 21:19:04 +00:00
Tom Rix
6a0f21ca05 ENHANCEMENT sitetree filters now show up in a dropdown, and you can add your own by extending CMSSiteTreeFilter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83674 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 03:09:26 +00:00
Ingo Schommer
f7566166fb MINOR Removed unused ImprintStats.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82129 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-19 23:46:36 +00:00
Ingo Schommer
5d4ae0dde1 BUGFIX: autocomplete field should works on all config sub_item of a SecurityAdmin (merged from branches/2.3-nzct)
MINOR: the autocomplete field AjaxMemberLookup? should be only applied to the defined input field with has "text" class. This is for performance imporovement (merged from branches/2.3-nzct)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82092 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-17 02:23:57 +00:00
Sam Minnee
7147a863b8 BUGFIX Open selected node by default when entering batch actions to trigger loading of children and avoid "missed" nodes in any batch selection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81459 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:40:45 +00:00
Sam Minnee
fece6769fe ENHANCEMENT Query ajaxExpansion on tree nodes without node limitation on serverside (see Hierarchy->markPartialTree()) to avoid "missing" nodes during the selection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:36:47 +00:00
Sam Minnee
119121b0f2 BUGFIX Open selected node and immediate child nodes when using batch actions to ensure that all nodes can actually be selected. This will optionally trigger ajax loading for further nodes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81457 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:36:24 +00:00
Sam Minnee
085d2e2cb0 BUGFIX #4328: Fixed drag and drop of files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-05 21:18:35 +00:00
Sean Harvey
cabf044700 BUGFIX Fixed file search in ThumbnailStripField not working because of incorrect ID
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-01 23:34:39 +00:00
Sam Minnee
9bc3f5fe2a ENHANCEMENT: Added manual Filesystem::sync() button to improve load time of admin/assets area.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-01 22:28:06 +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
d82ba048bf Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79439 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-17 11:50:02 +00:00
Sam Minnee
3f9fd08ceb BUGFIX #3560 ajshort: Hide the SiteTree access group selector when choosing "Inherit from parent page".
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79366 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-16 22:23:29 +00:00
Ingo Schommer
0b7572abd5 MINOR Removed javascript debug call in ModelAdmin.js
ENHANCEMENT Calling tinymce callbacks for destroying previous instances and triggering saves in ModelAdmin.js. No full support for TinyMCE in ModelAdmin yet though.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79352 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-16 05:54:22 +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
Ingo Schommer
832410b625 BUGFIX Using language dropdown to determine locale for partial tree ajax loads, because we can't rely on a page with a hidden "Locale" field being loaded in the CMS. Fixed bug with wrong spelling of "locale" argument. (see #3995).
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@78118 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-28 23:10:57 +00:00
Sam Minnee
31325beec6 BUGFIX: Removed spurious console.log() functions.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77552 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-21 05:08:44 +00:00
Sean Harvey
7bef4158e8 API CHANGE Removed @deprecated 2.3 JS function ingize() from LeftAndMain.js: Please use ss.i18n instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77391 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-20 07:17:39 +00:00
Sean Harvey
c69994f98f Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77023 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-17 23:19:51 +00:00
Sean Harvey
b34dcd40b0 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76918 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-15 00:13:11 +00:00
Sean Harvey
8bc81cc794 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76859 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 06:15:11 +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
Ingo Schommer
92f0fc8675 BUGFIX Limit "show deleted pages" in CMS tree to current language (see #3994)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-12 05:01:39 +00:00
Ingo Schommer
b270615c18 BUGFIX Made SideTabs and SideReports work with Translatable by explicitly passing a "locale" GET parameter (see #4014)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76650 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-12 04:49:25 +00:00
Ingo Schommer
b0bbadc665 BUGFIX Creating a translation of a new page in a new language fails - fixed by adding locale to /createtranslation ajax call (see #4021)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76611 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-12 02:28:18 +00:00
Ingo Schommer
d02a311824 BUGFIX Fix getsubtree command in CMS tree to work with Translatable (#3995)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76608 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-12 02:17:21 +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
b1b07c5325 BUGFIX Fixed scenarios where the page is readonly and the expected ParentType elements don't exist causing a JS error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76258 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:53:22 +00:00
Sean Harvey
0edf8eb19b BUGFIX Fixed case where "NoWidgets" was trying to be called on editablesegment
MINOR Code formatting on WidgetAreaEditor.js to make it easier to read



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76176 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 02:54:59 +00:00
Sean Harvey
a9ea6549c3 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75905 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-04 01:27:35 +00:00
Sean Harvey
e77cfb1427 Reverted r69684
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-01 03:27:11 +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
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
Sam Minnee
bd19bda3aa MINOR: Removed spurious orig file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75149 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-27 00:21:48 +00:00
Ingo Schommer
8e442176e7 BUGFIX Fixed Form_EditForm_Locale reference in LeftAndMain_right.js (used to be Form_EditForm_Lang)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@74071 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-03 21:24:59 +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
Ingo Schommer
893df91e33 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
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73469 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-20 08:49:27 +00:00
Ingo Schommer
a2541c2949 BUGFIX Changed CSS selector for TranslationTab javascript behaviour to be less specific
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73343 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 17:14:02 +00:00
Ingo Schommer
a78ce1998e MINOR Removed console.debug() from LeftAndMain_right.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73335 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 10:51:34 +00:00
Ingo Schommer
9260326ee6 ENHANCEMENT Better feedback for validation errors in ModelAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73031 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-13 10:19:57 +00:00
Ingo Schommer
71c64c1968 ENHANCEMENT Using ajax for the add/create action in ModelAdmin
ENHANCEMENT Adding global ajax error handlers for ModelAdmin save/delete requests
MINOR Added $recordID parameter to ModelAdmin_RecordController so it can be instanciated manually (necessary for post-create actions in ModelAdmin)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72978 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-12 16:42:31 +00:00
Ingo Schommer
5b0cf968f0 ENHANCEMENT Showing statusMessages via LeftAndMain.js->statusMessage() double as long - they we're dissappearing in a fraction of a second for short strings like "Error"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72977 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-12 16:39:25 +00:00
Sam Minnee
61d312643e Merged from branches/2.2
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-10 22:26:22 +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
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
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
Sean Harvey
3d4630a2c8 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71259 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 02:50:25 +00:00
Ingo Schommer
b319355c67 ENHANCEMENT Augmenting stage links in CMS with &lang URL parameter if Translatable is enabled
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69963 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-10 12:39:51 +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
Saophalkun Ponlu
fd5884dbac BUGFIX: didn't work on IE
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69684 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-05 02:55:57 +00:00
Saophalkun Ponlu
299f67cdb3 IMPROVEMENT: image alignment options. ticket #1877
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69557 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-12-19 13:36:59 +00:00
Ingo Schommer
3c8e45f65a MINOR merged branches/2.3 into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@67466 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-12-04 22:38:58 +00:00
Sam Minnee
2ee0c0991b Merged branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-18 01:48:50 +00:00
Will Rossiter
fe0ac4e990 Merged in pre-2.3-oct08 branch
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66082 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-17 23:03:39 +00:00
Sean Harvey
19ce25e146 Merged in ReportAdmin JS error fix from branches/2.3 - r65865
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65884 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 23:06:00 +00:00
Sean Harvey
8d370c9cb6 Merged in change from branches/2.3 - r65860
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65882 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 23:03:14 +00:00
Sean Harvey
d8c795b7b7 Merged in flash insert panel bug fixes from r65827
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 05:37:10 +00:00
Sean Harvey
2ab7415231 Fixed flash upload fit to parent
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65823 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 05:06:23 +00:00
Sean Harvey
c5241fa487 ENHANCEMENT Added possibility of search for images and flash before inserting into the content editor in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 04:55:23 +00:00
Sam Minnee
5b80a0c1d1 Fixes for IE support of script tags being down the bottom
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65802 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 04:24:02 +00:00
Sam Minnee
38e1030d11 #2991 - Fixed change detection in mce fields
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65789 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 02:41:01 +00:00
Sam Minnee
c2fe5b15ae FEATURE #594: Added javascript-on-demand support
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-12 04:31:53 +00:00
Will Rossiter
4efa350ed5 BUGFIX: temp fix for flash inserter.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65671 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-12 03:08:24 +00:00
Normann Lou
76afea41bc APICHANGE: tidy up NewsletterAdmin.
BUGFIX: a lot of methods in this class now passed $params as HTTPRequest object, rather than as a array if the function is called from Ajax or top-level of front-end, some method is called in both manner, ie. called from Ajax and called internally as well, so we need to check $params type and do further process. This is a partial fix of open source ticket #3035

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65554 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 22:23:48 +00:00
Ingo Schommer
df7092163f ENHANCEMENT Using currently used content languages for options in the TinyMCE spellchecker (see http://open.silverstripe.com/ticket/2498#comment:2)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65513 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 01:47:13 +00:00
Will Rossiter
0ef452c524 FEATURE: merged back patch for image editor. Currently completely broken on trunk this patch does nothing to fix it sadly. I think its a prototype thing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65351 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-06 02:04:03 +00:00
Saophalkun Ponlu
f72f2b4dd0 IMPROVEMENT Fix tab display and button position when adding a record (ticket #3029)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65332 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 23:14:00 +00:00
Ingo Schommer
d8acf97911 MINOR JS translations in LeftAndMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65292 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 14:38:59 +00:00
Saophalkun Ponlu
86017a5ae9 IMPROVEMENT moved managed models' forms to one panel (ticket #2898)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65289 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 08:55:07 +00:00
Sam Minnee
6779388b9e BUGFIX: Fixed page comment javascript to suit new Form name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65282 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 04:54:21 +00:00
Sam Minnee
b6ae79afce Added spellchecker to CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65189 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-04 02:13:58 +00:00
Sean Harvey
bd10591e7c ENHANCEMENT Added filter/search capability to AssetTableField, this is similar to MemberTableField, except you search by file name.
ENHANCEMENT Refactored CSS applied to filter boxes by using common selector

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 23:09:49 +00:00
Ingo Schommer
54d8e3ff6f BUGFIX Fixed SiteTreeAccess.js DOM IDs to field changes made in r65150
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65151 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 14:54:57 +00:00
Ingo Schommer
415390373e BUGFIX Fixed js error in LeftAndMain_right.js when displaying readonly pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65148 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 13:53:23 +00:00
Sam Minnee
e32d366975 Fixed TinyMCE stylihg
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64862 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-29 02:36:54 +00:00
Sam Minnee
4d5092a47d Fixed CMS uploading
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64839 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-28 22:13:40 +00:00
Sam Minnee
884795b6e8 BUGFIX: Content wasn't saving on subsequent page loads, after TinyMCE3 upgrade
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-28 04:32:30 +00:00
Saophalkun Ponlu
2dda8bb253 BUGFIX: in IE, overflow left pane is hidden and cannot enable scrollbar
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64788 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-27 23:13:56 +00:00
Sam Minnee
2d0e2fa79d Removed scrubbing of the HTML
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64778 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-27 08:11:01 +00:00
Sam Minnee
dd7aa66ca7 Fixed bug in tinymce_ssbuttons plugin inclusion
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64760 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-24 05:12:43 +00:00
Sam Minnee
9f4ad4b2cc FEATURE: Update to TinyMCE 3.2 - CMS changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64758 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-24 05:03:33 +00:00