From version < 13.5 >
edited by Caleb James DeLisle
on 2012/06/18
To version < 13.6 >
edited by Caleb James DeLisle
on 2012/06/18
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -105,27 +105,93 @@
105 105  {{image reference="messageSenderMacro.png"/}}
106 106  
107 107  
108 -== Miscellaneous ==
109 109  
110 -* There's now a link to the [[Getting Started Guide>>enterprise:GettingStarted.WebHome]] on the XWiki Enterprise home page.
111 -
112 112  = For developers =
113 113  
114 -=== Diff module ===
111 +== Diff module ==
115 115  
116 116  A new diff/merge module has been added to make easier to deal with diff and merge both from component and scripts. See [[Diff module >>extensions:Extension.Diff Module]] for details.
117 117  
115 +
116 +== Taming of Groovy scripts ==
117 +
118 +Since traditionally, Groovy scripts can enter into unstoppable infinite loops, use reflection to violate security assumptions, access server resources, or even crash the virtual machine, they have been off limits to non-administrators.
119 +
120 +In a bid to open up new scripting options to less permitted users (especially in wiki farms where getting Programming Rights is a problem since it means having those rights on the whole farm), steps have been taken to make Groovy safer.
121 +
122 +Groovy scripts are now technically allowed to users having simple Edit rights but the Groovy Sandbox is currently very restrictive (said differently, you cannot do anything useful with it at the moment! :)). Now that we have the mechanism in place our plan is to slowly open up allowed operations.
123 +
124 +To enable and test this feature read the document for both the [[Commons Groovy Module>>extensions:Extension.GroovyModuleCommons]] and the [[Platform Groovy Module>>extensions:Extension.GroovyModulePlatform]].
125 +
126 +=== Compilation customizers ===
127 +
128 +Customizers can be registered to alter the Groovy script as it is compiled such as filtering System.exit() calls and adding timeout checks to loops to prevent infinite looping. Learn more: http://www.jroller.com/melix/entry/upcoming_groovy_goodness_automatic_thread
129 +
130 +=== Stop run-away Groovy scripts after a configurable timeout ===
131 +
132 +You can now configure your wiki to stop Groovy scripts after a configurable amount of run time. For example if you wish to have a timeout of 10 seconds for your XWiki runtime, you'd configure xwiki's ##xwiki.properties## with:
133 +
134 +{{code language="none"}}
135 +groovy.compilationCustomizers=timedinterrupt
136 +groovy.customizer.timedInterrupt.timeout=10
137 +{{/code}}
138 +
139 +== New support for "short form" HQL queries in the Query Manager ==
140 +
141 +When you send a search query to the Query Manager such as {{code language="none"}}where doc.creationDate > '2008-01-01'{{/code}} It is now assumed that you meant:
142 +
143 +{{code language="none"}}
144 +select doc.fullName from XWikiDocument as doc where doc.creationDate > '2008-01-01'
145 +{{/code}}
146 +
118 118  == Miscellaneous ==
119 119  
120 -=== Bug Fixes ===
149 +* New rendering [[Compatibility Test Suite>>rendering:Main.CompatibilityTestSuite]] to make testing easier and simplify implementation of new syntax Parsers and Renderers. You can checkout the [[Compatibility report>>rendering:Main.SyntaxReport]] for all the syntaxes that are supported out of the box by XWiki.
150 +
151 +* New API for upgrading installed XWiki Extensions.
152 +
153 +== Bug fixes and improvements ==
154 +
155 +* Fixed wrong calculation of IDs for stats values making it impossible to upgrade a wiki to version 4.0 if statistics collection is enabled.
156 +* Faster first startup time by not running a database migration when it is not needed.
157 +* Simplify reverse proxy setup by making all HTTP redirects use relitive URLs.
158 +* Add support for bold, italic and monospace in the TeX Renderer
159 +* Was impossible to delete then recreate a subwiki with the same name, fixed.
160 +* Fixed Javascript error when scrolling over Search Suggest results in Internet Explorer 6.
161 +* Trying to change a document's parent from the REST service resulted in an error, fixed.
162 +* It is now possible for non-administrators to execute cross-wiki XWQL queries.
163 +* Move ComponentManager deprecated methods to Legacy modules
164 +* New Groovy module in xwiki-commons
165 +* Add legacy module structure for XWiki Rendering
166 +* Have one Maven module per XWiki Rendering syntax
167 +* Separate Event Syntax from Rendering API by moving it to a Syntax module
168 +* Plain syntax and Event syntax have been moved out of Rendering API nto their own modules.
121 121  * [[XWIKI-7913>>http://jira.xwiki.org/browse/XWIKI-7913]] Could not register a Javascript or CSS skin extension for the whole wiki.
122 122  
171 +
172 +See the full list of [[JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%224.1-milestone-1%22&tempMax=1000]] fixed in this release.
173 +
174 +
123 123  == Upgrades ==
124 124  
125 -The following dependencies have been upgraded:
177 +The following dependencies have been upgraded since XWiki Enterprise 4.0
126 126  
127 -{{todo/}}
179 +=== Upgraded in XWiki Enterprise Milestone 1 ===
128 128  
181 +* Tika 1.1
182 +* JGroups 3.0.10
183 +* Pygments 1.5
184 +* Selenium 2.21
185 +* Maven AspectJ Plugin 1.4
186 +* commons-io 2.3
187 +* Maven Shade plugin 1.6
188 +
189 +=== Upgraded in XWiki Enterprise Milestone 2 ===
190 +
191 +* Restlet 2.0.14
192 +** Prior to Restlet 2.0.14, there was a REST bug allowing arbitrary filesystem read access for registered users.
193 +* Reflections 0.9.7
194 +
129 129  = Tested Browsers =
130 130  
131 131  Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of [[supported browsers>>dev:Community.BrowserSupportStrategy]]):

Get Connected