Version 23.1 by Marius Dumitru Florea on 2012/09/10

Hide last authors
Sergiu Dumitriu 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 <insert description of release here>
6
7 = New and Noteworthy (since XWiki Enterprise 4.2 Milestone 2) =
8
9 == Improved upload UI ==
10
Sergiu Dumitriu 2.1 11 The new HTML5 FileUploader has been integrated in a few places:
Sergiu Dumitriu 1.1 12
Sergiu Dumitriu 2.1 13 * The standard attachment upload form
14 * The Import section of the Administration
Sergiu Dumitriu 1.1 15
Sergiu Dumitriu 2.1 16 See [[below>>||anchor="HNewHTML5FileUploadwidget"]] for more details about this feature.
17
Thomas Mortagne 3.1 18 == New logging administration UI ==
19
20 It's now possible to review and modify the log level for all registered loggers.
21
Thomas Mortagne 4.1 22 {{image reference="extensions:Extension.Logging Application@loggingadmin.png"/}}
Thomas Mortagne 3.1 23
Vincent Massol 10.1 24 == IRC Bot Application Improvements ==
25
26 The [[IRC Bot Application>>extensions:Extension.IRC Bot Application]] now recognizes XAR import events and when receiving one, it doesn't send subsequent IRC notifications for modified or created documents to avoid spamming the IRC channel.
27
Vincent Massol 12.1 28 == New Content Macro ==
29
Vincent Massol 12.2 30 The [[new Content macro>>extensions:Extension.Content Macro]] allows to enter content in any of the supported Syntaxes and thus allows to have content written in various syntaxes. For example:
Vincent Massol 12.1 31
32 {{code}}
33 This is in **bold**
34
35 {{content syntax="confluence/1.0"}}
36 This is *bold* too!
37 {{/content}}
38 {{/code}}
39
Marius Dumitru Florea 22.1 40 == Experimental install/upgrade wizard ==
41
Marius Dumitru Florea 23.1 42 {{todo}}
43 Marius
44 {{/todo}}
45
Marius Dumitru Florea 22.1 46 {{image reference="Distribution-MainUI.png"/}}
47
48 {{image reference="Distribution-OutdatedExtensions.png"/}}
49
Vincent Massol 17.1 50 == Miscellaneous ==
51
52 * Display the request URL in the IRC channel when the Link Checker bot listener is active and a broken link is found, thus making it easier to reproduce and debug the broken link
53
Sergiu Dumitriu 1.1 54 = For Developers =
55
56 == New HTML5 File Upload widget ==
57
58 The [[File Upload widget>>doc:platform:DevGuide.HTML5Upload]] can enhance HTML input elements of type file to provide an interactive upload UI. It can submit files either automatically when the user selects local files, or after the user presses the container form's submit button.
59
60 To use this widget, it is enough to create a new instance of ##XWiki.FileUploader## passing the target ##input## element as the first parameter, and an optional configuration object as the second parameter.
61
62 {{code language="javascript"}}
63 new XWiki.FileUploader(targetInput, {
64 autoUpload: true,
65 progressAutohide: true
66 });
67 {{/code}}
68
69 [[image:platform:DevGuide.HTML5Upload@html5uploads.png||class="screenshot"]]
70
Vincent Massol 5.1 71 == JSRX and SSRX ==
72
Vincent Massol 5.3 73 It's now possible by default to add [[skin extensions>>extensions:Extension.Skin Extension Plugin]] located in JAR files. Example usage:
Vincent Massol 5.1 74
75 {{code}}
76 $xwiki.jsrx("/lib/codemirror.js")
77 $xwiki.ssrx("/lib/codemirror.css")
78 {{/code}}
79
Vincent Massol 6.1 80 == Documents Macro improvements ==
81
Marius Dumitru Florea 23.1 82 The ##~{~{documents}}## macro [[now supports specifying the list of columns to display>>extensions:Extension.Documents Macro]]. For example:
Vincent Massol 6.1 83
84 {{code}}
85 {{documents count="5" actions="false" space="Main" parent="Main.WebHome" columns="doc.title"/}}
86 {{/code}}
87
88 would display:
89
90 {{image reference="documents-columns.png"/}}
91
Sergiu Dumitriu 8.1 92 == Attachment Picker improvements ==
93
94 It is now possible to specify a different document for the source (and target in case of uploads) of attachments, using the new ##targetdocname## macro parameter.
95
Sergiu Dumitriu 9.1 96 == Search improvements ==
97
98 The Lucene index also stores the MIME type of the indexed attachments, allowing to customize the search to only include or exclude attachments of a certain type. The new field is named [[##mimetype##>>doc:extensions:Extension.Search Application Query Syntax||anchor="Hmimetype"]] and it contains a valid MIME type string, as returned by the container in which XWiki is running. For example, add ##-mimetype:image/*## to a query to exclude all image attachments from the results, or add ##mimetype:application/pdf## to only search inside PDF attachments.
99
100 Remember that in case of an upgrade, you have to rebuild the entire index to have this new field for existing documents.
101
Thomas Mortagne 15.1 102 == Extension Manager improvements ==
103
Marius Dumitru Florea 23.1 104 * the custom Maven property <xwiki.extension.features> now accept any number of new lines and white spaces between elements(((
Thomas Mortagne 15.1 105 {{code language="xml"}}
106 <xwiki.extension.features>
107 org.xwiki.platform:xwiki-platform-oldcore,
108 com.xpn.xwiki.platform:xwiki-core
109 </xwiki.extension.features>
110 {{/code}}
111 )))
Thomas Mortagne 19.1 112 * new custom properties added to overwrite standard Maven properties:
Thomas Mortagne 20.1 113 ** ##xwiki.extension.name## to overwrite ##<name>##
114 ** ##xwiki.extension.summary## to overwrite ##<description>##
115 ** ##xwiki.extension.website## to overwrite ##<url>##
Thomas Mortagne 15.1 116
117 == XAR format improvement ==
118
119 It's now possible to indicate the extension identifier right in the XAR package descriptor (package.xml). Among other things this allow standard import UI to find what it currently importing and register it automatically as installed extension if it can be found in the registered repositories during import process.
120
Thomas Mortagne 16.1 121 The XAR Maven plugin automatically take care of adding this information to the generated package.xml for Maven project. If for some reason you need to indicate it by hand you can use the property <extensionId> under the the <infos> element in the package.xml file.
122
123 {{code language="xml"}}
124 <package>
125 <infos>
126 <name>XWiki Platform - Extension - UI</name>
127 <description>XWiki Extension Manager, an application for managing extensions in a wiki.</description>
128 <licence></licence>
129 <author>XWiki.Admin</author>
130 <extensionId>org.xwiki.platform:xwiki-platform-extension-ui</extensionId>
131 <version>4.2-SNAPSHOT</version>
132 <backupPack>true</backupPack>
133 </infos>
134 <files>
135 [...]
136 </files>
137 </package>
138 {{/code}}
139
Sergiu Dumitriu 1.1 140 == Deprecated and Retired projects ==
141
142 <description of deprecated and retired projects>
143
144 == Upgrades ==
145
146 The following dependencies have been upgraded:
147
Sergiu Dumitriu 5.4 148 * Prototype.js 1.7.1
Thomas Mortagne 14.1 149 * Jython 2.5.3
Vincent Massol 13.1 150 * Pegdown 1.1.0 (used by the XWiki Markdown Parser)
Thomas Mortagne 18.1 151 * Xalan 2.7.1
Sergiu Dumitriu 1.1 152
153 == Miscellaneous ==
154
Vincent Massol 11.1 155 * The ##AbstractMockingComponentTestCase## testing framework class has been modified. Read the [[Testing page>>dev:Community.Testing]] for more details on how to use it.
Sergiu Dumitriu 1.1 156
157 == Translations ==
158
159 The following translations have been updated:
160
161 {{language codes="code1, code2"/}}
162
163 = Tested Browsers =
164
165 Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of [[supported browsers>>dev:Community.BrowserSupportStrategy]]):
166
167 {{velocity}}
168 ## name = iexplorer, firefox, chrome, safari, opera
169 {{/velocity}}
170
171 {{browser name="browser" version="x.x"/}}
172
173 = Known issues =
174
175 * [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]]
176
177 = Test Report =
178
179 You can check the [[manual test report>>TestReports.WebHome#<anchor to test report>]] to learn about what was tested and the results on various browsers.
180
181 = Backward Compatibility and Migration Notes =
182
183 == General Notes ==
184
185 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
186
187 {{warning}}
188 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were added. Note that 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.
189 {{/warning}}
190
191 == Issues specific to <projet> <version> ==
192
193 <issues specific to the project>
194
195 == API Breakages ==
196
197 The following APIs were modified since <project> <version - 1>:
198
199 {{code language="none"}}
200 <clirr output here>
201 {{/code}}

Get Connected