Wiki source code of XWiki Enterprise 2.2 Milestone 1
Version 21.1 by Vincent Massol 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 |