Wiki source code of Release Notes for XWiki Enterprise 4.1
Version 3.1 by Caleb James DeLisle on 2012/06/15
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | {{warning}}4.1 is not released yet, this is a work in progress{{/warning}} | ||
6 | |||
7 | This is the second release of the 4.x cycle ([[Roadmap>>Main.Roadmap]]). This release brings {{todo/}} | ||
8 | |||
9 | = New and Noteworthy (since XWiki Enterprise 4.0 version) = | ||
10 | |||
11 | Here are notable new features and improvements. For the full list of issues (including statistics) see the [[JIRA Dashboard>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11191]]. | ||
12 | |||
13 | == Miscellaneous == | ||
14 | |||
15 | * There's now a link to the [[Getting Started Guide>>enterprise:GettingStarted.WebHome]] on the XWiki Enterprise home page. | ||
16 | |||
17 | = For developers = | ||
18 | |||
19 | == Hiding of technical content from users. == | ||
20 | |||
21 | The basic support for hidden documents introduced in XWiki Enterprise 1.7 has been reimplemented differently (the previous implementation was not allowing anyone, including Admins, to see hidden documents!). The new logic is currently as follows (it'll be discussed and probably modified in XWiki Enterprise 4.1): | ||
22 | |||
23 | * Simple users never see hidden documents | ||
24 | * For advanced users, it is now possible to specify that a document should be hidden when editing the document (only //wiki// or //wysiwyg// edit modes):((( | ||
25 | {{image reference="ReleaseNotesXWikiEnterprise40RC1@hidden.png"/}} | ||
26 | |||
27 | And now there's a new setting in the user profiles, letting users chose if they want hidden documents to appear in search results or not: | ||
28 | |||
29 | {{image reference="ReleaseNotesXWikiEnterprise40RC1@hiddenSettings.png"/}} | ||
30 | |||
31 | {{warning}} | ||
32 | As already mentioned above in warning, setting the Hidden configuration value will currently not have any effect on the default XWiki Enterprise pages since they're not calling the new filtering API yet (you'll need to wait for 4.1 for taht!). However it's supposed to work like this: | ||
33 | {{/warning}} | ||
34 | |||
35 | * If the user doesn't set explicitly the Hidden setting value in his profile, he won't see hidden documents by default. Thus seeing hidden documents is an explicit choice. | ||
36 | ))) | ||
37 | |||
38 | To test this feature do the following: | ||
39 | |||
40 | * Log as Admin on your wiki (or any user having edit rights) | ||
41 | * Create a Page, say in ##Sandbox.HiddenFeatureTest## and put the following content in wiki edition mode:((( | ||
42 | {{code}} | ||
43 | {{velocity}} | ||
44 | #set ($items = $services.query.xwql("where doc.name like 'S%'").setFilter("hidden").execute()) | ||
45 | There are $items.size() documents starting with 'S' | ||
46 | |||
47 | #foreach ($item in $items) | ||
48 | * [[$item]] | ||
49 | #end | ||
50 | {{/velocity}} | ||
51 | {{/code}} | ||
52 | ))) | ||
53 | * It'll print the number of matching documents (31 in a XWiki Enterprise 4.0 RC 1 with the default XAR) and the list of matching documents | ||
54 | * Then go to ##Main.Search## (for example), edit the page and check the Hidden checkbox and save | ||
55 | * Go back to the ##Sandbox.HiddenFeatureTest## page and verify there's one less document printed now (it should say 30 in a XWiki Enterprise 4.0 RC 1 with the default XAR) | ||
56 | * Then go to your user profile and select "Display Hidden Documents" to "Yes" | ||
57 | * Go back to the ##Sandbox.HiddenFeatureTest## page and verify it's listing all documents again (it should say 31 in a XWiki Enterprise 4.0 RC 1 with the default XAR) | ||
58 | |||
59 | == Miscellaneous == | ||
60 | |||
61 | |||
62 | == Upgrades == | ||
63 | |||
64 | The following dependencies have been upgraded: | ||
65 | |||
66 | {{todo/}} | ||
67 | |||
68 | = Tested Browsers = | ||
69 | |||
70 | 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]]): | ||
71 | |||
72 | |||
73 | {{todo/}} | ||
74 | |||
75 | |||
76 | = Tested Databases = | ||
77 | |||
78 | {{todo/}} | ||
79 | |||
80 | |||
81 | = Known issues = | ||
82 | |||
83 | * [[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]] | ||
84 | |||
85 | = Test Report = | ||
86 | |||
87 | You can check the [[manual test report>>TestReports.ManualTestReportXE41]] to learn about what was tested and the results on various browsers. | ||
88 | |||
89 | = Backward Compatibility and Migration Notes = | ||
90 | |||
91 | == General Notes == | ||
92 | |||
93 | {{info}} | ||
94 | If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases// in your //xwiki.cfg// file if you want to explicitly name some databases to be migrated as the default is now to migrate all databases. Database that are not migrated could not be accessed. | ||
95 | {{/info}} | ||
96 | |||
97 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above. | ||
98 | |||
99 | {{warning}} | ||
100 | 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. | ||
101 | {{/warning}} | ||
102 | |||
103 | == API Breakages == | ||
104 | |||
105 | The following APIs were modified since version 4.0: | ||
106 | |||
107 | {{code language="none"}} | ||
108 | {{todo/}} | ||
109 | {{/code}} |