=====================
Fully-functional non-DTML wikis are now supported and default;
refactored default skin with macros, CSS and SkinnedFolder support;
more zwiki features available in CMF/Plone; quicker comments,
improved search, easy tracker setup, much code refactoring, etc.
**Upgrade notes**
Many changes, you may want to hold off and watch KnownIssues for a
week or two.
The page_type property is no longer a simple string. Customized skin
templates should continue to work. Downgrading from this release may
cause temporary problems.
If you have DTML-using wikis, you will need to take steps to
re-enable DTML pages after this upgrade. You can either:
1. re-enable DTML: set the allow_dtml property as described below;
or 2. become a non-DTML wiki: remove or rename your RecentChanges,
SearchPage, UserOptions, IssueTracker or FilterIssues pages. If
you're using the default skin, the site navigation links will adjust
automatically; if you're using the zwiki_plone skin you'll need to
make such links yourself.
This release includes additional CMF/Plone action links; re-install
Zwiki in your CMF/Plone site to see these (or add them manually in
portal_types -> Wiki Page -> actions).
**General**
* no DTML by default
DTML is off again by default, for real this time. (These days
it's too great a surprise for people who just want a wiki.) To
enable DTML in pages you must now set a true 'allow_dtml'
property on your wiki folder or above. (A 'no_dtml' property,
any value, will override this and disable all DTML as before.)
See also "new skin-based views" below.
* new page type objects
Pages now store their type as a PageType object, rather than a
string. These encapsulate behaviours that are specific to each
page type. The page_type attribute is no longer accessible via
the ZMI, and it is no longer a simple string, though in simple
DTML usage it will return the same value as before (DTML and
skin authors take note). Legacy skin templates should continue
to work.
* search has been enhanced; it now lists matching page names and
prints text excerpts, with or without a catalog
(Dean Goodmanson, Simon Michael)
* comments no longer re-render the whole page, so are much quicker
on large pages
* when enabled (via show_subtopics property), subtopics are now
always displayed, except in minimal display mode. This makes
hierarchy more useful, but also will make large wikis slower and
use more cpu time when bots crawl the wiki.
* By default, don't leave placeholder pages when renaming any
more; configurable in Default.py
* permissions fix: since splitting out the UI class, methods such
as editform were not respecting permissions
* we no longer need to set up an allowed_page_types property to
disable WWML in plone
* Unconfirmed fix for the DateTime error with zope 2.7/python 2.x
(IssueNo0649)
* more robust reporting of structured text formatting errors
* fix typo in updateCatalog's exception logging
* a SITE_CATALOG property no longer causes problems for setupCatalog
(it will use the specified catalog name)
* fix a missing import which allowed problem pages to stop upgradeAll
* code refactoring: extract Editing and Utils mixins, many
cleanups.
* new defaultPage, defaultPageId, defaultPageUrl methods look for a
default_page property, or a page named "FrontPage", or the first
page in the folder. Other new methods include: pageCount,
pageIdsMatching, pageNamesMatching, \*Url helper methods for the
site navigation links
* reparenting cleanup, bugfixes
* allow creation of new pages from a webdav-locked page
* cleanups, bugfixes, speedups for rename & delete plus some new
utility methods. rename was doing an unnecessary updatebacklinks
pass and reparenting all offspring not just it's children and
just generally trying too hard.
* set correct last editor when updating backlinks during rename
* found the bugger that was leaving all those placeholder pages
when renaming
* log more verbosely during renames to show what's going on.
* add update backlinks functionality to delete, similar to rename,
so you can enter a name in the page management form to have all
links redirected there after deletion (a "replacement page").
* disable subtopics display entirely unless there's a true
show_subtopics folder property
* fix "global name 'p' is not defined" when adding pages via plone
UI
**Skins and content**
* default, zwiki_plone: new skin-based views - instead of the
DTML-based RecentChanges, SearchPage, UserOptions, IssueTracker
and FilterIssues pages, new wikis now use skin-based views
(similar to editform etc) by default: recentchanges, searchwiki,
useroptions, issuetracker and filterissues. As usual, these can
be changed by customizing the page template of the same name, in
the wiki folder or in the CMF or SkinnedFolder skins tool. If
you later want to switch back to page-based versions, eg for
easier tweaking, you can call /setupDtmlPages and /setupTracker.
* default: the main wikipage template has been completely redone
using METAL macros and CSS (Dan McMullen)
* default: the default skin uses a new UI method, stylesheet, to
find it's stylesheet. This can be customized with a File named
either "stylesheet" or "stylesheet.css". A page template or dtml
method may also be used, in which case the stylesheet will be
dynamic and will be reloaded for each page view.
* default: adopt the latest zwiki.org look as default - use a
sans-serif font by default, use full browser window, indent page
content, cleaner/more styled context and subtopics. Has been
tested only with mozilla 1.6; assume other browsers can cope.
* default: smarter site navigation links; work with page-based or
skin-based views as appropriate; show issues link only if there
are issues
* make our skin directories available to FileSystemSite if
installed, to support a SkinnedFolder setup
* contextX and renderNestingX are skinnable versions of context
and renderNesting, which may be used to present page hierarchy
in more flexible ways. (Dan McMullen)
* fix an obsolete try except that was hiding errors in the default
wikipage template, show such errors in the browser as elsewhere
* default, zwiki_plone editform: reduce default text area height
to 20; fix tab indexes so save button is last
* FrontPage: note webdav lock permissions in EE setup docs
* RecentChanges, recentchanges: make the log note bold when summaries are
displayed, too; hide buttons when there is no catalog; simplify
the code, clean up and indent
* HelpPage: content, formatting updates
* instead of a horizontal rule, use a styled heading for comments
section, consistent with subtopics
* zwiki_plone: fix the contents link, rename recent changes link
* default backlinks: the upper checkboxes were being ignored
* default, zwiki_plone recentchanges: international characters in
page names were being quoted
* default, zwiki_plone: move the comments heading style to
stylesheet and use the anchor "comments" instead of "messages"
* zwiki_plone: move some tabs into the "actions" category, for
now, after discussing with limi
* default contents: fix string: typo
* default, zwiki_plone: make filter issues accessible via link
from issue tracker and vice-versa
* default: use standard stylesheet and site links panel in all views
* zwiki_plone: install actions (tabs) for the new skin views
(leave useroptions disabled)
* default, zwiki_plone: fix the issuetracker & filterissues forms
* default, zwiki_plone: latest zwiki.org search form with hit counts
* remove the contents link from page context in full mode, it's
superfluous now
* remove confusing parents tag from default content files.. we
don't need it
**Tracker**
* setupTracker now does not install dtml pages by default, sets up
an issue_colours property, creates one dummy issue if there are
none, and redirects to the issue tracker afterward
* make status counts work for statuses other than
open/pending/closed
* new methods: issueCount, hasIssues