From jh at web.de Tue Apr 1 10:35:29 2003 From: jh at web.de (Juergen Hermann) Date: Tue Apr 1 10:35:29 2003 Subject: [Moin-user] CVS tarballs - Test Results In-Reply-To: <20030401023747.62062.qmail@web14306.mail.yahoo.com> Message-ID: On Mon, 31 Mar 2003 18:37:47 -0800 (PST), Roger Haase wrote: >1. The moin-1.1/install.html has the old version of the Windows >Installation Using Apache, not the current version in >moin-1.1/wiki/data/text. Only refreshed on release. >2. I think there is an extraneous/obsolete index.html in >moin-1.1/wiki/htdocs. This tries to load moin.cgi -- I don't think this >can work under any of the current installation scenarios. Quite possible. I guess we just delete it. >3. On all pages, the output footer html code has a tag sequence: > ... which seems to work ok in >the browsers I use but is invalid html. The form tags should enclose >the table. That is on purpose, since the valid HTML creates massive amounts of useless vertical whitespace. If you find a way to remove that via CSS working on all browsers, be my guest. Ciao, J?rgen From jh at web.de Tue Apr 1 14:34:54 2003 From: jh at web.de (Juergen Hermann) Date: Tue Apr 1 14:34:54 2003 Subject: [Moin-user] Content rejection Message-ID: Hi! Using the new save() permission hook, you can now reject any page changes by defining a matching security policy. Ciao, J?rgen From RWilcox at olenick.com Thu Apr 3 11:21:15 2003 From: RWilcox at olenick.com (Ryan Wilcox) Date: Thu Apr 3 11:21:15 2003 Subject: [Moin-user] Permissions - help with valid users Message-ID: I was previously using this code to prevent non-valid wiki users to edit pages. IOW, I want only people who are logged into (have an ID) the wiki having the ability to edit. Not knowing enough about python to correct this code with version 1.1 (well... CVS current rather), what would the changes look like to make this 1.1 compliant? Thanks for the help in advance. '' Python 2.2.2 Apache current Windows 2000 MoinMoin CVS current '' # permissions from MoinMoin.security import Permissions class SecurityPolicy(Permissions): edit = 1 # delete = 1 # def __init__(self, user): self.user = user self.edit = self.edit and user.valid From mitchell at cuip.net Fri Apr 4 11:33:12 2003 From: mitchell at cuip.net (Mitchell Marks) Date: Fri Apr 4 11:33:12 2003 Subject: [Moin-user] How to make pages uneditable? (by anyone) In-Reply-To: Message-ID: <5.2.0.9.2.20030404131059.0526ebd0@cuip.uchicago.edu> red hat 7.2 python 2.2.2 apache 1.3.27, runs as apache:apache moin moin 1.159 We have a very new MoinMoin Wiki (at http://cwd.uchicago.edu/wiki/), and I'm also quite new to handling such a system, so I hope you'll be tolerant of newbie questions. I want to lock down some pages so they can't be edited. It's not mischief, it's accident and misunderstanding. (Members of our test group have signed up at UserPreferences, then immediately press Edit to get started making pages -- and wipe out the UserPreferences form.) I came across a FAQ where the answer to "How do I make immutable pages?" was "Just set the permissions bits." That doesn't seem to be working for me. I remove write permissions, and for that matter change the ownership to either root or some other user; then go to the web and edit it in the Wiki. The ownership comes back to apache:apache and the write bits are on -- >[1:09pm] root at cwd:text 243# chown mitchell: TestImmutablePage >[1:22pm] root at cwd:text 244# chmod ugo-w TestImmutablePage >[1:22pm] root at cwd:text 245# ls -l TestImmutablePage >-r--r--r-- 1 mitchell mitchell 118 Apr 4 13:09 TestImmutablePage ((here I edited it on the web)) >[1:22pm] root at cwd:text 246# ls -l TestImmutablePage >-rw-rw-rw- 1 apache apache 129 Apr 4 13:23 TestImmutablePage The text directory has this ownership and permissions: >[1:23pm] root at cwd:text 247# ls -ld . >drwxrwxr-x 2 apache apache 4096 Apr 4 13:23 ./ If I made the directory unwritable, wouldn't that interfere with normal saving of all the other pages? Is there another place where pages can be kept, and participate in the WikiName linking, but the directory can be unwritable or belong to someone other than apache? Thanks much for what I hope will be your useful suggestions! -- Mitch Marks -- Mitchell Marks CUIP Tech Coordinator http://cuip.uchicago.edu CUIP: Chicago Public Schools / Univ. of Chicago Internet Project 5640 S Ellis Ave AAC-045, Univ of Chgo, Chgo IL 60637 Telephone: Ofc 773-702-6041 Fax 702-8212 Home (v.m. only, ok any time) 241-7166 Email: Primary address: mitch at cuip.uchicago.edu Alternate UofC addresses (use especially to report problems with cuip.uchicago.edu): mitchell at cs.uchicago.edu and mmar at midway.uchicago.edu Off-campus (ISP) address: mmarks at pobox.com If your life is a leaf that the seasons tear off and condemn they will bind you with love that is graceful and green as a stem (L. Cohen, "Sisters of mercy", 1967) From jh at web.de Fri Apr 4 21:12:04 2003 From: jh at web.de (Juergen Hermann) Date: Fri Apr 4 21:12:04 2003 Subject: [Moin-user] How to make pages uneditable? (by anyone) In-Reply-To: <5.2.0.9.2.20030404131059.0526ebd0@cuip.uchicago.edu> Message-ID: On Fri, 04 Apr 2003 13:31:42 -0600, Mitchell Marks wrote: >I want to lock down some pages so they can't be edited. You need to update to the stable CVS tarball to get that feature. Generally, if anyone has problems with a feature, it's a good idea to check the CHANGES file when it was introduced. Ciao, J?rgen From gia at webde-ag.de Tue Apr 8 01:32:04 2003 From: gia at webde-ag.de (Gisbert Amm) Date: Tue Apr 8 01:32:04 2003 Subject: [Moin-user] How to make pages uneditable? (by anyone) Message-ID: <74ADFA8C453ED611A71E00508BBBA135D9EA49@exchange1.cinetic.de> Instead of making pages unwritable, a possible solution for your problem is to restore the accidently changed pages. Your users won't make the same mistake twice, will they? :-) To restore a certain page, click on the 'info' icon in the upper right corner (the blue one with the 'i' on it) hit the link 'detailed information' (or so) and choose the version you want to go back to. Kind regards, Gisbert > -----Original Message----- > From: Mitchell Marks [mailto:mitchell at cuip.net] > Sent: Friday, April 04, 2003 9:32 PM > To: MoinMoin Users > Subject: [Moin-user] How to make pages uneditable? (by anyone) > > > red hat 7.2 > python 2.2.2 > apache 1.3.27, runs as apache:apache > moin moin 1.159 > > We have a very new MoinMoin Wiki (at > http://cwd.uchicago.edu/wiki/), and > I'm also quite new to handling such a system, so I hope > you'll be tolerant > of newbie questions. > > I want to lock down some pages so they can't be edited. It's > not mischief, > it's accident and misunderstanding. (Members of our test > group have signed > up at UserPreferences, then immediately press Edit to get > started making > pages -- and wipe out the UserPreferences form.) > > I came across a FAQ where the answer to "How do I make > immutable pages?" > was "Just set the permissions bits." That doesn't seem to be > working for > me. I remove write permissions, and for that matter change > the ownership > to either root or some other user; then go to the web and > edit it in the > Wiki. The ownership comes back to apache:apache and the > write bits are on -- > > >[1:09pm] root at cwd:text 243# chown mitchell: TestImmutablePage > >[1:22pm] root at cwd:text 244# chmod ugo-w TestImmutablePage > >[1:22pm] root at cwd:text 245# ls -l TestImmutablePage > >-r--r--r-- 1 mitchell mitchell 118 Apr 4 13:09 > TestImmutablePage > ((here I edited it on the web)) > >[1:22pm] root at cwd:text 246# ls -l TestImmutablePage > >-rw-rw-rw- 1 apache apache 129 Apr 4 13:23 > TestImmutablePage > > The text directory has this ownership and permissions: > >[1:23pm] root at cwd:text 247# ls -ld . > >drwxrwxr-x 2 apache apache 4096 Apr 4 13:23 ./ > > If I made the directory unwritable, wouldn't that interfere > with normal > saving of all the other pages? Is there another place where > pages can be > kept, and participate in the WikiName linking, but the > directory can be > unwritable or belong to someone other than apache? > > Thanks much for what I hope will be your useful suggestions! > > -- Mitch Marks > > > > > > -- > Mitchell Marks > CUIP Tech Coordinator http://cuip.uchicago.edu > CUIP: Chicago Public Schools / Univ. of Chicago Internet Project > 5640 S Ellis Ave AAC-045, Univ of Chgo, Chgo IL 60637 > > Telephone: Ofc 773-702-6041 > Fax 702-8212 > Home (v.m. only, ok any time) 241-7166 > Email: Primary address: mitch at cuip.uchicago.edu > Alternate UofC addresses (use especially to report > problems with > cuip.uchicago.edu): mitchell at cs.uchicago.edu and > mmar at midway.uchicago.edu > Off-campus (ISP) address: mmarks at pobox.com > > If your life is a leaf > that the seasons tear off and condemn > they will bind you with love > that is graceful and green as a stem > (L. Cohen, "Sisters of mercy", 1967) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From mitchell at cuip.net Tue Apr 8 05:35:04 2003 From: mitchell at cuip.net (Mitchell Marks) Date: Tue Apr 8 05:35:04 2003 Subject: [Moin-user] How to make pages uneditable? (by anyone) In-Reply-To: <74ADFA8C453ED611A71E00508BBBA135D9EA49@exchange1.cinetic.d e> Message-ID: <5.2.0.9.2.20030408071207.06f64b90@cuip.uchicago.edu> Thanks for the responses. Yes, we did restore the overwritten User Preferences page, the two times that happened. And that may be a perfectly acceptable strategy in the longer term, when we have more users familiar with the system and able to perform the page-restore step. In the short term, we have a somewhat special issue, in that the summer project group I'm working with is not committed to using WikiWiki, and the test group is trying out various alternatives. So I want to give this group as good an experience as possible, and they are put off when they try to follow instructions and go to User Preferences to "register", only to find there's no form there, just a previous visitor's misplaced "personal page". For our particular situation, it looks like the short-term fix should simply be better instructions :-). This evening we'll have an in-person session with our test group, and can illustrate the relevant techniques -- including how to restore a page! Maybe the MoinMoin Users list can advise us on whether a WikiWiki can have a useful role in our project's goals, and where else we can look. But I'll make that a separate message. Thank you for the advice, Mitch Marks At 03:31 AM 4/8/03, Gisbert Amm wrote: >Instead of making pages unwritable, a possible solution for your problem is >to restore the accidently changed pages. Your users won't make the same >mistake twice, will they? > >:-) > >To restore a certain page, click on the 'info' icon in the upper right >corner (the blue one with the 'i' on it) hit the link 'detailed information' >(or so) and choose the version you want to go back to. > >Kind regards, >Gisbert > > > -----Original Message----- > > From: Mitchell Marks [mailto:mitchell at cuip.net] > > Sent: Friday, April 04, 2003 9:32 PM > > To: MoinMoin Users > > Subject: [Moin-user] How to make pages uneditable? (by anyone) > > > > > > red hat 7.2 > > python 2.2.2 > > apache 1.3.27, runs as apache:apache > > moin moin 1.159 > > > > We have a very new MoinMoin Wiki (at > > http://cwd.uchicago.edu/wiki/), and > > I'm also quite new to handling such a system, so I hope > > you'll be tolerant > > of newbie questions. > > > > I want to lock down some pages so they can't be edited. It's > > not mischief, > > it's accident and misunderstanding. (Members of our test > > group have signed > > up at UserPreferences, then immediately press Edit to get > > started making > > pages -- and wipe out the UserPreferences form.) > > > > I came across a FAQ where the answer to "How do I make > > immutable pages?" > > was "Just set the permissions bits." That doesn't seem to be > > working for > > me. I remove write permissions, and for that matter change > > the ownership > > to either root or some other user; then go to the web and > > edit it in the > > Wiki. The ownership comes back to apache:apache and the > > write bits are on -- > > > > >[1:09pm] root at cwd:text 243# chown mitchell: TestImmutablePage > > >[1:22pm] root at cwd:text 244# chmod ugo-w TestImmutablePage > > >[1:22pm] root at cwd:text 245# ls -l TestImmutablePage > > >-r--r--r-- 1 mitchell mitchell 118 Apr 4 13:09 > > TestImmutablePage > > ((here I edited it on the web)) > > >[1:22pm] root at cwd:text 246# ls -l TestImmutablePage > > >-rw-rw-rw- 1 apache apache 129 Apr 4 13:23 > > TestImmutablePage > > > > The text directory has this ownership and permissions: > > >[1:23pm] root at cwd:text 247# ls -ld . > > >drwxrwxr-x 2 apache apache 4096 Apr 4 13:23 ./ > > > > If I made the directory unwritable, wouldn't that interfere > > with normal > > saving of all the other pages? Is there another place where > > pages can be > > kept, and participate in the WikiName linking, but the > > directory can be > > unwritable or belong to someone other than apache? > > > > Thanks much for what I hope will be your useful suggestions! > > > > -- Mitch Marks >_ Mitchell Marks CUIP Tech Coordinator http://cuip.uchicago.edu CUIP: Chicago Public Schools / Univ. of Chicago Internet Project 5640 S Ellis Ave AAC-045, Univ of Chgo, Chgo IL 60637 Telephone: Ofc 773-702-6041 Fax 702-8212 Home (v.m. only, ok any time) 241-7166 Email: Primary address: mitch at cuip.uchicago.edu Alternate UofC addresses (use especially to report problems with cuip.uchicago.edu): mitchell at cs.uchicago.edu and mmar at midway.uchicago.edu Off-campus (ISP) address: mmarks at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mitchell at cuip.net Tue Apr 8 05:53:05 2003 From: mitchell at cuip.net (Mitchell Marks) Date: Tue Apr 8 05:53:05 2003 Subject: [Moin-user] How to make pages uneditable? (by anyone) In-Reply-To: <20030404225418.GA3765@thinkmo.de> References: <5.2.0.9.2.20030404131059.0526ebd0@cuip.uchicago.edu> <5.2.0.9.2.20030404131059.0526ebd0@cuip.uchicago.edu> Message-ID: <5.2.0.9.2.20030408073454.02cb5020@cuip.uchicago.edu> Thank you for looking into the difficulty we were having here. I dropped your "testid.cgi" into our cgi-bin, and it shows Apache, not root (from http://cwd.uchicago.edu/cgi-bin/testid.cgi): >----------------- >uid=48(apache) gid=48(apache) groups=48(apache) >----------------- How then is the owner being changed? I think I see: it's not a chown, which user "apache" indeed shouldn't be able to do. But because apache owns the directory, with w permissions, it can delete the file [even when it does not have w permission on the file itself], then create a new file under its own ownership. As another indication that this is what's happening, the inode number was new after the editing step. As I indicated in another posting, our project is still looking into what new approaches to introduce in this summer's program. If the test group "adopts" WikiWiki as a component, I'll look forward to the opportunity to more thoroughly "get into" the MoinMoin world, including keeping up with the latest CVS versions. This mailing list seems to be a friendly, open forum, which I am happy to have found. Best regards, Mitch Marks At 05:54 PM 4/4/03, you wrote: >Hi, > > > apache 1.3.27, runs as apache:apache > >There is reason to doubt that. > >At least the CGI seems to run as root, which is definitely a bad idea. > > > We have a very new MoinMoin Wiki (at http://cwd.uchicago.edu/wiki/), and > > I'm also quite new to handling such a system, so I hope you'll be tolerant > > of newbie questions. > >No problem. You may want to read in the Meatball Wiki to get the spirit. > > > I want to lock down some pages so they can't be edited. It's not > mischief, > > it's accident and misunderstanding. (Members of our test group have signed > > up at UserPreferences, then immediately press Edit to get started making > > pages -- and wipe out the UserPreferences form.) > >If that is seldom, it is no problem as long as there are some users >reverting the page to its original state. If you are a logged-in user, >you have a "revert" action on the version history page of the latest >moin code (CVS). > >So it is very easy to get back the correct version. > > > I came across a FAQ where the answer to "How do I make immutable pages?" > > was "Just set the permissions bits." That doesn't seem to be working for > > me. I remove write permissions, and for that matter change the ownership > > to either root or some other user; then go to the web and edit it in the > > Wiki. The ownership comes back to apache:apache and the write bits are on > >Only root can change ownership of a file, so your CGI must be running as >root. A normal user can't change ownership of a file - even if he is the >current owner (just imagine changing a suid file from owner badguy to >root and starting it!). > >tw at notebook-tw:~$ ls -l testme >-rw-r--r-- 1 tw tw 0 Apr 5 00:45 testme >tw at notebook-tw:~$ chown www-data.www-data testme >chown: changing ownership of `testme': Operation not permitted >tw at notebook-tw:~$ su >Password: >notebook-tw:/home/tw# chown www-data.www-data testme >notebook-tw:/home/tw# ls -l testme >-rw-r--r-- 1 www-data www-data 0 Apr 5 00:45 testme >notebook-tw:/home/tw# id >uid=0(root) gid=0(root) groups=0(root),103(lpadmin) >notebook-tw:/home/tw# exit >exit >tw at notebook-tw:~$ ls -l testme >-rw-r--r-- 1 www-data www-data 0 Apr 5 00:45 testme >tw at notebook-tw:~$ chown tw.tw testme >chown: changing ownership of `testme': Operation not permitted >tw at notebook-tw:~$ id >uid=1000(tw) gid=1000(tw) groups=1000(tw),29(audio),44(video) > > > > >-r--r--r-- 1 mitchell mitchell 118 Apr 4 13:09 TestImmutablePage > > ((here I edited it on the web)) > > >[1:22pm] root at cwd:text 246# ls -l TestImmutablePage > > >-rw-rw-rw- 1 apache apache 129 Apr 4 13:23 TestImmutablePage > >Very strange! Maybe check with some cgi like that: > >#!/bin/sh >echo -e "Content-type: text/plain\n\n" >echo "-----------------" >id >echo "-----------------" > >Just save that as testid.cgi and call it instead of moin.cgi. > > > > > The text directory has this ownership and permissions: > > >[1:23pm] root at cwd:text 247# ls -ld . > > >drwxrwxr-x 2 apache apache 4096 Apr 4 13:23 ./ > >You could also change that to drwx------ root root and check if the >moin.cgi still works. If yes, it must be running as root (and that is >bad). > >BTW: if you use su_exec (suexec?) apache module you can set the user/group >apache >calls CGI. > > > If I made the directory unwritable, wouldn't that interfere with normal > > saving of all the other pages? > >Yes. Bad idea. > > > Is there another place where pages can be > > kept, and participate in the WikiName linking, but the directory can be > > unwritable or belong to someone other than apache? > >Not yet. I am working on ACLs (see MoinMoin wiki) but that is stuff for >version 1.2. But chown/chmod normally really helps. > >You can also use a SecurityPolicy, see the MoinMoin wiki for some >samples. A little bit python coding is necessary in that case. > >greetings, > >Thomas From jh at web.de Tue Apr 8 10:20:08 2003 From: jh at web.de (Juergen Hermann) Date: Tue Apr 8 10:20:08 2003 Subject: [Moin-user] How to make pages uneditable? (by anyone) In-Reply-To: <74ADFA8C453ED611A71E00508BBBA135D9EA49@exchange1.cinetic.de> Message-ID: On Tue, 8 Apr 2003 10:31:17 +0200, Gisbert Amm wrote: >Instead of making pages unwritable, a possible solution for your problem is >to restore the accidently changed pages. Your users won't make the same >mistake twice, will they? >> moin moin 1.159 Both methods don't work with this version anyway (rel 1.159 is version 1.0 afair). Mitchell, if you need this, you should update to the stable tarball. Ciao, J?rgen From scott_list at mischko.com Wed Apr 9 15:43:02 2003 From: scott_list at mischko.com (Scott Chapman) Date: Wed Apr 9 15:43:02 2003 Subject: [Moin-user] Pydoc doesn't work with MoinMoin? Message-ID: <200304091511.39031.scott_list@mischko.com> I run pydoc -p 1234 and point my web browser at 127.0.0.1:1234. In the site-packages dir, it shows "MoinMoin (package)". I started browsing around the MoinMoin package and went to see "user". When I do, it gives me this: problem in /usr/lib/python2.2/site-packages/MoinMoin/user.pyc - ImportError: cannot import name config Virtually all the files give me the same error. Other site-packages seem to work Ok. I'm wondering if this is a config error on my part or what? This pydoc functionality is VERY handy. Scott From scott_list at mischko.com Wed Apr 9 15:48:02 2003 From: scott_list at mischko.com (Scott Chapman) Date: Wed Apr 9 15:48:02 2003 Subject: [Moin-user] Pydoc doesn't work with MoinMoin? In-Reply-To: <200304091511.39031.scott_list@mischko.com> References: <200304091511.39031.scott_list@mischko.com> Message-ID: <200304091516.33505.scott_list@mischko.com> Never mind! If I run pydoc as root it works. I've got a permissions error somewhere here. Scott On Wednesday 09 April 2003 15:11, Scott Chapman wrote: > I run pydoc -p 1234 and point my web browser at 127.0.0.1:1234. > In the site-packages dir, it shows "MoinMoin (package)". > I started browsing around the MoinMoin package and went to see "user". > When I do, it gives me this: > > problem in /usr/lib/python2.2/site-packages/MoinMoin/user.pyc - > ImportError: cannot import name config > > Virtually all the files give me the same error. > > Other site-packages seem to work Ok. > > I'm wondering if this is a config error on my part or what? This pydoc > functionality is VERY handy. > > Scott From twh at ibex-ag.de Fri Apr 11 08:10:06 2003 From: twh at ibex-ag.de (Horna, Thomas) Date: Fri Apr 11 08:10:06 2003 Subject: [Moin-user] moin.cgi-dump-questions Message-ID: <6972573F55D2D311BA8A00508B95691701E072A8@excmail1.ibex-ag.de> Hi m8s, Pleas take a look at my output of test dump, and say to me How should I interpret failed Test, and sentence My server accepts only local requests? thnx in advance, Thomas MoinMoin CGI Diagnosis ====================== Package "MoinMoin" successfully imported. Release 1.1 Revision 1.172 Python version 2.2.2 (#1, Apr 10 2003, 18:58:43) [GCC 2.95.4 20020320 [FreeBSD]] Python installed to /usr/local PyXML is installed Python Path: /usr/local/share/moin/ibexmoin /usr/local/lib/python2.2 /usr/local/lib/python2.2/plat-freebsd4 /usr/local/lib/python2.2/lib-tk /usr/local/lib/python2.2/lib-dynload /usr/local/lib/python2.2/site-packages Checking directories... data directory tests OK (set to '/usr/local/share/moin/ibexmoin/data') text directory tests OK (set to '/usr/local/share/moin/ibexmoin/data/text') user directory tests OK (set to '/usr/local/share/moin/ibexmoin/data/user') backup directory tests OK (set to '/usr/local/share/moin/ibexmoin/data/backup') Found an external diff: "diff - GNU diffutils version 2.7" Server Environment: ONLY AVAILABLE FOR LOCAL REQUESTS ON THIS HOST! Unit Tests: runTest (MoinMoin._tests.test_Page.existsTestCase) ... ok runTest (MoinMoin._tests.test_PageEditor.expand_variablesTestCase) ... ok runTest (MoinMoin._tests.test_marshal.MarshalTestCase) ... ok runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase) ... FAIL runTest (MoinMoin._tests.test_parser_wiki.InlineMarkupTestCase) ... ok runTest (MoinMoin._tests.test_util_mail.decodeSpamSafeEmailTestCase) ... ok runTest (MoinMoin._tests.test_wikiacl.parsingTestCase) ... ok runTest (MoinMoin._tests.test_wikiutil.isTemplatePageTestCase) ... ok runTest (MoinMoin._tests.test_wikiutil.isFormPageTestCase) ... ok ====================================================================== FAIL: runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.2/site-packages/MoinMoin/_tests/test_parser_wiki.py" , line 47, in runTest self.failUnless(regex.search(output), msg='Expected %r in: %s' % (pattern, output)) File "/usr/local/lib/python2.2/unittest.py", line 262, in failUnless if not expr: raise self.failureException, msg AssertionError: Expected '1#1970-01-02 00:00:00#1' in:

1#02.01.1970 um 00:00#1 2#02.01.1970 um 00:00#2 3#03.03.2003 um 03:03#3 4#01.01.2000 um 00:00#4 5#02.02.2002#5 ---------------------------------------------------------------------- Ran 9 tests in 0.156s FAILED (failures=1) From peter at fsc.cc Fri Apr 11 14:25:05 2003 From: peter at fsc.cc (Peter Gebauer) Date: Fri Apr 11 14:25:05 2003 Subject: [Moin-user] Apache authentication, .htaccess and MoinMoin. Message-ID: <20030411212643.GA2643@fsc.cc> Hello. I have recently installed MoinMoin and added the patches from Jeff Kunce (moin addons) to get user identification and access permissions by using Apache's user authentication. I got it all working, except for one thing: I only want apache to ask for authentication for some pages and for certain actions (edit, delete, upload, etc). This was solved in TWiki with clauses in .htaccess-file, but I cannot make it work with the GET variables that MoinMoin uses. MoinMoin together with Jeff's patches is exactly what I want if only I could make Apache ask for user authentication on selected actions only. As addition, if anybody knows how to make only some content pages in MoinMoin use https that'd be helpful. Thank's in advance! /Peter From scott_list at mischko.com Fri Apr 11 22:34:02 2003 From: scott_list at mischko.com (Scott Chapman) Date: Fri Apr 11 22:34:02 2003 Subject: [Moin-user] Content type text/plain when saving edits/previewing? Message-ID: <200304112232.09002.scott_list@mischko.com> It appears to me that MoinMoin (latest CVS version as of this evening) is not putting out proper headers when you go to edit a page and then save your changes. My Konqueror and Mozilla browsers show me the HTML source rather than the HTML when I go to edit something and hit the save button. Scott From scott_list at mischko.com Fri Apr 11 22:51:03 2003 From: scott_list at mischko.com (Scott Chapman) Date: Fri Apr 11 22:51:03 2003 Subject: [Moin-user] Content type text/plain when saving edits/previewing? In-Reply-To: <200304112232.09002.scott_list@mischko.com> References: <200304112232.09002.scott_list@mischko.com> Message-ID: <200304112249.27830.scott_list@mischko.com> On Friday 11 April 2003 22:32, Scott Chapman wrote: > It appears to me that MoinMoin (latest CVS version as of this evening) is > not putting out proper headers when you go to edit a page and then save > your changes. > > My Konqueror and Mozilla browsers show me the HTML source rather than the > HTML when I go to edit something and hit the save button. I got it working. Something wierd in my config file. Put in the stock config file and things got happy. Scott From bkotch at liquidnet.com Mon Apr 14 15:02:01 2003 From: bkotch at liquidnet.com (Brett Kotch) Date: Mon Apr 14 15:02:01 2003 Subject: [Moin-user] Recent Changes Message-ID: <4B6FB7F60D37D41188C300B0D022E0C0013CF59D@exchange.lnholdings.com> I saw a reference to a recent changes page ... http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/MoinMoinScreenShots?a ction=highlight&value=Revision+history that would be very useful ... but I don't see where this is available in the actual code ... Brett ------------------------------------------------------------------------------------------------------------------- The information contained in this e-mail is for the exclusive and confidential use of the addressee. Any other distribution, use or reproduction of the information contained in this message, by the addressee or by any other recipient, is not authorized. If you have received this message in error, please notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashand at pixelworks.com Wed Apr 16 12:19:12 2003 From: ashand at pixelworks.com (Adam Shand) Date: Wed Apr 16 12:19:12 2003 Subject: [Moin-user] revert bugs in revision 1.172? Message-ID: <3E9DAC9F.2070908@pixelworks.com> I get varied and presumably incorrect responses when i try and revert a page to a previous version. sometimes i get an "Internal Server Failure" and this in my Apache error.log: [Wed Apr 16 11:52:54 2003] [error] [client 12.154.195.3] malformed header from script. Bad header=
Message-ID: On Wed, 16 Apr 2003 12:18:55 -0700, Adam Shand wrote: >I also see similar problems (again in a way that's unpredictable and >hard to reproduce) on page saves occasionally. Revert is a page save. We'll have exactly 2 chances to get this fixed: replace all prints by reqest.write (which will happen soon), and if that does not help, the parser refactoring to use dom-like stuff. >In all cases the actual action is performed as expected, it's just the >output to the browser that is strange. Refreshing the page causes >things to function as normal. This is why we did not hunt this down yet. Annoying but not life- threatening. Ciao, J?rgen From ashand at pixelworks.com Wed Apr 16 13:44:07 2003 From: ashand at pixelworks.com (Adam Shand) Date: Wed Apr 16 13:44:07 2003 Subject: [Moin-user] revert bugs in revision 1.172? In-Reply-To: References: Message-ID: <3E9DC08C.8070201@pixelworks.com> Juergen Hermann wrote: > This is why we did not hunt this down yet. Annoying but not life- > threatening. Ah, okay, it sounds like it's a known problem. I hadn't heard anything about it so thought there might be something strange with my setup. I can certainly wait out the changes. Thanks, Adam. From peter at fsc.cc Fri Apr 18 18:05:04 2003 From: peter at fsc.cc (Peter Gebauer) Date: Fri Apr 18 18:05:04 2003 Subject: [Moin-user] New security stuff. Message-ID: <20030419010550.GA1868@fsc.cc> How will the new security be implemented and when? I've seen a lot of patches, when will they be added to the main source tree? What authentications will be available and what permissions will be available to use for the users? From montagne at boora.com Wed Apr 23 16:50:04 2003 From: montagne at boora.com (Michael Montagne) Date: Wed Apr 23 16:50:04 2003 Subject: [Moin-user] IncludeURL Message-ID: <20030423235340.GA20647@boora.com> I'm using moinmoin1.1. Trying to use the IncludeUrl macro The only text in the page is [[IncludeUrl(http://www.themontagnes.com)]] Type Error: __init__() takes exactly 2 arguments (1 given) Python 2.2.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: __doc__ = 'Inappropriate argument type.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = ('__init__() takes exactly 2 arguments (1 given)',) /usr/lib/python2.2/site-packages/MoinMoin/macro/IncludeUrl.py in execute(macro=, text='http://www.themontagnes.com', args_re=<_sre.SRE_Pattern object>) 76 if this_page._macroInclude_pagelist.has_key(inc_name): 77 ret = ret + '

Recursive include of "%s" forbidden

' % (inc_name,) 78 inc_page = PageUrl(inc_name, formatter=macro.formatter.__class__()) inc_page = undefined, global PageUrl = , inc_name = 'http://www.themontagnes.com', global formatter = undefined, macro = , global __class__ = undefined 79 inc_page._macroInclude_pagelist = this_page._macroInclude_pagelist 80 From montagne at boora.com Thu Apr 24 09:38:13 2003 From: montagne at boora.com (Michael Montagne) Date: Thu Apr 24 09:38:13 2003 Subject: [Moin-user] IncludeURL In-Reply-To: <20030423235340.GA20647@boora.com> References: <20030423235340.GA20647@boora.com> Message-ID: <20030424164221.GA24134@boora.com> Ok, I've got past those errors and now get a page to load but it is not rendering correctly. It seems to be because the tags are being output wrong: Here is a snippet of the output: <table border=0 cellpadding=0 cellspacing=0 width=800>

    <tr>

      <td align=center bgcolor='#000000'><font face="Tahoma, Arial, Helvetica, sans-serif" colour=white size=+1><img src="images/himalayas4.jpg" width="100" height="50"></font></td> Notice the "<" type stuff. I think if that came in as a "<" it might work. Or I could be misunderstanding. >On about 23/04/03, Michael Montagne was heard to proclaim: > I'm using moinmoin1.1. Trying to use the IncludeUrl macro > The only text in the page is > [[IncludeUrl(http://www.themontagnes.com)]] > > -- Michael Montagne http://www.themontagnes.com 503.226.1575 -- From montagne at boora.com Thu Apr 24 11:20:01 2003 From: montagne at boora.com (Michael Montagne) Date: Thu Apr 24 11:20:01 2003 Subject: [Moin-user] IncludeURL In-Reply-To: <20030424164221.GA24134@boora.com> References: <20030423235340.GA20647@boora.com> <20030424164221.GA24134@boora.com> Message-ID: <20030424182337.GA24755@boora.com> The problem appears (to my uninformed eye) to be related to this line. inc_page = PageUrl(inc_name, formatter=macro.formatter.__class__(macro.request)) The output is not being formatted as html. How do I force that to happen? >On about 24/04/03, Michael Montagne was heard to proclaim: > Ok, I've got past those errors and now get a page to load but it is not > rendering correctly. It seems to be because the tags are being output > wrong: > Here is a snippet of the output: > > <table border=0 cellpadding=0 cellspacing=0 width=800>

        >

        <tr>

          >

          <td align=center > bgcolor='#000000'><font face="Tahoma, Arial, Helvetica, > sans-serif" colour=white size=+1><img src="images/himalayas4.jpg" > width="100" height="50"></font></td> > > Notice the "<" type stuff. I think if that came in as a "<" it might > work. Or I could be misunderstanding. > > >On about 23/04/03, Michael Montagne was heard to proclaim: > > > I'm using moinmoin1.1. Trying to use the IncludeUrl macro > > The only text in the page is > > [[IncludeUrl(http://www.themontagnes.com)]] -- Michael Montagne http://www.themontagnes.com 503.226.1575 -- From aj at dungeon.inka.de Sun Apr 27 13:29:08 2003 From: aj at dungeon.inka.de (Andreas Jellinghaus) Date: Sun Apr 27 13:29:08 2003 Subject: [Moin-user] removeing help content? Message-ID: <1051475653.26548.244.camel@simulacron> Hi, how can I split helpfiles and my own content? Like: a) have two wikis, one for help and one for my stuff? b) remove all help stuff, and redirect users to the Moin Moin Wiki? with default files and several additional languages installed functions like WordIndex, OrphanesPages, WantedPages etc. show many help pages, and I clearly don't want that. I want people only to see the pages of my wiki with those functions, so it is easier to navigate. How can I split the wiki in help / my stuff? Thanks for your help. Regards, Andreas From gandalf_mp at yahoo.com.br Mon Apr 28 09:45:06 2003 From: gandalf_mp at yahoo.com.br (=?iso-8859-1?q?Marcelo=20Pereira?=) Date: Mon Apr 28 09:45:06 2003 Subject: [Moin-user] xm2 -> html, ps, pdf, txt, ... Message-ID: <20030428164434.63170.qmail@web20201.mail.yahoo.com> Hi, I have start using MoinMoin and I found it really useful, and right now there is a large document created by a team of document writers. I can genereate the xml version of this document, but how can I convert xml to ps, pdf, html, txt, etc... I am sorry if it is a really dummy question, but I have no idea about this. Thanks in advance and Regards, Marcelo Pereira Brazil _______________________________________________________________________ Yahoo! Mail O melhor e-mail gratuito da internet: 6MB de espa?o, antiv?rus, acesso POP3, filtro contra spam. http://br.mail.yahoo.com/ From nick at rockstarvancouver.com Mon Apr 28 10:38:03 2003 From: nick at rockstarvancouver.com (Nick Trout) Date: Mon Apr 28 10:38:03 2003 Subject: [Moin-user] xm2 -> html, ps, pdf, txt, ... Message-ID: <911F8C8EB7A8084AAEDD55CEDC54D8F810D3BD@iggy.rockstarvancouver.com> > I have start using MoinMoin and I found it really useful, and right now there is a large document created by a team of document writers. I can genereate the xml version of this document, but how can I convert xml to ps, pdf, html, txt, etc... You can dump the whole wiki out as static HTML using the MoinMoin/scripts/moin_dump.py macro. You can probably find some sort of tool to convert HTML to the other formats. N From gandalf_mp at yahoo.com.br Mon Apr 28 10:43:20 2003 From: gandalf_mp at yahoo.com.br (=?iso-8859-1?q?Marcelo=20Pereira?=) Date: Mon Apr 28 10:43:20 2003 Subject: [Moin-user] xm2 -> html, ps, pdf, txt, ... In-Reply-To: <911F8C8EB7A8084AAEDD55CEDC54D8F810D3BD@iggy.rockstarvancouver.com> Message-ID: <20030428174147.65036.qmail@web20206.mail.yahoo.com> I thought it was possible to direct convert xml to pdf, txt, html, etc, etc, etc... as we can do with sgml: - sgml2txt - sgml2html - sgml2latex - sgml2whatever Any idea?? See ya, Marcelo --- Nick Trout escreveu: > > > I have start using MoinMoin and I found it really > useful, and right now there is a large document > created by a team of document writers. > I can genereate the xml version of this document, > but > how can I convert xml to ps, pdf, html, txt, etc... > > > You can dump the whole wiki out as static HTML using > the > MoinMoin/scripts/moin_dump.py macro. You can > probably find some sort of > tool to convert HTML to the other formats. > > N > > > > _______________________________________________________________________ Yahoo! Mail O melhor e-mail gratuito da internet: 6MB de espa?o, antiv?rus, acesso POP3, filtro contra spam. http://br.mail.yahoo.com/ From steve at einval.com Mon Apr 28 10:57:13 2003 From: steve at einval.com (Steve McIntyre) Date: Mon Apr 28 10:57:13 2003 Subject: [Moin-user] xm2 -> html, ps, pdf, txt, ... In-Reply-To: <20030428174147.65036.qmail@web20206.mail.yahoo.com> References: <911F8C8EB7A8084AAEDD55CEDC54D8F810D3BD@iggy.rockstarvancouver.com> <20030428174147.65036.qmail@web20206.mail.yahoo.com> Message-ID: <20030428175231.GE12056@software.plasmon.com> On Mon, Apr 28, 2003 at 02:41:47PM -0300, Marcelo Pereira wrote: > >I thought it was possible to direct convert xml to >pdf, txt, html, etc, etc, etc... as we can do with >sgml: > >- sgml2txt >- sgml2html >- sgml2latex >- sgml2whatever > >Any idea?? I've got a local (large) patch in our copy of Moin that creates PDFs on the fly using html2ps and ps2pdf. I'm happy to share it if people are interested... -- Steve McIntyre, Plasmon smcintyre at software.plasmon.com Support the Campaign for Audiovisual Free Expression: http://www.eff.org/cafe/ From gandalf_mp at yahoo.com.br Mon Apr 28 11:02:02 2003 From: gandalf_mp at yahoo.com.br (=?iso-8859-1?q?Marcelo=20Pereira?=) Date: Mon Apr 28 11:02:02 2003 Subject: [Moin-user] xm2 -> html, ps, pdf, txt, ... In-Reply-To: <20030428175231.GE12056@software.plasmon.com> Message-ID: <20030428175714.68473.qmail@web20206.mail.yahoo.com> I really would like to see it! Show me the files (tm) Why, in the world, xml is horrible to be converted?? I was happy with sgml! (heheh) See ya, Marcelo Brazil --- Steve McIntyre escreveu: > On Mon, Apr 28, 2003 at 02:41:47PM -0300, Marcelo > Pereira wrote: > > > >I thought it was possible to direct convert xml to > >pdf, txt, html, etc, etc, etc... as we can do with > >sgml: > > > >- sgml2txt > >- sgml2html > >- sgml2latex > >- sgml2whatever > > > >Any idea?? > > I've got a local (large) patch in our copy of Moin > that creates PDFs > on the fly using html2ps and ps2pdf. I'm happy to > share it if people > are interested... > > -- > Steve McIntyre, Plasmon > smcintyre at software.plasmon.com > Support the Campaign for Audiovisual Free > Expression: http://www.eff.org/cafe/ _______________________________________________________________________ Yahoo! Mail O melhor e-mail gratuito da internet: 6MB de espa?o, antiv?rus, acesso POP3, filtro contra spam. http://br.mail.yahoo.com/ From c.brosch at mx.uni-saarland.de Tue Apr 29 07:52:05 2003 From: c.brosch at mx.uni-saarland.de (Christopher Brosch) Date: Tue Apr 29 07:52:05 2003 Subject: [Moin-user] xslt version? Message-ID: <20030429165055.A16787@rw22linux2.jura.uni-sb.de> Hi, can anyone tell me how to enable the xslt version? On "XsltVersion" I get the error message "XSLT option disabled!". SystemInfo says: Python Version 2.2.2 (#1, Jan 30 2003, 21:26:22) [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-112)] MoinMoin Version Liberar 1.1 [Revis?o 1.169] TIA, Christopher -- Christopher Brosch Universit?t des Saarlandes, Institut f?r Rechtsinformatik private Post an: Christopher Brosch richtiges Zitieren in News und Mail: http://learn.to/quote From jh at web.de Tue Apr 29 11:09:08 2003 From: jh at web.de (Juergen Hermann) Date: Tue Apr 29 11:09:08 2003 Subject: [Moin-user] xslt version? In-Reply-To: <20030429165055.A16787@rw22linux2.jura.uni-sb.de> Message-ID: On Tue, 29 Apr 2003 16:50:55 +0200, Christopher Brosch wrote: >can anyone tell me how to enable the xslt version? On "XsltVersion" I >get the error message "XSLT option disabled!". HelpOnConfiguration, ctrl-f "xslt" Ciao, J?rgen From jh at web.de Tue Apr 29 11:14:01 2003 From: jh at web.de (Juergen Hermann) Date: Tue Apr 29 11:14:01 2003 Subject: [Moin-user] Re: how change the data folder In-Reply-To: <200304291529.h3TFT1q17818@mailgate5.cinetic.de> Message-ID: On Tue, 29 Apr 2003 17:29:01 +0200, fatih genc wrote: >i want to move the data folder. > >i think ,that i should only edit the moin_config.py. >i change the value of data_dir like so > data_dir = './data/' data_dir = '/mnt/wiki/data/' > >but i take a configuration eror. >where is my mistake Please use the mailing list. What is "i take a configuration error"? Ciao, J?rgen From davor.cengija at mail.inet.hr Wed Apr 30 12:14:04 2003 From: davor.cengija at mail.inet.hr (Davor Cengija) Date: Wed Apr 30 12:14:04 2003 Subject: [Moin-user] Enabling acl Message-ID: <1900783.tDmvXUDI8C@lothar.cengija.com> I'm running the latest stable cvs version of MoinMoin. I see that there's AccessControlList class, and I read some examples on MoinMoinWiki how to configure acl per page, but when I put #acl at the first line on a page, I just have #acl... text displayed. How can I enable acl? I'm probably missing something obvious, so please help. Also, I'm almost done with the Croatian language translation. Where I need to submit the hr.py file, so that it could be included in the distribution? Thanks -- davor.cengija at mail.inet.hr From jh at web.de Wed Apr 30 13:32:04 2003 From: jh at web.de (Juergen Hermann) Date: Wed Apr 30 13:32:04 2003 Subject: [Moin-user] Enabling acl In-Reply-To: <1900783.tDmvXUDI8C@lothar.cengija.com> Message-ID: On Wed, 30 Apr 2003 21:04:10 +0200, Davor Cengija wrote: >How can I enable acl? I'm probably missing something obvious, so please >help. You did not read the CHANGES file. Official additions are in there. Anything else is in development. >Also, I'm almost done with the Croatian language translation. Where I need >to submit the hr.py file, so that it could be included in the distribution? Send it to me as an email attachment. Ciao, J?rgen From xlii at xlii.org Wed Apr 30 15:15:09 2003 From: xlii at xlii.org (Ellen Herzfeld) Date: Wed Apr 30 15:15:09 2003 Subject: [Moin-user] HTML doesn't validate Message-ID: Hello, I am new to MoinMoin and have installed it on a private network. I like it very much but I do have one problem. I am having trouble adapting the CSS to my needs because, as far as I can see, the HTMl generated by MoinMoin is not standards compliant. First of all the pages don't have a DOCTYPE so they don't validate on the W3C HTML validator. Using other tools to validate a page as HTML 4.01 transitional shows many errors and warnings. I am used to working with valid HTML (preferably XHTML, in fact) and am wondering if this is a know issue and if there are any plans to fix it. If not, is there any way I can do this myself?? Thank you. Ellen