From paul.d.macey at googlemail.com Thu Mar 4 09:54:44 2010 From: paul.d.macey at googlemail.com (Paul Macey) Date: Thu, 04 Mar 2010 14:54:44 +0000 Subject: [Moin-user] Wiki bookmarks toolbar Firefox extension Message-ID: <4B8FC9B4.1070109@googlemail.com> Hello, I have started to develop a Moinmoin wiki extension for Firefox. The extension will act as a 'bookmarks toolbar' but the bookmarks will come from a moinmoin wiki. Each wiki page will be a folder on the toolbar, and each hyperlink under the pages will be 'bookmarks'. So far I have managed to get a wiki page and pull the links to other pages out and then display them as separate folders on a tool bar inside Firefox. Features I plan to implement: * Selectable root wiki page for toolbar * Storing of a list of 'favorite' root wiki pages * Nested folders (wiki pages to other wikis... including recursive pagelink structures) * 'Live' folders through dynamically populating bookmarks user GUI events * Drag webpages onto a folder, adds the link to the underlying wiki page * right click folder options: 'goto page', 'set page as root', 'open all in tabs' I would like to ask for help/advice on the following areas in addition to any general advice/ideas (e.g gotchas, watch out for this, this is the simplest method todo X is Y)? 1 - How should I update a wiki page with a new hyperlink? I have found the python script "editmoin" and had a look at the source and it seams that it sends a text string back to the url. The text string seams to contain special fields like 'ticket', 'version' etc. Is this the correct method to update a page? Is there any particular fields I especially need (considering I just want to append a hyperlinik)? 2 - I am currently accessing a wiki pages data by fetching the page by looking at body/div"page"/div"content" and then pulling all anchors out of this section. Is this a 'nice' way todo this and will this work on all moinmoin page layouts etc (sorry im not that great on html). Also is there better ways to access the data? (some special way to get direct XML or anything like this??? 3 - How in should I manage logins to the wiki? I currently ignore this and have a "open" wiki without users whilst I develop but I plan on making this a fully functional extension so I will need this later. Are ssh/ssl certificate things possible and would this appear as "transparent" to my extension? Or will I have to store user name and password (I would prefer not todo this for security) Thanks in advance, Paul From tw-public at gmx.de Fri Mar 5 11:18:36 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 05 Mar 2010 17:18:36 +0100 Subject: [Moin-user] Wiki bookmarks toolbar Firefox extension In-Reply-To: <4B8FC9B4.1070109@googlemail.com> References: <4B8FC9B4.1070109@googlemail.com> Message-ID: <1267805916.28284.16.camel@server.firma.waldmann-edv.de> Moin Paul, > I have started to develop a Moinmoin wiki extension for Firefox. The > extension will act as a 'bookmarks toolbar' but the bookmarks will come > from a moinmoin wiki. Ah, nice. :) > Each wiki page will be a folder on the toolbar, That may be rather many folders then. > Features I plan to implement: > * Selectable root wiki page for toolbar Ah, so it's not necessarily ALL pages in the wiki. :) > * Drag webpages onto a folder, adds the link to the underlying wiki page Ah, nice. I want that! :) > * right click folder options: 'goto page', 'set page as root', 'open all > in tabs' Be careful, do not DOS the wiki. If moin thinks you're mean, you might get locked out by surge protection. > 1 - How should I update a wiki page with a new hyperlink? I have found > the python script "editmoin" and had a look at the source and it seams > that it sends a text string back to the url. The text string seams to > contain special fields like 'ticket', 'version' etc. Is this the correct > method to update a page? If you like to do it via http (web ui), yes. Please check if the code that you're locking at works with 1.9.2 - there were recent changes to improve ticketing security. > Is there any particular fields I especially > need (considering I just want to append a hyperlinik)? Moin does not make a difference between "just adding a hyperlink" or doing other/bigger edits to a page. If TextChas are enabled and you're not in the exclusion group, you might have to answer one to successfully save a page. > 2 - I am currently accessing a wiki pages data by fetching the page by > looking at body/div"page"/div"content" Hmm, for getting content, you could just use ...?action=raw. You need to get the edit page html also, though, to extract the ticket. So maybe extracting it from the html is better, only needs one access. > Is this a 'nice' way todo this and will this work on > all moinmoin page layouts etc (sorry im not that great on html). Well, there is also xmlrpc interface, but it needs to be enabled by the wiki admin. That's easier to use to do automated stuff. > 3 - How in should I manage logins to the wiki? I currently ignore this > and have a "open" wiki without users whilst I develop but I plan on > making this a fully functional extension so I will need this later. You need username / password if you want it comfortable. For http web ui, you need to log in with that and get/store the session cookie. If you present that cookie, you are considered to be that logged in user. For xmlrpc, you can easily get an auth token using username/password (auth token is a similar thing as the cookie) and apply it within an xmlrpc multicall, so moin will do all the calls as that logged in user. > ssh/ssl certificate things possible No. Well, ssl client cert auth is doable. We even have / had code for it, but I didn't use/test it recently. > Or will I have to store user name and > password (I would prefer not todo this for security) If the user of your extension is logged in to moin, he'll have the session cookie. If you can use that from your extension, you're logged in. It won't help you for xmlrpc, though. Cheers, Thomas From nigel.metheringham at dev.intechnology.co.uk Sat Mar 6 14:30:29 2010 From: nigel.metheringham at dev.intechnology.co.uk (Nigel Metheringham) Date: Sat, 6 Mar 2010 19:30:29 +0000 Subject: [Moin-user] Problem with moin 1.9.2 and fastcgi Message-ID: <73B1CF26-45B9-41CD-BB27-B0E53736656F@dev.intechnology.co.uk> When using the moin.fcg (appropriately adjusted for the installation) from version 1.9.2, the fastcgi process fails to start correctly. If I use the moin.fcg from 1.9.1 (on an otherwise 1.9.2 installation) then it starts and runs correctly. This is being run as a static fastcgi configuration, launched from daemontools, using command line:- moin.fcg --port 3012 --interface=127.0.0.1 The failing process logs the following on start:- 2010-03-06 16:56:31,521 MoinMoin.log INFO using logging configuration read from "/usr/share/moin/config/logging/stderr" WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! 2010-03-06 16:56:31,785 MoinMoin.config.multiconfig INFO using farm config: /var/www/moin/conf/farmconfig.pyc Status: 404 NOT FOUND Content-Type: text/html 404 Not Found

Not Found

No wiki configuration matching the URL found!

So it appears to be immediately attempting to decode a request rather than just starting a listener. I did try having FCGI_FORCE_CGI set to N - this made no difference. Nigel. -- [ Nigel Metheringham Nigel.Metheringham at InTechnology.com ] [ - Comments in this message are my own and not ITO opinion/policy - ] From ndw at nwalsh.com Sat Mar 6 15:40:51 2010 From: ndw at nwalsh.com (Norman Walsh) Date: Sat, 06 Mar 2010 15:40:51 -0500 Subject: [Moin-user] Importing pages from a defunct wiki instance? Message-ID: Hi folks, I have a bunch of pages in MoinMoin wiki markup from a defunct wiki. Some error occurred that corrupted a bunch of things and I've got no way of working out exactly what or exactly when. I've started over with a clean install of 1.9.2. With the data from "data-1.3.4/pages/WikiName/revisions/000000004" in my left hand, and the new wiki in my right, is there any automated way to create "newwiki/WikiName" from the revision markup? I tried to be clever, extracting the ticket and other info from an HTTP GET against newwiki/WikiName and then using curl to POST the data, but without success. Be seeing you, norm -- Norman Walsh | So, are you working on finding that bug http://nwalsh.com/ | now, or are you leaving it until later? | Yes. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: From nospam at codegnome.org Sun Mar 7 16:20:23 2010 From: nospam at codegnome.org (Todd A. Jacobs) Date: Sun, 7 Mar 2010 13:20:23 -0800 Subject: [Moin-user] Missing pages in new farm wiki Message-ID: <20100307212023.GH25688@penguin.codegnome.org> I have a working wiki, and today I added a second instance. I updated /etc/moin/farmconfig.py and added a new domain instance with a superuser. However, when I log in as WikiAdmin, I don't seem to *be* superuser. I don't see the SystemAdmin link on the nav bar, even though I've got: superuser = [u"WikiAdmin"] in the instance config. In addition, stuff that works on the original wiki, such as help pages and the SiteNavigation link, just come up with "Create Page" in the new wiki. Both wikis have this in Apache: Alias /moin_static/ "/usr/share/moin/htdocs/" ScriptAlias /wiki "/usr/share/moin/server/moin.cgi" so I don't see why one has the right pages while the other doesn't. I'm not really sure what else I need to look at to troubleshoot this. Any suggestions? I'm running 1.9.2-1 on Debian, if that makes any difference. -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" From nospam at codegnome.org Sun Mar 7 17:05:48 2010 From: nospam at codegnome.org (Todd A. Jacobs) Date: Sun, 7 Mar 2010 14:05:48 -0800 Subject: [Moin-user] [solved] Missing pages in new farm wiki In-Reply-To: <20100307212043.GI25688@penguin.codegnome.org> References: <20100307212043.GI25688@penguin.codegnome.org> Message-ID: <20100307220548.GK25688@penguin.codegnome.org> On Sun, Mar 07, 2010 at 01:20:43PM -0800, Todd A. Jacobs wrote: > However, when I log in as WikiAdmin, I don't seem to *be* superuser. > I don't see the SystemAdmin link on the nav bar, even though I've got: Turns out the new version of moinmoin doesn't set up certain pages by default anymore. I went back and installed the necessary pages from LanguageSetup, and all was well. -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" From nicozanf at gmail.com Mon Mar 8 09:24:56 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Mon, 8 Mar 2010 15:24:56 +0100 Subject: [Moin-user] Login form customize Message-ID: <1be999771003080624n447bca56i183e512386ea55ab@mail.gmail.com> Hello, I have to edit the login macro form in order to add some simple instructions, i.e. to use the usual Windows ActiveDirectory name as in LastnameFirstname. Can someone kindly help me? (I'm using 1.9.2 version, and LDAP auth). thank you, Nico. From sandro at e-den.it Mon Mar 8 09:12:46 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Mon, 8 Mar 2010 15:12:46 +0100 Subject: [Moin-user] Farmconfig Message-ID: <20100308141246.GA19994@ubuntu> hi, I haven't been able to find correct dos for farmconfig, if they exists. I don't even know it that's what I need... Firstly I'm doing a wiki for several different and related groups of people, a single wiki could be ok but I wanted a side-bar personalized for each group and since I don't know how to do it other that via mandarin0theme With SideBar page (that limits the SideBar to just one per wiki, as far as I know) I thought to use several wikies: is there a better way? Farmconfig If going with several wikies is the "suggested" way, I'd like to use farmconfig so that at least some config is just the same, but it seems to me that data directory is separated: does that mean taht I'm supposed to install translation for each wiki? same for template for new pages? thanks in advance sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From sandro at e-den.it Mon Mar 8 10:56:12 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Mon, 8 Mar 2010 16:56:12 +0100 Subject: [Moin-user] categorize Message-ID: <20100308155612.GA8878@ubuntu> Hi, I'd like to know which are the possibilities to cathegorize the wiki pages with moinmoin, if any. thanks in advance sandro -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From eric at tibco.com Mon Mar 8 12:23:39 2010 From: eric at tibco.com (Eric Johnson) Date: Mon, 08 Mar 2010 09:23:39 -0800 Subject: [Moin-user] Importing pages from a defunct wiki instance? In-Reply-To: References: Message-ID: <4B95329B.9020405@tibco.com> Hi Norm, Given the path you indicate, is the old data from MoinMoin 1.3.4? Have you attempted to migrate the data? Did it fail in some particular place? -Eric. On 03/06/2010 12:40 PM, Norman Walsh wrote: > Hi folks, > > I have a bunch of pages in MoinMoin wiki markup from a defunct wiki. > Some error occurred that corrupted a bunch of things and I've got no > way of working out exactly what or exactly when. > > I've started over with a clean install of 1.9.2. > > With the data from "data-1.3.4/pages/WikiName/revisions/000000004" > in my left hand, and the new wiki in my right, is there any automated > way to create "newwiki/WikiName" from the revision markup? > > I tried to be clever, extracting the ticket and other info from an > HTTP GET against newwiki/WikiName and then using curl to POST the > data, but without success. > > Be seeing you, > norm From ndw at nwalsh.com Mon Mar 8 18:32:33 2010 From: ndw at nwalsh.com (Norman Walsh) Date: Mon, 08 Mar 2010 18:32:33 -0500 Subject: [Moin-user] Importing pages from a defunct wiki instance? In-Reply-To: <4B95329B.9020405@tibco.com> (Eric Johnson's message of "Mon, 08 Mar 2010 09:23:39 -0800") References: <4B95329B.9020405@tibco.com> Message-ID: Eric Johnson writes: > Given the path you indicate, is the old data from MoinMoin 1.3.4? It is. > Have you attempted to migrate the data? Did it fail in some particular > place? I started the process, but chicked out at the last minute. It was clear that some of the data was mangled (there were a few directories where 'current' didn't reflect the most recent revision, for example). In the end, I hacked my way through it: http://norman.walsh.name/2010/03/07/wikiEdit :-) Be seeing you, norm -- Norman Walsh | A man can believe a considerable deal http://nwalsh.com/ | of rubbish, and yet go about his daily | work in a rational and cheerful | manner.--Norman Douglas -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: From daniel.d.mclaughlin at intel.com Mon Mar 8 19:30:26 2010 From: daniel.d.mclaughlin at intel.com (McLaughlin, Daniel D) Date: Mon, 8 Mar 2010 16:30:26 -0800 Subject: [Moin-user] [solved] Missing pages in new farm wiki In-Reply-To: <20100307220548.GK25688@penguin.codegnome.org> References: <20100307212043.GI25688@penguin.codegnome.org> <20100307220548.GK25688@penguin.codegnome.org> Message-ID: <4FF5AC937153B0459463C1A88EB478F213D3455B@orsmsx505.amr.corp.intel.com> Todd, I have the same non-existent links on my new instance. Did you re-install from scratch? Can you share the steps you took? Thanks dan -----Original Message----- From: Todd A. Jacobs [mailto:nospam at codegnome.org] Sent: Sunday, March 07, 2010 2:06 PM To: moin-user at lists.sourceforge.net Subject: [Moin-user] [solved] Missing pages in new farm wiki On Sun, Mar 07, 2010 at 01:20:43PM -0800, Todd A. Jacobs wrote: > However, when I log in as WikiAdmin, I don't seem to *be* superuser. > I don't see the SystemAdmin link on the nav bar, even though I've got: Turns out the new version of moinmoin doesn't set up certain pages by default anymore. I went back and installed the necessary pages from LanguageSetup, and all was well. -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From daniel.d.mclaughlin at intel.com Tue Mar 9 14:17:54 2010 From: daniel.d.mclaughlin at intel.com (McLaughlin, Daniel D) Date: Tue, 9 Mar 2010 11:17:54 -0800 Subject: [Moin-user] [solved] Missing pages in new farm wiki References: <20100307212043.GI25688@penguin.codegnome.org> <20100307220548.GK25688@penguin.codegnome.org> Message-ID: <4FF5AC937153B0459463C1A88EB478F213DF09B5@orsmsx505.amr.corp.intel.com> Never mind. I found the instructions for LanguageSetup. All is good. -----Original Message----- From: McLaughlin, Daniel D Sent: Monday, March 08, 2010 4:30 PM To: 'Todd A. Jacobs'; moin-user at lists.sourceforge.net Subject: RE: [Moin-user] [solved] Missing pages in new farm wiki Todd, I have the same non-existent links on my new instance. Did you re-install from scratch? Can you share the steps you took? Thanks dan -----Original Message----- From: Todd A. Jacobs [mailto:nospam at codegnome.org] Sent: Sunday, March 07, 2010 2:06 PM To: moin-user at lists.sourceforge.net Subject: [Moin-user] [solved] Missing pages in new farm wiki On Sun, Mar 07, 2010 at 01:20:43PM -0800, Todd A. Jacobs wrote: > However, when I log in as WikiAdmin, I don't seem to *be* superuser. > I don't see the SystemAdmin link on the nav bar, even though I've got: Turns out the new version of moinmoin doesn't set up certain pages by default anymore. I went back and installed the necessary pages from LanguageSetup, and all was well. -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From sandro at e-den.it Wed Mar 10 11:40:36 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Wed, 10 Mar 2010 17:40:36 +0100 Subject: [Moin-user] categorize In-Reply-To: <20100308234439.GU36541@cmd.bsdserwis.com> References: <20100308155612.GA8878@ubuntu> <20100308234439.GU36541@cmd.bsdserwis.com> Message-ID: <20100310164036.GA24770@ubuntu> On Tue, Mar 09, 2010 at 12:44:39AM +0100, Krzysztof Stryjek wrote: > Hello, > > On Mon, Mar 08, 2010 at 04:56:12PM +0100, Alessandro Dentella wrote: > > Hi, > > > > I'd like to know which are the possibilities to cathegorize the wiki pages > > with moinmoin, if any. > > > Well, I hope I understood your question :-))) > > And the end of page just add CategoryOne CategoryTwo CategoryThree etc. Sorry for the question that has this simple explanation. I think I mispelled categories when lookin in the 'search' field in the moinmoin site. sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From sandro at e-den.it Wed Mar 10 13:25:07 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Wed, 10 Mar 2010 19:25:07 +0100 Subject: [Moin-user] Farmconfig In-Reply-To: <20100308233849.GT36541@cmd.bsdserwis.com> References: <20100308141246.GA19994@ubuntu> <20100308233849.GT36541@cmd.bsdserwis.com> Message-ID: <20100310182507.GA1598@ubuntu> On Tue, Mar 09, 2010 at 12:38:49AM +0100, Krzysztof Stryjek wrote: > Hello, > > On Mon, Mar 08, 2010 at 03:12:46PM +0100, Alessandro Dentella wrote: > > hi, > > > > Farmconfig > > > It is much better solution. I'm using it on my server to setup different > wikis with common configs such as LDAP authentication can a search on categories be extended to all wikies connected in a farm? sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From sandro at e-den.it Wed Mar 10 14:13:17 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Wed, 10 Mar 2010 20:13:17 +0100 Subject: [Moin-user] GUI mode disappered... Message-ID: <20100310191317.GA31902@ubuntu> Hi, I just installed a wiki 1.9.2 in wsgi setup and I can't understand how to get the gui mode modify option. When I installed 1.8.5 (that I still have it working as .cgi) I don't remember having done anything peculiar to enable the gui editor and it just worked. Now I can't see the button to edit pages in gui mode. I read http://moinmo.in/HelpOnGraphicalEditor and it seems correct that is should be already enabled... Am I misunderstanding? Should I enable it in some way? thanks again in advance sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From nicozanf at gmail.com Wed Mar 10 16:36:11 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Wed, 10 Mar 2010 22:36:11 +0100 Subject: [Moin-user] GUI mode disappered... In-Reply-To: <20100310191317.GA31902@ubuntu> References: <20100310191317.GA31902@ubuntu> Message-ID: <1be999771003101336y6c408356k64518963d121c406@mail.gmail.com> 2010/3/10 Alessandro Dentella : > Hi, > > I just installed a wiki 1.9.2 in wsgi setup and I can't understand how to get > the gui mode modify option. > Should I enable it in some way? > Well, this is strange. GUI edit mode is enabled by default. Maybe you are using the Chrome browser? I know it has some problem ... Nico From tcataldo at bham.lib.al.us Wed Mar 10 16:33:59 2010 From: tcataldo at bham.lib.al.us (Tobin Cataldo) Date: Wed, 10 Mar 2010 15:33:59 -0600 Subject: [Moin-user] GUI mode disappered... In-Reply-To: <1be999771003101336y6c408356k64518963d121c406@mail.gmail.com> References: <20100310191317.GA31902@ubuntu> <1be999771003101336y6c408356k64518963d121c406@mail.gmail.com> Message-ID: <4B981047.6000605@bham.lib.al.us> Hi, Please check to see that your static files are accessible. In 1.8.x static files were put in the Python/shared directory for you. Now, in 1.9.x they are in site-packages/MoinMoin/web/static. You can replace your shared directory files or change your alias in apache conf to the new location. Nico Zanferrari wrote: > 2010/3/10 Alessandro Dentella : > >> Hi, >> >> I just installed a wiki 1.9.2 in wsgi setup and I can't understand how to get >> the gui mode modify option. >> Should I enable it in some way? >> >> > > Well, this is strange. GUI edit mode is enabled by default. > Maybe you are using the Chrome browser? I know it has some problem ... > > Nico > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > From sandro at e-den.it Thu Mar 11 11:08:59 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Thu, 11 Mar 2010 17:08:59 +0100 Subject: [Moin-user] GUI mode disappered... In-Reply-To: <4B981047.6000605@bham.lib.al.us> References: <20100310191317.GA31902@ubuntu> <1be999771003101336y6c408356k64518963d121c406@mail.gmail.com> <4B981047.6000605@bham.lib.al.us> Message-ID: <20100311160859.GA18233@ubuntu> On Wed, Mar 10, 2010 at 03:33:59PM -0600, Tobin Cataldo wrote: > Hi, > > Please check to see that your static files are accessible. In 1.8.x > static files were put in the Python/shared directory for you. Now, in > 1.9.x they are in site-packages/MoinMoin/web/static. > > You can replace your shared directory files or change your alias in > apache conf to the new location. Thanks for the hint. Pointing /moin_static192/ to /usr/lib/python2.5/site-packages/MoinMoin/web/static/htdocs/ solved the GUI mode problem but leaves me with one simple question: where can I put the logo? previously I had /moin_static192 poiting to a private htdocs for my wiki, so that it was feasable to add there the logo, now that /moin_static192 points to the system location I don't want to put the logo there. Is there a statndard way to reach static content of my wiki or I just add an alias to my apache conf? sandro *:-) From sandro at e-den.it Thu Mar 11 15:17:21 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Thu, 11 Mar 2010 21:17:21 +0100 Subject: [Moin-user] Language setup Message-ID: <20100311201720.GA24571@ubuntu> Hi, [I hope I'm always finished stressing this list!] I installed Italian LanguageSetup and I in wikiconfig.py I set: language_default = 'it' language_ignore_browser = True nevertheless whe connecting I only see *some* contents in Italian. Missing translation are for example the menu entries (RecentChanges, FindPage...). On the other hand if I set in preferences my language 'italian' I get them translated as well (apart from History and Actions that are not present in the .po file). Is there something wrong with my setup? is it a known bug? sandro *:-) From wtp at wtp3.org Thu Mar 11 17:22:41 2010 From: wtp at wtp3.org (Krzysztof Stryjek) Date: Thu, 11 Mar 2010 23:22:41 +0100 Subject: [Moin-user] Farmconfig In-Reply-To: <20100310182507.GA1598@ubuntu> References: <20100308141246.GA19994@ubuntu> <20100308233849.GT36541@cmd.bsdserwis.com> <20100310182507.GA1598@ubuntu> Message-ID: <20100311222241.GF65297@cmd.bsdserwis.com> Hello, On Wed, Mar 10, 2010 at 07:25:07PM +0100, Alessandro Dentella wrote: > On Tue, Mar 09, 2010 at 12:38:49AM +0100, Krzysztof Stryjek wrote: > > Hello, > > > > On Mon, Mar 08, 2010 at 03:12:46PM +0100, Alessandro Dentella wrote: > > > hi, > > > > > > Farmconfig > > > > > It is much better solution. I'm using it on my server to setup different > > wikis with common configs such as LDAP authentication > > > can a search on categories be extended to all wikies connected in a farm? > Well, I never needed such feature. Maybe you shuold try this link: http://www.moinmo.in/FeatureRequests/SearchWikiFarm at the end there is solutuon to use xapian search. Maybe that's the clue? Greetings, -- Krzysztof Stryjek UNIX administrator/Juniper Networks Specialist email: wtp (at) bsdserwis (dot) com http://www.linkedin.com/in/KrzysztofStryjek GPG fingerprint: 8BD7 40CE 8994 0BBE CE6C 91CD 1292 8959 DC61 0E76 In theory, there is no difference between theory and practice. In practice, there is. From moinmoin at sheep.art.pl Fri Mar 12 02:05:47 2010 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Fri, 12 Mar 2010 08:05:47 +0100 Subject: [Moin-user] Language setup In-Reply-To: <20100311201720.GA24571@ubuntu> References: <20100311201720.GA24571@ubuntu> Message-ID: <691968941003112305s3e7b2afbp9969893d19bdd782@mail.gmail.com> On Thu, Mar 11, 2010 at 9:17 PM, Alessandro Dentella wrote: > Hi, > > [I hope I'm always finished stressing this list!] > > I installed Italian LanguageSetup and I in wikiconfig.py I set: > > ? ?language_default = 'it' > ? ?language_ignore_browser = True > > > nevertheless whe connecting I only see *some* contents in Italian. Missing > translation are for example the menu entries (RecentChanges, > FindPage...). On the other hand if I set in preferences my language > 'italian' I get them translated as well (apart from History and Actions that > are not present in the ?.po file). > > Is there something wrong with my setup? is it a known bug? AFAIR there was a bug in 1.9.1 that made MoinMoin ignore language_default when language_ignore_browser was set. It was fixed in 1.9.2, I think. -- Radomir Dopieralski, http://sheep.art.pl From sandro at e-den.it Fri Mar 12 02:33:33 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Fri, 12 Mar 2010 08:33:33 +0100 Subject: [Moin-user] Language setup In-Reply-To: <691968941003112305s3e7b2afbp9969893d19bdd782@mail.gmail.com> References: <20100311201720.GA24571@ubuntu> <691968941003112305s3e7b2afbp9969893d19bdd782@mail.gmail.com> Message-ID: <20100312073333.GA7436@ubuntu> On Fri, Mar 12, 2010 at 08:05:47AM +0100, Radomir Dopieralski wrote: > On Thu, Mar 11, 2010 at 9:17 PM, Alessandro Dentella wrote: > > Hi, > > > > [I hope I'm always finished stressing this list!] > > > > I installed Italian LanguageSetup and I in wikiconfig.py I set: > > > > ? ?language_default = 'it' > > ? ?language_ignore_browser = True > > > > > > nevertheless whe connecting I only see *some* contents in Italian. Missing > > translation are for example the menu entries (RecentChanges, > > FindPage...). On the other hand if I set in preferences my language > > 'italian' I get them translated as well (apart from History and Actions that > > are not present in the ?.po file). > > > > Is there something wrong with my setup? is it a known bug? > > AFAIR there was a bug in 1.9.1 that made MoinMoin ignore > language_default when language_ignore_browser was set. It was fixed in > 1.9.2, I think. I'm already using 1.9.2... sandro -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From moinmoin at sheep.art.pl Fri Mar 12 02:48:50 2010 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Fri, 12 Mar 2010 08:48:50 +0100 Subject: [Moin-user] Language setup In-Reply-To: <20100312073333.GA7436@ubuntu> References: <20100311201720.GA24571@ubuntu> <691968941003112305s3e7b2afbp9969893d19bdd782@mail.gmail.com> <20100312073333.GA7436@ubuntu> Message-ID: <691968941003112348x9c96850w16f03110b5ffbd73@mail.gmail.com> This is the changeset with the fix: http://hg.moinmo.in/moin/1.9/rev/01dbe5f901e4 On Fri, Mar 12, 2010 at 8:33 AM, Alessandro Dentella wrote: > On Fri, Mar 12, 2010 at 08:05:47AM +0100, Radomir Dopieralski wrote: >> On Thu, Mar 11, 2010 at 9:17 PM, Alessandro Dentella wrote: >> > Hi, >> > >> > [I hope I'm always finished stressing this list!] >> > >> > I installed Italian LanguageSetup and I in wikiconfig.py I set: >> > >> > ? ?language_default = 'it' >> > ? ?language_ignore_browser = True >> > >> > >> > nevertheless whe connecting I only see *some* contents in Italian. Missing >> > translation are for example the menu entries (RecentChanges, >> > FindPage...). On the other hand if I set in preferences my language >> > 'italian' I get them translated as well (apart from History and Actions that >> > are not present in the ?.po file). >> > >> > Is there something wrong with my setup? is it a known bug? >> >> AFAIR there was a bug in 1.9.1 that made MoinMoin ignore >> language_default when language_ignore_browser was set. It was fixed in >> 1.9.2, I think. > > > I'm already using 1.9.2... > > sandro > > > -- > Sandro Dentella ?*:-) > http://sqlkit.argolinux.org ? ? ? ?SQLkit home page - PyGTK/python/sqlalchemy > -- Radomir Dopieralski, http://sheep.art.pl From rb.proj at gmail.com Fri Mar 12 02:52:14 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 12 Mar 2010 08:52:14 +0100 Subject: [Moin-user] Missing pages in new farm wiki In-Reply-To: <20100307212023.GH25688@penguin.codegnome.org> References: <20100307212023.GH25688@penguin.codegnome.org> Message-ID: Todd A. Jacobs schrieb: > I have a working wiki, and today I added a second instance. I updated > /etc/moin/farmconfig.py and added a new domain instance with a > superuser. > > However, when I log in as WikiAdmin, I don't seem to *be* superuser. > I don't see the SystemAdmin link on the nav bar, even though I've got: > > superuser = [u"WikiAdmin"] > > in the instance config. > > In addition, stuff that works on the original wiki, such as help pages > and the SiteNavigation link, just come up with "Create Page" in the new > wiki. > > Both wikis have this in Apache: > > Alias /moin_static/ "/usr/share/moin/htdocs/" > ScriptAlias /wiki "/usr/share/moin/server/moin.cgi" > > so I don't see why one has the right pages while the other doesn't. I'm > not really sure what else I need to look at to troubleshoot this. Any > suggestions? > > I'm running 1.9.2-1 on Debian, if that makes any difference. > You want to read LanguageSetup on your wiki because I guess you don't share the underlay_dir in both. Read your wikiconfig or farmconfig if you want so. cheers Reimar From rb.proj at gmail.com Fri Mar 12 02:58:02 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 12 Mar 2010 08:58:02 +0100 Subject: [Moin-user] GUI mode disappered... In-Reply-To: <20100311160859.GA18233@ubuntu> References: <20100310191317.GA31902@ubuntu> <1be999771003101336y6c408356k64518963d121c406@mail.gmail.com> <4B981047.6000605@bham.lib.al.us> <20100311160859.GA18233@ubuntu> Message-ID: Alessandro Dentella schrieb: > On Wed, Mar 10, 2010 at 03:33:59PM -0600, Tobin Cataldo wrote: >> Hi, >> >> Please check to see that your static files are accessible. In 1.8.x >> static files were put in the Python/shared directory for you. Now, in >> 1.9.x they are in site-packages/MoinMoin/web/static. >> >> You can replace your shared directory files or change your alias in >> apache conf to the new location. > > Thanks for the hint. Pointing /moin_static192/ to > /usr/lib/python2.5/site-packages/MoinMoin/web/static/htdocs/ solved the GUI > mode problem but leaves me with one simple question: where can I put the > logo? > > previously I had /moin_static192 poiting to a private htdocs for my wiki, so > that it was feasable to add there the logo, now that /moin_static192 points > to the system location I don't want to put the logo there. > > Is there a statndard way to reach static content of my wiki or I just add an > alias to my apache conf? may be read http://hg.moinmo.in/moin/1.9/file/dd04e0178c3d/wiki/config/wikiconfig.py#l56 cheers Reimar > > > sandro > *:-) > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev From rb.proj at gmail.com Fri Mar 12 02:56:16 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 12 Mar 2010 08:56:16 +0100 Subject: [Moin-user] GUI mode disappered... In-Reply-To: <4B981047.6000605@bham.lib.al.us> References: <20100310191317.GA31902@ubuntu> <1be999771003101336y6c408356k64518963d121c406@mail.gmail.com> <4B981047.6000605@bham.lib.al.us> Message-ID: Tobin Cataldo schrieb: > Hi, > > Please check to see that your static files are accessible. In 1.8.x > static files were put in the Python/shared directory for you. Now, in > 1.9.x they are in site-packages/MoinMoin/web/static. > > You can replace your shared directory files or change your alias in > apache conf to the new location. > or you just read wikiconfig.py and setup it correctly http://hg.moinmo.in/moin/1.9/file/dd04e0178c3d/wiki/config/wikiconfig.py#l56 cheers Reimar From rb.proj at gmail.com Fri Mar 12 03:10:57 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 12 Mar 2010 09:10:57 +0100 Subject: [Moin-user] Language setup In-Reply-To: <20100311201720.GA24571@ubuntu> References: <20100311201720.GA24571@ubuntu> Message-ID: Alessandro Dentella schrieb: > Hi, > > [I hope I'm always finished stressing this list!] > > I installed Italian LanguageSetup and I in wikiconfig.py I set: > > language_default = 'it' > language_ignore_browser = True > It it is wsgi, or? if so do you have after installation touched the moin.wsgi file? > > nevertheless whe connecting I only see *some* contents in Italian. Missing > translation are for example the menu entries (RecentChanges, > FindPage...). On the other hand if I set in preferences my language > 'italian' I get them translated as well (apart from History and Actions that > are not present in the .po file). At moinmo.in the language is named italiano. I guess you did above only a typo. > > Is there something wrong with my setup? is it a known bug? If you want to help fixing missing translations: http://master19.moinmo.in/MoinI18n/it tells 867 translated messages, 38 fuzzy translations, 10 untranslated messages. and for pages http://master19.moinmo.in/4ct10n/CheckTranslation/RecentChanges?action=CheckTranslation&pageset=all_pages&language=it For editing a master wiki you should read http://moinmo.in/EditingOnMoinMaster If I set on master19 the language to italiano I see RecentChanges translated to Modifiche Recenti. cheers Reimar From sandro at e-den.it Fri Mar 12 05:40:38 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Fri, 12 Mar 2010 11:40:38 +0100 Subject: [Moin-user] Language setup In-Reply-To: References: <20100311201720.GA24571@ubuntu> Message-ID: <20100312104038.GB7436@ubuntu> On Fri, Mar 12, 2010 at 09:10:57AM +0100, R.Bauer wrote: > Alessandro Dentella schrieb: > > Hi, > > > > [I hope I'm always finished stressing this list!] > > > > I installed Italian LanguageSetup and I in wikiconfig.py I set: > > > > language_default = 'it' > > language_ignore_browser = True > > > > It it is wsgi, or? yes, wsgi > if so do you have after installation touched the moin.wsgi file? I edited moin.wsgi to extend python path and I'definitely using it > > nevertheless whe connecting I only see *some* contents in Italian. Missing > > translation are for example the menu entries (RecentChanges, > > FindPage...). On the other hand if I set in preferences my language > > 'italian' I get them translated as well (apart from History and Actions that > > are not present in the .po file). > > At moinmo.in the language is named italiano. I guess you did above only > a typo. ok, you mean when I edit the personal page. But in the conf file I'd say 'it' is the correct setting, 'italiano' would raise an error (KeyError) > > language_default = 'it' > > language_ignore_browser = True > > > > > Is there something wrong with my setup? is it a known bug? > > If you want to help fixing missing translations: > > http://master19.moinmo.in/MoinI18n/it tells > 867 translated messages, 38 fuzzy translations, 10 untranslated messages. I'll fix the missing translation, but I don't thik this is the point > If I set on master19 the language to italiano I see RecentChanges > translated to Modifiche Recenti. Again, you're talking about setting in PersonalPage, that works for me eather. What I don't get right is setting RrecentChanges translated w/o need to edit the personal settings, just becouse I set it in wikiconfig.py. [I'm afraid my users will be very unfamiliar with wikies in general (probabily web in general...) and I'm trying to make it as siple as possible...] sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From sandro at e-den.it Fri Mar 12 06:02:13 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Fri, 12 Mar 2010 12:02:13 +0100 Subject: [Moin-user] Language setup... solved In-Reply-To: <20100312104038.GB7436@ubuntu> References: <20100311201720.GA24571@ubuntu> <20100312104038.GB7436@ubuntu> Message-ID: <20100312110213.GA24493@ubuntu> On Fri, Mar 12, 2010 at 11:40:38AM +0100, Alessandro Dentella wrote: > On Fri, Mar 12, 2010 at 09:10:57AM +0100, R.Bauer wrote: > > Alessandro Dentella schrieb: > > > Hi, > > > > > > [I hope I'm always finished stressing this list!] > > > > > > I installed Italian LanguageSetup and I in wikiconfig.py I set: > > > > > > language_default = 'it' > > > language_ignore_browser = True changing the browser the problem disappeared. Probably cache was the problem. thanks sandro From sandro at e-den.it Tue Mar 16 04:09:23 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Tue, 16 Mar 2010 09:09:23 +0100 Subject: [Moin-user] Acl: only Truested used edit, All read Message-ID: <20100316080923.GA12846@ubuntu> Hi, I have been reading http://master.moinmo.in/HelpOnAccessControlLists several times w/o understanding how I should set acl. Wrong Notice on the page ======================== The wiki page has a note: Please note: This is the master18 wiki for moin 1.8.x content. For moin 1.9.x content, please see the same page in master19 wiki. that points to the same page. I guess that acl has not changed but I may be wrong. Acls ===== I'd like to allow read access to anybody and edit to all Trusted people (i.e. those that logged in with a valid user/password). I set: acl_rights_before = u'WebAdmin:read,write,delete,revert,admin \ Trusted:read,write,delete,revert All:read' acl_rights_after = u'All:read' But no Trusted people can edit the page A further try used the default acl, with the idea I was supposed to dlete write permission from All, but still a Trusted user cannot edit the page (not allowed): acl_rights_before = u'SandroDentella:read,write,delete,revert,admin' acl_rights_default = u'Trusted:read,write,delete,revert All:read' acl_rights_after = u'All:read' What's wrong with my perms? (I'm using 1.9.2 in wsgi mode and I restart correctly the apache server) sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From sandro at e-den.it Tue Mar 16 05:08:39 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Tue, 16 Mar 2010 10:08:39 +0100 Subject: [Moin-user] Acl: only Truested used edit, All read In-Reply-To: <20100316080923.GA12846@ubuntu> References: <20100316080923.GA12846@ubuntu> Message-ID: <20100316090839.GA15465@ubuntu> On Tue, Mar 16, 2010 at 09:09:23AM +0100, Alessandro Dentella wrote: > Hi, I have been reading http://master.moinmo.in/HelpOnAccessControlLists > several times w/o understanding how I should set acl. > > Wrong Notice on the page > ======================== > > > The wiki page has a note: > > Please note: This is the master18 wiki for moin 1.8.x content. For moin > 1.9.x content, please see the same page in master19 wiki. > > that points to the same page. I guess that acl has not changed but I may be > wrong. > > Acls > ===== > > I'd like to allow read access to anybody and edit to all Trusted people > (i.e. those that logged in with a valid user/password). I set: > > acl_rights_before = u'WebAdmin:read,write,delete,revert,admin \ > Trusted:read,write,delete,revert All:read' > acl_rights_after = u'All:read' > > But no Trusted people can edit the page Thanks to Raphael that pointed out that I was using trusted where i waas supposed to used 'Known'. sandro From solomou at hpclab.ceid.upatras.gr Tue Mar 16 08:51:58 2010 From: solomou at hpclab.ceid.upatras.gr (Georgia Solomou) Date: Tue, 16 Mar 2010 14:51:58 +0200 Subject: [Moin-user] UserList macro for 1.9 Message-ID: <001701cac507$77068780$65139680$@ceid.upatras.gr> Hi, I would like to know if there is any way to list all registered users in a wiki. UserList macro worked fined for me till version 1.8 of MoinMoin, but when I upgraded to 1.9 it raised an error: <> I tried to fixed it but I haven't involved in python code ever before and it was difficult for me. So, is there any other way/macro apart from UserList, to get a list of users? Thank you in advance, Georgia Solomou -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at gmail.com Thu Mar 18 14:53:22 2010 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 18 Mar 2010 19:53:22 +0100 Subject: [Moin-user] UserList macro for 1.9 In-Reply-To: <001701cac507$77068780$65139680$@ceid.upatras.gr> References: <001701cac507$77068780$65139680$@ceid.upatras.gr> Message-ID: Georgia Solomou schrieb: > Hi, > > > > I would like to know if there is any way to list all registered users in a > wiki. UserList macro worked fined for me till version 1.8 of MoinMoin, but > when I upgraded to 1.9 it raised an error: > > > > < 'has_member'] (see also the log)>> > > > > I tried to fixed it but I haven't involved in python code ever before and it > was difficult for me. > > > > So, is there any other way/macro apart from UserList, to get a list of > users? > > > > Thank you in advance, > > Georgia Solomou > Hi I added today a version http://moinmo.in/MacroMarket/UserList if you want it in a version prior 1.9.3 just look at the line http://hg.moinmo.in/moin/extensions/file/d0a99da9ad77/data/plugin/macro/UserList.py#l40 and change it in your version too cheers Reimar > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From rb.proj at gmail.com Fri Mar 19 14:25:03 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 19 Mar 2010 19:25:03 +0100 Subject: [Moin-user] Google Summer of Code 2010 is on! Message-ID: Good news! MoinMoin project has been accepted as a mentoring organization for Google Summer of Code 2010. Thanks to Google for running it again! If you have some time in the summer, there are multiple ways you can contribute to / take part in our SOC projects: * we still need some more MENTORS with good python knowledge and moin experience giving the students a helping hand. * we need STUDENTS (with at least reasonable python experience and preferably also some moin experience) doing projects. While the formal application progress hasn't started yet, it is a good idea to contact us if you want to do a project - on the wiki, on #moin-dev irc channel, etc. * we need the COMMUNITY to help with ideas and feedback. Further details at http://moinmo.in/GoogleSoc2010 cheers Reimar From bleketux at gmail.com Wed Mar 24 02:25:53 2010 From: bleketux at gmail.com (MSulchan Darmawan) Date: Wed, 24 Mar 2010 13:25:53 +0700 Subject: [Moin-user] relative time macro Message-ID: <20100324132553.2a56542f@mc19> Dear all, Is there any macro that has relative time function ? Like the one that previewed in the [[RecentChanges]], for example "10m ago", etc Something like this maybe : [[RelativeTime(2010-03-23T22:49:23Z)]] with result : 1 day ago Someone can point me somewhere please ? thank in advance. -- Cheers, [-Sulchan-] claws-mail 3.7.5 @ hardy heron 8.04.4 LTS y!m : bleketux -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From derek.eder at lungall.gu.se Wed Mar 24 04:00:11 2010 From: derek.eder at lungall.gu.se (derek eder) Date: Wed, 24 Mar 2010 09:00:11 +0100 Subject: [Moin-user] "Invalid username or password" error on login Message-ID: <4BA9C68B.3090605@lungall.gu.se> Hello, (1) Following the fine instructions on Ubuntu installations (http://moinmo.in/HowTo/UbuntuQuick) on a Karmic (U 9.10) system moinmoin 1.9.2 worked like a charm. No problem! But ... (2) on an instalation of the new Ubuntu Lucid (10.04, beta), I am not able to login to the account(s) I create. A red "Invalid username or password" message greets me. Any suggestions? Many thanks, Derek From tyle.roderkirk at gmail.com Thu Mar 25 00:31:57 2010 From: tyle.roderkirk at gmail.com (Tyler Oderkirk) Date: Thu, 25 Mar 2010 00:31:57 -0400 Subject: [Moin-user] relative time macro In-Reply-To: <20100324132553.2a56542f@mc19> References: <20100324132553.2a56542f@mc19> Message-ID: On Wed, Mar 24, 2010 at 2:25 AM, MSulchan Darmawan wrote: > Something like this maybe : > [[RelativeTime(2010-03-23T22:49:23Z)]] > > with result : > 1 day ago Hello Sulchan, I'm not aware of a ready-made macro that fits your needs. If you want to write your own here is a starting point: In Moinmoin 1.9 you can find the relevant code from the RecentChanges macro at http://hg.moinmo.in/moin/1.9/file/ced05deb11ae/MoinMoin/macro/RecentChanges.py#l98 It illustrates calculating and formatting the "difference" between two dates in Python. -Tyler -- "Injustice is relatively easy to bear; what stings is justice." - H.L. Mencken From dodecatheon at gmail.com Thu Mar 25 13:54:48 2010 From: dodecatheon at gmail.com (Ted Stern) Date: Thu, 25 Mar 2010 10:54:48 -0700 Subject: [Moin-user] adding a pre-formatted html hierarchy to a wiki page Message-ID: Hi all, In 1.8.x or 1.9.x, is it possible to add a hierarchy of standard html documentation? I do understand that this is somehow contrary to the Wiki spirit, and what is envisioned. I realize that what I 'm supposed to do is stick the html structure into a standard web server and link into it from MoinMoin. However, I'm in a corporate environment and what I have access to is a wiki I control and limited support for standard web servers, so I'm trying to leverage the resources I have at my disposal. I have a software package I'm trying to document. It comes with a doc directory that contains index.html chap1.html chap2.html subsection1/index.html etc. It would be really convenient if there were a way to just drop this whole directory hierarchy into my MoinMoin wiki somehow. I don't need to modify it once it's there, other than to completely replace it whenever I install a new upgrade of the third-party software. I didn't see this in the docs. Did I miss it or is it not possible? Ted -- Frango ut patefaciam -- I break so that I may reveal From nicozanf at gmail.com Thu Mar 25 18:11:13 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Thu, 25 Mar 2010 23:11:13 +0100 Subject: [Moin-user] "Invalid username or password" error on login In-Reply-To: <4BA9C68B.3090605@lungall.gu.se> References: <4BA9C68B.3090605@lungall.gu.se> Message-ID: <1be999771003251511p34c68a06t92d4c164177d801a@mail.gmail.com> Hi Derek, I've just installed the Lucid beta 1 on a VirtualBox environment, and it works as expected. Are you sure that you have really succeeded in creating the user? As I wrote in the HowTo: Be careful to obtain a "User account created! You can use this account to login now..." message after its creation. Try to create the same user again, and look at the resulting message. Nico 2010/3/24 derek eder : > Hello, > > (1) ?Following the fine instructions on Ubuntu installations > (http://moinmo.in/HowTo/UbuntuQuick) > on a Karmic (U 9.10) system moinmoin 1.9.2 worked like a charm. ?No problem! > > But ... (2) ?on an instalation of the new Ubuntu Lucid (10.04, beta), I > am not able to login to the account(s) I create. ?A red "Invalid > username or password" message greets me. > > Any suggestions? > > Many thanks, > > > Derek > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From rb.proj at gmail.com Fri Mar 26 08:07:01 2010 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 26 Mar 2010 13:07:01 +0100 Subject: [Moin-user] adding a pre-formatted html hierarchy to a wiki page In-Reply-To: References: Message-ID: Ted Stern schrieb: > Hi all, > > In 1.8.x or 1.9.x, is it possible to add a hierarchy of standard html > documentation? > > > I do understand that this is somehow contrary to the Wiki spirit, and > what is envisioned. I realize that what I 'm supposed to do is stick > the html structure into a standard web server and link into it from > MoinMoin. However, I'm in a corporate environment and what I have > access to is a wiki I control and limited support for standard web > servers, so I'm trying to leverage the resources I have at my > disposal. > > > I have a software package I'm trying to document. It comes with a doc > directory that contains > > index.html > chap1.html > chap2.html > subsection1/index.html > etc. > > It would be really convenient if there were a way to just drop this > whole directory hierarchy into my MoinMoin wiki somehow. > > I don't need to modify it once it's there, other than to completely > replace it whenever I install a new upgrade of the third-party > software. > > I didn't see this in the docs. Did I miss it or is it not possible? Do you want it converted to wiki markup on pages or do you want just use it as it is? Reimar From sevillad at gmail.com Sun Mar 28 11:52:04 2010 From: sevillad at gmail.com (David Sevilla) Date: Sun, 28 Mar 2010 17:52:04 +0200 Subject: [Moin-user] Including page with macros Message-ID: Hello, I am trying to have a template which allows me to quickly add notes (as subpages) to my pages. I have put this in the template, it does what I want: (some instructions on how to create notes) <> but I would like to put this out in a separate page (say "NoteCreation"), so that all my new pages include this "NoteCreation" (that would be helpful if I decide to change the instructions for example). Now, if I put instead the code <> and I move the NewPage code to "NoteCreation", the effect is that the notes are created under "NoteCreation", not the page that includes it. Would there be a way to get this code working as I want? Thank you, David From Karl.KC.Warschau at bhpbilliton.com Mon Mar 29 02:57:04 2010 From: Karl.KC.Warschau at bhpbilliton.com (Warschau, Karl KC) Date: Mon, 29 Mar 2010 16:57:04 +1000 Subject: [Moin-user] Newbie Question: C:\Moin\share\moin\htdocs not installed with MoinMoin 1.9.2... Message-ID: <1340FC282532434081F2049C14D6E0E4E9082F@enttwg-xch02.apac.ent.bhpbilliton.net> Hi All, I have installed 1.9.2 but C:\Moin\share\moin\htdocs was not installed and therefore cannot be copied to my wiki's folder as per the setup instructions I am trying to get MoinMoin running with IIS 6.0. Should I be using 1.8.7? Any help appreciated. Thanks, Karl This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at gmail.com Mon Mar 29 10:24:55 2010 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 29 Mar 2010 16:24:55 +0200 Subject: [Moin-user] Newbie Question: C:\Moin\share\moin\htdocs not installed with MoinMoin 1.9.2... In-Reply-To: <1340FC282532434081F2049C14D6E0E4E9082F@enttwg-xch02.apac.ent.bhpbilliton.net> References: <1340FC282532434081F2049C14D6E0E4E9082F@enttwg-xch02.apac.ent.bhpbilliton.net> Message-ID: Warschau, Karl KC schrieb: > Hi All, > > I have installed 1.9.2 but C:\Moin\share\moin\htdocs was not installed > and therefore cannot be copied to my wiki's folder as per the setup > instructions it is installed you have it at MoinMoin/web/static/htdocs you may need to adopt your url_prefix_static var. see http://hg.moinmo.in/moin/1.9/file/bd7e0107fbbb/wiki/config/wikiconfig.py#l56 and following lines. You also may want to read http://hg.moinmo.in/moin/1.9/file/bd7e0107fbbb/docs/CHANGES > > I am trying to get MoinMoin running with IIS 6.0. Should I be using > 1.8.7? > sorry I am not familiar with IIS, so I have no idea why you want to use 1.8.7. I like 1.9.x cheers Reimar From p.f.moore at gmail.com Tue Mar 30 16:39:48 2010 From: p.f.moore at gmail.com (Paul Moore) Date: Tue, 30 Mar 2010 21:39:48 +0100 Subject: [Moin-user] Collapsible list macro Message-ID: <79990c6b1003301339x52cef7b5j75d1db24d667c381@mail.gmail.com> I'm looking for a means of adding a "collapsible menu" to my wiki. I've searched the Macro market, and various other places on the web, but haven't been able to find anything. Before I start writing my own, does anyone know of an existing bit of code that does this? Basically, I currently have a list in my wiki * Title 1 * SubPageOne/SubSubOne * SubPageOne/SubSubTwo * SubPageOne/SubSubThree * Title 2 * SubPageTwo/SubSubOne * SubPageTwo/SubSubTwo * SubPageTwo/SubSubThree At the moment, this renders as a normal 2-level bulleted list. What I'd like is for the list to initially render as only the top level entries (Title 1, Title 2) and clicking on a top level entry to expand it, showing the sublist below it. (The top level entries don't need to be links to pages themselves). There are some JavaScript libraries that do this sort of thing, but they need the list to have additional markup. I can't think of a way of adding the necessary markup to a MoinMoin list, so I'm guessing I'd need some sort of parser or macro to create an appropriately marked up list (unless anyone can point me at a JavaScript implementation that works on a plain, un-marked up list). Thanks for any pointers, Paul From moinmoin at sheep.art.pl Tue Mar 30 16:44:10 2010 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Tue, 30 Mar 2010 22:44:10 +0200 Subject: [Moin-user] Collapsible list macro In-Reply-To: <79990c6b1003301339x52cef7b5j75d1db24d667c381@mail.gmail.com> References: <79990c6b1003301339x52cef7b5j75d1db24d667c381@mail.gmail.com> Message-ID: <691968941003301344w14003c16y61d21a02e2a14fd3@mail.gmail.com> Maybe that's a little convoluted, but if you really don't want to write a parser (it's not that hard), you could write javascript that looks for those lists you want and marks them up for the other javascript. On Tue, Mar 30, 2010 at 10:39 PM, Paul Moore wrote: > I'm looking for a means of adding a "collapsible menu" to my wiki. > I've searched the Macro market, and various other places on the web, > but haven't been able to find anything. Before I start writing my own, > does anyone know of an existing bit of code that does this? > > Basically, I currently have a list in my wiki > > ?* Title 1 > ? * SubPageOne/SubSubOne > ? * SubPageOne/SubSubTwo > ? * SubPageOne/SubSubThree > ?* Title 2 > ? * SubPageTwo/SubSubOne > ? * SubPageTwo/SubSubTwo > ? * SubPageTwo/SubSubThree > > At the moment, this renders as a normal 2-level bulleted list. What > I'd like is for the list to initially render as only the top level > entries (Title 1, Title 2) and clicking on a top level entry to expand > it, showing the sublist below it. (The top level entries don't need to > be links to pages themselves). > > There are some JavaScript libraries that do this sort of thing, but > they need the list to have additional markup. I can't think of a way > of adding the necessary markup to a MoinMoin list, so I'm guessing I'd > need some sort of parser or macro to create an appropriately marked up > list (unless anyone can point me at a JavaScript implementation that > works on a plain, un-marked up list). > > Thanks for any pointers, > Paul > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- Radomir Dopieralski, http://sheep.art.pl From p.f.moore at gmail.com Wed Mar 31 07:45:59 2010 From: p.f.moore at gmail.com (Paul Moore) Date: Wed, 31 Mar 2010 12:45:59 +0100 Subject: [Moin-user] Collapsible list macro In-Reply-To: <4BB33450.8040602@ncl.ac.uk> References: <79990c6b1003301339x52cef7b5j75d1db24d667c381@mail.gmail.com> <4BB33450.8040602@ncl.ac.uk> Message-ID: On 31 March 2010 12:38, Jim Wight wrote: > My SeeSaw macro can do it. [...] [...] > The markup would be: > > ?* <> > ?{{{#!wiki seesaw title1 > ?* SubPageOne/SubSubOne > ?* SubPageOne/SubSubTwo > ?* SubPageOne/SubSubThree > }}} > ?* <> > ?{{{#!wiki seesaw title2 > ? * SubPageTwo/SubSubOne > ? * SubPageTwo/SubSubTwo > ? * SubPageTwo/SubSubThree > }}} > > I've implemented it at the SeeSaw demonstration site at > http://seesaw.ncl.ac.uk/1.9/JimWight Ah, thanks! I saw the SeeSaw macro, and wondered if it would be able to do this, but didn't get far enough in my digging to spot this. That's very helpful, thanks. Paul. From j.k.wight at ncl.ac.uk Wed Mar 31 07:38:56 2010 From: j.k.wight at ncl.ac.uk (Jim Wight) Date: Wed, 31 Mar 2010 12:38:56 +0100 Subject: [Moin-user] Collapsible list macro In-Reply-To: <79990c6b1003301339x52cef7b5j75d1db24d667c381@mail.gmail.com> References: <79990c6b1003301339x52cef7b5j75d1db24d667c381@mail.gmail.com> Message-ID: <4BB33450.8040602@ncl.ac.uk> Paul Moore wrote: > I'm looking for a means of adding a "collapsible menu" to my wiki. > I've searched the Macro market, and various other places on the web, > but haven't been able to find anything. Before I start writing my own, > does anyone know of an existing bit of code that does this? My SeeSaw macro can do it. > Basically, I currently have a list in my wiki > > * Title 1 > * SubPageOne/SubSubOne > * SubPageOne/SubSubTwo > * SubPageOne/SubSubThree > * Title 2 > * SubPageTwo/SubSubOne > * SubPageTwo/SubSubTwo > * SubPageTwo/SubSubThree > > At the moment, this renders as a normal 2-level bulleted list. What > I'd like is for the list to initially render as only the top level > entries (Title 1, Title 2) and clicking on a top level entry to expand > it, showing the sublist below it. (The top level entries don't need to > be links to pages themselves). The markup would be: * <> {{{#!wiki seesaw title1 * SubPageOne/SubSubOne * SubPageOne/SubSubTwo * SubPageOne/SubSubThree }}} * <> {{{#!wiki seesaw title2 * SubPageTwo/SubSubOne * SubPageTwo/SubSubTwo * SubPageTwo/SubSubThree }}} I've implemented it at the SeeSaw demonstration site at http://seesaw.ncl.ac.uk/1.9/JimWight Jim