Changes for page Release Notes for XWiki Enterprise 2.5
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -13,13 +13,13 @@ 13 13 == Improvements to Action Menus == 14 14 15 15 * New Add menu: Use the "Add" menu to create new spaces, pages, add attachments and comments.((( 16 -[[image:AddMenu.png||style="border: 16 +[[image:AddMenu.png||style="border:1px solid black;"]] 17 17 ))) 18 18 * Improved Wiki and Space menus: You may now access the document index straight from the wiki & space menus.((( 19 -[[image:WikiMenu.png||style="border: 19 +[[image:WikiMenu.png||style="border:1px solid black;"]] [[image:SpaceMenu.png||style="border:1px solid black;"]] 20 20 ))) 21 21 * New Page menu: Integrates the Watch, Copy, Rename and Delete actions.((( 22 -[[image:PageMenu.png||style="border: 22 +[[image:PageMenu.png||style="border:1px solid black;"]] 23 23 ))) 24 24 * The Edit, Export, More actions and Profile menus also benefited from a refresh. 25 25 ... ... @@ -26,7 +26,6 @@ 26 26 == Mechanism for inserting custom links in the header == 27 27 28 28 As a new part of the [[UI extensions>>dev:Design.InterfaceExtensions]] mechanism, similar to [[skin extensions>>code:Plugins.SkinExtensionsPlugin]], applications can now insert custom ##<link>## elements in the HTML header of the page, which allows to insert, for example: 29 - 30 30 * custom navigational links (universal edit, paged navigation, index, author...) 31 31 * custom RSS feed links 32 32 * custom metadata links (DOAP, FOAF, generic RDF...) ... ... @@ -33,10 +33,8 @@ 33 33 34 34 Usage example: 35 35 36 -{{code}} 37 -$xwiki.linkx.use($xwiki.getURL('Blog.BlogRss', 'view', "xpage=plain&blog=${blogDoc.fullName}"), 38 - {'rel' : 'alternate', 'type' : 'application/rss+xml', 'title' : $title}) 39 -{{/code}} 35 +{{code}}$xwiki.linkx.use($xwiki.getURL('Blog.BlogRss', 'view', "xpage=plain&blog=${blogDoc.fullName}"), 36 + {'rel' : 'alternate', 'type' : 'application/rss+xml', 'title' : $title}){{/code}} 40 40 41 41 == Introduced cancelable events == 42 42 ... ... @@ -48,12 +48,11 @@ 48 48 49 49 == Visible content menu when scrolling down == 50 50 51 -[[image:ActionMenu.png||style="border: 48 +[[image:ActionMenu.png||style="border:1px solid black;"]] 52 52 53 53 When scrolling down on a document, the content menu will follow, so the user will not have to scroll up on top of the page in order to access it. 54 54 55 55 == Introduced [[XWiki Cryptographic Module>>code:Modules.CryptographicModule]] == 56 - 57 57 This module exposes high level api, allowing developers to bolster their security using cryptography for both integrity and confidentiality. 58 58 You can find more information about the cryptographic module including examples at the code zone page for the [[XWiki Cryptographic Module>>code:Modules.CryptographicModule]]. 59 59 ... ... @@ -78,13 +78,13 @@ 78 78 79 79 We also included a new Macro for the WYSIWYG Editor. It allows to embed a office file into a page. 80 80 81 -[[image:MacroOfficeViewer||style="border: 77 +[[image:MacroOfficeViewer||style="border:1px solid black;"]] 82 82 83 83 == Experimental Extension Manager == 84 84 85 85 The new Extension Manager will allow you to install new extensions to your XWiki XE. Please note that this is an experimental feature. Use it at your own risk. 86 86 87 -[[image:ExtensionManager.png||style="border: 83 +[[image:ExtensionManager.png||style="border:1px solid black;"]] 88 88 89 89 == New User Directory == 90 90 ... ... @@ -217,9 +217,42 @@ 217 217 * To explicitly drop programming rights, a new API method was introduced: ##$xcontext.dropPermissions()## 218 218 * An experimental Cross-Site Request Forgery prevention mechanism is included, though not enabled by default. To enable it and test/upgrade your custom applications for compatibility, edit ##xwiki.properties## and flip on the ##core.csrf.enabled## setting. 219 219 216 += Backward Compatibility and Migration Notes = 220 220 218 +== General Notes == 221 221 220 +{{warning}} 221 +If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases=all// to your //xwiki.cfg// file or explicitly name all databases to be migrated as in //xwiki.store.migration.databases=db1,db2,...//. 222 +{{/warning}} 222 222 224 +You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. 225 + 226 +{{warning}} 227 +Always make sure you compare your //xwiki.cfg// file with the newest version since some configuration parameters were added. Note you should add //xwiki.store.migration=1// so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything. 228 +{{/warning}} 229 + 230 +{{warning}} 231 +Experimental support for CSRF protection is included in this release, although not enabled by default. This mechanism changes the way data is supposed to be saved, a change which will not completely break custom applications in most cases, but which might insert an extra validation step needed for actually saving the data. 232 +{{/warning}} 233 + 234 +It is **strongly recommended** to set up a testing/development environment, enable this feature and fully test all the code. In most cases things should work with no additional changes. If the default edit mode is not used, or if the default velocity templates are not used, it should be enough to add the following line: 235 + 236 +{{code language="html"}} 237 +<input type="hidden" name="form_token" value="$!{services.csrf.getToken()}" /> 238 +{{/code}} 239 + 240 +== API Breakages == 241 + 242 +The following APIs were modified since XWiki Enterprise 2.4: 243 + 244 +{{code language="none"}} 245 +[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public org.xwiki.rendering.internal.transformation.MacroTransformation getMacroTransformation()' has been removed 246 +[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public void setMacroTransformation(org.xwiki.rendering.internal.transformation.MacroTransformation)' has been removed 247 +[ERROR] org.xwiki.rendering.transformation.Transformation: Method 'public void transform(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface 248 +[ERROR] org.xwiki.rendering.transformation.TransformationManager: Method 'public void performTransformations(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface 249 +{{/code}} 250 + 251 + 223 223 RC1 224 224 225 225 ... ... @@ -284,6 +284,8 @@ 284 284 285 285 = Known issues = 286 286 316 +* [[Bugs we know about>>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+in+%28%22XWiki.org+Top+Level+Projects%22%2C+%22XWiki+Plugins%2C+Applications+%26+Skins%22%29+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]] 317 + 287 287 = Backward Compatibility and Migration Notes = 288 288 289 289 == Important non-compatible changes == ... ... @@ -296,8 +296,6 @@ 296 296 297 297 = Known issues = 298 298 299 -* [[Bugs we know about>>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+in+%28%22XWiki.org+Top+Level+Projects%22%2C+%22XWiki+Plugins%2C+Applications+%26+Skins%22%29+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]] 300 - 301 301 = Backward Compatibility and Migration Notes = 302 302 303 303 == General Notes == ... ... @@ -335,37 +335,3 @@ 335 335 [ERROR] org.xwiki.rendering.transformation.TransformationManager: Method 'public void performTransformations(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface 336 336 {{/code}} 337 337 338 -= Backward Compatibility and Migration Notes = 339 - 340 -== General Notes == 341 - 342 -{{warning}} 343 -If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases=all// to your //xwiki.cfg// file or explicitly name all databases to be migrated as in //xwiki.store.migration.databases=db1,db2,...//. 344 -{{/warning}} 345 - 346 -You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. 347 - 348 -{{warning}} 349 -Always make sure you compare your //xwiki.cfg// file with the newest version since some configuration parameters were added. Note you should add //xwiki.store.migration=1// so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything. 350 -{{/warning}} 351 - 352 -{{warning}} 353 -Experimental support for CSRF protection is included in this release, although not enabled by default. This mechanism changes the way data is supposed to be saved, a change which will not completely break custom applications in most cases, but which might insert an extra validation step needed for actually saving the data. 354 -{{/warning}} 355 - 356 -It is **strongly recommended** to set up a testing/development environment, enable this feature and fully test all the code. In most cases things should work with no additional changes. If the default edit mode is not used, or if the default velocity templates are not used, it should be enough to add the following line: 357 - 358 -{{code language="html"}} 359 -<input type="hidden" name="form_token" value="$!{services.csrf.getToken()}" /> 360 -{{/code}} 361 - 362 -== API Breakages == 363 - 364 -The following APIs were modified since XWiki Enterprise 2.4: 365 - 366 -{{code language="none"}} 367 -[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public org.xwiki.rendering.internal.transformation.MacroTransformation getMacroTransformation()' has been removed 368 -[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public void setMacroTransformation(org.xwiki.rendering.internal.transformation.MacroTransformation)' has been removed 369 -[ERROR] org.xwiki.rendering.transformation.Transformation: Method 'public void transform(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface 370 -[ERROR] org.xwiki.rendering.transformation.TransformationManager: Method 'public void performTransformations(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface 371 -{{/code}}