From kjcole at gri.gallaudet.edu Mon Jun 3 10:05:04 2002 From: kjcole at gri.gallaudet.edu (Kevin Cole) Date: Mon Jun 3 10:05:04 2002 Subject: [Moin-user] Renaming files... Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Suppose I've chosen a less-than-satisfactory name for a page. Can I fix it simply by renaming the file and then making sure any links I've created have the new name of the file? (That *SEEMS* logical and straightforward, but I figured I'd ask first, in case there was something subtle that would mess up.) - -- Kevin Cole, RHCE, Linux Admin | E-mail: kjcole at gri.gallaudet.edu Gallaudet Research Institute | WWW: http://gri.gallaudet.edu/~kjcole/ Hall Memorial Bldg S-419 | Voice: (202) 651-5135 Washington, D.C. 20002-3695 | FAX: (202) 651-5746 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8+5wmh8702ObzMscRAmtpAJ0Rpv06xnpscngxKfKS0WTw3fKw3QCaA86J 7rEEMsiPDbuzVL5aWZRMWNU= =w7yH -----END PGP SIGNATURE----- From jh at web.de Mon Jun 3 11:22:08 2002 From: jh at web.de (Juergen Hermann) Date: Mon Jun 3 11:22:08 2002 Subject: [Moin-user] Renaming files... In-Reply-To: Message-ID: On Mon, 3 Jun 2002 12:40:52 -0400 (EDT), Kevin Cole wrote: >Suppose I've chosen a less-than-satisfactory name for a page. Can I fix >it simply by renaming the file and then making sure any links I've >created have the new name of the file? Actually, you should have it the other way 'round. First use the backlinks feature (click on title) to find&fix any links, then rename the file. The only thing you have to remember is that you lose any attachments and the backup versions if you don't rename those, too. Ciao, J?rgen From cmedcoff at hotmail.com Wed Jun 5 07:18:04 2002 From: cmedcoff at hotmail.com (Charles Medcoff) Date: Wed Jun 5 07:18:04 2002 Subject: [Moin-user] External file links References: <1018570458.29764.184.camel@isashand> Message-ID: What about paths with spaces in them? For example "file:\\somemachine\some department name\Development\J2EE Development Study Group" Doens't work. ----- Original Message ----- From: "Adam Shand" To: "Charles Medcoff" Cc: Sent: Thursday, April 11, 2002 8:14 PM Subject: Re: [Moin-user] External file links > On Thu, 2002-04-11 at 16:07, Charles Medcoff wrote: > > How does one created a link to a file on an external file system such as a file on a shared network drive. I couldn'd find anything in the help and my experiementation found no success. > > Just like in a browser. :-) > > file://path/to/file.txt > > Adam. > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From jeff at corrt.com Wed Jun 5 07:48:25 2002 From: jeff at corrt.com (Jeff Kunce) Date: Wed Jun 5 07:48:25 2002 Subject: [Moin-user] External file links In-Reply-To: References: <1018570458.29764.184.camel@isashand> Message-ID: <5.1.0.14.0.20020605094000.00a984e0@corrt.com> >What about paths with spaces in them? For example >"file:\\somemachine\some department name\Development\J2EE Development Study >Group" "file:\\somemachine\some%20department%20name\Development\J2EE%20Development%20Study%20Group" From kjcole at gri.gallaudet.edu Wed Jun 5 09:02:04 2002 From: kjcole at gri.gallaudet.edu (Kevin Cole) Date: Wed Jun 5 09:02:04 2002 Subject: [Moin-user] Q: Protecting Help* and other pages In-Reply-To: <5.1.0.14.0.20020605094000.00a984e0@corrt.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, This is probably covered somewhere, but I didn't see it somewhere obvious. I have a closed wiki (intranet?) that is being used for an internal project. The folks using it are VERY new to the idea and I'm worried that they'll mess up stuff that I really don't want to rewind from the backups. I want them to edit anything else, and am encouraging them to play around. So, I'm wondering if there's a way to make the Help* files (and any other critical ones) immutable. One ugly way that I can do it is with "chattr +i", but then the Python code needs to be kinder when responding to such a situation. Is there a better way? - -- Kevin Cole, RHCE, Linux Admin | E-mail: kjcole at gri.gallaudet.edu Gallaudet Research Institute | WWW: http://gri.gallaudet.edu/~kjcole/ Hall Memorial Bldg S-419 | Voice: (202) 651-5135 Washington, D.C. 20002-3695 | FAX: (202) 651-5746 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8/jBph8702ObzMscRAkSjAJ9J33dPmLzTm/faK2m3NjUN30saAwCcDbhJ psCA4DQyxZa5s+/uI3Lk0iw= =m9CX -----END PGP SIGNATURE----- From jh at web.de Wed Jun 5 11:33:05 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jun 5 11:33:05 2002 Subject: [Moin-user] Q: Protecting Help* and other pages In-Reply-To: Message-ID: >So, I'm wondering if there's a way to make the Help* files (and any >other critical ones) immutable. I see no immediate solution, but will make a TODO entry regarding this. Do you run the CVS version? Ciao, J?rgen From jh at web.de Wed Jun 5 11:45:02 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jun 5 11:45:02 2002 Subject: [Moin-user] Q: Protecting Help* and other pages In-Reply-To: Message-ID: On Wed, 5 Jun 2002 11:38:08 -0400 (EDT), Kevin Cole wrote: >So, I'm wondering if there's a way to make the Help* files (and any >other critical ones) immutable. Get the CVS version, and chmod a-w them. Ciao, J?rgen From kjcole at gri.gallaudet.edu Wed Jun 5 12:30:04 2002 From: kjcole at gri.gallaudet.edu (Kevin Cole) Date: Wed Jun 5 12:30:04 2002 Subject: [Moin-user] Q: Protecting Help* and other pages In-Reply-To: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >So, I'm wondering if there's a way to make the Help* files (and any > >other critical ones) immutable. > > I see no immediate solution, but will make a TODO entry regarding this. > Do you run the CVS version? Nope. I'm using whatever's considered stable. (I don't use CVS enough to be fluent. I think the only time I've ever retrieved anything was when I grabbed Boa Constructor.) - From my point of view, the simplest fix would be to screw with how it handles the exception resulting from trying to change a "chattr'd" file, but that wouldn't be a very cross-platform solution. No hurry. I can warn people that it'll blow up if they try to change things that I don't let them change. Or they can figure it out the hard way. ;-) - -- Kevin Cole, RHCE, Linux Admin | E-mail: kjcole at gri.gallaudet.edu Gallaudet Research Institute | WWW: http://gri.gallaudet.edu/~kjcole/ Hall Memorial Bldg S-419 | Voice: (202) 651-5135 Washington, D.C. 20002-3695 | FAX: (202) 651-5746 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8/lYNh8702ObzMscRAnSQAKCgdU1vzlMntx2kKPakrcb4onflsACg4JTt +BfPDo+bJ/hddr46/ZSDrLY= =+dkh -----END PGP SIGNATURE----- From jh at web.de Wed Jun 5 13:14:05 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jun 5 13:14:05 2002 Subject: [Moin-user] Q: Protecting Help* and other pages In-Reply-To: Message-ID: On Wed, 5 Jun 2002 14:18:45 -0400 (EDT), Kevin Cole wrote: >Nope. I'm using whatever's considered stable. (I don't use CVS enough >to be fluent. I think the only time I've ever retrieved anything was >when I grabbed Boa Constructor.) For moin, CVS is considered more stable than releases, most of the time. ;) All my public wikis run on CVS, as is the company's. Ciao, J?rgen From cmedcoff at hotmail.com Thu Jun 6 06:40:03 2002 From: cmedcoff at hotmail.com (Charles Medcoff) Date: Thu Jun 6 06:40:03 2002 Subject: Fw: [Moin-user] External file links Message-ID: Well that creates the right link but for some reason this doesn't work on windows. Any clues? >>What about paths with spaces in them? For example >>"file:\somemachine\some department name\Development\J2EE Development Study >>Group" >"file:\somemachine\some%20department%20name\Development\J2EE%20Development% 20Study%20Group" From Bradey.Honsinger at construx.com Thu Jun 6 08:15:06 2002 From: Bradey.Honsinger at construx.com (Bradey Honsinger) Date: Thu Jun 6 08:15:06 2002 Subject: [Moin-user] External file links Message-ID: <2A53F00A2DBBDA479B7E84DA2023A4EBC83E06@gypsy.construx.com> Close--at least on Win2K, you should switch the backslashes to forward slashes and add one or two more after "file:/". For files on a local drive, you need three slashes: file:///C:/Program%20Files/Accessories/MSPAINT.EXE For files on a Windows server, you just need two: file://machine/share/folder/file - Bradey -----Original Message----- From: Charles Medcoff [mailto:cmedcoff at hotmail.com] Sent: Thursday, June 06, 2002 6:38 AM To: moin-user at lists.sourceforge.net Subject: Fw: [Moin-user] External file links Well that creates the right link but for some reason this doesn't work on windows. Any clues? >>What about paths with spaces in them? For example >>"file:\somemachine\some department name\Development\J2EE Development Study >>Group" >"file:\somemachine\some%20department%20name\Development\J2EE%20Development% 20Study%20Group" _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From jeff at corrt.com Thu Jun 6 11:24:02 2002 From: jeff at corrt.com (Jeff Kunce) Date: Thu Jun 6 11:24:02 2002 Subject: [Moin-user] Moin Access Permissions and User Authentication Message-ID: <5.1.0.14.0.20020606130732.00a96b50@corrt.com> At 11:38 AM 6/5/2002 -0400, Kevin Cole wrote: >So, I'm wondering if there's a way to make the Help* files (and any >other critical ones) immutable. For my intranet wikis, I have written some extensions that allow: 1) Users to be identified by webserver authentication (REMOTE_USER) and/or by MoinMoin's standard "cookie" method. 2) Allows setting of user access permissions (read/edit/delete) on any wiki page, or on the wiki as a whole. They work well for me (though I give no guarantees). The downside is that they are written for MoinMoin 0.11. I'm hoping that Juergen will adopt something like this eventually. --Jeff From jeff at corrt.com Thu Jun 6 11:27:10 2002 From: jeff at corrt.com (Jeff Kunce) Date: Thu Jun 6 11:27:10 2002 Subject: [Moin-user] Moin Access Permissions and User Authentication Message-ID: <5.1.0.14.0.20020606132156.00a98630@corrt.com> At 11:38 AM 6/5/2002 -0400, Kevin Cole wrote: >So, I'm wondering if there's a way to make the Help* files (and any >other critical ones) immutable. For my intranet wikis, I have written some extensions that allow: 1) Users to be identified by webserver authentication (REMOTE_USER) and/or by MoinMoin's standard "cookie" method. 2) Allows setting of user access permissions (read/edit/delete) on any wiki page, or on the wiki as a whole. You can find the code at: http://starship.python.net/crew/jjkunce/MoinMoin/ This works well for me (though I give no guarantees). The downside is that it is written for MoinMoin 0.11. I'm hoping that Juergen will adopt something like this eventually. --Jeff From uche.ogbuji at fourthought.com Wed Jun 12 19:00:04 2002 From: uche.ogbuji at fourthought.com (Uche Ogbuji) Date: Wed Jun 12 19:00:04 2002 Subject: [Moin-user] Non-CGI install? Message-ID: <1023932267.14950.3963.camel@borgia.local> I'm not subscribed yet. You can cc me on responses, or I'm happy to check the archives as well. Is there a non_CGI way to install MoinMoin? In particular, is there a simple Python BaseHttpServer interface? I know Apache has its advantages, but I prefer to investigate such packages as MoinMoin stand-alone first, if possible. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://4Suite.org http://fourthought.com Track chair, XML/Web Services One (San Jose, Boston): http://www.xmlconference.com/ DAML Reference - http://www.xml.com/pub/a/2002/05/01/damlref.html The Languages of the Semantic Web - http://www.newarchitectmag.com/documents/s=2453/new1020218556549/index.html XML, The Model Driven Architecture, and RDF @ XML Europe - http://www.xmleurope.com/2002/kttrack.asp#themodel From jh at web.de Wed Jun 12 22:36:02 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jun 12 22:36:02 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: <1023932267.14950.3963.camel@borgia.local> Message-ID: On 12 Jun 2002 19:37:36 -0600, Uche Ogbuji wrote: >Is there a non_CGI way to install MoinMoin? In particular, is there a >simple Python BaseHttpServer interface? > >I know Apache has its advantages, but I prefer to investigate such >packages as MoinMoin stand-alone first, if possible. python -c "import MoinMoin.httpdmain; MoinMoin.httpdmain.run()" Do not use this with more than one person, and don't expect everything to work (most things do). Ciao, J?rgen From whisper at oz.net Thu Jun 13 11:29:09 2002 From: whisper at oz.net (David LeBlanc) Date: Thu Jun 13 11:29:09 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: Message-ID: > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Juergen > Hermann > Sent: Wednesday, June 12, 2002 22:35 > To: moin-user at lists.sourceforge.net; Uche Ogbuji > Subject: Re: [Moin-user] Non-CGI install? > > > On 12 Jun 2002 19:37:36 -0600, Uche Ogbuji wrote: > > >Is there a non_CGI way to install MoinMoin? In particular, is there a > >simple Python BaseHttpServer interface? > > > >I know Apache has its advantages, but I prefer to investigate such > >packages as MoinMoin stand-alone first, if possible. > > python -c "import MoinMoin.httpdmain; MoinMoin.httpdmain.run()" > > Do not use this with more than one person, and don't expect everything > to work (most things do). > > > Ciao, J?rgen This doesn't work. httpdmain attempts to serve documents from the hard-coded default wiki name, which doesn't exist. The server runs, but it's only serving empty pages and throwing mass amounts of tracebacks and "404" errors on the console it was started on (windows). I found that copying httpdmain.py to the "personal" wiki that I created per the install.html directions would work since it picked up the wiki name from the directory. The only drawback to this method is that it's not finding the image files or the moinmoin.css file. Looking at the served page source, MoinMoin is writing the img and css references relative to my wiki and not to where they really are beneath the share directory. Dave LeBlanc Seattle, WA USA From j.her at t-online.de Thu Jun 13 13:12:03 2002 From: j.her at t-online.de (Juergen Hermann) Date: Thu Jun 13 13:12:03 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: Message-ID: <17Iav0-1kKRYvC@fwd08.sul.t-online.com> On Thu, 13 Jun 2002 11:27:53 -0700, David LeBlanc wrote: >This doesn't work. httpdmain attempts to serve documents from the hard-coded >default wiki name, which doesn't exist. The server runs, but it's only >serving empty pages and throwing mass amounts of tracebacks and "404" errors >on the console it was started on (windows). It does work, if you do it right. It has to find moin_config, and the paths have to be absolute or the pwd has to fit. In reality this means you first CD to your instance directory (where moin_config lives) and start the thing there. And you have to set "httpd_docs" and the other httpd config vars. Ciao, J?rgen From MarvinGS at sternpost.de Thu Jun 13 14:06:04 2002 From: MarvinGS at sternpost.de (MarvinGS) Date: Thu Jun 13 14:06:04 2002 Subject: [Moin-user] Alternative RecentChanges Message-ID: <200206132104.XAA22931@mailbox-3.st1.spray.net> Hi! For my old (0.9) Wiki i created an alternative Version of the RecentChanges Macro so that [[RecentChangesNew]] could be included in any Page. I just tried to create another alternative RecentChanges from the original /macro/RecentChanges.py of the current CVS-Version but i could not manage to make [[RecentChangesPatrick]] work on any Page. Where do i have to include my RecentChangesPatrick.py to work properly? Please help, i'm stuck! Thank you! Patrick Guenther alias MarvinGS From jh at web.de Thu Jun 13 14:28:06 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jun 13 14:28:06 2002 Subject: [Moin-user] Alternative RecentChanges In-Reply-To: <200206132104.XAA22931@mailbox-3.st1.spray.net> Message-ID: On Thu, 13 Jun 2002 23:04:36 +0200, MarvinGS wrote: >I just tried to create another alternative RecentChanges from the original /macro/RecentChanges.py of the current CVS-Version but i could not manage to make [[RecentChangesPatrick]] work on any Page. Where do i have to include my RecentChangesPatrick.py to >work properly? To the MoinMoin.macro package, as always. Or to plugin/macro. Ciao, J?rgen From whisper at oz.net Thu Jun 13 15:10:04 2002 From: whisper at oz.net (David LeBlanc) Date: Thu Jun 13 15:10:04 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: <17Iav0-1kKRYvC@fwd08.sul.t-online.com> Message-ID: > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Juergen > Hermann > Sent: Thursday, June 13, 2002 12:48 > To: moin-user at lists.sourceforge.net > Subject: RE: [Moin-user] Non-CGI install? > > > On Thu, 13 Jun 2002 11:27:53 -0700, David LeBlanc wrote: > > >This doesn't work. httpdmain attempts to serve documents from > the hard-coded > >default wiki name, which doesn't exist. The server runs, but it's only > >serving empty pages and throwing mass amounts of tracebacks and > "404" errors > >on the console it was started on (windows). > > It does work, if you do it right. It has to find moin_config, and > the paths > have to be absolute or the pwd has to fit. In reality this means > you first CD > to your instance directory (where moin_config lives) and start the thing > there. > > And you have to set "httpd_docs" and the other httpd config vars. > > > Ciao, J?rgen Ok, that does work at least as well as my ploy of putting httpdmain in my wiki instance directory, but the problem is still that images and stylesheet(s) aren't being found: H:\Moin\wiki>python Python 2.2.1 (#34, Apr 9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.path.append("h:/moin/lib/site-packages") >>> from MoinMoin import httpdmain >>> httpdmain.run() Serving on localhost:8080, documents in 'H:\Moin\wiki\wiki-moinmoin' lion - - [13/Jun/2002 13:26:40] "GET / HTTP/1.1" 200 - lion - - [13/Jun/2002 13:26:40] CGI script exited OK, taking 0.207 secs lion - - [13/Jun/2002 13:26:40] code 404, message File not found lion - - [13/Jun/2002 13:26:40] "GET /wiki/css/moinmoin.css HTTP/1.1" 404 - lion - - [13/Jun/2002 13:26:40] code 404, message File not found (the rest is chopped off - it's more of the same. This was on accessing http://localhost:8080. FrontPage showed with all images missing and no styling.) Why does Moin report the directory it's serving from as wiki-moinmoin? That directory does not exist under wiki. It actually seems to be serving pages from H:\Moin\share\moin\data\text. I understand that these are the oringinal pages, but this brings up an interesting question: where do user-created pages get put? I'm guessing that these get put somewhere in the wiki instance, but how does Moin know where to look for pages, or does it look for both or does it put links in the distro pages to user-created pages pointing to the wiki instance? moin_config.py has the following: # basic options (you normally need to change these) sitename = 'Wiki' interwikiname = None data_dir = './data/' url_prefix = '/wiki' logo_url = url_prefix + '/img/moinmoin.gif' I think for this to work the img directory would have to be copied under the wiki instance directory (aka "data_dir"?) - or am I missing something? What should I do to fix this? (N.B. I don't have this problem when running Moin via Apache cgi.) It's strange to me that I have to depend on noticing a small comment in the install.html file or a comment in the moin_config.py file to find the config info and that that file is not in the distro but depends on being able to access sourceforge to download this information. I valid uses of MoinMoin include stand-alone LANS not connected to the internet as well as using MoinMoin on a single non-connected machine at home as a journal (an interest of mine). I'm not sure I would depend on Sourceforge always being around either... Regards, Dave LeBlanc Seattle, WA USA From jh at web.de Thu Jun 13 15:40:05 2002 From: jh at web.de (Juergen Hermann) Date: Thu Jun 13 15:40:05 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: Message-ID: On Thu, 13 Jun 2002 15:09:15 -0700, David LeBlanc wrote: >It's strange to me that I have to depend on noticing a small comment in the >install.html file or a comment in the moin_config.py file to find the config >info and that that file is not in the distro but depends on being able to >access sourceforge to download this information. I valid uses of MoinMoin >include stand-alone LANS not connected to the internet as well as using >MoinMoin on a single non-connected machine at home as a journal (an interest >of mine). I'm not sure I would depend on Sourceforge always being around >either... This doesn't make too much sense to me, and I'm left with the impression that you totally ignored my comment: >> And you have to set "httpd_docs" and the other httpd config vars. Stand-alone mode is not official, and thus you fiond not too much documentation on it. Those variables ARE documented, though. Ciao, J?rgen From whisper at oz.net Thu Jun 13 18:22:03 2002 From: whisper at oz.net (David LeBlanc) Date: Thu Jun 13 18:22:03 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: Message-ID: The on-sourceforge doc says: httpd_docs './wiki-moinmoin' directory with public files, when using the stand-alone server. What it does NOT say is what are reasonable values for this, nor does it describe the difference between "public" and any other kinds of files. I did not ignore your comment, I just don't know what a reasonable value for http_docs IS. This: "I valid uses of MoinMoin..." should have been "IMO valid uses of MoinMoin...". Sorry. Is there some reason you didn't want to answer my other questions? David LeBlanc Seattle, WA USA > -----Original Message----- > From: jh at web.de [mailto:jh at web.de] > Sent: Thursday, June 13, 2002 15:40 > To: David LeBlanc; moin-user at lists.sourceforge.net > Subject: RE: [Moin-user] Non-CGI install? > > > On Thu, 13 Jun 2002 15:09:15 -0700, David LeBlanc wrote: > > >It's strange to me that I have to depend on noticing a small > comment in the > >install.html file or a comment in the moin_config.py file to > find the config > >info and that that file is not in the distro but depends on being able to > >access sourceforge to download this information. I valid uses of MoinMoin > >include stand-alone LANS not connected to the internet as well as using > >MoinMoin on a single non-connected machine at home as a journal > (an interest > >of mine). I'm not sure I would depend on Sourceforge always being around > >either... > > This doesn't make too much sense to me, and I'm left with the > impression that you > totally ignored my comment: > > >> And you have to set "httpd_docs" and the other httpd config vars. > > Stand-alone mode is not official, and thus you fiond not too much > documentation on > it. Those variables ARE documented, though. > > > Ciao, J?rgen > > From jh at web.de Fri Jun 14 00:38:04 2002 From: jh at web.de (Juergen Hermann) Date: Fri Jun 14 00:38:04 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: Message-ID: On Thu, 13 Jun 2002 18:21:01 -0700, David LeBlanc wrote: >Is there some reason you didn't want to answer my other questions? They are irrelevant before you do not set your document root. http_docs is exactly that, the document root. Since you also run Apache, that term should be familiar to you. Ciao, J?rgen From cmedcoff at hotmail.com Fri Jun 14 11:25:04 2002 From: cmedcoff at hotmail.com (Charles Medcoff) Date: Fri Jun 14 11:25:04 2002 Subject: [Moin-user] Determining subscribers Message-ID: Is there a way to determine who is subscribed to a given page - through the browser?, through the backend. I know that subscriptions are stored in user pages, but combing through them is a pain. The only other way is to make a change to a page and submit it. The subscribed users are listed after submitting. It would be nice to be able to find this without having to make an actual edit. -------------- next part -------------- An HTML attachment was scrubbed... URL: From whisper at oz.net Fri Jun 14 23:59:02 2002 From: whisper at oz.net (David LeBlanc) Date: Fri Jun 14 23:59:02 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: Message-ID: Juergen; I am not an expert on Apache. It did not occur to me that the following two lines where setting the document root for moin: Alias /wiki/ "h:/Moin/share/moin/htdocs/" ScriptAlias /davewiki "h:/Moin/wiki/moin.bat" Since one says "Alias" and the other one says "ScriptAlias", even though one of them does have the word "htdocs" in it, it was not clear that this sets the document root. What is also not clear is this strange way you have of dumping values directly into the Python interpreter's variable storage, thus making it (IMO) harder then it needs to be to figure out how to set a configuration variable. Unless you know or discover that vars() is the interpreter's variable storage, reading the code suggests that moin-config values are read and discarded and the default config vars are used instead. I would still like to know the following: If I create a page link on "FrontPage", where will the new page be created? Is it created in the directory pointed to by the http_docs variable? Thanks, David LeBlanc Seattle, WA USA > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Juergen > Hermann > Sent: Friday, June 14, 2002 0:37 > To: David LeBlanc; moin-user at lists.sourceforge.net > Subject: RE: [Moin-user] Non-CGI install? > > > On Thu, 13 Jun 2002 18:21:01 -0700, David LeBlanc wrote: > > >Is there some reason you didn't want to answer my other questions? > > They are irrelevant before you do not set your document root. http_docs > is exactly that, the document root. Since you also run Apache, that > term should be familiar to you. > > > Ciao, J?rgen > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=dntextlink > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From whisper at oz.net Sat Jun 15 10:13:04 2002 From: whisper at oz.net (David LeBlanc) Date: Sat Jun 15 10:13:04 2002 Subject: [Moin-user] Next Problem Message-ID: Ok, I have set http_docs in moin_config.py, but it still won't run stand-alone. I get the following traceback: H:\Moin\Lib\site-packages\MoinMoin>httpdmain Serving on localhost:8080, documents in 'h:\moin\share\moin\htdocs' lion - - [15/Jun/2002 10:02:28] "GET / HTTP/1.1" 200 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 1349) Traceback (most recent call last): File "J:\Python22\lib\SocketServer.py", line 221, in handle_request self.process_request(request, client_address) File "J:\Python22\lib\SocketServer.py", line 240, in process_request self.finish_request(request, client_address) File "J:\Python22\lib\SocketServer.py", line 253, in finish_request self.RequestHandlerClass(request, client_address, self) File "H:\Moin\Lib\site-packages\MoinMoin\httpdmain.py", line 61, in __init__ SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server) File "J:\Python22\lib\SocketServer.py", line 514, in __init__ self.handle() File "J:\Python22\lib\BaseHTTPServer.py", line 266, in handle method() File "H:\Moin\Lib\site-packages\MoinMoin\httpdmain.py", line 75, in do_GET self.doRequest() File "H:\Moin\Lib\site-packages\MoinMoin\httpdmain.py", line 166, in doRequest request = cgimain.run(properties={'standalone': 1}) File "h:\Moin\Lib\site-packages\MoinMoin\cgimain.py", line 103, in run sys.stderr = open(os.path.join(config.data_dir, 'err_log'), 'at') IOError: [Errno 2] No such file or directory: 'data\\err_log' ---------------------------------------- I tried just commenting out the open of the err_log, but then it complains the event.log is missing. "err_log" is at h:\moin\wiki\data, which is my wiki instance data directory. If I set config.data_dir to h:\moin\wiki\data, then FrontPage comes up, but all the images and styling are missing. Is there some other setting(s) I need to set or modify? This is all being done, as directed, by invoking httpdmain from h:/moin/lib/site-packages/moinmoin. David LeBlanc Seattle, WA USA From adam at personaltelco.net Sat Jun 15 12:06:21 2002 From: adam at personaltelco.net (Adam Shand) Date: Sat Jun 15 12:06:21 2002 Subject: [Moin-user] Non-CGI install? In-Reply-To: References: Message-ID: <1024167938.4656.236.camel@heyzeus> > I am not an expert on Apache. It did not occur to me that the following two > lines where setting the document root for moin: > Alias /wiki/ "h:/Moin/share/moin/htdocs/" > ScriptAlias /davewiki "h:/Moin/wiki/moin.bat" Your Apache DocumentRoot variable is set in apache to whatever it's set to. Aliases and ScriptAliases are ways of extending your DocumentRoot to reach into different parts of the file system or of providing URL short cuts. > I would still like to know the following: If I create a page link on > "FrontPage", where will the new page be created? Is it created in the > directory pointed to by the http_docs variable? Unless it's different with the standalone Moin server, when you create a link on FrontPage nothing is actually created until someone goes to the page link, clicks edit and then save. Once the page is saved then moin writes the file out to data_dir/text. Adam. From MarvinGS at sternpost.de Sun Jun 16 14:28:03 2002 From: MarvinGS at sternpost.de (MarvinGS) Date: Sun Jun 16 14:28:03 2002 Subject: [Moin-user] Alternative RecentChanges Message-ID: <200206162127.XAA21252@mailbox-15.st1.spray.net> Hi! My alternative RecentChanges are done, i just needed to put them into data/plugin/macro/ All my changes are just dirty hacks so i would revise them before making a public macro. Apart from that i have another Problem. After inclusion of [[RecentChangesPatrick]] in a page i get an "internal Server Error" The Page works anyway but this Error after saving the Page bugs me. Can anyone help? The Script can be found at http://twistedmatrix.com/users/jh/wikifarm/pub/MoinMoin/PatrickGuenther/attachments/RecentChangesPatrick.py and works at least with CVS MoinMoin Version 1.1 [Revision 1.160]. Any comments are welcome, especially Hints for that Save-Bug and if you find my alternative RecentChanges useful. Thanks! Patrick alias MarinGS From Francois at iecholden.com Mon Jun 17 13:20:02 2002 From: Francois at iecholden.com (Meehan, Francois) Date: Mon Jun 17 13:20:02 2002 Subject: [Moin-user] Problem with speller, moin version 1.0 Message-ID: <7190BF5EB309D511A15600508BF18D832DDE8F@exchange.iecholden.com> Hi All, Did installed moinmoin on a Gentoo Linux server from portage(gentoo package management system), the application is working except for the spell checker, when invoking it I get on this error message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. On /var/log/apache/ssl-error_log (I use ssl) I get the following : Premature end of script headers: /home/httpd/htdocs/moinmoin/moin.cgi Did followed the moinmoin instruction, deleted dict.cache and created a directory called dict in /usr/lib/python2.2/site-packages/MoinMoin, also did create the soft link to /usr/share/dict/words, a new dict.cache got created, problem still persist... dbhash is available. It is said in the moinmoin doc: "one solution is to telnet into your webserver, and manually request the page" ?? How do you do that?? Any ideas??? Francois Meehan From Hans.Yandle at cingular.com Tue Jun 18 04:19:05 2002 From: Hans.Yandle at cingular.com (Yandle, Hans) Date: Tue Jun 18 04:19:05 2002 Subject: [Moin-user] MoinMoin 1.1 AttachFile.py v1.38: Missing module filesys Message-ID: I am new to MoinMoin and wanted to give it a try out on an Intranet. The AttachFile macro is desired. When I went to try it, an "unknown error" occurred. I tacked it down to a missing module in AttachFile.py. Line 30 in MoinMoin/action/AttachFile.py states "from MoinMoin.util import filesys". I looked for this filesys module and could not find it. It apparently should be located in MoinMoin/util/filesys.py. Does anyone have a copy of the missing utility file so the v1.38 AttachFile.py can work successfully? As a quick fix, I found that in moin-1.0 has an AttachFile.py v1.36 that does not reference the util/filesys.py module but does require a MIME type to be entered. From gry at ll.mit.edu Tue Jun 18 08:39:10 2002 From: gry at ll.mit.edu (george young) Date: Tue Jun 18 08:39:10 2002 Subject: [Moin-user] MoinMoin 1.1 AttachFile.py v1.38: Missing module filesys In-Reply-To: References: Message-ID: <20020618113847.6dc89960.gry@ll.mit.edu> On Tue, 18 Jun 2002 07:18:27 -0400 "Yandle, Hans" wrote: > I am new to MoinMoin and wanted to give it a try out on an Intranet. The > AttachFile macro is desired. When I went to try it, an "unknown error" > occurred. I tacked it down to a missing module in AttachFile.py. Line 30 in > MoinMoin/action/AttachFile.py states "from MoinMoin.util import filesys". I > looked for this filesys module and could not find it. It apparently should > be located in MoinMoin/util/filesys.py. Does anyone have a copy of the > missing utility file so the v1.38 AttachFile.py can work successfully? As a > quick fix, I found that in moin-1.0 has an AttachFile.py v1.36 that does not > reference the util/filesys.py module but does require a MIME type to be > entered. I just removed the import filesys line and used os.makedirs instead of filesys.makeDirs. See the attached patch. I'm running python 2.2 -- George Young -- I cannot think why the whole bed of the ocean is not one solid mass of oysters, so prolific they seem. Ah, I am wandering! Strange how the brain controls the brain! -- Sherlock Holmes in "The Dying Detective" -------------- next part -------------- A non-text attachment was scrubbed... Name: AttachFile.py.patch Type: application/octet-stream Size: 1059 bytes Desc: not available URL: From jh at web.de Tue Jun 18 10:29:04 2002 From: jh at web.de (Juergen Hermann) Date: Tue Jun 18 10:29:04 2002 Subject: [Moin-user] MoinMoin 1.1 AttachFile.py v1.38: Missing module filesys In-Reply-To: <20020618113847.6dc89960.gry@ll.mit.edu> Message-ID: On Tue, 18 Jun 2002 11:38:47 -0400, george young wrote: >I just removed the import filesys line and used os.makedirs instead of filesys.makeDirs. >See the attached patch. I'm running python 2.2 Both of you failed to state what version you run, 1.0, CVS, ...? Both of you run a broken installation is the only thing that is sure. Ciao, J?rgen From j.her at t-online.de Tue Jun 18 11:16:06 2002 From: j.her at t-online.de (Juergen Hermann) Date: Tue Jun 18 11:16:06 2002 Subject: [Moin-user] MoinMoin 1.1 AttachFile.py v1.38: Missing module filesys In-Reply-To: Message-ID: <17KNVp-0al3LMC@fwd09.sul.t-online.com> On Tue, 18 Jun 2002 19:28:30 +0200, Juergen Hermann wrote: >On Tue, 18 Jun 2002 11:38:47 -0400, george young wrote: > >>I just removed the import filesys line and used os.makedirs instead of >filesys.makeDirs. >>See the attached patch. I'm running python 2.2 > >Both of you failed to state what version you run, 1.0, CVS, ...? Both >of you run a broken installation is the only thing that is sure. And I know now why it is broken. You have to use cvs update -dAP not just "cvs update", else you won't get new directories. Ciao, J?rgen From jh at web.de Wed Jun 19 00:30:05 2002 From: jh at web.de (Juergen Hermann) Date: Wed Jun 19 00:30:05 2002 Subject: [Moin-user] MoinMoin 1.1 AttachFile.py v1.38: Missing module filesys In-Reply-To: <17KNVp-0al3LMC@fwd09.sul.t-online.com> Message-ID: On Tue, 18 Jun 2002 20:15:26 +0200, Juergen Hermann wrote: >And I know now why it is broken. You have to use > >cvs update -dAP > >not just "cvs update", else you won't get new directories. After George told me he used the nightly tarball, that solved the problem. distutils failed to update the MANIFEST file for some reason, so the new file was missing from the distribution. The above remains true for people who directly go to the CVS repository. Ciao, J?rgen From pobrien at orbtech.com Sat Jun 22 08:24:02 2002 From: pobrien at orbtech.com (Patrick K. O'Brien) Date: Sat Jun 22 08:24:02 2002 Subject: [Moin-user] Subscribed wiki pages Message-ID: Is there a way to subscribe to all pages of a MoinMoin wiki? I have no problem getting notifications when I subscribe to a specific page on my wiki. But I'd rather subscribe to all. The help says you can use a regex, but when I try to use: .* It doesn't work. Any suggestions? -- Patrick K. O'Brien Orbtech ----------------------------------------------- "Your source for Python software development." ----------------------------------------------- Web: http://www.orbtech.com/web/pobrien/ Blog: http://www.orbtech.com/blog/pobrien/ Wiki: http://www.orbtech.com/wiki/PatrickOBrien ----------------------------------------------- From jh at web.de Sat Jun 22 08:36:02 2002 From: jh at web.de (Juergen Hermann) Date: Sat Jun 22 08:36:02 2002 Subject: [Moin-user] Subscribed wiki pages In-Reply-To: Message-ID: On Sat, 22 Jun 2002 10:26:05 -0500, Patrick K. O'Brien wrote: >.* > >It doesn't work. Any suggestions? It does. I wonder whether I have to remove the no self-notification code... Ciao, J?rgen From brian at dorseys.org Sat Jun 22 08:46:05 2002 From: brian at dorseys.org (Brian Dorsey) Date: Sat Jun 22 08:46:05 2002 Subject: [Moin-user] Subscribed wiki pages In-Reply-To: ; from jh@web.de on Sat, Jun 22, 2002 at 05:34:58PM +0200 References: Message-ID: <20020622085513.A3801@dorseys.org> On Sat, Jun 22, 2002 at 05:34:58PM +0200, Juergen Hermann wrote: > On Sat, 22 Jun 2002 10:26:05 -0500, Patrick K. O'Brien wrote: > > >.* > > > >It doesn't work. Any suggestions? > > It does. Seconded. I have subscribed to several of my Wiki's this way. > > I wonder whether I have to remove the no self-notification code... Patrick, What Jurgen is refering to here, is that MoinMoin will never notify the logged in user of changes they've made (figuring that they already know they made the changes. ;) Jurgen, I rather like the current behavior. Perhaps rather than changing the behaviour, the message could make it clear that the user is subscribed, but since they just made the change, they're not going to get an email? Instead of "Nobody subscribed to this page, no mail sent.", perhaps "You are the only subscriber to this page, no mail sent." Take care, -Brian From pobrien at orbtech.com Sat Jun 22 08:56:10 2002 From: pobrien at orbtech.com (Patrick K. O'Brien) Date: Sat Jun 22 08:56:10 2002 Subject: [Moin-user] Subscribed wiki pages In-Reply-To: <20020622085513.A3801@dorseys.org> Message-ID: [Brian Dorsey] > I rather like the current behavior. Perhaps rather than changing the > behaviour, the message could make it clear that the user is subscribed, > but since they just made the change, they're not going to get an email? > > Instead of "Nobody subscribed to this page, no mail sent.", perhaps "You > are the only subscriber to this page, no mail sent." I agree. The current message mislead me. Thanks for the help. -- Patrick K. O'Brien Orbtech ----------------------------------------------- "Your source for Python software development." ----------------------------------------------- Web: http://www.orbtech.com/web/pobrien/ Blog: http://www.orbtech.com/blog/pobrien/ Wiki: http://www.orbtech.com/wiki/PatrickOBrien ----------------------------------------------- From mecho at web.de Sun Jun 23 19:12:02 2002 From: mecho at web.de (Mecho Puh) Date: Sun Jun 23 19:12:02 2002 Subject: [Moin-user] locked pages Message-ID: <3D167C6D.4070400@web.de> Hi, is there a way to "lock" some moin wiki pages - this man to disable they to be changes? If yes how can only one user (for example admin) to edit them? Best Regards From adam at personaltelco.net Sun Jun 23 22:09:02 2002 From: adam at personaltelco.net (Adam Shand) Date: Sun Jun 23 22:09:02 2002 Subject: [Moin-user] locked pages In-Reply-To: <3D167C6D.4070400@web.de> References: <3D167C6D.4070400@web.de> Message-ID: <1024895322.3851.16.camel@heyzeus> On Sun, 2002-06-23 at 18:57, Mecho Puh wrote: > is there a way to "lock" some moin wiki pages - this man to disable they > to be changes? If yes how can only one user (for example admin) to edit > them? If you are running the latest moin from cvs you can lock a page by manually setting the file to read only in the filesystem. there is no way to edit it from the web after you do that though. adam. From cmedcoff at hotmail.com Tue Jun 25 13:38:07 2002 From: cmedcoff at hotmail.com (Charles Medcoff) Date: Tue Jun 25 13:38:07 2002 Subject: [Moin-user] Turn off email by default Message-ID: Is there some way to configure MoinMoin so that when a user edits a page that the "Send Email Notification" checkbox is not checked by default? -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois at iecholden.com Wed Jun 26 18:06:03 2002 From: francois at iecholden.com (Francois Meehan) Date: Wed Jun 26 18:06:03 2002 Subject: [Moin-user] installin gdchart... Message-ID: <1384.24.201.116.74.1025139903.squirrel@mtclof01.iecholden.com> Moin all, I am running moin on a linux server, I want to install gdchart ver 0.94b, got the tar file, did compile, but have no ideas where to put the files. Can someone help? Regards, Francois Meehan IEC Holden, francois at iecholden.com Tel: 514 735-4371 ext 263 From wacl at gmx.net Thu Jun 27 11:52:02 2002 From: wacl at gmx.net (wacl at gmx.net) Date: Thu Jun 27 11:52:02 2002 Subject: [Moin-user] WikiNames with foreign letters are broken Message-ID: <4359.1025203855@www14.gmx.net> Hi, i run wiki on genealogy of my family and the users use three languages: german, english and polish. The normal text in all languages is shown correct. If I build WikiName with german characters like J?rgenHermann :), then this wiki name works and is shown correctly. But if I try to build wiki name with special polish characters then the WikiName ist broken: it ends before the first special character. You can see that at the begining of http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/WikiSandBox Is there a possibility to change this behavior? Regards, Janusz Waclawczyk -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From pobrien at orbtech.com Fri Jun 28 07:20:06 2002 From: pobrien at orbtech.com (Patrick K. O'Brien) Date: Fri Jun 28 07:20:06 2002 Subject: [Moin-user] #!python Message-ID: I notice that #!python not only colorizes the code listing it also adds line numbers to each line. I want the color, but not the line numbers. Is this possible? If so, how? Thanks. -- Patrick K. O'Brien Orbtech ----------------------------------------------- "Your source for Python software development." ----------------------------------------------- Web: http://www.orbtech.com/web/pobrien/ Blog: http://www.orbtech.com/blog/pobrien/ Wiki: http://www.orbtech.com/wiki/PatrickOBrien ----------------------------------------------- From jh at web.de Fri Jun 28 13:36:06 2002 From: jh at web.de (Juergen Hermann) Date: Fri Jun 28 13:36:06 2002 Subject: [Moin-user] WikiNames with foreign letters are broken In-Reply-To: <4359.1025203855@www14.gmx.net> Message-ID: On Thu, 27 Jun 2002 20:50:55 +0200 (MEST), wacl at gmx.net wrote: >i run wiki on genealogy of my family and the users use three languages: >german, english and polish. That combo might pose a problem, since you need ISO-8859-15 (I think it's -15) for Polish. And I do not know whether that contains umlauts. Ciao, J?rgen From jh at web.de Fri Jun 28 13:38:10 2002 From: jh at web.de (Juergen Hermann) Date: Fri Jun 28 13:38:10 2002 Subject: [Moin-user] #!python In-Reply-To: Message-ID: On Fri, 28 Jun 2002 09:21:28 -0500, Patrick K. O'Brien wrote: >I notice that #!python not only colorizes the code listing it also adds line >numbers to each line. I want the color, but not the line numbers. Is this >possible? If so, how? Thanks. No (w/o a patch). I can look into it. Ciao, J?rgen