Release notes
#############
* experimental anti-spam blacklist
The banned_links, max_anonymous_links and max_identified_links
properties are no longer supported. Instead, at edit time Zwiki
attempts to read a global blacklist of zwiki-specific spam patterns
from zwiki.org. This feature aims to stop the most common zwiki spam
for all Zwiki users with minimum maintenance effort. For added
protection, you can block known spammer ip addresses with
http://repel.in-progress.com (see also http://betabug.ch/wiki/HoneyPotBL.)
This is a prototype. For now, a http get attempt to
http://zwiki.org/spampatterns.txt with 1-second timeout is made at
each edit. The feature is on by default. Todo: follow suggested
caching interval.
To disable use of the global blacklist, add a local "spampatterns"
lines property on or above your wiki folder. You can leave it empty
or paste in the contents of your old banned_links property.
* new archive feature, to help with cleanup of large wikis
This aims to reduce info-clutter and improve wiki resource usage and
performance, in situations where you're not willing to delete content
entirely, eg because of historical interest. To enable this feature,
create an "archive" folder within your wiki, or visit
SOMEOLDPAGE/archive once, and make sure you have ``Delete objects``
permission. An archive button will be added to the page management
form. This moves the current page, its subtopics, and their edit history
to the archive folder.
Pages in the archive may still be viewed, but they are considered
read-only and inaccessible to search bots (but this is not yet enforced
- adjust permissions on the archive folder to make it so.).
* zope 2.12 requires a change to the standard_error_message object, otherwise
errors will appear as a blank page. Delete yours using the ZMI and recreate
it with SOMEPAGE/setupDtmlMethods (or /upgradeAll).
* to work around incomplete unicode support in Zope, a zwiki page's
__str__ method now returns a utf-8 encoded string. This fixes
the ZMI manage_main view on a zwiki page object (#1450).
* also, you'll need to set a string property in the properties tab of
your wiki or zope root folder: management_page_charset: UTF-8.
(The capitalisation may matter in some cases.) This fixes the ZMI
manage_main view on a zwiki folder, eg (#1459).
* however, non-ascii zwiki page content may render incorrectly in the ZMI,
and you should not edit zwiki pages in the ZMI, or they may become
misencoded. (If it happens, visiting PAGE/fixEncoding or /upgradeAll may
fix it.)
Zwiki 2.0b1 2009/10/23
======================
This is the first release of Zwiki 2, formerly the ZWiki-unstable branch.
To recap, on 2009/01/30 I renamed the old Zwiki stable and unstable repos,
and we now have:
* http://zwiki.org/repos/ZWiki1 - the classic Zwiki 0.x branch, aka
Zwiki 1. This version stores text as utf-8 and supports Zope versions
up to 2.11. Barring some unusual need, this will receive no further
development. At the time of writing the last release in this line is
Zwiki 0.61.0, 2008/10/24.
* http://zwiki.org/repos/ZWiki - the new main line of Zwiki
development, aka Zwiki 2. This version stores text as unicode,
reorganizes skins, drops some non-essential features and adds support
for Zope 2.12 and python 2.6. Older zopes are still supported, at least
in the 2.0 release.
The biggest change in Zwiki 2 is that we now work internally with unicode
rather than utf8-encoded text. Encoding-related errors in non-ascii wikis
are hard to prevent; this change will help us stamp them out. Also this
will permit accurate searching of non-ascii content. Thanks to
Wirtschaftsuniversität Wien (Vienna University of Economics and Business)
and Willi Langenberger for funding part of this work. There has also been
a lot of skins and code cleanup.
**Upgrade notes**
With an existing wiki containing non-ascii wiki content, you will probably
notice new encoding-related errors. (Eg try searching for some non-ascii
text.) In this case you need to convert all wiki content from utf-8 to
unicode. To do this, visit SOMEPAGE/upgradeAll as manager.
As usual, if you have a lot of content this can take several minutes; set
your logging level to BLATHER (in zope.conf) and watch the event.log to
see progress and be sure it completes successfully.
Afterward, most encoding-related errors should be gone (try the search
again). If not: first try upgradeAll a second time, then please report
(eg to sm on #zwiki) for investigation.
Also, if you have custom skin templates they will likely need updating
(see eg the note below about lastEditor). It's probably best to move them
out of the way and deal with that later, or re-apply your customisations
to the latest templates.
**Browsing**
* show a "created" timestamp at top right, like Michael Haubenwallner's
on the zope3 wiki
* 1414 - indentation was not displayed in literal code blocks (betabug)
* minor css fixes (betabug)
* Fixed the display of non-ascii search expressions on the search form (betabug)
**Editing**
* 517 - more robust and careful updating of backlinks during page renames.
(Sascha Welter)
* 1171 - more than one double parenthesis link in the same paragraph
works now. (betabug)
* interwiki links now require at least one word character after the :
**Mail**
* mail-in no longer requires configuring an external method.
Have /etc/aliases post incoming mail to SOMEPAGEURL/mailin.
* when there are multiple mailhosts, choose the one with alphabetically
first id This lets you use a zope 2.11 "MailHost" when you have a
"MaildropHost" still kicking around, may be useful for someone else
testing mailhosts.
* drop mailin's unused spam-reporting feature
**General**
* Unicodegeddon! A big set of changes switching to unicode for internal
text handling. Many were committed as a single mega-patch from the the
early unicode branch. Noteworthy details:
* for proper operation, wiki content should be converted from utf-8
to unicode, a one-way upgrade step. See upgrade notes above.
* skin templates should use (lastEditor(), lastEditTime() etc.)
methods, not properties. If you have customised editform, history,
or RecentChanges, they may need to be updated accordingly.
Also catalog page brains now contain lastEditor, not last_editor.
* we use unicode-aware ZCTextIndexes in the wiki catalog by
default. SOMEPAGE/upgradeAll (or /setupCatalog) upgrades old
TextIndex-based indexes if present. (betabug)
* we use a simple unicode-aware splitter, based on code by Stefan
Holek. The following code is mostly taken from the
UnicodeLexicon product by Stefan H. Holek (ZPL) which can be found
at: http://www.zope.org/Members/shh/UnicodeLexicon . Many thanks to
you Stefan! We are using this here, so people with minimal needs
don't have to install extra products. If you need more than this
install a more specific splitter (e.g. a CJK splitter) create a new
"ZCTextIndex Lexicon" and recreate the "SearchableText" and "Title"
indexes with your new lexicon. (betabug)
* preserve unicode when evaluating DTML (#1411)
* Many other unicode-related changes/fixes (simon, betabug)
* Skin cleanups: rearrange templates, provide nav links and access keys
more consistently, skin machinerys, basic support for alternate
filesystem skins. Many of these were committed as a single mega-patch.
Noteworthy details:
* more css ids
* move accesskeys, links and ratingform into pageheader template
* move pagemanagementform into a new pagefooter template
* add wikifooter and wikiheader - visible header/footer for wiki-contextual views
* include either pageheader or wikiheader in every view, for
appropriate links, access keys, etc. Show all nav links
everywhere.
* avoid duplicate access key definitions so you don't have to press
enter in firefox 3
* drop the s for search form access key, so s for save edit works without enter
* some skin machinery cleanup and basic support for alternate
filesystem skins, selectable by "skin" property or request var
* 939 - suppress "e" access key when already in edit form. (betabug)
* 1361 - check permission for the edit form more carefully; the edit
form should be viewable also in the case that the user has "Add"
rights on the wiki. E.g. going through the "add" form on a
restricted page, then clicking on the "Preview" button raised
Unauthorized before this fix. (betabug)
* add /index as an alias for the /index_object page method, drop /updateCatalog
* catalog search results now contain lastEditor, not last_editor
* more tests (simon, betabug)
* code cleanups, documentation (simon)
Zwiki 0.61.0 2008/10/24
=======================
This and previous releases were made from the Zwiki 1 branch, formerly
known as Zwiki-stable.
A catch-up release with various bugfixes, code cleanups, and newer
translations from launchpad. You'll want this if you use Plone 3.x, to
work around a layout glitch with document action icons.
**Upgrade notes**
**Configuring**
* /setupDtmlMethods now installs a sitemap.xml, which might reduce
load from google and possibly other search bots (Simon Michael, Sascha Welter)
* remove the anti-spam 24 hour indexing delay introduced in 0.41, for
quicker indexing of actively-edited pages (#1387)
* recognise a site_footer attribute, like site_header, useful for eg
stats tracking
* Change content-type of the SomePage/text (or /src) methods to UTF-8,
making the /text view of wiki pages much more useful for non-ascii
languages. (Sascha Welter)
**Browsing**
* "fix" the plone 3 document actions layout glitch, by hiding them. This
release Zwiki should work as well with Plone 3.x as previous versions
did with Plone 2.x.
* add the wiki navigation links (home, contents, changes..) to all forms
* merge access key help with the help page
* drop the "discussion" nav link activated by GeneralDiscussion, it is a
special case and confusable with per-page discussion
**Mail**
* fix a bug preventing mail-out in some Plone versions (#1400)
* strip (some) annoying bottom-quoting from mailins ("----Original message:---- ...")
* support for mailing darcs patches through a zwiki: keep any
text/x-darcs-patch part, as well as the first text/plain part
* the unused "forward to spam@ address to update banned_links &
banned_ips" feature has been dropped.
**Translations**
* import latest translations from launchpad
* switch to launchpad-only translations process, see http://zwiki.org/I18n
* switch to i18ndude for generating pot files
**General**
* More functional tests: recentchanges and options (Sascha Welter)
* exception handling cleanups (Sascha Welter)
* #1272 - create PageBrain only for Zwiki Pages. Since we are now
ensuring that there is always a catalog in a Zwiki, the method
metadataFor() shouldn't be needed any more. But I'm still adding this
patch (credits and thanks to koegler), in case some code hits on it in
the time between an upgrade and running the /upgradeAll
method. (Sascha Welter)
* Rewrote the rating module to use a BTree to store votes, instead of a
dictionary. Saves some kB writing to Data.fs and avoids
conflicts. (Sascha Welter)
* code review and cleanup. All significant methods in Editing have now
been reviewed (by Simon) and tightened up
* make lastLog more robust to prevent possible page view breakage
* pages now returns nothing without a fully-configured catalog (to avoid
blowing up zodb cache when viewing old revisions)
* new methods expungeLastEditor, expungeLastEditorEverywhere, feedUrl,
setCreatorLike, setLastEditorLike
* replaced subscriberCount, wikiSubscriberCount methods with
subscriberCount, pageSubscriberCount, wikiSubscriberCount
* renamed changes_rss method to edits_rss
* make bare page rendering at the debug prompt work again, cleanup
* include Makefile in tarball so that folks can see how to run tests
* start a developer style guide, some developer docs cleanup
Zwiki 0.60 2007/09/15
=======================
Fix TAL unicode errors with zope 2.10, Plone 3/CMF 2.1 compatibility,
quicker page rendering, permanent edit history, labelled bracket links,
better support for custom wiki templates, a tool for importing MoinMoin
wikis, many other improvements and code cleanups.
**Upgrade notes**
* Zope >=2.10 users should upgrade to this release to avoid TAL unicode
errors. Also, skin customizers should update their custom templates
to avoid the same errors. See #1330 below.
* Plone 3/CMF 2.1 users should upgrade to this release
* Plone 2.x users will not be able to install this release in sites, see #1322 below
* skin customizers should note the wiki navigation links are now in the wikipage template
* a wiki catalog is no longer optional, and will be added if missing
**Installing**
* #1322: Plone 3 & CMF 2.1 compatibility. Warning, this version of Zwiki
uses GenericSetup and is not compatible with older versions of
Plone/CMF. This could be tackled in a future release if there is
demand. See the issue page for discussion and possible workarounds.
* tools/prepmoin.py, imports MoinMoin wiki data to a zwiki (M. Pedersen)
* #1217: fix setupDtmlPages error (Sascha Welter)
**Configuring**
* fixPageEncoding renamed to fixEncoding and fixed
* move wiki navigation links to wikipage template for easier customizing
* #1041, #1145: ensure a catalog and an outline cache are always present.
**Browsing**
* make the home link, wiki logo and index_html use the default page url
consistently
* hide the prefix in mailto: email hyperlinks
* change long-standing links order: contents before changes, help after
options
* #1348 - redirect to original page after useroptions We are always
calling FrontPage/useroptions to limit bot traffic. Now we are
carrying the redirectURL through the REQUEST, so we know where to
redirect in the end. (Sascha Welter)
* #1333: make literal/code style more precise to avoid styling difform
headings
* help page cleanup
* #1145: avoid the broken dtml-in sort option in SearchPage, also, to
avoid occasional search errors
* most access keys are always available, but disable the s subscribeform
key if mailout is not enabled, as an extra cue
* speed up pages by doing less work
* slight discussionUrl speedup, don't look for UserDiscussion page
* speed up hasIssues, which was taking half the 2.5s skin render time on
zwiki.org
**Editing**
* #1157: replace revertEdits[Everywhere]By with history-wiping expunge,
expungeEditsBy, expungeEditsEverywhereBy methods
* more robust history:
- allow partial history, revisions can safely be deleted
- use a btree folder for revisions if possible
- more zodb cache friendly
- richer history api
* new history and diff views. History should now be at least as
functional as before, and permanent
* simple permanent revisions model, use revisions folder instead of
recycle_bin
* stop discarding content outside of html body tags - they may be part
of the content
* #1370: allow arbitrary urls in bracket links
* optional link labels after | in bracket links
* #965: avoid infinite recursion error when a page is reparented to itself
(Sascha Welter)
* #570 - Ensure valid id with file uploads. But meanwhile try to mess
with uploaded file's names as little as possible. We check first if
the name is acceptable to Zope, and only if it isn't we change
it. (Sascha Welter)
* #1085 - Comments are now properly formatted in HTML pagetype. Now
it's possible to use comments in HTML pagetype pages and have the
comments still properly formatted after page edits. Similar to #1079
and therefore again credits and thanks to Martijn Pieters. We are in
the same manner using preRenderMessages to add the comments. (Sascha
Welter)
* #1079 - Plaintext comments work now. Commenting on plaintext pages
would work until you edited the page itself, then the prerendering
method lost the comment rendering. Credits go to Martijn Peters for
this patch, a bit adapted to code that had moved on. I had to tweak
the output test, as the exact placement of blank lines at end of the
page content has changed minimally. (Sascha Welter)
* refuse any incoming text that's not ascii or utf-8, to avoid problems
later
* createform and create now look only at folder permissions, not the
current page, to be consistent with the page management form. The
'Zwiki: Add pages' permission is meaningful only on folders, and
ignored on pages.
* #512 - fix footnotes with "create page" links in RST (Sascha Welter)
* #1323: revert methods now obey the edits_need_username option
* clean up revertEditsBy, don't break with new pages
**Mail**
* #1256: handle mailins with encodings other than utf8
* don't log body of mail-ins by default
* #141 - Uploading a file causes an "edit" mailout now. (Sascha Welter)
* also allow a 'Secure Maildrop Host' for sending mail (Sascha Welter,
Encolpe Degoute)
**Feeds**
* no updates
**Issue tracking**
* yellow color to make open funded issues stand out
* IssueTracker cleanups
* #1334: make fuzzy urls work better with issue numbers
* use html instead of stx page type when installing issue tracker as
dtml pages, for a 4x speedup of the unit test on my system
**General**
* many code cleanups including imports, safe_hasattr, deprecation warnings, pyflakes warnings, tests
* Replace hasattr() with safe_hasattr() everywhere. Problem with
hasattr() is that it masks exceptions, which is known to be
problematic. "Our" new safe_hasattr() is from
http://www.zope.org/Collectors/Zope/742 - with thanks and credits to
Dieter Maurer. (Sascha Welter)
* #1365 use talsafe() on newname in /editform to avoid
UnicodeDecodeError. This problem appeared in localized browsers only
for some reason, but the fix likely is necessary for 2.10 too. (Sascha
Welter)
* #1339 - fixing text encoding for editform.pt textarea. (Sascha Welter)
* #1330: a better fix for these unicode errors. Zope 2.10 expects TAL
data to be unicode, older zopes do not. This can lead to many obscure
unicode errors depending on your system locale, wiki content, cookies,
phase of the moon etc. This fix aims to make all the standard
templates robust against this. Wikis with old customized templates
will still be vulnerable to this problem after upgrading to zope 2.10,
until those templates are updated.
* partial workaround for #1330 UnicodeDecodeError
* Default wiki type is "basic" + added 'jpeg' fs templating. (Sascha
Welter)
* #1332 - fix for the fix + default wiki_type is "basic". We're now not
trying to grab the REQUEST from self any more -- just doesn't make
sense to me. Also we have now the default wiki_type as
"basic". (Sascha Welter)
* #1332 - make manage_addWiki more programmatic + test. We still
grabbed the REQUEST and thus got a redirect at the 2nd chance. Now
we're doing the same check as on the 1st test and also return the new
id if we don't redirect. Added a test too. (Sascha Welter)
* Recursively add files/folders on addWikiFromFs. This is used for
"nautica" style templates. It's now possible to use templates
e.g. from openwebdesign.org without having to "unroll" images into a
flat structure. Also we now can set document titles and parents from
the filesystem pages. (Sascha Welter)
* #1331, #1186 - last_edit_date / creation_date timestamps now in
ISO6801. We changed the timestamp format for last_edit_date and
creation_date to conform to ISO8601, in order to save time zone
information along with it. Special care is taken to upgrading old
timestamps in Zope's DateTime's ISO() format. (Sascha Welter)
* update stx code, may work better with zope 2.10
* revisionInfoFor -> revisionInfo
* inPlone method
**Translations**
* no updates
Zwiki 0.59 2007/04/02
=======================
Catchup since the last release in november: a truckload of bugfixes
from Sascha Welter, Frank Laurijssens and many others (YAY!), support
for conditional http get, skins code cleanup, translation updates and
more.
**Upgrade notes**
* The standard issuetracker and filterissues pages now support sorting
on issue name and reverse sorting (#14). To enable sorting by name,
visit SOMEPAGE/setupTracker (as manager) to add a required catalog
field.
* If you have customized IssueTracker and/or FilterIssues pages, you
might want to replace them with the latest code. To do this, review
and back up the changes you made. Then delete both pages, reinstall
them with SOMEPAGE/setupTracker?pages=1 (as manager), and re-apply
your customizations.
**Installing**
* show accurate page hierarchy after adding a new wiki
* #1313, updated FrontPage links in basic wiki template (Frank Laurijssens)
**Configuring**
* reparent now obeys the edits_need_username option, so reparenting will
require a username when that property is true
* #1077 implement Conditional HTTP Get handling (aka If-modified-since /
304) for pages, stylesheet and RSS feeds. This feature makes zwiki
pages more browser- and spider-cache friendly, which can potentially
greatly reduce page rendering time and load on your zope server. It
is off by default as it doesn't yet work with Firefox's default
settings (requiring a reload after each edit). See
http://zwiki.org/HowToEnableConditionalHTTPGET (Sascha Welter)
* #974 Property to ignore certain WikiNames Credits to Matt Kunze from
DataSplice. Patch logic is from him, I just simplified it a bit and
tested it. This has yet to be documented somewhere. (Sascha Welter)
* #1227 comment form vulnerability (Sascha Welter)
**Browsing**
* make default site logo work with zope 2.10 (zope bug 2302)
* recent changes default period is now a week, not a day
* #976 cosmetics on "last edited xx ago" link credits to "Andreas", we
check if lastlog contains anything and omit the parentheses if
not. (Sascha Welter)
* format comment header for HTML pages #1085 (Sascha Welter)
* #1304 last-edited-by is not shown when user ID is numerical
(Sascha Welter)
* #1303 Illegal utf-8 handling in Utils.py summary - Credits go to Hideo
at Yokohama! This patch had us worried about performance, since taking
a summary of a long wiki page might be slow. Some preliminary testing
showed that the performance price is rather low, but for sites with
non-ascii content the patch is really worth it. Not only will it stop
producing illegal utf-8, but without the patch the length of the
summary will never be right. (Sascha Welter)
* #1298 non-ascii characters in page names are breaking search functionality
(Sascha Welter)
* don't let a non-wiki page break interwiki link rendering
**Editing**
* #1157 after reverting changes, reset last edit time. (Sascha Welter)
* #1314 use UTC for creation_time too (Sascha Welter)
* #1186 fix for last_edited_date losing time zone information -
converting to UTC. This might be only relevant at hosts that do
not have locale support on their operating system (e.g. BSD, Mac
OS X). Further tests in that direction might be necessary. It
definitely fixes the problem on Mac OS X. (Sascha Welter)
**Mail**
* #1299 - mail out in plone works, could use more error handling though
(Sascha Welter)
**Feeds**
* #1083 escape html in rss feeds (Sascha Welter)
* #1294 - changes to get rss feeds to validate. pages_rss and changes_rss
now validate with feedvalidator.org.
- Date formats in head section had to be adjusted
- feedvalidator.org wanted a guid element (even though specs say it's
optional) (Sascha Welter)
**Issue tracking**
* #14 make the zwikitracker list allow filtering & sorting
(Frank Laurijssens)
* Revert allow_dtml change (#1281) (Frank Laurijssens)
* self-document the IssueTracker pages for missing allow_dtml (Sascha Welter)
* #1281 Frank's patch to set up dtml for IssueTracker pages with extra
check (Sascha Welter)
* #1043 Color issue links in "backlinks" (Frank Laurijssens)
* #1008 show issue form on plaintext issues, patch from Bill Page
(Sascha Welter)
**General**
* make skin/template/macro handling more general, add support for
alternate filesystem skins, rewrite skin system developer docs
* clean up stylesheet lookup: look for a template named "stylesheet.css"
or "stylesheet" in that order
* siblingsAsList can include current page + sorting optional. This is
useful mainly for "nautica" style wikipage.pt. In those one often
wants to make a list of pages "on the same level" as the current
page. That list usually includes the current page and is not sorted
alphabetically, but instead left in the order defined in the
/backlinks page. (Sascha Welter)
* many fixes to make Zwiki's exception handling more precise. This may
reveal some new failure scenarios which were previously hidden
(Sascha Welter)
* fix a syntax error in tests
* fix a missing doublequote in standard_error_message
* clarify relicensing clause
* bumped year in copyright statement (Sascha Welter)
* signed (Sascha Welter)
* Signed CONTRIBUTORS (Frank Laurijssens)
**Translations**
* de (Stefan Kose)
* es (Francisco Mañas)
* fr (Nicolas Velin)
* zh_CN, zh_TW (nwind)
* nl (Frank Laurijssens)
Zwiki 0.58 2006/11/01
=======================
Simpler skin customization, bugfixes, cleanups.
**Upgrade notes**
If you have a very old zwiki relying on standard_wiki_header &
standard_wiki_footer dtml methods, these will now be ignored; you
must use a wikipage page template to customise the skin. I don't
think this will affect anyone (let me know if it did!)
**Installing**
* remove bad import from CMFInit breaking CMF/Plone installation (#1291,
#1295)
* /upgradeAll now sets up a catalog and tries to fix some common
character encoding problems
**Configuring**
* accept zodb skin templates with .pt or .dtml suffixes too, for easy upload
* when adding a wiki, keep image and file suffixes
* when adding a wiki, set the stylesheet's content type to text/css
* code cleanup, drop standard_wiki_header/standard_wiki_footer support
* add use_issue_links boolean property
**Browsing**
* help page cleanups, link UsersGuide
* clarify username option help
* fix subtopics layout interference from unterminated stx lists &
literal blocks (#625)
* improve contents page styling, make it like subtopics (but bigger)
* fix star image in message-board-style subtopics template (#1305)
**Editing**
* fix editform helppage link
* clarify page type names, change "type" to "markup"
**Issue tracking**
* set a "medium" severity when mailing in a new issue (kludgy, just
picks the middle list element)
**General**
* use a more stable contents url to reduce bot traffic (#762, #699)
(Simon Michael, Daniel Yount, Michael Haubenwallner, Sascha Welter)
* handle unrecognised page types properly
* numericVotes method to get votes without voter identities
* merge Wikis.py into __init__ and Admin
Zwiki 0.57 2006/10/01
=======================
Style and help cleanups, bugfixes.
**Upgrade notes**
If you use the http://zwiki.org/HowToMakeContentsExpandable , you'll
need to update it to work with the new "expandable" css class.
**Configuring**
* reorganize stylesheet
* add missing mathaction styles
* rename "aqtree3clickable" css class to "expandable"
**Browsing**
* subtopics, page context, wiki contents styling fixes
* make help page a built-in view like recentchanges etc.
* help updates
* make rss feeds and creationTime()/lastEditTime() more robust, eg
when creation_time property is blank
**General**
* fix backwards compatibility for old page objects
* speed up and quieten down tests a little
* developer docs cleanup
* "authorstats" make rule. Welcome, Haskell!
Zwiki 0.56 2006/09/02
=======================
Plone 2.5 support, LatexWiki and MathAction incorporated, plone tabs
cleanup, translation updates, bug fixes.
**Upgrade notes**
If you are upgrading, re-install Zwiki in your plone site's
Add/Remove Products to make the metadata tab go away. (See below.)
**Installing**
* Wiki pages in Plone (or CMF) will no longer show the metadata
tab by default. http://zwiki.org/1273 has more about
this. (#1273)
* add isDefaultPageInFolder method, fixing plone 2.5.x support
(#1283)
**Configuring**
* don't use # in setupTracker's event log messages, it was confusing
**Browsing**
* don't limit the content area to 80% width in standard skin's stylesheet
* clean up plone/cmf tabs/actions
* change backlinks form's title to Related pages
* in the PAGE/myvotes view, link to pages
**Editing**
* tweak the warning a user sees when too many external links are added
* make restructured text be more silent about errors (report
severe errors only)
* LaTeX support: add the zwiki.org version of LatexWiki to Zwiki's
standard plugins (Simon Michael, Bob McElrath, Joe Koberg & R. Sean
Bowman)
* Axiom, Reduce, Maxima, Noweb support: add the zwiki.org version
of MathAction to Zwiki's standard plugins (Simon Michael, Bill Page)
* increase max page name length in editform from 100 to 300 for eg
latexwiki formula page names
**Issue tracking**
* make the add issue form respect the edits_need_username property,
closing a spam hole (#1279)
**Translations**
* new Breton translation for plone skin (Fulup)
* translation updates:
- German (Stefan Kose)
- Japanese (Masaya Kato)
- Russian (Valery Sharapov)
**General**
* in embedded DTML, ensure the context object (_.this) can acquire
from the folder, as we'd expect. Zope bug ? see collector
Zwiki 0.55 2006/08/02
=======================
A couple of bugfixes.
**Installing**
* fix installation breakage in vanilla CMF (#1271, koegler, Simon Michael)
* fix typo which broke ZMI add zwiki form (#1269)
**Editing**
* make standard_error_message create button use createform, not
editform (#1275, Peter Merel)
Zwiki 0.54 2006/06/01
=======================
Miscellaneous view-related and general enhancements.
**Upgrade notes**
CMF/Plone users: the zwiki_standard and zwiki_plone skin layers have
been replaced by a single zwiki layer. Re-install Zwiki in your
CMF/Plone sites, using Plone's add/remove products or CMF's
quickinstaller, to register the new skin layer. Also remove the
zwiki_standard and zwiki_plone skin layers from your skins in
portal_skins -> Properties.
**Installing**
* cleaned up ZMI Add ZWiki and Add ZWiki Page forms
* remove _getViewFor import that broke with CMF 2.0
* fix upgradeAll's batch option
**Browsing**
* /myvotes view shows your votes in this wiki
* highlight your current vote for this page, if any
**Editing**
* support a max_identified_links property also, for
cookie-identified users (for now)
* edit history enhancements, a more useful diff browser and more
powerful revert methods. Renames can now be reverted, reverting
is more reliable, and appropriate mail notifications are sent.
**General**
* replace zwiki_standard and zwiki_plone with just skins/zwiki
* Views code cleanup
* simplify definition of view macros and make them refresh
immediately in debug mode
* more code docs
* don't bother identifying the catalog in event log
Zwiki 0.53 2006/05/01
=======================
RST+DTML support, alternate heading layout for plone, some useful
bugfixes.
**Configuring**
* add an old-style compact parents list as an alternative in
pageheader.pt, off by default (#1250)
* CSS cleanups
**Browsing**
* fix action icons layout in plone 2.0 (#1253)
* make top-right links small again in standard skin
**Editing**
* enable dtml interpretation in rst pagetype (Stefan Rank,
Simon Michael)
**Mail**
* fix unsubscribe, which was losing all subscribers' "all
edits" setting (#1254)
* fix an obscure case where cmf/plone subscriptions could be
ignored
* don't add NO_ADDRESS_FOR recipients, they break some MTAs
(#1255)
**Issue tracking**
* make changeIssueProperties respect relevant permissions and
edits_need_username, to protect from spambots (#1260)
* be more robust about including full page name in issue
creation mails (#1257)
**General**
* easier make test-* rules
* fix WWML test, which wasn't testing WWML at all
* testsupport docs, use rst not stx in default fixture
Zwiki 0.52.1 2006/04/09
=======================
Bugfix release.
**Upgrade notes**
If you installed 0.52 in a CMF or Plone site for the first time, the
zwiki_standard skin layer may not have been installed and some
images may appear broken. If so, uninstall and reinstall Zwiki in
add/remove products.
**Installing**
* fix backwards compatibility for old custom templates like
editform (#1241)
* the zwiki_standard layer was not being registered during
cmf/plone installation; don't add the unnecessary "Zwiki" skin
any more
* Add Zwiki was not setting page type based on the file suffix
(#1247)
**Configuring**
* don't html-quote the site header, if configured (#1240)
**Browsing**
* fix blank lines in RST page comments (#1248)
* don't show wiki logo in plone skin
* show document actions instead of zwiki search form in plone skin
* don't show page hierarchy list bullets in plone skin
* don't make context links smaller in plone skin
* use h1 instead of big for page name
* add more whitespace between header and content in plone skin
**Editing**
* when creating pages, use epoz based on the new page's type, not
the parent page's (#1243)
**Mail**
* subscribe form fixes for cmf/plone sites: fall back to zwiki
options cookie when not logged in, don't subscribe Anonymous
User, more help for logged in users (Jens Nachtigall, Simon
Michael, #878, #1203)
* fix subscribeform _members attribute error with CMFMember
(#1239, Jens Nachtigall, Simon Michael)
**General**
* don't let find objects in the catalog break due to outline
(#1246)
* make include() convenience method more robust with
authentication
Zwiki 0.52 2006/04/01
=======================
Restructured Text fixed & now the default markup, standard skin
templates refactored and used for plone, zwiki/plone skin switching
always available, wiki navigation links and issuebrowser
(re-)enabled, better styles, zope 2.7 support fixed, slow freeform
link rendering fixed, translation updates including a new Thai
translation, much code cleanup.
**Upgrade notes**
A lot of skins code has changed. Your old wikis should keep working
as before except:
- if you have a customized ``recentchanges`` or ``searchwiki``
template you'll need to delete it or replace with the latest and
re-customize
- full/simple/minimal links in old custom skin templates will no
longer work.
- http://zwiki.org/HowToUseTheStandardSkinInPlone is now built in,
if you made a "Zwiki" CMF skin you can delete it.
**Installing**
* fix startup failure with Zope 2.7 (#1222, Frank Laurijssens)
* fix a mysterious new bug with cmf/plone registration (#1237)
**Configuring**
* leave site links enabled by default again (home, changes,
issues...)
* fix container context, make page management form create button
respect folder permission (#1220)
**Browsing**
* switching between plone and standard zwiki skins in CMF/plone
sites is now always available, and no longer changes the url.
Just use the - and + access keys (in firefox: alt minus, alt
plus).
* fix the two-year-old freeform links speed regression (#818,
Warren Holt, Simon Michael)
* fix double-linking of bare urls in rst pages
* add standard RST styles and latest zwiki.org tweaks to
stylesheet - black headings & subtopic links, limited text
width, etc.
* tweak rst comment headings - remove blank line after heading,
don't italicise username
* fix too-small headings on RST pages, and don't show so many RST
warnings (#1224)
* work better with plone livesearch
* UserOptions.dtml was missing a > (Andrew Milton)
* remove unneeded styling of external editor icon
* remove unnecessary inconsistent-looking access key on logo
* show a heading on all views except editform
**Editing**
* make restructured text the default page type, change page type
order in editform. (AdoptRestructuredText)
"As of today, RST is the default page type. Hurrah! And three
cheers for trusty old STX, which served us well. It is still the
page type of choice when you want to do stuff with embedded DTML
or HTML."
* fix error displayed on first comment to an RST page (#1233)
* show "HTML (WYSIWYG)" in the editform when Epoz is available
* remove editform's hard-coded gray background
**Page hierarchy**
* make backlinks form smarter
* make singletons have same style as other links in contents
**Issue tracking**
* don't bother showing "(property change)" in issue mailouts
* provide a link to issuebrowser by default
* make IssueBrowser show categories more usefully out of the box
**Translations**
* Thai translation started (Bunyawat Singchai)
* update po files from rosetta and code, simplify file names
**General**
* namegeddon. File and class renames and re-ordering for clarity
and better organization eg in wing ide
* major refactoring of skin templates using macros, the same
templates are now used for standard & plone skins (ViewGeddon)
* document skin code in Views.py
* use PageTemplateFile so view templates will reload in debug mode
(macros still don't)
* move all images to skins dir, use the standard zwiki page icon in plone
* standard_error_message cleanups
Zwiki 0.51 2006/03/02
=======================
New partial UI translations from Rosetta: arabic, afrikaans, british
english, estonian, romanian, swedish, turkish (welcome!); a number of
bugfixes, eg fixing plone 2.0 support; a new option useful to
discourage random/spam edits on public sites; briefer issue page
mailout subjects; much cleanup of unit tests.
**Upgrade notes**
If you have a customised wikipage template, your page management
form will not reflect the new edits_need_username property until you
update or remove your template.
If you do not have a catalog configured for your wiki, recent
changes will no longer sort properly. You will probably want to add
a catalog, by visiting SOMEPAGE/setupCatalog as manager.
Purple numbers are no longer supported out of the box.
**Installing**
* fix a bad import which broke CMF 1.4/Plone 2.0 support (#1211)
**Configuring**
* new 'edits_need_username' option can be used to block anonymous
editors with no username cookie. Off by default.
**Browsing**
* fix partial display of pagemanagement form due to inconsistent
permission checking (#1172, Frank Laurijssen, Simon Michael)
* work around a zope 2.8/2.9 bug breaking recentchanges by
requiring a catalog. RC no longer sorts properly without a catalog
(#1145, Simon Michael, Michael Haubenwallner)
**Editing**
* fix ExternalEditor webdav locking with Zope >=2.8 (#1194, Phil
Schumm, Simon Michael)
* friendlier access denied messages in certain situations (eg when
edits_need_username is enabled)
* remove purple numbers plugin
**Page hierarchy**
* make links in contents, eg to pages with brackets in the name,
more robust
**Mail**
* mailouts from issue pages - except for the creation mailout -
now just include the issue number, not the full page name, in
the subject. This can be turned off by setting a
'mail_issue_names' boolean property. (Simon Michael, Frank
Laurijssens)
**Issue tracking**
* issuebrowser layout tweaks - reduce columns from 8 to 6
**Translations**
* translation updates from Rosetta at launchpad.net. New
translations include: arabic, afrikaans, british english,
estonian, romanian, swedish, turkish. Thanks to all translators!
* rename xx-XX po files to xx_XX
**General**
* testgeddon
- move tests/\* up to \*_tests.py
- update all tests for zope 2.9 testrunner
- make all tests pass
- make tests run faster
- run cmf/i18n tests only when the necessary products are present
* fix deprecation and bad security declaration warnings reported
by zope 2.9
* remove /src access key & link to clean up google results for
zwikis (#1174)
Zwiki 0.50 2006/02/01
=======================
Minor changes.
**Mail**
* show subscriber counts in subscribeform**
**General**
* add names from ZwikiContributors to CONTRIBUTORS.txt
Zwiki 0.49 2006/01/19
=======================
A new copyright/license policy and contributor list; Plone 2.1 and
mail fixes.
**Upgrade notes**
You should upgrade to this release if you're using Plone 2.1.
**Browsing**
* make the green border & tabs appear in Plone 2.1, and indeed
force it always on, for now (#1187)
**Mail**
* make authenticated/unauthenticated subscriptions in CMF/Plone
more interchangeable so things just work (#1199, Simon Michael,
John Riley)
* subscriberList was returning a stray :edits, causing trouble eg
in lotus notes (#1197, John Riley, Simon Michael)
* also accept Secure Mailhosts, fixing mailout in Plone 2.1
(#1197, Tracy Reed, Simon Michael)
**General - i18n**
* minor fix, one line hadn't been translated (Frank Laurijssens)
**General**
* add new contributors agreement & repo policy
Zwiki 0.48 2005/12/01
=======================
French and dutch translation updates & several small bugfixes.
**Issue tracking**
* tweak html to avoid stray hyperlinking in issue
**browser in plone wikis**
* fix a missing space in filter issues
**General - i18n**
* fix conflicting patch for i18n semicolons
* avoid deprecation warning zope2.8 (i18n:attributes, ';' instead of
space) (Stefan Rank)
* french translation updates (Encolpe Degoute)
* i18n code cleanups (Encolpe Degoute)
* Additional translations for Dutch (Frank Laurijssens)
Zwiki 0.47 2005/11/06
=======================
Allow limited-depth hierarchy display, translation updates, bugfixes.
**Upgrade notes**
If you have some #NNN issue links which are not working, the #1179
bugfix will take effect when you edit that page (or visit
PAGE/clearCache).
**Installing**
* fix Add ZWiki failure on older zopes due to attempted use of
btree folders - just always use ordinary folders (#1185)
* don't warn about Regexps.py when there is no locale configured;
log any locale/regexp-related problems at DEBUG level
**Editing**
* prevent wiki-linking in reST literal blocks, like STX
* don't add "links updated" log note everywhere during renames
**Page hierarchy**
* subtopics() and offspring() can now take a depth argument to
display hierarchy only to a certain depth
* be a little smarter about not showing subtopics twice when
displayed with dtml
**Mail**
* don't translate "(edit)" in mailout subjects
**Issue tracking**
* make #NNN issue links work again (#1179)
**General - i18n**
* update pot and po files
* remove stray zope 3 messages from pot and po files (#1188)
* replace defaults in po files (#1190)
* update make rules for i18n
* zh-CN/zh-TW translations updated (T.C. Chou)
* update french translation up to 0.46.0 (Encolpe Degoute)
* dutch translation update (Frank Laurijssens)
* german translation update (Jens Nachtigall)
**General - skins**
* Hide access keys when printing (Encolpe Degoute)
* page template cleanups and syntax fixes (Encolpe Degoute)
**General**
* add a DEBUG logging function
Zwiki 0.46 2005/10/01
=======================
Per-user mailout policy, skins reorganization, plugin architecture
enhancements, support for boring pages, wicked link syntax, favicons
and separate create form, better logging, many code cleanups &
bugfixes.
**Upgrade notes**
To make your rss feeds and zwiki.org-style blog listings less junky,
do SomePage/setupCatalog to add the new isBoring index.
An mailout_policy folder property with value "edits" overrides the
per-user policy (see below), but this may be dropped in a future
release.
**Installing**
* fix __implements__ attribute error when CMF is not installed (#1149, Warren)
* make Zwiki startup more robust with strange locales/strange pythons (#1158)
* make zmi add wiki form use a btreefolder
* don't break when adding a wiki with id home (#591)
* drop unnecessary loading plugins message at startup
* don't log a warning at startup when the system locale is None
* clarify missing PTS warning at startup
* make fit import failure warning at startup less troubling
* fix a case where a page upgrade wouldn't get logged
* don't break when displaying a page whose page type has been uninstalled
**Configuring**
* wiki subscriber mail-out, rss feeds and blog listings will
ignore boring pages TestPage, SandBox and their offspring, by
default. You can configure different pages in a boring_pages lines
folder property, one per line. An isBoring index has been added to
the standard catalog fields, run /setupCatalog to add it.
* set a true use_double_parenthesis_links property to enable
Wicked-style double parenthesis syntax for freeform wiki links.
This is for world users who can't easily type [].
* rename and delete no longer check for a username in addition to
the permissions (though the skin may still hide them without a
username.)
**Browsing**
* the /changes_rss feed now shows the edit diff
* misc_/* image paths are now relative to be more robust with vhosting (#689)
**Editing**
* be sure to create our own recycle_bin even if the parent folder has one
* purple numbers now disabled by default
* allow create to be called directly by page management form
**Mail**
* add "all edits" checkboxes to subscribeform. Zwiki can now send
comments to some, edits to others.
* reparent now also sends a mailout
* remove (new), add (edit) in mailout subjects for clarity
* just say "links updated" in rename mailout subject
**Issue tracking**
* use more consistent (property change) in issue mailouts, and don't say it if no property changed
* /issuebrowser was showing filter issues form
**General - skins**
* big skins reorganization to reduce duplication
* use a separate createform skin template for creating pages if present
* hide most of the wiki action links by default in standard skin
* tweak page management form layout in standard skin
* drop unnecessary extra text from page management form in cmf/plone
* remove old _ and = access keys from /showAccessKeys
* register just the zwiki_standard skin with FilesystemSiteDirectory when installed
* italicise log notes in recent changes
* if a 'favicon' object is present, set it as the page icon in the standard skin
* don't let recentchanges break when a page type has been uninstalled
* use the word "page" instead of "subtopic" in the page management form
* don't let non-template objects with the same id hide our skin templates; improve bad template error
* remove the h2 bottom border style
* remove stray commas in page templates causing log warnings
* drop uploaded and wikinav_portlet templates from plone skin
**General**
* split content/ into wikis/ and scripts/
* strip html tags in the page summary, and add renderedSummary which does formatting and linking
* rename all pagetypes' renderXIn methods to format
* plugins can now be packages or files
* plugins can now override any method in the product core
* add support for emacs-style "hooks" for customization by plugins
Zwiki 0.45 2005/09/01
=======================
Robustness fixes, Plone 2.1 compatibility fixes, simplifications, CMF
metadata support.
**Upgrade notes**
You might want to delete the "outline" object using the ZMI,
allowing Zwiki to create a more ZMI-compliant one. Note this will
lose any manual re-ordering of subtopics you may have done.
The default colour for "serious" issues is lighter. This will take
effect for each issue page as it is edited. To make all pages show
the correct colour right away, visit SomePage/upgradeAll in your
browser.
**Installing**
* make the outline cache replaceable to avoid errors during
migration of plone 2.1rc<3 sites (#1143, SM, alecm)
* make catalog lookup more robust when there is another object
named Catalog (#1132, SM, Tim Olsen)
* catch errors when importing page types and plugins at startup
(#809, #1148)
* make fit import error at startup less verbose (#1054)
**Configuring**
* make the outline cache object fully ZMI-manageable (#1144)
* drop support for alternate catalog names via SITE_CATALOG property
* drop support for overriding the contents view with a SiteMap page
* don't update page creation times when moving/renaming/importing
in the ZMI
**Editing**
* fix page creation/editing breakage in plone 2.1 due to explicit
acquisition (#1137, SM, alecm)
* enable CMF/Plone document metadata support (jbb)
**Issue tracking**
* make the serious issue default colour lighter
* allow issues without numbers (with at least a "status" property)
**General - i18n**
* remove unnecessary -en po files
* add missing headers for german po
* drop unnecessary -PT for pt po files
* fix space-separated i18n attributes to avoid deprecation warnings on startup
**General - skins**
* make hasSkinTemplate check filesystem templates, such as the
alternate subtopics template (#1113, Mark Ferrell, SM)
* drop the special style for ratings, for now
**General**
* allow create to work without a request, for debugging
* merge moin_support.py with moin.py for easier handling
* don't bother noting pre-renders in the transaction log (#948)
* drop unused getSkinTemplateWithDefault method
Zwiki 0.44 2005/08/02
=======================
Drop full/simple/minimal and simplify the standard skin, more robust
wiki contents.
**Upgrade notes**
Customized skins which use the old wikipage_macros template will
stop working with this release, as discussed in the 0.42 upgrade
notes. If this affects you, you'll need to make the changes
described there now.
**Page hierarchy**
* clarify updateWikiOutline and call it on every page view to
avoid out of date contents and hopefully avoid the need to call it
manually
**General - skins**
* drop full/simple/minimal modes from the standard skin.
(cf http://zwiki.org/UserDiscussion#msg20050726150738-0700@zwiki.org)
* drop backwards compatibility support for pre-0.42 wikipage_macros
* drop the background colour in top and bottom bars
* wikipage template cleanups
* rewrote and redocumented setskin, fixed permission declaration
not sure I accomplished much.
* (commented out) if a "background.jpg" object is present, use it as
the body background image (for the main page view only)
Zwiki 0.43 2005/07/01
=======================
Spanish and chinese translation updates, and a small fix for
setupDtmlMethods.
**Upgrade notes**
To get fuzzy urls working in (public) plone zwikis, visit
SomePage/setupDtmlMethods after this upgrade.
**Configuring**
* make setupDtmlMethods create a standard_error_message in plone (#1117).
**General - i18n**
* Updated zh-TW & zh-CN po files (T.C. Chou)
* spanish translation updates (Gaspar Quiles)
Zwiki 0.42 2005/06/04
=======================
Skin templates cleanup, message-board-style subtopics display,
miscellaneous fixes, new portuguese translation and russian/german
updates.
**Upgrade notes**
Skin macros have been moved from wikipage_macros to wikipage, and
some have been renamed. Also some CSS classes have been renamed.
Customised skin templates should continue to work normally for
now. If you have any, please replace any macro-related occurrences
of the following strings in your templates::
wikipage_macros -> wikipage_template
quickaccesskeys -> accesskeys
quicklinks -> wikilinks
editlinks -> pagelinks
pagename -> pagenameonly
The following CSS class has been renamed, you'll need to update
any customised zwiki stylesheets accordingly:
* quicklinks -> wikilinks
Also a few macros and classes that no-one was using have been
removed. I expect to remove the backwards compatibility support
for old macros in the next release or three.
The standard skin directory has been renamed to zwiki_standard.
In CMF/Plone sites, you should uninstall and re-install Zwiki in
plone setup (the upgrade link may not work) so that zwiki_standard
appears in the portal_skins tool. You can then delete
portal_skins/standard and portal_skins/zmi in the ZMI.
**Editing**
* be more robust when saving a page with undated comments (#1103)
* after voting, redirect to the referer instead of the rated page
**Page hierarchy**
* make subtopics template-driven, selectable via subtopics_style
property, and dtml-aware. Two styles are now included: "outline"
and "board". The latter shows view counts if mxmCounter is
installed. See admin guide.
**Mail**
* also recognise a MaildropHost as mailhost
* allow mail properties to be configured on a per-page basis
**Issue tracking**
* add a full comment form to the issue properties form
**General - i18n**
* russian translation updates for the standard skin (Michael Krishtopa)
* german translation updates (Jens Nachtigall)
* new portuguese translation (João Villa-Lobos)
* update pot and po files
* misc i18n fixes
**General - skins**
* merge wikipage_macros into wikipage template
* macro & stylesheet cleanups; use macro for form headings
* inline macros in zwiki_plone's wikipage template, remove
wikipage_header and wikipage_footer
* rename issuepropertiesformdtml.dtml to issuepropertiesform.dtml
* rename noindex slot to searchtags
* rename quickaccesskeys macro to accesskeys
* rename quicklinks macro and CSS class to wikilinks
* rename editlinks macro to pagelinks
* rename pagename macro to pagenameonly
* rename pagemanagement macro to pagemanagementform
* rename standard/ to zwiki_standard/ to be more plone-friendly
* move skins/zmi/* to skins/zwiki_standard/ to be more plone-friendly
* change to upper case for View _h_istory (Jens Nachtigall, #1081)
* add "Revert to this" button in plone diff form as in standard
skin (Jens Nachtigall)
* clarify revert button wording in both skins
* don't call pageUrl so many times in wikipage
Bob was able to measure some speedup from doing this. I've
redone his patch for the cleaned up template. However I believe
it's necessary to define pageurl again in each macro where it's
used, so it's in scope for other templates using the macro, so
it's still called a few times per page view. (Bob McElrath,
Simon Michael)
* hide some urls and things when pages are printed, (anonymous, #1110)
* add a pagesByType pythonscript to content/misc
**General**
* fix and update broken/failing tests, make all tests pass again
(#1104, #1049)
* fix a TypeError and AttributeError when CMFMember is used
(Jens Nachtigall)
* another robustness fix for isEmailAddress and emailAddressFrom
* make pageType and pageTypeId public, for troubleshooting
* remove no longer used (and broken) wikiOutlineFromParents
* remove _createFileOrImage's unused parent argument
* tweak requestHasSomeId, add userIsIdentified alias
Zwiki 0.41 2005/05/01
=======================
Some anti-spam features, skin fixes and translation updates.
**Upgrade notes**
Translations may be somewhat in flux this release.
**Configuring**
* restrict external links: if a max_anonymous_links int property
is defined, edits from unidentified users (with no username)
containing more than that number of http:// links will be refused
and logged
* delayed indexing: pages now include the NOINDEX meta tag for 24
hours after an edit, to reduce the chance of spam links being
indexed by search engines.
**Browsing**
* show page source links when using thorough search, to help with
spam cleanup
**Mail**
* make subscribe form help reflect the comments/edits mailout policy
(Jens Nachtigall)
* AnonymousUserSubscriptionInPlone (Jens Nachtigall)
fixes #878 anonymous subscription in cmf/plone subscribes "Anonymous User"
* br_for_subscribed_pages_list_on_subscribeform (Jens Nachtigall)
If one is subscribed to several pages, theses pages are
on the same line, which looks confusing. Now it is done as
with the page_subscribers list on the very same subscribeform,
ie an "
" is inserted between each page name.
**General - i18n**
* regenerate pot and po files, and this time with up-to-date
Default comments (#1093, SM, Jens Nachtigall)
* mark_PREVIEW_as_translatable (Jens Nachtigall)
* chinese translation updates (T.C. Chou)
* spanish translation updates (Gaspar Quiles)
**General - skins**
* subscribeform_remove-unneccessary-span-tags (Jens Nachtigall)
* new api method: lastEditIntervalInHours
Zwiki 0.40 2005/04/01
=======================
Bugfixes, new japanese translation, chinese translation updates, new
search option.
**Upgrade notes**
This fixes a high-profile known issue in 0.39, #1062. If you didn't
already find the issue page and workaround, upgrade to this version
to fix it.
**Browsing**
* add a "thorough" non-catalog search to search form, commented
out (for spam hunting)
**Editing**
* fix the keys attribute error when creating pages in plone (#1062)
* deleting a top-level page redirects to the front page again; new
upUrl method (#917, Martijn Pieters, SM)
**Issue tracking**
* no bogus property change. Some very aggressive search engines
(spiders) seem to be following form action="xxxx" references in
pages as well as the usual href links. As a result probes by
such greedy theives can cause unexpected changes to wiki web
pages. One such example recently has been the triggering of the
Change button on the Issue pages. The script
changeIssueProperties should be more careful not to record any
change if the Change action is triggered with no actually
changes. (Bill Page)
**General - i18n**
* new japanese translation (Masaya Kato, Manabu Terada, Yoshiki
Shibukawa, Takayuki Shimizukawa, Junya Ogino, Takanori Suzuki)
* chinese translation updates (T.C. Chou)
* updated all po files from latest pot
**General - skins**
* the site_logo folder property didn't work in plone
Zwiki 0.39 2005/03/01
=======================
Search improvements, subtopics ordering, style tweaks, bugfixes.
**Upgrade notes**
To remove excess search keywords from existing zwiki-containing
plone sites, reindex and replace the Subject index and metadata in
portal_catalog in the ZMI.
For best search functionality, you may need to /setupCatalog and/or
upgrade or reconfigure your text indexes. See http://zwiki.org/1036
for more info.
If you have customized the standard skin templates or stylesheet,
note a number of CSS ids are now classes.
**Browsing**
* SearchPage/searchpage form cleanups, robustness fixes, better
results, google search (#1036)
* don't create so many search keywords in plone (#1059)
**Editing**
* set RST error reporting level to 2 by default (#992, Stefan Rank)
**Page hierarchy**
* support subtopics reordering with a backlinks UI and new reorder
method (#1044)
* preserve page hierarchy through folder renames; the 'outline'
information object is now visible in the ZMI and permanent (#728)
* don't redirect after /updateWikiOutline, because it confuses
first page creation in plone (#1028, huron)
**General - skins**
* don't add left & right whitespace margins in default skin any
more
* avoid ids for css-usage where possible (Stefan Rank)
* little typo in css eliminated formfield(s) background color
setting (Stefan Rank)
* underline h2s, gnome-style, shrink them a bit, and add slight
whitespace above
* don't reduce default font size in stylesheet
* tweak access key help
Zwiki 0.38 2005/02/01
=======================
New issuebrowser/IssueBrowser form, preliminary built-in RSS support,
bugfixes.
**Upgrade notes**
There have been changes to the zwiki catalog fields. After
upgrading, if your wikis use a catalog or are in a CMF/plone site,
visit FRONTPAGE/setupCatalog, or if issue tracking is enabled, visit
FRONTPAGE/setupTracker, to ensure your catalog is configured for
best large-wiki performance.
index_object's arguments have changed and the reindex_object and
updateCatalog methods are deprecated.
As noted below, free form links no longer try so hard to find
old-style IssueNo issue pages, so if you have broken links of this
kind, upgrade your issue page names (/upgradeAll).
**Configuring**
* fix dependency on /setupTracker for good large-wiki performance;
/setupCatalog is now sufficient (#993)
* be compatible with plone's default_page lines property (#914)
**Browsing**
* preliminary built-in RSS support - FRONTPAGE/pages_rss, /changes_rss
* freeform links no longer look for both old and new-style issues;
a slight (20%) speedup for rendering freeform links
**Issue tracking**
* fix sorting issues by number (#934)
* issuebrowser/IssueBrowser form for reviewing open issues
* make closed issues greener.. may be different on your screen,
feedback welcome
* hide zeros to make filter issues matrix clearer
* try to improve spacing glitch with dtml-translate on filter issues
**Fit tests**
* just log a fit import warning instead of displaying on the page
**General - i18n**
* i18n (global and french) for issue tracker in plone -
i18n in plone skin require some i18n elements (for instance the
so called 'contentaction' items) to be in zwiki-plone-* as well
(huron)
**General**
* catalog awareness cleanups
* make setskin links harmless for anonymous users and bots,
instead of logging errors (#1010)
Zwiki 0.37 2005/01/02
=======================
Improved rating form, a file -> wiki page import tool, chinese &
hungarian translation updates, bug fixes.
**Page hierarchy**
* make updateWikiOutline redirect to the updated contents view, and
provide an easier alias: updatecontents
* don't log a traceback when deleting a page with out-of-date outline cache
**Editing**
* avoid creating both pages when you rename during page creation
drop the leaveplaceholder and updatebacklinks arguments from
create(). Changing the page name in the create form now always
updatesbacklinks, never leaves a placeholder.
**Rating**
* new compact rating form at top right. Unrated pages now have
rating 1 by default.
* rating could fail when there was only one vote
* make rating's average a little more accurate
**Mail**
* workaround for clumsy mailhost lookup (#983)
* mailin: don't log incoming message text or traceback for missing text part
* make mailout logging less verbose
* fix a bug preventing subscribe link from appearing when
mailhost's id is not 'MailHost'
**Issue tracking**
* don't match xml/html character entities as hash number issue links (Stefan Rank)
**General - i18n**
* zh-TW and zh-CN translation updates (T.C. Chou)
* add missing metadata to finnish po files
* hungarian translation updates (Jaroli József)
* po file typo (T.C. Chou)
**General - skins**
* close a cross-site scripting vulnerability in standard error message (SSA-20041122-12, #925, ChrisW)
* Hide web only elements when printing from plone (Michael Twomey)
When printing from plone certain elements are visible on the
printed page, especially the access links. With the default
plone print style
(plonePrint.css) all links get expanded to full URLs which
results in a lot of useless junk at the top of the screen. This
patch adds a few plone related CSS classes to certain sections
of the page which in turn ensures they aren't visible when
printed. This has no effect on browsers which aren't aware of
the print style sheet. The access keys still work fine in
FireFox 1.0.
* fix html title in plone sites
* rearrange/reword wiki actions in cmf/plone, drop filter issues action
* tweak page management help in cmf/plone
* display site_header in standard skin header, if present
* use canonicaIdFrom to help link user names in recent changes
* change RecentChanges ZCatalog query-style to avoid deprecation warning (Stefan Rank)
**General**
* add tools folder and a basic import-files-to-wiki utility
Zwiki 0.36.2 2004/11/17
=======================
**Installing/upgrading**
* another fix for moin regexp encoding at startup (#963,#971,#972)
Zwiki 0.36.1 2004/11/14
=======================
**Installing/upgrading**
* fix zwiki startup on systems with locale and non-utf-8 encoding (#963)
Zwiki 0.36 2004/10/31
=======================
Skin switching in CMF/Plone, better MoinMoin markup support, edit
preview, easier issue page names and links, russian & hebrew
translations, bugfixes.
**Upgrade notes**
Skin switching hotkeys have changed slightly
Issue pages have a new #N naming scheme. Your old IssueNo pages
will still work; upgradeAll will rename them all.
We now add an optional Zwiki skin in CMF/Plone sites at install
time; if you want to enable skin switching within CMF/Plone,
re-install Zwiki in plone setup -> add/remove products
**Installing/upgrading**
* fix startup problem due to path separator on windows (Stefan Rank)
* upgradeAll: log elapsed time (Bob McElrath)
* upgradeAll: upgrade issue pages to new short names by default
* upgradeAll: replace partial_commit flag with a numeric batch argument
* upgradeAll: reindex every page, as well; slower but more thorough
* upgradeAll: log total number of pages
* simplify upgradeAll & upgrade, do less committing
**Creating/configuring**
* show subtopics is on by default; use a false show_subtopics boolean property to disable
* make add zwiki web use a BTreeFolder2 when possible (untested)
* don't send mail when setupTracker creates dtml pages
**Browsing**
* adjust skin switching keys, allow switching between
(uncustomized) plone and standard skin in CMF/Plone sites
(re-install zwiki and try alt -)
* fix the diff link in "last edited by"
* user options: remove unnecessary options; don't show
logo/heading, consistent with other forms
**Editing**
* don't require a username to show page management form
* page management form permission-sensitivity and text improvements
* plone editform: call page format "page type" like everywhere
else, list WWML page type along with the rest, add a cancel
button as in standard skin
* don't display the page name twice when you cancel an edit
* improved moin markup support: replace the old moin markup code
with actual MoinMoin code (bounty from Canonical)
* add preview button in editform (#933) (bounty from Canonical)
* fix a case where renaming could fail due to out of date wiki outline
**Page hierarchy**
* more skin cleanups; allow reparenting via backlinks in plone and in minimal mode
* reparenting fixes: prevent the first page appearing as an extra
parent, handle old tuple parents properties better (#952)
**Mail**
* mailin: once again post messages without a page name to a
default page, unless default_mailin_page property is blank
* be smarter about finding a MailHost; a page of that
id will no longer break mail-out
**Issue tracking**
* use short #N names for new issue pages; old IssueNo pages still
supported but deprecated; upgradeAll will rename them
* issuetracker: layout tweaks, also list severity counts
* filterissues: show category-severity matrix, instead of
category-status; I think this may be a more useful default
* filterissues: alter issue counts in totals matrix based on severity selection
* filterissues: fix this old chestnut again.. a FilterIssues
page's action should point to itself, not to the template
**Fit tests**
* fit: display a nice warning at the top of the page when there are fit tables and we can't import fit
**General - i18n**
* update italian translation (Lele Gaifax)
* new russian translation (Denis Mishunoff)
* new hebrew translation (Ofer Weisglass)
* hack i18n for unit tests, possible slowdown ?
**General**
* new method: wikiPath()
* rename protectEmailAddresses
Zwiki 0.35 2004/10/01
=======================
Spaced wikiname display, a basic MoinMoin page type, better search
engine indexability, i18n updates, bugfixes.
**Upgrade notes**
Nothing special to do.
**General**
* partial MoinMoin markup support (Chad Miller/Simon Michael)
* display wikinames with spaces when there is a true
'space_wikinames' folder property
* Don't change zope's current working directory (IssueNo0919, Kai
Hoppert/Bob McElrath)
* allow page types or a 'zwiki_content_type' property to set the
HTTP content-type header (Bob McElrath/Simon Michael)
* give a warning message rather than a python error for edits
containing banned links (Bob McElrath/Simon Michael)
* omit error-generating Structured Text tables instead of showing
a traceback (IssueNo0692)
* increase default summary size to 200 letters
* new methods: spacedPageName, Subject, Description
**Skins and content**
* provide keywords and description meta headers for better search
engine listings
* recent changes: make period buttons lower case
* plone: fix double doctype header (Bob McElrath)
* plone: add External Editor action for Wiki Page type (Bob McElrath)
* don't show "no subscribers" by the add comment button
* make sure page- & skin-based tracker forms are all up to date again
**Mail and comments**
* decode quoted printable mailins (get rid of =20's) (Bob McElrath)
**I18n**
* removed the workaround to fix utf-8 encoding with PTS, as I
seem to no longer need it; if your utf-8 encoding breaks, please
see I18nSupport.py and report
* i18n updates (Nicolas Laurent)
* french translation updates (Nicolas Laurent)
* german translation updates (Andreas Mayer)
* new partial finnish translation (Jyrki Kuoppala)
* internationalise "new" in mailout subjects
* fix incorrect value;title syntax in page management form i18n
(Bob McElrath)
Zwiki 0.34 2004/09/02
=======================
Beginnings of a plugin architecture; mailin simplifications and
enhancements; new hungarian translation; miscellaneous skin
enhancements and bugfixes.
**Upgrade notes**
Legacy support for the posting_policy property has been dropped,
use mailin_policy instead.
The mailin method no longer supports arguments other than the
message itself; control it with folder properties and choice of
mail alias instead.
**General**
* add firstPageUrl & lastPageUrl methods
* include() dtml utility now supports show_subtopics keyword argument
* fix bug preventing use of show_subtopics keyword in urls
* add URL to the list of ids to avoid.. it breaks standard_error_message at least
* code refactoring to support a more modular architecture;
PurpleNumbers, Fit, Rating, Regulations and Tracker support are
now (somewhat) in plugins subdirectory
* link uploaded files properly on RST pages (Marius Gedminas, IssueNo0814)
* do away with the unnecessary ALLOWED_PAGE_TYPES list as Bob suggested
* Allow empty RemoteWikiURL name (Bill Page)
It is sometimes useful to allow the remoteURLname to be
empty. That is we give a WikiName that looks like it is
remote but really it is not (at least not yet ... :).
The old code caused a : to be inserted.
* comment out unused code breaking mailout (IssueNo0890)
* also check comment subjects and log notes for urls from the
banned_links list
* likely fix for false contents in new wikis (IssueNo0903)
**Skins and content**
* make hidden access-key links conditional like the visible ones
avoids errors in the logs due to spiders viewing non-existent tracker, eg
* let next/prev access keys wrap around when on last/first page
* show "last edited by" in minimal mode
* make the discussion link look for UserDiscussion before GeneralDiscussion
* plone diffform: use n & p access keys for next/previous
* diff form revert button (Bob McElrath)
Updated revert patch:
2) Add "Changes in revision N" to header
3) Add "Log note:"
4) Add "Return to page" button.
5) Grey out next/prev buttons on first/last diff.
* html tweaks to support expandable bullet list patch
* fix double skin with wikipage() method in cmf/plone (IssueNo0888)
**Mail and comments**
* mailin: more code cleanup, add experimental spam url reporting.
Sending mail to a mailin address of the form spam@... will add all
urls found in the message to the banned_links folder property, if
there is one.
* mailin: drop support for configuration via arguments
* mailin: support default_mailin_page folder property
* mailin: update doc, drop support for old posting_policy property
* mailin: don't require an initial word boundary when matching mailin aliases
* mailin: allow partial bracketed page names in subjects
* don't send out mail-outs which have an empty body
**Tracker**
* make createNextIssue choose correct issue number in authenticated wikis
* fix a python 2.3ism causing issue tracker to fail with zope 2.6
(IssueNo0897, koegler)
**I18n**
* add utf-8 content-type header to mail-outs
* new hungarian translation (József Jároli)
* german translation updates (Andreas Mayer)
* dutch translation updates (Jaap Noordzij)
* brazilian translation updates (Jean Rodrigo Ferri)
Zwiki 0.33 2004/08/02
=======================
Minor fixes, mail code cleanups, translation updates.
**Upgrade notes**
No special upgrade issues.
**General**
* allow page types to change the HTTP content-type header (Bob McElrath)
* make _ work during unit tests again
**Skins and content**
* fix unnecessary python 2.3-ism in editform
* zope 2.6 compatibility fix for full/simple/minimal getattr error
(IssueNo0875)
**Mail and comments**
* refactor mailin, sendMailTo and other mail code
* mailin policy change: messages with no page name in subject are
now discarded by default
* fixes for mailin of new page/new issue (IssueNo0879)
* use "anonymous" as real name for anonymous mailouts
**Tracker**
* createNextIssue updates: return the page name, support
sendmail=0 argument
* support pages(isIssue=1) when there is no catalog
**I18n**
* updated the italian message catalog for 0.32.0 (Lele Gaifax)
* polish translation updates (Jakub Wisniowski)
* chinese transation updates (T.C.Chou)
Zwiki 0.32 2004/07/05
=======================
Zwiki's skin is about fully internationalised; translation updates,
new polish, dutch & german translations; skin cleanups; pluggable
page types; refactoring, bugfixes.
**Upgrade notes**
zwiki_plone/wikipage_view template has been renamed to wikipage
If you use a character encoding other than utf-8: zwiki has been
hard-coding utf-8 since 0.31 - see IssueNo0855.
**General**
* page types refactoring - moved to separate modules in pagetypes/,
new short ids, pluggable API docs
* simplify CMF/Plone rendering and page view url
* fix "some permissions had errors" message (IssueNo0842)
* don't let any failure to update links stop a rename
* don't let an empty allowed_page_types property break page creation
**Skins and content**
* allow python scripts in wiki templates (Bob McElrath)
* tighten up page management form layout and add a subtopic creation button
* new include() convenience method for dtml ("dtml-var include(SomePage)")
* diffform: full history button was not checking correct permission (Bob McElrath)
* rename shade2 class to formfield, use consistent background shading in form elements
* standard: make form inputs & selects inherit font size
* standard: remove subtopics option from editform, use ZMI instead
* zwiki_plone: rename wikipage_view to wikipage to be at least self-consistent
* zwiki_plone: remove unused wiki_icon.gif
* xhtml fixes (Bob McElrath, Simon Michael)
**Mail and comments**
* make citation formatting in comments more robust (IssueNo0863)
* allow a per-page mailout_policy (Bob McElrath)
* fix mailout of edit with empty log note via PUT (Bob McElrath)
* subscribeform: remove duplicate you are not subscribed
* Do not add extra space on mailin Subject lines. (Bob McElrath)
**Tracker**
* don't treat all pages beginning with a digit as issues by default
* make issue tracker layout cleaner and more consistent in standard/plone
* issue properties form: allow a longer optional note, up to 100 chars
* disable subtopics display on the IssueTracker page by default when doing /setupTracker?pages=1
**I18n**
* new german translation (Andreas Mayer)
* chinese translation updates (T.C.Chou)
* italian translation updates (Lele Gaifax)
* french translation updates (Nicolas Laurent)
* polish translation updates (Jakub Wisniowski)
* new polish translation (Marek Ciesielski)
* new dutch translation (Jaap Noordzij)
* more i18n and fixes in python, page templates and dtml (Jakub Wisniowski, Nicolas Laurent, Simon Michael)
* set utf-8 content-type header in dtml also to fix character encoding
* fix occasional i18n errors by making _() return a string (IssueNo0856)
* split po files into zwiki and plone domains to fix CMF action
translations; translate at run time, not install time;
(IssueNo0833)
Zwiki 0.31 2004/06/01
=======================
Much i18n progress including a number of new translations; tracker
cleanups and usability improvements; permissions fixes; tests, code
cleanups, bugfixes.
**Upgrade notes**
Similar to 0.30. changeIssueProperties() "title" argument is now "name".
**General**
* always update links by default when renaming (page
management form was not)
* don't show a .svn subdirectory in add wiki form (Lele Gaifax)
* make image and file links sensitive to page type (IssueNo0737, peterq)
* fix some missing security declarations in 0.30 (IssueNo0796)
* make page rating not require python 2.3 (IssueNo0794)
* better comment formatting on reST pages (Lele Gaifax)
* support reST in Zope 2.7.1 (Lele Gaifax)
* cmf/plone: forcing a sole page's name field to FrontPage was unhelpful, remove
* link banning: edits containing urls in the banned_links property
will fail (for spam prevention)
* make summary() smarter, include only the first paragraph by default
* create() can now also set parents
**I18n**
* plone editform: don't show duplicate pages types due to i18n
problem (IssueNo0823)
* standard and plone skin i18n (foenyx, simon)
* french translation updates (foenyx)
* italian translation (Lele Gaifax)
* portuguese-brazilian translation (Jean Rodrigo Ferri)
* traditional and simplified chinese translations (T.C. Chou)
* always send the HTTP header to help character encoding negotiation
* renamed LocalizerSupport to I18nSupport; we now try to use
PlacelessTranslationService first
* PTS-based i18n support for python code and DTML
* fully automate pot extraction
**Skins and content**
* show current page in contents by default again
This is much more convenient for a human user. The drawback is
more hits to contents (one for each page) from robots which treat
#ref as a separate url.
* defaultPage() and the wiki navigation links were ignoring a
default_page folder property
* standard wikipage.pt: add a left/right layout table around ratingform
* make plone action urls point to customized pages if present (IssueNo0786)
* use grey background for pre and code sections by default
* include zwiki.org percentage styles
* make in-reply-to indicator more discreet
* explicitly set foreground and background color, for people with dark backgrounds
* simplify ratingform template
* rename zmi forms and move to skins/zmi/
**Mail and comments**
* make comment subjects appear in recent changes again (IssueNo0821)
* don't discard mail to TestPage page subscribers (IssueNo0672)
* make emailAddressFrom() smarter; handle non-cmf-members who have
an email address pref; highlight problem users in the recipient
list instead of quietly dropping them
**Tracker**
* usability & page layout improvements; highlight current sort &
filter options
* always parent new issues either under IssueTracker or at the top
level (not all over the wiki)
* protect issue properties with zwiki edit permission (IssueNo0278)
* don't require rename permission to change other issue properties
* change issue "description" to "name"
* new issuepropertiesform skin method & template
* simplify and clean up issue tracker & filter issues DTML
* tracker code refactoring; move tracker setup code to Tracker.py;
new methods issueNumber(), issueName()
* support for issue page names beginning with a number or #number
(commented out)
* removed support for custom 'isIssue' python script
* add missing tracker unit tests file
Zwiki 0.30 2004/05/03
=====================
Page rating, fix epoz support, bugfixes, code cleanups, i18n work, a
french translation.
**Upgrade notes**
You should probably remove the 'links' field from your catalog's
indexes and metadata now as it isn't needed and leads to slowdowns
in Plone+Epoz sites (IssueNo0784).
If you want to do zopewiki-style queries on page ratings, you'll
need to add the new rating and voteCount fields to your catalog.
Running PAGE/setupCatalog?reindex= will take care of this.
If you have Localizer installed, you may need to apply the
workaround at http://zwiki.org/IssueNo0793 .
**General**
* page rating support: new methods rating, voteCount, and
ratingform are supported and enabled in the standard skin by the
'Zwiki: Rate pages' permission. rating and voteCount are cataloged
by default.
* our 'links' catalog field caused slowdowns with plone+epoz, try
life without it (IssueNo0784)
* obey LEAVE_PLACEHOLDER default when renaming via edit form
(IssueNo0579)
* renaming to a page name beginning or ending with spaces was not
reparenting the children
* make parent and firstParent more robust (IssueNo0788)
* "completed" log messages for long admin operations (eg cataloging)
* make Url methods fall back to '' instead of None
* drop show_navlinks property
* allow partial page names when reparenting
* do citation formatting only for >'s at column 0 - this leaves
::-quoted python examples alone, and seems to still catch normal
comment citations. It doesn't prevent all unintended citation
rendering though. (IssueNo0770)
* pages named REQUEST, RESPONSE, or Epoz caused problems for zope,
possibly breaking the whole wiki (ZMI too). These are now
handled safely by adding X to their id.
* fix page creation with zope 2.6/python 2.1 (IssueNo0777)
* code refactoring, new tests
**Skins and content**
* fix plone skin breakage due to \ in multiline TAL (IssueNo0792)
* epoz fixes: make editform work with epoz 0.8, simplify
installation, don't show parent page content when creating, remove
duplicate source-mode checkbox (IssueNo0773)
* standard: remove last interfering leave placeholder option
(IssueNo0764)
* french translations (Nicolas Laurent)
* update po files
* don't show subscriber count when mailout is disabled, and don't
italicise it
* use small font in the dimtext style
* contents page heading tweak
* remove unused navpanel2 macro
* rename 'default' skin to 'standard'
* xhtml fixes (Alvaro Cantero, Bob McElrath)
* standard: some i18n attributes, html formatting
* standard: add badtemplate error template
**Mail and comments**
* fix mailin destination with multiline subjects (IssueNo0547)
* drop fewer_headers feature
* comment mailouts now appear the same with either 'comments' or
'edits' mailout policy.
* rename MessagesSupport & Messages.py to Comments*; refactor
mailin & comment code, use new email lib, new tests
Zwiki 0.29 2004/04/01
=====================
Bugfixes for Zope 2.7 & Plone 2, skin tweaks.
**NOTE: immediately following this release I am switching to darcs as**
**primary revision control system and considering CVS to be**
**frozen. Please see http://zwiki.org/ZwikiCVS for new procedures and**
**discussion.**
**Upgrade notes**
Nothing special; check past upgrade notes if appropriate
**General**
* wiki templates (added via ZMI Add ZWiki form) can now import
zexp, xml, jpg, png, gif and pt files, and run a setup_WIKITYPE
external method if present. This allows, eg, a latex-enabled
wiki template to be distributed with the LatexWiki patch.
(Bob McElrath)
* control page creation with add, not edit permission
* don't let python locale problems prevent product initialization
(IssueNo0392, IssueNo0769)
* fix missing Reparent permission (IssueNo0748, IssueNo0757)
* wikiOutlineFromParents could break with zope 2.7, fixed (IssueNo0738)
* be more robust with junk in the catalog when adding/viewing a page (IssueNo0722)
* fix "must be lazy sequences" error in btree-based folders (IssueNo0713)
* include .cvsignore files in CVS
**Skins and content**
* xhtml fixes (bob mcelrath, cyrille lebeaupin)
* default: show next/up/prev links in full mode by default
* default: skin template code cleanups
* default: make sure small fonts are smaller than body
* default: use "options" instead of preferences, access key "o"
* default: hide explicit backlinks & diff links again - not needed
* default: tidier & customizable prev/up/next links
* default: show parent context in simple mode too
* default: try the linear parent display in full mode
* default: default to a smaller font
* default: tweak margins
* access keys "," "." "/" for full/simple/minimal
* access key "m" for subscribeform
* show wiki contents, not front page, when going up from a top-level page
* now using PTS-compatible message catalogs in i18n/
* tell Epoz to look in epoz/ instead of ./ for it's files for easier setup
**Mail and messages**
* a citations whitespace fix (bob mcelrath)
* obfuscate email addresses in messages slightly (bob mcelrath)
* disable mailout formatting (IssueNo0696, bob mcelrath)
* fix subscribing to the whole wiki (IssueNo0754)
* tweaks to support ezmlm integration
**Tracker**
* make setupTracker do robust re-indexing like setupCatalog
* don't let metadataFor and issueColour mistake zodb objects for
page properties (IssueNo0732)
Zwiki 0.28 2004/03/01
=====================
Bugfixes, tests, refactoring.
**Upgrade notes**
Nothing special. If your tracker doesn't sort, see below.
**General**
* make wiki outline handling more robust, preventing IssueNo0727
and similar (when it exists but is None for some reason, regenerate)
* new pages were appearing twice (title and id) in the wiki contents
* diff no longer triggers python crashes on freebsd
* make indexing more robust and more verbose during setupCatalog
* make history transaction notes a little less verbose ("findlinks")
* don't log "reparenting children" during delete when there aren't
any
* remove old regulations permission
**Skins and content**
* fix traceback when creating/editing pages with recent plone/zope
versions (cmf/plone 'allowed_types' global overriding our
'allowed_types' define) (IssueNo0726, Christian Heimes)
* don't catch and display skin template errors any longer; zope's
own traceback is much better
* default, plone subscribeform: clean up the subscribeform a bit
and make consistent in both skins. Display a message when there
is no email address. We now try to hide the email field and
button when we can use the CMF member email property
instead. The logic here is a bit rough and may not work in all
situations.
* do not produce an empty stylesheet, which confuses Firefox
EditCSS (Bob McElrath)
* use a single contents URL (based on the default page) to reduce
robot activity
* make subtopics & comments headings bold, remove overline
* moved subscribe back to the page tabs area to create better
visual separation of "page" and "wiki" operations
* don't show the subscribe tab in plone if mailout is not enabled
* basic: default page cleanups
* include print.dtml, toc.py, view_source.dtml scripts in misc
**Mail and messages**
* performance fix: usernamesFrom was too expensive, occasionally
causing plone.org to max out cpu for 10 minutes at a time with
it's 7000 users. So now, we don't try so hard to match up email
addresses with CMF member ids - subscribers should use one or
the other. This should fix it.
(Alan & plone team, Simon)
* correctly render pages containing only messages (Bob McElrath)
**Tracker**
* a tracker created with zope 2.7 would not sort issues (IssueNo0720).
Note if you have already created a tracker with 2.7, to fix sorting
you'll need to visit PAGEURL/index_object on each issue page.
Zwiki 0.27.1 2004/02/06
=======================
Fixes a couple of problems with 0.27.
**General**
* fix last minute bug causing updateWikiOutline to fail with
pageName attribute error (IssueNo0694)**
* don't break if plone 2's document_actions is not present
(IssueNo0701)
* improve robot robustness for large public wikis by 1. removing
potentially expensive clearCache and print links from the skins,
and 2. making scroll-to-current-page in contents (with it's
consequent many unique expensive urls) optional and off by
default (IssueNo0699)
Zwiki 0.27 2004/02/02
=======================
New, faster page hierarchy implementation; access keys everywhere;
page management form and action icons in plone; utf-8; bugfixes.
**Upgrade notes**
Two upgrade issues this month:
If you have non-ascii characters in your page names or content: the
default skin used to specify iso-8859-1 character encoding; it now
specifies utf-8. So your wiki's character encoding may change, and
non-ascii characters may no longer display correctly. You'll have to
convert these manually (see http://zwiki.org/IssueNo0682 for tips).
If you were running the 0.27cvs code: you might be unable to view or
add pages after upgrading to 0.27 final. To fix, visit
SOMEPAGE/updateWikiOutline, or /upgradeAll. (If this happens to you
and you weren't running 0.27cvs, I'd like to hear from you).
**General**
* page hierarchy is now cached in a wiki Outline object, stored as
a (hidden) folder attribute, instead of being generated from the
page parents attribute every time. All hierarchy operations
should now be fast (so it's safe to enable show_subtopics and
show_navlinks in large wikis) and hopefully scalability (eg
conflict errors) is no worse.
* fixed a reStructuredText import bug with zope 2.7 (IssueNo0687)
* under rare conditions viewing a page could give 'pagenameandX'
attribute error
* new next/previousPageUrl methods
* upgradeAll now checks each page's parents information and
repairs it if necessary; it also regenerates the saved wiki
outline. This restores any pages missing from the contents view.
You can also visit /checkParents to fix a single page.
* revert a mistaken "fix" to
manage_afterAdd/afterClone/beforeDelete (IssueNo0684)
**Skins and content**
* the default skin now specifies the utf-8 charset, like
zwiki_plone, and the wikiname regular expressions can now handle
multi-byte utf-8 encoding. This may cause some page names or
wiki content to be displayed incorrectly after upgrading, but we
don't attempt any automatic migration right now. (Simon,
traldar, Samotnik)
* added a number of access keys, following w3c guidelines, and
made them work in all views, both default and plone skin. Alt-0
displays a list.
* don't hide subtopics in minimal display mode any more;
revert to simple "subtopics" heading
* plone: make document actions (external edit, send to,
print) appear on wiki pages (Alexander Limi)
* plone: clean up the comment form a bit, and show the page
management form when the user has permission
* default, plone: make diffs slightly more bookmarkable
* default, plone: the useroptions template was not redirecting
quite right, so options didn't stick (anonymous)
**Mail and messages**
* when using "edits" policy, comments weren't sending mailouts
(Joachim Bauch)
**Tracker**
Zwiki 0.26 2004/01/02
=======================
Epoz support, skin layout tweaks, bugfixes.
**Upgrade notes**
No special upgrade issues.
**General**
* wiki links in HTML pages work again (IssueNo0664)
* simplify and fix locale awareness of bare WikiNames - these
should now recognize upper- and lower-case characters defined by
the system locale, if configured.
* possible fix for startup problem with recent zope 2.7 beta
(DateTime Syntax Error) (IssueNo0649)
* add python 2.3 encoding declaration in LocalizerSupport.py
to prevent startup warning
**Skins and content**
* default, zwiki_plone: the editform now uses Epoz 0.x, if
installed, to edit HTML-only pages in WYSIWYG fashion. To see
this, install the Epoz 0.x product; edit one of your pages and
change it's type to HTML; edit again to see the new form. See
http://zwiki.org/ZwikiAndEpoz for more.
* default: streamline editform and other forms' layout (remove
editform tabindex attributes, they only add confusion; make page
type more prominent at top right; add cancel button; remove
unnecessary large headings)
* default: include backlinks & diff links in the links panel.
It now includes pretty much all site and page views.
* default: rearrange access keys: use r for recent changes, c for
contents, u for (un)subscribe, b for backlinks
* default: fix minor typos and errors
* zwiki_plone: add back the by-line in wikipage_view (limi)
* zwiki_plone editform: update to the new Plone 2 forms format;
fix tabindex so it works again; rewrote the help texts (limi)
**Mail and messages**
* some mailing list headers in mailouts were empty when there was
no mail_from property. Now they use mail_replyto in that
case. (IssueNo0673)
**Tracker**
* disable old broken issue navigation links
Zwiki 0.25 2003/12/01
=====================
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
Zwiki 0.24 2003/11/01
=====================
Bugfixes.
**Upgrade notes**
Reminder: the plone skin disables DTML-based pages (like
RecentChanges) by default now. If you wish to enable those you'll
need to remove the ZWiki/skins/zwiki_plone/no_dtml.dtml file after
an upgrade.
In the ZMI add menu, "ZWiki Web" is now just "ZWiki".
**General**
* change ZMI add menu's 'Wiki' to 'ZWiki', to locate it back
beside 'ZWiki Page'
* hide the WWML page type option by default in cmf/plone, by
installing an allowed_page_types property on the portal folder
during install (for limi)
* make new hierarchy methods more robust when a page has bogus
parents; also, check new parents more carefully. reparent() now
also accepts fuzzy page names & ids, removes duplicates, and
leaves parents sorted. The backlinks form's parent text field
now interprets the string as a single page name, like the page
management form. (IssueNo0633, IssueNo0634)
* context(with_siblings=1) no longer includes the current page's
children, which I think was a regression. (IssueNo0629)
* fix missing import that confused error messages during upgrades
* log individual page upgrade errors in upgradeAll rather than
aborting the whole process
* log STX rendering errors (eg from tables) rather than breaking
the page
* added/cleaned up tests, all tests pass again, the
CMF/Plone-specific tests now work with (and require) plone 2 and
all it's dependencies.
* dublin core fixes, so wiki pages should show correct
modification time, ownership etc. in CMF/Plone
**Skins and content**
* allow access to diff screens (but not full history button)
without 'View history' permission
* the access key for backlinks is now L everywhere
* zwiki_plone: tidy up wikinav_portlet a little
**Mail and messages**
* fixed never-encountered bug in subscriber list upgrading
(IssueNo0540)
Zwiki 0.23 2003/10/12
=====================
Permission renames, useful page/catalog/tracker setup methods, more
functional default skin with slow but nifty hierarchy navigation
options, default content updates, bugfixes.
**Upgrade notes**
Three permissions have been renamed, and wherever you have
configured these ('Add ZWiki Webs', 'Add ZWiki Pages' & 'Zwiki: Add
comments to pages') you'll have to set them again with the new
names. You may want to review your settings before upgrading.
Sorry; it should be easy to write a script to automate this, I don't
have one.
As usual, but especially if upgrading from a very old version, it
doesn't hurt to visit SOMEPAGE/upgradeAll once as manager (except,
it may be slow in large wikis). This will ensure all your pages have
the latest attributes and have been rendered with the latest
code. Do this if you want to use the subtopics display option below.
Regulations support was not working and has been dropped - I don't
expect this to affect you, but if I'm wrong join the discussion on
http://zwiki.org/RegulatingYourPages .
**General**
* permissions & ZMI menu renames for usability/consistency:
- 'Add ZWiki Web' in the ZMI add menu is now 'Add Wiki'.
('Add ZWiki Page' remains as is to avoid changing the meta type).
- 'Add ZWiki Webs' permission is now 'Zwiki: Add wikis'
- 'Add ZWiki Pages' permission is now 'Zwiki: Add pages'
- 'Zwiki: Add comments to pages' permission is now
'Zwiki: Add comments'
* new wiki setup methods
From any page, visit these urls as manager to quickly set up
standard wiki features:
- setupPages - install default wiki pages (like Add Wiki in the ZMI)
- setupDtmlMethods - install index_html and standard_error_message
- setupCatalog - install or configure a wiki catalog, with
appropriate configuration for optimizing large wikis.
CMF/Plone notes: this one is called automatically by the CMF
install script, to simplify installation. It adds all the
indexes and metadata that Zwiki expects from a catalog (see
setupCatalog or http://zwiki.org/ZwikiAndZCatalog for a
list). NB these will apply for all catalogable plone objects,
not just zwiki pages, but will (hopefully) be empty/harmless
for the non-pages.
- setupTracker - configure the wiki & catalog for issue tracking
and install the IssueTracker and FilterIssues pages
These also work inside CMF/Plone, except for setupDtmlMethods
which may not work there.
* pages() now always returns brains with complete metadata, even
when a partial catalog is present. This allows a number of
things, eg creating/renaming in a cmf/plone site where
setupCatalog has not been called, to keep working, at the cost
of more zodb access (IssueNo0623 and others)
* Hierarchy navigation links and subtopics links
If your wiki folder has a true 'show_navlinks' boolean property,
the default skin in full mode will show a navigation links panel.
These are GNU Info-style next/previous/up links, with N/P/U quick
access keys respectively. See zwiki.org for an example.
If your wiki folder has a true 'show_subtopics' boolean property,
and the user is currently in full mode (their zwiki_displaymode
cookie is "full"): pages with children will have a "subtopics"
panel displayed, after the document part and before any
messages. (This will appear after the next edit, or after running
upgradeAll.)
Subtopics display can also be turned permanently on or off for a
specific page, and all pages below it in the hierarchy, by setting
an option in the default skin's editform (requires 'Zwiki:
Reparent pages' permission). We may find a way to simplify this
later, ideas welcome.
Both of these options (navlinks and subtopics) are expensive in a
large wiki, even if you set up a catalog to optimize it (and you
should). When active they will slow page rendering down a lot
(ballpark figure: zwiki.org FrontPage goes from 0.1 to ~1 second).
* regulations support dropped - this has been broken for some
time, and noone used it anyway because it makes life too
complicated. I'll be removing and mothballing the code next
month, assuming no-one steps forward to make it worth
keeping. We might revive it in a simpler form later.
* there is a new PREFER_USERNAME_COOKIE global option in
Defaults.py; set this true to allow username cookie to override
authenticated name. Useful for a simple community wiki protected
by a single shared login.
* STX footnote links were broken by 0.22's refactoring (IssueNo0605)
* disable iframe tags by default, like javascript (IssueNo0588)
* wiki link regexp tweak: remove unnecessary restriction on the
end character of bare urls, and allow single-character remote
parts in interwiki links
* fix a bug in rename where children's parents field was not
updated, leading to an error when you tried to view that child
* make renaming's update backlinks pass more robust and more
verbose (IssueNo0594, James Collier)
* make post-delete redirect work when the parent is freeform-named
* saving a page via ftp or webdav after removing the blank line
between headers and text was giving an error. (Dan McMullen)
This should fix the error (but may not do what's wanted..)
* misc. code cleanups: move admin-related methods to Admin.py;
begin long-awaited Parents.py cleanup; move the WikiNesting code
into ParentsSupport and simplify; various new methods.
* convert more unit tests to ZopeTestCase; make MockZWikiPage a
bit more useful; first unit tests for cmf/plone and page
hierarchy functionality
**Skins and content**
* default: the default skin has been rearranged somewhat, as at
zwiki.org; cf recent GeneralDiscussion. Less gray, widgets
grouped into panels, site links moved to top, annoying quote and
user bookmarks dropped, navigation links support. Note the
various site links appear only if you have a corresponding page,
following the names used at zwiki.org.
* default wikipage: freeform names now work when reparenting via
the page management form. Only a single parent can be set there
now.
* zwiki_plone wikipage_view: fix freeform links in the ancestor
list (IssueNo0603)
* default, zwiki_plone editform: when creating a new page, default
to the wiki's default page type, not the parent page's type
* default editform: fix an editform breakage with zope 2.5,
apparently due to a TAL difference
* default, zwiki_plone backlinks: make the reparent form action
url more robust, to fix reparenting in CMF/Plone (IssueNo0610)
* default backlinks: always explicitly list a page's parents, as
well as it's backlinks; don't show reparent controls if user
does not have permission
* a wikipage() UI method has been added, which you can use (in
portal_types -> Wiki Page -> actions -> view) to allow a non-CMF
skin like CommonPlace to be used inside a CMF/Plone
site. Possibly just a temporary hack.
* quick access keys in the default skin have been rearranged - see
QuickReference
* RecentChanges: latest zwiki.org code,
catalog-optimization-compatible, comment out old brute-force
code which should no longer be needed, fix last edit times when
there is no timezone cookie
* UserOptions: make it function inside a CMF/Plone site too
(useful with alternate skins); remove no longer used quote &
bookmarks options; include valid Pacific timezones (except for a
couple which DateTime doesn't support)
(IssueNo0595, James Collier)
* SearchPage: catalog search improvements: make help text always
visible, search only within current wiki, also show page title
hits (but the default code assumes Title index is a TextIndexNG2
with left globbing and case folding enabled, otherwise may not
work so well)
* zwiki_plone: the experimental skin-based versions of DTML pages
are now generated automatically and the tracker has been added
(untested). These are: recentchanges, searchwiki, useroptions,
issuetracker, filterissues.
**Mail and messages**
* mailout signatures now include the precise message url
* a whitespace + horizontal rule separator is inserted before the
messages section. You'll see this after next page edit or
upgradeAll.
* update catalog after subscribing/unsubscribing (fixes non-updating
"other page subscriptions" when a catalog is present)
* new 'fewer_threads' option, disabled by default, tries to gather
comments under a single thread per page per month
**Tracker**
* creating issue pages without first setting issue_* folder
properties didn't work.. it should work now. The necessary
folder properties will be installed as needed.
* IssueTracker: remove "how to report a bug" link;
latest-catalog-compatible code (so we don't always return all
pages)
* FilterIssues: move search form to the top; use pages() method to
ensure we search only this wiki; latest-catalog-compatible code
Zwiki 0.22 2003/09/10
=====================
Memory efficiency/performance/scalability improvements; simpler page
types and DTML control; zwiki_plone and default skin updates;
wikimail tweaks; STX images; bugs, fixes, features.
**Upgrade notes**
Control of page types and DTML has been simplified. NB in this
release wikis tend to allow embedded DTML by default. To disallow
it, add a 'no_dtml' property as described below.
The backlinksFor() and pages() methods have changed; Title() is now
preferred instead of title_or_id(); and RESPONSE is no longer
provided in the default namespace for skin templates (see below).
If you have DTML pages or customized skin templates using these
things, they may need to be updated.
If using a catalog, you should add the Title field to your metadata
if not already present. Use of title_or_id is being phased out but
you may want to leave it in your catalog until Zwiki 0.23 to be
safe.
**General**
* page type cleanups and DTML changes: deprecated page types have
been removed, as have the non-DTML-supporting STX and HTML types.
DTML is now controlled as follows: a 'no_dtml' property (value
doesn't matter) on page or folder will disable Zwiki's DTML
functionality below that point. You can set this on the root
folder to disable it server-wide.
NB: non-CMF wikis, and CMF/Plone wikis which don't use the
zwiki_plone skin, are DTML-enabled by default for the moment. The
zwiki_plone skin includes an empty 'no_dtml' method which disables
DTML. To enable it in all your CMF/Plone wikis, you need to remove
ZWiki/skins/zwiki_plone/no_dtml.dtml and restart zope, (or switch
to a similar skin without that file).
* the 'allowed_page_types' lines property is supported again. It
does not prevent setting any type, but is used to restrict the
types offered in the default edit form. All supported types are
offered by default. The type of new pages, if unspecified, now
defaults to the first of the wiki's allowed page types. The
'standard_page_type' property is no longer supported.
* zodb caching improvements for large wikis: many operations which
used to load all or many pages into cache will no longer do so if
a suitably configured catalog is available. This can greatly
reduce cache activity and peak per-transaction memory usage for
large wikis, improving performance and server uptime. Renaming and
deleting are still relatively memory-expensive; more optimizations
to come. To fully benefit, you should have a wiki catalog with
meta_type, id, Title, path, canonicalLinks, isIssue indexes and
id, Title, issueColour, parents, links metadata (IIRC). NB most
wikis don't need to worry about this. See
http://zwiki.org/MemoryUsage for some more details.
* the pages() method now returns catalog brains if possible,
otherwise brain-like objects (if there is no catalog), rather than
(expensive) page objects. It will also pass keyword arguments to
the catalog, if there is one, so is convenient for searching among
the pages of the current wiki (only). pageObjects() provides the
old behaviour.
* likewise, backlinksFor() now returns either catalog results or
similar brain-like objects. Old custom backlinks templates should
still work without upgrading, except in this (unlikely) case: when
there is a catalog with meta_type, path, and canonicalLinks
indexes but without page_url and linkTitle metadata.
(with help from Magog)
* the rendering code uses a simpler, more memory-efficient
pre-rendering and pre-linking scheme. The relative_urls property
is no longer supported.
* DTML-enabled pages now invoke DTML only when there is code in
the page, to avoid unnecessary parsing and reduce our memory
footprint.
* wiki link titles (last edited info in tooltips) have been
disabled for the moment.
* three new boolean properties are supported, on page or folder:
use_wikiname_links, use_bracket_links, use_doublebracket_links,
for configuring your linking syntax of choice (lightly tested).
You'll need to run /clearCache or /upgradeAll after changing these.
* be smarter about choosing where to store uploaded files - when
checking for the "uploads" subfolder, make sure it is a subobject
of the wiki folder, and make sure it is folderish.
* we support the STX :img: syntax, finally (IssueNo0601, etc.)
* bare urls containing ; (semicolon) are now recognized
(DeanGoodmanson)
* renaming fixes: add or remove brackets when appropriate; when
updating links, tolerate edit failures (eg due to regexp
recursion); also replace changed ids
* pages are now reindexed after being reparented, when a catalog
is present
* catalog lookup behaviour has changed:
"By default, Zwiki looks for an object named 'Catalog' in this wiki
folder (will not acquire) or a 'portal_catalog' (can acquire).
If a SITE_CATALOG property exists (can acquire), Zwiki will look
for an object by that name (can acquire); if no such object
exists, or SITE_CATALOG is blank, no catalog will be used."
* new catalogId() method returns id of the catalog in use, or
NONE. Requires 'Manage properties' permission.
* hasCatalog() is now public
* getPath() is now supported
* Title() is now always provided and is equivalent to pageName().
Use of title_or_id is now deprecated; DTML pages and skin
templates should use Title instead, to take best advantage of
future catalog optimizations etc.
* other misc. new methods: pageName(), summary(), size(),
cachedSize(), cachedDtmlSize()
* ChangeLog is no longer provided in releases for the moment, to
simplify maintenance
**Skins and content**
* RESPONSE is no longer provided in the namespace for DTML Method
skin templates; they must use REQUEST.RESPONSE (code simplification)
* new methods recentchanges(), searchwiki(), useroptions() provide
experimental skin-based implementations of these wiki pages, which
can be used when DTML pages are not allowed. The included
implementations are preliminary and unskinned (but customizable);
they are DTML methods so as to reuse code from the evolving
page-based implementations, but you can also use page templates.
* if a SiteMap page exists, the "site contents" link in full mode
will point there instead. Also contents() now accepts a 'here'
page name argument to allow this page to control the "you are
here". See http://zwiki.org/SiteMap for an example.
* default skin: reduce subject field width again to "fix" too-wide
comment form
* default editform: show the page rename field as in the plone skin
(but display only if the user has rename permission)
* default search field & SearchPage: use GET when searching, for
more useful URLs
* default, zwiki_plone editform: show the STX and HTML page types
with "(+ DTML)" when DTML is allowed
* default, zwiki_plone editform: clear the "sticky" last log note when
creating a page
* default, zwiki_plone subscribeform: fix other subscribed page links
* zwiki_plone: initial cut of a wiki navigation portlet for Plone.
(AlexanderLimi)
* zwiki_plone: Added File Uploads Overview template (AlexanderLimi)
* zwiki_plone: made the wiki editform explanation more clear.
(AlexanderLimi)
* zwiki_plone editform: make the convenient alt-s (save) key work
again
* zwiki_plone: fix links in ancestor list
* content/basic/RecentChanges.stxdtml, SearchPage.stxdtml,
UserOptions.stxdtml, and content/tracker/IssueTracker.stxdtml,
FilterIssues.stxdtml: latest catalog-optimized versions from
zwiki.org
* content/basic/SearchPage.stxdtml: remove other search tools for
now
**Mail and messages**
* fix message id inconsistencies preventing proper threading in
mail clients (IssueNo0587)
* mailout policy change: don't mail out page rename and deletions
with default 'comments' policy. Also don't mail out when
placeholder pages are created during rename.
* don't put brackets around mail sender's name in message
headings.. too clever
* the 'auto_subscribe' option now automatically subscribes a
page's creator, as well as commenters. Also it's possible to use
this property on a page now.
* the subscribe/unsubscribe methods now support a redirectURL
REQUEST parameter, which makes them more flexible
* fix unicode/UnixMailbox problem. Comments made on the
place-holder page left after a rename would not appear, since the
text was unicode. Removed the i18n for the moment so this works.
* try a fix for non-formatted comment headers in certain timezones
(IssueNo0552)
Zwiki 0.21.1 2003/08/03
=======================
Bugfix release.
* support old Wiki Folders (IssueNo0571)
* drop confusing allowed_page_types option
* fix scroll to bottom after comment
Zwiki 0.21 2003/08/01
=====================
A number of important bugfixes & usability tweaks for wiki mail and
the Plone/CMF skin, and preliminary optional Purple Numbers support
(fine-grained linking).
**Upgrade notes**
Should be routine. Upgrading to this release is recommended.
**General**
* CMF/Plone: Wiki Folder is no more! use ordinary folders instead.
NB this means you can't create a pre-populated wiki for the
moment; copy RecentChanges, UserOptions, SearchPage, HelpPage,
ZWiki etc. from zwiki.org if you need them.
* experimental Purple Numbers support for zwiki. A true
'use_purple_numbers' boolean property on the folder or page will
cause persistent id numbers (node ids) to be embedded within
source text and rendered as purple links (after your next page
edit). These are usable (with quirks) on (non-DTML) STX pages,
not yet on RST or WWML or the non-wiki page types. Performance
impact when rendering large pages is unknown. Cf
http://zwiki.org/PurpleNumbers .
(Mike Mell, Simon Michael, thanks to Eugene Kim & PurpleWiki)
* fixed a pageWithFuzzyName error in BTreeFolders (IssueNo0535)
* stxprelinkfitissue and wwmlprelinkfitissue page types weren't
being auto-upgraded (IssueNo0546)
* use absolute urls in STX footnotes and comment headings so these
links work in CMF/Plone (IssueNo0550)
* use latest page types in new wikis, avoiding excessive
"non-allowed page type" warnings in edit form (IssueNo0564)
**Skins and content**
* the zwiki product icon was not checked in to CVS as a binary
file, which may have been causing problems for (even crashing!)
certain web browsers in the ZMI (Alexander Limi)
* zwiki_plone: close anchor tags in comment headings to prevent
bogus hyperlinks in Plone
* zwiki_plone: initial cut at breadcrumbs-style display of page
parents (Alexander Limi)
* zwiki_plone wikipage_footer: don't show the add comment box if
user doesn't have add comment permission
* default, zwiki_plone: make the editform's non-allowed page type
warning show the developer name again, not the end-user name
* default, zwiki_plone: if a user edits a page again within 24
hours, re-use their last log note by default (idea: Dean
Goodmanson)
* default, zwiki_plone skins: editform code cleanups. The options
used by the editform template are now 'page', 'text' and 'action'
as described in the comments. 'id' and 'oldid' options are no
longer used (but are still provided by Zwiki, for backwards
compatibility with old templates).
* zwiki_plone editform rename support: you can now rename a page
via the edit form. A placeholder page will be left behind and
links on other pages will be updated if possible (this may need to
be made more robust). This ensures Zwiki-compliant page ids,
makes wiki page renaming possible in plone and makes wiki page
creation via the CMF/Plone content management interface work
better. Also, as a special case, if you are editing the sole page
in the wiki the page name field will default to "FrontPage", which
latest Plone will display by default. To support this, edit() and
create() now also do a rename if a new name is passed in the
"title" argument (so named for backwards compatibility).
(idea: Alexander Limi)
* zwiki_plone editform: clean up attributes/fix i18n for page type
radio buttons (fix for IssueNo0549 ?)
* zwiki_plone editform: in the heading, show whether you're
editing or creating (Alexander Limi)
* zwiki_plone editform: fix a 0.19 bug which showed the
originating page's text instead of an empty field when creating a
page (IssueNo0557)
* zwiki_plone editform: make editform work with CMF again
(IssueNo0560)
* zwiki plone editform: move least-used widgets to the bottom
**Mail and messages**
* comment heading display tweaks - message number no longer
displayed, date now links to more permanent url based on message
id, email sender's name is now enclosed in [] to link to personal
pages
* citations no longer cause HTML markup to be added to the page
text
* citations no longer have an extra blank line displayed before
them
* smarter paragraph filling in mail-outs: preserve citation
prefixes and leave indented paragraphs alone
* like TestPage, a page named 'SandBox' no longer sends mail to
whole-wiki subscribers
* display no messages, rather than an error, if unicode gets into
the page (and document some of the ways this can happen)
Zwiki 0.20 2003/07/02
=======================
Simpler page types, smarter message handling, auto subscription
option; mail, skin and miscellaneous bugfixes; python 2.1 or greater
now required.
**Upgrade notes**
Page types have been simplified and renamed (both the end-user and
developer names) as mentioned below. If you have standard_page_type
or allowed_page_types properties on your wiki folders, you should
update them to the latest types (in the left column below):
I have dropped python 1.5.2 compatibility as of this release; this
allows us to use more up-to-date python 2.1 features and means zwiki
0.20 and later won't run on very old zope installations.
The comment method's arguments have changed.
**General**
* more page type simplifications:
As shipped, Zwiki now supports four main wiki page types and
three non-wiki page types::
# wiki page types
'msgstxprelinkfitissuehtml' :'Structured Text',
'msgstxprelinkdtmlfitissuehtml':'Structured Text + DTML',
'msgrstprelinkfitissue' :'reStructured Text',
'msgwwmlprelinkfitissue' :'WikiWikiWeb markup',
# non-wiki page types
'html' :'HTML',
'dtmlhtml' :'HTML + DTML',
'plaintext' :'Plain text',
The wiki page types have similar features (message formatting,
text formatting, wiki linking, pre-rendering, fit tests & issue
properties) except for the choice of text formatting rules (and
only the STX types allow HTML).
A wiki will offer a restricted subset of these in the editform:
Structured Text, reStructured Text, WikiWikiWeb markup, and HTML
by default. To offer other types, set a custom
allowed_page_types lines property on your wiki folder (or change
ALLOWED_PAGE_TYPES in Defaults.py).
* new message storage format:
Comments are now stored as rfc2822-style messages in mbox format
(think of a wiki page with an mbox stuck on the end). This looks
more verbose in the page source, but allows rich message data to
be stored in a standard way. Messages must begin with "strict"
mbox-style 'From ' separators. (If you ever need to add these,
upgradeMessages may help.) Messages stored in this way are
formatted for display with numbers and named anchors
(#msgN, #msgidXXX, #messages). Message bodies are formatted with
the usual text formatting rules. Message-id and in-reply-to
headers are stored and threads are preserved when posting via
web. This behaviour has been added to all the main page types, but
some features require STX mode at present.
* fix memory leak when printing tracebacks
(IssueNo0536, Shane Hathaway)
* clean up '\r\n' line terminators if added by browser, in
comment().
**Mail**
* fill paragraphs in mailouts, finally. Also wrap at column 70,
not 78. (IssueNo0340)
* try to preserve indentation in mailouts somewhat. Each paragraph
will be re-indented as per it's first line. This means indentation
within a paragraph will be lost, and a paragraph with only it's
first line indented will become wholly indented. Hopefully this
will be better than the old policy of throwing away all
indentation. (IssueNo0538)
* prevent duplicates when integrated with a mailing list, by
excluding the address in the X-BeenThere header from mailout.
(comment's do_mailout argument replaced with exclude_address)
(IssueNo0519)
* a true auto_subscribe folder property will cause any commenters
to a page to be subscribed there (authenticated/usernamed
commenters, at least)
* exclude a page named "TestPage" from whole-wiki subscription.
Page subscribers will still receive mail from it.
**Tracker**
* supply default categories, severities, statuses lists for the
issue properties form if they have not been defined. This should
allow "IssueNoXXXX ..." pages to work in any wiki without
additional setup.
* tolerate whitespace in the issue_colours list
**Skins and content**
* zwiki_plone: added the last basic elements of the Plone styling,
cosmetic change to footer, external edit link moved to header.
(Alexander Limi)
* skins/zwiki_plone/subscribeform.pt: was a conflict ... I
manually resolved it... please test (Alan Runyan)
* zwiki_plone: minor fixes: fix change email address button label,
remove whitespace from comment form, remove stray code breaking
editform
* default: name error when changing email address in
subscribeform, fixed (IssueNo0537, Laura Trippi)
* default, zwiki_plone: make editform tolerate an out-of-date
allowed_page_types property (if allowed_page_types contains type
that no longer exists, we just list it with the others and rely on
auto-upgrade to fix the page); also tolerate whitespace there
* minor xhtml-compliance fixes
* make skin template error messages more to the point
Zwiki 0.19 2003/06/01
=======================
Preliminary reStructured Text support, page types cleanup, skin
bugfixes, customizable issue colours.
**Upgrade notes**
Nothing special this month.
**General**
* preliminary reStructured Text support, based on Andreas' and
Richard's work.
* page types cleanup. Retired a bunch of old types, added new ones.
Fit tests and issue properties form support is now standard.
* New allowedPageTypes method returns the allowed page types for
the wiki, defined in Defaults.py or an allowed_page_types
folder lines property. Only these types can be selected when changing
the page type (except in ZMI). Note: at present a new wiki will not
allow DTML-enabled types, so if a user edits one of the DTML pages
like RecentChanges it's type will change, disabling it. The edit form
gives a warning in this situation.
* when creating pages, don't inherit page type from the parent -
use either the wiki's standard_page_type, the specified type, or
the zwiki default. Should make administration simpler.
* creationTime and lastEditTime now always return a valid DateTime
* new page methods: ageInDays, lastEditIntervalInDays
* standard_error_message was getting instantiated as a wiki page in CMF
(IssueNo0510)
* fix NameErrors due to missing imports
**Skins and content**
* start with no bookmarks by default
* UI code cleanups, more useful error messages
* use xhtml-compliant tag for uploaded images
* default: replace DTML methods with page templates (IssueNo0508).
Zwiki now requires Page Templates.
* default: XHTML 1.0 compliance fixes for the default skin
(IssueNo0399, Jordan Carswell)
* default: subscribeform layout tweaks, remove extra title tag
* default: fix editform action url
* default: fix contentspage tal:contents typo
* default: replace stray DTML in editform with TAL
(IssueNo0506, Jordan Carswell)
* zwiki_plone: remove the bookmarks & help links from the page footer
**Tracker**
* IssueTracker & FilterIssues dtml cleanups, robustness enhancements
* Instead of highlighting open and pending issues, we now highlight
open and pending non-wishlist issues more than 60 days old
* issue colours code cleanup; issue colours are now defined in
Default.py or issue_colours folder lines property
Zwiki 0.18 2003/05/01
=======================
Full Plone and CMF skin, miscellaneous fixes.
**Upgrade notes**
If you have a cmf_install_zwiki external method, refresh it after
installing this release (by saving it, or restarting zope).
The new zwiki_plone skin replaces the zwiki_cmf skin; although the
latter is still shipped it will hopefully go away soon. An existing
CMF zwiki should keep working as before. To change it over to the
zwiki_plone skin, do this:
1. in your CMF site's portal_skins Contents tab, delete the default
and zwiki_cmf folders (and zwiki_orig, if you don't use that)
2. in the properties tab, remove zwiki_cmf (and zwiki_orig) from
all skins
3. run the install method again (CMFSITEURL/cmf_install_zwiki)
Structured text headings will get bigger next time you save the page
(or visit SOMEPAGEURL/upgradeAll to re-render all pages).
**General**
* structured text headings now start at H2 not H3
* when using regulations, don't require change regulations
permission just to comment (IssueNo0485)
* be more robust displaying pages with old-style page ids that
have not yet been upgraded (IssueNo0495)
* use precise links in contents, rather than depending on
standard_error_message (IssueNo0454, Leslie Barnes)
* when saving a page via external editor/ftp/webdav, don't require
a space after the : in the safety belt/type/log headers. Was
causing a name error with external editor + emacs whitespace mode
(IssueNo0438, Andrew Burrow)
* if there is an id renaming collision during upgradeAll, just log
the error and continue (IssueNo0483)
* edit conflict & lock dialogs were giving NameErrors
* new method: ancestorsAsList
**Skins and content**
* a fully functional Plone (and CMF) skin, at last! The
zwiki_plone skin provides most current features of Zwiki's default
skin, within the standard plone UI. It should also be functional
for CMF sites, allowing zwiki_cmf to be retired. (Alexander Limi
funded by Walt Ludwick, with Simon Michael, Sidnei da Silva, Alan
Runyan)
* skin code fixes; Zwiki accepts Page Templates, Filesystem Page
Templates, and DTML Methods as skin objects, and will warn if any
other type is found.
* UserOptions was not honouring the redirectURL argument if just
clearing cookies
* tweaked blank subject comment heading format.. not happy with it
yet
**Mail**
* mailouts were failing when creating a page with no initial text
* make comment mailout work when there is no subject_heading field
(IssueNo0481, az` on irc)
**Tracker**
* when changing issue properties, add a user-supplied or default
comment to the page recording what was done (DeanGoodmanson)
Zwiki 0.17 2003/04/01
=======================
Simpler page ids, faster performance and better memory efficiency,
new general-purpose page type including tracker and fit support, more
robust parenting, skin improvements, preliminary stylesheet support,
code cleanups, doctest no longer used.
**Upgrade notes**
If you have pages with punctuation in the names, or zwiki tracker
issues, you'll need to change their id/name. See below.
If you have a tracker in your wiki, you'll also need to install the
latest IssueTracker/FilterIssues pages and add a new 'isIssue'
FieldIndex to your catalog. Also, in a large wiki you may find
changing issue descriptions is much slower than before. See below.
issuedtml and stxprelinkdtmlhtml pages will be auto-upgraded to the
new stxprelinkdtmlfitissuehtml type.
The CMF install method in Extensions has been renamed to Install.py.
**General**
* Simpler page ids
Page ids are now always derived from the name (title). This
improves performance, removes a source of confusion, but means
pages can no longer have a totally different title and id (like
tracker issues used to). Also, page ids no longer include
punctuation, and fuzzy links now ignore punctuation.
Pages with old-style ids should be renamed so that wiki links to
them will work. You can upgrade these pages and update links
throughout the wiki by visiting SOMEPAGEURL/upgradeAll. This
may take a long time; you can watch progress in the debug
log. It's safe to run this more than once. Alternately, you can
visit SOMEPAGE/upgradeId to rename and relink a single page.
Some incoming links may break due to url changes; having the
zwiki standard_error_message installed will help.
* Improved performance and memory efficiency
Link rendering is faster due to the new ids and code
refactoring.
(Unscientific ab test: roughly a 4x speedup rendering a
normal page and 20x for a long one.) Also, zwiki is no longer
so eager to load all pages into the zodb cache. Certain
operations will still trigger this (search, rename) but in
general use, a zope serving large wikis should now use less
memory. This may also help your performance and reduce "first
page render" delay.
* new/improved page lookup methods: pages, pageIds, pageNames,
pageIdsStartingWith, pageNamesStartingWith,
firstPageIdStartingWith, firstPageNameStartingWith, pageWithId,
pageWithName, pageWithNameOrId, pageWithFuzzyName. Use these in
your DTML code when possible as they will be optimized. pageWith*
now return a correct acquisition wrapper (fixes IssueNo0472).
pageWithFuzzyName's ignore_case has no extra cost now and is
always on. The argument is left in place for backwards
compatibility for the moment. Also this may have been acquiring
pages, fixed.
* new general-purpose page type incorporating issue and fit
support: stxprelinkdtmlfitissuehtml. stxprelinkdtmlhtml and
issuedtml pages are auto-upgraded to this. This page type
displays an issue properties form if the page name begins with
IssueNo. Also, any tables whose first cell begins with "fit." or
"fittests." are run as fit tests at page view time.
* rename improvements: support for upgrading to new-style ids;
allow renames without sending mail; reduce unnecessary indexing;
preserve creation info when renaming (IssueNo0398); be more
tolerant of confused parentage;
* Don't leave orphans when deleting a page
* cleaner catalog logging
* all doctests have been converted to pyunit tests
* Details of WWML changes in last month's release (PeterMerel):
- C2-compatible apostrophe embedding using minimal-munch
- C2-compatible generation of indents from leading spaces
- Intuitive fixed-width tables using | as a column delimiter. I
purely hate the STX tables, which do everything except the most
obvious formatting everybody wants.
- Ability to use images as page names with [image-url]
- Ability to generate blockquotes by using = instead of *
- Ability to force a BR in definitions using \\
- Probably some other things I've forgotten.
**Skins and content**
* the latest zwiki.org RecentChanges: fix a mispaced try which
allowed errors, be less chatty about brute force/catalog, move
note field next to page name, drop the "use table" option and the
T issue indicator.
* edit form layout improvements
* lose the gray title background and use site logo on all "form" pages
* Made the diff form skinnable: support a 'diffform' page template
or dtml method accepting two arguments: 'revA' and 'difftext'.
* Made the contents view skinnable: support a 'contentspage' page
template or dtml method accepting two arguments: 'hierarchy'
(a html string) and 'singletons' (a list of html strings).
* allow multiple space-separated wiki names in backlinks' other
parents field and the page management form (PeterMerel)
* contents improvements: make "you are here" bold; list singletons
at the bottom, if any. (PeterMerel)
* "contents" is used more consistently and is the preferred new name
for the map method.
* page creation links now have class "new" (IssueNo0456)
* preliminary CSS support: the default skin embeds a "stylesheet"
object if present.
**Mail**
* longish headings were not being stripped from mailouts
* mail out comments with their original formatting (not the page
diff)
* don't try to find a subject in comment body any more
* don't send mailouts from a page named TestPage, whether or not it has
[test] subject; log discarded [test] mailouts
**CMF**
* cmf_install_zwiki.py has been renamed to Install.py (IssueNo0460)
**Tracker**
* Issue pages have a new naming scheme to conform with the new
page ids: "IssueNoNNNN issue description". upgradeAll will take
care of this for you. Old IssueNoXXXX urls will still work if
you have standard_error_message installed. You need updated
IssueTracker/FilterIssues pages which can be found in
ZWiki/content/tracker. A new 'isIssue' FieldIndex is required in
the catalog.
* changeProperties has been replaced by changeIssueProperties.
This does a full page rename, with link updating, when changing
an issue description (slow).
* The 'issuedtml' page type is deprecated; the new combined
'stxprelinkdtmlfitissuehtml' type is used instead. Old issue
pages will be auto-upgraded. See also HowToInstallAZwikiTracker.
* If you use the new page type throughout, you can change an
ordinary page into an issue by renaming it "IssueNo..." and vice
versa.
Zwiki 0.16 2003/03/02
=======================
CMF skin updates, various mail tweaks to support mailing list
integration, enhancements to comment behaviour, WWML, misc. bugfixes.
**Skins and content**
* enhancements and fixes to the CMF support and zwiki_cmf skin
from the nzo project - title fix, wiki folder edit view, don't
create standard_error_message in CMF, CMF-style edit form, other
skin updates. (Sidnei da Silva, LaloMartins)
* dropped zwiki_orig skin
* default skin: subject field, always post with heading,
tweaked page management form
* more compact comment headings
* add discussion icon to comment headings in a CMF site
**Mail**
* mailout all comments, regardless of use_heading flag
* with multiple bracketed strings in a subject, use the right-most
* mailin.py: support for preventing duplicates when using a
mailing list, commented out;
* generate list id header from mail_from, not mail_replyto
* new mail_signature property to override mailout footer
* new mail_page_name boolean property to disable page name in
subject
* mailin.py: parse boolean options correctly
* don't add extra spaces in mailout subjects
* log reason for mailout failures
**General**
* WWML: fixed a couple of little bugs and added a couple of little
extra markups. (PeterMerel)
* comment(): a non-blank comment subject now enables the heading
if use_heading is not already true
* preserve parentage when pages are renamed (IssueNo0168)
* fixed a strange problem with catalog()
* fix Localizer ustr NameError caused by non-unicode zope or unit
testing
* testing support - don't append or mail out comments with [test]
subject
* test modules re-organized
Zwiki 0.15 2003/02/01
=======================
Minor bugfixes and some changes to wikimail behaviour.
**Upgrade notes**
If you're doing mailin, don't forget to re-save your external method
after installing this release.
**Mail**
* don't store page names in recipient real name. This seems to
create more confusion than it solves. mailin.py's checkrecipient
option is now off by default, and the line in Mail.py:sendMailTo()
which puts the page name in mailouts' reply-to is commented out.
* don't recognize bare wiki names in mailin subjects - only page
names enclosed in brackets. Explicit is better than implicit.
More details on http://zwiki.org/WikiMailDiscussion, please
comment there if you don't agree with these changes.
* non-headed comments were sending error reports to mail_admin
if configured
**Skins and content**
* default: some fixes for valid HTML (Pieter Biemond, IssueNo0399)
* default, zwiki_orig: increase max quote size in header to 300
* zwiki_orig: get rid of the javascript double-click
**General**
* leave unknown link titles blank instead of showing "xxx zwiki bug"
* a comment's subject (explicit from a field or inlined) is now
used for the transaction log regardless of the use_heading checkbox.
Zwiki 0.14 2003/01/09
=======================
A mailin.py rewrite.
**Upgrade notes**
If you don't use mailin, no need to upgrade. After installing this
you'll want to click your external method's save button to update
it. Note this version of mailin.py drops the special virtual host
support.
**Mail**
* a rewritten mailin.py with tweaked delivery rules and unit
tests. Fixes IssueNo0376.
* be more fussy about recognizing a recipient real name as a page
name
* bracketed free form names in the subject are now also recognized
(it will use the first bracketed thing found)
Zwiki 0.13.1 2002/12/07
=======================
A "bugfix-plus" release, for IssueNo0385 (missing permissions).
* finish the switch to modern security declarations, fixing
IssueNo0385 and hopefully not breaking much else.
* also send mailouts on page deletion and renaming
Zwiki 0.13 2002/12/01
=======================
Bugfixes, more solid CMF & Plone support, wikimail enhancements,
skins re-organization.
**Upgrade notes**
If you have mailin set up and find replies going to the default page
instead of the originating page, see IssueNo0376.
**CMF**
* rename CMFInstall.py to cmf_install_zwiki.py
* CMF skin support. zwiki_cmf is a lightweight CMF skin for zwiki;
zwiki_orig is a CMF skin that looks like zwiki's standard UI
* fix edit permission in CMF (IssueNo0366)
* fix a timezones error when in CMF
* make wiki folder & page management work in cmf/plone
* catalog lookup changed: look for a CMF portal_catalog;
look for SITE_CATALOG on page and containing folder only
* when creating a Wiki Page in CMF, allow the standard_page_type
folder property to control it's page_type.
* hide user options when in CMF
**Mail**
* look up destination page in the recipient's real name (first);
mailouts will encode the source page in the reply-to's real name.
This should make addressing and replying more natural.
* allow subject headings in mail and web comments. (To set the subject
from a web comment, use an initial one-line paragraph that is bold
(using '** or < b>') and no longer than 100 characters.)
Subjects are saved as edit log note and vice versa.
* generate a mailout when pages are created
* mailin page creation fixes
* mailin: handle freeform page names
* mailin: work even when default page is not found, as long as
there's at least one wiki page in the folder.
* mailin: add some failure logging
* look for 'mailin_policy' property instead of 'posting_policy';
the latter is still supported but deprecated
* don't use < hr> in comment headings
**Skins and wiki content**
* clean out & reorganize templates and default content under
skins, content
* new unified RecentChanges implementation; use SITE_CATALOG,
remove hard-coded zwiki.org
**General**
* wiki links to pages with accented names (and freeform names in
general if standard_error_message is not present ?) were not working
* parent wiki links were generating an error
* workaround for zope 2.6 stx+dtml breakage (IssueNo0270)
* fix for "some permissions had errors" (IssueNo0358)
* fix title changing in ZMI Edit tab (IssueNo0280)
* increase the added and removed lines truncation limits for diffs
and mailouts (to 200 and 20 lines respectively)
* ZWikiPage class initialization fix; fixes an event log file
warning (and.. ?)
* auto-upgrade WikiForNow pages
* log messages at BLATHER priority instead of DEBUG, and don't
require the Z_DEBUG_MODE or ZWIKI_DEBUG variable any more
Zwiki 0.12 2002/11/01
=======================
* subscription now accepts CMF member usernames as well as email
addresses
* add zwiki web, add zwiki page forms internationalized;
.po files & spanish translation updated (JuanDavidIbanez)
* preliminary fit (framework for interactive testing) support
('dtmlfithtml' & 'stxdtmlfithtml' page types)
* allow a 'mail_subject_prefix' folder property to override the
folder title for mailout subjects. Useful when mailout subject and
cmf's "you are here" must differ.
* self.ZopeTime didn't work on a page in a CMF site, now does
* apply the stx initial-word-becomes-bullet workaround for all
zope versions
* support for auto-upgrading wikifornow pages
* minor default ui & content tweaks
Zwiki 0.11 2002/10/01
=======================
Bugfixes, international page names, edit log notes, WikiForNow
assimilation completed, CMFWiki integration (alpha).
**Upgrade notes**
See Regexps.py for notes on configuring international page names.
When running large & extensively cataloged wikis, you might notice
this version being more memory intensive than 0.10 (which itself may
be more memory hungry than 0.9.9). This release should coexist with
CMFWiki without problems. Otherwise the usual, see
http://zwiki.org/TenMinuteZwikiUpgradeGuide &
http://zwiki.org/HowToUpgradeZwiki for more.
**Misc**
* better support for (single-byte) international characters in
page names & ids; enable out of the box, with or without a locale
set up (IssueNo0257)
* merge CMF support into standard ZWiki pages. See
Extensions/CMFInstall.py. (alpha)
(CMFWiki) (ChrisMcDonough)
* locking fixes for external editor support (CaseyDuncan)
* save an optional log note with edit (or type change, file
upload, ftp PUT, page creation, deletion (via DeleteMe))
(WikiForNow) (KenManheimer)
* allow page type to be set via FTP (WikiForNow)
* Don't allow completely anonymous invocations of rename/delete
(IssueNo0235)
* reindex after renaming
* set "FTP access" permission, send manage_edit through wiki
editing code the way WikiForNow does (IssueNo0243)
* a couple of compatibility tweaks for running inside a CMF/plone
instance - provide view & SearchableText methods, use
portal_catalog if present, don't use rule in comment headings.
**Default UI & wiki content**
* custom wikipage template was being called with the wrong context
(IssueNo0225)
* custom standard_wiki_header/footer methods were being ignored
(IssueNo0228)
* provide a traceback in html source when header or footer
rendering fails
* standard_error_message: fix missing "; make it work when not in
site's root folder (IssueNo0250)
* editform: move options down a row to handle long page names
better; fix tab ordering
* display last log note in history link title in header and at top
left when diff browsing; use a form button to return from diff
browsing
* use ZMI widgets for page_type and NOT_CATALOGED (WikiForNow)
**Rendering**
* new "text + links" page type
* wwml: some rendering fixes and convert spaces to tabs, described
on ConvertSpacesToTabs (PeterMerel)
* use new rendering code for issue pages (IssueNo0252,IssueNo0253)
* enable stx bullet workaround for all zope versions (IssueNo0273)
**Mail**
* filter blank items from mailout recipients (IssueNo0221)
**Compatibility**
* be more robust when upgrading timestamps (IssueNo0222)
* be more robust with older zopes which may not have page
templates (IssueNo0224)
* don't use prefix tag in add zwiki web form for compatiblity with
old zopes (IssueNo0229)
* be more robust reading version.txt.. zope-cvs doesn't have one
(IssueNo0254)
* fixprops.py utility method for fixing up zwiki page properties
**API changes (summary)**
Nothing major.
Zwiki 0.10 2002/09/01
=======================
Pre-rendering for better performance, new freeform page names and
fuzzy linking, WikiForNow regulations support (beta), page renaming &
deleting, UI enhancement & simplification, better upgradability, page
templates support, i18n started, many bugfixes & minor enhancements.
**Upgrade notes**
This release has renamed page types and a new render-caching
mechanism, to which pages are upgraded automatically; full-featured
UI defaults which will be used if you delete your custom DTML
methods; and one new and one renamed permission. See
http://zwiki.org/TenMinuteZwikiUpgradeGuide &
http://zwiki.org/HowToUpgradeZwiki for more.
**Default UI**
* made built-in defaults full-featured (equivalent to current
zwiki.org UI).
* when adding a zwiki web, don't instantiate dtml methods, rely on
the built-in defaults instead
* support page templates as well as dtml methods for editform,
subscribeform, backlinks and for main page layout (a page template
named wikipage will take precedence over standard_wiki_header &
standard_wiki_footer dtml methods). The page body is passed to in
wikipage as options/body. The following additional options are
passed to editform: page, text, action, id, oldid.
* built-in defaults are now read from the filesystem. Defaults
for standard_wiki_header/standard_wiki_footer are still provided
but no longer quite as up-to-date and probably will be deprecated.
* consistent api for accessing UI methods/templates/defaults
* many UI updates and simplifications in default page layout,
editform, backlinks etc.; made UI options more flexible & robust
* full/simple/minimal display modes; simple (no page hierarchy) is
displayed by default
* retired jumpsearch (make the search box always do a simple
search)
* added tooltips & access keys to most links & form elements
* display a convenient page rename/reparent/delete form in the
footer in full mode if the user has a username (and permissions)
* external editor support
* make backlinks dtml more robust (IssueNo0210); fixed a case
where the parent checkbox didn't show up; now uses a catalog if
available to provide accurate fuzzy backlinks
* upload permission was incorrect in editform (IssueNo0178)
* removed "Show advanced edit form" option
* ensure comment form depends solely on Add comments permission
* fix white space in center of footer in NS 4.7
* don't show "sp" for spacer image in text-mode browsers
* a missing slash caused edits to fail in netscape 4.7
* added secret AnnoyingQuote edit link
* better support for web robots - removed robot-excluding meta tag
from standard_wiki_header/wikipage, added robot exclusion tag to
editform/subscribeform/backlinks; use form buttons instead of
links to keep robots out of page history etc.
**Default zwikidotorg content**
* fewer pages
* new FrontPage
* new HelpPage
* updated RecentChanges, uses catalog if available
* updated SearchPage with selected extra search tools
* cleaned up UserOptions
* provide a list of timezones, MoinMoin style
(IssueNo00146)
* a standard_error_message method handles nonexistent urls,
with fuzzy and partial matching on page names
* minor text cleanups in default editform & zwikidotorg content
**Rendering**
* Pre-rendering support: new page types (used by default) process
text formatting rules and wiki linking rules once at edit time.
This makes rendering of large pages much faster (possibly at the
expense of quicker zodb growth). Also allows us to accurately
catalog links.
* Better freeform page names - square brackets now allow almost
any page name, not just those with url- and zope-id-safe
characters. Freeform names are converted to wikiname-like page ids
and either may be used for linking, supporting co-existence of
freeform and wikiname pages.
* Fuzzy linking - square brackets also do fuzzy linking, ignoring
whitespace and capitalization.
* square brackets now link only to zwiki pages, not other zope
objects or url paths
* Wiki links now have title attributes/tooltips displaying the
target's age and last editor when you mouse over (except for
freeform page names in contents hierarchy and parent context)
* support for simple sub wikis/WikiAcquisition - wikilink targets
can be acquired from the parent folder (or above) and are
displayed with ../ prepended
* don't link WikiNames inside structured text links (IssueNo0190)
or the content of html anchor tags (IssueNo0194)
* allow stx tables to have + at the corners
* the RemoteWikiURL tag is now case-insensitive
* make accidental structured text footnote processing less likely;
use more standards-compliant "ref" prefix for footnotes, like newer stx
* don't treat a bare url followed by : as a remote wiki link
* make stx links work in non-html stx modes (IssueNo0193)
* fix for IssueNo0186 (page rendering fails if it contains a
freeform link containing unbalanced parentheses)
* added (?L) to the regexps which use \w or \b to make them
locale-sensitive. (EdwardKreis, AlexyKhrabrov,
InternationalCharsInRegexps)
* display "you are here" in page hierarchy
**Editing**
* strip HTML header & footer found in edit text
* make post-stx HTML & BODY tag stripping more robust (EdwardKreis)
* check for a webdav lock before saving an edit or entering editform
* don't highlight the last edit access key if it's not hyperlinked
* allow existing files to be re-uploaded (IssueNo0006)
* don't add a link for uploaded files if the page already has one
* set last_editor properly during mailin (IssueNo0207)
* recatalog pages after ftp/http/webdav put
* abandon the old antidecap kludge
**Mail**
* fixed the multiple subscription bug (IssueNo0161)
* fixed page creation
* make mailin tracker issue creation more robust
* mailin in the context of a zwiki page was not working as
advertised
* include standard mailing list headers in mailouts
* discard all mail that appears to come from a bot, and the common
"out of office" auto responder replies
* post comments/create pages using the sender's real name or just the
username component from their email address, not the full address
(IssueNo0066, PieterB/SM)
* fixed a bug in upgradeSubscribers which caused folder properties
to proliferate
**Tracker**
* added a createIssue method which can replace the AddIssue &
IssuePrototype pages
* increased title's max length from 100 to 200 when editing issues
* when rendering the issue form, generate option menus dynamically
from the issue_* properties (MikeFair)
**Compatibility**
* better auto-upgrading & backwards compatibility; allow
auto-upgrading to be disabled via flag in Defaults.py;
new upgradeAll method for batch upgrading & re-rendering
* removed STletters dependency for older zopes
* don't pass stx header argument with zope 2.4.0 (IssueNo0152,
TrevorToenjes)
* added zope 2.5.1 to list of zope versions for unit testing
* improved python1.5 support
* improved zope version checking
**Misc**
* support WikiForNow-style regulations if use_regulations boolean
folder property is true
* add support for page renaming/deleting
* tweak allowed suffixes for fs-based wiki templates
* add more informative transaction notes
* ZWikiPage.manage_changeProperties was non-functional
* fix ZMI add zwiki page (IssueNo0187), make it equivalent to wiki
page creation
* spanish translation of initial i18n strings (J. David IbÃ�¡ÂÃ�±ez)
* canadian french translation of initial i18n strings (JoannePlouffe)
* the beginnings of i18n support, using Localizer if installed. A
few strings (edit conflict, authentication errors) internationalized.
* use last_edit_time everywhere in preference to
bobobase_modification_time
* debug logging of zwiki catalog operations (if Z_DEBUG_MODE or
ZWIKI_DEBUG variables are true and STUPID_LOG_SEVERITY is <= -200)
**API changes (summary)**
* wikimail/editform/subscribeform/backlinks page templates will be
used in preference to standard_wiki_header/standard_wiki_footer/
editform/subscribeform/backlinks DTML methods. The page body is
passed to wikipage as options/body. These options are passed to
editform: page, text, action, id, oldid.
* page types renamed. Here is the current list of page types (see
AllAboutPageTypes for details)::
stxprelinkdtmlhtml
stxdtmllinkhtml
dtmlstxlinkhtml
stxprelinkhtml
stxlinkhtml
stxprelink
stxlink
wwmlprelink
wwmllink
prelinkdtmlhtml
dtmllinkhtml
prelinkhtml
linkhtml
dtmlhtml
html
plaintext
* the RemoteWikiURL tag is case-insensitive
* the OFS.ObjectManager.bad_id definition is used as the basis for
generating page ids
* some properties are now looked up by containment rather than
acquisition context, eg subscriber lists
**ADDED::**
'Zwiki: Rename pages' permission
use_regulations folder property
zwiki_displaymode cookie
ZWIKI_DEBUG environment variable
addStandardLayoutTo
age
applyLineEscapesIn
asAgeString
backlinks
canonicalId
canonicalLinks
canonicalLinks
changeIssueProperties
createIssue
creationTime
editform
folder
htmlunquote
isMailoutEnabled
isZwikiPage
lastEditInterval
lastEditTime
linkTitle
linkTitleFrom
offspringAsList
offspringIdsAsList
pageWithFuzzyName
pageWithName
pageWithNameOrId
relative_urls
renderLinksIn
standard_wiki_footer
standard_wiki_header
stxToHtml
subscribeform
upgradeAll
urlunquote
wikipage
**CHANGED::**
'Zwiki: Recycle pages' permission -> 'Zwiki: Delete pages'
creation_time and last_edit_time are now ISO-format strings
doLegacyFixups -> upgrade
**REMOVED::**
zwiki_advancededit cookie
Zwiki 0.9.9 2002/04/16
======================
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) (robert@redcor.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()
Zwiki 0.9.8 2001/11/29
======================
* auto-cataloging no longer requires DTMLDocumentExt and adding a
zwiki page no longer gives "AttributeError: index_object" if it's
not present. (IssueNo0054). Zwiki uses the catalog specified by
the SITE_CATALOG property, or "Catalog", or none.
* the add zwiki web form complained "list.remove(x): x not in list"
due to missing ZWiki/wikis/DEFAULTS, fixed (IssueNo0043)
* includes the experimental 'issuedtml' render method used by
ZwikiTracker
* zwikidotorg template: UserOptions was not displaying the
username field properly
* a somewhat important change that also went in last release:
responsibility for generating the page header and footer
has been moved into the render_* methods
Zwiki 0.9.7.2 2001/11/26
========================
* blank extra revision on each edit fixed; browsing diffs now
works like it's supposed to (credits-to: Geoff Gardiner)
* included TextFormatter.py in tarball
* updated README, removed mention of zwikiwebs.zexp
* added download link to announcements
(credits-to: Ray Lance, Dietmar Gaffling)
Zwiki 0.9.7.1 2001/11/23
========================
* zwikidotorg template: remove "BookMarks" page reference from
footer
* ack it's going to be one of *those* releases :)
zwikidotorg template: UserOptions page_type should be
structuredtextdtml
Zwiki 0.9.7 2001/11/23
======================
* another zwikiwebs change. The 'Add ZWiki Web' form now looks
for wiki templates in both the filesystem (.../ZWiki/wikis/) and
the ZODB (/Control_Panel/Products/ZWiki/), with filesystem taking
precedence. The zwikidotorg template is shipped (via filesystem)
as the default; additional templates can be installed in either
place, or not, at user discretion. Auto-import of zexp's has been
disabled. (credits-to: CMFWiki)
* new comment method added, just like append but convenient for
adding standard comment headings
* misc wikimail & comment heading tweaks; mail-outs now discard
the comment heading if present; don't display fractional seconds
in comment headings (credits-to: 1Jerry)
* stopped antidecapitationkludge appearing in html source; no
longer used in 2.4
* misc 2.4 compatibility updates; added workaround to disable
stxNG's footnote links on 2.4
* zwikidotorg template: UserOptions cleanup; added workaround for
zope 2.4.x-2.4.2's stx underline problem; added site logo option &
presets
* automatic cataloging is supported again. Currently, the
DTMLDocumentExt product is assumed to be present. It's
SITE_CATALOG property is required to activate this.
(credits-to: DTMLDocumentExt)
* textDiff now reports more localised changes, instead of spraying
out the whole page; misc diff tweaks & fixes
(credits-to: ndiff/difflib)
* long lines are wrapped before diffing, and long diff chunks are
abbreviated, for better readability in email. Currently it
displays up to 10 deleted lines and up to 50 added lines.
(credits-to: Hamish Lawson's TextFormatter)
* lasttext and the diff methods accept one or more revision arguments
(counted backwards from the latest revision).
* the old html-format diff has been demoted to oldDiff. The new one
colourizes textDiff's output and adds whizzy navigation links for
stepping through the edits. (Click on the page timestamp).
* zwikidotorg template: automatic comment headings now available on
all pages and enabled by default on \*Discussion pages; horizontal
rules now used
* zwikidotorg template: header & footer tweaks; don't display
ip address for last editor
* zwikidotorg template: subscribe form email address integrated
with UserOptions
* improved default subscribe form's layout; remember email address
via cookie if possible
Zwiki 0.9.6 2001/10/22
======================
* zwikidotorg template updated to latest zwiki.org layout,
example append_with_heading method added
* mail subscribers now receive edits as well as appends
* simple create method added to api
* new page- & wiki-wide mail subscription mechanism
(.../subscribeform)
* wiki_page_url/wiki_base_url renamed to page_url/wiki_url;
checkEditTimeStamp/editTimestamp renamed to
checkEditConflict/timeStamp; old api kept for backwards
compatibility
* code cleanups, refactoring
Zwiki 0.9.5 2001/10/13
======================
* the link to an uploaded file or image used to be !-escaped; this
is no longer necessary
* file upload now requires "Add Documents, Images and Files"
permission (was "Add Documents, Files and Images")
* fixed zwiki_username_or_ip() so last editor username is saved again
* moved zwiki web creation into core python product, so the manual
ZWikiWebs import is no longer needed. The sample wikis are now
shipped as individual zexp's in ZWiki/import, and are
automatically imported to /Control_Panel/Products/ZWiki at product
startup. (Install your own sample wikis there as
well). /Control_Panel/Products/ZWikiWebs can be deleted.
* "add zwiki web" form updates
Zwiki 0.9.4 2001/08/04
======================
* escaping remote wiki links with ! should now work
* tests have been completely reorganized and updated
* added custom __repr__ from CMFWiki
* refactored code into multiple modules, following CMFWiki.
Encapsulated some functionality in mix-in classes.
* another stx fixup: a single letter followed by a period is no
longer mistaken for a numeric bullet
* fix for one of 0.9.3's stx fixups: spurious html comments no
longer appear in stx examples
* exposed the "zwiki_username_or_ip" utility method, which given
REQUEST returns a best guess for username (authenticated user,
zwiki_username cookie, or ip address)
* experimental "lasttext" and "diff" methods show the text of a page's
last revision and a concise diff with the latest
* bare/noheader/nofooter flags can now also be passed as keyword args
* from WikiForNow: wiki-linking is now inhibited within
*
* structured text :: examples
* structured text '' quoted code
* html tags.
* append permission now works
* tweaked the anti-javascript hack
* tweaked the anti-decapitation kludge
* added plainhtmldtml mode (DTML + HTML, nothing else)
Zwiki 0.9.3 2001/05/02
======================
* creating/editing/deleting pages with eg spaces in the name has
been broken for a while, it seems - made some fixes in this area
* made the edit conflict message more helpful
* relaxed edit conflict checking: if your username & ip address
match the last editor's, the timestamp will be ignored. In other
words, you can no longer have an edit conflict with yourself.
This means eg you can backtrack in your browser, edit and click
Change again. This change may disable conflict checking amongst
anonymous users coming through a proxy.
* renamed the "username" property to "last_editor", added
"last_editor_ip", made these read-only in the mgmt. interface.
Existing zwiki pages are upgraded when viewed. dtml-var username is
still supported for backwards compatibility, but deprecated; use
dtml-var last_editor_or_ip by preference.
* stx workaround: trailing blank lines no longer cause unwanted
headings
* stx workaround: initial word plus period no longer becomes a
numeric bullet
* stx workaround: whitespace after :: no longer prevents example
formatting
* stx headings on first lines were broken - fixed
* fix for a 0.9.1 bug: with hierarchy display enabled, creating a
new page from a top-level page gave "typeerror"
* gopher: urls are now recognized
* renamed {wiki,page}_path to {wiki,page}_url in 0.9.2
Zwiki 0.9.2 2001/04/26
======================
* added a bunch of wiki_{page,base}_url variants for testing purposes
* about: urls are now recognized
* fixed a potential DeleteMe error message caused by incorrect parents
* allow standard_wiki_page to be defined as a folder property
* added plainhtml render mode - HTML only, no wiki-linking
* test suite updates, documentation
Zwiki 0.9.1 2001/04/24
======================
* allow non-wiki paths in []
* image file names in [] are auto-inlined
* use uploaded image size to help "add file/image" decide whether to inline
* reset parents when they have become outdated/confused
* folder attribute "standard_page_type" overrides type of all new pages
* display new page name when creating a page
* record username when creating a page
* renamed wiki_page_url(), wiki_base_url() to page_path(),
wiki_path(). The old names, used throughout existing dtml code,
are supported but deprecated
* made remotewikilinks more careful to avoid trailing punctuation
* allow []-named pages in remote wiki links
* disable structured text's [] footnote linking to avoid conflicts
Zwiki 0.9 2001/04/23
======================
* added append method
* simple email notification (PageSubscribers)
* made wikilinks absolute for greater robustness
* header/footer layout tweaks
* made last editor's authenticated username override username cookie
* proxy role tweak
* added file/image upload
* added more detailed permissions
* refactored edit()
* changed/reverted wiki_{page,base}_url as per Christian Scholz
for virtual hosting
* allowed https: urls
* allowed + and $ in remote wiki links
Zwiki 0.8.1 2001/01/04
======================
* added (experimental) page deletion
* record IP address when username cookie is blank
* make disabled javascript tags visible
* added more unit tests
* log last editor's IP address if there is no username cookie
* wrapped a bunch of long lines
* unit tests - added support for ZUnit and DocTest, and a few
initial tests. http://zwiki.org/zwikidir/Makefile.sample contains
some useful recipes for automated testing.
ZWikiWebs.zexp: incorporated latest zwiki.org tweaks, namely:
* removed a spurious menu from the add zwiki web form
* added UserOptions to the default BookMarks and removed it from
the page footer
* bookmarks, quote, search box and hierarchy may all be turned on
or off in UserOptions
* the default home page is now a user option
* user options & search box tab ordering fixed
* always show the editform even for write-protected pages, with
appropriate header/footer color
* page history is now accessible
* simplified RecentChanges
Zwiki 0.7.1 2000/11/03
======================
* fixed broken line-ending handling and non-rendering of initial
lines containing ":" in dtml modes
* return to the wiki page after clicking the reparent button
* added warning of incompatibility with old dtml methods to readme
Zwiki 0.7 2000/10/31
====================
* cookie-based user options, including edit form size, timezone,
bookmarks and wikiwikiweb-style username (help from Phil Armstrong)
* ZWiki is now zope 2.2-compatible (Garth Kidd) and -requiring,
and benefits from the 2.2 security model. Executable dtml pages
now run with those permissions that are common to both the
page-viewing user and the wiki web's owner. Set the folder's
owner to limit the permissions of executable pages.
* incorporated & updated Chris Withers' product for creating wiki webs
* added streamlined "hierarchal2" wiki style & other layout tweaks
* wikiwikiweb-style late page creation
* added simple javascript-disabling code
* made paths work with virtual hosting again (Evan Simpson)
* fixed unreliable ! line protection in structuredtext modes
* fixed unreliable remote wiki links in classicwiki mode
* more permissive remote wiki link regexps (Geoff Gardiner)
* "with this" dtml kludge no longer needed
* added built-in defaults for all dtml methods
* simpler, more consistent urls & api
* code refactoring/cleanups, other misc. bugfixes
Zwiki 0.6.1 2000/05/03
======================
* documented permission configuration in zwiki_examples/index_html
Zwiki 0.6 2000/05/02
====================
* wikinames must now start on a word boundary
* added # and = to url regexp
* try allowing numbers in wikinames
* added utility methods wiki_base_url & wiki_page_url
* added KenManheimer's hierarchy & navigation code
* added JimFulton's edit conflict safety belts for http & ftp
* added jim's permission & validation patch
* add & change zwiki page permissions are now functional
* reorganized & expanded example content
* deemphasised DTML-enabled content where not needed -
changed pages to structuredtext where possible,
restricted permissions on the rest, changed the default
page type to structuredtext
Zwiki 0.5 2000/03/27
====================
* simplified the default wiki content & page layout
* disabled catalog support for the moment
Zwiki 0.4 2000/02/14
====================
* new sample wiki, defaults to structuredtextdtml mode only
* bare urls are automatically hyperlinked, others should be left alone
* extensible markup modes - you can add your own render methods
* code cleanups
* tweaked markup modes for usability (see new TextFormattingRules)
* made validation of newly-edited DTML more accurate
* ZWikiPages are catalog-aware (mostly.. still some issues ?)
* added RemoteWikiLinks
* bracketed numbers are no longer wikilinks, so StructuredText's
footnotes can work
Zwiki 0.3 1999/11/14
====================
* sample wiki: included latest DTML features from ZWikiWeb -
SearchPage, JumpTo, AnnoyingQuote, separate edit page, etc etc.
* multiple markup formats - structured text,
classic wiki (TresSeaver), HTML/DTML, plain text
* better international character handling (AlexandreRatti)
* LFCR line-terminations are converted to LF
* tweaked editform layout
* source cleanup
* renamed default_wiki_page to standard_wiki_page for consistency
* ! at the beginning of a line protects it from wiki translation
Zwiki 0.2 1999/11/08
====================
* now checks for valid DTML & reports errors
* no longer requires "view management screens" permission
* tweaked wikilink regexp
* new icon
* misc fixes
* standard_wiki_header, standard_wiki_footer & default_wiki_page
have built-in defaults; define as dtml methods to override
* sample wiki: AllPages is a zwikipage; pagenames with spaces
are listed properly
* sample wiki: added a RecentChanges page
* sample wiki: simplified
Zwiki 0.1 1999/11/05
=====================
* initial development release