Wiki source code of XWiki Enterprise 2.6 Release Candidate 1
Version 7.1 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 | * Overhaul of the Recent Changes section of the Dashboard:((( | ||
12 | * New UI | ||
13 | * Support for more events compared to the previous Recent Changes: annotations, comments, document deletion | ||
14 | * It's now called Recent Activity (was called Recent Changes) | ||
15 | |||
16 | TODO: Add image here | ||
17 | ))) | ||
18 | * 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]].((( | ||
19 | Usage: | ||
20 | {{code language="none"}} | ||
21 | image:icon:<icon name> | ||
22 | {{/code}} | ||
23 | Example: | ||
24 | {{code language="none"}} | ||
25 | image:icon:accept | ||
26 | {{/code}} | ||
27 | ))) | ||
28 | * Added the ability to map characters to an icon in any XWiki Syntax (edit ##xwiki.properties## to modify or add new mappings).((( | ||
29 | Default mappings: | ||
30 | |=Characters|=Result | ||
31 | |##{{{:)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_smile.gif | ||
32 | |##{{{:(}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_unhappy.gif | ||
33 | |##{{{:P}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_tongue.gif | ||
34 | |##{{{:D}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_grin.gif | ||
35 | |##{{{;)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_wink.gif | ||
36 | |##{{{(y)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_up.gif | ||
37 | |##{{{(n)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_down.gif | ||
38 | |##{{{(i)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/information.gif | ||
39 | |##{{{(/)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/accept.gif | ||
40 | |##{{{(x)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/cancel.gif | ||
41 | |##{{{(!)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/error.gif | ||
42 | |##{{{(+)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/add.gif | ||
43 | |##{{{(-)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/delete.gif | ||
44 | |##{{{(?)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/help.gif | ||
45 | |##{{{(on)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb.gif | ||
46 | |##{{{(off)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb_off.gif | ||
47 | |##{{{(*)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/star.gif | ||
48 | ))) | ||
49 | * Box Macro's image parameter now support referencing an icon.((( | ||
50 | Example: | ||
51 | {{code language="none"}} | ||
52 | {{box image="icon:accept"}} | ||
53 | Some content | ||
54 | {{/box}} | ||
55 | {{/code}} | ||
56 | ))) | ||
57 | * Added ability to automatically create wiki links on Wiki Words (not enabled by default, to enable edit ##xwiki.properties##). | ||
58 | * Added better Portlet integration support **TODO: need better description here XWIKI-5596** | ||
59 | |||
60 | == Performance improvements == | ||
61 | |||
62 | * Improved livetable performance **TODO: need better description here XWIKI-5104** | ||
63 | |||
64 | == Security improvements == | ||
65 | |||
66 | == For developers == | ||
67 | |||
68 | * Added new event types: add/update/delete comment/annotation/attachment((( | ||
69 | {{warning}}The classes will change package during the 2.6 RC2 release.{{/warning}} | ||
70 | ))) | ||
71 | * Added ability to define in ##xwiki.properties## which Rendering Transformations to execute when rendering a document. | ||
72 | * Replace Velocity Date Tool by Velocity Date Comparison Tool which offers even more APIs. | ||
73 | |||
74 | == Translations == | ||
75 | |||
76 | * All the translations have been updated | ||
77 | |||
78 | = Known issues = | ||
79 | |||
80 | * [[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]] | ||
81 | |||
82 | = Backward Compatibility and Migration Notes = | ||
83 | |||
84 | == General Notes == | ||
85 | |||
86 | {{warning}} | ||
87 | 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,...//. | ||
88 | {{/warning}} | ||
89 | |||
90 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. | ||
91 | |||
92 | {{warning}} | ||
93 | 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. | ||
94 | {{/warning}} | ||
95 | |||
96 | == Notes specific to XWiki Enterprise 2.6 RC1 == | ||
97 | |||
98 | * The Main.RecentChages page was removed and replaced by Main.RecentActivity | ||
99 | * 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##. | ||
100 | * 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##. | ||
101 | |||
102 | == API Breakages == | ||
103 | |||
104 | The following APIs were modified since XWiki Enterprise 2.5: | ||
105 | |||
106 | {{code language="none"}} | ||
107 | 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 | ||
108 | ERROR: 7012: org.xwiki.bridge.SkinAccessBridge: Method 'public java.lang.String getIconURL(java.lang.String)' has been added to an interface | ||
109 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getNextSibling()' has been added to an interface | ||
110 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getPreviousSibling()' has been added to an interface | ||
111 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void removeBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
112 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setNextSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
113 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setPreviousSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
114 | ERROR: 6001: org.xwiki.rendering.block.NewLineBlock: Removed field NEW_LINE_BLOCK | ||
115 | ERROR: 6001: org.xwiki.rendering.block.SpaceBlock: Removed field SPACE_BLOCK | ||
116 | ERROR: 7002: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been removed | ||
117 | ERROR: 7012: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.List getTransformations()' has been added to an interface | ||
118 | ERROR: 6001: org.xwiki.rendering.listener.reference.ResourceType: Removed field IMAGE | ||
119 | ERROR: 8001: org.xwiki.rendering.macro.AbstractMacro: Class org.xwiki.rendering.macro.AbstractMacro removed | ||
120 | ERROR: 8001: org.xwiki.rendering.macro.AbstractNoParameterMacro: Class org.xwiki.rendering.macro.AbstractNoParameterMacro removed | ||
121 | ERROR: 8001: org.xwiki.rendering.macro.Macro: Class org.xwiki.rendering.macro.Macro removed | ||
122 | ERROR: 8001: org.xwiki.rendering.macro.MacroCategoryManager: Class org.xwiki.rendering.macro.MacroCategoryManager removed | ||
123 | ERROR: 8001: org.xwiki.rendering.macro.MacroExecutionException: Class org.xwiki.rendering.macro.MacroExecutionException removed | ||
124 | ERROR: 8001: org.xwiki.rendering.macro.MacroId: Class org.xwiki.rendering.macro.MacroId removed | ||
125 | ERROR: 8001: org.xwiki.rendering.macro.MacroIdFactory: Class org.xwiki.rendering.macro.MacroIdFactory removed | ||
126 | ERROR: 8001: org.xwiki.rendering.macro.MacroLookupException: Class org.xwiki.rendering.macro.MacroLookupException removed | ||
127 | ERROR: 8001: org.xwiki.rendering.macro.MacroManager: Class org.xwiki.rendering.macro.MacroManager removed | ||
128 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor removed | ||
129 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ContentDescriptor: Class org.xwiki.rendering.macro.descriptor.ContentDescriptor removed | ||
130 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor removed | ||
131 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor removed | ||
132 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor removed | ||
133 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.MacroDescriptor: Class org.xwiki.rendering.macro.descriptor.MacroDescriptor removed | ||
134 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.ParameterDescriptor removed | ||
135 | ERROR: 8001: org.xwiki.rendering.macro.parameter.MacroParameterException: Class org.xwiki.rendering.macro.parameter.MacroParameterException removed | ||
136 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooHighException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooHighException removed | ||
137 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooLowException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooLowException removed | ||
138 | ERROR: 8001: org.xwiki.rendering.transformation.MacroTransformationContext: Class org.xwiki.rendering.transformation.MacroTransformationContext removed | ||
139 | ERROR: 7002: org.xwiki.rendering.wiki.WikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
140 | 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 | ||
141 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'public org.xwiki.component.manager.ComponentManager getComponentManager()' has been removed | ||
142 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'protected org.xwiki.rendering.parser.Parser getSyntaxParser(org.xwiki.rendering.transformation.MacroTransformationContext)' has been removed | ||
143 | 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 | ||
144 | 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 | ||
145 | ERROR: 7002: org.xwiki.rendering.scaffolding.MockWikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
146 | {{/code}} |