JosYule, 2001/11/01 12:47:26.195 US/Pacific (via web):

Whew!, ok, more crazy code! This is if you want to be able to define, by the name of the page, which pages use the append_with_heading style. Are you sitting comfortably? Then we will begin...

First, you are going to need a python_method object. I named mine checkName. In the parameter list add the following pageName, subString. Ok, thats pageName - comma - subSting. In the code section, add the following

return string.find(pageName, subString)
ok, now, in the standard_wiki_footer doc there should be the beginings of a dynamic if-then statement. Should look like this:
 < FORM METHOD="POST" 
 < dtml-comment>
 use a custom append method for this page
 < dtml-if "id() == 'ZWikiDiscussion'">
 ACTION="&dtml-page_url;/append_with_heading" 
 < dtml-else>
 ACTION="&dtml-page_url;/append" 
 < /dtml-if>
 < /dtml-comment>
 ACTION="&dtml-page_url;/append" 
 ENCTYPE="multipart/form-data">

What you want to replace that with is:

 < FORM METHOD="POST" 
 < dtml-if "checkName(id(), 'Discussion') >= 0">
 ACTION="&dtml-page_url;/append_with_heading" 
 < dtml-else>
 ACTION="&dtml-page_url;/append" 
 < /dtml-if>
 ENCTYPE="multipart/form-data">

NOTE i've had to add spaces after the left < tag to make this display with out zope rendering the DTML.

Just replace Discussion in the checkName function with whatever you want. Any wiki page with that string in it will use the append_with_heading function, rather then the plain append. JY

ps. there are issue with posting code that contains DTML... never noticed that before! Can we make this page a non-DTML rendering page? or will that mess everything up? would help for posting of code (i think!).

GeoffGardiner, 2001/11/02 14:06:52.3824 US/Pacific (via web):
There have been some interesting snippets on this page about the topic of WikiAcquisition, but I still can't quite work out how to make this happen. Ok, found the important bit, now, in one of Jerry's posts above. WikiAcquisition page.

JosYule, 2001/11/04 17:24:44.5612 US/Pacific (via web):
Just del'd some junk mail.

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 07:53:34 -0800 (via mail):
I am fiddling with textDiff() to try and make it briefer and more readable, so that all the edits needed around here will not fill our inboxes with too much gibberish.

Someone translated HelpPage to french. Hey, beats having it trashed by "WHaT? IS ThIS? ??" or "you still sux0r, haha!" :)

SimonMichael, 2001/11/10 08:35:02.21035 US/Pacific (via web):
updated the WikiMail documentation

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 08:43:59 -0800 (via mail):
removed the "comment" or "edit" suffix from mail-out subjects so as not to interfere with threading.

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 09:26:00 -0800 (via mail):
I'd like to solicit thoughts and opinions on two things:

First, using ZWikiDiscussion? vs using all pages ?

Not many of you are subscribed to the whole wiki but it's kind of cool. You see everything. Say Geoff posts an interesting comment to WikiAcquisition. Now, I can just send an email reply back and it gets archived on WikiAcquisition. Or, I can change the subject so that my reply goes back to the generic ZWikiDiscussion? page, which is where most of us are subscribed. When is it best to do one vs. the other ?

It's good to have one central place where people can follow all discussion. I'm thinking that place should be "the whole wiki" rather than a single page. You do want a default page to catch general thread-mode discussion, which is how I see ZWikiDiscussion?'s role.

Second: simple wiki-based means (eg ZwikiProblems) vs a more structured bug tracking system (eg sourceforge) for reporting, managing and reviewing zwiki problems ?

Thanks for any ideas, feedback, etc. Just to liven things up I'm cc'ing the zope list. Reply where you will. :)

-Simon

rossini@blindglobe.net (A.J. Rossini), 10 Nov 2001 09:50:14 -0800 (via mail):

>>>>> "z" == zwiki <zwiki@zwiki.org> writes:

z> Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 09:26:00 z> -0800 (via mail):

z> I'd like to solicit thoughts and opinions on two things:

z> First, using ZWikiDiscussion? vs using all pages ?

z> Not many of you are subscribed to the whole wiki but it's kind z> of cool. You see everything. Say Geoff posts an interesting

It's REALLY cool. I've not had time to play, but I really like this feature... (and mail-sorting prevents the subscription from being annoying, but that's another matter).

z> comment to WikiAcquisition. Now, I can just send an email reply z> back and it gets archived on WikiAcquisition. Or, I can change z> the subject so that my reply goes back to the generic z> ZWikiDiscussion? page, which is where most of us are z> subscribed. When is it best to do one vs. the other ?

I'm thinking that it might be good to have stuff go on multiple pages? I.e. some means of using the subject to direct things appropriately, or an "X-headers-wikipage: " mail header (but this gets annoying really quickly for people using not-so-smart mail systems).

One concern that I've got on this is spam. Obviously.

z> It's good to have one central place where people can follow all z> discussion. I'm thinking that place should be "the whole wiki" z> rather than a single page. You do want a default page to catch z> general thread-mode discussion, which is how I see z> ZWikiDiscussion?'s role.

Right.

z> Second: simple wiki-based means (eg ZwikiProblems) vs a more z> structured bug tracking system (eg sourceforge) for reporting, z> managing and reviewing zwiki problems ?

I like it...

z> Thanks for any ideas, feedback, etc. Just to liven things up z> I'm cc'ing the zope list. Reply where you will. :)

Let me describe what I want to do with it.

Problems/Issues:

  1. I'm currently badgered by computing questions in the dept where I work.
  2. I've got a poor short term memory.

My solution to both of these is to use zwiki as a brain-dump, which has worked great.

The next part I'd like is when responding to people, if I want to save the response cause it was reasonably written, to stuff it into the wiki.

While I can always refactor the wiki, I'd much rather send things "where they might belong".

best, -tony

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 10:24:35 -0800 (via mail):
rossini@blindglobe.net (A.J. Rossini), 10 Nov 2001 09:50:14 -0800 (via mail):
> I'm thinking that it might be good to have stuff go on multiple
> pages?

I've wanted that a few times.. then I think about a load of duplicate content adding to the maintenance nightmare.. It could be done by tweaking the procmail rule.


> I.e. some means of using the subject to direct things

That works now.. it picks out the first wikiname from the subject (essentially - see zwiki_mailin.py for other details). Not sure if this was clear already.


> z> Second: simple wiki-based means (eg ZwikiProblems) vs a more
> z> structured bug tracking system (eg sourceforge) for reporting,
> managing and reviewing zwiki problems ?
>
> I like it...

Er, which ? :) In the short term, for handling zwiki issues, I'm pulling in both directions.

I suppose the answer is Both and Either and preferably None At All.


> The next part I'd like is when responding to people, if I want to
> save the response cause it was reasonably written, to stuff it into
> the wiki.
>
> While I can always refactor the wiki, I'd much rather send things
> "where they might belong".

Exactly. So you fire it off to the wiki with a suitable page named in the subject. In a situation like this you might also want it to create the page if needed, right ?

rossini@blindglobe.net (A.J. Rossini), 10 Nov 2001 11:40:52 -0800 (via mail):

>>>>> "z" == zwiki <zwiki@zwiki.org> writes:

z> Second: simple wiki-based means (eg ZwikiProblems) vs a more z> structured bug tracking system (eg sourceforge) for reporting, z> managing and reviewing zwiki problems ?

>> I like it...

z> Er, which ? :) In the short term, for handling zwiki issues, z> I'm pulling in both directions.

I like the first, I meant!

z> I suppose the answer is Both and Either and preferably None At z> All.

None at all. Perfect code the first time is preferred, especially when it satisfies everyone with competing needs :-).

>> The next part I'd like is when responding to people, if I want >> to save the response cause it was reasonably written, to stuff >> it into the wiki. >> >> While I can always refactor the wiki, I'd much rather send >> things "where they might belong".

z> Exactly. So you fire it off to the wiki with a suitable page z> named in the subject. In a situation like this you might also z> want it to create the page if needed, right ?

Yes! While I can always write an Emacs macro to do this for me, out of message-mode, every once in a blue moon I use something other than Emacs for my computing needs...

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 12:30:39 -0800 (via mail):

> Thanks for your help. The only thing I have to do left is to add a
> property in the WikiPage? to choose an XSLT stylesheet. So my
> questions are:
>
> - How do I put a property (with default value) that the user can
> modify ("xsl_stylesheet") ?
> - How do I access this property from ZWikiPage ?

Hi Sebastien - I'm not sure but check out StyleSheet?, does that help ?

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 13:10:36 -0800 (via mail):

> simon: if you don't have qmail + mailman installed ... i can give
> you all needed access rights to my systems so we can test this idea
> quickly on a test zwiki (maybe a mirror of zwiki.org)

Holger, thanks for the kind offer and your notes re mailman integration.

I won't get anything done quickly with it just now, since we aren't hitting scaling problems yet, but I think it will definitely be a good way to go.

--Simon

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 13:15:09 -0800 (via mail):
Meant to cc this to the wiki - I want to see what happens with the quoted dtml.

Simon Michael <simon@joyful.com> writes:
> "David Kyte" <david.kyte@microamps.com> writes:
> > I want to add a ZWiki page via dtml.
>>
>> I tried using:
>>
>> < dtml-call "manage_addZWikiPage( id='Fred', title='Fred')">
>
> Hi David,
>
> not sure if I responded to this.. but it needs something between " and
> manage, I forget what. You could also use either of ZWikiPage's edit
> or create methods, eg::
></i>
> < dtml-call "create('Fred')">

Simon Michael <simon@joyful.com>, Sat, 10 Nov 2001 14:20:53 -0800 (via mail):

> Meant to cc this to the wiki - I want to see what happens
> with the quoted dtml.

Oh, not good. As you'd expect it executes when you view ZWikiDiscussion? and breaks the page in this case. We probably want to neutralize mailed-in dtml.

If this line can be read, no login is necessary... marvelous

SimonMichael, 2001/11/11 16:42:10.5831 US/Pacific (via web):
test

JosYule, 2001/11/12 07:51:15.031 US/Pacific (via web):
With respect to bug tracking, i've been using Site Tracker (http://www.zope.org/Members/peterbe/SiteTrackerProduct). Works in Zope. Free. I like it.

Simon Michael <simon@joyful.com>, Mon, 12 Nov 2001 08:35:24 -0800 (via mail):
Hey, I like it too. Much as I like I like the simplicity and consistency of something based on wiki pages, I'm tempted to put this up in place of the *Problems pages. It might help us handle more issues more efficiently. Comments ?

Things that would need to happen first - 1. get zope 2.4 working on my system 2. finish basic zwiki + 2.4 sanity testing 3. get codeit to upgrade the site to 2.4

JosYule, 2001/11/12 11:10:14.8538 US/Pacific (via web):
wrt site tracker/zwiki - i think it would be a great tool for tracking a lot of the issues that come up - and its easy to get the data that is in them out and onto zwiki pages once the problems have been fixed/solved etc.

I've got 2.4.x working currently, with zwiki 0-9-6. With the underlining patch in place, pretty much everything is good... except cookies and the macs... that's the next issue i've got to look at.

Oh ya, how did you get the diff on the RecentChanges? page to work? i don't get that on my Zwiki... same with the table code (i saw it in the SandBox)...

"Jos Yule" <jos@trapeze.com>, Tue, 13 Nov 2001 10:05:13 -0500 (via mail):
Thank you for that fix! i'd been looking to find where that extra italic tag was coming from!


> -----Original Message-----
> From: BillSeitz
>
> -
> can check it out here is the URL:<;/i>
> -
> .

> > can check it out here is the URL:
> > http://spierre.lautre.net/projects/simtex/simtex.htm.
>

simon, 2001/11/13 12:42:33.8568 US/Pacific (via web):
Jos it's supported in your zwiki (try /diff or /textDiff); just not part of your RecentChanges? by default. Thanks for the feedback on 2.4, sounds good.

simon, 2001/11/13 12:48:06.22488 US/Pacific (via web):
er.. let's see what that little move sent out.

The diffs in mail-outs will be abbreviated to some smallish number of lines, especially for deletions, but I need a better diff first.

simon, 2001/11/13 13:17:46.6218 US/Pacific (via web):
tied the email address in subscribeform into UserOptions?

simon, 2001/11/13 13:30:51.8048 US/Pacific (via web):
tweaked the subscribe form's layout

GeoffGardiner, 2001/11/14 13:26:05.47046 US/Pacific (via web):
Perhaps it's just my setup, but I've just realized that zwiki 0.9.6 on 2.4.3 (and perhaps 2.4.2) generates extra html and body elements around the saved edited textarea text (i.e. within the boundaries of standard_wiki_header and _footer) in standard zwiki pages. I haven't altered the basic zwiki code this time. I guess I'll ignore it for the moment because both IE and NS cope, which is why I hadn't noticed before.

COTTER Eric F <Eric.F.Cotter@co.multnomah.or.us>, Wed, 14 Nov 2001 13:32:03 -0800 (via mail):
Has anyone ever used the Zwiki as a file repository. Transaltion what I'm trying to do use the Zwiki to capture some business analysis work....share the information with team members...then use something like an XSLT transformation of the Zwiki content.

Understood the the Zwiki is not native XML but I think I can create some function that will extract the relevant sections into XML and then use XSLT to create the destination format (PDF,WORD,EXCEL,UML? Hehehehe)

You get what I'm saying I hope. I know for a fact the Wiki.NET is trying to create an XML based Wiki client. Which is absolutely killer!

But where not there yet.

Any ideas? Can I do any of this in DTML?

Eric

-----Original Message----- From: zwiki@zwiki.org Sent: None To: fluxent@yahoo.com; wikiwiki@usd1.com; kylejunk@iname.com; jos@trapeze.com; fredflint@usa.com; COTTER Eric F; simon@joyful.com; rossini@u.washington.edu; flynt@gmx.ch Subject: ZWikiDiscussion?

--- forwarded from http://zwiki.org/ZWikiDiscussion

EdwardKreis, 2001/11/16 06:35:43.8757 US/Pacific (via web):
JosYule wrote: >Oh ya, how did you get the ... the table code (i saw it in the SandBox)...

Try other approach (see in EditForm?):

Very

Simple

Table

Example

This works on my 2.4.2

<b>62.85.14.2, 2001/11/16 06:37:54.7452 US/Pacific (via web):
Even nested tables can be built in this fashion...

|| This || doesn't || || on my || 2.4.3 / O.9.6 || || Hmmm || suppose I'd better || || try to || see why || || --GG ||

Simon Michael <simon@joyful.com>, Fri, 16 Nov 2001 19:22:05 -0800 (via mail):
hey all.. for those who are wondering, this server is running zope 2.3.0, therefore structured text classic, therefore the

|| old || undocumented || table style ||

is used. I will upgrade to 2.4+stxng+new table syntax as soon as Codeit approve it.

SimonMichael, 2001/11/16 20:28:48.7761 US/Pacific (via web):
trying some header & footer tweaks, added a checkbox for comment heading, checked on *Discussion pages by default

is this worthwhile ?

Simon Michael <simon@joyful.com>, Fri, 16 Nov 2001 20:51:49 -0800 (via mail):
zwiki@zwiki.org (GeoffGardiner) writes:
> Perhaps it's just my setup, but I've just realized that zwiki 0.9.6
> on 2.4.3 (and perhaps 2.4.2) generates extra html and body elements

I see it too, with 2.4.

SimonMichael, 2001/11/16 20:54:49.7886 US/Pacific (via web):
Did a 30-day pack.

SimonMichael, 2001/11/16 21:38:58.6763 US/Pacific (via web):
don't display ip addresses for last editor


SimonMichael, 2001/11/16 22:08:18.4243 US/Pacific (via web):
I think a horizontal rule is overkill for comment separator.. let's try


SimonMichael, 2001/11/16 22:08:34.3628 US/Pacific (via web):
hmmm


SimonMichael, 2001/11/16 22:09:39.0851 US/Pacific (via web):
ok stop fiddling around go do laundry


simon, 2001/11/17 15:54:03.76843 US/Pacific (via web):
seeing no mail-outs today, I realized that I had hidden the mail host by creating a ZopeMailHost wiki page. Watch out for that one. What's a good solution for this ?

*Not sure if you already got an answer or fix for this, but one thing you could do is prepend a consistent character in front of all ZWiki-created pages, just as a C compiler often will prepend an underscore to all symbols to distinguish symbols it created versus symbols the linker or startup library uses. Samuel A. Falvo II*


simon, 2001/11/17 15:55:42.8805 US/Pacific (via web):
Learned more about ndiff/difflib and tweaked it to work better.

And there was much rejoicing!


simon, 2001/11/17 16:01:44.3581 US/Pacific (via web):
fix heading in mail-outs


simon, 2001/11/17 16:05:25.1226 US/Pacific (via web):
in fact we're better off without it


Simon Michael <simon@joyful.com>, Mon, 19 Nov 2001 15:43:43 -0800 (via mail):
some wiki cleanups, reparenting, etc. The page hierarchy has had six major branches for a while, namely: FrontPage, PeopleIndex, SandBox, WikiTopics, ZWiki, ZoPe. I have moved these up to the top level. ZWiki and ZopeRoadmap? have been updated.

Also, I have been hacking on unit tests & zcatalog support again. It's been the usual infernal maze of twisty code pathways. I think I'm slowly getting more on top of this subject.

It's always been possible to catalog zwiki pages manually of course; when I say "zcatalog support", I'm talking about automatic cataloging, ie pages keep their catalog information up to date no matter what you do with them. This has been installed here and is all working as far as I know - please let me know if you see any problems. Currently it expects the DTMLDocumentExt? product to be present - thanks to Casey Duncan (?) for this little gem.

I have spent some time this morning experimenting with catalog-based recentchanges and searchpage once again, but unfortunately have found not much in the way of easy gains yet. RecentChangesZC? is the latest attempt to speed that up. It seems that the catalog lookup is very fast but each dtml-var I add to the display loop adds a noticeable slowdown to page preparation time, surprising as they were all catalog metadata fields. As for jumpsearch/searchpage, wildcard matching is a must. So as before, this stuff is more powerful but also more complicated to implement.

Other random trivia - did you know that in the zope help accessible from the ZMI, a search on catalog will bring up some excellent developer info on apis & such, and that 2.4 seems to give more than 2.3 ? Zope documentation is definitely getting places.


simon, 2001/11/19 17:17:07.84221 US/Pacific (via web):
First zcatalog issue - I got a zope "name error: i" when editing a couple of pages. To fix it, visit PAGE/unindex_object once. Please also post a comment here if you are running into it.


simon, 2001/11/19 17:18:43.0495 US/Pacific (via web):;
Just to liven up that DTML extravaganza that is UserOptions? - made the site logo optional and added a couple of presets.


hap, 2001/11/20 08:51:57.8716 US/Pacific (via web):
Am I the only one who has problems append_with_heading under zope-2.4.3? If I try use it my browser basically times out. In the end just the heading is shown on the page, and the source looks like this:

< b>admin, 2001/11/20 17:42:21.9073 GMT+1 (via web):< /b> < br> < method HTTPRequest.text of HTTPRequest instance at 0x8b52adc>

Any clue where to look for a solution is appreciated! Best, ...hap


JosYule, 2001/11/20 09:21:40.4899 US/Pacific (via web):
if you look in the archives ( ZWikiDiscussion200110 ) i have an explanation of how to fix this, and some other problems with zope 2.4.x/zwiki 0-9-6. JosYule


Simon Michael <simon@joyful.com>, Tue, 20 Nov 2001 10:49:35 -0800 (via mail):
Aha, I see Jos's explanation now. It looks as if REQUEST in newer zope's has a new text() method which is getting in the way of our append form's "text" field. Hence the REQUEST['text'] workaround.

For next release I guess I'll change the field name in the form and in append_with_heading.

As for the hanging some people are seeing, if anyone can shed extra light on the cause I'm pretty sure there'll be something we can do to work around it. Does it happen only with opera ?

Other zope 2.4.x issues that I'm aware of - I think these have been recorded in the problems pages, we might want a new category soon:

A two-line workaround is to change ZWikiPage.py to import and call ClassicStructuredText? instead of StructuredText.


Simon Michael <simon@joyful.com>, Tue, 20 Nov 2001 11:14:36 -0800 (via mail):
put in a temporary try: except: to work around the intermittent "nameerror: i" cataloging problem.


1Jerry, 2001/11/20 11:45:47.1824 US/Pacific (via web):
OK, I finally see the first for append_with_heading. I could not find it before because it was apend_with_heading, and my stupid find command wasn't showing it. ;)

I also removed the ZopeTime display of thousands of an hour in append_with_heading by replacing ZopeTime() with

ZopeTime().strftime(%Y/%m/%d %H:%M %Z)
- I see Simon just did similarly here.

Could you put (or is there) access to your most recent standard_wiki.. and other stuff we don't normally see somewhere we can see/copy it?


4.35.153.115, 2001/11/20 14:18:05.59948 US/Pacific (via web):
Hi Jerry - all the latest stuff on this site should be accessible by appending view_source. standard_wiki_header/view_source , standard_wiki_footer/view_source , append_with_heading/view_source , etc. Let me know if it isn't working.

Works great. Now I remember. My brain gets full.
I see fractional seconds is back on!? I think it looks better without micro-seconds. --1Jerry


simon, 2001/11/20 15:34:10.1677 US/Pacific (via web):
Know the feeling. I didn't (intentionally) turn off fractional seconds yet, but I will later. Should probably massage this timestamp into a standard form whether it comes from append_with_heading or from an incoming mail message.


204.244.10.154, 2001/11/21 22:09:03.50343 US/Pacific (via web):
Hello. I've been using ZWiki now for almost five months now, and am starting to need to make some minor modifications to it. I've got a couple of questions that I've described on a page I created - dslik. My main question is what is the best way to get started editing the ZWiki source files?


GeoffGardiner, 2001/11/22 00:52:15.8244 US/Pacific (via web):
Some attempts at answers now on your page. --GG


4.35.153.115, 2001/11/23 10:39:34.1012 US/Pacific (via web):
Added a couple of responses over on dslik


4.35.153.115, 2001/11/23 14:22:22.085 US/Pacific (via web):
about to install new 2.4 compatible code here.. there may be a few hiccups while I fix 2.3 compatibility breakages on this site.


2001/11/23 14:33:57.4589 US/Pacific (via web):
test ip address hiding in web comment heading


2001/11/23 14:49 US/Pacific (via web):
installed Jerry's timestamp fix for web comment headings


2001/11/23 16:21 US/Pacific (via web):
ChangeLog?, ZWikiWebs? updated


Simon Michael <simon@joyful.com>, 2001/11/23 19:17 US/Pacific (via mail):

Aha, found the bug that was preventing my zope.org news announcements from being cataloged.

This shall be the.. "Peaceful Mountain" release. Please enjoy in good health. All bug reports and assistance appreciated.

-Simon

  1. 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


Simon Michael <simon@joyful.com>, 2001/11/23 21:01 US/Pacific (via mail):
Fixes in [zwikidir/releases/ZWiki-0.9.7.1.tgz]? -


GeoffGardiner, 2001/11/24 01:54 US/Pacific (via web):
Great changes, thank you Simon, but something slightly odd about those edits and diffs now. First - on my page I'm seeing two edits per press of Change Page. Then the diff for full history is the old version while the next / prev is the (very useful) new version.


Simon Michael <simon@joyful.com>, 2001/11/26 09:10 US/Pacific (via mail):
Despite a careful check, I left out a file. Thanks for the bug reports.

-Simon

  1. 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)

  2. 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

download: http://zope.org/Members/simon/ZWiki , http://zwiki.org/releases


Simon Michael <simon@joyful.com>, 2001/11/26 09:37 US/Pacific (via mail):
ack last editor is really confused. The last edit to ZWikiDiscussion? was a mail-in by me at 09:10; at the top of the page it says "last edited by GeoffGardiner on Nov 26, 2001 9:10 am"; while RecentChangesZC? says "GeoffGardiner......2001/11/25 05:03:53.0983 US/Pacific".


(TonyRossini, by WWW): Is anyone having problems viewing the "editform" method from ZWiki 0.9.x.x on Netscape 4.7x ? I'm able to get it to work on IE, Konqueror, and Mozilla (0.9.6), but not on the older Netscapes? (this might be entirely a local configuration thing, so I'm really just looking for a "yes it works on something else". It does work on ZWiki.org, so maybe it IS a local thing....

It was a local thing; I'd added my standard_html_header/footer to standard_zwiki_header/footer, BUT editform (and the other stock method, name escapes me now) were not finishing off with standard_zwiki_footer. Appropriate change made...


2001/11/26 18:09 US/Pacific (via web):
the ZwikiIssueTracker is coming alive.. I've filed in a few recent ZwikiProblems as test data


Simon Michael <simon@joyful.com>, 2001/11/26 21:05 US/Pacific (via mail):
30-day pack (95->91Mb). Hmmm.


hap kolb, 2001/11/27 03:05 US/Pacific (via web):
I'd like to clone the new issue tracker (btw, very nice indeed, Simon!) on my intranet zwiki, but I don't seem to be able to access (and copy...) the source of IssuePrototype?. Neither view_source nor document_src seem to work. Best, ...hap


Simon Michael <simon@joyful.com>, 2001/11/27 11:11 US/Pacific (via mail):
Codeit was down this morning, so wikimail dropped it:

Simon Michael <simon@joyful.com> writes:
> glad you like it!
>
> I think the source you are not seeing is for the property-editing
> form. This is prepended by the render_issuedtml method, which is
> currently in [zwikidir/ZWikiPage.py]?.
>
> Other than that, IssuePrototype? also had the extra properties set up
> by hand in the ZMI - category, severity, status. Not sure if this step
> was needed actually.


SimonMichael, 2001/11/27 18:52 US/Pacific (via web):
ZwikiIssueTracker enhancements. ZCatalog is kicking butt.


1Jerry, 2001/11/28 14:26 US/Pacific (via web):


simon, 2001/11/28 15:17 US/Pacific (via web):
AdminHowtos


Simon Michael <simon@joyful.com>, 2001/11/28 15:45 US/Pacific (via mail):
Jason Byron <Jasonb@ppsc.com> writes:
> is there another way I should send these changes to you? use patch? go to a
> web site?

Hi Jason - thanks for these, and for this question - yes, it can be better to

these will get it in front of more eyeballs, especially the latter.

As you may already know: you can either comment directly on the web page or send mail to zwiki@zwiki.org, optionally with a page name in the subject; and you can receive comments via mail if you want. Let's continue this on ZWikiDiscussion?, if you're willing -

I'd like to understand the problem with the index_objects you're commenting out. Are you by chance running without the DTMLDocumentExt? product installed ?

Best regards -Simon


Simon Michael <simon@joyful.com>, 2001/11/28 15:53 US/Pacific (via mail):
moved from ZWiki:
> After installing ZWiki 0.9.7.2 (in Zope/lib/python/Products/ZWiki) on
> Zope 2.4.3 on Linux 7.0, I get the following Zope error when I try to
> add a ZWiki Web:
>
> Zope has encountered an error while publishing this resource.
> Error Type: ValueError?
> Error Value: list.remove(x): x not in list
>
> Sound familiar to anyone?

and:
> I'm assuming that you mean either RedHat? 7.0 or similar, not Linux
> 7.0!
>
> I saw this as well; the quick solution was to comment out the
> offending line in ZWikiWeb?.py, i.e.: ...
> list = os.listdir(package_home(globals()) + os.sep + wikis)
> #list.remove(DEFAULTS) ...
> I'm not sure what the real solution is, but that worked for what I
> needed it for...

Yes, cf [[[#43 add zwiki web form complains "list.remove(x): x not in list"] add zwiki web form complains "list.remove(x): x not in list"] add zwiki web form complains "list.remove(x): x not in list"]. It seems I missed another file. You need to comment out the line or create an empty ZWiki/wikis/DEFAULTS directory.


Jason Byron <Jasonb@ppsc.com>, 2001/11/28 15:53 US/Pacific (via mail):

> Hi Jason - thanks for these, and for this question - yes, it can be
> better to ...

Thanks, I'll try and follow those routes next time


> I'd like to understand the problem with the index_objects you're
> commenting out. Are you by chance running without the DTMLDocumentExt?
> product installed ?

ahh, I didn't realize that was required. Yes I don't have that product installed. That's probably it.


simon, 2001/11/28 16:03 US/Pacific (via web):
Me neither - thanks for the report, which I've added to the tracker.


simon, 2001/11/28 16:10 US/Pacific (via web):
PS - general clarification for all readers - I read and appreciate all private mail, it's just that most of the time (a) I am backlogged and (b) it would be of interest to other readers, so that's why I am promoting this ZWikiDiscussion? list and other public fora as the default.


hap kolb, 2001/11/29 01:33 US/Pacific (via web):
AdminHowtos is very helpful, indeed, but my basic problem remains: I can't get hold of (the source of) IssuePrototype?. Couldn't you put it somewhere in zwikidir? I'm a tiny bit reluctant to try to reverse-engineer it using the other parts of the puzzle plus an Issue-instance...
BTW, thanks a lot, Simon (and the other friendly zwiki-activists), for the prompt responses! I hope, I'll be able to return the favour someday...


hap kolb, 2001/11/29 04:56 US/Pacific (via web):
It took a while, but I got it, finally: IssuePrototype? is empty; the content is generated from the page's properties. So just ignore my previous note, please. And I can concentrate on the key-errors I get with AddIssue? (nonexistent object or variable submitted) and ZwikiIssueTracker (nonexistent object or variable sort_order)... Best, ...hap


2001/11/29 07:51 US/Pacific (via web):
I noticed a problem, which I was unable to add in the IssueTracker. If someone attempts to editform() a document that is locked under Zope version control, no error message is given. It just continues normally and reloads the page without the changes.


Simon Michael <simon@joyful.com>, 2001/11/29 10:47 US/Pacific (via mail):
oh lovely.. spam mail..


Simon Michael <simon@joyful.com>, 2001/11/29 10:47 US/Pacific (via mail):

> I noticed a problem, which I was unable to add in the IssueTracker. If

why were you unable to add it ?

(PS my "spam mail" comment referred to some junk mail that was sent to this page earlier)


2001/11/29 12:51 US/Pacific (via web):
Currently, is there anything more to upgrading (from 0.9.6) than just reloading the new Zwiki into the appropriate place and restarting? Perhaps getting the source of UserOptions from here.


GeoffGardiner, 2001/11/29 12:53 US/Pacific (via web):
Strange - cookies had gone.


Simon Michael <simon@joyful.com>, 2001/11/29 13:07 US/Pacific (via mail):

> Currently, is there anything more to upgrading (from 0.9.6) than

Currently: make backups, install 0.9.7.2, apply workarounds for [[[#43 add zwiki web form complains "list.remove(x): x not in list"] add zwiki web form complains "list.remove(x): x not in list"] add zwiki web form complains "list.remove(x): x not in list"] & [[#54 zwiki complains about index_object all the time] zwiki complains about index_object all the time], restart.


Simon Michael <simon@joyful.com>, 2001/11/29 22:11 US/Pacific (via mail):
0.9.8 2001-11-29

download: http://zope.org/Members/simon/ZWiki, http://zwiki.org/releases


Simon Michael <simon@joyful.com>, 2001/11/29 22:39 US/Pacific (via mail):
oops, running into my quota. Did a 7-day pack (130->83Mb). It would be nice to preserve page edit histories somehow.


hap kolb, 2001/11/30 05:49 US/Pacific (via web):
ZwikiIssueTracker again. I'm stuck. I get key-errors both with AddIssue? ("submitted") and ZwikiIssueTracker ("sort_order"). Adding a "hasattr"-test shuts up the error in rendering AddIssue?, but consequently no new issue is created, i.e. REQUEST never seems to get a "submitted" attribute. This is on zope-2.4.3 and zwiki-0.9.7/8. Any hints? Thanks a lot! ...hap


simon, 2001/11/30 12:41 US/Pacific (via web):
Hi hap.. you shouldn't need to to add special tests. Post a traceback (indented after a double ::)


2001/11/30 13:48 US/Pacific (via web):
I noticed problems too, it seems I have problems with all of the getattr() calls that reference non-initialized data. I added dtml-if's and set the values if they were not set to AddIssue? and ZwikiIssueTracker to get those pages to load.

Onward to.. GeneralDiscussion200112