Zwiki

Latest version: v2.0b1

Safety actively analyzes 682251 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 14

0.29

=====================

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)

0.28

=====================

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.

0.27.1

=======================

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)

0.27

=======================

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**

0.26

=======================

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

0.25

=====================

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

Page 7 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.