Wiki source code of XWiki Enterprise 2.6 Release Candidate 1
Version 5.2 by Vincent Massol on 2010/11/05
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | First release candidate of the XWiki Enterprise 2.6 version ([[Roadmap>>enterprise:Main.Roadmap]]). | ||
6 | |||
7 | = New and Noteworthy (since XWiki Enterprise 2.5) = | ||
8 | |||
9 | == New features == | ||
10 | |||
11 | * Added a syntax in the experimental XWiki Syntax 2.1 for inserting an icon from the [[XWiki Icon Set>>http://www.famfamfam.com/lab/icons/silk/previews/index_abc.png]].((( | ||
12 | Usage: | ||
13 | {{code language="none"}} | ||
14 | image:icon:<icon name> | ||
15 | {{/code}} | ||
16 | Example: | ||
17 | {{code language="none"}} | ||
18 | image:icon:accept | ||
19 | {{/code}} | ||
20 | ))) | ||
21 | * Added the ability to map characters to an icon in any XWiki Syntax (edit ##xwiki.properties## to modify or add new mappings).((( | ||
22 | Default mappings: | ||
23 | |=Characters|=Result | ||
24 | |##{{{:)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_smile.gif | ||
25 | |##{{{:(}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_unhappy.gif | ||
26 | |##{{{:P}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_tongue.gif | ||
27 | |##{{{:D}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_grin.gif | ||
28 | |##{{{;)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_wink.gif | ||
29 | |##{{{(y)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_up.gif | ||
30 | |##{{{(n)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_down.gif | ||
31 | |##{{{(i)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/information.gif | ||
32 | |##{{{(/)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/accept.gif | ||
33 | |##{{{(x)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/cancel.gif | ||
34 | |##{{{(!)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/error.gif | ||
35 | |##{{{(+)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/add.gif | ||
36 | |##{{{(-)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/delete.gif | ||
37 | |##{{{(?)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/help.gif | ||
38 | |##{{{(on)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb.gif | ||
39 | |##{{{(off)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb_off.gif | ||
40 | |##{{{(*)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/star.gif | ||
41 | ))) | ||
42 | * Box Macro's image parameter now support referencing an icon.((( | ||
43 | Example: | ||
44 | {{code language="none"}} | ||
45 | {{box image="icon:accept"}} | ||
46 | Some content | ||
47 | {{/box}} | ||
48 | {{/code}} | ||
49 | ))) | ||
50 | * Added ability to automatically create wiki links on Wiki Words (not enabled by default, to enable edit ##xwiki.properties##). | ||
51 | * Added better Portlet integration support **TODO: need better description here XWIKI-5596** | ||
52 | |||
53 | == Performance improvements == | ||
54 | |||
55 | * Improved livetable performance **TODO: need better description here XWIKI-5104** | ||
56 | |||
57 | == Security improvements == | ||
58 | |||
59 | == For developers == | ||
60 | |||
61 | * Added new event types: add/update/delete comment/annotation/attachment((( | ||
62 | {{warning}}The classes will change package during the 2.6 RC2 release.{{/warning}} | ||
63 | ))) | ||
64 | * Added ability to define in ##xwiki.properties## which Rendering Transformations to execute when rendering a document. | ||
65 | * Replace Velocity Date Tool by Velocity Date Comparison Tool which offers even more APIs. | ||
66 | |||
67 | == Translations == | ||
68 | |||
69 | * All the translations have been updated | ||
70 | |||
71 | = Known issues = | ||
72 | |||
73 | * [[Bugs we know about>>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]] | ||
74 | |||
75 | = Backward Compatibility and Migration Notes = | ||
76 | |||
77 | == General Notes == | ||
78 | |||
79 | {{warning}} | ||
80 | 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,...//. | ||
81 | {{/warning}} | ||
82 | |||
83 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. | ||
84 | |||
85 | {{warning}} | ||
86 | 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. | ||
87 | {{/warning}} | ||
88 | |||
89 | == Incompatible Configuration Changes == | ||
90 | |||
91 | * The configuration option controlling the experimental CSRF protection mechanism introduced in 2.5 was changed from ##core.csrf.enabled## to ##csrf.enabled##. If you are using CSRF protection, make sure to re-enable it by setting ##csrf.enabled = true## in ##xwiki.properties##. | ||
92 | * The configuration option to define macro categories was changed from ##rendering.macroCategories## to ##rendering.transformation.macro.categories##. If you're using this option make sure you modify its name in ##xwiki.properties##. | ||
93 | |||
94 | == API Breakages == | ||
95 | |||
96 | The following APIs were modified since XWiki Enterprise 2.5: | ||
97 | |||
98 | {{code language="none"}} | ||
99 | ERROR: 7006: org.xwiki.annotation.maintainer.AbstractAnnotationMaintainer: Return type of method 'protected void recomputeProperties(org.xwiki.annotation.Annotation, java.util.Collection, java.lang.String, org.xwiki.annotation.content.AlteredContent, java.lang.String)' has been changed to boolean | ||
100 | ERROR: 7012: org.xwiki.bridge.SkinAccessBridge: Method 'public java.lang.String getIconURL(java.lang.String)' has been added to an interface | ||
101 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getNextSibling()' has been added to an interface | ||
102 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getPreviousSibling()' has been added to an interface | ||
103 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void removeBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
104 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setNextSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
105 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setPreviousSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
106 | ERROR: 6001: org.xwiki.rendering.block.NewLineBlock: Removed field NEW_LINE_BLOCK | ||
107 | ERROR: 6001: org.xwiki.rendering.block.SpaceBlock: Removed field SPACE_BLOCK | ||
108 | ERROR: 7002: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been removed | ||
109 | ERROR: 7012: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.List getTransformations()' has been added to an interface | ||
110 | ERROR: 6001: org.xwiki.rendering.listener.reference.ResourceType: Removed field IMAGE | ||
111 | ERROR: 8001: org.xwiki.rendering.macro.AbstractMacro: Class org.xwiki.rendering.macro.AbstractMacro removed | ||
112 | ERROR: 8001: org.xwiki.rendering.macro.AbstractNoParameterMacro: Class org.xwiki.rendering.macro.AbstractNoParameterMacro removed | ||
113 | ERROR: 8001: org.xwiki.rendering.macro.Macro: Class org.xwiki.rendering.macro.Macro removed | ||
114 | ERROR: 8001: org.xwiki.rendering.macro.MacroCategoryManager: Class org.xwiki.rendering.macro.MacroCategoryManager removed | ||
115 | ERROR: 8001: org.xwiki.rendering.macro.MacroExecutionException: Class org.xwiki.rendering.macro.MacroExecutionException removed | ||
116 | ERROR: 8001: org.xwiki.rendering.macro.MacroId: Class org.xwiki.rendering.macro.MacroId removed | ||
117 | ERROR: 8001: org.xwiki.rendering.macro.MacroIdFactory: Class org.xwiki.rendering.macro.MacroIdFactory removed | ||
118 | ERROR: 8001: org.xwiki.rendering.macro.MacroLookupException: Class org.xwiki.rendering.macro.MacroLookupException removed | ||
119 | ERROR: 8001: org.xwiki.rendering.macro.MacroManager: Class org.xwiki.rendering.macro.MacroManager removed | ||
120 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor removed | ||
121 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ContentDescriptor: Class org.xwiki.rendering.macro.descriptor.ContentDescriptor removed | ||
122 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor removed | ||
123 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor removed | ||
124 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor removed | ||
125 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.MacroDescriptor: Class org.xwiki.rendering.macro.descriptor.MacroDescriptor removed | ||
126 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.ParameterDescriptor removed | ||
127 | ERROR: 8001: org.xwiki.rendering.macro.parameter.MacroParameterException: Class org.xwiki.rendering.macro.parameter.MacroParameterException removed | ||
128 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooHighException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooHighException removed | ||
129 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooLowException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooLowException removed | ||
130 | ERROR: 8001: org.xwiki.rendering.transformation.MacroTransformationContext: Class org.xwiki.rendering.transformation.MacroTransformationContext removed | ||
131 | ERROR: 7002: org.xwiki.rendering.wiki.WikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
132 | ERROR: 7012: org.xwiki.rendering.wiki.WikiModel: Method 'public java.lang.String getLinkURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been added to an interface | ||
133 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'public org.xwiki.component.manager.ComponentManager getComponentManager()' has been removed | ||
134 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'protected org.xwiki.rendering.parser.Parser getSyntaxParser(org.xwiki.rendering.transformation.MacroTransformationContext)' has been removed | ||
135 | ERROR: 7006: org.xwiki.rendering.macro.box.BoxMacroParameters: Return type of method 'public java.lang.String getImage()' has been changed to org.xwiki.rendering.listener.reference.ResourceReference | ||
136 | ERROR: 7005: org.xwiki.rendering.macro.box.BoxMacroParameters: Parameter 1 of 'public void setImage(java.lang.String)' has changed its type to org.xwiki.rendering.listener.reference.ResourceReference | ||
137 | ERROR: 7002: org.xwiki.rendering.scaffolding.MockWikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
138 | {{/code}} |