release day --Simon Michael, Thu, 01 Jun 2006 04:00:42 -0700 reply

I'm in ireland for a month. Weather has been great and there has been some good outdoor activity; I spent a terrific weekend hiking the Gap of Dunloe with family, and last night did my first organized run. I am watching their website like a hawk for results and pictures of my glorious debut.

Ubuntu dapper was released today! Congratulations and thanks to the sabdfl and ubuntu team.

Google released their picasa photo manager for gnu/linux, and it's very nice. I installed it on my family's windows pc also. Big success! Thanks google.

It's also Zwiki release day. I have been away from it for a couple of weeks, fortunately I do have some patches I made early in the month. There was also some work done in the issue tracker, nothing I need to check in yet I think. As always, getting into release mode takes a bit of head-scratching and recollecting and I still want to make a big red release me button. Join me now on #zwiki if you'd like to help or have some last-minute input.

I've been away from squeak work too, but keeping up with the news. There's a lot of great stuff going on.

This blog post is brought to you link-free, for ease of writing and reading. Sorry about that!

Zwiki 0.54 released --Simon Michael, Thu, 01 Jun 2006 08:30:42 -0700 reply

Zwiki 0.54 has been released. This one comes you from the garden, in lovely county Wicklow. Thanks for all bug reports and input.

An announcement from Joyful Systems: my current consulting gig is winding down; it's time for me to do something new, creative, financially rewarding. This could mean a greater focus on Zwiki. If you need Zwiki/Zope/Squeak/Unix consulting, or have any other thoughts on this, let me know!

Best, -Simon

Summary

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.

Changes

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

Urls:

**Newbie question on windows install ** --efhajg0, Sat, 03 Jun 2006 18:32:10 -0700 reply

downloaded 0.54 tar file and unzipped it into C:zopeZope-InstanceProductsZWiki? directory. restarted zope; went to add a wiki and received the following error. Any suggestions?

Site Error An error was encountered while publishing this resource.

Resource not found

Sorry, the requested resource does not exist. Check the URL and try again.

Resource: http://localhost:8080/manage_addProduct/ZWiki/manage_addwiki

**Newbie question on windows install ** --Frank Laurijssens, Mon, 05 Jun 2006 02:53:24 -0700 reply

Does Zwiki show up in your products list in Zope management? Also: do you want Zwiki to run on plain Zope or within Plone, and what are the versions of Zope and, if applicable, Plone?

-----Original Message----- From: "efhajg0" <zwiki@zwiki.org> To: ";" <;> Sent: 04-06-06 3:32 Subject: GeneralDiscussion Newbie question on windows install

downloaded 0.54 tar file and unzipped it into C:zopeZope-InstanceProductsZWiki? directory. restarted zope; went to add a wiki and received the following error. Any suggestions?

Site Error An error was encountered while publishing this resource.

Resource not found

Sorry, the requested resource does not exist. Check the URL and try again.

Resource: http://localhost:8080/manage_addProduct/ZWiki/manage_addwiki

hyperlinking in Plone? --aaron, Tue, 06 Jun 2006 11:13:14 -0700 reply

A newbie question: what is the syntax for creating a ZWiki hyperlink that points to a Plone folder in the same site?

hyperlinking in Plone? --DeanG, Tue, 06 Jun 2006 11:24:38 -0700 reply

A generic link..gotta dig up them URL's (remember relative url's). http://plone.org/documentation/how-to/create-link , althought Zwiki doesn't support Plone's Visual Editor. (And I'm not sure that you can link to a Zwiki page this way from Plones Visual Editor)

hyperlinking in Plone? --Simon Michael, Fri, 09 Jun 2006 05:10:25 -0700 reply

Hi.. have a look at http://zwiki.org/QuickReference#linking for ideas.

work ? - or make the hyperlink according to the text formatting mode you're using - it's different in Structured Text, reStructured Text, HTML source, HTML wysiwyg...

non-proportional font in textarea field on edit form --Phil Schumm, Mon, 12 Jun 2006 02:46:43 -0700 reply

One of the stylesheet changes I have always made to our ZWikis? is to specify a non-proportional font for the textarea field in the edit form. This is especially important now that reStructuredText is the default markup, since it is painful (if not impossible) to try and write in reST using a proportional-spaced font. I realize that many of us use ExternalEditor together with our own favorite editing environment, but I'm sure many users still use the edit form (as I still do occasionally).

What about adding something like:

textarea {font-family: Monaco, Courier, monospace}

to the default stylesheet?

-- Phil

Zwiki Comments and folderish objects --treed, Wed, 14 Jun 2006 15:42:46 -0700 reply

I have just implemented Zwiki at my company and it is already a big hit within the technology group. It will soon be reaching the rest of the company and I am sure it will be very successfull with them also.

During our familiarization process with the wiki some interesting usability comments have been made to me which I thought I should post here as hopefully useful feedback.

One common gripe is the lack of locking on page edits. We have had a few cases where users work was overwritten due to this. I realize that due to the lack of state and other issues with web applications you cannot really do locking except when using the external editor via webdav so I am encouraging people to take this route. If anyone could come up with a clever solution to the through the web editing locking problem it would be a major improvement to zwiki.

Another observation was that the comments seem to be implemented as additions to the bottom of the actual wiki page itself. This is not ideal as it allows for comments to be overwritten and lost in the above locking scenario and it allows people to change others comments intentionally or accidentally. It also makes it impossible to workflow comments should one ever wish to do so because they are not actual objects in zodb.

I also notice that if one attaches a graphic to a zwiki page it is simply uploaded into the folder. There is nothing to really tie it to any particular zwiki page.

These last two issues could be solved if the zwiki page itself were a folderish object which can contain comments and attached files. Similar to how the RichDocument? product does it.

Zwiki Comments and folderish objects --Phil Schumm, Wed, 14 Jun 2006 17:45:36 -0700 reply

On Jun 14, 2006, at 5:43 PM, treed wrote: > One common gripe is the lack of locking on page edits. We have had > a few cases where users work was overwritten due to this. I realize > that due to the lack of state and other issues with web > applications you cannot really do locking except when using the > external editor via webdav so I am encouraging people to take this > route. If anyone could come up with a clever solution to the > through the web editing locking problem it would be a major > improvement to zwiki.

As you know, there are many reasons to use External Editor besides just this one, not the least of which is that editing in one's preferred editor/environment beats the hell out of editing on a web page. Moreover, because this strategy is entirely cross-platform, there are few limitations to using it (though getting it set up initially may present a few hurdles for non-technical users). That said, from your comments below it sounds like you are familiar with Plone, and perhaps even using ZWiki within a Plone site. If so, there has been considerable progress made there toward a solution for locking content that's being edited TTW (e.g., see http://plone.org/ products/plone/roadmap/145/ and http://plone.org/products/ lockingworkflow). I have no idea how, or even if, such approaches would be applicable to ZWiki pages.

Another approach would be to write a Python script which accepts a ZWiki page url (ending in /src), and downloads the source of the page into a local file, keeping a second copy. You could then edit the file as you wish, and then use a second script to upload the new version (again through the web), but before doing so, to diff the reserved copy of the original against the current page, and if there are any differences, download the content of the new, revised page so you could merge locally before uploading. Sort of a CVS-like approach. Of course you could also do this through FTP instead, but if FTP access is not possible and/or desirable, the whole thing could be done via HTTP. Moreover, the process could be made pretty easy for the user.

> I also notice that if one attaches a graphic to a zwiki page it is > simply uploaded into the folder. There is nothing to really tie it > to any particular zwiki page. > > These last two issues could be solved if the zwiki page itself were > a folderish object which can contain comments and attached files. > Similar to how the RichDocument? product does it.

This issue -- namely, the difference between flat and hierarchical (read page-specific) namespaces -- has come up before and has been discussed at length (try a search on zwiki.org to locate the relevant archive(s)). In large part, the issue boils down to weighing the additional capabilities that a hierarchical namespace would offer against the increased complexity from both the developer's and the user's perspective.

-- Phil

line breaks stripped out of Plone Wiki comments --Mark_B, Sun, 18 Jun 2006 21:06:11 -0700 reply

Hi, I have a question about using zwiki with plone 2. I just use the html page type for any wiki pages created in the Plone site. When someone adds a comment TTW to an existing page all linebreaks are stripped out of the text. When viewed in the page all the headers and text are run together. Is there a setting I can tweak to preserve line endings.

**Sorry,
the requested resource does not exist. Check the URL and try again.** --vegas, Wed, 21 Jun 2006 13:55:54 -0700 reply

Hello Zwiki Hackers,

I saw this same difficulty posted previously as "newbie question on windows install". I'm also a zope newbie, but I'm not using windows. I've installed Zope 2.9.3 on an FC5 box(from source, not rpm), and when I unpacked ZWiki 0.54.0 into my products directory and attempted to Add a new Wiki through the ZMI, I got this same wierd error mentioned earlier in the Windows context. I was able to install 0.52.1 succesfully and get it working, so I'm placated for the afternoon, but I'd say this is probably some kind of bug in 0.54 since it's occuring on such disparate setups(windows and fc5). I want to try and get LaTeXWiki? working(for which I may need 0.54), so any help anyone can provide would be great, and I'm available to do any sort of beta tester mucking anyone would like. I can be reached at alexander[ d0t ]?fairley[at]?gmail [ d0t ]? com

Site Error An error was encountered while publishing this resource.

Resource not found

Sorry, the requested resource does not exist. Check the URL and try again.

Resource: http://localhost:8080/manage_addProduct/ZWiki/manage_addwiki

bit more --vegas, Wed, 21 Jun 2006 13:57:45 -0700 reply

I'm using python 2.4.3

Wiki love of the day... --DeanG, Thu, 22 Jun 2006 11:57:11 -0700 reply

http://jeremyhylton.blogspot.com/2006/04/python-tutorial-wiki.html

non-proportional font in textarea field on edit form --Simon Michael, Fri, 23 Jun 2006 09:33:06 -0700 reply

Howdy all.. back in the US after a four week trip to Ireland & Wales.

Phil Schumm wrote: > One of the stylesheet changes I have always made to our ZWikis? is to > specify a non-proportional font for the textarea field in the edit > form. This is especially important now that reStructuredText is the > default markup, since it is painful (if not impossible) to try and > write in reST using a proportional-spaced font. Hi Phil.. why - because headings don't match their underlines in length ? I can imagine that.

Here in my firefox, the edit form and comment form textareas display in a monospace font and always has. Can someone say why it does that, and why it doesn't for Phil ? > I realize that many > of us use ExternalEditor together with our own favorite editing > environment, but I'm sure many users still use the edit form (as I > still do occasionally). > Same here.. I use EE+Emacs and the edit form about 50-50. > What about adding something like:: > > textarea {font-family: Monaco, Courier, monospace} > > to the default stylesheet? > You could add this to http://zwiki.org/StyleSheet so we can judge the effect (after we understand the above puzzle..)

Wiki love of the day... --Simon Michael, Fri, 23 Jun 2006 09:42:13 -0700 reply

Nice link and nice post by J. Hilton!

**Sorry,
the requested resource does not exist. Check the URL and try again.** --Simon Michael, Fri, 23 Jun 2006 09:44:01 -0700 reply

Replied to a direct mail on this, pointing to the traceback in Control_Panel/Products/ZWiki. Let's follow up here or on #zwiki.

Wiki love of the day... --Simon Michael, Fri, 23 Jun 2006 09:48:03 -0700 reply

And http://infogami.com looks very nice.

line breaks stripped out of Plone Wiki comments --Simon Michael, Fri, 23 Jun 2006 09:49:00 -0700 reply

Sorry, not at present - the HTML page type basically doesn't support comments at the moment.

No Upload Button --aaron, Fri, 23 Jun 2006 16:39:28 -0700 reply

Hi folks. I'm putting up a Zwiki (0.54.0) folder in a Plone site (2.1.3). As folder owner and admin, when I create a ZWiki page, I see the upload button. But other users who are in a group with manager permissions for the directory do not. I've had to mess with the workflow & permissions a bit to make different folders accessible only to certain groups. So, I'm assuming that this is the source of my problem. However, I've checked the boxes explicitly giving managers permission to 'Add Documents, Images, and Files', 'FTP access', and 'Modify portal content' but still no joy. These users can create pages but don't have the ability to upload docs. Any hints? --aaron

No Upload Button --Simon Michael, Sat, 24 Jun 2006 15:01:21 -0700 reply

Does it work if you set the permission on the plone site's root folder ? There was a report this week of a problem like this. Similar to http://zwiki.org/1220 .

No Upload Button --aaron, Sun, 25 Jun 2006 20:25:04 -0700 reply

Thanks, Simon. That fixed it.

center --geon, Mon, 26 Jun 2006 08:07:30 -0700 reply

How to center one paragraph and/or few paragraphs or table or image(s)?

Change contentitem as defaultview --nd51, Fri, 30 Jun 2006 04:10:31 -0700 reply

Hi, at the moment it seems you have to call a page FrontPage in order for it to actually be the front page. However, since Plone 2.1, there's been an option on the display dropdown - "Change contentitem as defaultview". An other content type such as a newsitem, you could make the default view for your folder regardless of its name. ZWiki pages don't get listed as possible things to be set as the default view. Any plans to support this in future?

LaTexWiki? --nd51, Fri, 30 Jun 2006 04:13:34 -0700 reply

1 more question - any plans to incorporate LaTeXWiki? into ZWiki releases so it s not a patch that has to be applied, or is that difficult to do?