From ufechner at sk28.de Sat Oct 2 02:38:37 2004 From: ufechner at sk28.de (Uwe Fechner) Date: Sat Oct 2 02:38:37 2004 Subject: [Moin-user] only englisch user interface, debian sarge Message-ID: <415E6ED0.7020300@sk28.de> Hello, I upgraded to moinmoin 1.2.3-1 on debian sarge (=testing). I am using it with apache-ssl. It worked fine before ( version 1.0 ), but now only the englisch user interface is available. If I look at the configuration page, you can only select english as language setting or browser settings, but not german, as before. The file moin_config.py contains the line: default_lang = 'de' Any idea, how to get back the german user interface? Regards: ufechner From vieglais at ku.edu Sat Oct 2 02:58:56 2004 From: vieglais at ku.edu (Dave Vieglais) Date: Sat Oct 2 02:58:56 2004 Subject: [Moin-user] ACL Group problem? Message-ID: <415E792B.3080509@ku.edu> Hi, This is probably a very simple problem but I can't seem to resolve it. Basically I'm unable to get groups working with ACLs. The goal is for any user to be able to read (including anonymous) but only members of AdminGroup can edit pages. Running the latest version of MoinMoin, ACLs are enabled in site/moin_config.py (lines wrapped by email): acl_enabled = 1 acl_rights_default = "AdminGroup:admin,read,write,delete,revert All:read" acl_rights_before = "TestUser:admin,read,write,delete,revert AdminGroup:admin,read,write,delete,revert" I then created a page (leaving acl_enabled=0 to allow creation of the page then changing it to 1) "AdminGroup" with the following contents: #acl AdminGroup:admin,read,write All: *SiteAdmin *TestUser Two users, SiteAdmin and TestUser were created. Since they are both on the AdminGroup page, I expect that they can both edit any page on the site. Instead what happens is that TestUser is able to edit any page, but SiteAdmin is not. Changing acl_rights_before to: acl_rights_before = "AdminGroup:admin,read,write,delete,revert" Means results in no one being able to edit pages. The expected result is that either TestUser or SiteAdmin should be able to edit any page, but instead it appears the Group information is ignored, and only users explicitly entered in acl-rights_before are able to edit. I'm sure this is a simple config problem - Any suggestions? thanks, Dave V. From bryan.derksen at shaw.ca Mon Oct 4 20:10:42 2004 From: bryan.derksen at shaw.ca (Bryan Derksen) Date: Mon Oct 4 20:10:42 2004 Subject: [Moin-user] Questions on the capabilities of Moin ACLs Message-ID: <5.1.0.14.2.20041004191058.01f0eb40@shawmail> My wiki is currently still just a sparkle in my eye and I'm shopping around to find the right wiki engine to build it upon. It's going to be a site for amateur authors to post works of fiction, discuss them, write collaborative stories and articles, create indexes, etc., and I'd like to have a slightly peculiar feature that just might be possible for MoinMoin ACLs to handle. Ideally, I'd like to give each user his own personal subspace that is editable only by him, to allow him to post his own personal stories without having to worry about monitoring them for vandalism and such. For example, if I were to sign on to the wiki with the username Bryan, then the following pages should be editable only by myself (and admins): Bryan Bryan/Richard III Bryan/Richard III/Act 6 etc. In the case of another person with the username Joe, I should be unable to edit his Joe/ subspace and he shouldn't be able to edit Bryan/. I've given http://moinmoin.wikiwikiweb.de/HelpOnAccessControlLists a read-through and it looks like there are some wonderfully fine-grained controls, but I don't see any way to apply different default ACLs to pages based on their title. This is my most ambitious approach to the problem, though, so if it's impossible I've got a fallback I'd be fine with. Can I set up an ACL so that a non-admin user can set his own ACL on a _new_ page, but not on one that already exists? That way authors would still be able to "claim" pages to put their stories on, but wouldn't allow them to override each other's ACLs or lock people out of existing public pages (I expect them to be well-behaved but it only takes one bad apple to make a mess :). I can even make a guess at how to do this: acl_rights_default = "AuthorGroup:read,write" acl_rights_after = "AuthorGroup:admin,read,write" Am I right in believing that on pages that don't exist yet only acl_rights_after applies, and as soon as they're created (and assuming the new page wasn't given an ACL of its own by the page creator) acl_rights_default comes into effect too? If I'm understanding this right, this would result in "default" AuthorGroup rights overriding "after" AuthorGroup rights only on pages that already exist, not on newly-created ones. From CPJohnson at edcon.co.za Wed Oct 6 03:43:30 2004 From: CPJohnson at edcon.co.za (Craig Johnson) Date: Wed Oct 6 03:43:30 2004 Subject: [Moin-user] Moin Change Notifications Message-ID: Does anybody know if it would be feasible to alter the E-Mailed Change Notifications to be formatted HTML instead of the current raw Wiki Text. Craig -- ##################################################################################### Please note my e-Mail address has changed. Please update your address book with my new e-Mail address as displayed in the "From:" field. ##################################################################################### ------------------Edcon Disclaimer ------------------------- This email is private and confidential and its contents and attachments are the property of Edcon. It is solely for the named addressee. Any unauthorised use or interception of this email, or the review, retransmission, dissemination or other use of, or taking of any action in reliance upon the contents of this email, by persons or entities other than the intended recipient, is prohibited.Save for communications relating to the official business of Edcon, the company does not accept any responsibility for the contents of this email or any opinions expressed in this email or its attachments .If you are not the named addressee please notify us immediately by reply email and delete this email and any attached files.Due to the nature of email Edcon cannot ensure and accepts no liability for the integrity of this email and any attachments, nor that they are free of any virus.Edcon accepts no liability for any loss or damage whether direct or indirect or consequential,however caused, whether by negligence or otherwise, which may result directly or indirectly from this communication or any attached files. Edgars Consolidated Stores LTD ,Post office box 200 Crown Mines, Telephone: (011) 495-6000 From Andrew.Premdas at manchester.ac.uk Wed Oct 6 05:49:12 2004 From: Andrew.Premdas at manchester.ac.uk (Andrew Premdas) Date: Wed Oct 6 05:49:12 2004 Subject: [Moin-user] ACL Group problem? In-Reply-To: <415E792B.3080509@ku.edu> Message-ID: Dave, Can't tell for sure if your AdminGroup page is doing this but ... If there is more than one space before an entry on the group page it will be ignored e.g. using ^ to represent spaces ^*WikiName (works fine) ^* WikiName (works fine) ^^*WikiName (doesn't work) This is of course real obvious once you know it, but it took me several days to work it out!! I put some extra help in the moin moin help pages see http://moinmoin.wikiwikiweb.de/HelpOnAccessControlLists All best Andrew Andrew Premdas Student Systems Developer Manchester University ------------------------- -----Original Message----- From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of Dave Vieglais Sent: 02 October 2004 10:47 To: moin-user at lists.sourceforge.net Subject: [Moin-user] ACL Group problem? Hi, This is probably a very simple problem but I can't seem to resolve it. Basically I'm unable to get groups working with ACLs. The goal is for any user to be able to read (including anonymous) but only members of AdminGroup can edit pages. Running the latest version of MoinMoin, ACLs are enabled in site/moin_config.py (lines wrapped by email): acl_enabled = 1 acl_rights_default = "AdminGroup:admin,read,write,delete,revert All:read" acl_rights_before = "TestUser:admin,read,write,delete,revert AdminGroup:admin,read,write,delete,revert" I then created a page (leaving acl_enabled=0 to allow creation of the page then changing it to 1) "AdminGroup" with the following contents: #acl AdminGroup:admin,read,write All: *SiteAdmin *TestUser Two users, SiteAdmin and TestUser were created. Since they are both on the AdminGroup page, I expect that they can both edit any page on the site. Instead what happens is that TestUser is able to edit any page, but SiteAdmin is not. Changing acl_rights_before to: acl_rights_before = "AdminGroup:admin,read,write,delete,revert" Means results in no one being able to edit pages. The expected result is that either TestUser or SiteAdmin should be able to edit any page, but instead it appears the Group information is ignored, and only users explicitly entered in acl-rights_before are able to edit. I'm sure this is a simple config problem - Any suggestions? thanks, Dave V. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From Andrew.Premdas at manchester.ac.uk Wed Oct 6 06:16:36 2004 From: Andrew.Premdas at manchester.ac.uk (Andrew Premdas) Date: Wed Oct 6 06:16:36 2004 Subject: [Moin-user] Theme Help Message-ID: Hi, I need some help for a theme I'd developing. The theme is to support a site that uses ACL's and limits the number of authors. Most of the users of the site will not be authoring pages, won't be particularly computer literate and probably will have no idea what a wiki is. What I want to do is hide most of the wiki functionality from these users whilst ensuring that authors have access to all functionality. Currently I think there are two approaches I can use: A page by page approach whereby if the user has the ACL right to write to the page then the authoring stuff will appear A user approach where if the user is known the authoring stuff will appear Does anyone have any views on this? Can anyone give me some help in implementing this? All best Andrew Andrew Premdas Student Systems Developer Manchester University ------------------------- From michael_soulier at mitel.com Wed Oct 6 07:22:09 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Wed Oct 6 07:22:09 2004 Subject: [Moin-user] RenameFile In-Reply-To: <20040928144814.GB20501@e-smith.com> References: <20040928144814.GB20501@e-smith.com> Message-ID: <20041006141958.GT30977@e-smith.com> On 28/09/04 Michael P. Soulier did say: > Hey people, > > How does one enable the ability to rename files in moin 1.2.3? I've > googled around, but found little. I tried a couple of things in my > config, but the desired link did not appear in the footer. Is this an > extension? Hello? Anyone? Renaming wiki pages? Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Wed Oct 6 07:46:43 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Wed Oct 6 07:46:43 2004 Subject: [Moin-user] Moin Change Notifications In-Reply-To: References: Message-ID: <20041006142124.GU30977@e-smith.com> On 06/10/04 Craig Johnson did say: > Does anybody know if it would be feasible to alter the E-Mailed Change > Notifications to be formatted HTML instead of the current raw Wiki > Text. HTML email should be abolished. While I'm sure it's possible, I wouldn't recommend it. You can always use the RSS feed for RecentChanges instead of relying on the notifications. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From vieglais at ku.edu Wed Oct 6 17:20:06 2004 From: vieglais at ku.edu (Dave Vieglais) Date: Wed Oct 6 17:20:06 2004 Subject: [Moin-user] ACL Group problem? In-Reply-To: References: Message-ID: <41648B4B.8070306@ku.edu> Ah, yes. That fixed it. Quite obvious really, once you know it. Thanks! Andrew Premdas wrote: > Dave, > > Can't tell for sure if your AdminGroup page is doing this but ... > > If there is more than one space before an entry on the group page it will be > ignored > > e.g. using ^ to represent spaces > > ^*WikiName (works fine) > ^* WikiName (works fine) > ^^*WikiName (doesn't work) > > This is of course real obvious once you know it, but it took me several days > to work it out!! > > I put some extra help in the moin moin help pages see > > http://moinmoin.wikiwikiweb.de/HelpOnAccessControlLists > > All best > > Andrew > > > Andrew Premdas > Student Systems Developer > Manchester University > ------------------------- > > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of Dave Vieglais > Sent: 02 October 2004 10:47 > To: moin-user at lists.sourceforge.net > Subject: [Moin-user] ACL Group problem? > > Hi, > This is probably a very simple problem but I can't seem to resolve it. > Basically I'm unable to get groups working with ACLs. The goal is for any > user to be able to read (including anonymous) but only members of AdminGroup > can edit pages. > > Running the latest version of MoinMoin, ACLs are enabled in > site/moin_config.py (lines wrapped by email): > > acl_enabled = 1 > acl_rights_default = "AdminGroup:admin,read,write,delete,revert All:read" > acl_rights_before = "TestUser:admin,read,write,delete,revert > AdminGroup:admin,read,write,delete,revert" > > I then created a page (leaving acl_enabled=0 to allow creation of the page > then changing it to 1) "AdminGroup" with the following contents: > > #acl AdminGroup:admin,read,write All: > *SiteAdmin > *TestUser > > Two users, SiteAdmin and TestUser were created. Since they are both on the > AdminGroup page, I expect that they can both edit any page on the site. > Instead what happens is that TestUser is able to edit any page, but > SiteAdmin is not. Changing acl_rights_before to: > > acl_rights_before = "AdminGroup:admin,read,write,delete,revert" > > Means results in no one being able to edit pages. > > The expected result is that either TestUser or SiteAdmin should be able to > edit any page, but instead it appears the Group information is ignored, and > only users explicitly entered in acl-rights_before are able to edit. > > I'm sure this is a simple config problem - Any suggestions? > > thanks, > Dave V. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use > IT products in your business? Tell us what you think of them. Give us Your > Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > 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: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From execve at gmail.com Wed Oct 6 22:47:19 2004 From: execve at gmail.com (Gautam Mani) Date: Wed Oct 6 22:47:19 2004 Subject: [Moin-user] RenameFile In-Reply-To: <20041006141958.GT30977@e-smith.com> References: <20040928144814.GB20501@e-smith.com> <20041006141958.GT30977@e-smith.com> Message-ID: <79e5d4f10410062246774abe91@mail.gmail.com> On Wed, 6 Oct 2004 10:19:58 -0400, Michael P. Soulier wrote: > Hello? Anyone? Renaming wiki pages? > This is in the FAQ. Check it - you will have to enable the RenamePage option in your config. > Thanks, > Mike > Cheers, -g -- If in your journey you should encounter God, God will be cut. -- Hattori Hanzo ~Kill Bill From michael_soulier at mitel.com Thu Oct 7 07:04:19 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 7 07:04:19 2004 Subject: [Moin-user] RenameFile In-Reply-To: <79e5d4f10410062246774abe91@mail.gmail.com> References: <20040928144814.GB20501@e-smith.com> <20041006141958.GT30977@e-smith.com> <79e5d4f10410062246774abe91@mail.gmail.com> Message-ID: <20041007140212.GD30977@e-smith.com> On 07/10/04 Gautam Mani did say: > This is in the FAQ. Check it - you will have to enable the RenamePage > option in your config. I did. allowed_actions = ['DeletePage', 'AttachFile', 'RenameFile'] I'm not seeing any such link in the footer. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From tw-public at gmx.de Thu Oct 7 07:16:09 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Oct 7 07:16:09 2004 Subject: [Moin-user] Python and IIS6 In-Reply-To: References: Message-ID: <41654E5E.5030302@gmx.de> > It doesn?t work. Probably there is something wrong with the combination > Python-IIS because even the simplest ?hello world? cgi scripts fails. Then first get that simple thing running. You did emit a content-type header first? > CGI Error > The specified CGI application misbehaved by not returning a complete set > of HTTP headers. That sounds like the usual error apache also gives when it doesn't work. But that message doesn't help much... Try looking into data/error.log if there is more info. > Does anyone have any ideas? I never used IIS, sorry. Thomas From tw-public at gmx.de Thu Oct 7 07:21:42 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Oct 7 07:21:42 2004 Subject: [Moin-user] only englisch user interface, debian sarge In-Reply-To: <415E6ED0.7020300@sk28.de> References: <415E6ED0.7020300@sk28.de> Message-ID: <41654F9D.8030100@gmx.de> > If I look at the configuration page, you can only select english as > language setting or browser settings, but not german, as before. Did you enter "de" into your browsers(!) language preferences settings? > The file moin_config.py contains the line: > > default_lang = 'de' This only sets the last fallback if moin doesn't know what to choose. See MoinMaster:HelpOnLanguages. Nevertheless, it should show all available languages to you. At least those compatible with your config.charset setting (default is 'iso8859-1'. Thomas From tw-public at gmx.de Thu Oct 7 07:25:23 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Oct 7 07:25:23 2004 Subject: [Moin-user] ACL Group problem? In-Reply-To: <415E792B.3080509@ku.edu> References: <415E792B.3080509@ku.edu> Message-ID: <4165506C.9020202@gmx.de> > acl_rights_default = "AdminGroup:admin,read,write,delete,revert All:read" > acl_rights_before = "TestUser:admin,read,write,delete,revert > AdminGroup:admin,read,write,delete,revert" It is not necessary to repeat in "default" what you have put into "before" anyway. "before" ACLs are applied on every page, no matter if it has own ACLs on it or uses the default ACLs. Thomas From tw-public at gmx.de Thu Oct 7 07:53:17 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Oct 7 07:53:17 2004 Subject: [Moin-user] Questions on the capabilities of Moin ACLs In-Reply-To: <5.1.0.14.2.20041004191058.01f0eb40@shawmail> References: <5.1.0.14.2.20041004191058.01f0eb40@shawmail> Message-ID: <41655707.1030808@gmx.de> > My wiki is currently still just a sparkle in my eye and I'm shopping > around to find the right wiki engine to build it upon. You have found it. > Ideally, I'd like to give each user his own > personal subspace that is editable only by him, to allow him to post his > own personal stories without having to worry about monitoring them for > vandalism and such. If you gave every author "admin" rights ("admin" means being able to set or change ACLs) by acl_rights_default, he could change ACLs on pages not already having ACLs disallowing that change. But be aware that this is a bit dangerous. If you give that right to an idiot, he can put new pages on the wiki (or change unprotected pages), so that they can't be changed/reverted/deleted by other people except the wiki admin himself. > For example, if I were to sign on to the wiki with the username Bryan, > then the following pages should be editable only by myself (and admins): > > Bryan > Bryan/Richard III > Bryan/Richard III/Act 6 There is no ACL inheritance yet. Even the pages you see as "sub"pages are on the same level in reality (see data/text/ content). So, except that's what set in moin_config, you have to set ACLs on every page individually (if needed). Can be done, but also easily forgotten maybe. > I've given http://moinmoin.wikiwikiweb.de/HelpOnAccessControlLists a > read-through and it looks like there are some wonderfully fine-grained > controls, but I don't see any way to apply different default ACLs to > pages based on their title. This is not possible. Maybe some day we have ACL inheritance, but not in 1.2 and not in early 1.3, definitely. > Can I set up an ACL so that a non-admin user can set his own ACL > on a _new_ page, but not on one that already exists? There is not really a wiki admin in moin. It is just usually called like that, when you make some specific user have admin rights (and all others) by moin_config. Try that: Make an AdminGroup page (== contains people having admin right) acl_rights_default = "AdminGroup:+admin Known:read,write All:read" acl_rights_before = "BryanDerksen:admin,read,write,delete,revert" If there are usually no secret pages, use this additionally: acl_rights_after = "All:read" So you don't need to specify it on pages having ACLs. If you want to make a page secret, you still can write "#acl .... All:" onto it. If a new trustworthy author JoeDoe joins, put him onto AdminGroup and tell him to put that onto page JoeDoe and subpages (and all other stuff "owned" by him): #acl JoeDoe:admin,read,write,delete,revert Except BryanDerksen, nobody will be able to change those ACLs or do more on the page than "read". Please test that, I didn't try it out. :) > would still be able to "claim" pages to put their stories on, but > wouldn't allow them to override each other's ACLs or lock people out of > existing public pages (I expect them to be well-behaved but it only > takes one bad apple to make a mess :). If a page has no ACL on it, AdminGroup people will be able to do bad things. So at least on FrontPage, RecentChanges and other important pages, I would put some page ACLs... > acl_rights_default = "AuthorGroup:read,write" > acl_rights_after = "AuthorGroup:admin,read,write" If JoeDoe makes a new page, he will not get admin rights this way. ACL processing stops on first hit, except +- is used. > Am I right in believing that on pages that don't exist yet only > acl_rights_after applies, and as soon as they're created (and assuming > the new page wasn't given an ACL of its own by the page creator) > acl_rights_default comes into effect too? Not quite. "default" applies to any page not having ACLs defined on it. "before" and "after" are just processed before/after the page or default acls are processed. > right, this would result in "default" AuthorGroup rights overriding > "after" AuthorGroup rights only on pages that already exist, not on > newly-created ones. I am not totally sure, but I think this is not true. If you succeed, make a usage case on MoinMaster:HelpOnAccessControlLists Thomas From tw-public at gmx.de Thu Oct 7 07:58:33 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Oct 7 07:58:33 2004 Subject: [Moin-user] Questions on the capabilities of Moin ACLs In-Reply-To: <5.1.0.14.2.20041004191058.01f0eb40@shawmail> References: <5.1.0.14.2.20041004191058.01f0eb40@shawmail> Message-ID: <4165585F.7080301@gmx.de> > My wiki is currently still just a sparkle in my eye and I'm shopping > around to find the right wiki engine to build it upon. You have found it. > Ideally, I'd like to give each user his own > personal subspace that is editable only by him, to allow him to post his > own personal stories without having to worry about monitoring them for > vandalism and such. If you gave every author "admin" rights ("admin" means being able to set or change ACLs) by acl_rights_default, he could change ACLs on pages not already having ACLs disallowing that change. But be aware that this is a bit dangerous. If you give that right to an idiot, he can put new pages on the wiki (or change unprotected pages), so that they can't be changed/reverted/deleted by other people except the wiki admin himself. > For example, if I were to sign on to the wiki with the username Bryan, > then the following pages should be editable only by myself (and admins): > > Bryan > Bryan/Richard III > Bryan/Richard III/Act 6 There is no ACL inheritance yet. Even the pages you see as "sub"pages are on the same level in reality (see data/text/ content). So, except that's what set in moin_config, you have to set ACLs on every page individually (if needed). Can be done, but also easily forgotten maybe. > I've given http://moinmoin.wikiwikiweb.de/HelpOnAccessControlLists a > read-through and it looks like there are some wonderfully fine-grained > controls, but I don't see any way to apply different default ACLs to > pages based on their title. This is not possible. Maybe some day we have ACL inheritance, but not in 1.2 and not in early 1.3, definitely. > Can I set up an ACL so that a non-admin user can set his own ACL > on a _new_ page, but not on one that already exists? There is not really a wiki admin in moin. It is just usually called like that, when you make some specific user have admin rights (and all others) by moin_config. Try that: Make an AdminGroup page (== contains people having admin right) acl_rights_default = "AdminGroup:+admin Known:read,write All:read" acl_rights_before = "BryanDerksen:admin,read,write,delete,revert" If there are usually no secret pages, use this additionally: acl_rights_after = "All:read" So you don't need to specify it on pages having ACLs. If you want to make a page secret, you still can write "#acl .... All:" onto it. If a new trustworthy author JoeDoe joins, put him onto AdminGroup and tell him to put that onto page JoeDoe and subpages (and all other stuff "owned" by him): #acl JoeDoe:admin,read,write,delete,revert Except BryanDerksen, nobody will be able to change those ACLs or do more on the page than "read". Please test that, I didn't try it out. :) > would still be able to "claim" pages to put their stories on, but > wouldn't allow them to override each other's ACLs or lock people out of > existing public pages (I expect them to be well-behaved but it only > takes one bad apple to make a mess :). If a page has no ACL on it, AdminGroup people will be able to do bad things. So at least on FrontPage, RecentChanges and other important pages, I would put some page ACLs... > acl_rights_default = "AuthorGroup:read,write" > acl_rights_after = "AuthorGroup:admin,read,write" If JoeDoe makes a new page, he will not get admin rights this way. ACL processing stops on first hit, except +- is used. > Am I right in believing that on pages that don't exist yet only > acl_rights_after applies, and as soon as they're created (and assuming > the new page wasn't given an ACL of its own by the page creator) > acl_rights_default comes into effect too? Not quite. "default" applies to any page not having ACLs defined on it. "before" and "after" are just processed before/after the page or default acls are processed. > right, this would result in "default" AuthorGroup rights overriding > "after" AuthorGroup rights only on pages that already exist, not on > newly-created ones. I am not totally sure, but I think this is not true. If you succeed, make a usage case on MoinMaster:HelpOnAccessControlLists Thomas From topeju at badzilla.net Thu Oct 7 09:01:12 2004 From: topeju at badzilla.net (Tomi Junnila) Date: Thu Oct 7 09:01:12 2004 Subject: [Moin-user] RenameFile In-Reply-To: =?iso-8859-1?Q?=3C20041007140212=2EGD30977?= =?iso-8859-1?Q?=40e-smith=2Ecom=3E_=28from_michael=5Fsoulier=40mitel=2Eco?= =?iso-8859-1?B?bSBvbiB0bywgbG9rYaCg?= 07, 2004 at 17:02:12 +0300) References: <20040928144814.GB20501@e-smith.com> <20041006141958.GT30977@e-smith.com> <79e5d4f10410062246774abe91@mail.gmail.com> <20041007140212.GD30977@e-smith.com> Message-ID: <20041007155940.GA10327@teutates.badzilla.net> On 07.10.2004 17:02:12, Michael P. Soulier wrote: > allowed_actions = ['DeletePage', 'AttachFile', 'RenameFile'] > > I'm not seeing any such link in the footer. You'll also have to fetch the action. A quick google (moinmoin renamepage) found it at http://moinmoin.wikiwikiweb.de/ActionMarket (releases 1.0 and 1.1, but IIRC it works ok with 1.2 as well). -- Tomi Junnila http://topeju.badzilla.net/ From michael_soulier at mitel.com Thu Oct 7 12:21:42 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 7 12:21:42 2004 Subject: [Moin-user] ZeroDivisionError Message-ID: <20041007192005.GW30977@e-smith.com> Someone just changed a page in my wiki, and now a diff of that page throws this exception. /usr/local/lib/python2.2/site-packages/MoinMoin/request.py in run(self=) 454 else: 455 try: 456 cgitb.Hook(file=self).handle(saved_exc) 457 # was: cgitb.handler() 458 except: cgitb = , cgitb.Hook = , file undefined, self = , ).handle undefined, saved_exc = (, , ) /usr/local/lib/python2.2/site-packages/MoinMoin/wikiaction.py in do_diff(pagename='OpenLetterOnPython', request=) 294 if request.user.show_fancy_diff: 295 from MoinMoin.util.diff import diff 296 request.write(diff(request, oldpage.get_raw_body(), newpage.get_raw_body())) 297 newpage.send_page(request, count_hit=0, content_only=1, content_id="content-under-diff") 298 else: request = , request.write = >, diff = , oldpage = , oldpage.get_raw_body = >, newpage = , newpage.get_raw_body = > /usr/local/lib/python2.2/site-packages/MoinMoin/util/diff.py in diff(request=, old="= An Open Letter on Python =\n\n== What Is This? =...s/cat_python.html#003382 Toward Python's future]\n", new="= An Open Letter on Python =\n\n== What Is This? =...s/cat_python.html#003382 Toward Python's future]\n") 94 charmatch = charobj.get_matching_blocks() 95 96 if charobj.ratio() < 0.5: 97 # Insufficient similarity. 98 if leftpane: charobj = , charobj.ratio = > //usr/lib/python2.2/difflib.py in ratio(self=) 526 matches = reduce(lambda sum, triple: sum + triple[-1], 527 self.get_matching_blocks(), 0) 528 return 2.0 * matches / (len(self.a) + len(self.b)) 529 530 def quick_ratio(self): matches = 0, len undefined, self = , self.a = '', self.b = '' ZeroDivisionError: float division __doc__ = 'Second argument to a division or modulo operation was zero.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = ('float division',) Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Thu Oct 7 14:03:07 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 7 14:03:07 2004 Subject: [Moin-user] ZeroDivisionError In-Reply-To: <20041007192005.GW30977@e-smith.com> References: <20041007192005.GW30977@e-smith.com> Message-ID: <20041007205924.GB30977@e-smith.com> On 07/10/04 Michael P. Soulier did say: > 528 return 2.0 * matches / (len(self.a) + len(self.b)) Looks like it's this line. Presumably, len(self.a) + len(self.b) == 0. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From James.Wagner at mci.com Thu Oct 7 15:46:17 2004 From: James.Wagner at mci.com (James Wagner) Date: Thu Oct 7 15:46:17 2004 Subject: [Moin-user] Help on install - no initial pages Message-ID: <000001c4acbf$2f59c5c0$d19022a6@mcilink.com> I use MoinMoin all the time at work, but I'm not the admin there. I've installed some processors, actions, etc. but never a full installation. I've installed MoinMoin on my own external web site now, and it is '''mostly''' working. The problem is that I don't have any of the initial pages. This is a "install in my own area". ~jjwagner/wiki/data/pages contains LocalSpellingWords, BadContent and now FrontPage (I did an edit just to see if it would work) ~jjwagner/wiki/data/text contains all the page text. I'm sure I've hosed up something simple. Any help would be appreciated! James. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bvande at po-box.mcgill.ca Thu Oct 7 17:14:11 2004 From: bvande at po-box.mcgill.ca (Brian van den Broek) Date: Thu Oct 7 17:14:11 2004 Subject: [Moin-user] how to enable css suport -- a new Moin-moin 1.2.3 standalone install with Python 2.3.4 and WinMe Message-ID: <4165DAF4.9080003@po-box.mcgill.ca> Hi all, I'm a brand new user of Moin-moin, and a beginning hobbyist programmer who knows only Python. (As in: "My name is Brian, and I am not a hacker".) I am using Python 2.3.4 and Moin-moin 1.2.3 under WindowsMe. Today I installed Moin-moin as a standalone (i.e. without an external webserver) application. I am wanting to use m-m as a personal wiki/PIM without web-exposure. I figured out how to get it installed. Or mostly, anyway. The install instructions that came with Moin-moin 1.2.3 indicated that it could not be run as a standalone, and the wiki versions say that there standalone instructions are not yet complete, so it is more than likely that in trying to cobble it together, I did something goofy. I used instructions at: (this last was flagged as incomplete.) What I am missing is any css features. (As in, no icons, images, horizontal lines, and the things like "FrontPage", "recentChanges" ,etc that look like horizontally arranged shaded buttons on moinmoin.wikiweb.de are in a vertical list, without shading or colour, and surrounded by ugly boxes, etc.) I'd like to know how to get Moin-moin to use css. I apologize for how much text follows, but I don't know enough to be certain that anything I mention is not relevant. The install package came with various css files and related material in various subdirectories of \wiki\htdocs. I installed Moin-moin under C:/Python23 (with stuff in /Lib, /Share, etc) by using the setup.py script, and then created C:/moinwiki, C:/moinwiki/main (main being for my "main" wiki), and C:/moinwiki/wikidata. The css related material of \wiki\htdocs is now in both C:/Python23/share/moin/htdocs and C:/moinwiki/main/htdocs. Moin-moin runs fine, but still without drawing on the css, and it looks rather ugly without it. When I installed, I made no changes to C:/moinwiki/main/moin.py. I did change some lines of C:/moinwiki/main/moin_config.py to read: > sitename = "Brian's Local Wiki" > interwikiname = None > data_dir = './data/' > url_prefix = 'C:/moinwiki/main/htdocs' In trying to solve the issue myself, I poked around on http://moinmoin.wikiwikiweb.de. But, I haven't been able to see how to enable css support. I'm typing off-line right now, but have http://localhost/HelpOnConfiguration_2fCascadingStyleSheetsall in front of me, and it says I should: > create a new .css file and use the @import function to import the > original moinmoin.css file. However, I do not have a moinmoin.css file anywhere on my HDD (neither in the newly created directories, nor in the zip file of Moin-moin 1.2.3). I have also noticed that the DOSbox that C:/moinwiki/main/moin.py brings up displays some exceptions messages such as: > Serving on localhost:80, documents in 'C:\Python23\share\moin\htdocs' > 127.0.0.1 - - [07/Oct/2004 19:24:08] "GET /BrianFront HTTP/1.1" 200 - > ---------------------------------------- > Exception happened during processing of request from ('127.0.0.1', 1275) > ---------------------------------------- > ---------------------------------------- > Exception happened during processing of request from ('127.0.0.1', 1285) > ---------------------------------------- I've not detected a pattern, beyond that they occur when I try to edit some, but not all, pages of my local wiki. (They don't seem to stop me from doing anything, though.) I'm sure its just something foolish I've done or omitted doing, but I've tried to figure it out and haven't been able. I would very much appreciate an explanation (either by a reference to the web on this list) for how to get my Moin-moin installation to use css. Either way, my proficiency is not great, so simple explanations are better. Thanks for your time. Best to all, Brian vdB From Ralf-Lists at RalfGross.de Fri Oct 8 03:27:01 2004 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Fri Oct 8 03:27:01 2004 Subject: [Moin-user] rightsidebar and page trail Message-ID: <37653.141.113.101.22.1097230617.squirrel@webmail.ssorgflar.de> Hi, I want to use the rightsidebar theme, but the page trail is not shown. I found the following: http://moinmoin.wikiwikiweb.de/ThemeMarket?action=highlight&value=rightsidebar#head-51a339713c53c462165542000c8d770dda8c41achttp://sourceforge.net/mailarchive/message.php?msg_id=9084473 With moinmoin 1.2.3 the line numbers of the necessary code changes seems to be differnt. The changes I made adds the page trail below the search fields in the Search section, but I would like to have them in the Site section. Anyone with a diff out there? Ralf From James.Wagner at mci.com Fri Oct 8 04:24:23 2004 From: James.Wagner at mci.com (James Wagner) Date: Fri Oct 8 04:24:23 2004 Subject: [Moin-user] figured out my pages issue Message-ID: <000001c4ad28$1becfe30$31009283@mcilink.com> Although the "HelpOnInstalling/ApacheOnUnix - Installation into yoru home directory" section doesn't mention it, I believe you also have to copy the underlay information into your wiki. At least in my installation I did. Once I did that, then everything started working. Just an fyi! James. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bvande at po-box.mcgill.ca Fri Oct 8 09:54:50 2004 From: bvande at po-box.mcgill.ca (Brian van den Broek) Date: Fri Oct 8 09:54:50 2004 Subject: [Moin-user] how to enable css suport -- a new Moin-moin 1.2.3 standalone install with Python 2.3.4 and WinMe In-Reply-To: <4165DAF4.9080003@po-box.mcgill.ca> References: <4165DAF4.9080003@po-box.mcgill.ca> Message-ID: <4166C41F.8050607@po-box.mcgill.ca> Brian van den Broek said unto the world upon 2004-10-07 20:10: > What I am missing is any css features. (As in, no icons, images, > horizontal lines, and the things like "FrontPage", "recentChanges" ,etc > that look like horizontally arranged shaded buttons on > moinmoin.wikiweb.de are in a vertical list, without shading or colour, > and surrounded by ugly boxes, etc.) I'd like to know how to get > Moin-moin to use css. > I'm sure its just something foolish I've done or omitted doing, but I've > tried to figure it out and haven't been able. I would very much > appreciate an explanation (either by a reference to the web on this > list) for how to get my Moin-moin installation to use css. Either way, > my proficiency is not great, so simple explanations are better. > > Thanks for your time. Best to all, > > Brian vdB Hi all, last night I posted the above, where the snips were lots of description. I received an off-list reply (thanks AnonymousDonor!) which suggested it was a Moin-moin + Windows problem. The recommendation was to > copy "C:\Python23\share\moin\htdocs" directory to "c:\moin\mywiki\wiki" and > You need one more parameter in Moin.cfg: > httpd_docs = "c:\\moinwiki\\main\\" (replacing what I had which was httpd_docs = "C:/Python23/share/moin/htdocs") Neither step made any difference. But, what I did notice, and ought to have checked before my original post :-[ was that Moin-moin with css *is* working just fine with MS IE 6. (I rolled back the suggested changes I received, and they didn't make any difference, either.) That is encouraging in its way (I *can* get css to work), but a bit of a bummer, too. I only use IE to update Windows and cope with sites that won't display in my browser of choice, Mozilla Firefox 0.10. I'd be genuinely shocked to learn that Moin-moin supported IE but not Mozilla Ff, so I assume that there must be more to do. I can rule out that Moin-moin and one of the myriad Firefox extensions I have installed is causing the conflict--I tried viewing my Wiki with a freshly created and blank profile in Firefox, but still, no css prettiness. Any further suggestions would be gratefully received. Best to all, Brian vdB From heidan at gmail.com Sat Oct 9 04:18:54 2004 From: heidan at gmail.com (Xue Jianmin, Phipps) Date: Sat Oct 9 04:18:54 2004 Subject: [Moin-user] How do I create a pictures slide-show page in MoinMoin? Message-ID: <83c470b60410090413240e862@mail.gmail.com> Hi there, I've lots of pictures stored in local directory and I wanna build a slide-show page in MoinMoin so that moin user can view every picture in that page. But I find that macro [Navigation(slideshow)]] can not fulfil my request, it can not enumerate all the pictures in my directory and generate slide-show content automatically. Is there any way to do that? Cheers, -- Xue Jianmin, Phipps Tele: +86 21 61006699 - 7519 Email: xuejm at yahoo.com Gmail: heidan at gmail.com From quendi at gmx.net Sun Oct 10 03:33:28 2004 From: quendi at gmx.net (Joachim Boltz) Date: Sun Oct 10 03:33:28 2004 Subject: [Moin-user] Hide IP Adress in Footer Message-ID: <966729408.20041010122908@gmx.net> Hi! I've been fiddling around with moinmoin the past weeks. So far only one problem could not be solved: Due to security reasons I'd like to hide the IP Adresses. I've already found the "show_hosts = 0" option, but this only affects the RecentChanges page. In the footer of the page is the "last edited by" field where you can either see the IP Adress or the Username (which would be OK), but the IP Adress is visible if you hover the mouse over the Username. I currently have the nirlo theme installed, but I'd like to have a sitewide solution - maybe I could hack the classic theme, since most themes are derived from this one? thanks in advance! jbo From tw-public at gmx.de Mon Oct 11 02:41:54 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 11 02:41:54 2004 Subject: [Moin-user] Theme Help In-Reply-To: References: Message-ID: <416A50C3.1010601@gmx.de> > A page by page approach whereby if the user has the ACL right to write to > the page then the authoring stuff will appear > > A user approach where if the user is known the authoring stuff will appear > > Does anyone have any views on this? Can anyone give me some help in > implementing this? Both shouldn't be a problem (but because of the different cases, it will make writing the theme a bit more extensive). If you start that development now, maybe do it for moin 1.3devel / beta. You can also do it for 1.2, but there might be some minor changes necessary for 1.3 and 1.2.4 will be the last 1.2.x release. In the theme object (see __init__ of it), you have self.request and via that, you can query like this: if self.request.user.valid: ... # user is known (logged in) if self.request.user.may.write(d['page_name'): ... # user may edit this page BTW, Nir is working on a really nice "aluminium" theme. Maybe you want to work together with him finishing and modifying it? Some theme adapting to ACLs could be of common interest (we don't need to show actions the user is not allowed to do anyway). Hope that helps. Thomas From tw-public at gmx.de Mon Oct 11 02:42:15 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 11 02:42:15 2004 Subject: [Moin-user] RenameFile In-Reply-To: <20041007140212.GD30977@e-smith.com> References: <20040928144814.GB20501@e-smith.com> <20041006141958.GT30977@e-smith.com> <79e5d4f10410062246774abe91@mail.gmail.com> <20041007140212.GD30977@e-smith.com> Message-ID: <416A512D.6070200@gmx.de> >>This is in the FAQ. Check it - you will have to enable the RenamePage >>option in your config. > > > I did. > > allowed_actions = ['DeletePage', 'AttachFile', 'RenameFile'] 'RenamePage' From tw-public at gmx.de Mon Oct 11 02:47:56 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 11 02:47:56 2004 Subject: [Moin-user] ZeroDivisionError In-Reply-To: <20041007192005.GW30977@e-smith.com> References: <20041007192005.GW30977@e-smith.com> Message-ID: <416A5173.7040705@gmx.de> > //usr/lib/python2.2/difflib.py in ratio(self=) > ZeroDivisionError: float division Your python is broken. Use difflib of python 2.2.3. Or even better, use python 2.3.4. From tw-public at gmx.de Mon Oct 11 02:48:05 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 11 02:48:05 2004 Subject: [Moin-user] Help on install - no initial pages In-Reply-To: <000001c4acbf$2f59c5c0$d19022a6@mcilink.com> References: <000001c4acbf$2f59c5c0$d19022a6@mcilink.com> Message-ID: <416A51EB.4040808@gmx.de> > The problem is that I don't have any of the initial pages. > > This is a "install in my own area". > > ~jjwagner/wiki/data/pages contains LocalSpellingWords, BadContent and > now FrontPage (I did an edit just to see if it would work) > > ~jjwagner/wiki/data/text contains all the page text. > > I'm sure I've hosed up something simple. Which moin version are you using? 1.2.3 or 1.3beta? From tw-public at gmx.de Mon Oct 11 02:52:52 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 11 02:52:52 2004 Subject: [Moin-user] how to enable css suport -- a new Moin-moin 1.2.3 standalone install with Python 2.3.4 and WinMe In-Reply-To: <4165DAF4.9080003@po-box.mcgill.ca> References: <4165DAF4.9080003@po-box.mcgill.ca> Message-ID: <416A5576.8040409@gmx.de> > I'm a brand new user of Moin-moin, and a beginning hobbyist programmer > who knows only Python. Then at least you're not tainted from using low level programming languages (for people who are, this can be quite an issue when they start with python, because they code low level style then in Python, too). > What I am missing is any css features. (As in, no icons, images, > horizontal lines, and the things like "FrontPage", "recentChanges" ,etc > that look like horizontally arranged shaded buttons on > moinmoin.wikiweb.de are in a vertical list, without shading or colour, > and surrounded by ugly boxes, etc.) I'd like to know how to get > Moin-moin to use css. Most likely, your /wiki URLs aren't working. Moin uses url_prefix to generate those URLs and some web server (apache or standalone) needs to serve those URLs. IIRC, it could be even the case that /wiki is hardcoded in standalone or twisted, so don't change it. > various subdirectories of \wiki\htdocs Just look into HTML of the page (Ctrl-u in Mozilla), it will likely show URLs like /wiki/classic/img/moinmoin.png (if you didn't change url_prefix). You maybe have to change some filesystem pathes to match those URLs, adding, exchanging or removing some directory level to make it match. >> url_prefix = 'C:/moinwiki/main/htdocs' I already noted on the wiki page that this is plain nonsense. That might work locally, under Windows, with some broken browsers like IE, but with nothing else and also not remotely. All you need is that httpd_docs in your config, the URL generated by moin and your file system pathes below httpd_docs match. In most cases, url_prefix = '/wiki' is correct. For sure it doesn't contain a windows path. If you have found out, please change that page on moinmoin/moinmaster and remove the nonsense. > In trying to solve the issue myself, I poked around on > http://moinmoin.wikiwikiweb.de. But, I haven't been able to see how to > enable css support. I'm typing off-line right now, but have > http://localhost/HelpOnConfiguration_2fCascadingStyleSheetsall in front > of me, and it says I should: You don't need that page to active the css that already comes with moin. greetings, Thomas From tw-public at gmx.de Mon Oct 11 03:17:20 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 11 03:17:20 2004 Subject: [Moin-user] figured out my pages issue In-Reply-To: <000001c4ad28$1becfe30$31009283@mcilink.com> References: <000001c4ad28$1becfe30$31009283@mcilink.com> Message-ID: <416A55F3.6000701@gmx.de> > Although the "HelpOnInstalling/ApacheOnUnix - Installation into yoru > home directory" section doesn't mention it, I believe you also have to > copy the underlay information into your wiki. At least in my > installation I did. Once I did that, then everything started working. This is new since 1.3 - we are still working on the docs of 1.3. I think I added the underlay stuff recently. If you find bugs on moinmaster, please correct them. From Andrew.Premdas at manchester.ac.uk Tue Oct 12 06:16:05 2004 From: Andrew.Premdas at manchester.ac.uk (Andrew Premdas) Date: Tue Oct 12 06:16:05 2004 Subject: [Moin-user] Theme Help In-Reply-To: <416A50C3.1010601@gmx.de> Message-ID: Thomas, Thankyou for your help with this. I'll get working on it right away :) My current theme is a corporate one designed to create intranet wiki's that can only be authored by members of AuthorGroup and administered by members of AdminGroup, and is aimed at producing pages aimed at non-wiki users (i.e. people that will never author and don't understand wiki). As such it contains some corporate stuff that will have to be removed before I can contribute it. On the positive side it is a bar theme that does edit properly in IE6 (needs a patch, which I posted and which may or may not be in current Moin stuff). If I get the ACL stuff working, which I should be able to do now, I'll try and write a cut down and properly commented version which can hopefully be included in other themes, or as a theme itself. I'll also download 1.3 at some point and try it on there By all means pass on my email to Nir (I don't know who he is). He is welcome to contact off or on the list. All best Andrew Andrew Premdas Student Systems Developer Manchester University ------------------------- -----Original Message----- From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of Thomas Waldmann Sent: 11 October 2004 10:22 To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Theme Help > A page by page approach whereby if the user has the ACL right to write > to the page then the authoring stuff will appear > > A user approach where if the user is known the authoring stuff will > appear > > Does anyone have any views on this? Can anyone give me some help in > implementing this? Both shouldn't be a problem (but because of the different cases, it will make writing the theme a bit more extensive). If you start that development now, maybe do it for moin 1.3devel / beta. You can also do it for 1.2, but there might be some minor changes necessary for 1.3 and 1.2.4 will be the last 1.2.x release. In the theme object (see __init__ of it), you have self.request and via that, you can query like this: if self.request.user.valid: ... # user is known (logged in) if self.request.user.may.write(d['page_name'): ... # user may edit this page BTW, Nir is working on a really nice "aluminium" theme. Maybe you want to work together with him finishing and modifying it? Some theme adapting to ACLs could be of common interest (we don't need to show actions the user is not allowed to do anyway). Hope that helps. Thomas ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From michael_soulier at mitel.com Tue Oct 12 07:17:07 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 12 07:17:07 2004 Subject: [Moin-user] RenameFile In-Reply-To: <416A512D.6070200@gmx.de> References: <20040928144814.GB20501@e-smith.com> <20041006141958.GT30977@e-smith.com> <79e5d4f10410062246774abe91@mail.gmail.com> <20041007140212.GD30977@e-smith.com> <416A512D.6070200@gmx.de> Message-ID: <20041012141445.GS30977@e-smith.com> On 11/10/04 Thomas Waldmann did say: > 'RenamePage' Doh! Thank you. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Tue Oct 12 07:17:22 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 12 07:17:22 2004 Subject: [Moin-user] ZeroDivisionError In-Reply-To: <416A5173.7040705@gmx.de> References: <20041007192005.GW30977@e-smith.com> <416A5173.7040705@gmx.de> Message-ID: <20041012141516.GT30977@e-smith.com> On 11/10/04 Thomas Waldmann did say: > Your python is broken. Use difflib of python 2.2.3. > > Or even better, use python 2.3.4. Ah, thank you. I'll try that. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Tue Oct 12 21:19:14 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 12 21:19:14 2004 Subject: [Moin-user] html customization Message-ID: <20041013041150.GA3715@e-smith.com> People, I'm looking at doing some customizations to my Moin site beyond just the CSS stylesheets. Specifically, I'd like to include a menu page on each page. I haven't seen a way to do this in the FAQ, so I thought I'd ask here. How customizable is MoinMoin? Specifically the output HTML? How would I go about customizing it? Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Wed Oct 13 06:51:14 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Wed Oct 13 06:51:14 2004 Subject: [Moin-user] html customization In-Reply-To: <20041013041150.GA3715@e-smith.com> References: <20041013041150.GA3715@e-smith.com> Message-ID: <20041013134808.GM30977@e-smith.com> On 13/10/04 Michael P. Soulier did say: > People, > > I'm looking at doing some customizations to my Moin site beyond just the > CSS stylesheets. Specifically, I'd like to include a menu page on each > page. I haven't seen a way to do this in the FAQ, so I thought I'd ask > here. > > How customizable is MoinMoin? Specifically the output HTML? How would I > go about customizing it? *sigh* And Mike finds the documentation on Themes. Question answered. Cheers, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From jim.priest at clickculture.com Wed Oct 13 07:02:13 2004 From: jim.priest at clickculture.com (Jim Priest) Date: Wed Oct 13 07:02:13 2004 Subject: [Moin-user] Running MoinMoin on W2k and IIS Message-ID: <621782EDFB139747AEBC4EC54C126BD217D7D5@companyweb> I'm trying to get MoinMoin setup on a Microsoft Win2000 box with IIS 5. I've got Python installed and it appears to be working. Got the MoinMoin files installed in C:\Moin but am having problems getting IIS to read the .cgi file. I've followed the install/setup text on the site, but I must be missing something. Was wondering if anyone else has a similar setup and could offer some insight? Thanks, Jim From michael_soulier at mitel.com Thu Oct 14 07:14:59 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 14 07:14:59 2004 Subject: [Moin-user] interwiki link to self Message-ID: <20041014140620.GK30977@e-smith.com> Hey, Is there a way to name a link to a wiki page without making it an interwiki link to self? ie. If I want to show a link to FaqPage as "Frequently Asked Questions", I can do this: [wiki:Self:FaqPage Frequently Asked Questions] That's ok, but it shows up as an InterWiki link, and it's really not, since it's the current Wiki. Perhaps any InterWiki link to Self should not show that InterWiki image? I was wondering why [FaqPage Frequently Asked Questions] doesn't work... Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Thu Oct 14 11:31:29 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 14 11:31:29 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <416EAF8E.7080507@comcast.net> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> Message-ID: <20041014182652.GJ17697@e-smith.com> On 14/10/04 Mike Hollick did say: > I think this should do what you want: > > [:FaqPage:Frequently Asked Questions] Yes, it does. Thank you. I don't see that syntax in my HelpOnLinking page. If I change this in the Moin wiki, will that change make it into the next release, or do I need to open a bug? Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From jks at iki.fi Thu Oct 14 11:33:46 2004 From: jks at iki.fi (Jouni K Seppanen) Date: Thu Oct 14 11:33:46 2004 Subject: [Moin-user] Re: interwiki link to self References: <20041014140620.GK30977@e-smith.com> Message-ID: <29655d9v2p.fsf@itl-pc9.hut.fi> "Michael P. Soulier" writes: > [wiki:Self:FaqPage Frequently Asked Questions] I think [wiki:FaqPage Frequently Asked Questions] works. -- Jouni K Sepp?nen From michael_soulier at mitel.com Thu Oct 14 12:07:05 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 14 12:07:05 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <20041014182652.GJ17697@e-smith.com> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> <20041014182652.GJ17697@e-smith.com> Message-ID: <20041014185710.GM17697@e-smith.com> On 14/10/04 Michael P. Soulier did say: > Yes, it does. Thank you. > > I don't see that syntax in my HelpOnLinking page. > > If I change this in the Moin wiki, will that change make it into the > next release, or do I need to open a bug? Scratch that. I found the HelpErrata page. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From hollick-lists at comcast.net Thu Oct 14 12:28:49 2004 From: hollick-lists at comcast.net (Mike Hollick) Date: Thu Oct 14 12:28:49 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <20041014140620.GK30977@e-smith.com> References: <20041014140620.GK30977@e-smith.com> Message-ID: <416EAF8E.7080507@comcast.net> > ie. If I want to show a link to FaqPage as "Frequently Asked Questions", > I can do this: > > [wiki:Self:FaqPage Frequently Asked Questions] I think this should do what you want: [:FaqPage:Frequently Asked Questions] -->Mike From michael_soulier at mitel.com Thu Oct 14 15:10:01 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 14 15:10:01 2004 Subject: [Moin-user] theme preference and caching Message-ID: <20041014220921.GT17697@e-smith.com> Greetings, I made a new Moin theme, and made it the default in my config, and forced it to be the only theme. For some reason after clearing the browser cache, the classic theme was still in use. Is there a way to get rid of any cached pages generated by Moin in the Wiki data and force them to be regenerated? Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From tw-public at gmx.de Fri Oct 15 05:26:46 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 15 05:26:46 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <20041014185710.GM17697@e-smith.com> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> <20041014182652.GJ17697@e-smith.com> <20041014185710.GM17697@e-smith.com> Message-ID: <416FBEFF.7090108@gmx.de> >>I don't see that syntax in my HelpOnLinking page. >> >>If I change this in the Moin wiki, will that change make it into the >>next release, or do I need to open a bug? > > > Scratch that. I found the HelpErrata page. Even better is modifying MoinMaster:HelpOnLinking in cases of clear errors or missing things. From michael_soulier at mitel.com Fri Oct 15 06:27:19 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 15 06:27:19 2004 Subject: [Moin-user] picking theme and css via GET Message-ID: <20041015132517.GX17697@e-smith.com> Is there a way to choose the requested theme or CSS via a param passed to moin.cgi? A coworker of mine is hoping to pick the CSS via a URL to a given wiki page. ie. http://path.to.wiki/wiki/WikiPage?css=path Is this possible? Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From ody at big-guy.com Fri Oct 15 13:46:14 2004 From: ody at big-guy.com (ODY) Date: Fri Oct 15 13:46:14 2004 Subject: [Moin-user] mywiki just lists directory content Message-ID: <200410152144.13625.ody@big-guy.com> hallo, I am working on a remote system (SUSE 9.1) via ssh. I installed the wiki into the python path with setup.py. Worked... Now I created an own instance called mywiki. I wanna integrate the wiki into a website that is on that server on "/server/www/htdocs/" so I made a directory called mywiki (/server/www/htdocs/mywiki/) and copied all the files there. than I set the modes and rights. There is no /etc/httpd/httpd.conf file yet, so I skipped making the changes to that so far... could that be my fault...? If I open my browser now and type http://www.mydomain.com/mywiki it just lists the entries inside that directory. Thank you for help in advance. -Rainer From michael_soulier at mitel.com Fri Oct 15 14:46:05 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 15 14:46:05 2004 Subject: [Moin-user] mywiki just lists directory content In-Reply-To: <200410152144.13625.ody@big-guy.com> References: <200410152144.13625.ody@big-guy.com> Message-ID: <20041015214047.GB17697@e-smith.com> On 15/10/04 ODY did say: > hallo, > > I am working on a remote system (SUSE 9.1) via ssh. > > I installed the wiki into the python path with setup.py. Worked... > > Now I created an own instance called mywiki. > > I wanna integrate the wiki into a website that is on that server on > "/server/www/htdocs/" so I made a directory called mywiki > (/server/www/htdocs/mywiki/) and copied all the files there. than I set the > modes and rights. > > There is no /etc/httpd/httpd.conf file yet, so I skipped making the changes to > that so far... could that be my fault...? > > If I open my browser now and type http://www.mydomain.com/mywiki it > just lists the entries inside that directory. MoinMoin is a CGI-driven application. To use the wiki you must run moin.cgi, and the web server must be configured properly to run that file as a CGI. See your web server's documentation. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Fri Oct 15 19:17:16 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 15 19:17:16 2004 Subject: [Moin-user] plugging in applications Message-ID: <20041014141011.GA17697@e-smith.com> Hey people, So, I've been playing with themes in Moin, and I've managed to get something close to what I need. Currently, I run http://opag.ca. It's done with SSI and Python CGIs, and we have a Moin Wiki at http://opag.ca/wiki. I've been thinking about replacing the entire site with just the wiki, but I don't want to lose some of the work I've done on the site. I'd like to plug in a small CMS I wrote that does the news section, which provides archives and an RSS feed. Looking at the themes, it's simple to customize existing content, but it's not really clear how to add totally new content like this. Could someone give me a starting point for plugging in completely new content like this? Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From mark.volkert at rakekniven.de Fri Oct 15 23:33:10 2004 From: mark.volkert at rakekniven.de (Mark Volkert) Date: Fri Oct 15 23:33:10 2004 Subject: [Moin-user] mywiki just lists directory content In-Reply-To: <200410152144.13625.ody@big-guy.com> References: <200410152144.13625.ody@big-guy.com> Message-ID: <200410160824.42594.mark.volkert@rakekniven.de> Am Freitag, 15. Oktober 2004 22:44 schrieb ODY: > There is no /etc/httpd/httpd.conf file yet, so I skipped making the changes > to that so far... could that be my fault...? Look at /etc/apache2/... You have to to do that. Use the search function on http://www.linux-user.de and you'll get help on SuSE. cheers Mark From ody at big-guy.com Sat Oct 16 02:07:02 2004 From: ody at big-guy.com (ODY) Date: Sat Oct 16 02:07:02 2004 Subject: [Moin-user] moin.cgi error (with MoinMoin CGI Diagnosis) In-Reply-To: <20041014141011.GA17697@e-smith.com> References: <20041014141011.GA17697@e-smith.com> Message-ID: <200410161007.35637.ody@big-guy.com> Hallo, due to the fact that I am no python expert, I need help with the following errors. Thank you for help. Rainer MoinMoin CGI Diagnosis ====================== Package "MoinMoin" successfully imported. Traceback (innermost last): File "/srv/www/htdocs/OSG-Website2/htdocs/osgwiki/cgi-bin/moin.cgi", line 22, in ? request = RequestCGI() File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 503, in __init__ RequestBase.__init__(self, properties) File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 63, in __init__ self.dicts = self.initdicts() File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 223, in initdicts dicts.scandicts() File "/usr/lib/python2.3/site-packages/MoinMoin/wikidicts.py", line 253, in scandicts pagelist = wikiutil.getPageList(config.text_dir) File "/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.py", line 274, in getPageList pages = os.listdir(text_dir) OSError: [Errno 2] No such file or directory: 'data/text' From michael_soulier at mitel.com Sat Oct 16 17:04:10 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Sat Oct 16 17:04:10 2004 Subject: [Moin-user] moin.cgi error (with MoinMoin CGI Diagnosis) In-Reply-To: <200410161007.35637.ody@big-guy.com> References: <20041014141011.GA17697@e-smith.com> <200410161007.35637.ody@big-guy.com> Message-ID: <20041017000339.GC17697@e-smith.com> On 16/10/04 ODY did say: > File "/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.py", line 274, in > getPageList > pages = os.listdir(text_dir) > OSError: [Errno 2] No such file or directory: 'data/text' Looks like a bad installation. The text directory is missing, or the wiki is misconfigured. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From James.Wagner at mci.com Sat Oct 16 19:10:00 2004 From: James.Wagner at mci.com (James Wagner) Date: Sat Oct 16 19:10:00 2004 Subject: [Moin-user] moin.cgi error (with MoinMoin CGI Diagnosis) In-Reply-To: <20041017000339.GC17697@e-smith.com> Message-ID: <000201c4b3ee$35c50830$a52c9283@mcilink.com> moin_config.py contains the following line. Insure it points to a valid directory. data_dir = './data/' James. > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of > Michael P. Soulier > Sent: Saturday, 16-Oct-2004 6:04 PM > To: MoinMoin user list > Subject: Re: [Moin-user] moin.cgi error (with MoinMoin CGI Diagnosis) > > > On 16/10/04 ODY did say: > > > File > "/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.py", line > > 274, in > > getPageList > > pages = os.listdir(text_dir) > > OSError: [Errno 2] No such file or directory: 'data/text' > > Looks like a bad installation. The text directory is missing, > or the wiki is misconfigured. > > Mike > > -- > Michael P. Soulier , 613-592-2122 x2522 > 6000/6010/60* Development, Mitel Networks Corporation > "...the word HACK is used as a verb to indicate a massive > amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal Use IT products in your business? Tell us > what you think of them. Give us Your Opinions, Get Free > ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From matt.price at utoronto.ca Sat Oct 16 23:47:03 2004 From: matt.price at utoronto.ca (Matt Price) Date: Sat Oct 16 23:47:03 2004 Subject: [Moin-user] themeMarket not working? Message-ID: <20041017064633.GA11985@utoronto.ca> hey folks, I'm having trouble downloading themes from ThemeMarket. The tarballs available there don' want to unzip -- and they're named starangely, e.g. nillo-v2.2.2.tar.gz.tar. is something weird going on there? thanks, matt ------------------------------------------- Matt Price matt.price at utoronto.ca History Department, University of Toronto (416) 978-2094 -------------------------------------------- please don't use the following addresses: zeus at derailleur.org aardvark at derailleur.org From matt.price at utoronto.ca Sun Oct 17 18:39:01 2004 From: matt.price at utoronto.ca (Matt Price) Date: Sun Oct 17 18:39:01 2004 Subject: [Moin-user] macro writing help! Message-ID: <20041018013827.GA23374@utoronto.ca> hey folks, I've written a primitive python client to interface with a database service (refdb, http://refdb.sf.net). I want to write a (set of?) macro(s) that permits the user to embed three kinds of forms in a wiki page: 1) an "add references" form that lets you add records to the database; 2) a "search database" form that lets you search the database; 3) an "attached references" form that displays a daabase query result in a user-friendly way, along wiht checkboxes that let you modify the data in various ways. I've got code for these forms in my module already, so that I can write a simple macro of the form: import re from MoinMoin import config from MoinMoin import wikiutil import MoinMoin.macro.Include from refdb_module import * def execute(macro, args): ret = '' form = AddRefForm() ret = form.CreateForm() return ret but I need to be able to pass parameters to the form, like the name and URL of the page from which the macro is called. It's not clear to me how to do that. Is there documentation on this somewhere? I'd be happy to look through the source code if someone would tell me where tto look... ------------------------------------------- Matt Price matt.price at utoronto.ca History Department, University of Toronto (416) 978-2094 -------------------------------------------- please don't use the following addresses: zeus at derailleur.org aardvark at derailleur.org From michael_soulier at mitel.com Mon Oct 18 06:05:03 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Mon Oct 18 06:05:03 2004 Subject: [Moin-user] themeMarket not working? In-Reply-To: <20041017064633.GA11985@utoronto.ca> References: <20041017064633.GA11985@utoronto.ca> Message-ID: <20041018130421.GE17697@e-smith.com> On 17/10/04 Matt Price did say: > hey folks, > > I'm having trouble downloading themes from ThemeMarket. The tarballs > available there don' want to unzip -- and they're named starangely, > e.g. nillo-v2.2.2.tar.gz.tar. > > is something weird going on there? Probably your browser. Either it's naming then incorrectly, and they're gzipped tarfiles, or the browser unzipped them and they're just tarfiles. Try renaming them to .tar and .tar.gz, and see what happens. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From Jeff.Kotula at AugustTech.com Mon Oct 18 13:04:10 2004 From: Jeff.Kotula at AugustTech.com (Kotula, Jeff) Date: Mon Oct 18 13:04:10 2004 Subject: [Moin-user] Snapshot of wiki Message-ID: Is there any utility to generate the HTML for all pages such that you could package it up and ship it standalone? (Preferably still able to do search...) ------------------------------------------------------------------------ Jeff Kotula, PhD Manager, Software Frameworks August Technology Jeff.Kotula at AugustTech.com 952.259.1734 -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael_soulier at mitel.com Mon Oct 18 13:36:02 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Mon Oct 18 13:36:02 2004 Subject: [Moin-user] white screen of death on save Message-ID: <20041018203458.GZ17697@e-smith.com> Hey people, So, I have a coworker slowly moving their static HTML site over to a Wiki that I set up using the html2 parser, to embed his html directly into the wiki pages. It's been working great, but one user is now seeing errors on save from apache. Looking in the logs, I see this. [Mon Oct 18 16:10:02 2004] [error] [client 10.33.63.146] malformed header from script. Bad header=: /home/e-smith/files/ibays/Primary/cgi-bin/moin.cgi Looks like a malformed HTTP header in the response. Any hints on troubleshooting this? Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Mon Oct 18 14:54:05 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Mon Oct 18 14:54:05 2004 Subject: [Moin-user] white screen of death on save In-Reply-To: <20041018203458.GZ17697@e-smith.com> References: <20041018203458.GZ17697@e-smith.com> Message-ID: <20041018215300.GB473@e-smith.com> On 18/10/04 Michael P. Soulier did say: > [Mon Oct 18 16:10:02 2004] [error] [client 10.33.63.146] malformed > header from script. Bad header=: > /home/e-smith/files/ibays/Primary/cgi-bin/moin.cgi > > Looks like a malformed HTTP header in the response. Any hints on > troubleshooting this? In fact, I just removed tags from the contents, and during the same, the response came back to me as text/plain, displaying the raw html code in the browser. Sounds like something screwy is going on with respect to the html2 parser, and the submission/refresh process. Any hints appreciated. Cheers, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From ralf-info at family-moll.de Mon Oct 18 23:48:42 2004 From: ralf-info at family-moll.de (Ralf Moll) Date: Mon Oct 18 23:48:42 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <416EAF8E.7080507@comcast.net> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> Message-ID: <4174B87E.2090506@family-moll.de> MoinMoin Mike, > I think this should do what you want: > > [:FaqPage:Frequently Asked Questions] Ok, this one work, but not with anchors! [wiki:Self:LiteraturIndex#python B?cher ?ber Python] This works, but looks bad (seems to be an external interwiki-link, but is local) [:LiteraturIndex#python:B?cher ?ber Python] This should look like a normal internal wiki-link, but it does not work [:LiteraturIndex:B?cher ?ber Python] This one works as normal internal link, but without jumping to the anchor IMHO the easiest way to use internal links with description / alternative text should be: [WikiLink Text about] or for anchor use: [WikiLink#position01 Text about Position 1] for external http links this works, too. So why not use this for the internal wiki links? This is one of the most illogical things in MoinMoin to me. cu, Ralf From michael_soulier at mitel.com Tue Oct 19 05:42:04 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 19 05:42:04 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <4174B87E.2090506@family-moll.de> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> <4174B87E.2090506@family-moll.de> Message-ID: <20041019124136.GB17697@e-smith.com> On 19/10/04 Ralf Moll did say: > This is one of the most illogical things in MoinMoin to me. Yeah, personally, since this works for external links [http://foo.bar.com My label] Why can't this work for internal wiki links? [MyWikiPage My label] I end up having to use this, [wiki:Self:MyWikiPage My label] but that puts an InterWiki icon in front of the link, which is misleading (but apparently not a bug), so I have to use this [:MyWikiPage:My label] Which was not only undocumented AFAIK, but completely inconsistent with any of the previous syntax. Can we possibly fix this? I love Moin, but this is one area where phpwiki does this much better, and I don't like that. Peace, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Tue Oct 19 05:47:03 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 19 05:47:03 2004 Subject: [Moin-user] white screen of death on save In-Reply-To: <20041018215300.GB473@e-smith.com> References: <20041018203458.GZ17697@e-smith.com> <20041018215300.GB473@e-smith.com> Message-ID: <20041019124637.GC17697@e-smith.com> On 18/10/04 Michael P. Soulier did say: > In fact, I just removed tags from the contents, and during the > same, the response came back to me as text/plain, displaying the raw > html code in the browser. > > Sounds like something screwy is going on with respect to the html2 > parser, and the submission/refresh process. > > Any hints appreciated. Ah, apparently, html2.py is broken in 1.2.3. It uses print instead of the request.write() method. Oddly enough, this html parser for 1.2 didn't work either. http://moinmoin.wikiwikiweb.de/ParserMarket?action=AttachFile&do=get&target=html-parser-1.2.py It gave me a bad number of args error for the parser call, and then an unknown global "request" after I fixed that. I had to patch it. This is a diff with my working version: @@ -22,8 +22,8 @@ self.html = raw self.request = request - def format(self, formatter, form): + def format(self, formatter): """ Send the "parsed" text. """ # never use print, request write is the thing to use - request.write(self.html) + self.request.write(self.html) Cheers, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Tue Oct 19 06:05:01 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 19 06:05:01 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <416FBEFF.7090108@gmx.de> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> <20041014182652.GJ17697@e-smith.com> <20041014185710.GM17697@e-smith.com> <416FBEFF.7090108@gmx.de> Message-ID: <20041019130442.GD17697@e-smith.com> On 15/10/04 Thomas Waldmann did say: > Even better is modifying MoinMaster:HelpOnLinking in cases of clear > errors or missing things. Done. Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Tue Oct 19 06:07:01 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 19 06:07:01 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <20041019124136.GB17697@e-smith.com> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> <4174B87E.2090506@family-moll.de> <20041019124136.GB17697@e-smith.com> Message-ID: <20041019130614.GE17697@e-smith.com> On 19/10/04 Michael P. Soulier did say: > Can we possibly fix this? Well, fix may be too strong a word. Perhaps if I knew the reasons why things are the way they currently are, it would help me understand. Cheers, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Networks Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From matt at overlook.homelinux.net Wed Oct 20 08:07:35 2004 From: matt at overlook.homelinux.net (Matthew Wilson) Date: Wed Oct 20 08:07:35 2004 Subject: [Moin-user] How to embed links to files, rather than the files themselves? Message-ID: My office uses moin to track a bunch of files like spreadsheets and SAS programs, which we have been uploading to the Linux server that runs moinmoin. I've been asked/told to come up with a way to to provide a link to files on our file server instead. Details: server harmonix runs the wiki. server metrix has the file /hds1/123files/hds/TAPELOG.XLS that I'd like to add a link to. harmonix has /hds1 mounted locally as well. The below excerpt shows me logged in to harmonix and in the directory with the spreadsheet. [mwilson at harmonix 4.24] /hds1/123files/hds [0]> ll TAPELOG.XLS -rw-rw-r-- 1 jburden users 2523136 Oct 20 10:45 TAPELOG.XLS [0]> df -h | grep hds1 metrix:/hds1 139G 50G 82G 38% /hds1 I've tried all of the following without success: [file://metrix/hds1/123files/hds/TAPELOG.XLS tapelog] [file://harmonix/hds1/123files/hds/TAPELOG.XLS tapelog] [file://localhost/hds1/123files/hds/TAPELOG.XLS tapelog] [file://hds1/123files/hds/TAPELOG.XLS tapelog] All help is welcome. Thanks in advance! Matt From matt at overlook.homelinux.net Wed Oct 20 08:22:24 2004 From: matt at overlook.homelinux.net (Matthew Wilson) Date: Wed Oct 20 08:22:24 2004 Subject: [Moin-user] Re: How to embed links to files, rather than the files themselves? References: Message-ID: Followup: I discovered that [file://metrix/hds1/123files/hds/TAPELOG.XLS tapelog] works fine in IE, but not in firefox. I suspect that this is some kind of mime type issue. Any ideas? From tw-public at gmx.de Wed Oct 20 09:21:33 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 20 09:21:33 2004 Subject: [Moin-user] picking theme and css via GET In-Reply-To: <20041015132517.GX17697@e-smith.com> References: <20041015132517.GX17697@e-smith.com> Message-ID: <41768E37.2040909@gmx.de> > Is there a way to choose the requested theme or CSS via a param passed > to moin.cgi? No, it is taken from the user account (or by default, which can be set by theme_default / default_theme, see MoinMoin:HelpOnConfiguration). > A coworker of mine is hoping to pick the CSS via a URL to a > given wiki page. Why doesn't he just make an account? > Is this possible? Not yet. Should it? From tw-public at gmx.de Wed Oct 20 09:25:32 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 20 09:25:32 2004 Subject: [Moin-user] themeMarket not working? In-Reply-To: <20041017064633.GA11985@utoronto.ca> References: <20041017064633.GA11985@utoronto.ca> Message-ID: <41768F15.8040102@gmx.de> > I'm having trouble downloading themes from ThemeMarket. The tarballs > available there don' want to unzip -- and they're named starangely, > e.g. nillo-v2.2.2.tar.gz.tar. > > is something weird going on there? No, all pretty ok there: -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 30564 Mar 3 2004 MissPiggy-2.zip -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 52793 Jun 14 01:38 blanko-v1.1.tar.gz -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 54890 Jun 14 01:38 branko-v1.1.tar.gz -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 39173 Mar 12 2004 leftsidebar.zip -rw-r--r-- 1 wikiwikiweb_de wikiwikiweb_de 20610 Mar 15 2004 leftsidebar2.tar.gz -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 53009 Jun 14 01:39 nillo-v2.2.2.tar.gz -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 52993 Jun 14 01:40 nirlo-v2.2.2.tar.gz -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 3603 Jul 28 21:25 nirlo_safari_bug.gif -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 18129 Oct 11 20:55 rsblue.zip -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 567 Jun 2 08:27 screen_fixed.css -rw-rw---- 1 wikiwikiweb_de wikiwikiweb_de 112838 Jun 26 20:48 tagorl-v1.0.tar.gz And testing nillo with tar tvzf showed nothing special... From Nigel.Metheringham at dev.intechnology.co.uk Wed Oct 20 09:26:28 2004 From: Nigel.Metheringham at dev.intechnology.co.uk (Nigel Metheringham) Date: Wed Oct 20 09:26:28 2004 Subject: [Moin-user] How best to do FAQs Message-ID: <1098289168.7927.50.camel@angua.localnet> I'm moving a load of the exim stuff into a moin wiki - see http://www.exim.org & http://www.exim.org/eximwiki (not linked in at present since we're still playing). One of the things I want to move into the wiki are the FAQs - which are long and extensive - see http://www.exim.org/exim-html-4.40/doc/html/FAQ.html It would be relatively simple to duplicate the current structure by having one (sub) page per section, making each question be a section header, each answer the body text below the heading, and using a [[TableOfContents]] to give a local index. I think it might well be nicer to have one (sub) page per Q&A, however I then need to have links to each Q&A page, and I really want those to be automatically updated. I guess I can make the page title be the question (some of these questions are *long*), and build a macro based on [[Navigation(children)]] to produce the TOC (it would need a better output format - maybe a bulletted list). Alternatively I guess I could do somethings based on the [[Include]] macro - except that currently explodes on me every time I attempt to use it for outputting titles - and it won't give me links back to the original pages. Any good suggestions? Any good examples people can point me to? And a final point. I have the initial FAQ source in a marked up source file. It would be fairly simple to use scripting to convert this in bulk to moin markup and split into appropriate page names. Is there some way I can move a pile of appropriately named files into the wiki tree to make the initial load of information much much faster? Nigel. -- [ Nigel Metheringham Nigel.Metheringham at InTechnology.co.uk ] [ - Comments in this message are my own and not ITO opinion/policy - ] From michael_soulier at mitel.com Wed Oct 20 09:34:44 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Wed Oct 20 09:34:44 2004 Subject: [Moin-user] Re: How to embed links to files, rather than the files themselves? In-Reply-To: References: Message-ID: <20041020162350.GJ17697@e-smith.com> On 20/10/04 Matthew Wilson did say: > Followup: I discovered that > > [file://metrix/hds1/123files/hds/TAPELOG.XLS tapelog] > > works fine in IE, but not in firefox. I suspect that this is some kind > of mime type issue. Most likely, //metrix is a windows share, which is why it works in IE. Firefox, rightly so, ignores such non-standard nonsense. Make it available on a web server, and link to it that way. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From tw-public at gmx.de Wed Oct 20 09:35:24 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 20 09:35:24 2004 Subject: [Moin-user] macro writing help! In-Reply-To: <20041018013827.GA23374@utoronto.ca> References: <20041018013827.GA23374@utoronto.ca> Message-ID: <4176908B.2020104@gmx.de> Hi Matt, > but I need to be able to pass parameters to the form, like the name > and URL of the page from which the macro is called. grep page_name * ;) From tw-public at gmx.de Wed Oct 20 09:37:27 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 20 09:37:27 2004 Subject: [Moin-user] Snapshot of wiki In-Reply-To: References: Message-ID: <41769102.3060805@gmx.de> > Is there any utility to generate the HTML for all pages such that you > could package it up and ship it standalone? moin_dump.py (see MoinMoin/scripts/...) > (Preferably still able to do search?) No search, as this would need some active part. The other alternative would be to "ship" a complete wiki, maybe with the standalone server. From matt.price at utoronto.ca Wed Oct 20 09:45:32 2004 From: matt.price at utoronto.ca (Matt Price) Date: Wed Oct 20 09:45:32 2004 Subject: [Moin-user] themeMarket not working? In-Reply-To: <41768F15.8040102@gmx.de> References: <20041017064633.GA11985@utoronto.ca> <41768F15.8040102@gmx.de> Message-ID: <20041020163942.GC9194@utoronto.ca> On Wed, Oct 20, 2004 at 06:15:17PM +0200, Thomas Waldmann wrote: > >I'm having trouble downloading themes from ThemeMarket. The tarballs > >available there don' want to unzip -- and they're named starangely, > >e.g. nillo-v2.2.2.tar.gz.tar. > > > >is something weird going on there? > > No, all pretty ok there: sorry, thought I'd replied earlier but don't see it in the archives -- problem seems to have been with firefox, which I upgraded & nowworks fine (it was rewriting the urls strangely so wget also had problems...) matt From tw-public at gmx.de Wed Oct 20 10:01:22 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 20 10:01:22 2004 Subject: [Moin-user] white screen of death on save In-Reply-To: <20041018203458.GZ17697@e-smith.com> References: <20041018203458.GZ17697@e-smith.com> Message-ID: <4176918A.7010407@gmx.de> > So, I have a coworker slowly moving their static HTML site over to a > Wiki that I set up using the html2 parser, to embed his html directly > into the wiki pages. > > It's been working great, but one user is now seeing errors on save from > apache. Looking in the logs, I see this. > > [Mon Oct 18 16:10:02 2004] [error] [client 10.33.63.146] malformed > header from script. Bad header=: > /home/e-smith/files/ibays/Primary/cgi-bin/moin.cgi > > Looks like a malformed HTTP header in the response. Any hints on > troubleshooting this? Older moin versions sometimes had such strange effects, but it shouldn't happen with 1.2.3 or later. Maybe also check if some macro uses "print" to do output (wrong). It must use request.write() instead. From matt at overlook.homelinux.net Wed Oct 20 10:28:40 2004 From: matt at overlook.homelinux.net (Matthew Wilson) Date: Wed Oct 20 10:28:40 2004 Subject: [Moin-user] Re: How to embed links to files, rather than the files themselves? References: <20041020162350.GJ17697@e-smith.com> Message-ID: On Wed Oct 20 12:23:50 2004, Michael P. Soulier wrote: > On 20/10/04 Matthew Wilson did say: > >> Followup: I discovered that >> >> [file://metrix/hds1/123files/hds/TAPELOG.XLS tapelog] >> >> works fine in IE, but not in firefox. I suspect that this is some kind >> of mime type issue. > > Most likely, //metrix is a windows share, which is why it works in IE. > Firefox, rightly so, ignores such non-standard nonsense. Metrix is a Red Hat linux server, using NFS (I think). > Make it available on a web server, and link to it that way. No can do. Is there any way to link to a file on a file server? Matt From tw-public at gmx.de Wed Oct 20 10:48:59 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 20 10:48:59 2004 Subject: [Moin-user] interwiki link to self In-Reply-To: <4174B87E.2090506@family-moll.de> References: <20041014140620.GK30977@e-smith.com> <416EAF8E.7080507@comcast.net> <4174B87E.2090506@family-moll.de> Message-ID: <417692C2.6010404@gmx.de> > (moin's link syntax) > This is one of the most illogical things in MoinMoin to me. Not only for you. This is why this is planned to change. You can help making it happen sooner by improving the pages on MoinMoin wiki that talk about it. What we need is a full new concept of link markup, considering all possibilities (including sub pages, interwiki, maybe even sub wikis), reviewing how the other do it and checking for possible problems. Of course it should be a NICE markup, what doesn't mean we can't use some parts of MediaWiki link markup. From michael_soulier at mitel.com Wed Oct 20 11:43:35 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Wed Oct 20 11:43:35 2004 Subject: [Moin-user] picking theme and css via GET In-Reply-To: <41768E37.2040909@gmx.de> References: <20041015132517.GX17697@e-smith.com> <41768E37.2040909@gmx.de> Message-ID: <20041020183939.GL17697@e-smith.com> On 20/10/04 Thomas Waldmann did say: > No, it is taken from the user account (or by default, which can be set > by theme_default / default_theme, see MoinMoin:HelpOnConfiguration). Yeah, I figured. > Why doesn't he just make an account? He's linking from another page. > Not yet. Should it? Naw it would be a hack. I told him so. He just wants to include wiki pages from his site and control the look inside of a frame. I thought I'd check and see if it were possible, but I don't much care. No one should do a site that way. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Wed Oct 20 11:48:00 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Wed Oct 20 11:48:00 2004 Subject: [Moin-user] Re: How to embed links to files, rather than the files themselves? In-Reply-To: References: <20041020162350.GJ17697@e-smith.com> Message-ID: <20041020183759.GK17697@e-smith.com> On 20/10/04 Matthew Wilson did say: > Metrix is a Red Hat linux server, using NFS (I think). Probably samba, thus a windows share. I know those types of links work in IE, even though they're totally non-standard. > No can do. Is there any way to link to a file on a file server? Well, in general, using file:// is a bad idea. That file must exist on every client for such links to always work. http and ftp are better, since the browser understands those protocols and those links should work from everywhere you page is accessible. file:// is normally for access from the client computer only. If you want to link to a file on a file server using standard protocols, you'd need a web server or ftp daemon on the file server and use those protocols. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From service at metamodul.com Wed Oct 20 11:57:03 2004 From: service at metamodul.com (service at metamodul.com) Date: Wed Oct 20 11:57:03 2004 Subject: [Moin-user] =?iso-8859-1?Q?Re:_[Moin-user]_Re:_How_to_embed_links_to_files,_rather_than_the_files_themselves??= Message-ID: <6272025$10982979524176b2604a0d04.06631736@config12.schlund.de> Matthew Wilson schrieb am 20.10.2004, 19:21:28: > > Make it available on a web server, and link to it that way. > > No can do. Is there any way to link to a file on a file server? 1) If you are using IE and are able to open a file via file://name/... means that this file is accessed via smb. So you access a MS-share. ( I assume that you have not a nfs client runing ) Everbody on a windows-Machine with an IE and the right to access the share will be able to retrieve the file. Unix client are not bable to so. 2) I assume 2.1 that your wiki runs on your local windows maschine 2.1 that you have an Webserver runing on your local machine. In this case mount the remote share localy to your machine # net use z: \\metrix\hds1 ( to check the share use : net view \\metrix # Configure you webserver so that this drive can be accessed by the webserver. Now you should be able to access these files via your local webserver and use normal web-linking in your local wiki. HTH Hajo From BradeyH at construx.com Wed Oct 20 14:20:18 2004 From: BradeyH at construx.com (Bradey Honsinger) Date: Wed Oct 20 14:20:18 2004 Subject: [Moin-user] Re: How to embed links to files, rather than the files themselves? Message-ID: <323BB51CE8D82A4089160BB42356AA5B767EFD@cxexchange.construx.com> Matthew Wilson wrote: > On Wed Oct 20 12:23:50 2004, Michael P. Soulier wrote: > > On 20/10/04 Matthew Wilson did say: > > > >> Followup: I discovered that > >> > >> [file://metrix/hds1/123files/hds/TAPELOG.XLS tapelog] > >> > >> works fine in IE, but not in firefox. I suspect that this is some kind > >> of mime type issue. > > > > Most likely, //metrix is a windows share, which is why it works in IE. > > Firefox, rightly so, ignores such non-standard nonsense. > > Metrix is a Red Hat linux server, using NFS (I think). As Michael said, it's probably an SMB (Samba) file share. > > Make it available on a web server, and link to it that way. > > No can do. Is there any way to link to a file on a file server? Yes, with some qualifications--if all of your clients are running Windows and have access to the file server, it will work fine. This is really a Mozilla issue, not a Moin one, but it's particularly relevant to wikis on an intranet, so here goes. I've run into the same issue here with our internal wiki. We want to provide links to files on internal fileservers; Michael's concerns about file:// URLs are valid in general, but for an internal wiki where everyone does have access to the fileserver, it's not an issue. In order to get it to work, you need to do two things. The first has to do with the URL itself--Mozilla (and, I assume, Firefox) requires URLs to non-local files to be in the form: file://///// For example, if you have a fileserver named "Development" with a share named "Projects" and a directory named "AirTrafficControl", the Mozilla URL would be: file://///Development/Projects/AirTrafficControl/ Also, remember that the URL has to be properly encoded--if the directory name was "Air Traffic Control", the URL would be: file://///Development/Projects/Air%20Traffic%20Control/ The five forward slashes are ugly but necessary; it won't work any other way. They do work with IE, so you don't sacrifice cross-browser compatibility. Second, you need to change Mozilla's security settings. By default, Mozilla does not allow file:// URLs to be loaded from http:// URLs (see bug #84128 at bugzilla.mozilla.org). To change this, go to about:config in your browser and change security.checkloaduri to false. That should do it. - Bradey From ahuxley at gmx.net Wed Oct 20 15:05:07 2004 From: ahuxley at gmx.net (Alexis Huxley) Date: Wed Oct 20 15:05:07 2004 Subject: [Moin-user] Re: How to embed links to files, rather than the files themselves? References: Message-ID: > [file://metrix/hds1/123files/hds/TAPELOG.XLS tapelog] > [file://harmonix/hds1/123files/hds/TAPELOG.XLS tapelog] > [file://localhost/hds1/123files/hds/TAPELOG.XLS tapelog] > [file://hds1/123files/hds/TAPELOG.XLS tapelog] 'hds1' is the local mount point? Or did I misunderstand? If it is, then should that last one be: [file:///hds1/123.... ? Perhaps both browsers will accept that? Alexis From michael_soulier at mitel.com Thu Oct 21 06:30:49 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 21 06:30:49 2004 Subject: [Moin-user] RenamePage and links Message-ID: <20041021132447.GO17697@e-smith.com> Hey people, I'd like to put in a feature request, in case I don't have time to implement this myself. Currently the RenamePage action renames just fine, but it doesn't change all links to that page like in TWiki. This causes a lot of work when the page you're renaming is linked to from a lot of other pages. Would it be possible to add this feature in a future release? Cheers, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From Andrew.Premdas at manchester.ac.uk Thu Oct 21 08:08:10 2004 From: Andrew.Premdas at manchester.ac.uk (Andrew Premdas) Date: Thu Oct 21 08:08:10 2004 Subject: [Moin-user] Site Types In-Reply-To: <20041021132447.GO17697@e-smith.com> Message-ID: Another feature request or idea. Moin has the ability to be used for a number of different purposes e.g. * personal wiki * intranet site * open wiki Etc. These sites require different sorts of behaviours in terms of security, and user interface. In particular a simpler user interface for people who are not authoring pages would be preferable. Could we introduce a site type variable in the main config that could be passed to themes so they can modify themselves for different uses. Themes could then combine roles and site types to morph their behaviour to different circumstances. E.g. Owner on personal site has full wiki interface, Visitors have minimal interface. Comments? All best Andrew Andrew Premdas Student Systems Developer Manchester University ------------------------- From mrah at gmx.net Thu Oct 21 10:17:51 2004 From: mrah at gmx.net (hb)) Date: Thu Oct 21 10:17:51 2004 Subject: [Moin-user] navi_bar, html macro and parser, HowTo link an external page into "mywiki" Message-ID: <200410211911.02134.mrah@gmx.net> Hi, my system enviroment is a Debian Sarge Distribution with MoinMoin version 1.2.3-1 and the questions are: 1. navi_bar I like to put in moin_config.py the variabel navi_bar = "[!SiteDiscription, FrontPage NotFrontpage, ^http://moin.sf.net Moin Moin] The syntax doesnt work, as I saw it for example under http://www.seattlewireless.net/index.cgi/LinksysWrt54g I know already HelpOnConfiguration, but can somebody probably provide me with an example moin_config.py with *all* options filled or guide me to the right URL? 2. html macro and parser I downloaded the scripts from the MacroMarket and ParserMarket und copied them to the respective directories ../mywiki/data/plugin/macro/HTML.py and ../mywiki/data/plugin/parser/HTML.py The files are owned by www-data an I made a chmod a+r. But I get an inline error Message saying "Raw HTML not returned because page is writable." So do I have to secure that specific page by AccessControlLists (ACL) ? 3. HowTo link an external page into "mywiki" and keeping the exiting mywiki-navigation? I saw under MoinMoinSuccessStories a kind of solution using iframe: [[HTML()]] But before that solutions stands Problem 2! Is there annother MoinMoin conform solution to that feature request? Thanks in advance, harm-? From harmbehrens at gmx.net Thu Oct 21 10:33:11 2004 From: harmbehrens at gmx.net (hb)) Date: Thu Oct 21 10:33:11 2004 Subject: [Moin-user] navi_bar, html macro and parser, HowTo link an external page into "mywiki" Message-ID: <200410211927.22569.harmbehrens@gmx.net> Hi, my system enviroment is a Debian Sarge Distribution with MoinMoin version 1.2.3-1 and the questions are: 1. navi_bar I like to put in moin_config.py the variabel navi_bar = "[!SiteDiscription, FrontPage NotFrontpage, ^http://moin.sf.net Moin Moin] The syntax doesnt work, as I saw it for example under http://www.seattlewireless.net/index.cgi/LinksysWrt54g I know already HelpOnConfiguration, but can somebody probably provide me with an example moin_config.py with *all* options filled or guide me to the right URL? 2. html macro and parser I downloaded the scripts from the MacroMarket and ParserMarket und copied them to the respective directories ../mywiki/data/plugin/macro/HTML.py and ../mywiki/data/plugin/parser/HTML.py The files are owned by www-data an I made a chmod a+r. But I get an inline error Message saying "Raw HTML not returned because page is writable." So do I have to secure that specific page by AccessControlLists (ACL) ? 3. HowTo link an external page into "mywiki" and keeping the exiting mywiki-navigation? I saw under MoinMoinSuccessStories a kind of solution using iframe: [[HTML()]] But before that solutions stands Problem 2! Is there annother MoinMoin conform solution to that feature request? Thanks in advance, harm-? From mike at pcblokes.com Thu Oct 21 16:25:42 2004 From: mike at pcblokes.com (Michael Foord) Date: Thu Oct 21 16:25:42 2004 Subject: [Moin-user] Potential New User... Message-ID: <417841B7.9050706@pcblokes.com> Hello, I hope this channel is newbie friendly, but in general python is - so here goes. I need to set up a 'collaborative' content area of a website for a charity funding project I'm involved with. A Wiki seems the ideal format - and what could possibly be better than a python one. My webhost offers very good support for python and is willing to install MoinMoin for me ( http://www.saphiresoft.co.uk if anyone is interested). What would be ideal is if we could set it up so that his various customers could all establish there own Wikis with the minimum of tinkering with system files each time - I guess his server is a normal virtual server (apache on Linux with cPanel). Can anyone point me to a good resource on this - googling produced a mind boggling array of potential results and I'm sure this must have been addressed before. If anyone can tell me what the issues are likely to be as well that would be helpful. For example I potentially would like 3 wikis of my own and other users may want one or more. This mustn't be a nightmare for the hoster to setup - oh, and we have mod_python installed. Many TIA Regards, Michael http://www.voidspace.org.uk/atlantibots/pythonutils.html From kentsin at yahoo.com Fri Oct 22 08:01:12 2004 From: kentsin at yahoo.com (kent sin) Date: Fri Oct 22 08:01:12 2004 Subject: [Moin-user] twisted moin Message-ID: <20041022145619.51379.qmail@web41523.mail.yahoo.com> In gentoo with moin-1.3, mointwisted start : Failed to load application : "module" object has no attribute 'setappdefaultencoding' The sitecustomize.py is in /usr/lib/python2.3/site-packages/MoinMoin/ and sys.path.append('/usr/lib/python2.4/site-packages/MoinMoin') is added to mointwisted.py Also, I have try to copy sitecustomize.py to the wiki directory, but also fail. Can someone help? From tw-public at gmx.de Fri Oct 22 10:22:06 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 22 10:22:06 2004 Subject: [Moin-user] RenamePage and links In-Reply-To: <20041021132447.GO17697@e-smith.com> References: <20041021132447.GO17697@e-smith.com> Message-ID: <41793FB2.9000000@gmx.de> > I'd like to put in a feature request, in case I don't have time to > implement this myself. Currently the RenamePage action renames just > fine, but it doesn't change all links to that page like in TWiki. This > causes a lot of work when the page you're renaming is linked to from a > lot of other pages. Right. This is why one should think before naming pages. We could automatically change all link, but this has several problems: a) Technically, we would need to globally lock the whole wiki while that renaming is in progress - to avoid other people changing pages we also change (or just renaming it back or to another name). This is not nice to do. b) If it is so easy, you might get oscillations in page names, if people can't agree on it. > Would it be possible to add this feature in a future release? Not in 1.3. Maybe 1.4, maybe later, maybe never. X) That global lock is the main problem... From tw-public at gmx.de Fri Oct 22 10:28:37 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 22 10:28:37 2004 Subject: [Moin-user] navi_bar, html macro and parser, HowTo link an external page into "mywiki" In-Reply-To: <200410211927.22569.harmbehrens@gmx.net> References: <200410211927.22569.harmbehrens@gmx.net> Message-ID: <41794187.6060403@gmx.de> > I like to put in moin_config.py the variabel navi_bar = "[!SiteDiscription, > FrontPage NotFrontpage, ^http://moin.sf.net Moin Moin] This is the syntax: navi_bar = [ "FrontPage", "RecentChanges", ] It is a list of strings. Forget about ^, this feature has been removed as it used deprecated html and that decision should be left to user anyway. Not sure what you want to achieve with !SiteDescription. > 2. html macro and parser > > I downloaded the scripts from the MacroMarket and ParserMarket und copied them > to the respective directories ../mywiki/data/plugin/macro/HTML.py > and ../mywiki/data/plugin/parser/HTML.py The files are owned by www-data an I > made a chmod a+r. > > But I get an inline error Message saying "Raw HTML not returned because page > is writable." So do I have to secure that specific page by AccessControlLists > (ACL) ? Yes. Otherwise anybody could put arbitrary html exploit code onto your page. Maybe check the HTML macro code to see what it wants. > 3. HowTo link an external page into "mywiki" and keeping the exiting > mywiki-navigation? I don't understand the question. From BradeyH at construx.com Fri Oct 22 10:35:38 2004 From: BradeyH at construx.com (Bradey Honsinger) Date: Fri Oct 22 10:35:38 2004 Subject: [Moin-user] Potential New User... Message-ID: <323BB51CE8D82A4089160BB42356AA5B767F12@cxexchange.construx.com> Michael Foord wrote: > My webhost offers very good support for python and is willing > to install > MoinMoin for me ( http://www.saphiresoft.co.uk if anyone is > interested). > What would be ideal is if we could set it up so that his various > customers could all establish there own Wikis with the minimum of > tinkering with system files each time - I guess his server is > a normal > virtual server (apache on Linux with cPanel). > > Can anyone point me to a good resource on this - googling produced a > mind boggling array of potential results and I'm sure this must have > been addressed before. Well, I'm certainly no expert, but I've been thinking of setting up a wiki farm on our intranet. All I can do it point you at some of the info on the wiki; I'd suggest going to the #moin IRC channel if you don't see what you need to know. It looks like wiki farm configuration is changing in 1.3; see MoinMoin:MultiConfig for the details. It looks like it's all actually implemented (see MoinMoin:MoinMoinTodo/Release 1.3), but I'm not sure that it's in the latest 1.3 beta. MoinMaster:HelpOnConfiguration gives the details for 1.2. As far as mod_python goes, I haven't done it, but there are HelpOnInstalling/ApacheWithModPython pages on both MoinMoin and MoinMaster. - Bradey From tw-public at gmx.de Fri Oct 22 10:42:19 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 22 10:42:19 2004 Subject: [Moin-user] Potential New User... In-Reply-To: <417841B7.9050706@pcblokes.com> References: <417841B7.9050706@pcblokes.com> Message-ID: <41794462.3070609@gmx.de> > What would be ideal is if we could set it up so that his various > customers could all establish there own Wikis with the minimum of > tinkering with system files each time - I guess his server is a normal > virtual server (apache on Linux with cPanel). Maybe let him install moin once into system locations. He also could configure Apache so that you can use ~/public_html/ directory in your home directory. You also need your own cgi-bin directory and the CGI should be run under your own user id. So anyone can setup his own wiki. This is also described in the moin install docs. If you aren't in a hurry (or he is willing to upgrade often :), you could also use moin 1.3 which will have better multiple config support, but is currently still in beta. If you (he) rather want to stay on the stable path: 1.2.4 will be released RSN. > For example I potentially would like 3 wikis of my own > and other users may want one or more. This mustn't be a nightmare for > the hoster to setup - oh, and we have mod_python installed. mod_python is faster, but not easier than using CGI. From tw-public at gmx.de Fri Oct 22 10:46:02 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 22 10:46:02 2004 Subject: [Moin-user] twisted moin In-Reply-To: <20041022145619.51379.qmail@web41523.mail.yahoo.com> References: <20041022145619.51379.qmail@web41523.mail.yahoo.com> Message-ID: <41794542.4010608@gmx.de> > Failed to load application : "module" object has no > attribute 'setappdefaultencoding' /me feels that will get a FAQ. :) > The sitecustomize.py is in > /usr/lib/python2.3/site-packages/MoinMoin/ It MUST be in a python path (on top level) - like /usr/lib/python2.3/site-packages/sitecustomize.py. > sys.path.append('/usr/lib/python2.4/site-packages/MoinMoin') This is too late for sitecustomize as it is run on interpreter startup, even before your script will begin to execute. Ehrm, you don't mix python2.3 and 2.4, do you? See pathes above. Ever use the same python to install like you want to use for running the wiki. Same applies for sitecustomize.py copying... From mrovner at propel.com Fri Oct 22 10:46:09 2004 From: mrovner at propel.com (Mike Rovner) Date: Fri Oct 22 10:46:09 2004 Subject: [Moin-user] setappdefaultencoding (Was: twisted moin) In-Reply-To: <20041022145619.51379.qmail@web41523.mail.yahoo.com> References: <20041022145619.51379.qmail@web41523.mail.yahoo.com> Message-ID: kent sin wrote: > Failed to load application : "module" object has no > attribute 'setappdefaultencoding' > > The sitecustomize.py is in > /usr/lib/python2.3/site-packages/MoinMoin/ shall be in /usr/lib/python2.3/site-packages > sys.path.append('/usr/lib/python2.4/site-packages/MoinMoin') > is added to mointwisted.py as is is imported from /usr/lib/python2.3/site.py > Can someone help? make sure you have site.py HTH, Mike From michael_soulier at mitel.com Fri Oct 22 10:57:03 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 22 10:57:03 2004 Subject: [Moin-user] RenamePage and links In-Reply-To: <41793FB2.9000000@gmx.de> References: <20041021132447.GO17697@e-smith.com> <41793FB2.9000000@gmx.de> Message-ID: <20041022175318.GL17697@e-smith.com> On 22/10/04 Thomas Waldmann did say: > Right. This is why one should think before naming pages. Unfortunately not everyone using the Wiki does so, or follows preset naming conventions. > We could automatically change all link, but this has several problems: > > a) Technically, we would need to globally lock the whole wiki while that > renaming is in progress - to avoid other people changing pages we also > change (or just renaming it back or to another name). This is not nice > to do. Perhaps, but if this is made clear to the Wiki admin up front, they can restrict access to the RenamePage action appropriately. > b) If it is so easy, you might get oscillations in page names, if people > can't agree on it. Again, I would give the wiki admin the choice. Warn them of the possible issues, but give them the option. You could even make the action configurable, so they have the option of having it rename all links when the page is renamed. I don't think I subscribe to the idea of "dangerous features". I'd leave the choice up to the wiki admin. > Not in 1.3. Maybe 1.4, maybe later, maybe never. X) > > That global lock is the main problem... Understood. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Fri Oct 22 11:06:47 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 22 11:06:47 2004 Subject: [Moin-user] Potential New User... In-Reply-To: <417841B7.9050706@pcblokes.com> References: <417841B7.9050706@pcblokes.com> Message-ID: <20041022175720.GM17697@e-smith.com> On 22/10/04 Michael Foord did say: > Can anyone point me to a good resource on this - googling produced a > mind boggling array of potential results and I'm sure this must have > been addressed before. Setting up a wiki instance is fairly simple. I'm sure your ISP could script it quite easily. If he keeps one per virtual host, that would be easiest, I think, but there's nothing forcing that. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From tw-public at gmx.de Mon Oct 25 06:50:05 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 25 06:50:05 2004 Subject: [Moin-user] Potential New User... In-Reply-To: <323BB51CE8D82A4089160BB42356AA5B767F12@cxexchange.construx.com> References: <323BB51CE8D82A4089160BB42356AA5B767F12@cxexchange.construx.com> Message-ID: <417D0355.7060205@gmx.de> > It looks like wiki farm configuration is changing in 1.3; see > MoinMoin:MultiConfig for the details. It looks like it's all actually > implemented (see MoinMoin:MoinMoinTodo/Release 1.3), but I'm not sure > that it's in the latest 1.3 beta. MultiConfig works, we currently use the latest 1.3 stuff for running both moinmaster and moinmoin wiki in a multiconfig setup under twisted. > MoinMaster:HelpOnConfiguration gives the details for 1.2. Not any more, we are currently rewriting/fixing the docs for 1.3 on moinmaster. So if you want 1.2 infos, use your local help pages, not moinmaster. From mike at pcblokes.com Mon Oct 25 07:16:02 2004 From: mike at pcblokes.com (Voidspace) Date: Mon Oct 25 07:16:02 2004 Subject: [Moin-user] Potential New User... In-Reply-To: <417D0355.7060205@gmx.de> References: <323BB51CE8D82A4089160BB42356AA5B767F12@cxexchange.construx.com> <417D0355.7060205@gmx.de> Message-ID: <417D0A6F.6040104@pcblokes.com> Sorry about this. I got such a variety of answers to my last question that I'm only marginally less confused ;-) Ideally I would like my hoster to only to have to do one install of MoinMoin and then allow users to create new Wiki instances without him having to fiddle with too many files to do this. I personally would like to be able to have three different wikis for example. Is this possible from the current stable version ? One of the replies (I forget who made it - very sorry) suggested that my hoster ought to be able to script setting up his host accounts with MoinMoin - but I thought that might be a whole install per user ? If that is the simplest way with 1.2.4 then so be it !! Regards, Fuzzy If my hoster has several Thomas Waldmann wrote: >> It looks like wiki farm configuration is changing in 1.3; see >> MoinMoin:MultiConfig for the details. It looks like it's all actually >> implemented (see MoinMoin:MoinMoinTodo/Release 1.3), but I'm not sure >> that it's in the latest 1.3 beta. > > > MultiConfig works, we currently use the latest 1.3 stuff for running > both moinmaster and moinmoin wiki in a multiconfig setup under twisted. > > > MoinMaster:HelpOnConfiguration gives the details for 1.2. > > Not any more, we are currently rewriting/fixing the docs for 1.3 on > moinmaster. So if you want 1.2 infos, use your local help pages, not > moinmaster. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://www.Voidspace.org.uk/atlantibots/pythonutils.html Python utilities, modules and apps. Including Nanagram, Dirwatcher and more. --- http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From harmbehrens at gmx.net Tue Oct 26 03:26:15 2004 From: harmbehrens at gmx.net (hb)) Date: Tue Oct 26 03:26:15 2004 Subject: [Moin-user] navi_bar, html macro and parser, HowTo link an external page into "mywiki" In-Reply-To: <41794187.6060403@gmx.de> References: <200410211927.22569.harmbehrens@gmx.net> <41794187.6060403@gmx.de> Message-ID: <200410261225.27638.harmbehrens@gmx.net> Hi, thanks for the feedback, but > > I like to put in moin_config.py the variabel navi_bar = > > "[!SiteDiscription, FrontPage NotFrontpage, ^http://moin.sf.net Moin > > Moin] > > This is the syntax: > > navi_bar = [ "FrontPage", "RecentChanges", ] > > It is a list of strings. > > Forget about ^, this feature has been removed as it used deprecated html > and that decision should be left to user anyway. but is there annother posibility/syntax to integrate an external link in the "navi_bar variable"? > Not sure what you want to achieve with !SiteDescription. I wanted to achieve a description, without creating a link, i.e saying "PetersWiki" without linking to the wiki page "PetersWiki"!? > > 2. html macro and parser > > > > I downloaded the scripts from the MacroMarket and ParserMarket und copied > > them to the respective directories ../mywiki/data/plugin/macro/HTML.py > > and ../mywiki/data/plugin/parser/HTML.py The files are owned by www-data > > an I made a chmod a+r. > > > > But I get an inline error Message saying "Raw HTML not returned because > > page is writable." So do I have to secure that specific page by > > AccessControlLists (ACL) ? > > Yes. Otherwise anybody could put arbitrary html exploit code onto your > page. Maybe check the HTML macro code to see what it wants. Meanwhile I activated ACL by adding "acl_enabled = 1" in the moin_config.py and put in top of the page "#acl SomeUser:read,write,admin All:read". As a result everybody can read the page, but only "SomeUser" is able to edit and change the content. => But I still get the inline error Message saying "Raw HTML not returned because page is writable." So, what else has to be done? > > 3. HowTo link an external page into "mywiki" and keeping the exiting > > mywiki-navigation? > > I don't understand the question. For example my wiki can be found at www.domain.de/mywiki and I have an existing gallery found under www.domain.de/myimages. And I like to link the page www.domain.de/myimages into the wiki-page www.domain.de/mywiki/FotoGallery in a "frame-like-style"! Is than unnderstandable? Thanks in advance for your feedback, hb-) From michael_soulier at mitel.com Tue Oct 26 05:40:03 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Tue Oct 26 05:40:03 2004 Subject: [Moin-user] navi_bar, html macro and parser, HowTo link an external page into "mywiki" In-Reply-To: <200410261225.27638.harmbehrens@gmx.net> References: <200410211927.22569.harmbehrens@gmx.net> <41794187.6060403@gmx.de> <200410261225.27638.harmbehrens@gmx.net> Message-ID: <20041026123858.GC17697@e-smith.com> On 26/10/04 hb) did say: > but is there annother posibility/syntax to integrate an external link in the > "navi_bar variable"? They're standard Wiki links. See HelpOnLinking. > I wanted to achieve a description, without creating a link, i.e saying > "PetersWiki" without linking to the wiki page "PetersWiki"!? Again, see HelpOnLinking. > For example my wiki can be found at www.domain.de/mywiki and I have an > existing gallery found under www.domain.de/myimages. And I like to link the > page www.domain.de/myimages into the wiki-page > www.domain.de/mywiki/FotoGallery in a "frame-like-style"! Is than > unnderstandable? You can write the wiki page in raw html using the html parser plugin. That should give you the flexibility you require. Also, note that the help files explicitely state that hyperlinks to images will be resolved to the image itself. That may be enough for you. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From kiko at async.com.br Tue Oct 26 18:35:01 2004 From: kiko at async.com.br (Christian Robottom Reis) Date: Tue Oct 26 18:35:01 2004 Subject: [Moin-user] Attachment uploads and mime types Message-ID: <20041027013419.GC6470@async.com.br> Hello there, I've run into a peculiar problem with text/plain uploads that I imagine others may have found before me. Basically, any text file (say, foo.log) I upload with no mime type is saved as a binary. I say: aha, specify text/plain as a mime type. But then, Moin renames my file to foo.log.ksh. ksh? I haven't touched one in the last 5 years or so . I suspect this has something to do with the mimetypes' library's handling of this file, but I'd like to get a second opinion before I go around generating diffs. Any help much appreciated. Take care, -- Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331 From skip at pobox.com Tue Oct 26 20:19:05 2004 From: skip at pobox.com (Skip Montanaro) Date: Tue Oct 26 20:19:05 2004 Subject: [Moin-user] 'bot to reverse scribbles/spam? Message-ID: <16767.4970.15226.6913@montanaro.dyndns.org> We are having ongoing problems with someone scribbling on the Python.org wiki. Whoever it is (claims to be "fred lee") deletes some content and adds a bunch of external links to lots of other sites. For an example, visit the front page info url: http://www.python.org/moin/FrontPage?action=info and take a look at "fred lee"s most recent "work". A number of us have been monitoring changes to the wiki and reverting bad changes, but I was wondering if anyone has considered creation of a 'bot to monitor RecentChanges and revert suspicious changes? "Suspicious" might be defined in a number of different ways: * changes by particular users * changes containing certain suspect patterns * changes from certain ip address ranges Thx, -- Skip Montanaro skip at mojam.com http://www.mojam.com/ From vanibhat at comcast.net Wed Oct 27 05:21:01 2004 From: vanibhat at comcast.net (vanibhat at comcast.net) Date: Wed Oct 27 05:21:01 2004 Subject: [Moin-user] unable to access wiki instance thro apache Message-ID: <102720041220.14765.417F928D000CDC54000039AD22007589429B0E080D07020E90@comcast.net> Hello, I have installed Moinmoin1.2.4, Python 2.3.4 and apache 2.0.52 on Solaris 8. Apache seems to be working fine. but when I created Wiki Instance "mywiki" in /usr/local/share/moin/mywiki , I am unable to access it thro apache. I get the following error when accessing the page Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you at example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ---------------------------------------------------------------------- I am seeing this error_log in apache [Wed Oct 27 08:11:32 2004] [error] [client 10.1.2.126] File does not exist: /opt /apache2/htdocs/wiki [Wed Oct 27 08:11:39 2004] [error] [client 10.1.2.126] ld.so.1: /usr/local/bin/p ython: fatal: libstdc++.so.5: open failed: No such file or directory [Wed Oct 27 08:11:39 2004] [error] [client 10.1.2.126] Premature end of script headers: moin.cgi ------------------------------------------------------------------------ I can run the moin.cgi script from the shell. It executes fine when i say "python moin.cgi". I have set the Librarry Path too. I have given the following entry in httpd.conf. This apache runs on port 8000 as there is another webserver running with port 80. Alias /wiki/ "/usr/local/share/moin/htdocs/" ScriptAlias /mywiki "/usr/local/share/moin/mywiki/moin.cgi" I have tried searching in google but no help. I am also very new to moin. I would appreciate if someone can help me to correct this problem. Thanks, Vani -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Wed Oct 27 06:16:03 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 27 06:16:03 2004 Subject: [Moin-user] 'bot to reverse scribbles/spam? In-Reply-To: <16767.4970.15226.6913@montanaro.dyndns.org> References: <16767.4970.15226.6913@montanaro.dyndns.org> Message-ID: <417F9E28.20201@gmx.de> Hi Skip, > We are having ongoing problems with someone scribbling on the Python.org > wiki. Whoever it is (claims to be "fred lee") deletes some content and adds > a bunch of external links to lots of other sites. This kind of wiki spam is quite widespread recently. This is why I have made the antispam extension, see MoinMoin:AntiSpamGlobalSolution . antispam is included in moin 1.2.4, but it should also work with 1.2.x. > * changes by particular users Just delete his user account. Or even better: disable it, so he can't create a new one with that name. > * changes containing certain suspect patterns This is what antispam.py does. > * changes from certain ip address ranges Doesn't really help. Thomas From tw-public at gmx.de Wed Oct 27 06:22:05 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 27 06:22:05 2004 Subject: [Moin-user] unable to access wiki instance thro apache In-Reply-To: <102720041220.14765.417F928D000CDC54000039AD22007589429B0E080D07020E90@comcast.net> References: <102720041220.14765.417F928D000CDC54000039AD22007589429B0E080D07020E90@comcast.net> Message-ID: <417F9F7E.305@gmx.de> > Internal Server Error Well, this is a very common and generic error, it doesn't tell much, except that it didn't work. > [Wed Oct 27 08:11:32 2004] [error] [client 10.1.2.126] File does not > exist: /opt/apache2/htdocs/wiki ? > [Wed Oct 27 08:11:39 2004] [error] [client 10.1.2.126] ld.so.1: > /usr/local/bin/python: fatal: libstdc++.so.5: open failed: No such file or directory This looks like your python installation is broken and misses some libraries. Maybe try to start python from the shell. Check if libstdc++ is installed. > I can run the moin.cgi script from the shell. It executes fine when i > say "python moin.cgi". Maybe your web server and the shell have different PATH setting, so it uses a different python binary. Use an absolute path to the python binary in moin.cgi and when testing from shell. > Alias /wiki/ "/usr/local/share/moin/htdocs/" > ScriptAlias /mywiki "/usr/local/share/moin/mywiki/moin.cgi" Looks rather ok. > I have tried searching in google but no help. I am also very new to > moin. Your problem seems to be rather python or apache related than moin. From kentsin at yahoo.com Thu Oct 28 07:41:29 2004 From: kentsin at yahoo.com (kent sin) Date: Thu Oct 28 07:41:29 2004 Subject: [Moin-user] Twisted with multiple wiki Message-ID: <20041028143407.57166.qmail@web41503.mail.yahoo.com> I have succeed with one wiki with twisted. How can I make a wiki farm with Twisted? Is twisted the fastest? From vanibhat at comcast.net Thu Oct 28 11:27:45 2004 From: vanibhat at comcast.net (vanibhat at comcast.net) Date: Thu Oct 28 11:27:45 2004 Subject: [Moin-user] wiki instance location Message-ID: <102820041825.24026.418139AD000DBE4700005DDA22007348409B0E080D07020E90@comcast.net> Hello, My MoinMoin wiki installtion is in /usr/local/share/moin and Python is in /usr/local/bin. I would like to know if I can create wiki instance anywhere or is it should be in /usr/local/share/moin/mywiki?? I cannot give access to all the users for /usr/local/share/moin/mywiki. Pls let me know your suggestions Thanks, Vani M -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael_soulier at mitel.com Thu Oct 28 12:13:13 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 28 12:13:13 2004 Subject: [Moin-user] wiki instance location In-Reply-To: <102820041825.24026.418139AD000DBE4700005DDA22007348409B0E080D07020E90@comcast.net> References: <102820041825.24026.418139AD000DBE4700005DDA22007348409B0E080D07020E90@comcast.net> Message-ID: <20041028191114.GP17697@e-smith.com> On 28/10/04 vanibhat at comcast.net did say: > My MoinMoin wiki installtion is in /usr/local/share/moin and Python is > in /usr/local/bin. I would like to know if I can create wiki instance > anywhere or is it should be in /usr/local/share/moin/mywiki?? I > cannot give access to all the users for /usr/local/share/moin/mywiki. > Pls let me know your suggestions If you read the install docs, you'll see that you can create a wiki instance anywhere. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From skip at pobox.com Thu Oct 28 12:25:08 2004 From: skip at pobox.com (Skip Montanaro) Date: Thu Oct 28 12:25:08 2004 Subject: [Moin-user] 'bot to reverse scribbles/spam? In-Reply-To: <417F9E28.20201@gmx.de> References: <16767.4970.15226.6913@montanaro.dyndns.org> <417F9E28.20201@gmx.de> Message-ID: <16769.18123.544346.238670@montanaro.dyndns.org> >> We are having ongoing problems with someone scribbling on the >> Python.org wiki. Whoever it is (claims to be "fred lee") deletes >> some content and adds a bunch of external links to lots of other >> sites. Thomas> This kind of wiki spam is quite widespread recently. This is why Thomas> I have made the antispam extension, see Thomas> MoinMoin:AntiSpamGlobalSolution . Thanks. I added that to the mix on the Python.org Wiki. We'll see how it works. Skip From michael_soulier at mitel.com Thu Oct 28 13:26:20 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Thu Oct 28 13:26:20 2004 Subject: [Moin-user] + and - in ACLs Message-ID: <20041028202527.GS17697@e-smith.com> I've been reading the docs on this, and I still don't quite get it. Could someone explain to me how this acl_rights_before = "AdminGroup:admin,read,write,delete,revert +TrustedGroup:admin" Is different from the same case without the + on TrustedGroup? Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From tw-public at gmx.de Fri Oct 29 09:09:00 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 29 09:09:00 2004 Subject: [Moin-user] Twisted with multiple wiki In-Reply-To: <20041028143407.57166.qmail@web41503.mail.yahoo.com> References: <20041028143407.57166.qmail@web41503.mail.yahoo.com> Message-ID: <4182697B.30800@gmx.de> > I have succeed with one wiki with twisted. How can I > make a wiki farm with Twisted? Easiest is maybe to use 1.3 devel version (if you are brave enough :). I hope there will be a beta3 release of it soon. Release expected end of the year. We have made some more support for wiki farms in 1.3 (and if you want to run twisted, multiple wikis on same IP won't work with moin 1.2.x, you could only run multiple wikis with multiple twisteds on multiple IPs with 1.2.x). > Is twisted the fastest? I think it depends. IIRC Oliver Graf found fastcgi faster with some benchmarks, OTOH it used more CPU (and *BOTH* CPUs as he was testing on SMP, one twisted process doesn't fork and thus doesnt use more than 1 CPU for all sites it serves). But both are much faster than running std CGI. mod_python should also be quite fast, but maybe has security problems (runs under web server uid/gid) and is less tested. standalone is intended for personal wikis only, as it is single-threaded single-process. From tw-public at gmx.de Fri Oct 29 09:11:20 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 29 09:11:20 2004 Subject: [Moin-user] wiki instance location In-Reply-To: <102820041825.24026.418139AD000DBE4700005DDA22007348409B0E080D07020E90@comcast.net> References: <102820041825.24026.418139AD000DBE4700005DDA22007348409B0E080D07020E90@comcast.net> Message-ID: <41826A1D.9000904@gmx.de> > My MoinMoin wiki installtion is in /usr/local/share/moin and Python is > in /usr/local/bin. > I would like to know if I can create wiki instance anywhere or is it > should be in /usr/local/share/moin/mywiki?? It can be anywhere. Just set the data_dir config variable to point to the data directory. Of course moin must have r/w access to data. moin.cgi can also be located everywhere your web server is able to execute it, similar for css and img stuff, everywhere where you web server can serve it. From tw-public at gmx.de Fri Oct 29 09:21:07 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 29 09:21:07 2004 Subject: [Moin-user] + and - in ACLs In-Reply-To: <20041028202527.GS17697@e-smith.com> References: <20041028202527.GS17697@e-smith.com> Message-ID: <41826C5D.1090905@gmx.de> > Could someone explain to me how this > > acl_rights_before = "AdminGroup:admin,read,write,delete,revert > +TrustedGroup:admin" > > Is different from the same case without the + on TrustedGroup? Maybe refactor this and add it to MoinMaster:HelpOnAccessControlLists - thanks. :) ACLs are processed "before" then "page/default" then "after". Within those, "left to right". So it begins at left of "before" with AdminGroup:... - this matches if you are a member of admin group. If it matches, you get the rights (arwdr) and ACL processing STOPS. If it does not match, ACL processing continues with +TrustedGroup:admin - this matches if you are a member of TrustedGroup. If it matches, you get the rights (a) and - now the difference to above case - ACL processing CONTINUES! So if there is another match for that group or your user or Known: or All: you will get those rights, too. If it does not match, ACL processing continues - with the page ACLs (if there are any) or with default ACLs (if there are no pages ACLs) and finally with the "after" ACLs. From michael_soulier at mitel.com Fri Oct 29 10:05:06 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 29 10:05:06 2004 Subject: [Moin-user] + and - in ACLs In-Reply-To: <41826C5D.1090905@gmx.de> References: <20041028202527.GS17697@e-smith.com> <41826C5D.1090905@gmx.de> Message-ID: <20041029170423.GI17697@e-smith.com> On 29/10/04 Thomas Waldmann did say: > Maybe refactor this and add it to MoinMaster:HelpOnAccessControlLists - > thanks. :) I'll do that. ;-) > ACLs are processed "before" then "page/default" then "after". > Within those, "left to right". > > So it begins at left of "before" with AdminGroup:... - this matches if > you are a member of admin group. > If it matches, you get the rights (arwdr) and ACL processing STOPS. > > If it does not match, ACL processing continues with +TrustedGroup:admin > - this matches if you are a member of TrustedGroup. > > If it matches, you get the rights (a) and - now the difference to above > case - ACL processing CONTINUES! So if there is another match for that > group or your user or Known: or All: you will get those rights, too. > > If it does not match, ACL processing continues - with the page ACLs (if > there are any) or with default ACLs (if there are no pages ACLs) and > finally with the "after" ACLs. Aha. So a - means that you lose the right on a match, and processing continues. Is that right? Thanks, Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From jorjohns at cs.indiana.edu Fri Oct 29 11:05:09 2004 From: jorjohns at cs.indiana.edu (Jordan Johnson) Date: Fri Oct 29 11:05:09 2004 Subject: [Moin-user] sharing accounts between two wikis Message-ID: Hi all, I'm interested in using MoinMoin on my intranet for a two-tiered system within my school: one set of pages that will be used by students and teachers, and another that will be used just by teachers (for info that can't be made public within the school, such as talk about each student's grades/performance--that must be restricted to teachers only, or teachers + [that student]). Is there a way I could share teacher accounts between two wiki instances, so that the same person can log onto either one? Or would I likely be better off putting something together with ACLs and using only one wiki instance? Thanks, jmj -- No matter how far down the wrong road you have gone, turn back now. -- Anonymous (Turkish proverb) From skip at pobox.com Fri Oct 29 11:20:08 2004 From: skip at pobox.com (Skip Montanaro) Date: Fri Oct 29 11:20:08 2004 Subject: [Moin-user] + and - in ACLs In-Reply-To: <41826C5D.1090905@gmx.de> References: <20041028202527.GS17697@e-smith.com> <41826C5D.1090905@gmx.de> Message-ID: <16770.35180.255961.314789@montanaro.dyndns.org> >> Could someone explain to me how this >> >> acl_rights_before = "AdminGroup:admin,read,write,delete,revert >> +TrustedGroup:admin" >> >> Is different from the same case without the + on TrustedGroup? Thomas> Maybe refactor this and add it to Thomas> MoinMaster:HelpOnAccessControlLists - thanks. :) I read through the entire MoinMaster:HelpOnAccessControlLists page and still don't understand quite how + and - work. Any chance of adding a couple examples with step-by-step explanations how they are processed? The one example I saw: #acl SomeUser:read,write SomeGroup:read,write,admin All:read To make the system more flexible, there are also two modifiers: the prefixes '+' and '-'. When they are used, the given ACL entry will only match if the user is requesting the given rights. As an example, the above ACL could also be written as: #acl -SomeUser:admin SomeGroup:read,write,admin All:read Or even: #acl +All:read -SomeUser:admin SomeGroup:read,write,admin doesn't explain what is happening as MoinMoin processes the page. In addition, by not explaining how they differ it implies that + and - are somehow interchangeable. Skip From skip at pobox.com Fri Oct 29 11:22:03 2004 From: skip at pobox.com (Skip Montanaro) Date: Fri Oct 29 11:22:03 2004 Subject: [Moin-user] favicon.ico Message-ID: <16770.35326.125039.45343@montanaro.dyndns.org> When logged into the MoinMaster: wiki as SkipMontanaro, any time I ask for a page it takes me to http://moinmoin.wikiwikiweb.de:8000/favicon%2eico and prompts me to create that page. Seems like a bug somewhere. I'm using Firefox 1.0PR on a Solaris Intel box. Skip From michael_soulier at mitel.com Fri Oct 29 11:44:02 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 29 11:44:02 2004 Subject: [Moin-user] sharing accounts between two wikis In-Reply-To: References: Message-ID: <20041029184334.GJ17697@e-smith.com> On 29/10/04 Jordan Johnson did say: > Is there a way I could share teacher accounts between two wiki > instances, so that the same person can log onto either one? Or would I > likely be better off putting something together with ACLs and using > only one wiki instance? You should easily be able to configure access controls using ACLs. Make a TeacherGroup, and put the teacher user accounts in it, giving it the appropriate powers. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From michael_soulier at mitel.com Fri Oct 29 11:47:00 2004 From: michael_soulier at mitel.com (Michael P. Soulier) Date: Fri Oct 29 11:47:00 2004 Subject: [Moin-user] + and - in ACLs In-Reply-To: <16770.35180.255961.314789@montanaro.dyndns.org> References: <20041028202527.GS17697@e-smith.com> <41826C5D.1090905@gmx.de> <16770.35180.255961.314789@montanaro.dyndns.org> Message-ID: <20041029184554.GK17697@e-smith.com> On 29/10/04 Skip Montanaro did say: > #acl SomeUser:read,write SomeGroup:read,write,admin All:read > > To make the system more flexible, there are also two modifiers: the > prefixes '+' and '-'. When they are used, the given ACL entry will only > match if the user is requesting the given rights. As an example, the > above ACL could also be written as: > > #acl -SomeUser:admin SomeGroup:read,write,admin All:read > > Or even: > > #acl +All:read -SomeUser:admin SomeGroup:read,write,admin > > doesn't explain what is happening as MoinMoin processes the page. In > addition, by not explaining how they differ it implies that + and - are > somehow interchangeable. I believe + and - add or remove the given right, respectively, and do not stop processing at a match. Thus, #acl +All:read -SomeUser:admin SomeGroup:read,write,admin With +All:read, that adds read permission to everyone, and continues processing. -SomeUser:admin removes admin access for SomeUser, and continues processing. If you are in SomeGroup, the processing will stop with the last entry. Otherwise, you're on to default acls. Mike -- Michael P. Soulier , 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix From Shane_McDonald at pmc-sierra.com Fri Oct 29 15:01:08 2004 From: Shane_McDonald at pmc-sierra.com (Shane McDonald) Date: Fri Oct 29 15:01:08 2004 Subject: [Moin-user] Saving changes is very slow for me Message-ID: <9328C220997E4E448CC833AF1AB402DA182439@bby1exm08.pmc_nt.nt.pmc-sierra.bc.ca> Hello: I'm new to MoinMoin. I've just installed a MoinMoin 1.2.4 wiki on a Linux box with Apache 2.0.51 and Python 2.3.4. Everything seems to be working well, with the exception of editing pages. When I edit a page, the save takes a very very long time (on the order of 5 minutes). Viewing pages, including previewing my edits, is very quick. Looking at my Apache log, I can see the POST action happen right away, but the page doesn't get updated I haven't found any mention of this problem on the MoinMoin Wiki or on this mailing list. Does anyone know what's going on, or know what more information I can provide to help solve this? Thanks! Shane McDonald shane_mcdonald at pmc-sierra.com From jorjohns at cs.indiana.edu Fri Oct 29 15:20:10 2004 From: jorjohns at cs.indiana.edu (Jordan Johnson) Date: Fri Oct 29 15:20:10 2004 Subject: [Moin-user] sharing accounts between two wikis In-Reply-To: <20041029184334.GJ17697@e-smith.com> Message-ID: <9E8B22F0-29F8-11D9-834C-000A9566DF3E@cs.indiana.edu> On Friday, October 29, 2004, at 11:43 AM, Michael P. Soulier wrote: >> Is there a way I could share teacher accounts between two wiki >> instances, so that the same person can log onto either one? Or would >> I >> likely be better off putting something together with ACLs and using >> only one wiki instance? > > You should easily be able to configure access controls using ACLs. > > Make a TeacherGroup, and put the teacher user accounts in it, giving it > the appropriate powers. OK, that's encouraging; I'd already gotten that far. Here's a more pointed question about where I'm thinking of going, then: Is it possible to have the default ACLs for one set of pages be different from those of another? Something like a template? Thing is, I suspect that the other teachers will find it to be too much trouble if they have to deal with setting ACLs themselves (not something I want while trying to convince them that this shiny new technology is a Good Thing). Also, I don't want to have to manually set the ACL for any new page a teacher creates, and I don't want a privacy-crucial ACL line to be deleted accidentally. It seems to me that this last requirement could be assured by disabling admin privilege for the teachers, but that would basically be equivalent to forcing me to set all ACLs manually, right? (Meaning that the only solution would be to teach the other teachers how to set ACLs themselves?) This was the train of thought that led me to considering a second wiki instance...I'm just looking for the way to do this with minimal admin headache-inducement potential... Thanks, jmj -- Find out just what any people will quietly submit to, and you have the exact measure of the injustice and wrong which will be imposed on them. -- Frederick Douglass From trog at trogwoolley.com Sat Oct 30 03:57:32 2004 From: trog at trogwoolley.com (Trog) Date: Sat Oct 30 03:57:32 2004 Subject: [Moin-user] User registration query Message-ID: We are currently implementing the fine MoinMoin wiki on our website (www.ballet.co.uk). On our website we run some forum software that requires registration by users. We would like to add into this the feature so that when a user registers for the forum, they are also automatically registered for MoinMoin. I can easily modify the forum software to update the necessary files with MoinMoin, but I cannot identify exactly what need to be done, so I am seeking your advice. The forum software is written in Perl so I need to develop a Perl routine to slot into this, to update the necessary MoinMoin files. Specifically: 1. Each registered user has their details stored in a file within the directory ~/wiki-name/data/user. The file name is a 'magic number', held as a group of three digits, separated by full stops, in the format "nnnnnnnnn.nn.nnnnn" Can you please tell me how these numbers are generated; I assume it is some hash algorithm applied to the users WikiName. 2. Within each users record, their password is stored in an encrypted format, identified by a line enc_password= I assume that this password is encrypted using the SHA library. Is this the case? 3. With the directory ~/wiki-name/data/user is a file userdict.pickle which contains the user ids. There appears to be four lines per user, namely : sS'UserName' p S'' p where "n" is a sequential number from 1 onwards. The file has the string '(dp0' as the first line and the first user does not have the "s" as the leading character on the line holding the UserName. The final line in the file is 's.' I assume it simply a matter of adding new users to this file in this format as the file appears to be ASCII. I hope that I have made myself clear Kind Regards Trog -- Trog Woolley | trog at trogwoolley dot com (A Croweater back residing in Pommie Land with Linux) Isis Astarte Diana Hecate Demeter Kali Inanna From trog at trogwoolley.com Sat Oct 30 04:04:37 2004 From: trog at trogwoolley.com (Trog) Date: Sat Oct 30 04:04:37 2004 Subject: [Moin-user] Calendar.py Message-ID: Is anyone out there using this ? http://moinmoin.wikiwikiweb.de/MoinMoinCalendarExample?highlight=%28calendar%29 I'm clearly doing something wrong, because when I enter the supplied example, the wiki displays the data that I entered, rather than the formatted calendar. I have put Calendar.py in every processor or macro sub directory on our wiki, but it clearly isn't being called. Is there some other magic required? Thanks Trog -- Trog Woolley | trog at trogwoolley dot com (A Croweater back residing in Pommie Land with Linux) Isis Astarte Diana Hecate Demeter Kali Inanna From msoulier at digitaltorque.ca Sat Oct 30 15:56:04 2004 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sat Oct 30 15:56:04 2004 Subject: [Moin-user] Calendar.py In-Reply-To: References: Message-ID: <20041030225446.GL4713@tigger.digitaltorque.ca> On 30/10/04 Trog said: > Is anyone out there using this ? > http://moinmoin.wikiwikiweb.de/MoinMoinCalendarExample?highlight=%28calendar%29 Perhaps that code doesn't work with Moin 1.2. A quick google search turned this up. http://moinmoin.wikiwikiweb.de/MacroMarket?action=AttachFile&do=get&target=MonthCalendar-moin12.py Mike -- Michael P. Soulier http://www.digitaltorque.ca http://opag.ca Jabber: msoulier at digitaltorque.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From atte at ballbreaker.dk Sun Oct 31 01:53:12 2004 From: atte at ballbreaker.dk (=?ISO-8859-1?Q?Atte_Andr=E9_Jensen?=) Date: Sun Oct 31 01:53:12 2004 Subject: [Moin-user] install problem, debian/stable Message-ID: <4184A7E2.6050800@ballbreaker.dk> Hi I'm trying to set up moin on my debian/stable server, but "it doesn't work", for instance: [root at randers oversaettelser]$ python moin.cgi Traceback (most recent call last): File "moin.cgi", line 13, in ? from MoinMoin.request import RequestCGI File "/usr/lib/python2.1/site-packages/MoinMoin/request.py", line 11, in ? from MoinMoin import config, wikiutil File "/usr/lib/python2.1/site-packages/MoinMoin/config.py", line 45, in ? _cfg_defaults = { NameError: name 'False' is not defined My python version: [root at randers oversaettelser]$ python -V Python 2.1.3 Any ideas? -- peace, love & harmony Atte http://www.atte.dk From msoulier at digitaltorque.ca Sun Oct 31 03:55:01 2004 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sun Oct 31 03:55:01 2004 Subject: [Moin-user] install problem, debian/stable In-Reply-To: <4184A7E2.6050800@ballbreaker.dk> References: <4184A7E2.6050800@ballbreaker.dk> Message-ID: <20041031115233.GB12065@tigger.digitaltorque.ca> On 31/10/04 Atte Andr? Jensen said: > Hi > > I'm trying to set up moin on my debian/stable server, but "it doesn't > work", for instance: > > [root at randers oversaettelser]$ python moin.cgi > Traceback (most recent call last): > File "moin.cgi", line 13, in ? > from MoinMoin.request import RequestCGI > File "/usr/lib/python2.1/site-packages/MoinMoin/request.py", line 11, > in ? > from MoinMoin import config, wikiutil > File "/usr/lib/python2.1/site-packages/MoinMoin/config.py", line 45, in ? > _cfg_defaults = { > NameError: name 'False' is not defined > > My python version: > [root at randers oversaettelser]$ python -V > Python 2.1.3 I'm not sure if the minimum Python version for Moin is mentioned in the the install docs, but I found that it was at least Python 2.2.2. I'm using 2.3.4 myself. I just searched backports.org and I didn't find a Python backport for Woody. You could use apt pinning to pull it out of Sarge, or just build it yourself from the python.org tarball. I'm running Sarge myself. Mike -- Michael P. Soulier http://www.digitaltorque.ca http://opag.ca Jabber: msoulier at digitaltorque.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: