First and last milestone of the XWiki Enterprise 2.2 version (Roadmap).
This release mainly introduces new Model and the possibility to register wiki macros for any user or wiki.
New and Noteworthy (since XWiki Enterprise 2.1.1)
Contextual wikimacros
It's now possible for any user to register wiki macro anywhere and in any wiki.
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.
New Model module with Reference implementation
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.
General UI improvements
- In the wiki source code viewer, allow to toggle line numbers faster from Javascript
- Enable full screen view when displaying the wiki source code (viewer=code)
- Internationalize macro descriptors
- Attachment trash
- Display the contents of the Document Recycle Bin in the document index
- ActionMenu: Add Profile submenu item to the "current user" menu
- Reorder the document actions in the "More actions" menu: copy, rename, delete
Development improvements
- Added support for "xcontext" binding in 1.0 groovy macro
- Allow set to null in velocity
- Add an API method for creating a LinkedHashMap
- New APIs for accessing deleted attachments from the trash
- The class wizard should propose to add a SheetClass object to the class sheet
- Add support for 'on page' style extensions
Office import improvements
- Added support for Office2007 document formats
XAR Import improvements
The XAR import interface has been revamped. The new interface (see screenshots below) now provides :
- More explicit option regarding revision history handling
- The option to add a new version to existing documents instead of overriding them
- A rich UI that allows to select/unselect whole spaces at once
- Support for importing when no javascript is available. The UI degrades nicely to a less rich interface
Blog improvement
- Add the Create a new post to category pages - when used by default select that category
Dependencies upgrade
- Upgraded to Groovy 1.7
Miscellaneous
- Always use UTF-8 for URL encoding
- Attachments should produce document modification events
- Lots of accessibility fixes
- Lots of bugs fixes
Known issues
Backward Compatibility and Migration Notes
General Notes
You may also want to import the default wiki XAR in order to benefit from the improvements listed above.
Migration Notes
- The new parser/serializer for document names comes with new features and changes a little some behaviors:
- introducing escaping means that you can now find \ character when some character needs to be escaped (not to break the document name): Space.Docu\.ment is in fact space=Space and document=Docu.ment. Note that escaping is always used when absolutely necessary you will not have something like wiki\.name:Space.Document
- support for the syntax wikiname:Document has been dropped, the parser is able to complete before (find the wiki when Space.Document is parsed) but not in the middle, so in this example "wikiname:Document" will be seen as the document name because no . has been found