Wiki source code of XWiki Enterprise 2.6 Release Candidate 1
Version 12.1 by Ecaterina Moraru (Valica) 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 | {{error}} | ||
8 | There are some important bugs in this release: due to recent changes in the CSS styling, several UI sections are broken on IE browsers: | ||
9 | * Internet Explorer 6 : Login screen is not visible. | ||
10 | * Internet Explorer 7 : Bad display of Wiki Preferences, the Comments tab content, the user profile; the Wysiwyg and Class editors cannot be properly used. | ||
11 | |||
12 | These issues should be fixed in the next version. | ||
13 | {{/error}} | ||
14 | |||
15 | = New and Noteworthy (since XWiki Enterprise 2.5) = | ||
16 | |||
17 | == New features == | ||
18 | |||
19 | * Overhaul of the Recent Changes section of the Dashboard:((( | ||
20 | * New UI | ||
21 | * Support for more events compared to the previous Recent Changes: annotations, comments, document deletion | ||
22 | * It's now called Recent Activity (was called Recent Changes) | ||
23 | |||
24 | [[image:activityMacro||style="border: 1px solid black;"]] | ||
25 | ))) | ||
26 | * New [[Recent Activity macro>>code:Macros.ActivityMacro]]. {{warning}}Will be renamed to ##activity## in XE 2.6RC2{{/warning}} | ||
27 | * 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]].((( | ||
28 | Usage: | ||
29 | {{code language="none"}} | ||
30 | image:icon:<icon name> | ||
31 | {{/code}} | ||
32 | Example: | ||
33 | {{code language="none"}} | ||
34 | image:icon:accept | ||
35 | {{/code}} | ||
36 | ))) | ||
37 | * Added the ability to map characters to an icon in any XWiki Syntax (edit ##xwiki.properties## to modify or add new mappings).((( | ||
38 | Default mappings: | ||
39 | |=Characters|=Result | ||
40 | |##{{{:)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_smile.gif | ||
41 | |##{{{:(}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_unhappy.gif | ||
42 | |##{{{:P}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_tongue.gif | ||
43 | |##{{{:D}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_grin.gif | ||
44 | |##{{{;)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_wink.gif | ||
45 | |##{{{(y)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_up.gif | ||
46 | |##{{{(n)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_down.gif | ||
47 | |##{{{(i)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/information.gif | ||
48 | |##{{{(/)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/accept.gif | ||
49 | |##{{{(x)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/cancel.gif | ||
50 | |##{{{(!)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/error.gif | ||
51 | |##{{{(+)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/add.gif | ||
52 | |##{{{(-)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/delete.gif | ||
53 | |##{{{(?)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/help.gif | ||
54 | |##{{{(on)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb.gif | ||
55 | |##{{{(off)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb_off.gif | ||
56 | |##{{{(*)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/star.gif | ||
57 | ))) | ||
58 | * Box Macro's image parameter now support referencing an icon.((( | ||
59 | Example: | ||
60 | {{code language="none"}} | ||
61 | {{box image="icon:accept"}} | ||
62 | Some content | ||
63 | {{/box}} | ||
64 | {{/code}} | ||
65 | ))) | ||
66 | * Added ability to automatically create wiki links on Wiki Words (not enabled by default, to enable edit ##xwiki.properties##). | ||
67 | * Scheduler jobs can be located in any page in the wiki and not only in the Scheduler space. | ||
68 | * Converted [[several Administration application pages>>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+XAADMINISTRATION+AND+fixVersion+%3D+%221.42%22]] to XWiki Syntax 2.0 | ||
69 | |||
70 | == Performance improvements == | ||
71 | |||
72 | * Improved livetable performance by [[throttling the requests>>http://ajaxpatterns.org/Submission_Throttling]] sent (one every few milliseconds). | ||
73 | |||
74 | == For developers == | ||
75 | |||
76 | * Added new event types: add/update/delete comment/annotation/attachment((( | ||
77 | {{warning}}The classes will change package during the 2.6 RC2 release.{{/warning}} | ||
78 | ))) | ||
79 | * Added ability to define in ##xwiki.properties## which Rendering Transformations to execute when rendering a document. | ||
80 | * Replace Velocity Date Tool by Velocity Date Comparison Tool which offers even more APIs. | ||
81 | |||
82 | == Translations == | ||
83 | |||
84 | * All the translations have been updated | ||
85 | |||
86 | = Known issues = | ||
87 | |||
88 | * [[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]] | ||
89 | |||
90 | = Backward Compatibility and Migration Notes = | ||
91 | |||
92 | == General Notes == | ||
93 | |||
94 | {{warning}} | ||
95 | 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,...//. | ||
96 | {{/warning}} | ||
97 | |||
98 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. | ||
99 | |||
100 | {{warning}} | ||
101 | 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. | ||
102 | {{/warning}} | ||
103 | |||
104 | == Notes specific to XWiki Enterprise 2.6 RC1 == | ||
105 | |||
106 | * The Main.RecentChages page was removed and replaced by Main.RecentActivity | ||
107 | * 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##. | ||
108 | * 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##. | ||
109 | |||
110 | == API Breakages == | ||
111 | |||
112 | The following APIs were modified since XWiki Enterprise 2.5: | ||
113 | |||
114 | {{code language="none"}} | ||
115 | 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 | ||
116 | ERROR: 7012: org.xwiki.bridge.SkinAccessBridge: Method 'public java.lang.String getIconURL(java.lang.String)' has been added to an interface | ||
117 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getNextSibling()' has been added to an interface | ||
118 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getPreviousSibling()' has been added to an interface | ||
119 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void removeBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
120 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setNextSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
121 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setPreviousSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
122 | ERROR: 6001: org.xwiki.rendering.block.NewLineBlock: Removed field NEW_LINE_BLOCK | ||
123 | ERROR: 6001: org.xwiki.rendering.block.SpaceBlock: Removed field SPACE_BLOCK | ||
124 | ERROR: 7002: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been removed | ||
125 | ERROR: 7012: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.List getTransformations()' has been added to an interface | ||
126 | ERROR: 6001: org.xwiki.rendering.listener.reference.ResourceType: Removed field IMAGE | ||
127 | ERROR: 8001: org.xwiki.rendering.macro.AbstractMacro: Class org.xwiki.rendering.macro.AbstractMacro removed | ||
128 | ERROR: 8001: org.xwiki.rendering.macro.AbstractNoParameterMacro: Class org.xwiki.rendering.macro.AbstractNoParameterMacro removed | ||
129 | ERROR: 8001: org.xwiki.rendering.macro.Macro: Class org.xwiki.rendering.macro.Macro removed | ||
130 | ERROR: 8001: org.xwiki.rendering.macro.MacroCategoryManager: Class org.xwiki.rendering.macro.MacroCategoryManager removed | ||
131 | ERROR: 8001: org.xwiki.rendering.macro.MacroExecutionException: Class org.xwiki.rendering.macro.MacroExecutionException removed | ||
132 | ERROR: 8001: org.xwiki.rendering.macro.MacroId: Class org.xwiki.rendering.macro.MacroId removed | ||
133 | ERROR: 8001: org.xwiki.rendering.macro.MacroIdFactory: Class org.xwiki.rendering.macro.MacroIdFactory removed | ||
134 | ERROR: 8001: org.xwiki.rendering.macro.MacroLookupException: Class org.xwiki.rendering.macro.MacroLookupException removed | ||
135 | ERROR: 8001: org.xwiki.rendering.macro.MacroManager: Class org.xwiki.rendering.macro.MacroManager removed | ||
136 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor removed | ||
137 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ContentDescriptor: Class org.xwiki.rendering.macro.descriptor.ContentDescriptor removed | ||
138 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor removed | ||
139 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor removed | ||
140 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor removed | ||
141 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.MacroDescriptor: Class org.xwiki.rendering.macro.descriptor.MacroDescriptor removed | ||
142 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.ParameterDescriptor removed | ||
143 | ERROR: 8001: org.xwiki.rendering.macro.parameter.MacroParameterException: Class org.xwiki.rendering.macro.parameter.MacroParameterException removed | ||
144 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooHighException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooHighException removed | ||
145 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooLowException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooLowException removed | ||
146 | ERROR: 8001: org.xwiki.rendering.transformation.MacroTransformationContext: Class org.xwiki.rendering.transformation.MacroTransformationContext removed | ||
147 | ERROR: 7002: org.xwiki.rendering.wiki.WikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
148 | 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 | ||
149 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'public org.xwiki.component.manager.ComponentManager getComponentManager()' has been removed | ||
150 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'protected org.xwiki.rendering.parser.Parser getSyntaxParser(org.xwiki.rendering.transformation.MacroTransformationContext)' has been removed | ||
151 | 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 | ||
152 | 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 | ||
153 | ERROR: 7002: org.xwiki.rendering.scaffolding.MockWikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
154 | {{/code}} |