Wiki source code of XWiki Enterprise 2.2 Milestone 1
Version 22.1 by Thomas Mortagne on 2010/01/16
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}} |
2 | |||
![]() |
18.1 | 3 | First milestone of the XWiki Enterprise 2.2 version ([[Roadmap>>enterprise:Main.Roadmap]]). |
![]() |
1.1 | 4 | |
![]() |
20.1 | 5 | This release mainly introduces new Model, the possibility to register wiki macros for any user or wiki and many improvements of xar import. |
![]() |
1.1 | 6 | |
7 | = New and Noteworthy (since XWiki Enterprise 2.1.1) = | ||
8 | |||
![]() |
7.1 | 9 | == Contextual wikimacros == |
![]() |
8.1 | 10 | |
![]() |
3.1 | 11 | It's now possible for any user to register wiki macro anywhere and in any wiki. |
![]() |
1.1 | 12 | |
![]() |
6.2 | 13 | For example if the user does not have the proper right, only he will see the macro he registered, then an admin can re-save it to make it available for everyone if the macro is validated. |
![]() |
1.1 | 14 | |
![]() |
7.1 | 15 | == General UI improvements == |
![]() |
16.1 | 16 | |
![]() |
10.1 | 17 | * In the wiki source code viewer, allow to toggle line numbers faster from Javascript |
18 | * Enable full screen view when displaying the wiki source code (viewer=code) | ||
19 | * Internationalize macro descriptors | ||
20 | * Attachment trash | ||
21 | * Display the contents of the Document Recycle Bin in the document index | ||
22 | * ActionMenu: Add Profile submenu item to the "current user" menu | ||
![]() |
1.1 | 23 | image:XSCOLIBRI-170.png |
![]() |
10.1 | 24 | * Reorder the document actions in the "More actions" menu: copy, rename, delete |
![]() |
1.1 | 25 | |
![]() |
7.1 | 26 | == Development improvements == |
![]() |
16.1 | 27 | |
![]() |
10.1 | 28 | * Added support for "xcontext" binding in 1.0 groovy macro |
29 | * Allow set to null in velocity | ||
30 | * Add an API method for creating a LinkedHashMap | ||
31 | * New APIs for accessing deleted attachments from the trash | ||
32 | * The class wizard should propose to add a SheetClass object to the class sheet | ||
33 | * Add support for 'on page' style extensions | ||
![]() |
1.1 | 34 | |
![]() |
7.1 | 35 | == Office import improvements == |
![]() |
16.1 | 36 | |
![]() |
10.1 | 37 | * Added support for Office2007 document formats |
![]() |
1.1 | 38 | |
![]() |
7.1 | 39 | == XAR Import improvements == |
![]() |
1.1 | 40 | |
![]() |
12.1 | 41 | The XAR import interface has been revamped. The new interface (see screenshots below) now provides : |
42 | |||
![]() |
15.1 | 43 | * More explicit options regarding revision history handling |
44 | * The new option to **add a new version to existing documents** instead of overriding them | ||
![]() |
12.1 | 45 | * A rich UI that allows to select/unselect whole spaces at once |
46 | * Support for importing when no javascript is available. The UI degrades nicely to a less rich interface | ||
47 | |||
![]() |
16.1 | 48 | [[image:importer.png||width="700"]] |
![]() |
12.1 | 49 | |
![]() |
7.1 | 50 | == Blog improvement == |
![]() |
16.1 | 51 | |
![]() |
10.1 | 52 | * Add the Create a new post to category pages - when used by default select that category |
![]() |
1.1 | 53 | |
![]() |
7.1 | 54 | == Dependencies upgrade == |
![]() |
16.1 | 55 | |
![]() |
7.1 | 56 | * Upgraded to Groovy 1.7 |
57 | |||
![]() |
21.1 | 58 | == New Model module with Reference implementation == |
59 | |||
60 | The goal is to provide [[APIs>>http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-model/]] to remove all String manipulations around documents and attachment names. It also introduces the concept of Reference for any entity of the model and the parser/serializer associated. For now Wiki, Space, Document and attachment are supported; classes objects and properties should come in milestone 2. | ||
61 | |||
62 | From a user point of view this will result in supporting any character in document names for example. In addition, this is also a step in the direction of supporting nested spaces (the storage would also need to be changed to support that). | ||
63 | |||
64 | In practice the existing code has not yet been fully refactored to benefit from the new implementation. The work has been started in XWiki Enterprise 2.2 Milestone 1 and will continue in XWiki Enterprise 2.2 Milestone 2 and beyond. | ||
65 | |||
![]() |
7.1 | 66 | == Miscellaneous == |
![]() |
16.1 | 67 | |
![]() |
1.1 | 68 | * Always use UTF-8 for URL encoding |
69 | * Attachments should produce document modification events | ||
70 | |||
71 | * Lots of accessibility fixes | ||
72 | * Lots of bugs fixes | ||
73 | |||
74 | = Known issues = | ||
75 | |||
76 | * [[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]] | ||
77 | |||
78 | = Backward Compatibility and Migration Notes = | ||
79 | |||
80 | == General Notes == | ||
81 | |||
82 | {{warning}}If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases=all// to your //xwiki.cfg// file or explicitly name all databases to be migrated as in <tt>xwiki.store.migration.databases=db1,db2,...//.{{/warning}} | ||
83 | |||
![]() |
6.2 | 84 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. |
![]() |
1.1 | 85 | |
![]() |
6.2 | 86 | {{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}} |
![]() |
1.1 | 87 | |
88 | == Migration Notes == | ||
89 | |||
![]() |
17.1 | 90 | * The new parser/serializer for document names comes with new features and changes some behaviors: |
91 | ** introducing escaping means: | ||
92 | *** ##\## which is escaping character need to be doubled in full document name like in ##Space.Docume | ||
93 | nt## whcih mean space ##Space## and document ##Docum\ent## | ||
94 | *** some generated documents names will now contains ##\## to escape thing like dot in a document name. For example ##Space.Docu\.ment## means space ##Space## and document ##Docu.ment## | ||
95 | ** support for the syntax ##wikiname:Document## has been dropped, so in this example "wikiname:Document" will be seen as the document name because no ##.## has been found | ||
![]() |
22.1 | 96 | |
97 | = Dependencies = | ||
98 | |||
99 | This release includes the following modules in the specified versions since XWiki Enterprise 2.1.1 was released. | ||
100 | |||
101 | == Core/Web == | ||
102 | |||
103 | |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL | ||
104 | |##com.xpn.xwiki.platform##|##xwiki-*##|2.2-milestone-1|2.1.1|[[jira>>http://jira.xwiki.org/jira/browse/XWIKI]] | ||
105 | |##org.xwiki.platform##|##xwiki-*##|2.2-milestone-1|2.1.1|[[jira>>http://jira.xwiki.org/jira/browse/XWIKI]] | ||
106 | |||
107 | == Applications == | ||
108 | |||
109 | |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL | ||
110 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-administration##|1.22|1.21|[[jira>>http://jira.xwiki.org/jira/browse/XAADMINISTRATION]] | ||
111 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-blog##|1.19|1.18|[[jira>>http://jira.xwiki.org/jira/browse/XABLOG]] | ||
112 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-officeimporter##|1.13|1.12|[[jira>>http://jira.xwiki.org/jira/browse/XAOFFICE]] | ||
113 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-panels##|1.31|1.30|[[jira>>http://jira.xwiki.org/jira/browse/XAPANELS]] | ||
114 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-scheduler##|1.16|1.15|[[jira>>http://jira.xwiki.org/jira/browse/XASCH]] | ||
115 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-statistics##|1.6|1.5|[[jira>>http://jira.xwiki.org/jira/browse/XASTATS]] | ||
116 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-tag##|1.8|1.8|[[jira>>http://jira.xwiki.org/jira/browse/XATAG]] | ||
117 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-watchlist##|1.24|1.23|[[jira>>http://jira.xwiki.org/jira/browse/XPWATCHLIST]] | ||
118 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-webdav##|1.2|1.2|[[jira>>http://jira.xwiki.org/jira/browse/XAWEBDAV]] | ||
119 | |##com.xpn.xwiki.platform.applications##|##xwiki-application-wiki-macro-bridge##|1.3|1.2|[[jira>>http://jira.xwiki.org/jira/browse/XAWMB]] | ||
120 | |||
121 | == Plugins == | ||
122 | |||
123 | |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL | ||
124 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-activitystream##|1.5|1.5|[[jira>>http://jira.xwiki.org/jira/browse/XPAS]] | ||
125 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-jodatime##|1.3|1.3|[[jira>>http://jira.xwiki.org/jira/browse/XPJODA]] | ||
126 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-lucene##|1.13|1.12|[[jira>>http://jira.xwiki.org/jira/browse/XPLUCENE]] | ||
127 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-mailsender##|1.13|1.13|[[jira>>http://jira.xwiki.org/jira/browse/XPMAIL]] | ||
128 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-scheduler##|1.16|1.15|[[jira>>http://jira.xwiki.org/jira/browse/XASCH]] | ||
129 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-skinx##|1.13|1.12|[[jira>>http://jira.xwiki.org/jira/browse/XSKINX]] | ||
130 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-tag##|1.8|1.8|[[jira>>http://jira.xwiki.org/jira/browse/XATAG]] | ||
131 | |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-watchlist##|1.24|1.23|[[jira>>http://jira.xwiki.org/jira/browse/XPWATCHLIST]] | ||
132 | |||
133 | == Skins == | ||
134 | |||
135 | |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL | ||
136 | |##com.xpn.xwiki.platform.skins##|##xwiki-skin-albatross##|1.27|1.27|[[jira>>http://jira.xwiki.org/jira/browse/XSALBATROSS]] | ||
137 | |##com.xpn.xwiki.platform.skins##|##xwiki-skin-colibri##|1.10|1.9|[[jira>>http://jira.xwiki.org/jira/browse/XSCOLIBRI]] | ||
138 | |##com.xpn.xwiki.platform.skins##|##xwiki-skin-toucan##|1.32|1.32|[[jira>>http://jira.xwiki.org/jira/browse/XSTOUCAN]] | ||
139 | |||
140 | == Top Level POM == | ||
141 | |||
142 | |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL | ||
143 | |##com.xpn.xwiki.platform##|##xwiki##|28|28 | ||
144 | |||
145 | == Tools == | ||
146 | |||
147 | |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL | ||
148 | |##org.xwiki.platform.tools##|##xwiki-configuration-resources##|1.36|1.36|[[jira>>http://jira.xwiki.org/jira/browse/XTCONFRES]] | ||
149 | |##org.xwiki.platform.tools##|##xwiki-jetty-resources##|1.17|1.17|[[jira>>http://jira.xwiki.org/jira/browse/XTJETTY]] | ||
150 | |##org.xwiki.platform.tools##|##xwiki-license-resources##|1.1|1.1|[[jira>>http://jira.xwiki.org/jira/browse/XTLICENSE]] | ||
151 | |##org.xwiki.platform.tools##|##xwiki-packager-plugin##|1.15|1.15|[[jira>>http://jira.xwiki.org/jira/browse/XTPACKAGER]] | ||
152 | |##org.xwiki.platform.tools##|##xwiki-rootwebapp##|1.3|1.3|[[jira>>http://jira.xwiki.org/jira/browse/XTROOT]] | ||
153 | |##org.xwiki.platform.tools##|##standards-validator##|1.1|1.1|[[jira>>http://jira.xwiki.org/jira/browse/XTVALIDATOR]] | ||
154 | |##org.xwiki.platform.tools##|##xwiki-xar-handlers##|1.9|1.9|[[jira>>http://jira.xwiki.org/jira/browse/XTXARHANDLER]] | ||
155 | |##org.xwiki.platform.tools##|##xwiki-xar-plugin##|1.13|1.13|[[jira>>http://jira.xwiki.org/jira/browse/XPXARPLUGIN]] | ||
156 | |##org.xwiki.platform.tools##|##xwiki-verification-resources##|1.14|1.14|[[jira>>http://jira.xwiki.org/jira/browse/XTVERIFICATIONS]] |