======================
Focus: unit tests, wikimail enhancements, general fixes and a
permissions rename.
**Upgrade notes**
You'll need to make a note of your zwiki permissions settings before
upgrading and recreate them after this upgrade. You'll find all the
new permissions at the bottom of the security page, aside from the
Add permissions which are unchanged. Also you may have dtml which
checks for the old permissions and needs to be updated. For example,
the wiki templates refer to the permissions by name in
standard_wiki_header, standard_wiki_footer and editform.
**Features**
* zwiki permissions renamed. Details::
'Add ZWiki Pages' (no change)
'Add ZWiki Webs' (no change)
'Zwiki: Add comments to pages' (was Append to ZWiki Pages)
'Zwiki: Change page types' (was Change ZWiki Page Types)
'Zwiki: Edit pages' (was Change ZWiki Pages)
'Zwiki: Reparent pages' (was Reparent ZWiki Pages)
'Zwiki: Recycle pages' (was Send ZWiki Pages to Recycle Bin)
Zwiki also uses zope's 'Add Documents, Images, and Files' (no change)
* zwiki page 'subscribers' property replaced by 'subscriber_list'
property; the folder also now exposes this in the ZMI. Upgrade
notes: old pages will be upgraded as needed, this will affect
the last-modified times.
* new zwiki page properties: 'creator', 'creator_ip', and
'creation_time'
* a 'redirectURL' REQUEST attribute can be used to control the
destination after edit, append or comment.
* the enclosing [] are displayed prior to page creation
* relative paths within [] now display in their entirety
(instead of just the last component)
* UI and usability tweaks for the default subscription form;
other page subscriptions are listed
* the folder title is now used in html page titles, in mailout
subjects and before the word "contents" in the page header. The
old titleprefix method is no longer used.
* wikimail: only comments (made via the "comment" method) are now
mailed out by default; to mail out all edits as before, set a
'mailout_policy' folder property to "edits".
* wikimail: hide mailout recipients (if Lennart Regebro's
MailHostFix product is installed)
* wikimail: mailout now requires either a 'mail_from' or
'mail_replyto' folder property. If 'mail_from' is present, always
use that for the From: field. Otherwise, show the poster's email
address or user name. (closes IssueNo0122)
* wikimail: increase wrap margin from 70 to 78 in mailouts
* wikimail: add X-Zwiki-Version, X-BeenThere & Precedence headers
* wikimail: basic loop protection - silently discard any incoming
messages containing X-Zwiki-Version
* wikimail: mailin can now create pages (JosYule)
* wikimail: mailin can create tracker issues (see mailin.py)
* wikimail: mailin.py now accepts mail only from subscribers
(somewhere in the wiki) by default. Call with 'subscribersonly=0'
or set folder property 'posting_policy' to "open" to disable.
* wikimail: the default destination page for mailin can be
configured with a 'default_page' folder property
* wikimail: use only the first plaintext part from multipart MIME
messages
* wikimail: use virtual host monster to help direct messages if
present (may have some imeme-isms ?)
* wikimail: some other tweaks to mailin delivery rules intended
to simplify mailin alias setup (see mailin.py)
* zwikidotorg template: header/footer/editform UI updates; display
subscriber count in the header; set comment headings on by default
for pages named "IssueNo*"
* zwikidotorg template: for site logo, use the folder's
'site_logo' property/object or the default zwiki icon.
* add zwiki web form: made this a little more robust; added
support for template configuration wizards (if a form or script
named TEMPLATE_config is found, redirect there to create the wiki)
**Bug fixes**
* DeleteMe should redirect to the first existing parent
afterwards, now working again (IssueNo0008)
* zwiki now coexists with structured text footnote references
(yay!). [] will link to a matching footnote if there is one,
otherwise it is treated as a wiki link (IssueNo0110)
* don't treat [] as wiki links if they contain characters which
zope does not allow in object ids (IssueNo0090)
* don't html-quote international characters any more. If losing
international characters due to edits by dumb browsers is now a
problem for you, please follow up on IssueNo0004.
(Taewook Kang & others)
* make wikiname regular expressions a bit more international by
using string.upper/lowercase. You may need to modify bad_id in
zope's OFS/ObjectManager.py also.
(LaloMartins, Alexy Khrabrov)
* fix for IssueNo0112, structured text pages have extra html &
body tags (natesain)
* parenting tweaked to work better with acquisition/subfolders
(IssueNo0108) (robertredcor.ch)
* wikimail: stray html tags were being left in mailouts containing
long quoted lines (IssueNo0087)
* wikimail: don't add extra blank lines in mailouts
* wikimail: don't send duplicates when subscribed to both page and
wiki (IssueNo0055)
* wikimail: calling mailin in the context of a page should always
use that page for posting, now it does
* wikimail: format quoted replies in mailed-in tracker issues,
as is done with mailed-in comments (IssueNo0070)
* zwikidotorg template & general: edit access control ui
improvements. Help/subscribe links now always visible;
edit/append links conditionally visible; viewing editform requires
edit permission; misc. color & layout tweaks.
* zwikidotorg template: fix scrolling to bottom of page after
comment
* zwikidotorg template: don't include "set" links on backlinks,
because they are vulnerable to robots
* zwikidotorg template: show search and quote in header by default
again
* zwikidotorg template: removed the "preferred front page" option
(IssueNo0120)
* zwikidotorg template: adding an empty comment was giving an error
(IssueNo0123)
* tracker support: issuedtml page type: layout & colour scheme tweaks
* tracker support: allow sorting by category/severity/status to
give the expected order (see IssueNo0115)
* tracker support: don't list other page types when editing an issue page
* tracker support: don't inherit issuedtml page type when creating
a new page from an issue page
* Possibly fixed a bug with Add Zwiki Page permission.
* unit tests overhauled, cleaned out and updated. Zwiki now
follows the latest zope testing practices.
* zwikidotorg template: remove references to old permissions
* recognize , in urls (IssueNo0130)
* zwikidotorg template: remove comment form border
* fix bracketed path linking (IssueNo0139)
* missed some old-style imports in the subscription code
* zwikidotorg template: UserOptions tweaks - make default editform
dimensions match built-in default (60x15); don't use PST as
default timezone
* zwikidotorg template: make timezone conversion in the header
more robust
* remove a local PYTHONPATH dependency from all imports, and
make unit tests more robust across zope versions & invocation
methods
* wikimail: multipart message handling got broken in the cleanup,
fixed
* wikimail: make inclusion of poster's username in mailout From
header more robust
* zwikidotorg template: removed SiteLogo capability & obsolete
zwiki_homepage reference, added secret feature for minimalists.
* render page header *after* body, so that body can turn it off
with dtml
* make create more robust for dtml use in a top-level folder
* built-in ui tweaks - use colours like zwikidotorg's, make
editform textarea smaller, remove non-useful help links
* zwikidotorg template: include user option presets in the footer,
make help link depend on a HelpPage, update default bookmarks
**API changes (summary)**
* permissions renamed (see above)
* viewing editform() now requires edit permission
* 'subscriber_list' page property replaces 'subscribers'
* new page properties: 'creator', 'creator_ip', 'creation_time'
* new optional folder (or page) property: 'mailout_policy'
* new optional folder properties: 'mail_replyto',
'posting_policy', 'default_page'
* 'titleprefix' property/method no longer used, folder title used
instead
* new optional REQUEST attribute: 'redirectURL'
* sendMailTo() now takes a list of recipients, not a string
* subscriberList(), wikiSubscriberList(), allSubscribers() now
return a list
* new page methods: allSubscriptionsFor(email),
otherPageSubscriptionsFor(email)
* zwiki_mailin.py external method renamed to mailin.py
* new mailin() arguments: 'subscribersonly', 'trackerissue'
* wikis subdirectory renamed to templates, and filesystem
templates now use suffix to specify zope meta_type/zwiki page_type
* zwikidotorg template: new optional folder property 'site_logo'
* tracker support: new page methods: category_index(),
severity_index(), status_index()
* new page method zwiki_version()