Commit Graph

2554 Commits

Author SHA1 Message Date
Ingo Schommer
9b4f3aaf81 Minor Moved ContentController, ModelAsController, RootURLController, NestedController from sapphire/core/control/ to cms module 2011-03-28 09:02:19 +13:00
Paul Meyrick
c905bcb471 MINOR Moved AdvancedSearchForm, SearchForm from sapphire/search to cms module 2011-03-28 09:02:19 +13:00
Paul Meyrick
fa7da8f716 MINOR Moved Diff class to sapphire module 2011-03-28 09:02:19 +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
6e60314006 MINOR Adding classes and markup necessary to style tree before jstree.js loads 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
6a2fe5671b MINOR Limited css scope for compare view styling to avoid clashes with jstree 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
018830e9e8 MINOR Removed debug code 2011-03-22 18:43:38 +13:00
Ingo Schommer
bfd4737aae BUGFIX Remove EmulateIE7 <meta> tag from LeftAndMain.ss (mainly in order to get rendering compatibility with jstree.js) 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
6d3cf213e7 MINOR Removed unnecessary tree CSS styles, will be replaced by new styles based on jstree.js 2011-03-22 18:43:38 +13:00
Ingo Schommer
8419ee8b3a MINOR Removed custom TreeDropdownField CSS styles (copypasted the entire block only to adjust widths), no longer necessary due to a flexible width system on the base styles 2011-03-22 18:43:38 +13:00
Ingo Schommer
3dbe03c3f9 MINOR Reverted floating of TinyMCE icons, as they don't automatically break into multiple lines like other floated elements 2011-03-22 18:43:38 +13:00
Ingo Schommer
11071eabbd BUGFIX Removed CSS classes duplication in <a> tags in LeftAndMain->getSiteTreeFor(), they're already applied to the parent list element, and confuse the styling of jstree.js 2011-03-22 18:43:37 +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
fd3ae9100f API CHANGE Replaced LeftAndMain->ajaxupdatesort() and LeftAndMain->ajaxupdateparent() with a combined LeftAndMain->savetreenode() (and a changed request parameter signature) 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
4f0c5d115a MINOR Added data-id=0 to root node in LeftAndMain->getSiteTreeAsUL() 2011-03-22 18:43:37 +13:00
Ingo Schommer
f53fe8193f BUGFIX Fixed regular expression to trim off last "</ul>" tag in LeftAndMain->getsubtree(), switched from deprecated ereg_replace() to preg_replace 2011-03-22 18:43:37 +13:00
Ingo Schommer
57e1c41f15 BUGFIX Don't include firebug-lite.js by default in LeftAndMain->init() 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
fe126e1a23 BUGFIX Using UTF-8 compatible string parsing in CMSMain and MemberTableField for htmlentities() and htmlspecialchars() invocations 2011-03-21 18:22:31 +13:00
Ingo Schommer
3535dec032 MINOR Removed unused code from Diff 2011-03-21 18:21:26 +13:00
Ingo Schommer
03acbb737e MINOR Translatable strings in CMSMain (fixes #6523, thanks Tonyair) 2011-03-20 09:59:26 +13:00
Ingo Schommer
dc045d079d BUGFIX Allowing POST data in LeftAndMain->currentPageID() in order to fix stricter form submission validations in RequestHandler (checks for valid form action before executing e.g. 'save' command, hence needs to construct a correct form state) 2011-03-16 17:53:13 +13:00
Ingo Schommer
4eac937da6 BUGFIX Reconstruct form before returning from LeftAndMain and CMSMain controller actions, in order to avoid stale form fields or form actions (e.g. after hitting CMSMain->unpublish(), the 'unpublish' FormAction has to be removed from the existing form) 2011-03-16 17:53:10 +13:00
Ingo Schommer
824f7451a0 ENHANCEMENT Supporting passing in objects in LeftAndMain->getRecord() (and subclasses) in order to reduce boilerplate code in controller actions 2011-03-16 16:39:49 +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
a99d7b0b1d API CHANGE Removed CMSBatchAction->getDoingText(), the same information can be visualized via a spinner button without this overhead 2011-03-16 14:19:02 +13:00
Ingo Schommer
495e15be9f MINOR Fixed merge errors 2011-03-16 14:18:59 +13:00
Ingo Schommer
a220d37e3b Revert "MINOR Replaced assertType() calls with assertInstanceOf(), deprecated in PHPUnit 3.6 (throws warnings as of 3.5.10)" - causing too many issues in mixed build environments with other projects requiring PHPUnit 3.4
This reverts commit 7d609f24c9.
2011-03-11 16:10:38 +13:00