From peter.bremer at gmail.com Fri Aug 1 12:31:19 2008 From: peter.bremer at gmail.com (Peter Bremer) Date: Fri, 01 Aug 2008 18:31:19 +0200 Subject: [Moin-user] Can level 1 headers be skipped in TableOfContents? Message-ID: In older MoinMoin versions, it was possible to provide the processing instruction "#pragma section-numbers 2", and the table of contents would only show headers starting at level 2. However, in 1.7 this doesn't work anymore, level 1 headers are displayed again. Is there currently any way to suppress level 1 headers? I've seen several people asking about this, and never seen a solution... From dodecatheon at gmail.com Fri Aug 1 19:02:53 2008 From: dodecatheon at gmail.com (Ted Stern) Date: Fri, 01 Aug 2008 16:02:53 -0700 Subject: [Moin-user] common user homepages Message-ID: Hi all, I'm using MoinMoin 1.6.3 (finally upgraded) with cgi-bin, for a low traffic wikifarm. I am using the user_dir common user directory, and this works great. My users are very happy that they don't have to create the same account multiple times. However, I'd like to make some of the other pages common as well. Unfortunately, all of the user pages are treated as regular /data/page/ files. If we have common account info for all the wikis, it would be nice to have common user pages as well. Is there any way to do this? Could I move those pages to the common underlay directory? What is it that tells MoinMoin that a page is in the underlay and not in the regular pages? Ted -- Frango ut patefaciam -- I break so that I may reveal From crosseyedpenguin at yahoo.com Fri Aug 1 21:48:06 2008 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Fri, 1 Aug 2008 18:48:06 -0700 (PDT) Subject: [Moin-user] Can level 1 headers be skipped in TableOfContents? In-Reply-To: Message-ID: <895083.11216.qm@web36204.mail.mud.yahoo.com> --- On Fri, 8/1/08, Peter Bremer wrote: > From: Peter Bremer > Subject: [Moin-user] Can level 1 headers be skipped in TableOfContents? > To: moin-user at lists.sourceforge.net > Date: Friday, August 1, 2008, 9:31 AM > In older MoinMoin versions, it was possible to provide the > processing > instruction "#pragma section-numbers 2", and the > table of contents would > only show headers starting at level 2. > > However, in 1.7 this doesn't work anymore, level 1 > headers are displayed > again. Is there currently any way to suppress level 1 > headers? I've seen > several people asking about this, and never seen a > solution... There are a couple of patches and comments here: http://moinmo.in/FeatureRequests/TableOfContentsMinDepth Roger Haase From dkuhlman at rexx.com Fri Aug 1 23:20:57 2008 From: dkuhlman at rexx.com (Dave Kuhlman) Date: Sat, 2 Aug 2008 03:20:57 +0000 (UTC) Subject: [Moin-user] IncludeExternalRstFileRoot -- include, parse, and format reST from file system Message-ID: I've implemented a MoinMoin macro that parses, formats, and delivers a reStructuredText file from the local file system. Why you might care: - You want to incorporate reST documents into your MoinMoin Wiki. - You do not want to do copy and paste for each document. - You love TTW (through the Web) editing, *but* you want to use your favorite editor for writing and modifying some of your documents. - When you modify your reST documents on the file system, you want those changes automatically reflected in your Wiki. I've attached the code below. There is a bit of usage information in the __doc__ string at the top of the file. If anyone has suggestions about how I could improve it or could make it more in the MoinMoin way, please let me know. Installation and setup: - Install it in data/plugin/macro. - Define the variable IncludeExternalRstFileRoot in your config. Questions: - I defined IncludeExternalRstFileRoot in a local config file wikiconfig_local.py. Is that the correct place to put it? - It works, but caching might make it more speedy. Can anyone tell me where to look to learn how to add support for caching. I found http://moinmo.in/MoinMoinIdeas/WikiApplicationServerPage, but that looks like futures sort of stuff. ==================================================== Code follows: ==================================================== # IncludeExternalRstFile.py """ IncludeExternalRstFile macro Read (external) file; parse the contents as reST (reStructuredText); and format it. Installation: - Put this file in data/plugin/macro. - Add a variable whose name is specified by FileRootAttr to your MoinMoin config. Usage -- Define a Web page whose only content is something like the following:: <> where an_rst_file.txt is a file containing reStructuredText located under the directory specified by FileRootAttr. Author: Dave Kuhlman """ from wikiconfig import Config from MoinMoin.parser.text_rst import Parser import string import os # This variable must be defined in the MoinMoin config object. FileRootAttr = 'IncludeExternalRstFileRoot' def execute(macro, args): if string.find(args, '..') != -1: result = '\*\*\* error. Bad argument. Should be file path/name.' elif not hasattr(Config, FileRootAttr): result = '\*\*\* error. Must set config variable "%s".' % (FileRootAttr, ) else: try: infilename = '%s%s%s' % ( getattr(Config, FileRootAttr), os.sep, args,) infile = open(infilename, "r") except IOError: result = '\*\*\* error. Can not open file: %s' % (infilename, ) else: result = infile.read() infile.close() parser = Parser(result, macro.request) parser.format(macro.formatter) return ' ' From rick.vanderveer at gmail.com Sat Aug 2 00:28:13 2008 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Fri, 1 Aug 2008 23:28:13 -0500 Subject: [Moin-user] common user homepages In-Reply-To: References: Message-ID: <579D44EC-2003-441C-9091-4B6FAA07E913@gmail.com> It sounds like you want the "user_homewiki" directive (I have the same set-up). See http://moinmo.in/HelpOnConfiguration for details. - Rick < sent via iPhone > On Aug 1, 2008, at 6:02 PM, Ted Stern wrote: > Hi all, > > I'm using MoinMoin 1.6.3 (finally upgraded) with cgi-bin, for a low > traffic wikifarm. > > I am using the user_dir common user directory, and this works great. > My users are very happy that they don't have to create the same > account multiple times. However, I'd like to make some of the other > pages common as well. > > Unfortunately, all of the user pages are treated as regular > /data/page/ files. If we have common account > info for all the wikis, it would be nice to have common user pages as > well. > > Is there any way to do this? Could I move those pages to the common > underlay directory? What is it that tells MoinMoin that a page is in > the underlay and not in the regular pages? > > Ted > -- > Frango ut patefaciam -- I break so that I may reveal > > --- > ---------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From ngi at klaasholwerda.nl Sat Aug 2 15:21:59 2008 From: ngi at klaasholwerda.nl (klaas.holwerda) Date: Sat, 02 Aug 2008 21:21:59 +0200 Subject: [Moin-user] Doxygen Macro? Message-ID: <4894B3D7.6050300@klaasholwerda.nl> Hi, I trying to convert to MoinMoin from TWiki, thinking its better and faster. http://wxart2d.org/moin And now i am searching for a solution that link classnames to my doxygen HTML output. http://www.wxart2d.org/twiki/bin/view/TWiki/DoxygenPlugin Like in here, the class names are written like %DOX{classname}% http://www.wxart2d.org/twiki/bin/view/Main/WxArt2DOverView What/where should i start for a solution to that. Something with macros i think. But i hope there is something out there that i can use more or less, being a newbie it is overwhelming me. Thanks for some advice, Klaas From dodecatheon at gmail.com Mon Aug 4 14:45:59 2008 From: dodecatheon at gmail.com (Ted Stern) Date: Mon, 04 Aug 2008 11:45:59 -0700 Subject: [Moin-user] common user homepages In-Reply-To: <579D44EC-2003-441C-9091-4B6FAA07E913@gmail.com> (Rick Vanderveer's message of "Fri, 1 Aug 2008 23:28:13 -0500") References: <579D44EC-2003-441C-9091-4B6FAA07E913@gmail.com> Message-ID: On 01 Aug 2008 21:28:13 -0700, Rick Vanderveer wrote: > > It sounds like you want the "user_homewiki" directive (I have the same > set-up). See http://moinmo.in/HelpOnConfiguration for details. > Thanks Rick, I've found this and implemented it. It does about half of what I want: a user's homepage link at the top of the page (after login) goes to the central user_homewiki. However, UserName-type links, such as those you would see in the lists in AccessGroup pages, still point to pages on the separate wikis. The whole point of the exercise is that you want to avoid requiring users to enter their HomePage information more than once. Ted -- Frango ut patefaciam -- I break so that I may reveal From grant at 4d-electronics.co.nz Mon Aug 4 20:38:33 2008 From: grant at 4d-electronics.co.nz (Grant McEwan) Date: Tue, 05 Aug 2008 12:38:33 +1200 Subject: [Moin-user] Editing fortune Cookies Message-ID: <4897A109.6080504@4d-electronics.co.nz> Is there a way of putting the output from fortune onto the wiki? rather than using the fortune Cookies page? Thanks Grant From lists.gnarlodious at gmail.com Mon Aug 4 22:13:19 2008 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Mon, 4 Aug 2008 20:13:19 -0600 Subject: [Moin-user] Editing fortune Cookies In-Reply-To: <4897A109.6080504@4d-electronics.co.nz> References: <4897A109.6080504@4d-electronics.co.nz> Message-ID: <3130eec50808041913i13def8a2m9829cda79d3a065d@mail.gmail.com> This site uses a random quote gizmo: http://EliAshbyHealingArts.com/ -- Gnarlie On 8/4/08, Grant McEwan wrote: > Is there a way of putting the output from fortune onto the wiki? rather > than using the fortune Cookies page? > > Thanks > Grant > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From dodecatheon at gmail.com Tue Aug 5 13:19:53 2008 From: dodecatheon at gmail.com (Ted Stern) Date: Tue, 05 Aug 2008 10:19:53 -0700 Subject: [Moin-user] common user homepages In-Reply-To: <1217920826.6865.6.camel@lestat.vampyre.home> (mail@heavy.ch's message of "Tue, 05 Aug 2008 09:20:26 +0200") References: <579D44EC-2003-441C-9091-4B6FAA07E913@gmail.com> <1217920826.6865.6.camel@lestat.vampyre.home> Message-ID: On 05 Aug 2008 00:20:26 -0700, mail at heavy.ch wrote: > > Hi Ted > > Then you need to put your wikies also in the InterWiki Map (search > for intermap.txt in your data dir) like: HeavyWiki http://www.heavy.ch/ > > and also check that you use in your wikiconfig-xy.py the same > interwikiname like: > interwikiname = 'HeavyWiki' > > with the parameter cookie_domain = 'heavy.ch' you could also use a > "single login" for every wiki (only working if you use different > "sub"-domains and not /pathnames for your wikies) see > http://moinmo.in/HelpOnSessions > > bye > Marcel Thanks Marcel, but this is still not quite clear. I have several wikis, run as a farm: http://foo.bar.com/OneWiki/ http://foo.bar.com/TwoWiki/ http://foo.bar.com/ThreeWiki/ http://foo.bar.com/FourWiki/ I set user_homewiki = 'OneWiki' and 'OneWiki' is already an entry in intermap.txt. It seems like I would not want to change the interwiki name for TwoWiki, ThreeWiki or FourWiki, would I? Because then other pages would get screwed up if I tried to link between wikis. When I'm on TwoWiki, how does MoinMoin know that the wiki page TedStern is actually a homepage on OneWiki? It clearly works for my personal homepage when I'm logged in, but I don't see how it can work for other users. If I'm logged in as TedStern, I'd like to be able to click on http://foo.bar.com/FourWiki/JoeUser and be taken directly to http://foo.bar.com/OneWiki/JoeUser instead. Ted > > Am Montag, den 04.08.2008, 11:45 -0700 schrieb Ted Stern: > >> On 01 Aug 2008 21:28:13 -0700, Rick Vanderveer wrote: >> > >> > It sounds like you want the "user_homewiki" directive (I have the same >> > set-up). See http://moinmo.in/HelpOnConfiguration for details. >> > >> >> Thanks Rick, >> >> I've found this and implemented it. >> >> It does about half of what I want: a user's homepage link at the top >> of the page (after login) goes to the central user_homewiki. >> >> However, UserName-type links, such as those you would see in the lists >> in AccessGroup pages, still point to pages on the separate wikis. >> >> The whole point of the exercise is that you want to avoid requiring >> users to enter their HomePage information more than once. >> >> Ted -- Frango ut patefaciam -- I break so that I may reveal From rb.proj at gmail.com Tue Aug 5 14:16:28 2008 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 05 Aug 2008 20:16:28 +0200 Subject: [Moin-user] Doxygen Macro? In-Reply-To: <4894B3D7.6050300@klaasholwerda.nl> References: <4894B3D7.6050300@klaasholwerda.nl> Message-ID: klaas.holwerda schrieb: > Hi, > > I trying to convert to MoinMoin from TWiki, thinking its better and faster. > http://wxart2d.org/moin > > And now i am searching for a solution that link classnames to my > doxygen HTML output. > > http://www.wxart2d.org/twiki/bin/view/TWiki/DoxygenPlugin > > Like in here, the class names are written like %DOX{classname}% > http://www.wxart2d.org/twiki/bin/view/Main/WxArt2DOverView > > What/where should i start for a solution to that. Something with macros > i think. > But i hope there is something out there that i can use more or less, > being a newbie it is overwhelming me. > > Thanks for some advice, > > Klaas > Hi This sounds like you are looking for InterWiki "InterWiki links are a quick way to refer to information in other wikis, without having to remember long or cryptic URLs. To create an InterWiki link, just use the InterWiki name of the foreign wiki, then a colon (:), followed by the name of the page on that wiki." It is not restricted to wikis only! cheers Reimar > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ From ngi at klaasholwerda.nl Tue Aug 5 18:48:21 2008 From: ngi at klaasholwerda.nl (klaas.holwerda) Date: Wed, 06 Aug 2008 00:48:21 +0200 Subject: [Moin-user] Doxygen Macro? In-Reply-To: References: <4894B3D7.6050300@klaasholwerda.nl> Message-ID: <4898D8B5.20905@klaasholwerda.nl> R.Bauer wrote: > klaas.holwerda schrieb: > >> Hi, >> >> I trying to convert to MoinMoin from TWiki, thinking its better and faster. >> http://wxart2d.org/moin >> >> And now i am searching for a solution that link classnames to my >> doxygen HTML output. >> >> http://www.wxart2d.org/twiki/bin/view/TWiki/DoxygenPlugin >> >> Like in here, the class names are written like %DOX{classname}% >> http://www.wxart2d.org/twiki/bin/view/Main/WxArt2DOverView >> >> What/where should i start for a solution to that. Something with macros >> i think. >> But i hope there is something out there that i can use more or less, >> being a newbie it is overwhelming me. >> >> Thanks for some advice, >> >> Klaas >> >> > > Hi > > This sounds like you are looking for InterWiki > > "InterWiki links are a quick way to refer to information in other wikis, > without having to remember long or cryptic URLs. To create an InterWiki > link, just use the InterWiki name of the foreign wiki, then a colon (:), > followed by the name of the page on that wiki." > > It is not restricted to wikis only! > Right that works. And this too: Dependencies = [] generates_headings = False def macro_Dox(macro, arg1): from MoinMoin import wikiutil # arguments passed in can be None or a unicode object html = '''%(arg1)s''' % locals() return macro.request.formatter.rawHTML( html ) But what i am really after is that class names simply become links, without adding something extra. Something like WikiWords become links automatically. I have a list of all class names from Doxygen, and just when i use them in the wiki pages, they should become links. But maybe later :-) Regards, Klaas From mail at heavy.ch Wed Aug 6 06:45:27 2008 From: mail at heavy.ch (mail at heavy.ch) Date: Wed, 06 Aug 2008 12:45:27 +0200 Subject: [Moin-user] common user homepages In-Reply-To: References: <579D44EC-2003-441C-9091-4B6FAA07E913@gmail.com> <1217920826.6865.6.camel@lestat.vampyre.home> Message-ID: <1218019527.11261.7.camel@lestat.vampyre.home> Hi Ted You also need to change the intermap.txt on every wiki's data dir. only edit your "main" intermap.txt is not enough. I'm using symlink for this, so I do have a central intermap.txt file... the config option "shared_intermap" did not working in my config (don't know why). also don't forget to set a interwikiname for every wiki bye Marcel Am Dienstag, den 05.08.2008, 10:19 -0700 schrieb Ted Stern: > On 05 Aug 2008 00:20:26 -0700, mail at heavy.ch wrote: > > > > Hi Ted > > > > Then you need to put your wikies also in the InterWiki Map (search > > for intermap.txt in your data dir) like: HeavyWiki http://www.heavy.ch/ > > > > and also check that you use in your wikiconfig-xy.py the same > > interwikiname like: > > interwikiname = 'HeavyWiki' > > > > with the parameter cookie_domain = 'heavy.ch' you could also use a > > "single login" for every wiki (only working if you use different > > "sub"-domains and not /pathnames for your wikies) see > > http://moinmo.in/HelpOnSessions > > > > bye > > Marcel > > Thanks Marcel, but this is still not quite clear. > > I have several wikis, run as a farm: > > http://foo.bar.com/OneWiki/ > http://foo.bar.com/TwoWiki/ > http://foo.bar.com/ThreeWiki/ > http://foo.bar.com/FourWiki/ > > I set > > user_homewiki = 'OneWiki' > > and 'OneWiki' is already an entry in intermap.txt. It seems like I > would not want to change the interwiki name for TwoWiki, ThreeWiki or > FourWiki, would I? Because then other pages would get screwed up if I > tried to link between wikis. > > When I'm on TwoWiki, how does MoinMoin know that the wiki page > TedStern is actually a homepage on OneWiki? It clearly works for my > personal homepage when I'm logged in, but I don't see how it can work > for other users. If I'm logged in as TedStern, I'd like to be able to > click on > > http://foo.bar.com/FourWiki/JoeUser > > and be taken directly to > > http://foo.bar.com/OneWiki/JoeUser > > instead. > > Ted > > > > > Am Montag, den 04.08.2008, 11:45 -0700 schrieb Ted Stern: > > > >> On 01 Aug 2008 21:28:13 -0700, Rick Vanderveer wrote: > >> > > >> > It sounds like you want the "user_homewiki" directive (I have the same > >> > set-up). See http://moinmo.in/HelpOnConfiguration for details. > >> > > >> > >> Thanks Rick, > >> > >> I've found this and implemented it. > >> > >> It does about half of what I want: a user's homepage link at the top > >> of the page (after login) goes to the central user_homewiki. > >> > >> However, UserName-type links, such as those you would see in the lists > >> in AccessGroup pages, still point to pages on the separate wikis. > >> > >> The whole point of the exercise is that you want to avoid requiring > >> users to enter their HomePage information more than once. > >> > >> Ted > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dodecatheon at gmail.com Wed Aug 6 14:15:03 2008 From: dodecatheon at gmail.com (Ted Stern) Date: Wed, 06 Aug 2008 11:15:03 -0700 Subject: [Moin-user] common user homepages In-Reply-To: <1218019527.11261.7.camel@lestat.vampyre.home> (mail@heavy.ch's message of "Wed, 06 Aug 2008 12:45:27 +0200") References: <579D44EC-2003-441C-9091-4B6FAA07E913@gmail.com> <1217920826.6865.6.camel@lestat.vampyre.home> <1218019527.11261.7.camel@lestat.vampyre.home> Message-ID: On 06 Aug 2008 03:45:27 -0700, mail at heavy.ch wrote: > > Hi Ted > > You also need to change the intermap.txt on every wiki's data > dir. only edit your "main" intermap.txt is not enough. I'm using > symlink for this, so I do have a central intermap.txt file... I did this already, as part of consolidating my farm. > > the config option "shared_intermap" did not working in my config > (don't know why). also don't forget to set a interwikiname for every > wiki Still not clear: I have farmconfig.py, onewiki.py, twowiki.py, etc. What I currently do is set interwikiname = 'OneWiki' in farmconfig.py, but in twowiki.py, threewiki.py, etc., I set interwikiname = 'TwoWiki' or interwikiname = 'ThreeWiki', etc., so that the main page link at the top of the page will work. And I still don't see how this works for links to other user's UserName homepages. Ted > > bye > Marcel > > Am Dienstag, den 05.08.2008, 10:19 -0700 schrieb Ted Stern: > > On 05 Aug 2008 00:20:26 -0700, mail at heavy.ch wrote: > > > > Hi Ted > > > > Then you need to put your wikies also in the InterWiki Map (search > > for intermap.txt in your data dir) like: HeavyWiki http://www.heavy.ch/ > > > > and also check that you use in your wikiconfig-xy.py the same > > interwikiname like: > > interwikiname = 'HeavyWiki' > > > > with the parameter cookie_domain = 'heavy.ch' you could also use a > > "single login" for every wiki (only working if you use different > > "sub"-domains and not /pathnames for your wikies) see > > http://moinmo.in/HelpOnSessions > > > > bye > > Marcel > > Thanks Marcel, but this is still not quite clear. > > I have several wikis, run as a farm: > > http://foo.bar.com/OneWiki/ > http://foo.bar.com/TwoWiki/ > http://foo.bar.com/ThreeWiki/ > http://foo.bar.com/FourWiki/ > > I set > > user_homewiki = 'OneWiki' > > and 'OneWiki' is already an entry in intermap.txt. It seems like I > would not want to change the interwiki name for TwoWiki, ThreeWiki or > FourWiki, would I? Because then other pages would get screwed up if I > tried to link between wikis. > > When I'm on TwoWiki, how does MoinMoin know that the wiki page > TedStern is actually a homepage on OneWiki? It clearly works for my > personal homepage when I'm logged in, but I don't see how it can work > for other users. If I'm logged in as TedStern, I'd like to be able to > click on > > http://foo.bar.com/FourWiki/JoeUser > > and be taken directly to > > http://foo.bar.com/OneWiki/JoeUser > > instead. > > Ted > > > > > Am Montag, den 04.08.2008, 11:45 -0700 schrieb Ted Stern: > > > >> On 01 Aug 2008 21:28:13 -0700, Rick Vanderveer wrote: > >> > > >> > It sounds like you want the "user_homewiki" directive (I have the same > >> > set-up). See http://moinmo.in/HelpOnConfiguration for details. > >> > > >> > >> Thanks Rick, > >> > >> I've found this and implemented it. > >> > >> It does about half of what I want: a user's homepage link at the top > >> of the page (after login) goes to the central user_homewiki. > >> > >> However, UserName-type links, such as those you would see in the lists > >> in AccessGroup pages, still point to pages on the separate wikis. > >> > >> The whole point of the exercise is that you want to avoid requiring > >> users to enter their HomePage information more than once. > >> > >> Ted > -- Frango ut patefaciam -- I break so that I may reveal From webe3vt at aim.com Wed Aug 13 12:58:52 2008 From: webe3vt at aim.com (Brent S. Elmer) Date: Wed, 13 Aug 2008 12:58:52 -0400 Subject: [Moin-user] why do I have to double click 1st link? Message-ID: <1218646732.4939.2.camel@belmer> I have a moinmoin wiki set up. For some reason, when I first go to the wiki, I have to click twice for the first link I go to. After that, one click follows the link. For example, I first go to the wiki and the browser URL looks like this http://profitwiki.xxx.com/profitwiki/ I click on a link called DemandManagement and nothing happens except that the browser URL changes to http://profitwiki.xxx.com/profitwiki//DemandManagement but the link is not opened. I then click on any link and the link will be followed but the browser URL looks like this http://profitwiki.xxx.com/profitwiki//DemandManagement/DemandManagement subsequent clicks on any links follow the link on one click but the URL always starts with http://profitwiki.xxx.com/profitwiki//DemandManagement/ before the link name. If my first click on the wiki is something besides DemandManagement, the same thing happens and that link name is what precedes everything from then on. I don't know what can be causing this behavior or how to fix it. Does anyone have any ideas. From webe3vt at aim.com Wed Aug 13 13:50:55 2008 From: webe3vt at aim.com (Brent S. Elmer) Date: Wed, 13 Aug 2008 13:50:55 -0400 Subject: [Moin-user] why do I have to double click 1st link? In-Reply-To: <20080813170321.GA11841@wmid.amu.edu.pl.edu> References: <1218646732.4939.2.camel@belmer> <20080813170321.GA11841@wmid.amu.edu.pl.edu> Message-ID: <1218649855.7508.14.camel@belmer> On Wed, 2008-08-13 at 19:03 +0200, Radomir Dopieralski wrote: > Wed, Aug 13, 2008 at 12:58:52PM -0400: > > I click on a link called DemandManagement and nothing happens except > > that the browser URL changes to > > > > http://profitwiki.xxx.com/profitwiki//DemandManagement > > [...] > > > I don't know what can be causing this behavior or how to fix it. Does > > anyone have any ideas. > > I think your url rewrite rules may be broken, and > Moin has trouble guessing how much of the url is the page name. > If you mean these lines in farmconfig.py, here is what I have: wikis = [ # Standalone server needs the port e.g. localhost:8000 # Twisted server can now use the port, too. # wikiname, url regular expression (no protocol) # --------------------------------------------------------------- #("profitwiki", r".*"), # this is ok for a single wiki ("profitwiki", r"^profitwiki.xxx.yyy.com/profitwiki/.*$"), ("infrawiki", r"^profitwiki.xxx.yyy.com/infrawiki/.*$"), ("profitwiki", r"^profitwiki/profitwiki/.*$"), ("infrawiki", r"^profitwiki/infrawiki/.*$"), # for multiple wikis, do something like this: #("moinmoin", r"^moinmo.in/.*$"), #("moinmaster", r"^master.moinmo.in/.*$"), ] I have two wikis in the farm(profitwiki and infrawiki). The 2nd pair of lines allow me to not have to enter xxx.yyy.com for the URL since that is in my search path. I tried commenting out the 2nd pair of lines to see if that was the problem. It didn't change anything except that I had to enter the full URL to get to the wiki. /etc/apache2/sites-available/default has the following to make profitwiki the default for the computer: Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place #RedirectMatch ^/$ /apache2-default/ RedirectMatch ^/$ /profitwiki/ With this setup, all I have to enter for the URL in my browser to go to profitwiki the default wiki is profitwiki. From webe3vt at aim.com Thu Aug 14 10:02:28 2008 From: webe3vt at aim.com (Brent S. Elmer) Date: Thu, 14 Aug 2008 10:02:28 -0400 Subject: [Moin-user] Recent Changes don't show Message-ID: <1218722548.16457.4.camel@belmer> Recent changes doesn't show any changes anymore. It also doesn't show the change symbols. I think this just started after upgrading and converting from 1.7.0. I know it used to work. I am running python-moinmoin 1.7.1-1 on a Debian Lenny(testing) system. From webe3vt at aim.com Thu Aug 14 13:55:24 2008 From: webe3vt at aim.com (Brent S. Elmer) Date: Thu, 14 Aug 2008 13:55:24 -0400 Subject: [Moin-user] SOLVED: Recent Changes don't show In-Reply-To: <1218722548.16457.4.camel@belmer> References: <1218722548.16457.4.camel@belmer> Message-ID: <1218736524.3339.9.camel@belmer> The problem was with the underlay. Once I copied the underlay from the new version, Recent Changes worked again. The documentation should mention this somewhere as well as the fact that the data should be migrated after a version upgrade. On Thu, 2008-08-14 at 10:02 -0400, Brent S. Elmer wrote: > Recent changes doesn't show any changes anymore. It also doesn't show > the change symbols. > I think this just started after upgrading and converting from 1.7.0. I > know it used to work. > > I am running python-moinmoin 1.7.1-1 on a Debian Lenny(testing) system. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From tcataldo at bham.lib.al.us Thu Aug 14 14:00:14 2008 From: tcataldo at bham.lib.al.us (Tobin Cataldo) Date: Thu, 14 Aug 2008 13:00:14 -0500 Subject: [Moin-user] SOLVED: Recent Changes don't show In-Reply-To: <1218736524.3339.9.camel@belmer> References: <1218722548.16457.4.camel@belmer> <1218736524.3339.9.camel@belmer> Message-ID: <48A472AE.6010208@bham.lib.al.us> http://moinmo.in/HelpOnUpdating Brent S. Elmer wrote: > The problem was with the underlay. Once I copied the underlay from the > new version, Recent Changes worked again. The documentation should > mention this somewhere as well as the fact that the data should be > migrated after a version upgrade. > > On Thu, 2008-08-14 at 10:02 -0400, Brent S. Elmer wrote: > >> Recent changes doesn't show any changes anymore. It also doesn't show >> the change symbols. >> I think this just started after upgrading and converting from 1.7.0. I >> know it used to work. >> >> I am running python-moinmoin 1.7.1-1 on a Debian Lenny(testing) system. >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > From brian.omahony at curamsoftware.com Fri Aug 15 05:49:21 2008 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Fri, 15 Aug 2008 10:49:21 +0100 Subject: [Moin-user] Migrating from 0.11 Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> I have been managing a number of linux servers here at work for a few months. I have to retire some of them, and while auditing what was running on these machines, I have found a number of very old wikis. Unfortunately these are still being used. The wiki version is 0.11. On another server, I have wiki version 1.51 running. I want to migrate the data from the old version to the new version. However, the format is completely different! In 0.11 it uses flat text in a 'text' folder, and in 1.51 it uses a data folder with sub folders. Ive been reading the documentation, and everything I read says copy over your data folder. Unfortunately for me, there is no data folder..... Is there anyway to migrate all this data? B The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Fri Aug 15 07:53:01 2008 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 15 Aug 2008 13:53:01 +0200 Subject: [Moin-user] Migrating from 0.11 In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> Message-ID: <1218801181.6192.25.camel@black.firma.waldmann-edv.de> > The wiki version is 0.11. Ugh, stuff from stone-age. :) > On another server, I have wiki version 1.51 running. I want to migrate > the data from the old version to the new version. I suggest you first migrate the 1.5.1 one to 1.5.9 - that should be rather easy (and that is the latest and last version of the now unsupported 1.5.x series). See docs/CHANGES and docs/README.migration. > However, the format is completely different! In 0.11 it uses flat text > in a ?text? folder, and in 1.51 it uses a data folder with sub > folders. 0.11 is long ago and maybe even predates my joining of moin development, but when you look at e.g. 1.2.4, it has a data/text directory with just 1 file per page in it, named like the page title. Users are stored in data/user directory. So, to break that big version leap into smaller parts, you could first try upgrading 0.11 to 1.2.4 (should be easy). Then have some short testing. If it looks ok, you can upgrade to 1.5.9 and start using docs/README.migration (going to 1.3 and beyond from 1.2 is non-trivial) - you will have to use all the mig scripts as documented there. Later (in the near future :), if you have some more time, it is strongly recommended to upgrade all your 1.5.9 wikis to the current release (currently that is 1.7.1). But going from 1.5.x to 1.6 (or beyond) takes a bit time and is non-trivial. Please note that the mig scripts just care for your own pages/users. For the config changes, you'll have to read CHANGES and do them manually. Also you will have to upgrade the cgi adaptor script, system/help pages and static "htdocs" file manually. If you need support, contact me by email. > Is there anyway to migrate all this data? Sure. :) And it is a bit easier if one updates the wikis a bit more often, so one does not have to read some "meters" of CHANGES or other documentation. ;) From brian.omahony at curamsoftware.com Fri Aug 15 08:04:23 2008 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Fri, 15 Aug 2008 13:04:23 +0100 Subject: [Moin-user] Migrating from 0.11 In-Reply-To: <1218801181.6192.25.camel@black.firma.waldmann-edv.de> References: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> <1218801181.6192.25.camel@black.firma.waldmann-edv.de> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F6C@MAIL06.curamsoftware.com> Problem is, I wont be able to upgrade to 1.5.9 - it?s a live environment, with other things running on the server. Ill have a look into upgrading from .11 to 1.2.4, but was hoping there was some easier way. I guess .11 is so archaic no-one else has done this. Due to time constraints I may just have to install .11 on the new server and just run with that. :( Thanks for the info.... -----Original Message----- From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Thomas Waldmann Sent: 15 August 2008 12:53 To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Migrating from 0.11 > The wiki version is 0.11. Ugh, stuff from stone-age. :) > On another server, I have wiki version 1.51 running. I want to migrate > the data from the old version to the new version. I suggest you first migrate the 1.5.1 one to 1.5.9 - that should be rather easy (and that is the latest and last version of the now unsupported 1.5.x series). See docs/CHANGES and docs/README.migration. > However, the format is completely different! In 0.11 it uses flat text > in a ?text? folder, and in 1.51 it uses a data folder with sub > folders. 0.11 is long ago and maybe even predates my joining of moin development, but when you look at e.g. 1.2.4, it has a data/text directory with just 1 file per page in it, named like the page title. Users are stored in data/user directory. So, to break that big version leap into smaller parts, you could first try upgrading 0.11 to 1.2.4 (should be easy). Then have some short testing. If it looks ok, you can upgrade to 1.5.9 and start using docs/README.migration (going to 1.3 and beyond from 1.2 is non-trivial) - you will have to use all the mig scripts as documented there. Later (in the near future :), if you have some more time, it is strongly recommended to upgrade all your 1.5.9 wikis to the current release (currently that is 1.7.1). But going from 1.5.x to 1.6 (or beyond) takes a bit time and is non-trivial. Please note that the mig scripts just care for your own pages/users. For the config changes, you'll have to read CHANGES and do them manually. Also you will have to upgrade the cgi adaptor script, system/help pages and static "htdocs" file manually. If you need support, contact me by email. > Is there anyway to migrate all this data? Sure. :) And it is a bit easier if one updates the wikis a bit more often, so one does not have to read some "meters" of CHANGES or other documentation. ;) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. From tw-public at gmx.de Fri Aug 15 08:36:44 2008 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 15 Aug 2008 14:36:44 +0200 Subject: [Moin-user] Migrating from 0.11 In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F6C@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> <1218801181.6192.25.camel@black.firma.waldmann-edv.de> <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F6C@MAIL06.curamsoftware.com> Message-ID: <1218803804.6192.59.camel@black.firma.waldmann-edv.de> > Problem is, I wont be able to upgrade to 1.5.9 - it?s a live environment, with other things running on the server. Hmm, I don't see the problem. If you have to be extremely careful due to "mission critical or 24/7" requirements, you can setup a test wiki in parallel and first try the stuff there. With rather recent moins (e.g. 1.7.1), trying something separate gets rather trivial because you just have to start ./wikiserver.py to have a running wiki. No server setup required. > Ill have a look into upgrading from .11 to 1.2.4, but was hoping there was some easier way. It's not a question of easier or more complicated. It is just the question if you / your wiki users can manage a really big leap in one go or prefer to do 2 or 3 smaller leaps. 1.3 and 1.6 are kind of "boundaries" where bigger changes happened (but all have migration script support). In the end, the total effort to go from 0.11 to 1.2.4 to 1.5.9 is only slightly more than when going from 0.11 to 1.5.9. > I guess .11 is so archaic no-one else has done this. I am sure many moin users have successfully done that step - about 6 or 7 years ago. :D > Due to time constraints I may just have to install .11 on the new server and just run with that. As already offered, I can help. I think it would just create an even bigger problem in the future if you keep the stoneage stuff for longer. And I also guess nobody tested 0.11 on python 2.3, 2.4, 2.5 (although that might be not a big problem because newer pythons are usually compatible to older ones). And of course newer moins tend to have some bugs fixed that the older stuff had and also some nice features you might like. From rick.vanderveer at gmail.com Fri Aug 15 11:16:04 2008 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Fri, 15 Aug 2008 10:16:04 -0500 Subject: [Moin-user] SOLVED: Recent Changes don't show In-Reply-To: <1218736524.3339.9.camel@belmer> References: <1218722548.16457.4.camel@belmer> <1218736524.3339.9.camel@belmer> Message-ID: <5c39e1ca0808150816o124279e1k86cf079e474ec7d9@mail.gmail.com> heh-heh, rookie! ;-) Seriously, I think we've all been bitten at least once by this, by forgetting this step. (Well, everyone except for maybe Thomas! heh-heh!). -Rick On Thu, Aug 14, 2008 at 12:55 PM, Brent S. Elmer wrote: > The problem was with the underlay. Once I copied the underlay from the > new version, Recent Changes worked again. The documentation should > mention this somewhere as well as the fact that the data should be > migrated after a version upgrade. > > On Thu, 2008-08-14 at 10:02 -0400, Brent S. Elmer wrote: >> Recent changes doesn't show any changes anymore. It also doesn't show >> the change symbols. >> I think this just started after upgrading and converting from 1.7.0. I >> know it used to work. >> >> I am running python-moinmoin 1.7.1-1 on a Debian Lenny(testing) system. >> >> >> From rick.vanderveer at gmail.com Fri Aug 15 11:33:42 2008 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Fri, 15 Aug 2008 10:33:42 -0500 Subject: [Moin-user] Migrating from 0.11 In-Reply-To: <1218803804.6192.59.camel@black.firma.waldmann-edv.de> References: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> <1218801181.6192.25.camel@black.firma.waldmann-edv.de> <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F6C@MAIL06.curamsoftware.com> <1218803804.6192.59.camel@black.firma.waldmann-edv.de> Message-ID: <5c39e1ca0808150833l6af4f430n3ef76cb0c83b0578@mail.gmail.com> Just to second what Thomas already said; upgrading to the later versions of Moin is worth it. Each new release get successively more features that are not only nicer and more powerful for your users, but also nicer and more powerful for you as the admin. Rather than mucking with a "live" wiki server, I suggest setting up a virtual machine (a free player from VMware or Virtualbox.org) and duplicating your wiki onto that. You can then take your time upgrading, breaking, and fixing on that, getting everything working. Once done, you can transfer everything back (after upgrading, of course). -Rick On Fri, Aug 15, 2008 at 7:36 AM, Thomas Waldmann wrote: >> Problem is, I wont be able to upgrade to 1.5.9 - it's a live environment, with other things running on the server. > > Hmm, I don't see the problem. > > If you have to be extremely careful due to "mission critical or 24/7" > requirements, you can setup a test wiki in parallel and first try the > stuff there. > > With rather recent moins (e.g. 1.7.1), trying something separate gets > rather trivial because you just have to start ./wikiserver.py to have a > running wiki. No server setup required. > >> Ill have a look into upgrading from .11 to 1.2.4, but was hoping there was some easier way. > > It's not a question of easier or more complicated. It is just the > question if you / your wiki users can manage a really big leap in one go > or prefer to do 2 or 3 smaller leaps. > > 1.3 and 1.6 are kind of "boundaries" where bigger changes happened (but > all have migration script support). > > In the end, the total effort to go from 0.11 to 1.2.4 to 1.5.9 is only > slightly more than when going from 0.11 to 1.5.9. > >> I guess .11 is so archaic no-one else has done this. > > I am sure many moin users have successfully done that step - about 6 or > 7 years ago. :D > >> Due to time constraints I may just have to install .11 on the new server and just run with that. > > As already offered, I can help. > > I think it would just create an even bigger problem in the future if you > keep the stoneage stuff for longer. > > And I also guess nobody tested 0.11 on python 2.3, 2.4, 2.5 (although > that might be not a big problem because newer pythons are usually > compatible to older ones). > > And of course newer moins tend to have some bugs fixed that the older > stuff had and also some nice features you might like. > > > From brian.omahony at curamsoftware.com Fri Aug 15 11:47:10 2008 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Fri, 15 Aug 2008 16:47:10 +0100 Subject: [Moin-user] Migrating from 0.11 In-Reply-To: <5c39e1ca0808150833l6af4f430n3ef76cb0c83b0578@mail.gmail.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> <1218801181.6192.25.camel@black.firma.waldmann-edv.de> <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F6C@MAIL06.curamsoftware.com> <1218803804.6192.59.camel@black.firma.waldmann-edv.de> <5c39e1ca0808150833l6af4f430n3ef76cb0c83b0578@mail.gmail.com> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3D215A22009@MAIL06.curamsoftware.com> What do I need to copy over to replicate the wiki? I have a test VM up and running at the moment.... -----Original Message----- From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Rick Vanderveer Sent: 15 August 2008 16:34 To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Migrating from 0.11 Just to second what Thomas already said; upgrading to the later versions of Moin is worth it. Each new release get successively more features that are not only nicer and more powerful for your users, but also nicer and more powerful for you as the admin. Rather than mucking with a "live" wiki server, I suggest setting up a virtual machine (a free player from VMware or Virtualbox.org) and duplicating your wiki onto that. You can then take your time upgrading, breaking, and fixing on that, getting everything working. Once done, you can transfer everything back (after upgrading, of course). -Rick On Fri, Aug 15, 2008 at 7:36 AM, Thomas Waldmann wrote: >> Problem is, I wont be able to upgrade to 1.5.9 - it's a live environment, with other things running on the server. > > Hmm, I don't see the problem. > > If you have to be extremely careful due to "mission critical or 24/7" > requirements, you can setup a test wiki in parallel and first try the > stuff there. > > With rather recent moins (e.g. 1.7.1), trying something separate gets > rather trivial because you just have to start ./wikiserver.py to have a > running wiki. No server setup required. > >> Ill have a look into upgrading from .11 to 1.2.4, but was hoping there was some easier way. > > It's not a question of easier or more complicated. It is just the > question if you / your wiki users can manage a really big leap in one go > or prefer to do 2 or 3 smaller leaps. > > 1.3 and 1.6 are kind of "boundaries" where bigger changes happened (but > all have migration script support). > > In the end, the total effort to go from 0.11 to 1.2.4 to 1.5.9 is only > slightly more than when going from 0.11 to 1.5.9. > >> I guess .11 is so archaic no-one else has done this. > > I am sure many moin users have successfully done that step - about 6 or > 7 years ago. :D > >> Due to time constraints I may just have to install .11 on the new server and just run with that. > > As already offered, I can help. > > I think it would just create an even bigger problem in the future if you > keep the stoneage stuff for longer. > > And I also guess nobody tested 0.11 on python 2.3, 2.4, 2.5 (although > that might be not a big problem because newer pythons are usually > compatible to older ones). > > And of course newer moins tend to have some bugs fixed that the older > stuff had and also some nice features you might like. > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. From gerg.ward+moin at gmail.com Fri Aug 15 12:07:04 2008 From: gerg.ward+moin at gmail.com (Greg Ward) Date: Fri, 15 Aug 2008 12:07:04 -0400 Subject: [Moin-user] Multiple requests from Firefox Message-ID: <20080815160704.GA31383@intelerad.com> I have just noticed some rather strange behaviour when using Firefox to access a MoinMoin wiki: Firefox sends the GET request 2, 3, or even 4 times. (I'm trying various versions of Firefox and various versions of MoinMoin, so do not have entirely consistent results.) For example, I have MoinMoin 1.7.1 running on my workstation with a test copy of our production wiki. (I'm testing the upgrade from 1.5.8 to 1.7.1.) Everything is going through Apache and moin.cgi to keep it simple. The only change to my Apache config: Alias /wiki/ "/scratch/mywiki/htdocs/" ScriptAlias /mywiki "/scratch/mywiki/cgi-bin/moin.cgi" If I load http://hostname/mywiki/FrontPage in Firefox (e.g. enter the URL in the address bar), then Apache's access_log records [11:04:26 -0400] "GET /icons/logo.jpg HTTP/1.1" 404 284 [11:04:26 -0400] "GET /mywiki/FrontPage HTTP/1.1" 200 25171 [11:04:26 -0400] "GET /mywiki/FrontPage HTTP/1.1" 200 25171 [11:04:27 -0400] "GET /mywiki/FrontPage HTTP/1.1" 200 25171 [11:04:28 -0400] "GET /mywiki/FrontPage HTTP/1.1" 200 25171 (That's trimmed for readability: yes, it logs the exact same User-Agent for every request, and no, nobody else is hitting the web server on my workstation as I do this.) Just to see if my version of Firefox is completely broken, I hit some static pages and other CGI scripts also on my workstation, and it only requests them once each. I also upgraded from Firefox 2.0.0.11 to 2.0.0.16, and it behaves the same. (Alas, 3.0 did not work for me: need to upgrade my OS, as I'm running a very out-of-date Fedora.) And, oh yeah, Opera acts correctly. Anyways, this sure feels to me like a Firefox problem that is in some way being tickled by MoinMoin. Was wondering if anyone else has seen similar behaviour. Thanks -- Greg From fdrake at gmail.com Fri Aug 15 12:16:33 2008 From: fdrake at gmail.com (Fred Drake) Date: Fri, 15 Aug 2008 12:16:33 -0400 Subject: [Moin-user] Multiple requests from Firefox In-Reply-To: <20080815160704.GA31383@intelerad.com> References: <20080815160704.GA31383@intelerad.com> Message-ID: <9cee7ab80808150916i526d9fa1lf56f32d3abd1d31e@mail.gmail.com> On Fri, Aug 15, 2008 at 12:07 PM, Greg Ward wrote: > I have just noticed some rather strange behaviour when using Firefox to > access a MoinMoin wiki: Firefox sends the GET request 2, 3, or even 4 > times. (I'm trying various versions of Firefox and various versions of > MoinMoin, so do not have entirely consistent results.) Hey Greg! I just checked a personal wiki I have with Apache configured similarly, but using Moin 1.5.2. I'm only seeing one entry in the access log for each page. Are you using a funky theme that does weird JavaScripty stuff? -Fred -- Fred L. Drake, Jr. "Chaos is the score upon which reality is written." --Henry Miller From rick.vanderveer at gmail.com Fri Aug 15 15:16:02 2008 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Fri, 15 Aug 2008 14:16:02 -0500 Subject: [Moin-user] Migrating from 0.11 In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3D215A22009@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F2E@MAIL06.curamsoftware.com> <1218801181.6192.25.camel@black.firma.waldmann-edv.de> <86E8DA9E18BC2344BD0218BF23C88DF3D215A21F6C@MAIL06.curamsoftware.com> <1218803804.6192.59.camel@black.firma.waldmann-edv.de> <5c39e1ca0808150833l6af4f430n3ef76cb0c83b0578@mail.gmail.com> <86E8DA9E18BC2344BD0218BF23C88DF3D215A22009@MAIL06.curamsoftware.com> Message-ID: <5c39e1ca0808151216u501af115y92374ca962344b1f@mail.gmail.com> I would start by building the VM to match as closely as possible the original Moin set up. This would include the same version of Python (which I assume shouldn't be too hard to get). And the same version of Moin. Hopefully you have a backup of the original install package laying about somewhere, as I don't see anything going back that far anywhere on the Moin site. If you don't , then you may have to fake it a bit. You can try manually copying things into the right places, but who knows what the structure was like back then. Today, a lot of the moin code lives within the \python\share and \python\Lib\site-packages directories (maybe it's similar). Then, you'll have the data (where the pages are) directory outside of that. -Rick On Fri, Aug 15, 2008 at 10:47 AM, Brian O'Mahony wrote: > What do I need to copy over to replicate the wiki? I have a test VM up and running at the moment.... > > -----Original Message----- > From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Rick Vanderveer > Sent: 15 August 2008 16:34 > To: moin-user at lists.sourceforge.net > Subject: Re: [Moin-user] Migrating from 0.11 > > Just to second what Thomas already said; upgrading to the later > versions of Moin is worth it. Each new release get successively more > features that are not only nicer and more powerful for your users, but > also nicer and more powerful for you as the admin. > > Rather than mucking with a "live" wiki server, I suggest setting up a > virtual machine (a free player from VMware or Virtualbox.org) and > duplicating your wiki onto that. You can then take your time > upgrading, breaking, and fixing on that, getting everything working. > Once done, you can transfer everything back (after upgrading, of > course). > > -Rick > > > > > > On Fri, Aug 15, 2008 at 7:36 AM, Thomas Waldmann wrote: >>> Problem is, I wont be able to upgrade to 1.5.9 - it's a live environment, with other things running on the server. >> >> Hmm, I don't see the problem. >> >> If you have to be extremely careful due to "mission critical or 24/7" >> requirements, you can setup a test wiki in parallel and first try the >> stuff there. >> >> With rather recent moins (e.g. 1.7.1), trying something separate gets >> rather trivial because you just have to start ./wikiserver.py to have a >> running wiki. No server setup required. >> >>> Ill have a look into upgrading from .11 to 1.2.4, but was hoping there was some easier way. >> >> It's not a question of easier or more complicated. It is just the >> question if you / your wiki users can manage a really big leap in one go >> or prefer to do 2 or 3 smaller leaps. >> >> 1.3 and 1.6 are kind of "boundaries" where bigger changes happened (but >> all have migration script support). >> >> In the end, the total effort to go from 0.11 to 1.2.4 to 1.5.9 is only >> slightly more than when going from 0.11 to 1.5.9. >> >>> I guess .11 is so archaic no-one else has done this. >> >> I am sure many moin users have successfully done that step - about 6 or >> 7 years ago. :D >> >>> Due to time constraints I may just have to install .11 on the new server and just run with that. >> >> As already offered, I can help. >> >> I think it would just create an even bigger problem in the future if you >> keep the stoneage stuff for longer. >> >> And I also guess nobody tested 0.11 on python 2.3, 2.4, 2.5 (although >> that might be not a big problem because newer pythons are usually >> compatible to older ones). >> >> And of course newer moins tend to have some bugs fixed that the older >> stuff had and also some nice features you might like. >> >> >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > The information in this email is confidential and may be legally privileged. > It is intended solely for the addressee. Access to this email by anyone else > is unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. If you are not the intended > addressee please contact the sender and dispose of this e-mail. Thank you. > > From ngi at klaasholwerda.nl Fri Aug 15 18:15:20 2008 From: ngi at klaasholwerda.nl (klaas.holwerda) Date: Sat, 16 Aug 2008 00:15:20 +0200 Subject: [Moin-user] certain words link to Message-ID: <48A5FFF8.20204@klaasholwerda.nl> Hi, Somehow i constantly arrive at the same point of needing something which links specific words to an Url. Like when in a page there is wxWidgest, i like it to point to that site. I tried with InterTwiki, but it need two parameters. So if in the InterTwikiMap i have: wxWidgest http:/www.wxwidgets.org I would need to type wxWidgets:somepage. And that i do not want. I can live with typing wxWidgets: but that does not work, it wants something extra. What can i do to have a simple way to do this. I like to prevent to type full Url in pages all the time. I would like it to be the same as a TwikiWord, but not link to a Topic/Page, but to an Url. But if that is not possible, it should be something simple to add to words to make it take it from some alias/InterWiki map. e.g alias:wxWidgest alias:wxLua Will render the Url from the alias Map. Ideas Welcome, Klaas From tw-public at gmx.de Sat Aug 16 13:43:49 2008 From: tw-public at gmx.de (Thomas Waldmann) Date: Sat, 16 Aug 2008 19:43:49 +0200 Subject: [Moin-user] certain words link to In-Reply-To: <48A5FFF8.20204@klaasholwerda.nl> References: <48A5FFF8.20204@klaasholwerda.nl> Message-ID: <48A711D5.5030001@gmx.de> > Somehow i constantly arrive at the same point of needing something which > links specific words to an Url. Maybe not exactly what you want, but doable: Just use [[wxWidgets]], create that page and write everything you like on it, including a link to their homepage. > I would like it to be the same as a TwikiWord, ... Did you ever use TWiki? :D From ngi at klaasholwerda.nl Sat Aug 16 19:01:54 2008 From: ngi at klaasholwerda.nl (klaas.holwerda) Date: Sun, 17 Aug 2008 01:01:54 +0200 Subject: [Moin-user] certain words link to In-Reply-To: <48A711D5.5030001@gmx.de> References: <48A5FFF8.20204@klaasholwerda.nl> <48A711D5.5030001@gmx.de> Message-ID: <48A75C62.5080106@klaasholwerda.nl> Thomas Waldmann wrote: >> I would like it to be the same as a TwikiWord, ... >> > > Did you ever use TWiki? :D > Right, that is where i came from, and they do have that alias system :-( And lots of other things, still i like Moinmoin more, its just so much easier to setup, and maintain. But still an alias system would be handy to have in Moinmoin :-) But i think i just need to write a macro to do it. Your trick with a page in between i use now. But in fact i would like to use such alias not just for sites, but for classnames, functions etc. to be linked directly to the right doxygen documentation. I now constantly need to type <>, and since the wiki is about documenting the C++ library, that becomes a bit to much. It would be much easier to just have this done automatically. Klaas > > From kai at aplteam.com Mon Aug 18 02:31:37 2008 From: kai at aplteam.com (kai at aplteam.com) Date: Mon, 18 Aug 2008 08:31:37 +0200 Subject: [Moin-user] Upgrade 1.5.5 to 1.6: URLs do not work Message-ID: <99f673360808172331x4f51763akbe86e742b511ece@mail.gmail.com> I tried a 1.7.1 installation on my desktop, worked fine, and decided to migrate in two steps: >From 1.5.5 to 1.6 and then to 1.7.1 To make the matter more interesting I also decided to get away from IIS and use Apache. It took very little to get Apache installed/configured/running. After doing some small changes to my moin.cgi and my wikiconfi.py I can see the Frontpage of my wiki already: http://aplteam2.com/aplwiki I am not exactly surprised that the links on the FrontPage are broken - I did not run the migration scripts so far. But I would expect that entering the URL http://aplteam2.com/aplwiki/KaiJaeger would display my homepage. Instead I get an Not Found - The requested URL /aplwiki/KaiJaeger was not found on this server. That should work, shouldn't it? Advice is very welcome. Kai From tw-public at gmx.de Mon Aug 18 08:17:44 2008 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 18 Aug 2008 14:17:44 +0200 Subject: [Moin-user] Upgrade 1.5.5 to 1.6: URLs do not work In-Reply-To: <99f673360808172331x4f51763akbe86e742b511ece@mail.gmail.com> References: <99f673360808172331x4f51763akbe86e742b511ece@mail.gmail.com> Message-ID: <48A96868.8020200@gmx.de> > I tried a 1.7.1 installation on my desktop, worked fine, and decided > to migrate in two steps: >>From 1.5.5 to 1.6 and then to 1.7.1 That's not required, you can also go from 1.5.x to 1.7.x directly. > To make the matter more interesting I also decided to get away from > IIS and use Apache. > > It took very little to get Apache installed/configured/running. After > doing some small changes to my moin.cgi Maybe try mod_wsgi (if you are using Windows, you won't be able to use daemon mode, but embedded mode is still better than using CGI). > But I would expect that entering the URL > http://aplteam2.com/aplwiki/KaiJaeger > would display my homepage. Instead I get an > Not Found - The requested URL /aplwiki/KaiJaeger was not found on > this server. > > That should work, shouldn't it? Yes. Likely something in your setup is wrong, maybe in your apache config. From cpghost at cordula.ws Mon Aug 18 09:34:57 2008 From: cpghost at cordula.ws (cpghost) Date: Mon, 18 Aug 2008 15:34:57 +0200 Subject: [Moin-user] Displaying HTML source code as attachment In-Reply-To: References: Message-ID: <20080818133456.GA53546@epia-2.farid-hajji.net> >> Date: Wed, 23 Jul 2008 21:52:10 +0200 >> From: cpghost >> Subject: [Moin-user] Displaying HTML source code as attachment >> >> Hello, >> >> after upgrading from MoinMoin 1.5.8 to 1.7.0, files ending >> with .html (and .xml), attached with {{attachment:file.html}} >> don't appear as source code anymore, but are rendered by the >> browser. >> >> Is there a way to turn off this behavior and revert back to >> the old way of displaying the content of those files as >> plain boring text/plain inline attachment (short of renaming >> them by appending a .txt as in file.html.txt which I'd prefer >> to avoid)? >> >> I've tried to add the following to the file >> $PYTHON_PATH/site-packages/MoinMoin/wikiutil.py >> but while it works for the additional extensions >> like '.dat', '.cxx' etc. it doesn't work for '.html' >> nor '.xml': >> >> MIMETYPES_MORE = { >> # ... >> '.dat': 'text/plain', >> '.cxx': 'text/x-c++src', >> '.i': 'text/x-c++src', >> '.schema': 'text/plain', >> '.rpy': 'text/x-python', >> '.wsgi': 'text/x-python', >> '.php': 'text/plain', # see MIMETYPES_sanitize_mapping >> '.html': 'text/plain', # don't render as HTML! (won't work) >> '.xml': 'text/plain', # don't render as HTML! (won't work) >> } >> >> MIMETYPES_sanitize_mapping = { >> # ... >> ('application', 'x-httpd-php'): ('text', 'plain'), >> ('text', 'html'): ('text', 'plain'), # (won't work) >> } > > Date: Thu, 24 Jul 2008 15:33:39 +0200 > From: Thomas Waldmann > Subject: Re: [Moin-user] Displaying HTML source code as attachment > >> after upgrading from MoinMoin 1.5.8 to 1.7.0, > > BTW (unrelated to your post) 1.7.1 is out. Thanks. Since I'm using a set of patches to MoinMoin itself (not only in $INSTANCE_HOME) to generate LaTeX, I'm a bit slow to catch up... ;) > > files ending > > with .html (and .xml), attached with {{attachment:file.html}} > > don't appear as source code anymore, but are rendered by the > > browser. > > Moin 1.5 didn't have that syntax. > > {{...}} means transclude ("render here") > [[...]] means link. You're right. I meant 'attachment:file.html' without the curlies before 1.7.0 and {{attachment:file.html}} for transcludes with 1.7.X... > > Is there a way to turn off this behavior and revert back to > > the old way of displaying the content of those files as > > plain boring text/plain inline attachment (short of renaming > > them by appending a .txt as in file.html.txt which I'd prefer > > to avoid)? > > Well, appending .txt might be the only way currently, because it detects > the mimetype from the suffix (and then, also sends that mimetype to the > browser). > > Of course you can use a parser section / pre section and paste the stuff > there, but maybe you don't want to handle it that way. What I've done for now is this: In $INSTANCE_HOME/data/plugin/parser, I've added a file html.py which contains this: ---------------- BEGIN html.py ------------------------------------------ # -*- coding: iso-8859-1 -*- Dependencies = [] class Parser: """ Send plain text in a HTML
 element.
    """

    extensions = ['.html']
    Dependencies = []

    def __init__(self, raw, request, **kw):
        self.raw = raw
        self.request = request
        self.form = request.form
        self._ = request.getText

    def format(self, formatter):
        """ Send the text. """
        self.request.write(formatter.preformatted(1))
        self.request.write(formatter.text(self.raw.expandtabs()))
        self.request.write(formatter.preformatted(0))

---------------- END html.py ------------------------------------------

It does work quite well...

> > I've tried to add the following to the file
> > $PYTHON_PATH/site-packages/MoinMoin/wikiutil.py
> > but while it works for the additional extensions
> > like '.dat', '.cxx' etc. it doesn't work for '.html'
> > nor '.xml':
> > 
> > MIMETYPES_MORE = {
> >   # ...
> >   '.dat': 'text/plain',
> >   '.cxx': 'text/x-c++src',
> >   '.i': 'text/x-c++src',
> >   '.schema': 'text/plain',
> >   '.rpy': 'text/x-python',
> >   '.wsgi': 'text/x-python',
> >   '.php': 'text/plain',   # see MIMETYPES_sanitize_mapping
> >   '.html': 'text/plain',  # don't render as HTML! (won't work)
> >   '.xml': 'text/plain',   # don't render as HTML! (won't work)
> > }
> > 
> > MIMETYPES_sanitize_mapping = {
> >   # ...
> >   ('application', 'x-httpd-php'): ('text', 'plain'),
> >   ('text', 'html'): ('text', 'plain'), # (won't work)
> > }
> 
> That SHOULD work. Did you restart moin after changing configuration?

Yes, of course I did that. But it was useless...

> Your python version?

2.5.2

Anyway, using a custom parser for '.html' that renders preformatted
text solved the problem quite nicely. ;)

Thanks again,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



From rjt-moin at thegrindstone.me.uk  Mon Aug 18 10:22:39 2008
From: rjt-moin at thegrindstone.me.uk (Richard Taylor)
Date: Mon, 18 Aug 2008 15:22:39 +0100
Subject: [Moin-user] openid problem: OpenID error: return_to does not match
	return URL
Message-ID: <48A985AF.40108@thegrindstone.me.uk>

Hi

I am trying to get OpenID working on the PyConUK conference wiki 
(http://www.pyconuk.org/community).

I am using:
	moin-1.7.1
	python-openid-2.1.1 (I tried python-openid-2.2.1 as well but got the 
same error)


If I set an OpenID association with an existing user through the 
preferences page I can login with the OpenID OK. However when I attempt 
to login with a new OpenID and create a new user name or associate with 
an existing user name I get the following error after I click on 'Choose 
this name" on the page: 
http://www.pyconuk.org/community?action=login&login=1&oidstage=1&stage=openid...

"""
OpenID error: return_to does not match return URL. Expected 		
'http://www.pyconuk.org/community?action=login&login=1&oidstage=1&stage=openid', 
got 
u'http://www.pyconuk.org/community?action=login&login=1&oidstage=1&stage=openid&janrain_nonce=2008-08-18T14%3A09%3A14ZLZE5ly&openid1_claimed_id=http%3A%2F%2Fclaimid.com%2Fhippy'.
"""

I have tracked down where the error is generated from but I do not 
understand why the problem is occurring:

	openid/consumer/consumer.py:

	    def _verifyReturnToArgs(query):
		...
	        # Make sure all non-OpenID arguments in the response are also
	        # in the signed return_to.
		bare_args = message.getArgs(BARE_NS)
         	for pair in bare_args.iteritems():
             		if pair not in parsed_args:
                 		raise ProtocolError("Parameter %s not in return_to 
URL" % (pair[0],))

This produces the error: "Parameter username not in return_to URL".


Can anyone suggest what might be the problem?

Regards

Richard



From steveo at syslang.net  Mon Aug 18 10:42:39 2008
From: steveo at syslang.net (Steven W. Orr)
Date: Mon, 18 Aug 2008 10:42:39 -0400 (EDT)
Subject: [Moin-user] ACL question to eliminate anonymous mods.
Message-ID: 

I'm the admin and I'd like to set something so that no one is allowed to 
modify any page unless they are logged in. (I hope this isn't an unusual 
idea.) I think that by doing something with

+Known and -All

I should be able to do this.

Can someone please tell me what to do and where to do it? Sorry if I'm 
being dense.

Thanks.

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



From rjt-moin at thegrindstone.me.uk  Mon Aug 18 11:38:05 2008
From: rjt-moin at thegrindstone.me.uk (Richard Taylor)
Date: Mon, 18 Aug 2008 16:38:05 +0100
Subject: [Moin-user] ACL question to eliminate anonymous mods.
In-Reply-To: 
References: 
Message-ID: <48A9975D.4000807@thegrindstone.me.uk>

Steven

I have not tried it but I would think that:

acl_rights_default = u'Known:read,write,delete,revert All:read'

in your wikiconfig.py should do the trick.

Richard


Steven W. Orr wrote:
> I'm the admin and I'd like to set something so that no one is allowed to 
> modify any page unless they are logged in. (I hope this isn't an unusual 
> idea.) I think that by doing something with
> 
> +Known and -All
> 
> I should be able to do this.
> 
> Can someone please tell me what to do and where to do it? Sorry if I'm 
> being dense.
> 
> Thanks.
> 




From zhangchunlin at gmail.com  Tue Aug 19 04:15:22 2008
From: zhangchunlin at gmail.com (Chunlin Zhang)
Date: Tue, 19 Aug 2008 16:15:22 +0800
Subject: [Moin-user] Who can help me with Single Sign-on in Moinmoin with
	Mantis?
Message-ID: 

I just modify "wiki_dokuwiki_api.php" of Mantis to a 
"wiki_moinmoin_api.php" so that I can integrate moinmoin with mantis.
See the attached file and you can use it as a patch of mantis if you want.

But how can I make them Single Sign-On?
I saw the 
http://www.mantisbt.org/wiki/doku.php/mantisbt:issue:7075:integration_with_dokuwiki#authentication_single_sign-on 
  ,but I do not know much php,and 
http://moinmo.in/HelpOnAuthentication#line-87 ,but there is not some 
example to refer.

Is there someone have some experience with this situation?
Or give me some advice.

Thank you!




From zhangchunlin at gmail.com  Tue Aug 19 04:31:17 2008
From: zhangchunlin at gmail.com (Chunlin Zhang)
Date: Tue, 19 Aug 2008 16:31:17 +0800
Subject: [Moin-user] Who can help me with Single Sign-on in Moinmoin
	with Mantis?
In-Reply-To: 
References: 
Message-ID: <48AA84D4.8010303@gmail.com>

Sorry for forgetting the "wiki_moinmoin_api.php"

Chunlin Zhang wrote:
> I just modify "wiki_dokuwiki_api.php" of Mantis to a 
> "wiki_moinmoin_api.php" so that I can integrate moinmoin with mantis.
> See the attached file and you can use it as a patch of mantis if you want.
> 
> But how can I make them Single Sign-On?
> I saw the 
> http://www.mantisbt.org/wiki/doku.php/mantisbt:issue:7075:integration_with_dokuwiki#authentication_single_sign-on 
>   ,but I do not know much php,and 
> http://moinmo.in/HelpOnAuthentication#line-87 ,but there is not some 
> example to refer.
> 
> Is there someone have some experience with this situation?
> Or give me some advice.
> 
> Thank you!
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From zhangchunlin at gmail.com  Tue Aug 19 04:34:08 2008
From: zhangchunlin at gmail.com (Chunlin Zhang)
Date: Tue, 19 Aug 2008 16:34:08 +0800
Subject: [Moin-user] Who can help me with Single Sign-on in Moinmoin
	with Mantis?
In-Reply-To: 
References: 
Message-ID: 

Sorry for forgetting the attachment.
Chunlin Zhang wrote:
> I just modify "wiki_dokuwiki_api.php" of Mantis to a 
> "wiki_moinmoin_api.php" so that I can integrate moinmoin with mantis.
> See the attached file and you can use it as a patch of mantis if you want.
> 
> But how can I make them Single Sign-On?
> I saw the 
> http://www.mantisbt.org/wiki/doku.php/mantisbt:issue:7075:integration_with_dokuwiki#authentication_single_sign-on 
>   ,but I do not know much php,and 
> http://moinmo.in/HelpOnAuthentication#line-87 ,but there is not some 
> example to refer.
> 
> Is there someone have some experience with this situation?
> Or give me some advice.
> 
> Thank you!
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From hsmtkk at gmail.com  Tue Aug 19 09:58:50 2008
From: hsmtkk at gmail.com (Hashimoto)
Date: Tue, 19 Aug 2008 22:58:50 +0900
Subject: [Moin-user] Attached File Size
Message-ID: <6bae2c430808190658k71b7c36bj98b9b6a641bae5e9@mail.gmail.com>

Hello.
I am using MoinMoin-1.7.1
I want to get attached file size.
Something like
<>
<> is too verbose.
Are there some macros ?
Or must I write a new macro ?
Thanks.

-- 
hsmtkk at gmail.com



From gerg.ward+moin at gmail.com  Wed Aug 20 15:09:50 2008
From: gerg.ward+moin at gmail.com (Greg Ward)
Date: Wed, 20 Aug 2008 15:09:50 -0400
Subject: [Moin-user] Cleanup on upgrade
Message-ID: <20080818172728.GA26382@intelerad.com>

I'm in the process of upgrading our wiki from MoinMoin 1.5.8 to 1.7.1.
The wiki actually goes back to MoinMoin 1.3 days, so has been upgraded
once before.  I have noticed a fair amount of cruft in data/pages, for
example:

  * "system" pages that are now in underlay:

      HelpOnInstalling(2f)ApacheOnUnix
      HelpOnInstalling(2f)ApacheWithFastCgi
      PageAccueil
      PageAl(c3a9)atoire
      [...]

  * empty page directories -- I'm guessing some old version of MoinMoin
    had a bug that created a page as soon as someone asked for it,
    resulting in page dirs like this:

      $ ls -1d d*
      dfsqd
      dkckc

  * many apparent page dirs have no "current" file or "revisions"
    directory:

      $ find . -maxdepth 1 -type d | wc -l
      3134
      $ find . -maxdepth 2 -name revisions | wc -l
      2989

  * several pages have a "current" file that refers to a non-existent
    revision (one later than the latest revisions in revisions/).  These
    pages render as non-existent both under 1.5.8 pre-upgrade and 1.7.1
    with my test upgrade.

    I am assuming that such pages once had useful content and should be
    resurrected.  Editing "current" to point to the latest actual
    revision did not work.  Any clue what might?

Two questions:

  1) is it safe to just "rm -rf" those unwanted/empty page directories?

  2) is there a tool to find them for me?  (I can cobble something
     together myself easily enough, but if it already exists, I'll
     happily use it)

Thanks --

        Greg



From kai at aplteam.com  Thu Aug 21 04:37:32 2008
From: kai at aplteam.com (kai at aplteam.com)
Date: Thu, 21 Aug 2008 09:37:32 +0100
Subject: [Moin-user] Upgrade 1.5.5 to 1.6: URLs do not work
In-Reply-To: <48A96868.8020200@gmx.de>
References: <99f673360808172331x4f51763akbe86e742b511ece@mail.gmail.com>
	<48A96868.8020200@gmx.de>
Message-ID: <99f673360808210137m347e3acap19fa4aebae67eb01@mail.gmail.com>

....
>> But I would expect that entering the URL
>>    http://aplteam2.com/aplwiki/KaiJaeger
>> would display my homepage. Instead I get an
>>     Not Found - The requested URL /aplwiki/KaiJaeger was not found on
>> this server.
>>
>> That should work, shouldn't it?
>
> Yes. Likely something in your setup is wrong, maybe in your apache config.

Indeed. I forgot to add a slash at the end of:

ScriptAlias /aplwiki/moin.cgi/ "D:/wikis/apl2/moin.cgi"

With the slash:

    ScriptAlias /aplwiki/moin.cgi/ "D:/wikis/apl2/moin.cgi/"

everything is fine...



From kai at aplteam.com  Thu Aug 21 04:48:18 2008
From: kai at aplteam.com (kai at aplteam.com)
Date: Thu, 21 Aug 2008 09:48:18 +0100
Subject: [Moin-user] ACL problem after upgrade to 1.7.1
Message-ID: <99f673360808210148w6ee9c8e3gc4382ea4d2df5d52@mail.gmail.com>

I've upgraded successfully from 1.5.5 to 1.7.1 in one go without too
much difficulties I thought.

Well, some problems which look quite close to each other:

1. I have a page/group "AutoAdmin". Every user on that page is
supposed to have admin rights, and had in the past. Not anynore.
2. Although my own userid is also "superuser", I lost the ability to
edit pages which are immutable to everybody else (except AutoAdmin,
but that does not work either)

3. I also have a page/group TrustedGroup. User accounts are only
allowed to edit/add/delete/revert after being added to that group.
Worked fine in the past, stopped working since the upgrade.

The only way to enable myself to edit the otherwise immutable
frontpage was to add my userid to the acl of that page. I can,
however, edit ordinary pages. Other users cannot
edit/add/delete/revert anything at all, although they are member of
the TrustedGroup.

Has anybody else encountered this problem?

Kai



From tw-public at gmx.de  Thu Aug 21 05:57:32 2008
From: tw-public at gmx.de (Thomas Waldmann)
Date: Thu, 21 Aug 2008 11:57:32 +0200
Subject: [Moin-user] Cleanup on upgrade
In-Reply-To: <20080818172728.GA26382@intelerad.com>
References: <20080818172728.GA26382@intelerad.com>
Message-ID: <1219312652.9861.4.camel@black.firma.waldmann-edv.de>

On Wed, 2008-08-20 at 15:09 -0400, Greg Ward wrote:
> I'm in the process of upgrading our wiki from MoinMoin 1.5.8 to 1.7.1.
> The wiki actually goes back to MoinMoin 1.3 days, so has been upgraded
> once before.  I have noticed a fair amount of cruft in data/pages, for
> example:

You want to use:
 * moin maint cleanpage
 * EditedSystemPages page

>   * several pages have a "current" file that refers to a non-existent
>     revision (one later than the latest revisions in revisions/).  These
>     pages render as non-existent both under 1.5.8 pre-upgrade and 1.7.1
>     with my test upgrade.

That are perfectly valid deleted pages.





From kai at aplteam.com  Sat Aug 23 17:15:17 2008
From: kai at aplteam.com (kai at aplteam.com)
Date: Sat, 23 Aug 2008 22:15:17 +0100
Subject: [Moin-user] Performance
Message-ID: <99f673360808231415n2143ae89kac31782f8100b4e@mail.gmail.com>

On my Windows Server with Apache, I am now using FastCGI. I have to
say the difference is impressive. Jumping from page to page is really
nice.

However, starting to edit a page (any, it doesn't matter which one)
ist still very slow. It takes up to 15 seconds.
The same is tru when I press the "Preview" button.

What is really strange is that when I go to the Server with Remote
Desktop is do it locally, everything is very fast, including Edit and
Preview.

I get mixed signals here - has anybody encountered something similar?

Kai

P.s.: http://aplteam2.com/aplwiki



From tw-public at gmx.de  Sun Aug 24 08:48:01 2008
From: tw-public at gmx.de (Thomas Waldmann)
Date: Sun, 24 Aug 2008 14:48:01 +0200
Subject: [Moin-user] Performance
In-Reply-To: <99f673360808231415n2143ae89kac31782f8100b4e@mail.gmail.com>
References: <99f673360808231415n2143ae89kac31782f8100b4e@mail.gmail.com>
Message-ID: <1219582081.8688.4.camel@black.firma.waldmann-edv.de>

> However, starting to edit a page (any, it doesn't matter which one)
> ist still very slow. It takes up to 15 seconds.
> The same is tru when I press the "Preview" button.
> 
> What is really strange is that when I go to the Server with Remote
> Desktop is do it locally, everything is very fast, including Edit and
> Preview.

That sounds a bit like your reverse DNS is broken.

For e.g. edit-log (maybe also for other stuff related to changing
content), moin does a reverse DNS lookup for client's IP.
If reverse DNS is not working on the server machine for the client IP,
there can be quite some delay.

So, solution is either:
 * fix reverse DNS on the wiki server machine, or
 * find and use the moin setting that switches off reverse dns lookups





From peter.vanbiesen at vaph.be  Mon Aug 25 07:16:04 2008
From: peter.vanbiesen at vaph.be (Peter Van Biesen)
Date: Mon, 25 Aug 2008 13:16:04 +0200
Subject: [Moin-user] How do I get an access log with moin standalone server ?
Message-ID: <200808251316.04571.peter.vanbiesen@vaph.be>

Hi,

I recently removed my apache server, as it was only serving moin anyway and started moin in standalone mode. I've got everything to work as before, except for the access.log . I can't seem to get one configured. I set MOINLOGGINGCONF to my python log config, but even when I set it to DEBUG, I get no access logging. 

How do I do this ?

Thanks in advance,

Peter.
Ps: my logging.conf :

[DEFAULT]
# Logfile to create.
# Make sure the running moin process has create/write rights there.
logfile=/tmp/moin.log

# Default loglevel, to adjust verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL
loglevel=INFO

[loggers]
keys=root

[handlers]
keys=logfile

[formatters]
keys=logfile

[logger_root]
level=%(loglevel)s
handlers=logfile

[handler_logfile]
class=FileHandler
formatter=logfile
level=%(loglevel)s
args=('%(logfile)s', 'at')

[formatter_logfile]
format=%(asctime)s %(name)s %(levelname)s %(message)s
datefmt=
class=logging.Formatter
-- 
Peter Van Biesen
Sysadmin VAPH

tel: +32 (0) 2 225 85 70
fax: +32 (0) 2 225 85 88
e-mail: peter.vanbiesen at vaph.be
PGP: http://www.vaph.be/pgpkeys

Opgelet ! De domeinnaam van het Vlaams Agentschap is vanaf heden
vaph.be. Dit betekent dat u uw correspondent kan bereiken via
voornaam.naam at vaph.be. Gelieve aub dit aan te passen in uw adresboek.

DISCLAIMER
-------------------------------------------------------------------------------
De personeelsleden van het agentschap doen hun best om in e-mails
betrouwbare informatie te geven. 
Toch kan niemand rechten doen gelden op basis van deze inhoud. 
Als in de e-mail een stellingname voorkomt, is dat niet noodzakelijk het
standpunt van het agentschap. 
Rechtsgeldige beslissingen of officiele standpunten worden alleen per
brief toegestuurd.



From bjarke at daimi.au.dk  Mon Aug 25 10:54:11 2008
From: bjarke at daimi.au.dk (Bjarke Roune)
Date: Mon, 25 Aug 2008 16:54:11 +0200
Subject: [Moin-user] Can only edit pages stored on specific harddisk
Message-ID: <4f74ca650808250754ga047f0bq58d7359563949ce8@mail.gmail.com>

Hi,

I've been using MoinMoin to store my personal information to great
effect, and I'd like to put it on an encrypted drive (TrueCrypt) so I
can perform backups or have my laptop stolen without worrying about my
privacy.

However, I've found that on my Mac, the Wiki data HAS to be stored on
the internal harddisk on my laptop. Storing the wiki/ library on
Virtual drives (as in TrueCrypt) or external harddisks work fine for
reading the Wiki, but when I try to commit changes to a page, I get
the error "ValueError, Empty Module name". I've pasted the error
message below.

I have no idea what is going on here, and I'd really be thankful for
any help anyone could give me.

Cheers
Bjarke H. Roune




ValueError

Empty module name

If you want to report a bug, please save this page and attach it to
your bug report.

    * Show debugging information
    * Report bug
    * Visit MoinMoin wiki

Traceback

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

   1.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/request/__init__.py
in run (self=)
   2.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/action/edit.py in
execute (pagename=u'Test',
request=)
   3.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/PageEditor.py in
saveText (self=,
newtext=u'Describe Test here.\n', rev=0, **kw={'comment': u'',
'trivial': 0})
   4.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/events/__init__.py
in send_event (event=)
   5.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/config/multiconfig.py
in getter (self=)
   6.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/events/__init__.py
in get_handlers (cfg=)
   7.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/wikiutil.py in
importPlugin (cfg=,
kind='events', name='.___init__', function='handle')
   8.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/wikiutil.py in
importWikiPlugin (cfg=,
kind='events', name='.___init__', function='handle')
   9.

      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/wikiutil.py in
importNameFromPlugin
(moduleName='wikiconfig.plugin.events..___init__', name='handle')

ValueError

Empty module name

    * args = ('Empty module name',)
    * message = 'Empty module name'

System Details

    * Date: Mon, 25 Aug 2008 14:43:26 +0000
    * Platform: Darwin BHR-MacAir.local 9.4.0 Darwin Kernel Version
9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
i386
    * Python: Python 2.5.1
(/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python)
    * MoinMoin: Release 1.7.0 (release)



From bjarke at daimi.au.dk  Mon Aug 25 11:04:17 2008
From: bjarke at daimi.au.dk (Bjarke Roune)
Date: Mon, 25 Aug 2008 17:04:17 +0200
Subject: [Moin-user] Local wiki and external access
Message-ID: <4f74ca650808250804j45dd213dua061defdae0a4ae6@mail.gmail.com>

Hi,

I'm using MoinMoin for my personal information, so I'd really like the
wiki to only be accessible from the machine on which the server is
running. I think I am already running MoinMoin in this way, but I
don't really know, since I don't know how to tell. I've just
downloaded MoinMoin, run the wikiserver.py file and started using it
in my browser by accessing http://localhost:8080/.

How do I tell if the wiki is accessible by other people on my same
network, or the internet at large, for that matter?

Cheers
Bjarke H. Roune



From moin at mspacek.mm.st  Mon Aug 25 18:15:26 2008
From: moin at mspacek.mm.st (Martin Spacek)
Date: Mon, 25 Aug 2008 15:15:26 -0700
Subject: [Moin-user] Performance
In-Reply-To: <1219582081.8688.4.camel@black.firma.waldmann-edv.de>
References: <99f673360808231415n2143ae89kac31782f8100b4e@mail.gmail.com>
	<1219582081.8688.4.camel@black.firma.waldmann-edv.de>
Message-ID: <48B32EFE.8020108@mspacek.mm.st>

Thanks! That was driving me crazy. By the way, the setting is:

log_reverse_dns_lookups = False

I put this in my wikiconfig.py, then restarted it.

OT: If you also find that the ssh login into your server is slow (takes forever 
to prompt for password), you can disable reverse dns there by adding:

UseDNS no

to your /etc/ssh/sshd_config (that's where it is on Ubuntu). Don't forget to 
restart sshd as well: /etc/init.d/ssh restart

Cheers,

Martin

Thomas Waldmann wrote:
> That sounds a bit like your reverse DNS is broken.
> 
> For e.g. edit-log (maybe also for other stuff related to changing
> content), moin does a reverse DNS lookup for client's IP.
> If reverse DNS is not working on the server machine for the client IP,
> there can be quite some delay.
> 
> So, solution is either:
>  * fix reverse DNS on the wiki server machine, or
>  * find and use the moin setting that switches off reverse dns lookups
> 
> 
> 



From gerg.ward+moin at gmail.com  Tue Aug 26 12:19:05 2008
From: gerg.ward+moin at gmail.com (Greg Ward)
Date: Tue, 26 Aug 2008 12:19:05 -0400
Subject: [Moin-user] Local wiki and external access
In-Reply-To: <4f74ca650808250804j45dd213dua061defdae0a4ae6@mail.gmail.com>
References: <4f74ca650808250804j45dd213dua061defdae0a4ae6@mail.gmail.com>
Message-ID: <20080826161905.GA2648@intelerad.com>

On 25 August 2008, Bjarke Roune said:
> I'm using MoinMoin for my personal information, so I'd really like the
> wiki to only be accessible from the machine on which the server is
> running. I think I am already running MoinMoin in this way, but I
> don't really know, since I don't know how to tell. I've just
> downloaded MoinMoin, run the wikiserver.py file and started using it
> in my browser by accessing http://localhost:8080/.
> 
> How do I tell if the wiki is accessible by other people on my same
> network, or the internet at large, for that matter?

Ummm... test it?  I.e. walk down the hall to another machine on the same
network and try to access http://:8080/.  Do the same with
your machine's IP address just to be sure.  Then do the same from
somewhere out there on the Internet.  (Friend, neighbour, relative, at
work, Internet cafe, ...)

If the server is running UNIX or Linux, there are some tricks you can
use that do not require using another client:

  # netstat -tnlp

will, at least on Linux, report all processes listening on some TCP
port.  Look for the process listening on port 8080 (should be called
"python" or "moin", depending on how the server process is launched) and
make sure that the local address is "127.0.0.1:8080", NOT
"0.0.0.0:8080".  netstat also exists on BSD and OS X, but I believe the
syntax is slightly different.  "man netstat" for details.

If you have lsof, it's an amazingly useful tool for this sort of thing:
e.g.

  # lsof -n -P -i tcp:80 -a -l

reports which processes are listening on TCP port 8080.  You want it to
look something like

  python    15914        0    0u  IPv4  52499       TCP 127.0.0.1:8080 (LISTEN)

and NOT like

  python    15914        0    0u  IPv4  52499       TCP *:8080 (LISTEN)

I believe that lsof works the same on most UNIX flavours, so I *think*
the above commands will work the same on Linux, BSD, OS X, etc.

        Greg



From hp.news at gmx.de  Thu Aug 28 03:53:35 2008
From: hp.news at gmx.de (Hape News)
Date: Thu, 28 Aug 2008 09:53:35 +0200
Subject: [Moin-user] MoinMoin API: Writing files and HTTP redirect
Message-ID: <20080828075335.243830@gmx.net>

Dear all,

I'm developing a formatter for OpenDocument output (a.k.a. for StarOffice, OpenOffice, Koffice, ...). If you want, you can find it on moinmo.in in the formatter section, however only for MoinMoin 1.5 until now.

At the moment generating a OpenDocument file involves the following procedure:
- Generate some XML files (for content, styles, ...)
- Put them into a ZIP file and store it
- Open the ZIP file and deliver it as a big binary string to the client

However this has a few drawbacks:
- Browsers don't get the correct filename (at least they're missing 
  the extension ".odt"). Without this extension OpenDocument files 
  are seen as ZIP-Files (at least on my system)
- Even if there's no new revision of the page, every time when the 
  action "Render as OpenDocument" is called a new OpenDocument 
  file is generated (which may take a few seconds)

So I'm looking for a possibility to :
(1) Write an OpenDocument file and store it in some wiki directory 
     permanently (so no temp directory as I do now with 
     tempfile.mkdtemp()...)
(2) Do a HTTP redirect to this file (so all browsers get the correct 
     filename)

Before this there should be a check:
(0) Check whether there's a OpenDocument file corresponding to 
     the newest revision of the wiki page. If yes, proceed with (2), 
     if no, proceed with (1)

But I need help with this. Which directory should I choose? How do I read page revisions? How do I do a HTTP redirect in MoinMoin?

Thanks a lot for your help,

Hape
-- 
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine f?r Alle: http://www.gmx.net/de/go/messenger03



From rjt-moin at thegrindstone.me.uk  Thu Aug 28 04:31:35 2008
From: rjt-moin at thegrindstone.me.uk (Richard Taylor)
Date: Thu, 28 Aug 2008 09:31:35 +0100
Subject: [Moin-user] openid problem: OpenID error: return_to does not
 match	return URL
In-Reply-To: <48A985AF.40108@thegrindstone.me.uk>
References: <48A985AF.40108@thegrindstone.me.uk>
Message-ID: <48B66267.1080600@thegrindstone.me.uk>


Johannes Berg was kind enough to point out the cause of my problem, so I 
thought that I would post the solution here in case someone else comes 
searching the archives.

The route of the problem appears to lie with mod_python. I switched to 
using mod_wsgi and all was well.

Regards

Richard


Richard Taylor wrote:
> Hi
> 
> I am trying to get OpenID working on the PyConUK conference wiki 
> (http://www.pyconuk.org/community).
> 
> I am using:
> 	moin-1.7.1
> 	python-openid-2.1.1 (I tried python-openid-2.2.1 as well but got the 
> same error)
> 
> 
> If I set an OpenID association with an existing user through the 
> preferences page I can login with the OpenID OK. However when I attempt 
> to login with a new OpenID and create a new user name or associate with 
> an existing user name I get the following error after I click on 'Choose 
> this name" on the page: 
> http://www.pyconuk.org/community?action=login&login=1&oidstage=1&stage=openid...
> 
> """
> OpenID error: return_to does not match return URL. Expected 		
> 'http://www.pyconuk.org/community?action=login&login=1&oidstage=1&stage=openid', 
> got 
> u'http://www.pyconuk.org/community?action=login&login=1&oidstage=1&stage=openid&janrain_nonce=2008-08-18T14%3A09%3A14ZLZE5ly&openid1_claimed_id=http%3A%2F%2Fclaimid.com%2Fhippy'.
> """
> 
> I have tracked down where the error is generated from but I do not 
> understand why the problem is occurring:
> 
> 	openid/consumer/consumer.py:
> 
> 	    def _verifyReturnToArgs(query):
> 		...
> 	        # Make sure all non-OpenID arguments in the response are also
> 	        # in the signed return_to.
> 		bare_args = message.getArgs(BARE_NS)
>          	for pair in bare_args.iteritems():
>              		if pair not in parsed_args:
>                  		raise ProtocolError("Parameter %s not in return_to 
> URL" % (pair[0],))
> 
> This produces the error: "Parameter username not in return_to URL".
> 
> 
> Can anyone suggest what might be the problem?
> 
> Regards
> 
> Richard
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
> 
> 
> 




From Karen.Janssens at ua.ac.be  Thu Aug 28 05:07:02 2008
From: Karen.Janssens at ua.ac.be (Janssens Karen)
Date: Thu, 28 Aug 2008 11:07:02 +0200
Subject: [Moin-user] EmbedObject pdf Explorer
Message-ID: <48B66AB6.50305@ua.ac.be>

Hi

I uploaded a pdf file to a wikipage and want to show it using the 
EmbedObject macro.
Therefore I use <> .

It works perfectly in my own firefox browser: the document opens in an 
acrobat-like environment on the wikipage, is scrollable, printable etc. 
just how I want it.

however, when I open the same wikipage with Internet Explorer, an empty, 
white space is shown. Nothing there.

could someone tell me how to solve this problem? Most of my wiki-users 
are stille using IE as their default browser...

Thanks
Karen

-- 
Karen Janssens
Universiteit Antwerpen
Anet - Bibliotheekautomatisering
Bibliotheek Stadscampus
Prinsstraat 9
B-2000 Antwerpen
Belgium
Tel    +32 3 220.49.71
Email  karen.janssens at ua.ac.be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From tw-public at gmx.de  Thu Aug 28 08:01:20 2008
From: tw-public at gmx.de (Thomas Waldmann)
Date: Thu, 28 Aug 2008 14:01:20 +0200
Subject: [Moin-user] MoinMoin API: Writing files and HTTP redirect
In-Reply-To: <20080828075335.243830@gmx.net>
References: <20080828075335.243830@gmx.net>
Message-ID: <48B69390.50103@gmx.de>

> - Browsers don't get the correct filename (at least they're missing 
>   the extension ".odt"). Without this extension OpenDocument files 
>   are seen as ZIP-Files (at least on my system)

See AttachFile.py about how to tell the browser the filename (it's not 
perfect, but for some browsers and ascii-filenames it works).

> - Even if there's no new revision of the page, every time when the 
>   action "Render as OpenDocument" is called a new OpenDocument 
>   file is generated (which may take a few seconds)

I think it is best to use the "cache" action of recent moin (e.g. 1.7.1):
  * it is fast and ressource efficient
  * if you use it as proposed, you will never get outdated cache content

> (2) Do a HTTP redirect to this file (so all browsers get the correct 
>      filename)

I am not sure about how a http redirect should help.

> Before this there should be a check:
> (0) Check whether there's a OpenDocument file corresponding to 
>      the newest revision of the wiki page. If yes, proceed with (2), 
>      if no, proceed with (1)

See the cache action, the procedures used for it make sure you never get 
outdated content.

> But I need help with this. Which directory should I choose?

You don't have to, the cache action will do that.

> How do I read page revisions?

You can give the rev=X to the Page constructor.

> How do I do a HTTP redirect in MoinMoin?

Just grep for "redirect" :)





From tw-public at gmx.de  Thu Aug 28 08:15:03 2008
From: tw-public at gmx.de (Thomas Waldmann)
Date: Thu, 28 Aug 2008 14:15:03 +0200
Subject: [Moin-user] EmbedObject pdf Explorer
In-Reply-To: <48B66AB6.50305@ua.ac.be>
References: <48B66AB6.50305@ua.ac.be>
Message-ID: <48B696C7.2050609@gmx.de>

Hi,

> It works perfectly in my own firefox browser: the document opens in an
> acrobat-like environment on the wikipage, is scrollable, printable etc.
> just how I want it.
> 
> however, when I open the same wikipage with Internet Explorer, an empty,
> white space is shown. Nothing there.

IE has quite some bugs. Maybe this is one of them.

I remember that quite some time ago, we were bitten by a strange IE bug: 
if you tell via http headers, that the content shall not be cached and 
your content is a file that should be shown by a IE plugin, IE downloads 
the file, notices "uuhooh, I am not allowed to cache it", then IE 
DELETES IT and then IE calls the plugin, giving it a filename of a file 
that was just deleted by IE a millisecond ago. :P

> could someone tell me how to solve this problem? Most of my wiki-users
> are stille using IE as their default browser...

Well, I guess you have heard that before: IE is crap: it doesn't 
implement web standards (like CSS) correctly and often has security 
issues, they really should avoid it as much as possible.

There are lots of other browsers out there, that work much better and 
are much more standards compliant, e.g. Firefox and Opera.




From Karen.Janssens at ua.ac.be  Thu Aug 28 08:29:17 2008
From: Karen.Janssens at ua.ac.be (Janssens Karen)
Date: Thu, 28 Aug 2008 14:29:17 +0200
Subject: [Moin-user] EmbedObject pdf Explorer
Message-ID: <48B69A1D.1040705@ua.ac.be>



> Well, I guess you have heard that before: IE is crap: it doesn't 
> implement web standards (like CSS) correctly and often has security 
> issues, they really should avoid it as much as possible.
>
> There are lots of other browsers out there, that work much better and 
> are much more standards compliant, e.g. Firefox and Opera.
>   
I'm convinced already a long time ago ;-)
so ok... now I'll have to convince my users...

Some other peculiar thing I found out today, however. Also browser 
related, but now IE works and firefox doesn't!

Situation:
I want to insert a link to another wikipage or an external site using 
the GUI editor. I click the insert link button, choose WikiPage (or 
URL), insert the pagename or url and save changes.

Using firefox: problem: the link is not made and the insert link dialog 
box re-appears. When looking in the text mode something like ' 
javascript:void(0);/*1219926267425*/ ' is inserted as link.
Using IE: no problem at all. the link is correctly made.

now, this is a less serious problem for me at the moment. Because I 
prefer the text mode (no problem there) and my wiki-users (it is a 
private wiki) prefer IE as I pointed out in my previous message.

-- 
Karen Janssens
Universiteit Antwerpen
Anet - Bibliotheekautomatisering
Bibliotheek Stadscampus
Prinsstraat 9
B-2000 Antwerpen
Belgium
Tel    +32 3 220.49.71
Email  karen.janssens at ua.ac.be




-- 
Karen Janssens
Universiteit Antwerpen
Anet - Bibliotheekautomatisering
Bibliotheek Stadscampus
Prinsstraat 9
B-2000 Antwerpen
Belgium
Tel    +32 3 220.49.71
Email  karen.janssens at ua.ac.be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From rick.vanderveer at gmail.com  Thu Aug 28 10:08:12 2008
From: rick.vanderveer at gmail.com (Rick Vanderveer)
Date: Thu, 28 Aug 2008 09:08:12 -0500
Subject: [Moin-user] Can only edit pages stored on specific harddisk
In-Reply-To: <4f74ca650808250754ga047f0bq58d7359563949ce8@mail.gmail.com>
References: <4f74ca650808250754ga047f0bq58d7359563949ce8@mail.gmail.com>
Message-ID: <5c39e1ca0808280708i1b931581qbe8adf63ccfc5bc8@mail.gmail.com>

A possible workaround you may want to try (no idea if this will work
as I haven't tested it myself, but I see no reason why it shouldn't)--

Since you're already concerned about security, you should be taking
advantage of Apple's FileVault technology.  Why not move the Moin data
directory to your personal folder so that it's also encrypted?  Then
you can do ad-hoc backups onto your flash drive, or let Time Machine
back up for you.  :-)

http://www.apple.com/sg/macosx/features/filevault/
http://en.wikipedia.org/wiki/FileVault

side note:
After reading the 'criticisms' section of the Wikipedia article above,
I was amused and amazed that that data can be potentially recovered
from the RAM of a computer if it's still warm immediately after
shutdown.  I assume this works much like how you could see a ghost
image on an old CRT monitor or TV for a few minutes after it's powered
off.  However, assuming that you just the usual collection of data
that you want to safeguard, and not military-grade secrets that can
topple governments, I suspect you'll be pretty safe and well protected
with FileVault.


-Rick


On Mon, Aug 25, 2008 at 9:54 AM, Bjarke Roune  wrote:
> Hi,
>
> I've been using MoinMoin to store my personal information to great
> effect, and I'd like to put it on an encrypted drive (TrueCrypt) so I
> can perform backups or have my laptop stolen without worrying about my
> privacy.
>
> However, I've found that on my Mac, the Wiki data HAS to be stored on
> the internal harddisk on my laptop. Storing the wiki/ library on
> Virtual drives (as in TrueCrypt) or external harddisks work fine for
> reading the Wiki, but when I try to commit changes to a page, I get
> the error "ValueError, Empty Module name". I've pasted the error
> message below.
>
> I have no idea what is going on here, and I'd really be thankful for
> any help anyone could give me.
>
> Cheers
> Bjarke H. Roune
>
>
>
>
> ValueError
>
> Empty module name
>
> If you want to report a bug, please save this page and attach it to
> your bug report.
>
>    * Show debugging information
>    * Report bug
>    * Visit MoinMoin wiki
>
> Traceback
>
> A problem occurred in a Python script. Here is the sequence of
> function calls leading up to the error, in the order they occurred.
>
>   1.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/request/__init__.py
> in run (self= 0x768fd0>)
>   2.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/action/edit.py in
> execute (pagename=u'Test',
> request= 0x768fd0>)
>   3.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/PageEditor.py in
> saveText (self=,
> newtext=u'Describe Test here.\n', rev=0, **kw={'comment': u'',
> 'trivial': 0})
>   4.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/events/__init__.py
> in send_event (event= 0x743430>)
>   5.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/config/multiconfig.py
> in getter (self=)
>   6.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/events/__init__.py
> in get_handlers (cfg=)
>   7.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/wikiutil.py in
> importPlugin (cfg=,
> kind='events', name='.___init__', function='handle')
>   8.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/wikiutil.py in
> importWikiPlugin (cfg=,
> kind='events', name='.___init__', function='handle')
>   9.
>
>      /Users/bjarke/Downloads/moin-1.7.0/MoinMoin/wikiutil.py in
> importNameFromPlugin
> (moduleName='wikiconfig.plugin.events..___init__', name='handle')
>
> ValueError
>
> Empty module name
>
>    * args = ('Empty module name',)
>    * message = 'Empty module name'
>
> System Details
>
>    * Date: Mon, 25 Aug 2008 14:43:26 +0000
>    * Platform: Darwin BHR-MacAir.local 9.4.0 Darwin Kernel Version
> 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
> i386
>    * Python: Python 2.5.1
> (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python)
>    * MoinMoin: Release 1.7.0 (release)
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>



From hp.news at gmx.de  Thu Aug 28 10:33:34 2008
From: hp.news at gmx.de (Hape News)
Date: Thu, 28 Aug 2008 16:33:34 +0200
Subject: [Moin-user] MoinMoin API: Writing files and HTTP redirect
In-Reply-To: <48B69390.50103@gmx.de>
References: <20080828075335.243830@gmx.net> <48B69390.50103@gmx.de>
Message-ID: <20080828143334.243320@gmx.net>

Hi Thomas,

thanks a lot for your hints!

> [...]
> See AttachFile.py about how to tell the browser the filename (it's not 
> perfect, but for some browsers and ascii-filenames it works).

ok, I see it in AttachFile.get_file (MoinMoin 1.5 here)

Do you remember which browsers worked and which not? If not I'll try it myself of course...

> [...]
> > (2) Do a HTTP redirect to this file (so all browsers get the correct 
> >      filename)
> 
> I am not sure about how a http redirect should help.

I've never done this, but my idea was:
- Create a file /-.odt
  if it doesn't already exist for the current page revision
- Do a http-Redirect to "/-.odt"

I'd thought this would help as the browser is redirected directly to a file.

> [...]
> > How do I read page revisions?
> 
> You can give the rev=X to the Page constructor.

not what I had in mind (I don't want to explicitly set rev numbers, I want to read the rev number of the current page). But thanks to your hint, I discovered Page.get_rev_dir which returns the rev number even if Page is called without explicit rev number.

> > How do I do a HTTP redirect in MoinMoin?
> 
> Just grep for "redirect" :)
> [...]

well - ok, you're right :)

As for the cache action, I'll try it when developing for MoinMoin 1.7.

Did I understand you correctly here: With this cache action, all is handled automatically, so I don't have to read page revision numbers. But for MoinMoin 1.5/1.6 there is no possibility to permanently write a file, so I can't use my idea with revision comparison of OpenDocument file and wiki page?

Thanks again,

Hape


-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



From tw-public at gmx.de  Thu Aug 28 11:36:02 2008
From: tw-public at gmx.de (Thomas Waldmann)
Date: Thu, 28 Aug 2008 17:36:02 +0200
Subject: [Moin-user] MoinMoin API: Writing files and HTTP redirect
In-Reply-To: <20080828143334.243320@gmx.net>
References: <20080828075335.243830@gmx.net> <48B69390.50103@gmx.de>
	<20080828143334.243320@gmx.net>
Message-ID: <48B6C5E2.5020105@gmx.de>

>> See AttachFile.py about how to tell the browser the filename (it's not 
>> perfect, but for some browsers and ascii-filenames it works).
> 
> ok, I see it in AttachFile.get_file (MoinMoin 1.5 here)
> 
> Do you remember which browsers worked and which not? If not I'll try it myself of course...

There is a bug report on the wiki about problems with non ascii attachments.

>>> (2) Do a HTTP redirect to this file (so all browsers get the correct 
>>>      filename)
>> I am not sure about how a http redirect should help.
> 
> I've never done this, but my idea was:
> - Create a file /-.odt
>   if it doesn't already exist for the current page revision
> - Do a http-Redirect to "/-.odt"
> 
> I'd thought this would help as the browser is redirected directly to a file.

I wouldn't do it like that. It needs additional webserver configuration 
(for that direct access), has security issues (your page could be acl 
protected, but the webserver will happily serve those files to everyone) 
and noone cleans up in that dir anyway. :)

> As for the cache action, I'll try it when developing for MoinMoin 1.7.

Well, you should. :)

Moin 1.5 is out of support. There won't be any 1.5 updates / changes any 
more, not even for security.

1.6 is also rather closed and only important security fixes will get 
into 1.6 for a while (if needed).

1.7.x is the current release with full support. If you are developing 
extensions that should be in production very soon, you should target 1.7.

1.8 is already at the horizon as a rather easy update with many GUI 
editor fixes, modernized theme and some other stuff. If you are 
developing stuff that will still take some time (~ 1..3 months) until it 
can be used, you should target this version.

Aside from that, you can save yourself a lot of work by using newer and 
better moin code instead of struggling with old crap. :)

> Did I understand you correctly here: With this cache action, all is handled automatically, so I don't have to read page revision numbers.

Look there:

http://hg.moinmo.in/moin/1.7/file/tip/MoinMoin/action/cache.py

For some practical code, you can look at Reimar's arnica stuff.

> But for MoinMoin 1.5/1.6 there is no possibility to permanently write a file, so I can't use my idea with revision comparison of OpenDocument file and wiki page?

Well, in the past, some people used attachment storage for such stuff, 
but that's rather messy and as I said, AttachFile will die anyway.

I guess if someone insists on using 1.6, he could backport cache action 
and the caching module changes to 1.6, but it would be a bit pointless, 
as just upgrading to 1.7.latest is much easier and 1.7 has some bug 
fixes not present in 1.6.





From jdd at dodin.org  Sun Aug 31 03:41:08 2008
From: jdd at dodin.org (jdd)
Date: Sun, 31 Aug 2008 09:41:08 +0200
Subject: [Moin-user] problem with acl
Message-ID: <48BA4B14.9090203@dodin.org>

Hello,
I try to setup acl's on the LDP web site (example page 
http://wiki.tldp.org/draft01)

this page have only:
________
#acl All:

test page for acl - you shouldn't be allowed to read it :-))
_______

by the way anybody can read it.

I read the doc several times, write :

"acl_rights_before = u"MainAdmin:read,write,delete,revert,admin 
AdminGroup:read,write,delete,revert,admin Known:read,write All:read"  "

in wikiconfig.py

what can I do?

thanks
jdd


-- 
http://www.dodin.net
http://valerie.dodin.org
http://www.youtube.com/watch?v=t-eic8MSSfM



From jbardin at bu.edu  Sun Aug 31 16:53:08 2008
From: jbardin at bu.edu (james bardin)
Date: Sun, 31 Aug 2008 16:53:08 -0400
Subject: [Moin-user] problem with acl
In-Reply-To: <48BA4B14.9090203@dodin.org>
References: <48BA4B14.9090203@dodin.org>
Message-ID: 

On Sun, Aug 31, 2008 at 3:41 AM, jdd  wrote:

>
> "acl_rights_before = u"MainAdmin:read,write,delete,revert,admin
> AdminGroup:read,write,delete,revert,admin Known:read,write All:read"  "
>


The ALL:read in  acl_rights_before matches before in-page acls. Move it into
acl_rights_default.

-jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: