<
From version < 7.1 >
edited by Vincent Massol
on 2015/01/18
To version < 9.1 >
edited by Vincent Massol
on 2015/01/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,8 +10,98 @@
10 10  
11 11  [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
12 12  
13 -== Mail Sender API Improvements ==
13 +== Menu Application ==
14 14  
15 +Taking advantage of the ability to have LESS inside our [[StyleSheetExtensions>>extensions:Extension.Skin Extension Plugin||anchor="HUseLESS"]], we improved the [[Menu Application>>extensions:Extension.Menu Application]], on Flamingo based skins, making it responsive and also adapting its styling according to the active [[Flamingo Theme>>extensions:Extension.Flamingo Theme Application]].
16 +Colibri based skins preserve the initial styling.
17 +
18 +{{gallery}}
19 +image:menu_flamingo_charcoal.png
20 +image:menu_flamingo_united.png
21 +image:menu_flamingo_darkly.png
22 +image:menu_flamingo_simplex.png
23 +image:menu_flamingo_charcoal_responsive.png
24 +{{/gallery}}
25 +
26 +== Flamingo Skin ==
27 +
28 +We partially restored the behaviour of the top level menu from version 6.2, with some improvements:
29 +
30 +* for tablet and desktop
31 +** the menu label is a link used for navigation
32 +** the toggle (arrow / caret) is used for opening the drop down menu, but should be better separated from the label
33 +* on phones the behaviour remains the same: taping on the label opens the menu
34 +
35 +{{gallery}}
36 +image:charcoal-default.png
37 +image:charcoal-hover-link.png
38 +image:charcoal-hover-toggle.png
39 +image:charcoal-open.png
40 +{{/gallery}}
41 +
42 +The history table, under each page, is now responsive to the screen size:
43 +
44 +{{image reference="responsive-history.png" /}}
45 +
46 +Some improvements have been made on the responsive tables (including the livetables) and we have fixed the broken livetables for mobiles on some places:(((
47 +{{image reference="livetable-rights.png" width="30%"/}} {{image reference="mobile-users.png" width="30%"/}} {{image reference="mobile-groups.png" width="30%"/}}
48 +)))
49 +
50 +== Rating Features ==
51 +
52 +=== Ratings module ===
53 +
54 +Contrib ratings project has been moved to platform. Java APIs have been broken by the package renaming but script APIs have been kept retro-compatible and the UI is mostly the same.
55 +
56 +See [[Ratings Application>>extensions:Extension.Ratings Application]].
57 +
58 +=== Ratings support for extensions ===
59 +
60 +It's now possible to rate extensions in [[Extension Repository>>extensions:Extension.Repository Application]] and any repository handler can expose extension rating that are displayed (read only for now) in [[Extension Manager>>extensions:Extension.Extension Manager Application]].
61 +
62 +{{image reference="ratingem.png"/}} {{image reference="ratinger.png"/}}
63 +
64 +== Wiki Configuration ==
65 +
66 +A new "Configuration > Wiki" section is added in Administration where you can configure the current wiki, whether it is the main wiki or a subwiki.
67 +
68 +{{image reference="wikiDescriptorEditingAdministration-cropped.png"/}}
69 +
70 +For more information, see the [[documentation>>extensions:Extension.Wiki Application||anchor="HConfigureWiki"]].
71 +
72 +== New Parameters for Document Tree Macro ==
73 +
74 +We added 3 new parameters to the [[Document Tree Macro>>extensions:Extension.Document Tree Macro]]:
75 +
76 +* **filterByClass**: show only the documents that have an object of the specified type. The value of this parameter is the full name of an XWiki document that holds a class definition. For example, 'Blog.CategoryClass' can be used to show only the documents that represent blog categories.
77 +* **openTo**: the id of the node to open the tree to. All the ancestors of the specified node, up to the root of the tree, will be opened also.
78 +* **showOnlyViewable**: show only the wiki, space and document nodes for which the current user has view right. If this is set to false then the wiki, space and document nodes that are not viewable by the current user are listed in the tree using their names. The user won't be able to see their content by following their links though (the user will just be aware of their existence).
79 +
80 +== Mail Feature ==
81 +
82 +* The mail feature has a new Category in the Admin UI (see the [[Mail Application>>extensions:Extension.Mail Application]] for details).(((
83 +{{image reference="emailcategory.png"/}}
84 +)))
85 +* There's now the possibility to configure default BCC addresses which will be added by default to all emails sent using the [[Mail Sender API>>extensions:Extension.Mail Sender API]].(((
86 +{{image reference="emailsend.png"/}}
87 +)))
88 +* The [[Mail Sender API>>extensions:Extension.Mail Sender API]] now checks for permission before sending emails, when using it from scripts (i.e. when using the Mail Sender Script Service). There are currently 2 possible strategies that you configure in your ##xwiki.properties## file(((
89 +{{code language="none"}}
90 +#-# [Since 6.4M2]
91 +#-# Defines which authorization checks are done when sending mails using the Mail Sender Script Service.
92 +#-# Example of valid values:
93 +#-# - "programmingrights": the current document must have Programming Rights
94 +#-# - "alwaysallow": no check is performed. This is useful when running XWiki in a secure environment where we
95 +#-# want to allow all users to be able to send emails through the Script Service.
96 +#-# The default is:
97 +# mail.sender.scriptServiceCheckerHint = programmingrights
98 +{{/code}}
99 +)))
100 +* The [[Mail Sender API>>extensions:Extension.Mail Sender API]] has been modified to support sending a large number of mails at once. In addition the [[Mail Admin UI>>extensions:Extension.Mail Application]] has been improved to display the statuses of mails (when they're sent by XWiki features specifying that the mail statuses should be persisted).(((
101 +{{image reference="[email protected]"/}}
102 +
103 +{{image reference="[email protected]"/}}
104 +)))
15 15  * You can now specify the delay to wait between each mail being sent, in milliseconds. This is done to support mail throttling and not be considered a spammer by mail servers. For example if you wish to wait 10 seconds (if not specified the default is 8 seconds, which is 450 mails per hour), set the following in your ##xwiki.properties##:(((
16 16  {{code language="none"}}
17 17  mail.sender.sendWaitTime = 10000
... ... @@ -41,43 +41,241 @@
41 41  * The Java API has been modified to use Strings in all places where it was previously using a UUID, in order to allow for change in unique id generation in the future.
42 42  * The wiki is not displayed in the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]](((
43 43  {{image reference="mailwiki.png"/}}
134 +)))
135 +
136 +== Wikis ==
137 +
138 +* A "Wikis" category has been created in the administration, where the configuration have been moved and split in different sections:(((
139 +|=Left menu|=Right menu
140 +|{{image reference="AdminWikis.png"/}}|{{image reference="AdminWikis2.png"/}}
44 44  )))
45 -
142 +
143 +== Extension Manager incompatible exceptions ==
144 +
145 +When trying to install an incompatible extension (i.e. you are running XWiki 6.2.4 and want to install FAQ Application 6.3), you are now displayed a proper error instead of having to read through the install log to understand what went wrong, and you are instructed to use the ##Description > Stable Versions## section to manually (for now) find a compatible version of the extension that you want to install.
146 +
147 +{{image reference="[email protected]"/}}
148 +
149 +== Solr server setup package ==
150 +
151 +Everything needed to setup an XWiki index in a remote Solr server is now packaged in a standalone project (##xwiki-platform-search-solr-server-data##). A Debian package (##xwiki-solr-data##) has also been provided to make easier to keep it up to date.
152 +
46 46  == Miscellaneous ==
47 47  
48 -<insert misc user stuff and important bug fix descriptions here in a list, when they are too small to warrant a section by themselves - Change the version in the URL below!>
155 +* It's [[now possible to send Registration emails in HTML>>extensions:Extension.Administration Application||anchor="HRegistration"]] (by default they're sent in plain text). This is achieved by fully supporting any MIME content in the "Validation Email Content" and "Confirmation Email Content" sections of the Registration Administration UI. For example for the "Validation Email Content" field, you could use the following template to send HTML emails:(((
156 +{{code language="none"}}
157 +#set ($wikiname = $request.serverName)
158 +#set ($host = ${request.getRequestURL()})
159 +#set ($host = ${host.substring(0, ${host.indexOf('/', ${mathtool.add(${host.indexOf('//')}, 2)})})})
160 +Subject: Validate your account on ${wikiname}
161 +Content-type: text/html; charset=iso-8859-1
49 49  
163 +<p>Hello <b>${xwiki.getUserName("XWiki.$xwikiname", false)}</b>,</p>
164 +<p>This email address was used to register a new account on ${wikiname}. If you did not make the request, please ignore this message.</p>
165 +<p>In order to activate your account, please follow this link:
166 +${host}${xwiki.getURL('XWiki.AccountValidation', 'view', "validkey=${validkey}&xwikiname=${xwikiname}")}</p>
167 +{{/code}}
168 +)))
169 +* The selected tree node is now highlighted even when links are enabled:(((
170 +{{image reference="highlightSelectedTreeNode.png" /}}
171 +)))
172 +* A list of icons supported by XWiki have been created, with mapping for Silk and Font Awesome. Which means that we now propose a list of icons that are both present in Silk and Font Awesome.
173 +* The list of columns in the UserDirectory customization screen is now sorted alphabetically
174 +* The accuracy of the attachment content type detection has been improved. If the file name extension is unknown then we attempt to detect the content type from the first bytes of the file content. You can check this by attaching a text file without the 'txt' file name extension.
175 +* Displaying the 'Stable versions' label in an extension's description in Extension Manager before and after the list of versions is retrieved.
176 +* A click to the Document Index does not lead to an other space anymore.
177 +* [[extensions:Extension.Tag Cloud Macro]] has now a new parameter (spaces) to display a tag cloud from multiple spaces.
178 +
50 50  See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%22<version>%22&tempMax=1000]] fixed in this release.
51 51  
52 52  = For Developers =
53 53  
54 -== <developer feature N> ==
183 +== Icon Picker ==
55 55  
56 -<description of developer feature N>
185 +An [[icon picker>>extensions:Extension.Icon Theme Application||anchor="#HIconPicker"]] has been created to help users selecting an image in the list of supported icons.
57 57  
58 -== Deprecated and Retired projects ==
187 +(((
188 +{{image reference="icon-picker.png"/}}
189 +)))
59 59  
60 -<description of deprecated and retired projects>
191 +This picker is already used in [[Application Within Minutes>>extensions:Extension.App Within Minutes Application]] for the application's icon selection.
61 61  
193 +== Skin Extensions ==
194 +
195 +[[Now you can use LESS in your Skin Extensions!>>extensions:Extension.Skin Extension Plugin||anchor="HUseLESS"]]. You just need to set the new property "Content Type" to LESS inside your Skin Extension object:
196 +
197 +(((
198 +{{image reference="contentTypeLESS.png"/}}.
199 +)))
200 +
201 +== Admin ConfigurableClass ==
202 +
203 +The [[##ConfigurableClass## mechanism>>extensions:Extension.Administration Application||anchor="HMakingyourapplicationconfigurablewithConfigurableClass"]] has been improved to be able to contribute new categories in the Admin UI. For example the "Email" Category in the following screenshot is contributed through a ##ConfigurableClass##:
204 +
205 +{{image reference="emailcategory.png"/}}
206 +
207 +It was configured using:
208 +
209 +{{image reference="emailconfigurableclass.png"/}}
210 +
211 +== Velocity changes ==
212 +
213 +=== Remove a Velocity Engine from the cache ===
214 +
215 +##org.xwiki.velocity.VelocityFactory## now provide an API to remove a cached Velocity Engine.
216 +
217 +=== Overriding Velocimacros in wiki-based skins ===
218 +
219 +It's now possible to override the ##macros.vm## template in a wiki based skin (object property and attachment). Any modification to this template is also taken into account (the Velocity engine is recreated when the template is modified).
220 +
221 +=== Cleanup unprotected namespaces ===
222 +
223 +VelocityEngine automatically get rid of the passed namespace at the end of execution unless it's protected.
224 +
225 +In practice in means that the following:
226 +
227 +{{code language="java"}}
228 +engine.evaluate(new VelocityContext(), new StringWriter(), "namespace", "#macro(mymacro)toto#end")
229 +
230 +Writer out = new StringWriter();
231 +engine.evaluate(new VelocityContext(), out, "namespace", "#mymacro()")
232 +
233 +System.out.println(out.toString())
234 +{{/code}}
235 +
236 +will now print
237 +
238 +{{code language="none"}}
239 +#mymacro()
240 +{{/code}}
241 +
242 +To get
243 +
244 +{{code language="none"}}
245 +toto
246 +{{/code}}
247 +
248 +you need the following
249 +
250 +{{code language="java"}}
251 +engine.startedUsingMacroNamespace("namespace")
252 +
253 +try {
254 + engine.evaluate(new VelocityContext(), new StringWriter(), "namespace", "#macro(mymacro)toto#end")
255 +
256 + Writer out = new StringWriter();
257 + engine.evaluate(new VelocityContext(), out, "namespace", "#mymacro()")
258 +
259 + System.out.println(out.toString())
260 +} finally {
261 + engine.stoppedUsingMacroNamespace("namespace")
262 +}
263 +{{/code}}
264 +
265 +== Skins system improvements ==
266 +
267 +Support for a new ##skin.properties## configuration file has been introduced in filesystem skins.
268 +
269 +Right now it supports a ##parent## property to indicate another skin to inherit from. If set to an empty value ({{code language="properties"}}parent={{/code}}) the skin will directly inherit from the WAR; if not set at all it will behave as before which means inherit from whatever is configured in ##xwiki.cfg##'s ##xwiki.defaultbaseskin## property.
270 +
271 +== Component Metadata Access ==
272 +
273 +If your Component implementation needs to get access to its component metadata (i.e. its ##ComponentDescriptor##) then it can [[get it injected automatically>>extensions:Extension.Component Module||anchor="HComponentMetadata"]]. For example:
274 +
275 +{{code language="java"}}
276 +import org.xwiki.component.descriptor.ComponentDescriptor;
277 +...
278 [email protected]
279 [email protected]
280 +public class MyComponentImpl implements MyComponent
281 +{
282 + @Inject
283 + private ComponentDescriptor<MyComponent> descriptor;
284 +
285 + public void doSomething()
286 + {
287 + String hint = this.descriptor.getRoleHint();
288 + ...
289 + }
290 +}
291 +{{/code}}
292 +
293 +== Panels executed with the rights of their author ==
294 +
295 +It's now possible to write script requiring programming right in panels as long as you have programming right, same as wiki macros.
296 +
297 +== UI extensions executed with the rights of their author ==
298 +
299 +What you can execute in UI extension used to depend on current document author right, it's now based on the own ui extension author.
300 +
301 +== Rendering ==
302 +
303 +* XWiki Rendering now provide an HTML5 Renderer.
304 +
305 +== Miscellaneous ==
306 +
307 +* Added new APIs to get all the icon themes present on the wiki, and all icons that these icon themes contain.(((
308 +{{code language="velocity"}}
309 +$services.icon.getIconSetNames()
310 +$services.icon.getIconNames()
311 +$services.icon.getIconNames("Font Awesome")
312 +{{/code}}
313 +)))
314 +* A new parameter has been added to the ##get## action and the ##plain## xpage: ##htmlHeaderAndFooter##, which add the HTML headers (##<html>##,##<head>##,##<body>##, etc...) and footers (##</body>##, ##</html>##, etc...). It could be useful to create light popups that display only the document content without any UI.
315 +* XWikiAttachment now provide ##setAuthorReference## and ##getAuthorReference## APIs
316 +* ##org.xwiki.logging.event.LogEvent## now have a getTimestamp() method returning the number of milliseconds elapsed from 1/1/1970 until logging event was created.
317 +* A SOLR-based implementation of the standard REST search resource has been added
318 +* The [[Solr Query>>extensions:Extension.Solr Search Query API]] parameter ##xwiki.supportedLocales## has a new default value: the list of supported locales configured for the current wiki (where you execute the search).
319 +* The ##{{{@Component}}}## annotation is no longer inheritable. Thus each component implementation class must now define it and not rely on it being present in some Abstract class.
320 +* The XWiki build now verifies that all components are correctly listed in ##META-INF/components.txt## files and that the threading model is explicitly defined (i.e. that either ##{{{@Singleton}}}## or ##{{{@InstantiationStrategy(ComponentInstantiationStrategy.PER_LOOKUP)}}}## is used). If not, the build fails. A new ##{{{@Component}}}## annotation parameter has been added for explicitly mentioning that a Component should not be statically registered (these components are usually used in tests). It's used as follows:(((
321 +{{code language="java"}}
322 [email protected](staticRegistration = false)
323 +{{/code}}
324 +)))
325 +* You can now control in which order the sections added via the [[ConfigurableClass>>extensions:Extension.Administration Application||anchor="HFieldsyoucandefine"]] are displayed in the administration.
326 +* New APIs to generate unescaped display user name:
327 +** ##com.xpn.xwiki.XWiki#getPlainUserName(DocumentReference userReference, XWikiContext context)##
328 +** ##com.xpn.xwiki.XWiki#getUserName(DocumentReference userReference, String format, boolean link, boolean escapeXML, XWikiContext context)##
329 +** ##com.xpn.xwiki.api.XWiki#getPlainUserName(DocumentReference userReference)##
330 +* New script oriented APIs to get document author/contentAuthor/creator as ##DocumentReference##
331 +
62 62  == Upgrades ==
63 63  
64 64  The following dependencies have been upgraded:
65 65  
66 -* <list libraries that have been upgraded>
336 +* [[httpclient 4.3.6>>http://jira.xwiki.org/browse/XCOMMONS-681]]
337 +* [[commons-codec 1.10>>http://jira.xwiki.org/browse/XCOMMONS-684]]
338 +* [[Groovy 2.3.8>>http://jira.xwiki.org/browse/XCOMMONS-704]]
339 +* [[JGroups 3.6.1>>http://jira.xwiki.org/browse/XWIKI-11523]]
340 +* [[Pygments 2.0.1>>http://jira.xwiki.org/browse/XWIKI-11522]]
341 +* [[Joda-Time 2.6>>http://jira.xwiki.org/browse/XWIKI-11516]]
342 +* [[Bootstrap 3.3.1>>http://jira.xwiki.org/browse/XWIKI-11381]]
343 +* [[Bootswatch 3.3.1+2>>http://jira.xwiki.org/browse/XWIKI-11569]]
344 +* [[slf4j 1.7.9>>http://jira.xwiki.org/browse/XCOMMONS-712]]
345 +* [[Lucene and SOLR 4.10.3>>http://jira.xwiki.org/browse/XWIKI-11603]]
67 67  
68 68  == Miscellaneous ==
69 69  
70 -* it's now possible to provide metadatas to ##MacroContentParser#parse## API
349 +* It's now possible to provide metadatas to ##MacroContentParser#parse## API
350 +* It's now possible to know what namespace a ComponentManager instance is associated with by casting it to ##org.xwiki.component.manager.NamespacedComponentManager##. See [[Component Module documentation>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module||anchor="HNamespacedComponentManager"]].
351 +* Added getCurrentWikiDescriptor() method to the wiki API and script service to be consistent with the existing getCurrentWikiId() method
352 +* The ClassLoader automatically set as Thread ClassLoader is now dynamic meaning that any modification of the context wiki will automatically change the actual Thread ClassLoader. It used to be set to whatever was the wiki in the URL at ExecutionContext init.
353 +* [[A new CSS class>>platform:DevGuide.SpecialCSSClasses||anchor="HClassesfortheresponsiveness"]] have been added in Flamingo, to handle responsive tables.
354 +* The #sheetTitle Velocity macro supports a new use case: displaying the sheet title if the current document doesn't have an object of some type:(((
355 +{{code language="none"}}
356 +#sheetTitle('The sheet used to display objects of type Space.MyClass', 'Space.MyClass')
357 +{{/code}}
358 +)))
71 71  
72 72  = Translations =
73 73  
74 74  The following translations have been updated:
75 75  
76 -{{language codes="none, none"/}}
364 +{{language codes="da, de, es, fr, ko, lv, pl, pt_BR, ro, ru, sv, tr"/}}
77 77  
78 78  = Tested Browsers & Databases =
79 79  
80 -{{include reference="TestReports.ManualTestReportTemplateSummary"/}}
368 +{{include reference="TestReports.ManualTestReportSummaryXWiki64"/}}
81 81  
82 82  = Performances tests compared to <last super stable version> =
83 83  
... ... @@ -95,9 +95,10 @@
95 95  
96 96  When upgrading make sure you compare your ##xwiki.cfg##, ##xwiki.properties## and ##web.xml## files with the newest version since some configuration parameters may have been modified or 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.
97 97  
98 -== Issues specific to XWiki <version> ==
386 +== Issues specific to XWiki 6.4 ==
99 99  
100 -<issues specific to the project>
388 +* VelocityEngine automatically get rid of the passed namespace at the end of execution unless it's protected. See [[Velocity section>>||anchor="HVelocitychanges"]].
389 +* If upgrading the content in the DistributionWizard, and the upgrade is from XWiki 6.2.x or 6.3, you might get a conflict for the document Blog.BlogSheet. Unless you have done modifications to that document, please keep the new version; otherwise please keep the merged, or if not available, keep your version. For details see issue [[XWIKI-11450>>http://jira.xwiki.org/browse/XWIKI-11450]].
101 101  
102 102  == API Breakages ==
103 103  

Get Connected