2.11 1.4-M1 to 1.4-M2 upgrade
2.11.1 Changes
- Book related changes:
- The book definition editor now supports graphical editing of all its parts. This is the biggest change in this release (in terms of development effort).
- For book instances and publications within the book instance, there is now both a name and label (previously only a name). The name corresponds to the directory name in the bookstore and the path in the URL. The label is shown on screen to the user. The names and labels can now also be changed after book creation. Validity and uniqueness of the book instance name is now checked in the book publish wizard, so that a user does not get an exception at the end if there is a problem with that.
- There was a serious memory leak in the background book publishing thread. This problem was related to the execution of Cocoon pipelines, and is fixed in the upcoming Cocoon 2.1.8. This milestone release ships with a pre-release snapshot of Cocoon 2.1.8.
- Various fixes and improvements to the PDF rendering.
- A new special publication property called "publishDate" has been added. The value of this property should be the string "date", "dateTime" or a date formatting pattern. When publishing, the value will be replaced with the actual date of publishing formatted in the specified manner. The value "date" means the default locale-specific date formatting, "dateTime" will also include the time.
- The broken link log mentions the document where the broken link occurs.
- The output directory of the HTML publications is now self-supporting, i.e. the images are now also copied over into it, and the content files are now serialized as HTML during publication. This means you can just take the contents of the output directory and put it on a web server for static browsing.
- There is a new zip task to zip the content of the output directory. This is by default enabled for the HTML publication types, so that their output is easily downloadable.
- The book definition supports a new importNavigationTree element to import a navigation tree into the book definition. It is possible to specify a path, so that only part of the navigation tree is imported.
- Query results are now also styled in the books. It is possible to define custom stylings per publication type (or they can be handled in the document type specific stylesheets, since the query styling happens after it).
- I18N of the various book screens and forms.
- Smaller things: cancel button in the publication wizard, show book instance creation time and creator on book overview page.
- The Daisy Wiki is now based on Cocoon 2.1.8 (a pre-release SVN snapshot: 328365).
- The document editor has been refactored:
- The different tabs are now different forms, switching between tabs now always does a server side roundtrip (previously this only happened for the HTMLArea in Firefox to work around a bug in that browser). Since the individual forms are lighter, and except for the fields form are static, server side round trips should now be snappier.
- Added the ability to plugin in part-specific editors.
- Rearranged the tabs a bit. All parts are now grouped below a Parts tab, because when having multiple parts you could quickly run out of screen space on average screen resolutions. The collections, custom fields and options are now together on one tab. The fields tab is not shown if the document type does not have any fields.
- Introduced a "default document type" for a site. This default document type is selected by default in the "link to new" dialog (not when used in the html editor, where it defaults to the document type of the current document). The default document type is also displayed separately on the new document page. The default document type is optional and is specified in the siteconf.xml.
- Fixed bug in "link-to-new" whereby the created document in some cases had the wrong document type.
- Fixed bugs in multivaluefields of type date and boolean when they have a selectionlist.
- For required fields that have a selection list, an empty item is by default selected, so that the user is required to make a selection.
Previous