Version 14.1 by Silvia Macovei on 2010/07/21

Show last authors
1 = XWiki Enterprise 2.4 Release Notes =
2
3 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
4
5 = New and Noteworthy =
6
7 == Search ==
8
9 === Changed default search engine ===
10
11 Lucene Search is promoted as default search.
12
13 image:searchlucene.png
14
15 To read about the benefits of using Lucene search over Database search go to the [[search application page>>code:Applications.SearchApplication]].
16
17 Starting with the 2.4 release you can select the wikis where to search in using the LuceneSearch page.
18
19 [[image:wikiselection.png||style="border:1px solid black;"]]
20
21 === New search configuration UI ===
22
23 image:searchadministration.png
24
25 The Search Application now has a dedicated section in the wiki administration section from which you can:
26
27 * Choose the default engine (Lucene or Database).
28 * See the status for the Lucene Search: the number of indexed elements and the number of elements waiting in the queue.
29 * Control the Lucene index by indexing the whole farm, indexing the wiki or customizing the index to your specific preferences.
30
31 For more information check out the [[documentation page>>http://code.xwiki.org/xwiki/bin/view/Applications/SearchApplication]].
32
33 == New Template-based page creation ==
34
35 Starting with XWiki Enterprise 2.4 users and applications can provide documents that can be used as template when creating new pages. The new document (content, objects and other metadata) will be replicated from the template.
36
37 * After you have [[created the template and the template provider>>code:Applications.AdministrationApplication#HEasyTemplatesCreationandAdministration28StartingwithXWikiEnterprise2.4M229]] you can then start creating pages from this template:
38
39 image:1gcreatedocument.jpg
40
41 * "Wanted Links" also offers the choice to create the new document from the available templates ( "My Template" template in the image below):
42
43 image:1ipopup.jpg
44
45 Find more details about the template creation and administration on the [[documentation page>>code:Applications.AdministrationApplication#HEasyTemplatesCreationandAdministration28StartingwithXWikiEnterprise2.4M229]].
46
47 == New Invitation Manager application ==
48
49 The Invitation Manager application allows users to send emails, inviting friends and colleagues to join a wiki. You will be able to configure your wiki to send emails through an open mail relay on the server or through an email account of your choosing.
50
51 image:InvitationSending.png
52
53 Read more about this application and learn how to configure it by visiting the [[application page>>code:Applications.InvitationApplication]].
54
55 == WYSIWYG improvements ==
56
57 === Insert external image ===
58
59 You can now insert an external image in the edited page while in WYSIWYG mode. The external image is specified by its location on the web, i.e. its URL. To do this go to Image > Insert Image... menu and select the "External" tab:
60
61 image:XWIKI-5202.png
62
63 === Insert macros ===
64
65 You may insert macros with a single click from the tool bar:
66
67 [[image:insertMacroFromToolBar.png]]
68
69 === Paste with filtered styles ===
70
71 A 'paste with filtered styles' button has also been added to the tool bar:
72
73 [[image:pasteIconOnToolBar.png]]
74
75 The Wysiwyg editor import from office feature now filters style by default.
76
77 == Objects and classes editor improvements ==
78
79 The object and class editor are now fully panel-less, which among other things means that you have the full object/class editors UI even in an empty wiki without having to import the needed XE xar.
80
81 [[image:objecteditor.png||style="border:1px solid black;" width="500"]]
82
83 The class editor also adds better refactoring capabilities:
84
85 * reorder class properties
86 * delete a class property
87
88 [[image:classeditor.png||style="border:1px solid black;" width="500"]]
89
90 There are also many other small ergonomics improvements to discover !
91
92 == JMX Administration Console ==
93
94 * XWiki is now using [[JMX to provide runtime Monitoring information>>platform:AdminGuide.Monitoring]].
95 * The first usage implemented is about monitoring the JBoss cachad and the Velocity Macro caches, as shown below:
96
97 image:platform:AdminGuide.Monitoring@jconsole1.png
98
99 == Watchlist improvements ==
100
101 * Allow to remove elements in the watchlist from the user profile
102 * Add in virtual mode, add a wikis section in "elements in your watchlist"
103
104 [[image:watchlist.png||style="border:1px solid black;"]]
105
106 == Rendering cache ==
107
108 It's now possible to provide a list of pages for which to cache the result. See ##core.renderingcache.*## properties to control it.
109
110 It's also possiblet to force a page to refresh by using ##refresh=1## parameter in the URL.
111
112 == New Code macro configuration ==
113
114 It's now possible to indicate which Pygments style to use with the default highlighter based on Pygments.
115
116 See http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20 for more details.
117
118 == Security improvements ==
119
120 * Added support for HttpOnly flag for session cookies (XSS protection measure)
121 * Fixed some XSS issues
122 * Improved file access sandboxing
123
124 == Performance improvements ==
125
126 Defered scripts.
127
128 == Chart macro improvements ==
129
130 Chart macro now supports more than 26 columns.
131
132 == Script improvements ==
133
134 * Make the Query Manager use the Script Service to expose services to scripts. See [[Query Guide>>platform:DevGuide.QueryGuide]] for more details.
135 * Make possible to directly return the Block based result of a script macro. It's supported for all JSR 223 macro which means all script macro script Velocity macro for now. See [[Script Macro>>code:Macros.ScriptMacro]] for more details.
136 * Prevent nested script macros by default: It's now impossible for the output of a script macro to become another script macro for security reasons. See [[Script Macro>>code:Macros.ScriptMacro]] for more details.
137
138 == Javascript improvements ==
139
140 * Start writing a Javascript mirror of the XWiki data model: Document.getURL
141 * New "suggestDocuments" behavior for input fields
142
143 == Translations ==
144
145 * WYSIWYG newly supported language: Russian
146 * All the translations have been updated
147
148 = Known issues =
149
150 * [[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]]
151
152 = Backward Compatibility and Migration Notes =
153
154 == Important non-compatible changes ==
155
156 {{warning}}TODO{{/warning}}
157
158 == General Notes ==
159
160 {{warning}}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.{{/warning}}
161
162 == Migration Notes ==
163
164 * Standalone/inline Macro parsing has been fixed.(((
165 {{error}}
166 There has been a [[bug>>http://jira.xwiki.org/jira/browse/XWIKI-5050]] that appeared when we released the new XWiki Syntax 2.0 several releases back and which we've finally fixed in this release. Basically if you had a macro followed by a new line and then another macro, both macros were considered as being standalone. This is now fixed and they are correctly considered by the parser as inline. More specifically if you were previously using a standalone macro (such as the TOC macro or the HTML macro) and your macro wasn't separated from a previous macro by at least 2 new lines, it'll now fail to render.
167
168 In addition, several pages that are part of the XWiki Enterprise default XAR were not written correctly and didn't have these 2 new lines as mentioned above. We've fixed these pages too but you'll need to make sure you import them in your existing wiki (if you're upgrading) since otherwise these pages will fail to display correctly. These pages are:
169 * XWiki.ClassSheet
170 * XWiki.WebSearch
171 * XWiki.LuceneSearch
172 {{/error}}
173 )))

Get Connected