Commit Graph

859 Commits

Author SHA1 Message Date
Sam Minnee
b6ca328494 BUGFIX: Fixed add page context menu, replacing references to .pagetype with .ssclass. (#7398) 2012-05-25 10:36:42 +12:00
Sean Harvey
be2c811639 BUGFIX Adding missing onunmatch in AssetAdmin.DragDrop 2012-05-23 16:09:08 +12:00
Sean Harvey
b0a026b4c6 BUGFIX Fixed url_segment undefined error in CMSMain.EditForm, assuming
*all* title fields have a URLSegment field associated with them, which
they don't.
2012-05-22 14:05:21 +12:00
Mateusz Uzdowski
b2468eb354 BUGFIX: add missing selectors and namespace qualifiers 2012-05-22 11:28:27 +12:00
Mateusz Uzdowski
00734f5498 BUGFIX: add missing onunmatches causing exceptions in entwine 2012-05-18 14:33:17 +12:00
Mateusz Uzdowski
aaeebd6ea2 BUGFIX: change namespace for the tree so all matchers are executed
Refer to similar commit on framework
(55cabd6fbfe5c2f90f0825ed2a51098dc9a2f5ac)
2012-05-18 12:23:30 +12:00
Mateusz Uzdowski
b75483e1da BUGFIX: add missing _super calls to all matchers and unmatchers
Otherwise some matchers might not be triggered as expected.
2012-05-18 12:23:30 +12:00
Ryan Wachtl
f56126470d ENHANCEMENT Update URLSegment from Title (closes #6981) 2012-05-12 23:55:26 -05:00
Ryan Wachtl
2945f9d963 BUGFIX: Updating URLSegment from Title field when new page is created 2012-05-10 10:21:30 -05:00
Ingo Schommer
1863bb00db ENHANCEMENT Refactored SiteTreeURLSegmentField JS to a more selector based approach (future proof field for reusability e.g. in ModelAdmin with custom DataObject URL previews) 2012-05-10 14:50:08 +02:00
Ryan Wachtl
bd94c6f336 Trac 6981: Opt-in URL Updating 2012-05-09 19:01:57 -05:00
Ingo Schommer
d8e62221b5 MINOR Tree metadata naming 2012-05-07 14:45:39 +02:00
Ingo Schommer
6ec6b107ca BUGFIX Don't require ParentModeField in CMSpageAddController submissions, to allow for easier programmatical submission of "add page" form (via CMS tree). Reset any selected parent nodes in the interface instead 2012-05-07 14:30:08 +02:00
Ingo Schommer
98a0331a48 BUGFIX Fixed "add page" action when invoked through tree context menu (and removed URL hardcoding in JS) (fixes #7155) 2012-04-30 16:42:45 +02:00
Sean Harvey
647d57809b BUGFIX Cleanup of onclick() being called in onmatch for ParentType
field. Use a redraw() function instead which is called in onmatch and
onclick
2012-04-23 21:21:31 +12:00
Sean Harvey
614f307a37 ENHANCEMENT When loading CMS, ensure that "Parent page" tree dropdown is
either hidden or shown depending on initial "Page location" state
2012-04-23 21:02:29 +12:00
Sean Harvey
b9854dfd2b MINOR Removing @todo in CMSMain.EditForm.js which has been done 2012-04-21 11:22:55 +12:00
Ingo Schommer
1b3a634a56 MINOR Fixed hardcoded links from admin/page to admin/pages 2012-04-18 23:33:37 +02:00
Ingo Schommer
8a72b32e95 API CHANGE Moved Widget API to new module (https://github.com/silverstripe/silverstripe-widgets), incl. WidgetArea and WidgetAreaEditor classes 2012-04-18 23:21:59 +02:00
Ingo Schommer
6aeac37906 API CHANGE Combined "Pages" and "Edit Page" into a single menu entry
ENHANCEMENT Namespaced tree search parameters in CMSMain, in order to detect more reliably if a filter has been applied. Changing page search form to standard pushState behaviour, same as ModelAdmin (for both tree and list view).
MINOR Refactored list view loading
2012-04-17 22:59:08 +02:00
Ingo Schommer
dcdb0b4731 Merge pull request #95 from simonwelsh/silverstripe-cms
---

ssmacron had a reference to sapphire. Rather than trying to figure out how to make it variable, moving the plugin into third party means the path doesnt need it. ssbuttons is also moved and now all the tinyMCE related JS is in sapphire.

See also https://github.com/silverstripe/sapphire/pull/310

Conflicts:
	javascript/tinymce_ssbuttons/editor_plugin_src.js
2012-04-16 12:09:35 +02:00
Ingo Schommer
e91d49036b MINOR Using loadPanel() rather than removed duplicate loadForm() method 2012-04-12 23:55:37 +02:00
Ingo Schommer
9b79827972 MINOR Decoupling dialog logic from tinymce_ssbuttons plugin to allow for lazy loaded dialogs 2012-04-12 22:26:04 +02:00
Ingo Schommer
f26d0bc158 MINOR Removed SideReportsForm JS logic, interface element no longer exists 2012-04-12 14:50:23 +02:00
Simon Welsh
517bf3198b API-CHANGE Move tinymce plugins in thirdparty 2012-04-12 20:49:43 +12:00
Mateusz Uzdowski
03a8aa546e BUGFIX Only load existing languages in custom TinyMCE plugins to avoid the tinymce_gzip.php logic stalling (fixes #7035) 2012-04-11 18:36:32 +02:00
Ingo Schommer
73a466c927 Merge branch 'integration' 2012-04-11 16:25:46 +02:00
Stig Lindqvist
587de186d0 Merge pull request #90 from halkyon/redirectorpage_changes
BUGFIX Adding RedirectorPage.js to cms module (was in sapphire) and swapping out old behaviour.js usage
2012-04-11 04:10:01 -07:00
Ingo Schommer
39208d15e0 MINOR i18n for revert confirmation messages, improved wording 2012-04-11 10:19:54 +02:00
Normann Lou
35da0e9b46 BUGFIX SS-124 SearchForm clear button fixed 2012-04-11 17:37:28 +12:00
Normann Lou
1cf2e2ca12 MINOR SSF-124 added missing ";" for keep SilverStripe Code Convention 2012-04-11 15:53:04 +12:00
Sean Harvey
240627b504 BUGFIX Adding RedirectorPage.js to cms module (was in sapphire) and
fixing to use entwine/jquery instead of old behaviour
2012-04-11 15:32:41 +12:00
Normann Lou
afdac50ef1 MINOR SSF-124 correct inline document for a newly added routine. 2012-04-11 15:08:39 +12:00
Normann Lou
653625914d ENHANCEMENT SSF-124 make tab select pages list view if the current url is 'listchildren' otherwise use the default action defined in TabSet.js 2012-04-11 15:01:31 +12:00
Normann Lou
bfb81fb89f BUGFIX SSF-124 fix issue that listchildren links for third level pages lost default ajax event bind 2012-04-10 16:21:26 +12:00
Normann Lou
4a36b1e490 ENHANCEMENT SSF-124 finished ajax version of admin/pages/listchildren/ID in Pages admin 2012-04-10 14:14:58 +12:00
Ingo Schommer
76f4e6d93b Merge branch 'master' into integration 2012-04-09 21:08:37 +02:00
Wolf Vollprecht
a18b9bd85e ENHANCEMENT: Flyout menu to directly choose the pagetype one wants to add. 2012-04-09 21:08:15 +02:00
Normann Lou
f101595921 FEATURE SSF-124 first version of tree list view added 2012-04-05 15:39:46 +12:00
Normann Lou
1311ba2720 BUGFIX: Empty error message on renaming a page and confirming url is changed accordingly (trac ticket 7068) 2012-03-27 14:57:39 +02:00
Sean Harvey
8166c26a8f MINOR Fixed grammar in "Foldername" popup when adding a folder in
AssetAdmin. Should be "Folder name".
2012-03-27 09:57:29 +13:00
Ingo Schommer
112a3f5f81 ENHANCEMENT "Edit" action in tree context menu 2012-03-12 11:48:44 +01:00
Ingo Schommer
454a6e891d ENHANCEMENT Allow adding new pages under specific nodes via tree context menu 2012-03-12 11:40:43 +01:00
Ingo Schommer
059137290f MINOR Correct confirmation message when deleting files (#6975) 2012-03-09 21:12:22 +01:00
Saophalkun Ponlu
1823c58f6f BUGFIX: Change to a page url segment doesn't get saved properly caused by 'disabled' attribute on the field, which is added by url segment suggestion function (ticket #6842) 2012-03-09 16:12:07 +13:00
Russell Michell
e5d038f7f0 BUGFIX: #6853 Removed bottom border of the parent div wrapped around settings' options-sets when radio-buttons with a value of 'OnlyTheseUsers' is selected. 2012-03-09 13:14:17 +13:00
Ingo Schommer
953e2bd1c7 MINOR Fixed overloaded delete confirmations in AssetAdmin.js 2012-03-08 18:24:35 +01:00
Ingo Schommer
f085583b61 ENHNANCEMENT Creating folders via (faster) JavaScript prompt in AssetAdmin, implicitly fixing AssetAdmin->doAdd() layout issues after submitting 2012-03-08 18:24:33 +01:00
Ingo Schommer
467db5146b MINOR Removed obnoxious message about tree filtering success (which now became visible as we fixed the statusMessage() system) 2012-03-02 15:23:14 +01:00
Ingo Schommer
18e612e65b MINOR Moved CMSMain.GridField.js logic into LeftAndMain.js (applies to all CMS interfaces), fixed event bugs with GridField overloading in AssetAdmin.js 2012-03-01 00:19:34 +01:00
Ingo Schommer
a317b66a8a MINOR Merge errors 2012-02-28 16:56:21 +01:00
Ingo Schommer
5a69985a52 Merge branch '106-add-edit-records' 2012-02-28 00:22:49 +01:00
Ingo Schommer
7574c3177d MINOR Custom confirm message for deleting folders in AssetAdmin 2012-02-23 23:15:37 +01:00
Ingo Schommer
c32595d1c8 MINOR Fixed selector for changed ".ss-gridfield" DOM structure 2012-02-23 23:15:37 +01:00
Ingo Schommer
eb63384900 MINOR Loading folders in AssetAdmin via panel ajax loading 2012-02-21 21:17:49 +01:00
Ingo Schommer
8c503069b8 MINOR Removed jQuery.metadata usage in CMS, use jQuery.data() and HTML5 data attributes instead. Also fixes errors where jQuery.metadata tries to eval() HTML5 data attrs, which isn't always applicable 2012-02-16 18:06:48 +01:00
Ingo Schommer
63d0fcbde4 MINOR Removed usage of prototype.js style $() alias in WidgetAreaEditor.js 2012-02-16 12:28:24 +01:00
Ingo Schommer
c96e2ba7ca API CHANGE Removed ThumbnailStripField class, as it was only used for the CMS image insertion logic (which was rewritten with a more powerful file selection based on GridField) 2012-02-14 13:32:58 +01:00
Ingo Schommer
490b87a0c5 MINOR Changed 'insert image' form names, removed dynamic node change events for links (modal dialog doesn't allow for changes while the dialog is open) 2012-02-14 13:32:58 +01:00
Simon Welsh
a519411629 BUGFIX Page location radio buttons update ParentID accordingly 2012-02-11 14:13:38 +13:00
Ingo Schommer
cb26a83bd1 MINOR Fixed XSS when changing page title 2012-01-31 14:37:21 +01:00
Ingo Schommer
2814aeb249 MINOR Fixed variable declaration in CMSMain.AddForm.js 2012-01-22 11:58:24 +01:00
Ingo Schommer
e34f56dcc6 MINOR Better failsafes for tree hints (allows add if hint for class is if not defined) 2012-01-09 21:20:58 +01:00
Ingo Schommer
9d1822e7c6 MINOR Don't allow page type selection in add form when radio button is disabled 2012-01-06 16:54:16 +01:00
Ingo Schommer
6887b88099 MINOR Selection bugfixes for CMSMain.AddForm.js, more efficient tree metadata 2012-01-05 23:17:12 +01:00
Ingo Schommer
bb7edf8bfd ENHANCEMENT Marking "link" and "unlink" buttons in SilverStripe's TinyMCE as disabled if no link is selected (see 4646efe84 in sapphire for details) 2012-01-05 00:40:29 +01:00
Ingo Schommer
7a29a4a0ca MINOR Using entwine calls in ssbuttons TinyMCE plugin 2012-01-04 18:06:22 +01:00
Ingo Schommer
a4494d4775 MINOR Triggering parent field expansion on click (on change doesn't work in IE) 2012-01-03 17:57:40 +01:00
Frank Mullenger
ae0ec6304d BUGFIX: Fixes #6809. Updates page title heading when page title changes on edit page in CMS. 2011-12-18 15:34:03 +01:00
Will Rossiter
28dff0107a BUGFIX: prevent refreshing the history panel when reloading versions 2011-12-17 17:17:55 +13:00
Ingo Schommer
15e9d08eaa BUGFIX Making HTML5 History support optional, so we can disable HTML4 hash change fallback 2011-12-15 16:54:58 +01:00
Ingo Schommer
b4eda409c2 ENHANCEMENT Replaced client side URL filtering in CMS with ajax callbacks to new SiteTreeURLSegmentField, in order to align with extended server side logic (and avoid pre-filtering values too heavily before passing them to the server). Removed suggestions from client side user confirmation. 2011-11-14 15:29:19 +01:00
Ingo Schommer
89abb29047 MINOR Fixed reading of javascript metadata in CMSMain.AddForm.js 2011-10-29 22:04:40 +02:00
Ingo Schommer
2ac0ea78cf MINOR Don't emulate built-in radiobutton behaviour in CMSMain.AddForm.js 2011-10-29 22:04:39 +02:00
Julian Seidenberg
ebcc1f324e BUGFIX: "Parent Page" dropdown isn't hidden in "Edit Page" -> Settings (SSO-15) 2011-09-28 11:48:36 +13:00
Ingo Schommer
ab9d62b53c MINOR Removed hardcoding of history ajax links 2011-09-19 21:34:46 +02:00
Ingo Schommer
872239830c BUGFIX Fixed history.pushState() ajax load duplication in CMSPageHistoryController.js 2011-09-19 21:00:17 +02:00
Will Rossiter
18471e8878 ENHANCEMENT: added tests for CMSPageHistoryController::VersionsForm(). BUGFIX: fixed VersionsForm hidden ID storing a reference to itself. ENHANCEMENT: changed url structure from /version/ to /show/ for consistency between CMSPageHistoryController and CMSMain. APICHANGE: moved performRollback() from CMSMain to CMSPageHistoryController 2011-09-19 17:30:47 +02:00
Will Rossiter
f81531115f ENHANCEMENT: added notice template for outputting notices to cmsmain interfaces. 2011-09-19 17:30:47 +02:00
Will Rossiter
d90ea0d236 ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain API. 2011-09-19 17:30:46 +02:00
Ingo Schommer
5de2ba5628 MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:42 +02:00
Ingo Schommer
c4a99dfc09 MINOR Redirecting page links in CMSPagesController to CMSPageEditController (admin/pages/show/99 to admin/page/show/99) 2011-07-08 15:36:30 +02:00
Ingo Schommer
c4c3d21fa9 MINOR Using Form->forTemplate() to include <form> tags in controller actions on AssetAdmin and CMSMain (underlying clientside logic has changed) 2011-07-08 15:36:30 +02:00
Ingo Schommer
26151f2e4c ENHANCEMENT Limiting page types based on SiteTree::$allowed_children in CMSMain.AddForm.js 2011-05-08 23:36:55 +12:00
Ingo Schommer
4f157e3133 MINOR Fixed CreateToplevelGroups toggling in CMSMain.EditForm.js 2011-04-30 18:34:52 +12:00
Ingo Schommer
9a09aaf42b ENHANCEMENT Changed CMSMain->AddForm() to a modal dialog, showing page types and their descriptions as radiobuttons rather than a dropdown 2011-04-28 22:49:34 +12:00
Ingo Schommer
09ad6dcaa6 ENHANCEMENT Showing full CMS search form (instead of toggling fields individually), removing metadata search fields (limiting to fields applicable in new designs)
API CHANGE Renamed CMSMain->SearchTreeForm() to SearchForm(), CMSMain->doSearchTree() to doSearch() (search can be used for list and gallery views as well)
API CHANGE Removed CMSMain->SiteTreeFilterOptions() and CMSMain::$site_tree_filter_options, moved to CMSMain->SearchForm()
2011-04-28 22:49:34 +12:00
Ingo Schommer
58416e5dea ENHANCEMENT Added CMSPagesController 2011-04-28 22:49:34 +12:00
Ingo Schommer
b9fc626fc9 MINOR Removed CommentTableField, moved to page-comments module 2011-04-28 22:49:33 +12:00
Ingo Schommer
d48f21afc0 MINOR Renamed #sitetree_ul to .cms-tree in JavaScript logic (changed in LeftAndMain.ss base template) 2011-04-28 22:49:33 +12:00
Ingo Schommer
4ec0fa224e MINOR Changed #sitetree_ul to #sitetree in templates and javascript 2011-04-28 22:48:55 +12:00
Ingo Schommer
766adba5ad ENHANCEMENT Removed tinymce_ssbuttons code which assumed a non-modal dialog (toggling between different link/image/flash forms) 2011-04-28 22:48:55 +12:00
Ingo Schommer
4fe07e9b71 MINOR Using '.cms-edit-form' instead of '#Form_EditForm' selector 2011-04-28 22:48:55 +12:00
Ingo Schommer
c193743b43 MINOR Removed jQuery.layout references 2011-04-28 22:48:53 +12:00
Ingo Schommer
842c38fbc4 MINOR Disable ui-titlebar styling for link/image forms, as it breaks the "insert" button interactions (to be replaced with a new modal dialog implementation soon anyway) 2011-04-05 15:34:59 +12:00
Ingo Schommer
c2457c845b MINOR Moved jquery-changetracker from 'cms' to 'sapphire' 2011-03-28 09:17:58 +13:00
Ingo Schommer
0dfbec8d2d MINOR Moved LeftAndMain, SecurityAdmin, ModelAdmin and related functionality from 'cms' module to sapphire/admin 2011-03-28 09:03:00 +13:00
Ingo Schommer
c660284236 MINOR Moved SilverStripeNavigator from 'sapphire' to 'cms' 2011-03-28 09:02:42 +13:00
Ingo Schommer
8c04bafb4e MINOR Added class_exists() check for Translatable, which has moved into a new 'translatable' module 2011-03-28 09:02:41 +13:00
Ingo Schommer
d4dbb0680b BUGFIX Only select node after form reload if creating the node 2011-03-22 18:43:40 +13:00
Ingo Schommer
6cfade0b3d BUGFIX Allowing "batch action" selection in new jstree implementations (first draft, doesn't reflect success/fail state on nodes afterwards)
BUGFIX Passing native JSON array back from CMSBatchActionHandler in order to simplify clientside logic in LeftAndMain.BatchActions.js
2011-03-22 18:43:40 +13:00
Ingo Schommer
6700abe570 BUGFIX Fixed 'onreset' behaviour for IE in CMSMain.js 2011-03-22 18:43:40 +13:00
Ingo Schommer
2497f37f58 ENHANCEMENT Allowing checkboxes and their disabling on LeftAndMain.Tree.js 2011-03-22 18:43:39 +13:00
Ingo Schommer
49a76a0c95 MINOR Fixed ajax load binding to folder selection in ThumbnailStripField.js (was broken after move to jquery) 2011-03-22 18:43:39 +13:00
Ingo Schommer
cfea011680 ENHANCEMENT Fixed tree search 2011-03-22 18:43:39 +13:00
Ingo Schommer
15d320ec91 BUGFIX Adding jstree ajax settings after initial load 2011-03-22 18:43:39 +13:00
Ingo Schommer
91995ad73b MINOR Disabled AssetAdmin form reload after uploading through iframe, relies on old tree.js library - UI will change anyway 2011-03-22 18:43:39 +13:00
Ingo Schommer
3b01a9af67 BUGFIX Allowing HTML titles in LeftAndMain.Tree.js (necessary for <span class="modified"> etc) 2011-03-22 18:43:39 +13:00
Ingo Schommer
5b104b7b8f MINOR Fixed LeftAndMain.Tree.js scope 2011-03-22 18:43:39 +13:00
Ingo Schommer
b2e4fdd6da MINR Fixed double generation of tree via 'data' parameter 2011-03-22 18:43:39 +13:00
Ingo Schommer
23cb19958f BUGFIX Reinstated create page functionality in LeftAndMain.Tree.js 2011-03-22 18:43:39 +13:00
Ingo Schommer
20427cd45b MINOR Using 'apple' theme in tree (until we decide on a proper redesign) 2011-03-22 18:43:39 +13:00
Ingo Schommer
cfb83e4e47 MINOR Wrapping LeftAndMain.Tree.js in entwine block 2011-03-22 18:43:38 +13:00
Ingo Schommer
ea0f8b0e65 BUGFIX Updated various CMS javascript functions to new jstree library 2011-03-22 18:43:38 +13:00
Ingo Schommer
885597a754 MINOR Removed legacy code from LeftAndMain.Tree.js, replaced with a list of @todo items 2011-03-22 18:43:38 +13:00
Ingo Schommer
d22e80b1bd MINOR Replaced hardcoded URLs in LeftAndMain.Tree.js with data-url-* attributes 2011-03-22 18:43:38 +13:00
Ingo Schommer
a9cd7aa08c ENHANCEMENT Allow disabling of tree drag'n'drop via input box 2011-03-22 18:43:38 +13:00
Ingo Schommer
eb030fa0f9 BUGFIX Don't allow dragging tree nodes outside of the root node, don't allow moving the root node, don't access drag/drops from other trees. 2011-03-22 18:43:38 +13:00
Ingo Schommer
cf467d5272 MINOR Disabled animation on tree (for performance reasons) 2011-03-22 18:43:38 +13:00
Ingo Schommer
a137360085 MINOR Temporarily disabled onchange bindings in ThumbnailStripField, as they fail in IE7/IE8 2011-03-22 18:43:37 +13:00
Ingo Schommer
0e9bf073c8 BUGFIX Switching all ajax implementations to consistently use jQuery.ajax instead of Prototype's Ajax.Request() (AssetTableField, CommentTableField, MemberTableField, WidgetAreaEditor) 2011-03-22 18:43:37 +13:00
Ingo Schommer
564038b463 ENHANCEMENT Added drag'n'drop support for tree 2011-03-22 18:43:37 +13:00
Ingo Schommer
2d85a4596b FEATURE Replacing custom tree.js with jstree thirdparty library 2011-03-22 18:43:34 +13:00
Ingo Schommer
934c3f2c1b BUGFIX Re-selecting tabs when refreshing editform in LeftAndMain.EditForm.js 2011-03-16 14:19:03 +13:00
Ingo Schommer
a27369978d BUGFIX Fixed AssetAdmin->SyncForm() execution by switching from calling dev/tasks/FilesystemSyncTask to doSync() 2011-03-16 14:19:03 +13:00
Ingo Schommer
4374bd815a BUGFIX Respecting Member::summaryFields() in SecurityAdmin->autocomplete instead of hardcoding Firstname,Surname,Email. This also allows to include Member::$unique_identifier_field in the autocomplete results 2011-03-08 21:01:51 +13:00
Julian Seidenberg
86fa29accc API-CHANGE: ssui.core.js rewrite to work with jQuery UI 1.8. Renamed _init => _create and renamed defaults => options. See the following websites for a complete guide to what has changed in jquery UI version 1.8:
https://github.com/scottgonzalez/jquery-ui-1.8-widget-factory
http://jqueryui.com/docs/Upgrade_Guide
2011-02-24 17:12:19 +13:00
Julian Seidenberg
f380d88c80 BUGFIX: removing colon (:) from selectors throughout SilverStripe. jQuery 1.5 is stricter about what is allowed in a selector and the colon is not allowed for elements like :select. 2011-02-24 17:10:01 +13:00
Saophalkun Ponlu
80868e60d3 MINOR: Add Italian translation for cms. Thanks to giulio
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115204 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-20 03:08:39 +00:00
Ingo Schommer
172ad1e418 MINOR More jQuery backwards compatible id attribute check in ModelAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115183 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-20 00:00:47 +00:00
Saophalkun Ponlu
2afc2e99dd MINOR: Reinstate noscript tag for no javascript warning message on loading screen
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115120 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-16 05:16:57 +00:00
Saophalkun Ponlu
d97cfcbc7f ENHANCEMENT: Improve CMS loading screen #6254
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115117 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-16 04:08:02 +00:00
Ingo Schommer
b22a37da6c BUGFIX Inspecting for AjaxSwitchView after form load, not before ajax request (in LeftAndMain.js)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115065 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-15 09:21:32 +00:00
Will Rossiter
6d0c79c839 APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114821 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 05:43:08 +00:00
Ingo Schommer
e1a270a0b1 MINOR: documentation updated
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114142 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-24 06:24:02 +00:00
Sam Minnee
fedaaa9c53 ENHANCEMENT Added localisation for batch actions in javascript + translations (from r111915)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:05:46 +00:00
Sam Minnee
7a53a14bc8 MINOR Fixed indentation in PageCommentInterface.js (from r111497)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:00 +00:00
Sam Minnee
9a65518781 MINOR: Add translation correction for Czech and add Slovakian translation in cms and sapphire (js). Thanks to @Pike (from r111262)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:03:23 +00:00
Sam Minnee
949d8b3cb1 MINOR German translations for cms javascript (#5921, thanks bartlomiej) (from r110435)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112794 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:02:14 +00:00
Ingo Schommer
e6e4c7afd5 BUGFIX: image search was not honouring the selected folder, so could only search in root folder (from r106086)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112486 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:35:26 +00:00
Ingo Schommer
0e2682de1c BUGFIX: Fix ModelAdmin Import hang (ticket 5569) (from r104533)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112454 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:38:19 +00:00
Sam Minnee
ba7955862b MINOR Saving TinyMCE editor focus in tinymce_ssbuttons plugin when sidepanel is opened (see #5263) (from r101974)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111650 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 06:11:44 +00:00
Sam Minnee
ca52d729b8 MINOR: added lang file for cs_CZ (from r100372)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111622 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 05:49:26 +00:00
Sam Minnee
b7b0e1ab0b BUGFIX: Closing TinyMCE image, link or flash panel when loading form (ticket #4907) (from r98690)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111599 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 05:21:04 +00:00
Ingo Schommer
0d66807586 MINOR Removed debug coe
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@108837 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-08-03 04:32:09 +00:00
Ingo Schommer
9df87f3a88 BUGFIX Fixed resizing of $('.LeftAndMain') on edit forms by triggering a delayed resize on first load
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@108832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-08-03 03:57:32 +00:00
Ingo Schommer
229ab4609f MINOR Don't move $('#Form_VersionsForm') buttons to top, they disappear
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@108829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-08-03 03:45:59 +00:00
Ingo Schommer
69ca614fa4 BUGFIX Checking for existence of $('SwitchView') (fixes #5282) (from r108436)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@108828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-08-03 03:36:44 +00:00
Ingo Schommer
139c3e8c40 APICHANGE: Use the same navigator items in the CMS that are used on the frontend (from r97395) (from r99114)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106143 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-06-03 02:45:23 +00:00
Ingo Schommer
576be307bc BUGFIX: some sections dont have a tree at all, but they still use LeftAndMain? as their base class (eg report admin). Added a guard. (from r100724)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-06-03 00:15:04 +00:00
Ingo Schommer
e430852bef MINOR Better error checking in SiteTreeNode javasceript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105679 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 23:39:05 +00:00
Ingo Schommer
1e510684a3 ENHANCEMENT: Files and images section warns if you are deleting a file that is linked to (from r96778)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105678 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 23:38:34 +00:00
Ingo Schommer
84d703261f MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@104393 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-08 07:35:35 +00:00
Ingo Schommer
ecbee33385 ENHANCEMENT Moved cms/javascript documentation from JSDoc to NaturalDocs format
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@104369 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-08 02:45:05 +00:00
Ingo Schommer
d565c5021b BUGFIX Fixed overflow settings in jQuery.fitheighttoparent
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@103292 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-21 21:36:04 +00:00
Ingo Schommer
c0707cb562 ENHANCEMENT adapt the page dropdown based off the allowedChildren values (from r97745)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102746 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:32:05 +00:00
Ingo Schommer
7f063a9693 BUGFIX Fixed widgets not being clickable to use them in IE (from r97545)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102727 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:01:17 +00:00
Ingo Schommer
03bbc1d40d BUGFIX Clicking available widgets now applies only to h3 elements
BUGFIX Widgets are now prepended to the available widget stack by use of Insertion.Top (from r97541)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:01:11 +00:00
Ingo Schommer
86f752504c BUGFIX When adding a new widget by clicking one of the available widgets, add it to the top of the currently used widgets instead of the bottom (from r97522)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:00:34 +00:00
Ingo Schommer
32bdc74381 APICHANGE: removed SWFUpload. Refactored Content Editors uploader to use standard uploader. (from r97489)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102718 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 21:57:55 +00:00
Ingo Schommer
a88eb81395 API CHANGE: Added capability for batch actions to indicate failure through red checkboxes (from r94868) (from r96824)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:57:12 +00:00
Ingo Schommer
a9f8fa2d24 ENHANCEMENT: Update the checkboxes available to batch-actions to show only the applicable pages for that particular action.
API CHANGE: Allow for an applicablePages($idArray) method to be defined on a CMSBatchAction class. (from r94761) (from r96819)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102700 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:42:21 +00:00
Ingo Schommer
168589a59f MINOR Updated jQuery.concrete references to point to the new "entwine" name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102697 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 05:55:56 +00:00
Ingo Schommer
5fb9098b4d BUGFIX: Correct confirmation alert message when rolling back to a specific version. (from r90261) (from r96805)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 04:26:34 +00:00
Ingo Schommer
bb3012a7ab MINOR Fixed some jQuery.concrete getters
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102504 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 21:52:39 +00:00
Ingo Schommer
b7a1e438f7 BUGFIX: Fix changing the URLSegment on a page making the Draft Site link
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102475 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:41:45 +00:00
Ingo Schommer
348129dfbe BUGFIX: Ensure .js variable defined with var keyword (from r96678)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102471 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 08:55:17 +00:00
Ingo Schommer
e5e3804ce9 BUGFIX: Check for empty (from r96441)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102469 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 08:49:40 +00:00
Ingo Schommer
ea5d386c68 BUGFIX: when the JS files are combined, swfupload.js gets included in pages where there are no placeholder elements available, failing with exception and killing the javascript for the page. Now the exception is intercepted and ignored. (from r95972)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102467 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 08:45:48 +00:00
Ingo Schommer
8fb9fac99e MINOR Set url variable in TreeAPI.reload as local variable in LeftAndMain_left.js (from r95971)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102466 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 08:45:32 +00:00
Ingo Schommer
ae844c5386 BUGFIX Changed sitetree default selection in LeftAndMain.Tree.js to fire on window.load instead of document.ready() through entwine. We need to ensure behaviour.js bindings are available before
BUGFIX Automatically selecting root node in CMS trees (necessary because now we actually have forms on the root node, and its a valid click target)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99605 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-22 19:49:51 +00:00
Ingo Schommer
67205b01e2 MINOR Fixed disabled behaviour in MemberTableField.js permission toggles
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99603 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-22 10:14:51 +00:00
Ingo Schommer
f90f66aedd MINOR Moved permission checkbox logic from SecurityAdmin.js to MemberTableField.js in order to have it working in the member popup as well
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99602 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-22 10:11:54 +00:00
Ingo Schommer
f22f2e2a1b ENHANCEMENT Disabling/checking permission checkboxes in admin/security when 'ADMIN' permission is selected
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99600 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-22 10:02:05 +00:00
Ingo Schommer
555fcd94e3 FEATURE Listing all members regardless of group membership by default in admin/security. Deleting a member from this list will delete it from the database instead of the group relationship
API CHANGE Renamed SecurityAdmin->getEditForm() form action HTML identifier from #action_addmember to #Form_EditForm_action_addmember

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98826 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-11 21:55:35 +00:00
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