Zwiki 0.51 released --Simon Michael, Thu, 02 Mar 2006 23:29:52 -0800 reply

Zwiki 0.51 has been released at http:// zwiki.org <http://zwiki.org/> . Zwiki is a free, powerful, easy to use and manage wiki engine for Zope 2; it works with standard Zope, CMF or Plone sites. See below for other useful urls.

The 1st rolled round so quick I missed it. Lots of bugfixes and translations this month.

Best, -Simon

Summary

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 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/setupTracker as manager.

Purple numbers are no longer supported out of the box.

Changes

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

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_name' 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)

Urls:

http://zwiki.org http://joyful.com http://joyfulsystems.blogspot.com http://zwiki.org/FreeHosting

Zwiki 0.51 released --Simon Michael, Fri, 03 Mar 2006 11:28:33 -0800 reply

Simon Michael wrote: > If you have a customised wikipage template, your page management > form will reflect the new edits_need_username property until you

Correction: will not.

PeopleUsingZwiki cleanup --Simon Michael, Fri, 03 Mar 2006 22:13:15 -0800 reply

http://zwiki.org/PeopleUsingZwiki: "From this point on, let's tag zwiki sites with the zwiki-site tag at the del.icio.us bookmarks site, as the Plone folk do."

See that page for details. Please help by (a) tagging new zwiki sites when you find them (b) selecting and highlighting good ones from the list . Let's get a jump on MoinMoin! Thanks! :)

flash sprint! --Simon Michael, Thu, 09 Mar 2006 10:40:36 -0800 reply

FLASH SPRINT 2006/3/9 1030PST, ZWIKI.ORG CLEANUP

Join me on #zwiki asap if you can spare a few minutes! I will go for at least half an hour.

Re: flash sprint! --Simon Michael, Thu, 09 Mar 2006 15:07:58 -0800 reply

I wrote: > > FLASH SPRINT 2006/3/9 1030PST, ZWIKI.ORG CLEANUP > > Join me on #zwiki asap if you can spare a few minutes! I will go for at > least half an hour. >

I should send this report. Frank Laurijssens showed up and we worked on issues such as:

livesearch fixed - http://zwiki.org/1212AnonymousCantEditPloneDemoZwikiOrg - fix verified - http://zwiki.org/1096RevertShouldBeEnabledInPloneZwikiOrg - fix verified - http://zwiki.org/1222051FailsToInitialiseWithZope28 - fix committed - http://zwiki.org/1221051HasOldZwikiNlPo - general plone.demo.zwiki.org cleanup

I'll be doing this a lot - quick IRC sprints, announced there and on GeneralDiscussion. So if you hear the call and can spare even a few minutes, do drop by #zwiki. It's a great way to get energised and get some things done.

fun with Leo --Simon Michael, Fri, 10 Mar 2006 22:42:22 -0800 reply

FYI: http://joyfulsystems.blogspot.com/2006/03/leo.html

wiki_globals import error with ZWiki 0.51.0 --terry jones, Mon, 13 Mar 2006 09:32:23 -0800 reply

Hi folks. I just tried to add a ZWiki to a fresh install of Plone 2.1.2 on Mac OS X 10.3.9. I untarred ZWiki in the Sites/Default/Products directory and started Plone. When I go to Add/Remove Products though, at the bottom of the page I see the message:

<pre> Broken products

Some products were found to have errors when compiling the install file.
ZWiki

Error Type exceptions.ImportError? Error Value cannot import name wiki_globals </pre>

Have I done something wrong here?

I am able to load this version of ZWiki into a Zope and create a wiki with no problem. It just doesn't want to import under Plone.

Thanks for any help.

wiki_globals import error with ZWiki 0.51.0 --EmmaLaurijssens, Mon, 13 Mar 2006 10:58:40 -0800 reply

This is a known bug in 0.51, see #1222. It will be fixed in 0.52, but in the meantime you can apply the fix described in the issue.

wiki_globals import error with ZWiki 0.51.0 --EmmaLaurijssens, Mon, 13 Mar 2006 11:03:37 -0800 reply

Hmmm... Shouldn't #1222 turn into a link?

zwiki hijacked for spam --Bob McElrath?, Tue, 14 Mar 2006 08:44:31 -0800 reply

Yesterday my wiki was hijacked for spam. It appears that the spammer used the comment form and a POST request on one of my pages to add content, which then got sent via mailin. The spammer included a full email header in his comment, including a BCC field, which then sendmail tried to deliver to thousands of @aol.com addresses (since zwiki's mailin is a legitimate sender on my machine).

Any suggestions how to fix this?

zwiki hijacked for spam --Simon Michael, Tue, 14 Mar 2006 12:53:05 -0800 reply

Hi Bob,

ugh. Thanks for the report. I'll open an issue and reply there.

wiki_globals import error with ZWiki 0.51.0 --Simon Michael, Tue, 14 Mar 2006 13:11:44 -0800 reply

EmmaLaurijssens wrote: > This is a known bug in 0.51, see #1222. Thanks, I'll take your word it's that one. > Hmmm... Shouldn't #1222 turn into a link? Yes. I think issueNumberAndNameFrom() probably thinks that page's issue number is 1221051.

wiki_globals import error with ZWiki 0.51.0 --EmmaLaurijssens, Tue, 14 Mar 2006 13:43:33 -0800 reply

OK, created an issue.

style tweaks --Simon Michael, Wed, 15 Mar 2006 17:35:14 -0800 reply

I've been helping Kent with the skin at http://leo.zwiki.org . This is a good warmup for viewgeddon (skingeddon ?), where I clean up the view code, templates, and styles. Some tweaks you may want to check out:

headings nicer

links

made it orange with a left border, matching leo logo

wiki_globals import error with ZWiki 0.51.0 --terry jones, Thu, 16 Mar 2006 08:21:40 -0800 reply

Thanks Frank - I applied the fix & ZWiki is now up & running under plone.

aha! --Simon Michael, Thu, 16 Mar 2006 18:51:03 -0800 reply

Right at the end of the day, I found just the right background image to brighten up http://leo.zwiki.org . I'm pleased with the facelift and full of little insights and ideas for zwiki's out of box experience.

bots blocked --Simon Michael, Fri, 17 Mar 2006 12:24:39 -0800 reply

I've blocked these two IP addresses

ns.km21727-07.keymachine.de 64.127.124.147

which were ignoring robots.txt and bringing the server to a crawl. Contact me if you need to get access restored.

strange bug --Simon Michael, Mon, 20 Mar 2006 15:03:35 -0800 reply

I think there might be a problem with the recent change "reorder ZWikiPage base classes". On zwiki.org I got a type error in pageUrl until I removed this patch. The strange thing is I can't reproduce it on my debug zeo client, serving the same pages. The only difference is the latter has fewer products installed. If you see it too, I'd like to know. Changing class names or inheritance order can cause hard-to-reproduce problems that depend on your existing page objects.

debug mode ? --Simon Michael, Tue, 21 Mar 2006 16:01:49 -0800 reply

Question, why do I see Debug Information in control panel ? Doesn't that indicate a zope in debug mode ? This is with "zopectl start" and debug-mode commented out in zope.conf.

flash sprint! --simon, Wed, 22 Mar 2006 15:43:25 -0800 reply

flash sprint on #zwiki ! zwiki.org cleanup, for the next half hour at least. Drop by if you get this.

flash sprint! --simon, Wed, 22 Mar 2006 16:44:27 -0800 reply

Done. I kicked ass. I worked on #1236, cleaned up the front page docs links and stole the stylesheet from leo.zwiki.org. The font-family now looks for sans-serif, not just sans or verdana. http://zwiki.org/FAQs and the site in general looks a lot better on at least this windows machine I'm using. Not perfect though, the large heading font is not antialiased at all. Maybe that's a windows 2000 thing.

**a second dns outages ** --Simon Michael, Thu, 23 Mar 2006 15:37:41 -0800 reply

simon wrote: > Another joker.com outage today made all sites unresolvable for an hour or two, at least for me. :( > -- > forwarded from http://zwiki.org/FreeHosting#msg20060323153517-0800@zwiki.org >

all-edits --Simon Michael, Thu, 23 Mar 2006 16:24:21 -0800 reply

Let's continue this thread over here -

Bill Page wrote: > Oh. I guess I am used to the old 'mailout_policy' functionality > as we still use it on http://wiki.axiom-developer.org . Do you > mean this is gone? What do subscribers see if they do not click > "all-edits"? I thought "all edits" was the same as overriding > the default 'mailout_policy'. If not, as a wiki implementer how > can I control this? > -- > forwarded from http://zwiki.org/DraftSendsNoMail#msg20060323155110-0800@zwiki.org

I forgot the details myself. Here are all the related bits I found just now, not to chastise you for skipping my glorious release notes and docstrings but to gather them in one place:

0.46 release notes:

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.

  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.

  Mail

    * add "all edits" checkboxes to subscribeform. Zwiki can now send
    comments to some, edits to others.

sendMailToSubscribers():

This is used for sending things of interest to all subscribers,
like comments and page creations. To reduce noise we apply a few
special cases:
- if text is empty, don't send
- if this is a boring page, don't send to wiki subscribers unless
  they've requested all edits

sendMailToEditSubscribers():

Like sendMailToSubscribers, but sends only to the subscribers who
have requested notification of all edits. If text is empty, send
nothing.

For backwards compatibility, a mailout_policy property with value
edits on the wiki folder will override this and send to all
subscribers.  I think that needs to go away as it makes the user's
choice on subscribeform useless. During upgrade we could remove it
and convert all subscribers to edits subscribers.

Ie by default (if you haven't checked all edits, and there's no site mailout_policy=edits property overriding your choice) you'll see just comments and page creations. The good stuff.

I think I left the mailout_policy property there, overriding the user choice, so that a bunch of existing wikis wouldn't quietly stop reporting edits unbeknownst to their owners. Now I feel there has been sufficient warning and it could be removed.

all-edits --Simon Michael, Thu, 23 Mar 2006 16:37:12 -0800 reply

> Ie by default (if you haven't checked all edits, and there's no site > mailout_policy=edits property overriding your choice) you'll see just > comments and page creations. The good stuff. > PS I forgot to add "...from the non-boring pages." And this refers to whole-wiki subscribers. Direct subscribers to a page always get everything from there.

mailout_policy --Bill Page, Thu, 23 Mar 2006 16:38:01 -0800 reply

Simon wrote:

> ... a mailout_policy property with value > edits on the wiki folder will override this and send to all > subscribers. I think that needs to go away as it makes the > user's choice on subscribeform useless.

But you also say:

> if this is a boring page, don't send to wiki subscribers unless
they've requested all edits

So there is still a difference. An 'mailout_policy' of 'edits' does not send edits of boring pages.

In my experience with the Axiom Wiki I am not convinced that just "comments and page creations" are sufficient since many people seem inclined to add interesting material as edits to a page rather than as a comment. On the other hand I still wish boring/draft pages to be silent, unless I specifically override this default, say through click "all edits".

mailout_policy --Simon Michael, Thu, 23 Mar 2006 16:58:02 -0800 reply

> So there is still a difference. An 'mailout_policy' of 'edits' > does not send edits of boring pages. > I won't probe that further by email today - perhaps an irc chat ? but if that's what you observe then you're right of course. > In my experience with the Axiom Wiki I am not convinced that > just "comments and page creations" are sufficient since many > people seem inclined to add interesting material as edits to > That hasn't been my experience in any of the wikis I've managed, but I believe you. (Maybe I should turn off the comment forms. I thought about it for zopewiki once..)

It's interesting how the experience from other wiki communities with their own dynamics implies different design choices! Frank's need for always showing full issue names in subjects was another (I frowned at that option today FL I can tell you..) > a page rather than as a comment. On the other hand I still > wish boring/draft pages to be silent, unless I specifically > override this default, say through click "all edits". I hope I'm understanding; that sounds like the default behaviour, which you should see if you remove the mailout_policy=edits property which I am assuming you still have on your folder.

Cheers

mailout_policy --Simon Michael, Thu, 23 Mar 2006 17:01:37 -0800 reply

PS I get the essence I think, that in your situation you want subscribers to get some edits but not all or nothing.

darcs patch unpulled --simon, Thu, 23 Mar 2006 23:46:06 -0800 reply

Heads up - I just unpulled a "viewgeddon.. one set of templates.." patch which I had accidentally pushed to the main repo. If you pulled from darcs today you might need to do the same in your repo.

testing for ubuntu --Simon Michael, Tue, 28 Mar 2006 12:50:57 -0800 reply

FYI - calling in advance for your help to make sure we have an extra high-quality release in Ubuntu Dapper!

On 3/28/06, Simon Michael <simon@joyful.com> wrote: > > https://launchpad.net/malone/bugs/29051 > > That is good news, we'll do our best to make 0.52 extra solid. >

new templates installed --simon, Thu, 30 Mar 2006 10:16:07 -0800 reply

The zwiki.org server is running the ViewGeddon branch now.. you may see some minor layout problems on zwiki.org, zopewiki, the FreeHosting wikis etc. If you see anything actually broken, please let me know right away. More discussion at http://zwiki.org/ViewGeddon .

new templates installed --simon, Thu, 30 Mar 2006 10:29:12 -0800 reply

Never mind! Not quite ready yet.

i18n --EmmaLaurijssens, Thu, 30 Mar 2006 12:35:55 -0800 reply

Don't forget to pull the .po files from Rosetta for 0.52 ;)

I do notice that a couple of phrases remain untranslated, like on "wiki search" and "backlinks" ("Here are it's subtopics..." and others). I'm sure I encountered them in the .pot file. I'll have to look into that after ViewGeddon.

new templates installed --simon, Thu, 30 Mar 2006 15:39:18 -0800 reply

Now running the ViewGeddon branch. Even though this is still evolving, from this point on the more testing it gets the better. There are two ways to test - please see that page for more details and screenshots.

Strange html page titles --EmmaLaurijssens, Thu, 30 Mar 2006 23:41:44 -0800 reply

There was a discussion about page titles a couple of months ago. I just noticed that on zwiki.org, the page title of every page appears doubled, i.e. GeneralDiscussion GeneralDiscussion.

Strange html page titles --simon, Thu, 30 Mar 2006 23:46:54 -0800 reply

Yes indeed. I might have broken that recently, or it might have been there all along. If you want to look at it, I would recommend the ZWiki-viewgeddon branch.

Strange html page titles --EmmaLaurijssens, Fri, 31 Mar 2006 00:03:14 -0800 reply

I would, if not for:

Copying patch 180 of 1272...
darcs failed:  Failed to download URL http://zwiki.org/repos/ZWiki-viewgeddon/_d
arcs/patches/20051001151212-e02d6-ae1d7699eea0ff907de09767deebe3ede7275613.gz
libcurl: HTTP error (404?)

Strange html page titles --Simon Michael, Fri, 31 Mar 2006 04:05:35 -0800 reply

That might be because of a patch I unpulled and rerecorded. See if you can pull a fresh copy of the repo. darcs get --partial http://zwiki.org/repos/ZWiki-viewgeddon worked for me just now.