<
From version < 14.1 >
edited by Guillaume Delhumeau
on 2015/09/23
To version < 16.1 >
edited by Guillaume Delhumeau
on 2015/09/23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -71,6 +71,49 @@
71 71  
72 72  {{image reference="[email protected]"/}}
73 73  
74 +== Flamingo ==
75 +
76 +Following the introduction of the Nested Documents feature, we have changed a lot our default Flamingo skin:
77 +
78 +* The top menu has been removed and replaced by a drawer menu that you can expand by clicking on the top right icon
79 +* The add menu has been relocated near the edit one
80 +* The L&F of the Add, Edit, and "More Actions" menus has been changed
81 +* A lot of actions have been moved to the "More Actions" menu
82 +* The page breadcrumb has suffered some changes:
83 +** it is now also displayed on the wiki home page
84 +** the wiki home page is now included when it is part of the current document's hierarchy, i.e. for children and descendants of the wiki home page. See [[XWIKI-12423>>http://jira.xwiki.org/browse/XWIKI-12423]] for more details.
85 +** the sub-wiki pretty name is included between the home icon and the local page path
86 +* The actions menus (edit, create, more actions) are now available from the rename, copy and delete actions.
87 +* The create, copy and rename page actions have been modified to support nested documents:
88 +** The source and target documents are displayed using the breadcrumb
89 +** The target document can be selected using a document tree picker
90 +** For advanced users there is also the option to specify the target document using some text input fields (location advanced edit mode). This is useful especially if you want to create/move the page under a parent that doesn't exist yet (you cannot use the tree picker in this case because the parent would not be available in the tree).
91 +* The delete action proposes to delete the children of the document.
92 +
93 +{{gallery}}
94 +image:[email protected]
95 +image:[email protected]
96 +image:[email protected]_actions.png
97 +image:[email protected]
98 +image:[email protected]
99 +image:[email protected]
100 +image:[email protected]
101 +image:[email protected]
102 +image:[email protected]
103 +image:[email protected]
104 +image:[email protected]
105 +image:[email protected]
106 +image:[email protected]
107 +image:[email protected]
108 +image:[email protected]
109 +image:[email protected]
110 +image:[email protected]
111 +{{/gallery}}
112 +
113 +== LDAP improvements ==
114 +
115 +It's now possible to disable subgroups resolution using ##xwiki.authentication.ldap.group_sync_resolve_subgroups## property in ##xwiki.cfg## configuration file. Resolving each member to check if it's a group might be very expensive with big groups so if you know there is no subgroup you should really disable it.
116 +
74 74  == Miscellaneous ==
75 75  
76 76  <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!>
... ... @@ -87,6 +87,18 @@
87 87  * The LiveTable macro is now working fine when there are Nested Spaces (some links were failing).
88 88  * The Solr Search is now able to correctly find nested documents. The Search UI still needs to be fixed though (some links may be broken and the document location/paths are not correctly displayed) but otherwise the results should be accurate.
89 89  
133 +* The Navigation panel displays nested pages:(((
134 +{{image reference="[email protected]"/}}
135 +)))
136 +* When renaming or copying a nested page the document title is updated to reflect the new page name if its previous value was equal the old page name. This was happening already for terminal pages. We extended the behaviour to nested pages.
137 +* Fixed various issues for several applications bundled in XE (such as WatchList and Annotations), which should now work well with Nested Spaces.
138 +* The Administration mode for spaces and wikis now uses the standard reference-based breadcrumbs instead of the previously custom section-based breadcrumbs.(((
139 +{{image reference="[email protected]"/}}
140 +)))
141 +* The Administration mode no longer features a select input on the right side for navigation between spaces since that input does no longer scale in the context of Nested Spaces. Thus, the breadcrumbs should be used instead and the future UI improvements that will soon become available in this direction.
142 +* It's now possible to create Skins in Nested Spaces.
143 +* Changed the exception message displayed when a script execution fails due to lack of rights to make it clearer that it's not a problem with the current user, but with the script.
144 +
90 90  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.
91 91  
92 92  = For Developers =
... ... @@ -333,9 +333,110 @@
333 333  
334 334  The difference with default provider is that the readonly one won't try to create a new XWikiContext and will return null if it can't find any. It's been introduce for some low level components that were used during XWikiContext creation but in general it should be used by any component that only search for some XWikiContext property that might be null even in a valid XWikiContext.
335 335  
391 +== New Space/XWikiSpace table ==
392 +
393 +A [[new table dedicated to Spaces has been introduced>>platform:DevGuide.DatabaseSchema]], in order to have performant and scalable Space-related queries (like supporting getting paginated Space which is useful for the Document Tree macro for example).
394 +
395 +== Queries improvement ==
396 +
397 +=== Allow executing complete SELECT queries ===
398 +
399 +In HQL and XWQL it's now possible to execute full ##SELECT## queries without Programming Right as long as you follow some rules currently defined in ##com.xpn.xwiki.internal.store.hibernate.query.HqlQueryUtils##, which contains a list of the database field allowed in the SELECT clause. Namely:
400 +
401 +* For the ##Document##/##XWikiDocument## table: ##fullName##, ##name##, ##space##, ##language##, ##defaultLanguage##, ##translation##, ##hidden##
402 +* For the ##Space##/##XWikiSpace## table: ##reference##, ##name##, ##parent##, ##hidden##
403 +
404 +This is also true for the Named Queries located in the ##queries.hbm.xml## file.
405 +
406 +=== New Secure Query ===
407 +
408 +The right to execute or not some Query is now controlled by each ##org.xwiki.query.QueryExecutor##.
409 +
410 +Anyone can ask the executor to check or ignore Right through the new ##org.xwiki.query.SecureQuery## extending ##org.xwiki.query.Query##:
411 +
412 +* ##checkCurrentAuthor()##: indicate if the current author right should be checked
413 +* ##checkCurrentUser()##: indicate if the result should be filtered based on current user Right (only implemented by SOLR right now)
414 +
415 +== JS API Improvements ==
416 +
417 +* It's now possible to create a Nested Spaces Reference using XWiki's Javascript API. For example:(((
418 +{{code language="javascript"}}
419 +// Construct a Nested Space reference
420 +var reference = new XWiki.SpaceReference('wiki', ['space1', 'space2']);
421 +expect(XWiki.Model.serialize(reference)).toEqual('wiki:space1.space2');
422 +reference = new XWiki.DocumentReference('wiki', ['space1', 'space2'], 'page');
423 +expect(XWiki.Model.serialize(reference)).toEqual('wiki:space1.space2.page');
424 +// Construct a non-Nested Space reference
425 +reference = new XWiki.SpaceReference('wiki', 'space');
426 +expect(XWiki.Model.serialize(reference)).toEqual('wiki:space');
427 +// Try passing non-valid space parameters
428 +expect(function() {new XWiki.SpaceReference('wiki', [])}).toThrow('Missing mandatory space name or invalid type for: []');
429 +expect(function() {new XWiki.SpaceReference('wiki', 12)}).toThrow('Missing mandatory space name or invalid type for: [12]');
430 +{{/code}}
431 +)))
432 +* A new ##XWiki.EntityReference.equals()## method has been added. For example:(((
433 +{{code language="javascript"}}
434 +var reference1 = new XWiki.DocumentReference('wiki', ['space1', 'space2'], 'page');
435 +var reference2 = new XWiki.DocumentReference('wiki', ['space1', 'space2'], 'page');
436 +var reference3 = new XWiki.DocumentReference('wiki2', ['space1', 'space2'], 'page');
437 +expect(reference1.equals(reference2)).toBe(true);
438 +expect(reference1.equals(reference3)).toBe(false);
439 +{{/code}}
440 +)))
441 +* A new ##XWiki.EntityReference.fromJSONObject(obejct)## has been added to create a Javascript ##XWiki.EntityReference## from a Java ##EntityReference## directly serialized as JSON:(((
442 +{{code language="javascript"}}
443 +var reference = XWiki.EntityReference.fromJSONObject(jsonText.evalJSON());
444 +{{/code}}
445 +)))
446 +* A new ##XWiki.EntityReferenceTree## JS class has been added, which partially mimics the Java ##EntityReferenceTree## Class. It's still missing features though as it was introduced mostly to make it easier to manipulate a serialized Java ##EntityReferenceTree##.
447 +
448 +== Updated Document Tree Macro ==
449 +
450 +The [[Document Tree Macro>>extensions:Extension.Document Tree Macro]] now supports Nested Documents and Nested Spaces modes. Specifically, the following changes have been made:
451 +
452 +* removed the ##showSpaceAsDocument## parameter (was introduced recently in 7.2M1)
453 +* deprecated the ##showChildDocuments## parameter
454 +* added the ##hierarchyMode## parameter with two supported values: ##reference## (default) and ##parentchild##
455 +
456 +As a result, you can use the document tree macro like this:
457 +
458 +* Nested Document Tree(((
459 +{{code language="none"}}
460 +{{documentTree/}}
461 +{{/code}}
462 +)))
463 +* Nested Space + Page Tree(((
464 +{{code language="none"}}
465 +{{documentTree showSpaces="true" /}}
466 +{{/code}}
467 +)))
468 +* Parent-Child Document Tree(((
469 +{{code language="none"}}
470 +{{documentTree hierarchyMode="parentchild" /}}
471 +{{/code}}
472 +)))
473 +* Old Document Index Tree (i.e. Parent-Child mixed with space grouping)(((
474 +{{code language="none"}}
475 +{{documentTree hierarchyMode="parentchild" showSpaces="true" /}}
476 +{{/code}}
477 +)))
478 +
479 +== Reference Scripting API for Nested Spaces ==
480 +
481 +The Script API for Entity References has been updated with new APIs to support creating Nested Spaces references. For example:
482 +
483 +{{code language="none"}}
484 +{{velocity}}
485 +$services.model.createDocumentReference("wiki", ["space1", "space2"], "page")
486 +$services.model.createDocumentReference("wiki", ["space1", "space2"], "page", "default")
487 +$services.model.createSpaceReference(["space1", "space2"], $services.model.createWikiReference("wiki"))
488 +{{/velocity}}
489 +{{/code}}
490 +
491 +
336 336  == Deprecated and Retired projects ==
337 337  
338 -<description of deprecated and retired projects>
494 +* The [[OSCache-based Cache Extension>>extensions:Extension.Cache OSCache]] has been [[moved to ##xwiki-contrib##>>https://github.com/xwiki-contrib/xwiki-platform-cache-oscache]] since we've been using the Infinispan implementation for a while now and the XWiki Core developers don't intend to continue supporting the OSCache-based one (it can be maintained by the Community, by whoever's interested in supporting it).
339 339  
340 340  == Upgrades ==
341 341  
... ... @@ -349,7 +349,11 @@
349 349  * [[Infinispan 7.2.3>>http://jira.xwiki.org/browse/XWIKI-12227]]
350 350  * [[HSQLDB 2.3.3>>http://jira.xwiki.org/browse/XE-1491]]
351 351  * [[JGroups 3.6.4>>http://jira.xwiki.org/browse/XWIKI-12215]]
352 -* [[Jackson 2.5.4>>http://jira.xwiki.org/browse/XCOMMONS-828]]
508 +* [[Groovy 2.4.4>>http://jira.xwiki.org/browse/XCOMMONS-831]]
509 +* [[Tika 1.9>>http://jira.xwiki.org/browse/XWIKI-12274]]
510 +* [[JRuby 1.7.21>>http://jira.xwiki.org/browse/XWIKI-12344]]
511 +* [[Jackson 2.6.0>>http://jira.xwiki.org/browse/XCOMMONS-833]]
512 +* [[Hibernate Validator 4.3.2>>http://jira.xwiki.org/browse/XWIKI-12365]]
353 353  
354 354  == Miscellaneous ==
355 355  
... ... @@ -362,7 +362,28 @@
362 362  * A new DocumentModelBridge.getContentAuthorReference() method has been added to allow accessing the content author of a document without depending on oldcore.
363 363  * Deprecate XWiki.parseContent(...) since it is was misleading and outdated. Its documentation mentioned that the passed content is parsed as velocity code, but it was actually doing much more than that and had some unwanted side-effect. Instead, use the parse/renderer that is specific to the type of content you have. See more details in [[XWIKI-12299>>http://jira.xwiki.org/browse/XWIKI-12299]].
364 364  * A new script service is available to retrieve the status of a specified job or the status of the currently running job from a specified group. See the [[Job Module>>extensions:Extension.Job Module||anchor="HScriptService"]] documentation for details.
525 +* Custom displayers are now executed with the Rights of the user who wrote them (i.e. author of the class document or content author of the displayer document), and not the Rights of the user who wrote the script that uses them (i.e. current context document's content author). See [[XWIKI-12306>>http://jira.xwiki.org/browse/XWIKI-12306]] for more details.
526 +* In the [[Active Install Extension>>extensions:Extension.Active Installs Server Application]], a new Velocity Macro has been introduced to compute the number of Active Installs having a specific Extension. Example usage:(((
527 +{{code language="none"}}
528 +{{include reference="ActiveInstalls.ExtensionCount"/}}
365 365  
530 +{{velocity}}
531 + #set ($extensionIds = [
532 + 'org.xwiki.contrib:xwiki-totem-application',
533 + 'jsimard:event-reporter-application',
534 + 'mouhb:likeapplication'
535 + ])
536 + |=Extension Id|=Count
537 + #foreach($extensionId in $extensionIds)
538 + #countActiveInstallsUsingExtension($extensionId $count)
539 + |$extensionId|$count
540 + #end
541 +{{/velocity}}
542 +{{/code}}
543 +)))
544 +* Better support of non-DOCUMENT ##EntityReferences## in ##DocumentReferenceConverter##. It now behaves like ##XWiki#getDocument(EntityReference)##
545 +* The Copy/Rename/Delete UI actions are now using the [[Refactoring Module's Script Services>>extensions:Extension.Refactoring Module]].
546 +
366 366  = Translations =
367 367  
368 368  The following translations have been updated:

Get Connected