Wiki source code of XWiki Enterprise 2.6

Version 5.4 by Vincent Massol on 2010/11/23

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
2
3 XWiki Enterprise 2.6 is a release mostly focused on stabilization but in which we've implemented a redesigned Activity Stream, Share Page by mail feature and Icon/Emoticon support (See the initial [[Roadmap>>enterprise:Main.Roadmap]]).
4
5 = New and Noteworthy (since XWiki Enterprise 2.5) =
6
7 == 1 Activity Stream ==
8
9 * Overhaul of the Recent Changes section of the Dashboard:(((
10 * New UI
11 * Support for more events compared to the previous Recent Changes: annotations, comments, document deletion
12 * It's now called Recent Activity (was called Recent Changes)
13
14 [[image:ReleaseNotes.ReleaseNotesXWikiEnterprise26RC1@activityMacro||style="border: 1px solid black;"]]
15 )))
16
17 == 2 Share Page by Mail ==
18
19 [[image:[email protected]||style="border: 1px solid #000;"]]
20
21 [[image:[email protected]||style="border: 1px solid #000;"]]
22
23 [[image:[email protected]||style="border: 1px solid #000;"]]
24
25 == 3 Icon/Emoticon Support ==
26
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
67 == 4 Auto linking of WikiWords ==
68
69 * Added ability to automatically create wiki links on WikiWords.
70
71 {{info}}Not enabled by default, to enable edit ##xwiki.properties##.{{/info}}
72
73 == 5 New Activity Macro ==
74
75 * New [[Activity macro>>code:Macros.ActivityMacro]].
76
77 == 6 Others ==
78
79 * Scheduler jobs can be located in any page in the wiki and not only in the Scheduler space.
80 * 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
81 * Improved livetable performance by [[throttling the requests>>http://ajaxpatterns.org/Submission_Throttling]] sent (one every few milliseconds).
82 * All the translations have been updated
83 * Lots of bug fixes and small improvements (full list in [[JIRA>>http://jira.xwiki.org]])
84
85 == 7 For developers ==
86
87 * Added new event types: add/update/delete comment/annotation/attachment
88 * Added ability to define in ##xwiki.properties## which Rendering Transformations to execute when rendering a document.
89 * Replace Velocity Date Tool by Velocity Date Comparison Tool which offers even more APIs.
90
91 = Known issues =
92
93 * The Send Page by mail feature currently doesn't work on IPv6 systems if your machine is on localhost. To work around this start your container with ##-Djava.net.preferIPv4Stack=true##.
94 * [[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]]
95
96 = Backward Compatibility and Migration Notes =
97
98 == General Notes ==
99
100 {{warning}}
101 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,...//.
102 {{/warning}}
103
104 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above.
105
106 {{warning}}
107 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.
108 {{/warning}}
109
110 == Notes specific to XWiki Enterprise 2.6 ==
111
112 * The Main.RecentChages page was removed and replaced by Main.Activity
113 * 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##.
114 * 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##.
115
116 == API Breakages ==
117
118 The following APIs were modified since XWiki Enterprise 2.5:
119
120 {{code language="none"}}
121 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
122 ERROR: 7012: org.xwiki.bridge.SkinAccessBridge: Method 'public java.lang.String getIconURL(java.lang.String)' has been added to an interface
123 ERROR: 8001: org.xwiki.component.manager.AbstractComponentDescriptorEvent: Class org.xwiki.component.manager.AbstractComponentDescriptorEvent removed
124 ERROR: 8001: org.xwiki.component.manager.ComponentDescriptorAddedEvent: Class org.xwiki.component.manager.ComponentDescriptorAddedEvent removed
125 ERROR: 8001: org.xwiki.component.manager.ComponentDescriptorEvent: Class org.xwiki.component.manager.ComponentDescriptorEvent removed
126 ERROR: 8001: org.xwiki.component.manager.ComponentDescriptorRemovedEvent: Class org.xwiki.component.manager.ComponentDescriptorRemovedEvent removed
127 ERROR: 8001: org.xwiki.component.manager.ComponentEventManager: Class org.xwiki.component.manager.ComponentEventManager removed
128 ERROR: 8001: org.xwiki.observation.event.ScriptEvaluationFinishedEvent: Class org.xwiki.observation.event.ScriptEvaluationFinishedEvent removed
129 ERROR: 8001: org.xwiki.observation.event.ScriptEvaluationStartsEvent: Class org.xwiki.observation.event.ScriptEvaluationStartsEvent removed
130 ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getNextSibling()' has been added to an interface
131 ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getPreviousSibling()' has been added to an interface
132 ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void removeBlock(org.xwiki.rendering.block.Block)' has been added to an interface
133 ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setNextSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface
134 ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setPreviousSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface
135 ERROR: 6001: org.xwiki.rendering.block.NewLineBlock: Removed field NEW_LINE_BLOCK
136 ERROR: 6001: org.xwiki.rendering.block.SpaceBlock: Removed field SPACE_BLOCK
137 ERROR: 7002: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been removed
138 ERROR: 7012: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.List getTransformations()' has been added to an interface
139 ERROR: 6001: org.xwiki.rendering.listener.reference.ResourceType: Removed field IMAGE
140 ERROR: 7002: org.xwiki.rendering.wiki.WikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed
141 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
142 ERROR: 7002: org.xwiki.rendering.scaffolding.MockWikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed
143 {{/code}}

Get Connected