Wiki source code of XWiki Enterprise 2.2 Milestone 1
Version 19.1 by Thomas Mortagne on 2010/01/15
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}} | ||
2 | |||
3 | First milestone of the XWiki Enterprise 2.2 version ([[Roadmap>>enterprise:Main.Roadmap]]). | ||
4 | |||
5 | This release mainly introduces new Model, the possibility to register wiki macros for any user or wiki and many improvement of xar import. | ||
6 | |||
7 | = New and Noteworthy (since XWiki Enterprise 2.1.1) = | ||
8 | |||
9 | == Contextual wikimacros == | ||
10 | |||
11 | It's now possible for any user to register wiki macro anywhere and in any wiki. | ||
12 | |||
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. | ||
14 | |||
15 | == New Model module with Reference implementation == | ||
16 | |||
17 | The goal is to provide APIs 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. | ||
18 | |||
19 | == General UI improvements == | ||
20 | |||
21 | * In the wiki source code viewer, allow to toggle line numbers faster from Javascript | ||
22 | * Enable full screen view when displaying the wiki source code (viewer=code) | ||
23 | * Internationalize macro descriptors | ||
24 | * Attachment trash | ||
25 | * Display the contents of the Document Recycle Bin in the document index | ||
26 | * ActionMenu: Add Profile submenu item to the "current user" menu | ||
27 | image:XSCOLIBRI-170.png | ||
28 | * Reorder the document actions in the "More actions" menu: copy, rename, delete | ||
29 | |||
30 | == Development improvements == | ||
31 | |||
32 | * Added support for "xcontext" binding in 1.0 groovy macro | ||
33 | * Allow set to null in velocity | ||
34 | * Add an API method for creating a LinkedHashMap | ||
35 | * New APIs for accessing deleted attachments from the trash | ||
36 | * The class wizard should propose to add a SheetClass object to the class sheet | ||
37 | * Add support for 'on page' style extensions | ||
38 | |||
39 | == Office import improvements == | ||
40 | |||
41 | * Added support for Office2007 document formats | ||
42 | |||
43 | == XAR Import improvements == | ||
44 | |||
45 | The XAR import interface has been revamped. The new interface (see screenshots below) now provides : | ||
46 | |||
47 | * More explicit options regarding revision history handling | ||
48 | * The new option to **add a new version to existing documents** instead of overriding them | ||
49 | * A rich UI that allows to select/unselect whole spaces at once | ||
50 | * Support for importing when no javascript is available. The UI degrades nicely to a less rich interface | ||
51 | |||
52 | [[image:importer.png||width="700"]] | ||
53 | |||
54 | == Blog improvement == | ||
55 | |||
56 | * Add the Create a new post to category pages - when used by default select that category | ||
57 | |||
58 | == Dependencies upgrade == | ||
59 | |||
60 | * Upgraded to Groovy 1.7 | ||
61 | |||
62 | == Miscellaneous == | ||
63 | |||
64 | * Always use UTF-8 for URL encoding | ||
65 | * Attachments should produce document modification events | ||
66 | |||
67 | * Lots of accessibility fixes | ||
68 | * Lots of bugs fixes | ||
69 | |||
70 | = Known issues = | ||
71 | |||
72 | * [[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]] | ||
73 | |||
74 | = Backward Compatibility and Migration Notes = | ||
75 | |||
76 | == General Notes == | ||
77 | |||
78 | {{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}} | ||
79 | |||
80 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. | ||
81 | |||
82 | {{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}} | ||
83 | |||
84 | == Migration Notes == | ||
85 | |||
86 | * The new parser/serializer for document names comes with new features and changes some behaviors: | ||
87 | ** introducing escaping means: | ||
88 | *** ##\## which is escaping character need to be doubled in full document name like in ##Space.Docume | ||
89 | nt## whcih mean space ##Space## and document ##Docum\ent## | ||
90 | *** 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## | ||
91 | ** 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 |