Author: jleroux
Revision: 1738588
Modified property: svn:log
Modified: svn:log at Mon Apr 11 20:28:58 2016
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Mon Apr 11 20:28:58 2016
@@ -1,5 +1,37 @@
A modified patch from James Young based on a an original patch from Christoph Neuroth for "Improved CMS tree: more functionality and faster for large trees" -
https://issues.apache.org/jira/browse/OFBIZ-4502
+We here at [Lusini|
http://www.lusini.de/] did several improvements to the CMS backend to make it more usable for large CMS installations.
+
+* Improved performance of CMS tree
+** loading nodes dynamically using AJAX
+*** Created ContentJsonEvents to handle the JSON calls
+** use OFBiz entity caches
+** removed duplicate execution of WebSitePublishPoint.groovy
+*** removed reference from controller.xml as it is not used anywhere
+
+* Moving nodes in CMS tree possible now using drag'n'drop
+** ContentJsonEvents returns updated node attributes
+** Adjusted WebSiteCMSNav.ftl to update the moved node with the data from the ajax request
+** Needed to replace the jstree jQuery plugin by the current version available on the jstree website
+
+* Made nodes deleteable
+** added remove to context menu
+** We did not want to delete the WebSitePathAlias entities right away, so we added a fromDate and thruDate to it.
+*** extended WebSitePathAlias entity definition: added fromDate and thruDate
+*** now checking for date range everywhere when accessing path aliases
+*** This also allows users to publish or unpublish contents under a certain URL automatically at some time in the future.
+** created event to "delete" a node
+*** thruDate of all assocs pointing to this node are set to current timestamp
+*** thruDate of WebSitePathAliases pointing to this content or any contents below are set to current timestamp
+*** this way nothing is actually removed from the DB and a "undo" would be possible if necessary
+** extracted context menu to variable so it can be reused for all trees
+
+* fixed missing references to uiLabels in CMS menu bar
+
+* Activated cookie plugin so the selected node is remembered
+
+
+
jleroux: I made few changes
* Use of UtilGenerics.cast() in new ContentJsonEvents.java rather than @SuppressWarnings("unchecked")
* Removal of the commented out block "Lusini: disable RTE". I see no reasons why we would not use elRTE. Notably in relation with adding errors where it's currently used in trunk demo