XWiki Enterprise 2.2 Milestone 1

Version 16.1 by Thomas Mortagne on 2010/01/15

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
    XSCOLIBRI-170.png
  • 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 options regarding revision history handling
  • The new 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

importer.png

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

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,....

You may also want to import the default wiki XAR in order to benefit from the improvements listed above.

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.

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

TODO

Tags:
   

Get Connected