Archived GeneralDiscussion.


comments:

Zwiki 0.29 released, news roundup --Simon Michael, Thu, 01 Apr 2004 16:25:57 -0800 reply
Good day all..

Zwiki 0.29 has been released. Summary: bugfixes for Zope 2.7 & Plone 2, skin tweaks. This is the first release since the wave of python 2.3, zope 2.7 and plone 2.0 hit, and hopefully you will find it more solid. http://zwiki.org , http://zwiki.org/ReleaseNotes .

zwiki.org has moved to a new server with more memory and is much happier. You should find it faster and more stable. I hope to keep it that way.

Also there is a new sponsorship page at http://zwiki.org/ZwikiFunding . Please take a look and consider sponsoring me or another developer, if you'd like to see this product improve more quickly and sustainably. Especially if it is helping your business (and I hope it is).

Development started slow this month but picked up towards the end, with contributions from Bob McElrath? and Cyrille Lebeaupin. Bob is doing good work as LatexWiki patch maintainer and he has just made a compatible release. Many people have helped with issue tracking, as usual - thank you. #zwiki channel activity is on the increase.

After four years, I've realized I don't need to keep fighting with zope.org content objects. :) zwiki.org is now the official home of Zwiki releases and news.

Ditto for trusty-but-time-consuming CVS. As of now I am switching to darcs as primary revision control system and considering CVS to be frozen. Please see http://zwiki.org/ZwikiDarcs for new how-tos and discussion. I hope this will enable simpler and more rapid exchange of patches, translations, etc.

Quite a month! Spring cleaning. Will I be able to keep working on zwiki in the coming months ? I don't know. I hope so. :)

Zwiki is a flexible, powerful, GPL wiki engine for Zope, supporting hierarchy, wysiwyg editing, dynamic pages, issue tracking, email integration, and more. Visit zwiki.org to learn all about it.

Good health, -Simon

comment-fu --Simon Michael, Fri, 02 Apr 2004 09:37:22 -0800 reply
All hail O-Dean, Black Belt of comment-fu!

See him meet each one with grace, guiding it swiftly to it's resting-place!

Resting in silence, he is at ease.

comment-fu --DeanG, Fri, 02 Apr 2004 10:47:50 -0800 reply
That was a most excellent post-lunch greeting. Thank you.

I thought way too much on how to come up with a short note when removing test and blank (patch pending :-P) comments so finally resorted so some good ol' Joe Bob Briggs terminology. :-) http://www.joebobbriggs.com/bmovieguide/c/curse.html (what? No WikiPedia page?!) I sure like Fridays.

Time for a zope wiki --simon, Sun, 04 Apr 2004 14:18:35 -0700 reply
Well I think we've needed this for a long time.. and I'm finally sticking my neck out. Take a look at http://zopewiki.org . My thought is to move most or all of the zope content from this wiki to that one. Comments ?

Time for a zope wiki --Simon Michael, Sun, 04 Apr 2004 14:39:41 -0700 reply
PS I'm not quite sure how many zope pages written by other people are involved here. I am proposing to move pretty much all of them to zopewiki except for ZoPe; any problems with this ? If we get SisterSites working it should not harm our zwiki discussions too much.

Time for a zope wiki --simon, Sun, 04 Apr 2004 15:40:02 -0700 reply
On second thought, I will move only the zope book initially, to avoid burdening the young wiki with our cruft. Let anyone who wants to clean up and move content as needed.

Re: Announcing zopewiki.org ! --Simon Michael, Sun, 04 Apr 2004 16:21:17 -0700 reply
Simon Michael wrote:

Hi all,

I've set up a general-purpose Zope wiki at http://zopewiki.org . The blurb says:

"This is a public wiki site for Zope , the open source web application server. Zope documentation has historically been scattered and hard to update. zopewiki.org aims to provide a single, simple, user-owned Zope documentation site to tie it all together."

I have been wanting something like this for some time. At one time I thought it had to be on zope.org, but not now. It's time to stick my own neck out and risk public humiliation. I hope you'll all get involved and we can fix this accursed zope documentation problem. :)

How to use Fit -- Mon, 05 Apr 2004 07:00:11 -0700 reply
I have downloaded ZWiki and spent nearly an hour trying to figure out how to use fixtures without success.

Here is what I want to do. I have a Python module called SumIntegers?.py with the following function:

 # SumIntegers.py
 def SumIntegers(a,b):
     assert isinstance(a,int)
     assert isinstance(b,int)
     return a+b

I have a reStructuredText page called CheckSumIntegers?.rst as follows:

 CheckSumIntegers.rst

 A Test table
 +++++++++++++++++++++++++++++++

 ========= =========== =============
 fixtures.SumIntegers
 -----------------------------------
 a         b           SumIntegers() 
 1         1           2
 ========= =========== =============

(as you see I have tried to follow the quotient() example). I have put both pages inside my ZWiki folder. Now, what am I expected to do? There should be a way to get a "test" tab, such that when I click on it the function is called with the right arguments and the result is checked; finally I should get a green bar meaning the test passed. I do not find on the Wiki how to do that in practice! So, I need some hint.

Michele Simionato

How to use Fit -- Mon, 05 Apr 2004 07:02:06 -0700 reply
Oops! I forgot to say I am very new to Wikis, so I mixed up the indentation in my previous post, sorry about that!

creating new page problem --MarkBronstein?, Mon, 05 Apr 2004 08:45:29 -0700 reply
I have a problem with new pages containing the content of the parent page. When I create a new page link and then click on the question mark I get to an edit screen for the new page but it is filled with the content of the parent page.

I am using Zwiki. .29 and Plone 2.0. It only happens when the parent page is html, which then makes the new page default to html and therefore call up epoz as the editor.

This problem is the same as http://www.zwiki.org/IssueNo0557PloneZWIkiEditformForNewPageEditsCurrentPage except for the epoz factor.

Anyone have any ideas?

user settings / security for zwiki -- Mon, 05 Apr 2004 09:05:58 -0700 reply
Hi, I want my (currently only zwiki) users to be able to move and delete pages, as well as to upload documents. And I don't want to let them run the whole site ;-). Just enabling the autorized role anything containing a wiki does not do the job. Any practical suggestion? Reading the zope-book did not help me much .... it was to general for my needs.

Thx,

Oliver

creating new page problem --Simon Michael, Mon, 05 Apr 2004 09:59:12 -0700 reply
Mark - you are right, sorry I don't have a fix at this moment. It is noted on the recent epoz issue, so you don't need to add another. Thanks.

user settings / security for zwiki --Simon Michael, Mon, 05 Apr 2004 10:01:09 -0700 reply

Hi, I want my (currently only zwiki) users to be able to move and delete pages, as well as to upload documents. And I don't want to let them

First, a quick answer - did you find the permissions on QuickReference ? In fact, since you mention the Zope Book - did you find zwiki.org ?

See if that helps. Documentation improvements are also welcome.

How to use Fit --Simon Michael, Mon, 05 Apr 2004 10:12:52 -0700 reply

I have downloaded ZWiki and spent nearly an hour trying to figure out how to use fixtures without success.

Hello.. to my knowledge you are the second person trying this out, and I haven't touched it for some time, so pardon the rough edges..
I have a reStructuredText page called CheckSumIntegers?.rst as follows

I'm not sure that I tried zwiki's fit support with RST tables. I saw it work with STX tables and with HTML pages, I would start with one of those.

Did you find the ZwikiAndFit page ? There is documentation and examples of tests here (but inactive because of a server move, I need to revive them).

From memory, here's what I had to do:

That table should get highlighted red or green when you view the page.

oops --Simon Michael, Mon, 05 Apr 2004 19:43:48 -0700 reply
Was that really 70 pages.. sorry about the spam. Editing was just too slow.

user settings / security for zwiki -- Tue, 06 Apr 2004 00:36:40 -0700 reply
Hi, the QUickReference? was helpfull, explaining which security settings beside the obvious zwiki settings are important. I followed the list and updated my security policies for the authenticated users. Unfortunately, deleting of a page is not possible, see the error message: ' Site Error

An error was encountered while publishing this resource.

Copy Error Sorry, a site error occurred.

Traceback (innermost last):

Copy Error '

Btw, is where a way to give a standardized trouble page to the users after an zope error has occured?

Thx for your assistance,

Oliver

user settings / security for zwiki -- Tue, 06 Apr 2004 01:17:09 -0700 reply
I had to add copy / move objects to the list of allowed items - maybe this should be added to the QuickReference. Now it works, thx.

How to use Fit -- Tue, 06 Apr 2004 02:11:00 -0700 reply
I made a fixtures directory in Products/ZWiki and added a Division.py module as in the example:

from fit.ColumnFixture? import ColumnFixture?

class Division(ColumnFixture?): numerator = 0.0 denominator = 0.0 def quotient(self): return self.numerator / self.denominator

Then I made a ZWiki page with the following table:

fixture.Division
numeratordenominatorquotient()
1 10

I see the table, but no red bar. How do I check if the Fit module is called? IOW, where is the code that calls Fit in the source?

How to use Fit -- Tue, 06 Apr 2004 02:14:00 -0700 reply
Oops, again! In cutting and pasting I forgot an "s", but actually I have written (correctly) fixtures.Division and the directory is called fixtures, so the issue should not be a trivial misspelling.

how to change logo -- Tue, 06 Apr 2004 06:03:28 -0700 reply
Hi, does anyone know how to change the logo which apperas on the upper left edge on every wiki page? It links to the FrontPage and I would like to change it.

Thx,

Oliver

How to use Fit --Simon Michael, Tue, 06 Apr 2004 06:39:30 -0700 reply
Fit.py ?

user settings / security for zwiki --Simon Michael, Tue, 06 Apr 2004 06:41:55 -0700 reply

I had to add copy / move objects to the list of allowed items - maybe this should be added to the QuickReference. Now it works, thx.

Thanks - you're sure the error wasn't because of a duplicate page in the recycle_bin folder ? I would have expected a different kind of error from a missing permission.

how to change logo --Simon Michael, Tue, 06 Apr 2004 06:45:41 -0700 reply

Hi, does anyone know how to change the logo which apperas on the upper left edge on every wiki page? It links to the FrontPage and I would like to change it.

Put a HTML img tag in a site_logo folder property (QuickReference, again). For more extensive changes, see HowToCustomizeZwikiStandardSkin

How to use Fit --Simon Michael, Tue, 06 Apr 2004 07:22:21 -0700 reply
I've reactivated fit on this site and updated the docs and compatibility status at ZwikiAndFit.

zopewiki discussion --DeanGoodmanson, Wed, 07 Apr 2004 12:47:00 -0700 reply
Where on the ZopeWiki would you like site content/maintenance discussion? Perhaps a tracker?

Few thoughts...

A ZopeZen?.org post might help visibility.

Is a page for existing Zope resuorces useful? I wanted to build sub-pages for the (gotta find it) Zope Administration Guide and Plone Book. Should there be a ZopeBook page? I left an outline of a long-standing annoyance at ZopePort8080? I hope to fill in later. It could use a better name, but I wanted to help the google ranking of 8080 to something other than "read the doc-string, stupid"...which elicits the near-appropriate response of: since I'm in the source, why not just change the default?! >:)

zopewiki discussion --Simon Michael, Wed, 07 Apr 2004 16:10:29 -0700 reply

Where on the ZopeWiki would you like site content/maintenance discussion? Perhaps a tracker?

I'm thinking ZopeWikiDiscussion?.. with probably separate ZopeWikiNews? for site status updates & announcements ?

I'm intentionally starting out simple. No need for a tracker, is there ? I'm not even in a hurry to add mail, as you see..

A ZopeZen?.org post might help visibility.

Good idea, how do we do that ? Are there other active community sites we should network with ?

Links/pages for any and all Zope resources are very useful. We should be able to get to anywhere in the zope world from there.

zopewiki discussion --Simon Michael, Wed, 07 Apr 2004 16:11:44 -0700 reply
PS if anyone sees a #zope operator, get them to add it in the topic also.

GD has become GeneralDiscussion and DevDiscussion? --simon, Thu, 08 Apr 2004 15:01:45 -0700 reply
For a "trivial" task, this was surprisingly involved. FYI, these pages now read:

GeneralDiscussion:

 This is was the main Zwiki discussion page; it has been split into
 GeneralDiscussion and DevDiscussion. From now on, please use one of those
 instead.

GeneralDiscussion:

 This is the main forum for ZWiki users and administrators - general
 discussion, requests for help, DTML scripting issues, etc. Post here if
 there is no better topic-specific page (see DiscussionPages), or if you're
 not sure where is the best place. All questions are welcome here.

DevDiscussion?:

 This is for ZWiki developer discussions - everything that isn't
 meaningful to every-day Zwiki users. Post here if there is no better
 topic-specific page (see DiscussionPages).

Discussion about wiki gardening is also common; I think it belongs in both places, and that a separate page just for it would complicate things too much.

GD has become GeneralDiscussion and DevDiscussion? --simon, Thu, 08 Apr 2004 15:04:10 -0700 reply
Also: all GeneralDiscussion subscribers are now subscribed to GeneralDiscussion. If you want to participate in developer discussion, you'll need to subscribe to DevDiscussion? (or the whole wiki) now.

zopewiki discussion --simon, Thu, 08 Apr 2004 15:07:38 -0700 reply

A ZopeZen?.org post might help visibility.

Done.

GD has become GeneralDiscussion and DevDiscussion? --Bob McElrath?, Thu, 08 Apr 2004 15:22:07 -0700 reply
simon [zwiki-wiki@zwiki.org]? wrote:

Also: all GeneralDiscussion subscribers are now subscribed to GeneralDiscussion. If you want to participate in developer discussion, you'll need to subscribe to DevDiscussion? (or the whole wiki) now.

You cannot subscribe to the whole wiki...(try it). Problem in the template?

-- Cheers, Bob McElrath? [Univ. of California at Davis, Department of Physics]?

Stop the spread of the dangerous chemical Dihydrogen Monoxide! http://www.dhmo.org

GD has become GeneralDiscussion and DevDiscussion? --Simon Michael, Thu, 08 Apr 2004 15:40:54 -0700 reply

You cannot subscribe to the whole wiki...(try it). Problem in the template?

Not in the usual way, because zwiki.org uses a mailing list for whole-wiki subscriptions. It should show instructions for ezmlm and gmane though.

GD has become GeneralDiscussion and DevDiscussion? --Bob McElrath?, Thu, 08 Apr 2004 15:51:00 -0700 reply
Simon Michael [zwiki-wiki@zwiki.org]? wrote:

You cannot subscribe to the whole wiki...(try it). Problem in the template?

Not in the usual way, because zwiki.org uses a mailing list for whole-wiki subscriptions. It should show instructions for ezmlm and gmane though.

Someday I will learn to read.

-- Cheers, Bob McElrath? [Univ. of California at Davis, Department of Physics]?

Stop the spread of the dangerous chemical Dihydrogen Monoxide! http://www.dhmo.org

Viewing Text Files -- Tue, 13 Apr 2004 02:50:38 -0700 reply
I have a set of plain text files in a directory hierarchy and I would like to see them from the Wiki interface. Editing from the Wiki would be a plus but not an essential requirement. The essential requirement is that when I edit the files in the filesystem I see the changes in the Wiki (i.e. I don't want to have an independent copy in the Wiki).

I cannot find in the documentation how to do that, do you have any hint?

TIA,

Michele Simionato

site outage --SimonMichael, Tue, 13 Apr 2004 09:32:40 -0700 reply
Site has been down twice due to zope filling hard memory quota. We may have a few more of these, please bear with me while I work out a good setup for this new server.

Viewing Text Files --SimonMichael, Tue, 13 Apr 2004 09:44:57 -0700 reply
Hi.. noone has done that as far as I know. One possibility is to use ZopeWiki:DirectoryStorage or ZopeWiki:APE .

Viewing Text Files --Bob McElrath?, Tue, 13 Apr 2004 09:59:56 -0700 reply
SimonMichael [zwiki-wiki@zwiki.org]? wrote:

Hi.. noone has done that as far as I know. One possibility is to use ZopeWiki:DirectoryStorage or ZopeWiki:APE .

Or LocalFS, which is used anyway by LatexWiki. APE is very difficult to set up.

There is also FileSystemSite?, but in that case it does some caching and does not reflect changes in the filesystem immediately.

-- Cheers, Bob McElrath? [Univ. of California at Davis, Department of Physics]?

Stop the spread of the dangerous chemical Dihydrogen Monoxide! http://www.dhmo.org

structure and size of a zwiki -- Wed, 14 Apr 2004 01:27:01 -0700 reply
Hi all, first of all thank you for all the effort you guys put in here. Maybe you could hint me once again in the right direction:

I am going to create / maintain a larger zwiki and have some questions or need advise:

Hoops, this got long. Anyway, any help is welcomed!

Best,

Oliver

structure and size of a zwiki --DeanG, Wed, 14 Apr 2004 08:51:39 -0700 reply

Structure

They're all in the same directory.

[] syntax.

If your starting from scratch, I recommend setting and getting used to [[]] notation as to keep from having to esacape your single blockquotes.

history

There is no built-in way to retain history. Consider history a short-term Undo feature, or footprints in the dunes. :-) For deleted files, they get chucked to a recycle_bin folder viewable from a (copy-n-paste) RecycleBin? folder

Export, flat text

Zope's Export? See also: ZwikiPrinting

structure and size of a zwiki --Simon Michael, Wed, 14 Apr 2004 13:26:17 -0700 reply
More answers..

- How do I get structure into the wiki - the parent-page concept is well known to me and I like it. Do all pages reside in the same directory in the zopedb or do you recommend sub-foldering.

a single wiki is all in one folder. You can also nest wiki folders, which activates a little extra SubWiki functionality, but it isn't really useful at present.

- What is with the enforced page linking / creation using the [] synthax. Does this turn out to be a maintainace nightmare?

No, why would it ? You have choice of which link syntax you allow (see the three properties on QuickReference).

- What is with the page-edit histories. Is where a way compressing the zopedb AND retaining changes? eg. just removing the deleted pages?

Not really.. if you pack the zodb, you'll lose zwiki edit history. Two options to consider: keep your wiki in a separate mounted zodb which you never pack (allows you to pack the main zodb); or try ZopeWiki:DirectoryStorage, which I believe stores revisions as files which you can archive as you wish.

- how do I export / import parts of the zwiki to another zwiki and

Usually, use the ZMI; select pages, copy/cut, paste to the new wiki folder.

- how do I export the complete zwiki to flat text files?

The best way right now is probably to use something like wget to spider your wiki, visiting either the rendered pages to get html (possibly with the ?bare=1 parameter to turn off the skin) or the PAGE/src urls to get source text. We need a good import and export script to open up more possibilities here.

structure and size of a zwiki --simon, Wed, 14 Apr 2004 13:29:25 -0700 reply
In other words, page hierarchy doesn't require subfolders, you just use zwiki's reparent controls (in the backlinks form or the page management form).

How to hide that users are looking at a wiki? -- Wed, 14 Apr 2004 14:07:59 -0700 reply
Hi,

I'm interested in setting up a wiki that non-editors don't realize is a wiki (i.e. no wiki tools links) but authenticated editors can edit as normal. To do this I've done the following:

(I'm keeping the comments functionality for all.)

Is this the correct approach?

Dave.

How to hide that users are looking at a wiki? --Simon Michael, Wed, 14 Apr 2004 15:01:47 -0700 reply
Hi Dave.. yes, exactly so. To allow editors to log in you can provide a login link or form, or ensure the edit link is always displayed, or tell them to use alt-e when they want to edit from the logged-out state.

structure and size of a zwiki -- Thu, 15 Apr 2004 02:38:42 -0700 reply
to get it straight: if we have several topics which we want to be organized separate (maybe changing plattform for one of the fields later) we should go with separate zwikis (aka sub-wikis). So we do not have to sift the different topics later by hand.

Thx for your answers!

One other thing: is it possible to create different templates for different kinds of (specialized) documents? Eg. a template for reports and a template for requirements? They should be chosen at the creation time of the page.

structure and size of a zwiki --Simon Michael, Fri, 16 Apr 2004 08:49:20 -0700 reply

if we have several topics which we want to be organized separate (maybe changing plattform for one of the fields later) we should go with separate zwikis (aka sub-wikis). So we do not have to sift the different topics later by hand.

Maybe so, if the wikis really are distinct. But there is also simplicity and synergy in a large shared wiki, so I wouldn't over-fragment things either.

One other thing: is it possible to create different templates for different kinds of (specialized) documents? Eg. a template for reports and a template for requirements? They should be chosen at the creation time of the page.

There's no built-in way to do this, but it should not be too hard. I would try: 1. prepare templates as wiki pages named ...Template and tell people "copy this template"; 2. link to all of these in the editform template; 3. find some way for these links to reload the edit form with the template's source pre-loaded. Perhaps:

  <form action="&dtml-pageUrl;/editform">
  <input type="hidden" name="text" value="<dtml-var 
"pageWithName('SomeTempate').text()">
  <input type="submit" value="Use SomeTemplate">
  </form>

Re: [IssueNo0547? mail (with long subject ?) may go to wrong page (test with long long long long long long subject)] property change --Simon Michael, Sat, 17 Apr 2004 02:43:59 -0700 reply
test reply.. did I fix it ?

page rating -- Sun, 18 Apr 2004 11:21:03 -0700 reply
I've checked in a simple implementation of #309 page rating. Please give it a workout, feedback welcome.

re: Is the HTML page creation bug really fixed in 0.30dev??? --simon, Tue, 20 Apr 2004 12:42:17 -0700 reply
Yes I'm pretty sure it is. You can see the change here, but you probably need to pull the whole patch. But a darcs pull should have done it.

re: Is the HTML page creation bug really fixed in 0.30dev??? --DeanG, Tue, 20 Apr 2004 12:46:47 -0700 reply
STX munged the first link by converting the splats to em tags.

How to restrict the page type to HTML only --simon, Tue, 20 Apr 2004 12:52:56 -0700 reply
Added to ZwikiAndEpoz?.

re: Is the HTML page creation bug really fixed in 0.30dev??? --simon, Tue, 20 Apr 2004 12:55:35 -0700 reply
Darn - even inside a SGML tag. I haven't seen that happen for a long time. Those regexps are pretty smart, but not enough for this..

re: Is the HTML page creation bug really fixed in 0.30dev??? --n8, Tue, 20 Apr 2004 13:20:42 -0700 reply
thanks for looking into this, it makes a big difference for a couple of projects I have been working on. The link to show me the change in darcs above is broken. I am not really following this latest discussion, are you agreeing that the HTML page creation problem still exists. If so, please confirm as it will help my sanity. -n8

re: Is the HTML page creation bug really fixed in 0.30dev??? --simon, Tue, 20 Apr 2004 13:25:39 -0700 reply
No, I think it no longer exists in the repository code (checked in april 10). darcs pull should download it. Follow the second link above, then click on skins/standard/editform.pt, and look for the red/green highlighted changes. You can compare what you have with this to see if you really have the latest.

re: Is the HTML page creation bug really fixed in 0.30dev??? --simon, Tue, 20 Apr 2004 13:27:16 -0700 reply
Correction: actually the darcs cgi script shows it under ./skinsdefault.

0.30rc1 is baked, come and get it --Simon Michael, Sun, 25 Apr 2004 19:41:56 -0700 reply
http://zwiki.org/releases/ZWiki-0.30.0rc1.tgz

Summary: Page rating, fix epoz support, bugfixes, code cleanups, i18n work, a french translation.

I'm giving the direct link here because there is a weird slowdown with viewing zwiki.org pages (only) right now. Intermittent. Being in minimal mode may help.

Best, -Simon

0.30rc2 --Simon Michael, Mon, 26 Apr 2004 14:46:46 -0700 reply
I forgot to update the front page link.

site downtime --simon, Thu, 29 Apr 2004 07:53:25 -0700 reply
A weird apache-related site outage this morning.