From Ralf-Lists at ralfgross.de Thu Feb 1 03:24:01 2007 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Thu, 1 Feb 2007 09:24:01 +0100 (CET) Subject: [Moin-user] config options ignored with farmconfig.py Message-ID: <62386.141.113.101.32.1170318241.squirrel@www.stz-softwaretechnik.com> Hi, I've four wikis that should move to a new host. Thus I thought it would be a good idea to setup a wiki farm, instead of four individual wikis. I follwed the instructions on this page: http://moinmoin.wikiwikiweb.de/FarmQuestions If I define data_underlay_dir only in farmconfig.py, I get this error: data_underlay_dir "./underlay/" does not exists, or has incorrect ownership or permissions. Similar to that url_prefix = '/wikifarm' seems also to be ignored and the default value is used: ...."GET /wiki/modern/css/common.css HTTP/1.1" 404 344.... But data_underlay_dir and url_prefix is set in my farmconfig.py: wikis = [ ("redwiki", r"^vu0em003/redwiki.*$"), ("bluewiki", r"^vu0em003/bluewiki.*$"), ] from MoinMoin.multiconfig import DefaultConfig class FarmConfig(DefaultConfig): data_underlay_dir = '/data/wikis/underlay/' url_prefix = '/wikifarm' navi_bar = [ u'RecentChanges', u'FindPage', u'HelpContents', ] theme_default = 'modern' language_default = 'en' page_category_regex = u'^Category[A-Z]' page_dict_regex = u'[a-z]Dict$' page_group_regex = u'[a-z]Group$' page_template_regex = u'[a-z]Template$' show_hosts = 1 show_interwiki = 1 logo_string = u'' Setting the data_underlay_dir and url_prefix options in bluewiki.py and redwiki.py works. Ralf From nigel.metheringham at dev.intechnology.co.uk Thu Feb 1 03:57:19 2007 From: nigel.metheringham at dev.intechnology.co.uk (Nigel Metheringham) Date: Thu, 1 Feb 2007 08:57:19 +0000 Subject: [Moin-user] email lost password sends password in encrypted form In-Reply-To: References: Message-ID: <813D3E7A-8B4A-4AF0-B76C-59BC1F042906@dev.intechnology.co.uk> On 31 Jan 2007, at 20:22, Ted Stern wrote: > I can guess that the SHA means that password is encrypted using the > sha python module. So how do I set things up so the password is > decrypted for the user? It is unusable as it stands. SHA1 is a one way hash function. So you cannot decrypt it. Moin stores password hashes, not passwords, so cannot inform you of the original pasdword. -- [ Nigel Metheringham Nigel.Metheringham at InTechnology.co.uk ] [ - Comments in this message are my own and not ITO opinion/policy - ] From tw-public at gmx.de Thu Feb 1 06:46:15 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 01 Feb 2007 12:46:15 +0100 Subject: [Moin-user] Lupy indexer errors with "too many open files" In-Reply-To: References: Message-ID: <45C1D307.3050808@gmx.de> > I'm not sure if this is the best place to ask questions about Lupy, but > I'll give it a shot for lack of a more appropriate list. Lupy is dead. Lupy development was discontinued quite some time ago. We tried to fix it on our own, but we couldn't find the source of misc. bugs. Thus, we replaced Lupy by Xapian in 1.6. Xapian is the search engine used by gmane.org (see http://search.gmane.org/ ) and obviously scales very well. > I'm attempting to do scalability testing of the MoinMoin software to > benchmark its performance with large numbers of pages, users, etc.. As > part of this testing, I created a 5,000 page wiki (the contents of each > page is identical and around 10kb). Of course I don't know your application, but I guess the typical wiki page size is below 10k. > Performing searches on the wiki was > painfully slow, taking on the order of minutes. And of course this also depends on the machine (CPU, RAM, DISK speed). > However, whenever I try to build the index, Lupy gets through maybe a > couple thousand pages before dying with the following error: If searching vast amounts is important in your evaluation, you should maybe try the (not yet released, but available) 1.6 code. See http://hg.thinkmo.de/moin/1.6 > I tried reducing the mergeFactor in support/lupy/index/indexwriter.py > from 20 to 10, as recommended elsewhere, but this didn't help. Nor did > upping the limit on the max no. of file descriptors for the process from > 256 to 1024. Maybe try some other values. But please understand that we won't invest much time into debugging this as the lupy code doesn't exist any more in 1.6 (but much better xapian code). Concerning production use, you could maybe just start with latest 1.5.x release (and the non-lupy slow search, which usually works quite well for small wikis) and build up your content (will take some time, I guess) and later switch to 1.6 when it is released and the slow search is getting a real problem for you. From tw-public at gmx.de Thu Feb 1 06:54:17 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 01 Feb 2007 12:54:17 +0100 Subject: [Moin-user] email lost password sends password in encrypted form In-Reply-To: References: Message-ID: <45C1D4E9.7020605@gmx.de> > http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ResetPasswordEmailImproperlyEncoded > > that seems to describe my problem. I did a check to see whether the > encoded form of my password would have a trailing '=' sign, and it > does. When the encoded version is emailed to me, I do not see the '=' > sign. As you see at the bottom of the bug page, the issue was fixed (worked around) by multiple patches, so using a recent moin release should help. The main problem with that stuff was that some python standard lib's email function are buggy and behave differently, so we had to add some magic dynamically doing the right thing. From forsberg at cendio.se Thu Feb 1 06:43:13 2007 From: forsberg at cendio.se (Erik Forsberg) Date: Thu, 01 Feb 2007 12:43:13 +0100 Subject: [Moin-user] Attachement history? Message-ID: Hi! Evaluating MoinMoin, I find that there doesn't seem to be any history for attachements, correct? Are there any plans for introducing this? I can't find it under FeatureRequests. Thanks, \EF -- Erik Forsberg OpenSource-based Thin Client Technology Systems Analyst/Developer Phone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com From tw-public at gmx.de Thu Feb 1 07:41:03 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 01 Feb 2007 13:41:03 +0100 Subject: [Moin-user] Attachement history? In-Reply-To: References: Message-ID: <45C1DFDF.9090808@gmx.de> > Evaluating MoinMoin, I find that there doesn't seem to be any history > for attachements, correct? > Yes, this is correct. The current workaround is to have backups. :) > Are there any plans for introducing this? I can't find it under > FeatureRequests. > We have plans to unify pages and attachments to generic "items". What's a wiki page now will be a mimetype text/moin-wiki item then. What's a pdf attachment now will be an application/pdf item then. Items will be implemented as a class hierarchy, exploiting inheritance, so generic functionality will be implemented in base item class (like delete, rename, info, revert, ...) and special functionality will be implemented in the derived special classes for some mimetype. Because the basic stuff is handled the same way, we'll get revisioning for attachments and upload/download for pages for free (and much else) - using less and easier to maintain code than we have now. As you can imagine, this is a big, complex and critical code change (and this also needs some changes on the storage level), so don't hold your breath, this will take some time (not planned for 1.5 and 1.6 branches, maybe 1.7, maybe 2.0...). The next bigger changes (like xapian based indexed search and wiki sync and some others) are expected for the upcoming 1.6 release - so if you evaluate moin, maybe have a glance at that stuff. From tw-public at gmx.de Thu Feb 1 07:50:51 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 01 Feb 2007 13:50:51 +0100 Subject: [Moin-user] Attachement history? In-Reply-To: <45C1DFDF.9090808@gmx.de> References: <45C1DFDF.9090808@gmx.de> Message-ID: <45C1E22B.2090709@gmx.de> Thomas Waldmann schrieb: >> Evaluating MoinMoin, I find that there doesn't seem to be any history >> for attachements, correct? >> > Yes, this is correct. > Addendum: ... if you mean revisioning of attachments - there are no attachment revisions. Concerning "history" as in "who did what operations with attachments", there is a log you get by clicking on the "info" link, so you can see who uploaded or deleted some attachment. From Lane.Rettig at deshaw.com Thu Feb 1 09:17:27 2007 From: Lane.Rettig at deshaw.com (Rettig, Lane) Date: Thu, 1 Feb 2007 09:17:27 -0500 Subject: [Moin-user] Lupy indexer errors with "too many open files" References: <45C1D307.3050808@gmx.de> Message-ID: > > I tried reducing the mergeFactor in > support/lupy/index/indexwriter.py > > from 20 to 10, as recommended elsewhere, but this didn't > help. Nor did > > upping the limit on the max no. of file descriptors for the > process from > > 256 to 1024. > > Maybe try some other values. But please understand that we > won't invest > much time into debugging this as the lupy code doesn't exist > any more in > 1.6 (but much better xapian code). FWIW, this turned out to be an issue with Solaris, which cannot do buffered fopen() (which is what Python uses) on file descriptors > 256, regardless of what the limit is set to. The Lupy indexer failed on indexing somewhere between 2000 and 3000 pages. > Concerning production use, you could maybe just start with > latest 1.5.x > release (and the non-lupy slow search, which usually works quite well > for small wikis) and build up your content (will take some time, I > guess) and later switch to 1.6 when it is released and the > slow search > is getting a real problem for you. Thanks for the information, and for the advice. Lane Rettig From Ralf-Lists at ralfgross.de Thu Feb 1 09:37:18 2007 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Thu, 1 Feb 2007 15:37:18 +0100 (CET) Subject: [Moin-user] config options ignored with farmconfig.py In-Reply-To: <62386.141.113.101.32.1170318241.squirrel@www.stz-softwaretechnik.com> References: <62386.141.113.101.32.1170318241.squirrel@www.stz-softwaretechnik.com> Message-ID: <25026.141.113.101.32.1170340638.squirrel@www.stz-softwaretechnik.com> Ralf Gross said: > If I define data_underlay_dir only in farmconfig.py, I get this error: > > data_underlay_dir "./underlay/" does not exists, or has incorrect > ownership or permissions. > > Similar to that url_prefix = '/wikifarm' seems also to be ignored and the > default value is used: > > ...."GET /wiki/modern/css/common.css HTTP/1.1" 404 344.... > > [snip] > Setting the data_underlay_dir and url_prefix options in bluewiki.py and > redwiki.py works. I forgot to change/add the following options in bluewiki/redwiki's config file. from farmconfig import FarmConfig [...] class Config(FarmConfig): [...] Now it works as expected. Ralf From dodecatheon at gmail.com Thu Feb 1 13:48:54 2007 From: dodecatheon at gmail.com (Ted Stern) Date: Thu, 01 Feb 2007 10:48:54 -0800 Subject: [Moin-user] email lost password sends password in encrypted form References: <45C1D4E9.7020605@gmx.de> Message-ID: On 01 Feb 2007 03:54:17 -0800, Thomas Waldmann wrote: > >> http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ResetPasswordEmailImproperlyEncoded >> >> that seems to describe my problem. I did a check to see whether the >> encoded form of my password would have a trailing '=' sign, and it >> does. When the encoded version is emailed to me, I do not see the '=' >> sign. > > As you see at the bottom of the bug page, the issue was fixed (worked > around) by multiple patches, so using a recent moin release should help. > > The main problem with that stuff was that some python standard lib's > email function are buggy and behave differently, so we had to add some > magic dynamically doing the right thing. I do have MoinMoin 1.5.4. In my distribution, the relevant lines in MoinMoin/user/mail.py show the fix: ,---- | # work around a bug in python 2.4.3 and above: | msg.set_payload('=') | if msg.as_string().endswith('='): | text = charset.body_encode(text) | | msg.set_payload(text) | `---- And yet the trailing '=' is still swallowed. The problem might be that the web host is still running python 2.2.3. Ted > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- dodecatheon at gmail dot com Frango ut patefaciam -- I break so that I may reveal From randhol+moinmoin at pvv.org Thu Feb 1 19:23:01 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Fri, 02 Feb 2007 01:23:01 +0100 Subject: [Moin-user] Trying to set up moinmoin on lighttpd In-Reply-To: <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> <4584173A.7050504@iDIAcomputing.com> <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> Message-ID: <20070202012301.34d497c9.randhol+moinmoin@pvv.org> Hi I'm trying again to setup moinmoin to run with fastcgi on lighttpd. I have tried to follow the recipe of the moin installation pages, but I cannot get it to work... I get: 500 - Internal Server Error and in the lighttpd log I get: 2007-02-02 00:49:05: (log.c.75) server started 2007-02-02 00:49:09: (mod_fastcgi.c.2533) FastCGI: header.type not handled: 70 2007-02-02 00:49:09: (mod_fastcgi.c.2409) unexpected end-of-file (perhaps the fastcgi process died): pid: 6584 socket: tcp:127.0.0.1:2202 2007-02-02 00:49:09: (mod_fastcgi.c.3194) response not received, request sent: 804 on socket: tcp:127.0.0.1:2202 for /ourwiki , closing connection =================================================================== The problem is that I try to follow the recipe, but it is so many different recipes. Some for cgi some for fastcgi etc... So I don't know what I'm doing wrong here. And how can I get some debug info from moinmoin so I can better find out what is the problem? When one use fastcgi do one need to alsi set up some aliases in lighttpd? As I understand they apply for cgi? Any help is much appreciated... Thanks in advance Preben My setup is: == /etc/lighttpd/conf-enabled/50-moinmoin.conf ==================== ## FastCGI programs have the same functionality as CGI programs, ## but are considerably faster through lower interpreter startup ## time and socketed communication ## ## Documentation: /usr/share/doc/lighttpd-doc/fastcgi.txt.gz ## http://www.lighttpd.net/documentation/fastcgi.html server.modules += ( "mod_fastcgi" ) fastcgi.server = ( "/ourwiki" => (( "docroot" => "/", "min-procs" => 1, "max-procs" => 3, # allocate successive port numbers for each process, starting with "port" "bin-path" => "/usr/local/share/moin/server/moin.fcg", "host" => "127.0.0.1", "port" => 2200, "check-local" => "disable", "broken-scriptfilename" => "enable", )) ) == /etc/moin/ourwiki.py ========================================== # -*- coding: iso-8859-1 -*- # IMPORTANT! This encoding (charset) setting MUST be correct! If you # live in a western country and you don't know that you use utf-8, you # probably want to use iso-8859-1 (or some other iso charset). If you # use utf-8 (a Unicode encoding) you MUST use: coding: utf-8 # That setting must match the encoding your editor uses when you modify # the settings below. If it does not, special non-ASCII chars will be # wrong. """ This is a sample config for a wiki that is part of a wiki farm and uses farmconfig for common stuff. Here we define what has to be different from the farm's common settings. """ # we import the FarmConfig class for common defaults of our wikis: from farmconfig import FarmConfig # now we subclass that config (inherit from it) and change what's # different: class Config(FarmConfig): # basic options (you normally need to change these) sitename = u'OurWiki' # [Unicode] interwikiname = 'OurWiki' # name of entry page / front page [Unicode], choose one of those: # a) if most wiki content is in a single language #page_front_page = u"MyStartingPage" # b) if wiki content is maintained in many languages page_front_page = u"FrontPage" data_dir = '/usr/local/share/moin/ourwiki/data/' == /etc/moin/farmconfig.py ======================================= # -*- coding: iso-8859-1 -*- # IMPORTANT! This encoding (charset) setting MUST be correct! If you # live in a western country and you don't know that you use utf-8, you # probably want to use iso-8859-1 (or some other iso charset). If you # use utf-8 (a Unicode encoding) you MUST use: coding: utf-8 # That setting must match the encoding your editor uses when you modify # the settings below. If it does not, special non-ASCII chars will be # wrong. """ MoinMoin - Configuration for a wiki farm If you run a single wiki only, you can keep the "wikis" list "as is" (it has a single rule mapping all requests to mywiki.py). Note that there are more config options than you'll find in the version of this file that is installed by default; see the module MoinMoin.multiconfig for a full list of names and their default values. Also, the URL http://moinmoin.wikiwikiweb.de/HelpOnConfiguration has a list of config options. """ # Wikis in your farm -------------------------------------------------- # If you run multiple wikis, you need this list of pairs (wikiname, url # regular expression). moin processes that list and tries to match the # regular expression against the URL of this request - until it matches. # Then it loads the .py config for handling that request. # Important: # * the left part is the wikiname enclosed in double quotes # * the left part must be a valid python module name, so better use # only lower letters "a-z" and "_". Do not use blanks or "-" there!!! # * the right part is the url re, use r"..." for it # * the right part does NOT include "http://" nor "https://" at the # beginning # * in the right part ".*" means "everything". Just "*" does not work # like for filenames on the shell / commandline, you must use ".*" as # it is a RE. # * in the right part, "^" means "beginning" and "$" means "end" wikis = [ # Standalone server needs the port e.g. localhost:8000 # Twisted server can now use the port, too. # wikiname, url regular expression (no protocol) # --------------------------------------------------------------- ("ourwiki", r".*"), # this is ok for a single wiki # for multiple wikis, do something like this: #("moinmoin", r"^moinmoin.wikiwikiweb.de/.*$"), #("moinmaster", r"^moinmaster.wikiwikiweb.de/.*$"), ] ========================================================================= # Common configuration for all wikis # Everything that should be configured the same way should go here, # anything else that should be different should go to the single wiki's # config. # In that single wiki's config, we will use the class FarmConfig we # define below as the base config settings and only override what's # different. # # In exactly the same way, we first include MoinMoin's Config Defaults # here - this is to get everything to sane defaults, so we need to # change only what we like to have different: from MoinMoin.multiconfig import DefaultConfig # Now we subclass this DefaultConfig. This means that we inherit every # setting from the DefaultConfig, except those we explicitely define # different. class FarmConfig(DefaultConfig): # Critical setup --------------------------------------------------- # Misconfiguration here will render your wiki unusable. Check that # all directories are accessible by the web server or moin server. # If you encounter problems, try to set data_dir and data_underlay_dir # to absolute paths. # Where your mutable wiki pages are. You want to make regular # backups of this directory. data_dir = '/usr/local/share/moin/ourwiki/data/' # Where read-only system and help page are. You might want to share # this directory between several wikis. When you update MoinMoin, # you can safely replace the underlay directory with a new one. This # directory is part of MoinMoin distribution, you don't have to # backup it. data_underlay_dir = '/usr/local/share/moin/ourwiki/underlay/' # This must be '/wiki' for twisted and standalone. For CGI, it should # match your Apache Alias setting. url_prefix = '/wiki' # Security ---------------------------------------------------------- # This is checked by some rather critical and potentially harmful actions, # like despam or PackageInstaller action: #superuser = [u"YourName", ] # IMPORTANT: grant yourself admin rights! replace YourName with # your user name. See HelpOnAccessControlLists for more help. # All acl_rights_xxx options must use unicode [Unicode] #acl_rights_before = u"YourName:read,write,delete,revert,admin" # Link spam protection for public wikis (uncomment to enable). # Needs a reliable internet connection. #from MoinMoin.util.antispam import SecurityPolicy # Mail -------------------------------------------------------------- # Configure to enable subscribing to pages (disabled by default) or # sending forgotten passwords. # SMTP server, e.g. "mail.provider.com" (empty or None to disable mail) #mail_smarthost = "" # The return address, e.g u"J_rgen Wiki " [Unicode] #mail_from = u"" # "user pwd" if you need to use SMTP AUTH #mail_login = "" # User interface ---------------------------------------------------- # Add your wikis important pages at the end. It is not recommended to # remove the default links. Leave room for user links - don't use # more than 6 short items. # You MUST use Unicode strings here, but you need not use localized # page names for system and help pages, those will be used automatically # according to the user selected language. [Unicode] navi_bar = [ # If you want to show your page_front_page here: #u'%(page_front_page)s', u'RecentChanges', u'FindPage', u'HelpContents', ] # The default theme anonymous or new users get theme_default = 'modern' # Language options -------------------------------------------------- # See http://moinmoin.wikiwikiweb.de/ConfigMarket for configuration in # YOUR language that other people contributed. # The main wiki language, set the direction of the wiki pages language_default = 'en' # You must use Unicode strings here [Unicode] page_category_regex = u'^Category[A-Z]' page_dict_regex = u'[a-z]Dict$' page_group_regex = u'[a-z]Group$' page_template_regex = u'[a-z]Template$' # Content options --------------------------------------------------- # Show users hostnames in RecentChanges show_hosts = 1 # Show the interwiki name (and link it to page_front_page) in the Theme, # nice for farm setups or when your logo does not show the wiki's name. show_interwiki = 1 logo_string = u'' # Enable graphical charts, requires gdchart. #chart_options = {'width': 600, 'height': 300} From eamon at nerbonne.org Thu Feb 1 19:23:36 2007 From: eamon at nerbonne.org (Eamon Nerbonne) Date: Fri, 2 Feb 2007 01:23:36 +0100 Subject: [Moin-user] email lost password sends password in encrypted form In-Reply-To: References: <45C1D4E9.7020605@gmx.de> Message-ID: <16b7b9ec0702011623y6313b2b4k4c8514736d9b6461@mail.gmail.com> This may just be me, but why is moinmoin even generating {SHA}... passwords? Why not just reset it to a random alphanumeric string of 10 characters? Absurdly long passwords aren't helpful... right? --Eamon On 2/1/07, Ted Stern wrote: > > On 01 Feb 2007 03:54:17 -0800, Thomas Waldmann wrote: > > > >> > http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ResetPasswordEmailImproperlyEncoded > >> > >> that seems to describe my problem. I did a check to see whether the > >> encoded form of my password would have a trailing '=' sign, and it > >> does. When the encoded version is emailed to me, I do not see the '=' > >> sign. > > > > As you see at the bottom of the bug page, the issue was fixed (worked > > around) by multiple patches, so using a recent moin release should help. > > > > The main problem with that stuff was that some python standard lib's > > email function are buggy and behave differently, so we had to add some > > magic dynamically doing the right thing. > > I do have MoinMoin 1.5.4. > > In my distribution, the relevant lines in MoinMoin/user/mail.py show > the fix: > > ,---- > | # work around a bug in python 2.4.3 and above: > | msg.set_payload('=') > | if msg.as_string().endswith('='): > | text = charset.body_encode(text) > | > | msg.set_payload(text) > | > `---- > > And yet the trailing '=' is still swallowed. > > The problem might be that the web host is still running python 2.2.3. > > Ted > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier. > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > -- > dodecatheon at gmail dot com > Frango ut patefaciam -- I break so that I may reveal > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- eamon at nerbonne.org - 06-15142163 -------------- next part -------------- An HTML attachment was scrubbed... URL: From randhol+moinmoin at pvv.org Thu Feb 1 19:40:18 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Fri, 02 Feb 2007 01:40:18 +0100 Subject: [Moin-user] Trying to set up moinmoin on lighttpd In-Reply-To: <20070202012301.34d497c9.randhol+moinmoin@pvv.org> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> <4584173A.7050504@iDIAcomputing.com> <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> <20070202012301.34d497c9.randhol+moinmoin@pvv.org> Message-ID: <20070202014018.5feafb4c.randhol+moinmoin@pvv.org> On Fri, 02 Feb 2007 01:23:01 +0100 Preben Randhol wrote: > Hi > > I'm trying again to setup moinmoin to run with fastcgi on lighttpd. I > have tried to follow the recipe of the moin installation pages, but I > cannot get it to work... > > I get: 500 - Internal Server Error > > and in the lighttpd log I get: > > 2007-02-02 00:49:05: (log.c.75) server started > 2007-02-02 00:49:09: (mod_fastcgi.c.2533) FastCGI: header.type not > handled: 70 2007-02-02 00:49:09: (mod_fastcgi.c.2409) unexpected > end-of-file (perhaps the fastcgi process died): pid: 6584 socket: > tcp:127.0.0.1:2202 2007-02-02 00:49:09: (mod_fastcgi.c.3194) response > not received, request sent: 804 on socket: tcp:127.0.0.1:2202 > for /ourwiki , closing connection > =================================================================== AAAAARGGGG!!! I found the error by running: python /etc/moin/ourwiki.py it was that vim used TAB for indentation and not spaces as the config file uses so python crashed on the file. OK now I have written a function for vim that automatically sets tab to spaces or tabs depending on what is already used in a python file to avoid this in the future... 2 hours of hairpulling down the drain... Next is to figure out how to get a better theme installed but firstly: Good night! Preben From forsberg at cendio.se Fri Feb 2 03:33:02 2007 From: forsberg at cendio.se (Erik Forsberg) Date: Fri, 02 Feb 2007 09:33:02 +0100 Subject: [Moin-user] Attachement history? References: <45C1DFDF.9090808@gmx.de> <45C1E22B.2090709@gmx.de> Message-ID: Thomas Waldmann writes: > Thomas Waldmann schrieb: >>> Evaluating MoinMoin, I find that there doesn't seem to be any history >>> for attachements, correct? >>> >> Yes, this is correct. >> > Addendum: ... if you mean revisioning of attachments - there are no > attachment revisions. > > Concerning "history" as in "who did what operations with attachments", > there is a log you get by clicking on the "info" link, so you can see > who uploaded or deleted some attachment. I did mean "revision", but the "history" already available is better than nothing :-). Thanks, \EF -- Erik Forsberg OpenSource-based Thin Client Technology Systems Analyst/Developer Phone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com From forsberg at cendio.se Fri Feb 2 03:36:16 2007 From: forsberg at cendio.se (Erik Forsberg) Date: Fri, 02 Feb 2007 09:36:16 +0100 Subject: [Moin-user] Attachement history? References: <45C1DFDF.9090808@gmx.de> Message-ID: Thomas Waldmann writes: > As you can imagine, this is a big, complex and critical code change Indeed. > (and this also needs some changes on the storage level), Speaking of the storage level - I noticed that todays revisions are stored as full copies of all revisions. Has there been any thoughts on using a full-blown VC (Subversion or similar) as backend, or is that a stupid idea for reasons I don't know anything about? > The next bigger changes (like xapian based indexed search and wiki sync > and some others) are expected for the upcoming 1.6 release - so if you > evaluate moin, maybe have a glance at that stuff. Well, I'm thinking about using moin as a intranet, and the number of pages will quite low, so I don't think I'll get any performance trouble due to lupu being slow. Thanks, \EF -- Erik Forsberg OpenSource-based Thin Client Technology Systems Analyst/Developer Phone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com From tw-public at gmx.de Fri Feb 2 07:22:29 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 02 Feb 2007 13:22:29 +0100 Subject: [Moin-user] email lost password sends password in encrypted form In-Reply-To: References: <45C1D4E9.7020605@gmx.de> Message-ID: <45C32D05.7070909@gmx.de> > The problem might be that the web host is still running python 2.2.3. > That's bad, as the minimum requirement for moin currently is Python 2.3. From tw-public at gmx.de Fri Feb 2 07:47:58 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 02 Feb 2007 13:47:58 +0100 Subject: [Moin-user] VCS as storage backend? Bundle Storage idea. In-Reply-To: References: <45C1DFDF.9090808@gmx.de> Message-ID: <45C332FE.3080800@gmx.de> > Speaking of the storage level - I noticed that todays revisions are > stored as full copies of all revisions. Has there been any thoughts on > using a full-blown VC (Subversion or similar) as backend, or is that a > stupid idea for reasons I don't know anything about? > Well. currently this simply is not possible. Some day we'll have a storage plugin api so one theoretically could maybe plug in anything one wants (assumining you also want to write the code if it is not already there). Speaking of VCSes, this is maybe just overkill for moin because we don't need most functions. It might also be slower and create new dependencies. But if somebody wants to try (when the time has come), we won't hold him back. :) What I personally thought of doing (after storage api is alive and working well) is some filesystem storage that transparently compresses old revisions into bundles. E.g. if you have page revisions 1 .. 2345, we could maybe have this: 00000100.tar.gz - has page file 00000001 .. 00000100 inside 00000200.tar.gz - has page file 00000101 .. 00000200 inside ... 00002300.tar.gz - ... up to 2300 00002301 - page file, not compressed yet ... 00002345 - page file, not compressed yet This would be quite efficient because a page evolving over time usually has similar content all the time - and that compresses well. Also, the file system overhead would be much lower as when storing all those tiny files separately. Maybe this is also interesting for revisioned "attachments" (file items), assuming that there is also some similarity in file contents. That could be a big space safer as files tend to be much bigger than wiki pages. So if you update a file often, this could cost quite some space for the revisions. For the files, we also maybe need to set purge criteria (.e.g only keep the last 20 revisions, or delete everything older than a year (but keep at least the last 2 revisions)). Python has built-in support for tar files and gzip compression, so it wouldn't need external stuff. OTOH: storage is cheap (and getting cheaper all the time) and modern file systems can cope with many files, so we maybe have more important stuff to do in moin than implementing a storage saving backend. So maybe we'll leave this as exercise to the reader. From Marcin.Kasperski at softax.com.pl Fri Feb 2 10:37:13 2007 From: Marcin.Kasperski at softax.com.pl (Marcin Kasperski) Date: Fri, 2 Feb 2007 16:37:13 +0100 Subject: [Moin-user] VCS as storage backend? Bundle Storage idea. In-Reply-To: <45C332FE.3080800@gmx.de> References: <45C332FE.3080800@gmx.de> Message-ID: <200702021637.14475.Marcin.Kasperski@softax.com.pl> > Speaking of VCSes, this is maybe just overkill for moin > because we don't need most functions. It might also be slower > and create new dependencies. But if somebody wants to try > (when the time has come), we won't hold him back. :) Some 'in-between' concept could be using not the whole VCS, but only storage library itself. Like subversion filesystem (svn_fs) layer. But it need not be trivial... From oftl at xover.htu.tuwien.ac.at Fri Feb 2 14:04:48 2007 From: oftl at xover.htu.tuwien.ac.at (oftl) Date: Fri, 2 Feb 2007 20:04:48 +0100 Subject: [Moin-user] page relative navigation Message-ID: <20070202190448.GW8790@localhost.localdomain> is there a simple (meaning: already implemented) way to make the navigation in a moinwiki relative to the current page ? ie to have subpages (or any other pages for that matter) listed below their parent in the navigation (only if the parent or one of its children is being viewd) ? on irc i've been told there was alredy discussin on this, but i couldn't find it. oftl -- i prefer text-only mail. http://timmy.boldlygoingnowhere.org why ? read this: http://www.gnu.org/philosophy/no-word-attachments.html Programs that write programs are the happiest programs in the world. -- Andrew Hume From danielk at featherbrain.net Sat Feb 3 08:46:47 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Sat, 3 Feb 2007 08:46:47 -0500 Subject: [Moin-user] Refreshing after editing Message-ID: <000001c74799$c093f980$6d6cdc45@nestbox> I'm just getting starting with MoinMoin, and have a quick 'beginners' question... After editing a page, I click the 'Save Changes' button, but instead of the page re-displaying with my changes, I get an 'HTTP 500' error from IE. If I subsequently press F5 (to refresh the page) I will then see my changes. Is there some way to make is so that when I click 'Save Changes', the page will re-display with the changes? Daniel Klein mailto:danielk at featherbrain.net From rvanderveer at cognitivearts.com Sat Feb 3 11:40:50 2007 From: rvanderveer at cognitivearts.com (Rick Vanderveer) Date: Sat, 3 Feb 2007 10:40:50 -0600 Subject: [Moin-user] Refreshing after editing References: <000001c74799$c093f980$6d6cdc45@nestbox> Message-ID: <4C614CA15B0F5146BF1F4F698FF59274839A@COGARTS-ES.cogarts.us.niit.com> Internet Explorer notoriously has 'issues' with Moin. And yes, it's frustrating because invariably I get support requests from my users who insist on using IE. You basically have two options: 1. Switch to Firefox 2. In IE, clear your cookies. (this seems to fix it for a while, but not permanently). -Rick -----Original Message----- From: moin-user-bounces at lists.sourceforge.net on behalf of Daniel Klein Sent: Sat 2/3/2007 7:46 AM To: moin-user at lists.sourceforge.net Subject: [Moin-user] Refreshing after editing I'm just getting starting with MoinMoin, and have a quick 'beginners' question... After editing a page, I click the 'Save Changes' button, but instead of the page re-displaying with my changes, I get an 'HTTP 500' error from IE. If I subsequently press F5 (to refresh the page) I will then see my changes. Is there some way to make is so that when I click 'Save Changes', the page will re-display with the changes? Daniel Klein mailto:danielk at featherbrain.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists.gnarlodious at gmail.com Sat Feb 3 12:17:14 2007 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Sat, 3 Feb 2007 10:17:14 -0700 Subject: [Moin-user] page relative navigation In-Reply-To: <20070202190448.GW8790@localhost.localdomain> References: <20070202190448.GW8790@localhost.localdomain> Message-ID: <3130eec50702030917w175a89f9he640b47d3a2ac636@mail.gmail.com> On 2/2/07, oftl wrote: > subpages (or any other pages for that matter) > listed below their parent in the navigation (only if > the parent or one of its children is being viewd) ? Did you try this tag? [[Navigation(children)]] as explained on this page: http://moinmoin.wikiwikiweb.de/HelpOnMacros?highlight=%28children%29 -- Gnarlie From tw-public at gmx.de Sun Feb 4 07:52:24 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Sun, 04 Feb 2007 13:52:24 +0100 Subject: [Moin-user] Refreshing after editing In-Reply-To: <000001c74799$c093f980$6d6cdc45@nestbox> References: <000001c74799$c093f980$6d6cdc45@nestbox> Message-ID: <45C5D708.8060502@gmx.de> Daniel Klein schrieb: > I'm just getting starting with MoinMoin, and have a quick 'beginners' > question... > > After editing a page, I click the 'Save Changes' button, but instead of the > page re-displaying with my changes, I get an 'HTTP 500' error from IE. 500 sounds like an http error code coming from your server, not your browser. Your server's error log might contain some more info, also look into moin's data/error.log. Maybe also try to use the latest released moin version, from time to time we do fixes improving compatibility to broken browsers like IE. > Is there some way to make is so that when I click 'Save Changes', the page > will re-display with the changes? > I guess this is a feature we usually have since moin 0.1. :) From danielk at featherbrain.net Sun Feb 4 09:29:53 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Sun, 4 Feb 2007 09:29:53 -0500 Subject: [Moin-user] Refreshing after editing In-Reply-To: <4C614CA15B0F5146BF1F4F698FF59274839A@COGARTS-ES.cogarts.us.niit.com> References: <000001c74799$c093f980$6d6cdc45@nestbox> <4C614CA15B0F5146BF1F4F698FF59274839A@COGARTS-ES.cogarts.us.niit.com> Message-ID: <000c01c74868$f0900f00$6d6cdc45@nestbox> Thanks Rick, but clearing cookies or using another browser did not resolve the problem. I finally did figure it out however :-) The 'c:\moin\mywiki\data\error.log' file had a bunch of entries like this... [Mon Jan 29 14:13:46 2007] IOError: [Errno 13] Permission denied: 'data\\edit-log' So the solution is to give 'IUSR_mymachine' permission (full control) to access the '\data' directory. In fact, it turns out that the step I missed during the installation was : Under Windows Server 2003, you will also need to give your IUSR_MACHINENAME account Modify access to the mywiki\data and mywiki\underlay sub-directories, as file system permissions are more restricted by default than previous Windows versions. Dan _____ From: Rick Vanderveer [mailto:rvanderveer at cognitivearts.com] Sent: Saturday, February 03, 2007 11:41 To: Daniel Klein; moin-user at lists.sourceforge.net Subject: RE: [Moin-user] Refreshing after editing Internet Explorer notoriously has 'issues' with Moin. And yes, it's frustrating because invariably I get support requests from my users who insist on using IE. You basically have two options: 1. Switch to Firefox 2. In IE, clear your cookies. (this seems to fix it for a while, but not permanently). -Rick -----Original Message----- From: moin-user-bounces at lists.sourceforge.net on behalf of Daniel Klein Sent: Sat 2/3/2007 7:46 AM To: moin-user at lists.sourceforge.net Subject: [Moin-user] Refreshing after editing I'm just getting starting with MoinMoin, and have a quick 'beginners' question... After editing a page, I click the 'Save Changes' button, but instead of the page re-displaying with my changes, I get an 'HTTP 500' error from IE. If I subsequently press F5 (to refresh the page) I will then see my changes. Is there some way to make is so that when I click 'Save Changes', the page will re-display with the changes? Daniel Klein mailto:danielk at featherbrain.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk &kid=120709&bid=263057&dat=121642 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From rvanderveer at cognitivearts.com Sun Feb 4 17:53:14 2007 From: rvanderveer at cognitivearts.com (Rick Vanderveer) Date: Sun, 4 Feb 2007 16:53:14 -0600 Subject: [Moin-user] Okay, I give up... Message-ID: I run Moin as an internal wiki for documentation and as a aid to project management. As an internal wiki, I'm using AD authentication. Nobody has complained, but it bothers me that the "Valid HTML 4.01" link is basically broken (w3.org can't access our site), and I'd like to remove just that link. However, I cannot for the life of me find where the heck the file is that makes that link. Help? Which file do I edit? -Rick From email at pfennigsolutions.de Sun Feb 4 18:16:00 2007 From: email at pfennigsolutions.de (Thilo Pfennig) Date: Mon, 05 Feb 2007 00:16:00 +0100 Subject: [Moin-user] Okay, I give up... In-Reply-To: References: Message-ID: <1170630960.32548.5.camel@prill> Am Sonntag, den 04.02.2007, 16:53 -0600 schrieb Rick Vanderveer: > I run Moin as an internal wiki for documentation and as a aid to > project management. As an internal wiki, I'm using AD > authentication. Nobody has complained, but it bothers me that the > Help? Which file do I edit? This can be configured as a value. The original can be found in multiconfig.py (page_credits) But rather to edit this here you should set page_credit =[] in your wiki config. sure you should give MoinMoin still a credit, maybe. But its up to you what the put in instead. -- PfennigSolutions - wiki systems http://www.pfennigsolutions.de/ From email at pfennigsolutions.de Sun Feb 4 18:20:58 2007 From: email at pfennigsolutions.de (Thilo Pfennig) Date: Mon, 05 Feb 2007 00:20:58 +0100 Subject: [Moin-user] Okay, I give up... In-Reply-To: <1170630960.32548.5.camel@prill> References: <1170630960.32548.5.camel@prill> Message-ID: <1170631258.32548.7.camel@prill> Am Montag, den 05.02.2007, 00:16 +0100 schrieb Thilo Pfennig: > page_credit =[] in your wiki config. > be aware that this instead is "page_credits". sry Thilo -- PfennigSolutions - wiki systems http://www.pfennigsolutions.de/ From mohacsi at niif.hu Mon Feb 5 06:05:49 2007 From: mohacsi at niif.hu (Mohacsi Janos) Date: Mon, 5 Feb 2007 12:05:49 +0100 (CET) Subject: [Moin-user] pages in multiple language? Message-ID: <20070205120222.Q9338@mignon.ki.iif.hu> Dear All, What is the best way to have some pages in multilanguage: 1. easy switch from one language to another - e.g. one click on a page 2. sharing attached files (e.g. pictures) among the multiple language - I don't like the idea of serving attachment via the webserver (no ACL support) 3. recommended naming schemes for multiple language pages... Thanks for any useful hints. Regards, Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 From brunelli at itc.it Tue Feb 6 11:33:17 2007 From: brunelli at itc.it (Roberto Brunelli) Date: Tue, 06 Feb 2007 17:33:17 +0100 Subject: [Moin-user] How can I disable ... Message-ID: <45C8ADCD.6090000@itc.it> - the full search linked to the page title appearing near the logo image - the message appearing after an edit operation (with 'Thank you for your changes') I've tried to find the answer in the help pages, but I probably searched the wrong places. Thankx a lot for any hint! Roberto -- | Roberto Brunelli - [scientist at ITC-irst] | 'Home can be anywhere, for it is a part of one's self' From moifmurphy at googlemail.com Wed Feb 7 06:28:20 2007 From: moifmurphy at googlemail.com (Moif Murphy) Date: Wed, 7 Feb 2007 11:28:20 +0000 Subject: [Moin-user] Google Search Box Message-ID: <54da5b0d0702070328l1c40996chb093eca2bfddef22@mail.gmail.com> Hi there, I've recently installed Moinmoin here at work and we're in the process of adding useful items and documents. There's a chance that it could become our Intranet site if I can add a couple of things to the default theme. The theme we're using is Modern and I'd like to know if there's a way I can add a Google search bar next to or underneath the search bar already in place. Thanks -- Moif Murphy From danielk at featherbrain.net Wed Feb 7 08:14:11 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Wed, 7 Feb 2007 08:14:11 -0500 Subject: [Moin-user] How can I disable ... In-Reply-To: <45C8ADCD.6090000@itc.it> References: <45C8ADCD.6090000@itc.it> Message-ID: <000601c74ab9$dcb541a0$6d6cdc45@nestbox> The 'full search' can be disabled in the UserPreferences by un-checking 'Show page trail' check-box. As far as the 'Thank you...' message, this is all controlled in PageEditor.py file. Although I am somewhat familiar with the Python language and html, this appears to be more than a trivial thing to change. Maybe someone else will have a solution. Dan -----Original Message----- From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roberto Brunelli Sent: Tuesday, February 06, 2007 11:33 To: moin-user at lists.sourceforge.net Subject: [Moin-user] How can I disable ... - the full search linked to the page title appearing near the logo image - the message appearing after an edit operation (with 'Thank you for your changes') I've tried to find the answer in the help pages, but I probably searched the wrong places. Thankx a lot for any hint! Roberto -- | Roberto Brunelli - [scientist at ITC-irst] 'Home can be anywhere, for | it is a part of one's self' ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From mohacsi at niif.hu Wed Feb 7 10:33:28 2007 From: mohacsi at niif.hu (Mohacsi Janos) Date: Wed, 7 Feb 2007 16:33:28 +0100 (CET) Subject: [Moin-user] pages in multiple language? In-Reply-To: <20070205120222.Q9338@mignon.ki.iif.hu> References: <20070205120222.Q9338@mignon.ki.iif.hu> Message-ID: <20070207163036.B23562@mignon.ki.iif.hu> Dear All, I did not get any hint on this problem. Because - they are no solutions or because it is trivial? Regards, Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 On Mon, 5 Feb 2007, Mohacsi Janos wrote: > Dear All, > What is the best way to have some pages in multilanguage: > 1. easy switch from one language to another - e.g. one click on a page > 2. sharing attached files (e.g. pictures) among the multiple language - I > don't like the idea of serving attachment via the webserver (no ACL support) > 3. recommended naming schemes for multiple language pages... > > Thanks for any useful hints. > Regards, > > Janos Mohacsi > Network Engineer, Research Associate, Head of Network Planning > NIIF/HUNGARNET, HUNGARY > Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 > From danielk at featherbrain.net Wed Feb 7 13:53:34 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Wed, 7 Feb 2007 13:53:34 -0500 Subject: [Moin-user] pages in multiple language? In-Reply-To: <20070207163036.B23562@mignon.ki.iif.hu> References: <20070205120222.Q9338@mignon.ki.iif.hu> <20070207163036.B23562@mignon.ki.iif.hu> Message-ID: <000001c74ae9$45c740b0$6d6cdc45@nestbox> 1. I'm no Moin expert by any stretch of the imagination but looking at the actual stored pages there appears to be a line in each one specifying the language of the page, eg : #language en ...meaning 'en'glish for this page. I suspect you can change this on a page-by-page basis. 2. The way I would approach this would be to have a link in each page that needs to share a resource. That resource only needs to be in one place. 3. You're on your own with this one ;-) Hope this helps (some), Dan -----Original Message----- From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Mohacsi Janos Sent: Wednesday, February 07, 2007 10:33 To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] pages in multiple language? Dear All, I did not get any hint on this problem. Because - they are no solutions or because it is trivial? Regards, Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 On Mon, 5 Feb 2007, Mohacsi Janos wrote: > Dear All, > What is the best way to have some pages in multilanguage: > 1. easy switch from one language to another - e.g. one click on a page > 2. sharing attached files (e.g. pictures) among the multiple language > - I don't like the idea of serving attachment via the webserver (no > ACL support) 3. recommended naming schemes for multiple language pages... > > Thanks for any useful hints. > Regards, > > Janos Mohacsi > Network Engineer, Research Associate, Head of Network Planning > NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 > 6F64 7B00 70EF 9882 > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From randhol+moinmoin at pvv.org Wed Feb 7 19:29:09 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Thu, 08 Feb 2007 01:29:09 +0100 Subject: [Moin-user] Google Search Box In-Reply-To: <54da5b0d0702070328l1c40996chb093eca2bfddef22@mail.gmail.com> References: <54da5b0d0702070328l1c40996chb093eca2bfddef22@mail.gmail.com> Message-ID: <20070208012909.4be534a7.randhol+moinmoin@pvv.org> On Wed, 7 Feb 2007 11:28:20 +0000 "Moif Murphy" wrote: > The theme we're using is Modern and I'd like to know if there's a way > I can add a Google search bar next to or underneath the search bar > already in place. Hi I made a fast solution to your question. You can improve it as you wish. Just diff the files with the original files to see the difference. Tell me if you have problems installing it... Two files attached: modern.py and screen.css HTH Preben -------------- next part -------------- A non-text attachment was scrubbed... Name: modern.py Type: text/x-python Size: 3503 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: screen.css Type: text/css Size: 8245 bytes Desc: not available URL: From randhol+moinmoin at pvv.org Wed Feb 7 19:41:43 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Thu, 08 Feb 2007 01:41:43 +0100 Subject: [Moin-user] Image attachments Message-ID: <20070208014143.45be3316.randhol+moinmoin@pvv.org> Hi I was wondering if it was possible to view the images that are attached when one wants to insert a picture with the GUI editor. Or is this difficult to achieve? I remember that Dokuwiki has a nice setup for this. To have a look you can go here: http://wiki.splitbrain.org/playground:sandbox and Press Edit this page and Add Image and click on the menus on the left side. Is this possible or available in moinmoin? Thanks in advance Preben From tw-public at gmx.de Thu Feb 8 05:18:08 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 08 Feb 2007 11:18:08 +0100 Subject: [Moin-user] How can I disable ... In-Reply-To: <000601c74ab9$dcb541a0$6d6cdc45@nestbox> References: <45C8ADCD.6090000@itc.it> <000601c74ab9$dcb541a0$6d6cdc45@nestbox> Message-ID: <45CAF8E0.8000009@gmx.de> Daniel Klein schrieb: > The 'full search' can be disabled in the UserPreferences by un-checking > 'Show page trail' check-box. > The "trail" is the list of recently visited pages in the wiki that is displayed for logged in users below the pagename (modern theme). It has nothing to do with search. If you want to disable the backlink (after thinking over that you disable an essential wiki functionality by doing that), you have to change the theme code. > As far as the 'Thank you...' message, this is all controlled in > PageEditor.py file. You maybe could generally switch off those msg boxes by css display: none. Of course you might not see some of the more important msgs in that case. The alternative is commenting out the ones you dislike in the code. From tw-public at gmx.de Thu Feb 8 05:25:24 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 08 Feb 2007 11:25:24 +0100 Subject: [Moin-user] pages in multiple language? In-Reply-To: <20070205120222.Q9338@mignon.ki.iif.hu> References: <20070205120222.Q9338@mignon.ki.iif.hu> Message-ID: <45CAFA94.7030305@gmx.de> > What is the best way to have some pages in multilanguage: > There is no special "automatic" support in moin handling multiple languages except for the system / help / other pages linked from navi_bar. As the idea of having "multi language" support is not new, you'll find quite some discussions about that topic on the moin wiki - but there is no easy and perfect solution for this problem. > 1. easy switch from one language to another - e.g. one click on a page > You can just link the other language versions from the page. > 2. sharing attached files (e.g. pictures) among the multiple language - I > don't like the idea of serving attachment via the webserver (no ACL > support) > IIRC, you can link to attachments on other pages, see the help pages. > 3. recommended naming schemes for multiple language pages... > Whatever does not conflict. Another way of doing this is to run a wiki farm with 1 wiki per language. The interwiki map would contain some entries making interwiki links between languages easy. From typetosmurky at bigpond.com Thu Feb 8 06:29:47 2007 From: typetosmurky at bigpond.com (Jonathan Murphy) Date: Thu, 08 Feb 2007 20:59:47 +0930 Subject: [Moin-user] csound parser Message-ID: <7ius7uqc.fsf@bigpond.com> Hi Folks, I'm trying to write a Csound parser for the csoundwiki. http://tobiah.org/csoundwiki/Csound_Home As a preliminary step, I'm just trying to highlight Csound opcodes and comments. It's not working and I don't know why. I'm a Python novice, so I'm hoping that it's something obvious that a more experienced programmer will be able to point out. This is my effort so far (the list of opcodes is truncated so that this post isn't too long): # -*- coding: iso-8859-1 -*- """ MoinMoin - Csound Parser @copyright: 2007 Jonathan Murphy @license: GNU GPL, see COPYING for details. """ from MoinMoin.util.ParserBase import ParserBase Dependencies = [] class Parser(ParserBase): parsername = "ColorizedCsound" extensions = ['.orc', '.sco', '.csd'] Dependencies = [] def setupRules(self): ParserBase.setupRules(self) self.addRulePair("Comment","/[*]","[*]/") self.addRule("Comment",";.*$") reserved_words = ['ATSadd', 'ATSaddnz', 'ATSbufread', 'ATScross', 'ATSinfo', 'ATSinterpread', 'ATSpartialtap', 'ATSread', 'ATSreadnz', 'ATSsinnoi'] self.addReserved(reserved_words) Thanks in advance, Jonathan. PS When I say "it isn't working," I just mean that there is no highlighting, the parser is installed correctly and gives plain text with line numbers, but that's all. I have put up a test page here: http://tobiah.org/csoundwiki/TestPage From forsberg at cendio.se Thu Feb 8 08:22:38 2007 From: forsberg at cendio.se (Erik Forsberg) Date: Thu, 08 Feb 2007 14:22:38 +0100 Subject: [Moin-user] Editor help not rendered Message-ID: I have a strange problem - when I edit pages (non-graphical mode), the editor-help is not rendered. It's shown as --snip-- Emfas:: [[Verbatim('')]]''kursivering''[[Verbatim('')]]; [[Verbatim(''')]]'''fetstil'''[[Verbatim(''')]]; [[Verbatim(''''')]]'''''kursiv fetstil'''''[[Verbatim(''''')]]; [[Verbatim('')]]''blandad ''[[Verbatim(''')]]'''''fetstil'''[[Verbatim(''')]] och kursivering''[[Verbatim('')]]; [[Verbatim(----)]] horisontell linje. Rubriker:: [[Verbatim(=)]] Rubrik 1 [[Verbatim(=)]]; [[Verbatim(==)]] Rubrik 2 [[Verbatim(==)]]; [[Verbatim(===)]] Rubrik 3 [[Verbatim(===)]]; [[Verbatim(====)]] Rubrik 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Rubrik 5 [[Verbatim(=====)]]. Listor:: mellanslag och en av: * punkter; 1., a., A., i., I. numrerade paragrafer; 1.#n b?rja numrering p? n; enbart mellanslag indenterar. L?nkar:: [[Verbatim(IhopskrivnaOrd)]]; [[Verbatim(["hakparenteser och citattecken"])]]; url; [url]; [url etikett]. Tabeller:: || celltext |||| celltext som str?cker sig ?ver 2 kolumner ||; inga avslutande blanksteg till?tna efter tabeller och titlar. (!) F?r mer hj?lp, se Hj?lpOmRedigering och SyntaxReferens. --snap-- Yup, exactly like that, in the browser. As you can see, this is when I run with the swedish translation, but it also happens if I switch to english. Any ideas on why this happens? MoinMoin 1.5.3 from ubuntu package on python2.4. Thanks, \EF -- Erik Forsberg OpenSource-based Thin Client Technology Systems Analyst/Developer Phone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com From tw-public at gmx.de Thu Feb 8 07:52:12 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 08 Feb 2007 13:52:12 +0100 Subject: [Moin-user] Editor help not rendered In-Reply-To: References: Message-ID: <45CB1CFC.5000501@gmx.de> > I have a strange problem - when I edit pages (non-graphical mode), the > editor-help is not rendered. It's shown as > > --snip-- > Emfas:: [[Verbatim('')]]''kursivering''[[Verbatim('')]]; ... > Does this also happen in other languages? See UserPreferences page for your language settings (when being logged in). > Any ideas on why this happens? MoinMoin 1.5.3 from ubuntu package on > python2.4. > There is 1.5.7 out now, btw. You also can try to stop moin, delete data/cache/i18n/* and restart moin. From forsberg at cendio.se Thu Feb 8 09:05:35 2007 From: forsberg at cendio.se (Erik Forsberg) Date: Thu, 08 Feb 2007 15:05:35 +0100 Subject: [Moin-user] Editor help not rendered References: <45CB1CFC.5000501@gmx.de> Message-ID: Thomas Waldmann writes: >> I have a strange problem - when I edit pages (non-graphical mode), the >> editor-help is not rendered. It's shown as >> >> --snip-- >> Emfas:: [[Verbatim('')]]''kursivering''[[Verbatim('')]]; ... >> > Does this also happen in other languages? See UserPreferences page for > your language settings (when being logged in). Seems to happen only for swedish. I had it happening for english as well, but that fixed itself after I removed the list of preferred page languages in my firefox. Here's the language section from my farmconfig.py language_default = 'sv' language_ignore_browser = True # You must use Unicode strings here [Unicode] page_category_regex = u'^Category[A-Z]' page_dict_regex = u'[a-z]Dict$' page_group_regex = u'[a-z]Group$' page_template_regex = u'[a-z]Template$' >> Any ideas on why this happens? MoinMoin 1.5.3 from ubuntu package on >> python2.4. >> > There is 1.5.7 out now, btw. I know. I am one of those 'I like my package system to do my security upgrades' types :-). > > You also can try to stop moin, delete data/cache/i18n/* and restart > moin. Didn't help. Strange. I spend large portions of my workdays coding python, so if you want me to add some debug printouts or similar, I think I'll manage :-). Thanks, \EF -- Erik Forsberg OpenSource-based Thin Client Technology Systems Analyst/Developer Phone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com From forsberg at cendio.se Thu Feb 8 10:06:37 2007 From: forsberg at cendio.se (Erik Forsberg) Date: Thu, 08 Feb 2007 16:06:37 +0100 Subject: [Moin-user] Editor help not rendered References: <45CB1CFC.5000501@gmx.de> Message-ID: Erik Forsberg writes: > Strange. I spend large portions of my workdays coding python, so if > you want me to add some debug printouts or similar, I think I'll > manage :-). I inserted a print-to-file statement in PageEditor.py as follows: if quickhelp: self.request.write(self.request.formatter.div(1, id="editor-help")) out = open("/tmp/quickhelp.txt", 'w') print >> out, quickhelp print >> out, _(quickhelp).encode('utf-8') out.close() self.request.write(_(quickhelp)) self.request.write(self.request.formatter.div(0)) The odd thing is that if I run in english, the output is this: --snip-- Emphasis:: [[Verbatim('')]]''italics''[[Verbatim('')]]; [[Verbatim(''')]]'''bold'''[[Verbatim(''')]]; [[Verbatim(''''')]]'''''bold italics'''''[[Verbatim(''''')]]; [[Verbatim('')]]''mixed ''[[Verbatim(''')]]'''''bold'''[[Verbatim(''')]] and italics''[[Verbatim('')]]; [[Verbatim(----)]] horizontal rule. Headings:: [[Verbatim(=)]] Title 1 [[Verbatim(=)]]; [[Verbatim(==)]] Title 2 [[Verbatim(==)]]; [[Verbatim(===)]] Title 3 [[Verbatim(===)]]; [[Verbatim(====)]] Title 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Title 5 [[Verbatim(=====)]]. Lists:: space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents. Links:: [[Verbatim(JoinCapitalizedWords)]]; [[Verbatim(["brackets and double quotes"])]]; url; [url]; [url label]. Tables:: || cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles. (!) For more help, see HelpOnEditing or SyntaxReference.
Emphasis
''italics''; '''bold'''; '''''bold italics'''''; ''mixed '''bold''' and italics''; ---- horizontal rule.
Headings
= Title 1 =; == Title 2 ==; === Title 3 ===; ==== Title 4 ====; ===== Title 5 =====.
Lists
space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents.
Links
JoinCapitalizedWords; ["brackets and double quotes"]; url; [url]; [url label].
Tables
|| cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles.
(!) For more help, see HelpOnEditing or SyntaxReference. --snap-- If I edit in swedish, this is the output: --snip-- Emphasis:: [[Verbatim('')]]''italics''[[Verbatim('')]]; [[Verbatim(''')]]'''bold'''[[Verbatim(''')]]; [[Verbatim(''''')]]'''''bold italics'''''[[Verbatim(''''')]]; [[Verbatim('')]]''mixed ''[[Verbatim(''')]]'''''bold'''[[Verbatim(''')]] and italics''[[Verbatim('')]]; [[Verbatim(----)]] horizontal rule. Headings:: [[Verbatim(=)]] Title 1 [[Verbatim(=)]]; [[Verbatim(==)]] Title 2 [[Verbatim(==)]]; [[Verbatim(===)]] Title 3 [[Verbatim(===)]]; [[Verbatim(====)]] Title 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Title 5 [[Verbatim(=====)]]. Lists:: space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents. Links:: [[Verbatim(JoinCapitalizedWords)]]; [[Verbatim(["brackets and double quotes"])]]; url; [url]; [url label]. Tables:: || cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles. (!) For more help, see HelpOnEditing or SyntaxReference. Emfas:: [[Verbatim('')]]''kursivering''[[Verbatim('')]]; [[Verbatim(''')]]'''fetstil'''[[Verbatim(''')]]; [[Verbatim(''''')]]'''''kursiv fetstil'''''[[Verbatim(''''')]]; [[Verbatim('')]]''blandad ''[[Verbatim(''')]]'''''fetstil'''[[Verbatim(''')]] och kursivering''[[Verbatim('')]]; [[Verbatim(----)]] horisontell linje. Rubriker:: [[Verbatim(=)]] Rubrik 1 [[Verbatim(=)]]; [[Verbatim(==)]] Rubrik 2 [[Verbatim(==)]]; [[Verbatim(===)]] Rubrik 3 [[Verbatim(===)]]; [[Verbatim(====)]] Rubrik 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Rubrik 5 [[Verbatim(=====)]]. Listor:: mellanslag och en av: * punkter; 1., a., A., i., I. numrerade paragrafer; 1.#n b?rja numrering p? n; enbart mellanslag indenterar. L?nkar:: [[Verbatim(IhopskrivnaOrd)]]; [[Verbatim(["hakparenteser och citattecken"])]]; url; [url]; [url etikett]. Tabeller:: || celltext |||| celltext som str?cker sig ?ver 2 kolumner ||; inga avslutande blanksteg till?tna efter tabeller och titlar. (!) F?r mer hj?lp, se Hj?lpOmRedigering och SyntaxReferens. --snap-- It seems like the wrong version of the translation is used - the wiki version is used where the html version should be used. Or something like that, I don't know much about the inner workings of the moin translation system. Cheers, \EF -- Erik Forsberg OpenSource-based Thin Client Technology Systems Analyst/Developer Phone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com From typetosmurky at bigpond.com Thu Feb 8 10:09:27 2007 From: typetosmurky at bigpond.com (Jonathan Murphy) Date: Fri, 09 Feb 2007 00:39:27 +0930 Subject: [Moin-user] csound parser - fixed In-Reply-To: <7ius7uqc.fsf@bigpond.com> (Jonathan Murphy's message of "Thu, 08 Feb 2007 20:59:47 +0930") References: <7ius7uqc.fsf@bigpond.com> Message-ID: <7iuswus8.fsf@bigpond.com> Figured out what the problem was, I needed to add: self.addRule("ID","[a-zA-Z_][0-9a-zA-Z_]*") Jonathan. Jonathan Murphy writes: > Hi Folks, > > I'm trying to write a Csound parser for the csoundwiki. > > http://tobiah.org/csoundwiki/Csound_Home > > As a preliminary step, I'm just trying to highlight Csound opcodes and > comments. It's not working and I don't know why. I'm a Python novice, > so I'm hoping that it's something obvious that a more experienced > programmer will be able to point out. This is my effort so far (the > list of opcodes is truncated so that this post isn't too long): > > # -*- coding: iso-8859-1 -*- > """ > MoinMoin - Csound Parser > > @copyright: 2007 Jonathan Murphy > @license: GNU GPL, see COPYING for details. > > """ > > from MoinMoin.util.ParserBase import ParserBase > > Dependencies = [] > > class Parser(ParserBase): > > parsername = "ColorizedCsound" > extensions = ['.orc', '.sco', '.csd'] > Dependencies = [] > > def setupRules(self): > ParserBase.setupRules(self) > > self.addRulePair("Comment","/[*]","[*]/") > self.addRule("Comment",";.*$") > > reserved_words = ['ATSadd', > 'ATSaddnz', > 'ATSbufread', > 'ATScross', > 'ATSinfo', > 'ATSinterpread', > 'ATSpartialtap', > 'ATSread', > 'ATSreadnz', > 'ATSsinnoi'] > > self.addReserved(reserved_words) > > Thanks in advance, > Jonathan. > > PS When I say "it isn't working," I just mean that there is no > highlighting, the parser is installed correctly and gives plain text > with line numbers, but that's all. I have put up a test page here: > > http://tobiah.org/csoundwiki/TestPage > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From forsberg at cendio.se Thu Feb 8 10:14:21 2007 From: forsberg at cendio.se (Erik Forsberg) Date: Thu, 08 Feb 2007 16:14:21 +0100 Subject: [Moin-user] Editor help not rendered References: <45CB1CFC.5000501@gmx.de> Message-ID: Erik Forsberg writes: > Erik Forsberg writes: > > >> Strange. I spend large portions of my workdays coding python, so if >> you want me to add some debug printouts or similar, I think I'll >> manage :-). > > I inserted a print-to-file statement in PageEditor.py as follows: Took sv.py for 1.5.6 from hg. Works as intended now. \EF -- Erik Forsberg OpenSource-based Thin Client Technology Systems Analyst/Developer Phone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com From tw-public at gmx.de Thu Feb 8 10:44:03 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 08 Feb 2007 16:44:03 +0100 Subject: [Moin-user] Editor help not rendered In-Reply-To: References: <45CB1CFC.5000501@gmx.de> Message-ID: <45CB4543.6020602@gmx.de> > Took sv.py for 1.5.6 from hg. Works as intended now. > Hehe. you could even take all files from 1.5.7, that would even fix some more bugs. I know that using the package system is more convenient, but I wouldn't make myself too much illusions on security upgrades handled by them as I think they only do such things for major security problem (not for minor stuff as XSS). And major security issues are very rare for python software, so you basically end up getting no updates at all until you upgrade to next distribution release. From eamon at nerbonne.org Thu Feb 8 13:14:30 2007 From: eamon at nerbonne.org (Eamon Nerbonne) Date: Thu, 8 Feb 2007 19:14:30 +0100 Subject: [Moin-user] Editor help not rendered In-Reply-To: <45CB4543.6020602@gmx.de> References: <45CB1CFC.5000501@gmx.de> <45CB4543.6020602@gmx.de> Message-ID: <16b7b9ec0702081014s1f0b0a12h70bf70844bb890de@mail.gmail.com> In any case 1.5.3 is almost a year old, and you can probably use your package manager to update more than only security fixes - so just tell him to upgrade specifically moinmoin to the latest version and you'll get this kind of thing fixed. It's certainly less work to do that first when you encounter a bug before manually copying source files around etc... On 2/8/07, Thomas Waldmann wrote: > > > > Took sv.py for 1.5.6 from hg. Works as intended now. > > > Hehe. you could even take all files from 1.5.7, that would even fix some > more bugs. > > I know that using the package system is more convenient, but I wouldn't > make myself too much illusions on security upgrades handled by them as I > think they only do such things for major security problem (not for minor > stuff as XSS). And major security issues are very rare for python > software, so you basically end up getting no updates at all until you > upgrade to next distribution release. > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- eamon at nerbonne.org - 06-15142163 -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Thu Feb 8 15:25:29 2007 From: skip at pobox.com (Skip Montanaro) Date: Thu, 8 Feb 2007 20:25:29 +0000 (UTC) Subject: [Moin-user] Can't get ASCIIMathML to work... Message-ID: I'm having a devil of a time trying to get ASCIIMathML working in my MoinMoin installation. I'm running v 1.3.4 (yes, I know, horribly outdated). I've installed ASCIImathML.js with the relevant changes to the AMdelimiter[12] variables: var AMdelimiter1 = "$$", AMescape1 = "\\\\\\$\\\\\\$"; var AMdelimiter2 = "$$", AMescape2 = "\\\\\\$$", AMdelimiter2regexp = "\\$$"; I tweaked wikiconfig.py to load ASCIImathML.js: html_head = u'''''' I prodded wikiutil.py a bit: % diff -u wikiutil.py~ wikiutil.py --- wikiutil.py~ 2005-03-08 06:21:06.000000000 -0600 +++ wikiutil.py 2007-02-08 13:58:03.000000000 -0600 @@ -1078,7 +1078,7 @@ output = [] # later: output.append(""" - + %s %s @@ -1164,7 +1164,7 @@ body_onload = keywords.get('body_onload', '') if body_onload: bodyattr.append(''' onload="%s"''' % body_onload) - output.append('\n\n' % ''.join(bodyattr)) + output.append('\n\n' % ''.join(bodyattr)) # Output ----------------------------------------------------------- I tried to use the sciki project's wiki_with_math markup. That just made every page appear as if I'd quoted the contents with {{{ ... }}}. I'm stumped. Is there anyone out there using ASCIImathML that can describe in simple terms what I need to do? Thanks, Skip Montanaro skip at pobox.com From skip at pobox.com Thu Feb 8 15:58:08 2007 From: skip at pobox.com (Skip Montanaro) Date: Thu, 8 Feb 2007 20:58:08 +0000 (UTC) Subject: [Moin-user] Can't get ASCIIMathML to work... References: Message-ID: Skip Montanaro pobox.com> writes: > > I'm having a devil of a time trying to get ASCIIMathML working in my > MoinMoin installation. I should have mentioned what my current output looks like. Given this input: == ASCII MathML == Suppose $$ ax^2+bx+c=0 $$ and $$ a!=0 $$ We first divide by $$a$$ to get $$ x^2+b/ax+c/a=0 $$ Then we complete the square and obtain $$ x^2+b/ax+(b/(2a))^2-(b/(2a))^2+c/a=0 $$ The first three terms factor to give $$ (x+b/(2a))^2=(b^2)/(4a^2)-c/a $$ Now we take square roots on both sides and get $$ x+b/(2a)=+-sqrt((b^2)/(4a^2)-c/a)$$ Finally we move the $$ b/(2a) $$ to the right and simplify to get the two solutions: $$ x_(1,2)=(-b+-sqrt(b^2 - 4ac))/(2a) $$ I get this displayed: http://www.webfast.com/~skip/asciimath.png From randhol+moinmoin at pvv.org Thu Feb 8 17:50:14 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Thu, 08 Feb 2007 23:50:14 +0100 Subject: [Moin-user] Google Search Box In-Reply-To: <20070208012909.4be534a7.randhol+moinmoin@pvv.org> References: <54da5b0d0702070328l1c40996chb093eca2bfddef22@mail.gmail.com> <20070208012909.4be534a7.randhol+moinmoin@pvv.org> Message-ID: <20070208235014.3d2c979a.randhol+moinmoin@pvv.org> On Thu, 08 Feb 2007 01:29:09 +0100 Preben Randhol wrote: There is a small bug in the modern.py file. I had forgot to close the form so the google function should look like this: def google(self, d, **kw): html = [ u'
', u'
', u'', u'', u'', u'
' u'
' ] HTH Preben From randhol at pvv.org Thu Feb 8 17:51:41 2007 From: randhol at pvv.org (Preben Randhol) Date: Thu, 08 Feb 2007 23:51:41 +0100 Subject: [Moin-user] Is it possible to set the alt-text for images? Message-ID: <20070208235141.0d6de225.randhol@pvv.org> Hi Is it possible to set the alt-text for images? If I do: attachment:image.png the alt-text is then: attachment:image.png which is not very helpful when you use a text-only web-browser which would actually need the alt-text. Or should one include images in another way? Keep up the excellent work Preben From brunelli at itc.it Fri Feb 9 04:53:09 2007 From: brunelli at itc.it (Roberto Brunelli) Date: Fri, 09 Feb 2007 10:53:09 +0100 Subject: [Moin-user] blockquote ... Message-ID: <45CC4485.1080502@itc.it> What kind of moin text formatting results in a '
' html element? ... I would like to add a fancy CSS entry (similar to those used at http://alistapart.com) for rendering this part of text. Thanks a lot, Roberto -- | Roberto Brunelli - [scientist at ITC-irst] | 'Home can be anywhere, for it is a part of one's self' From danielk at featherbrain.net Sat Feb 10 13:38:36 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Sat, 10 Feb 2007 13:38:36 -0500 Subject: [Moin-user] Upgrading Message-ID: <000301c74d42$ad6535a0$6d6cdc45@nestbox> Is upgrading from 1.5.6 to 1.5.7 a simple matter of just installing over the top of what I already have? Or do I need to save and restore my customized wiki? I have searched the documentation and, while there are lots of it to do with installation, I cannot find anything about upgrading other than to read the 'changes' notes. Please advise. Dan From crosseyedpenguin at yahoo.com Sat Feb 10 17:34:52 2007 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Sat, 10 Feb 2007 14:34:52 -0800 (PST) Subject: [Moin-user] Upgrading In-Reply-To: <000301c74d42$ad6535a0$6d6cdc45@nestbox> Message-ID: <440592.58215.qm@web36202.mail.mud.yahoo.com> --- Daniel Klein wrote: > Is upgrading from 1.5.6 to 1.5.7 a simple matter of just installing > over the > top of what I already have? Or do I need to save and restore my > customized > wiki? > > I have searched the documentation and, while there are lots of it to > do with > installation, I cannot find anything about upgrading other than to > read the > 'changes' notes. > > Please advise. > > Dan > On 1.5.6, there was a docs/README.migration. This is referenced in the docs/CHANGES file under the version 1.5.5 changes. The start of docs/README.migration from 1.5.6 is pasted below. Before you start a migration, backups are a good idea. Then you unzip/unpack the moin release, do the "python setup.py install..." thing, copy over the underlay directory (if your previous installation made a copy), and run the migration script per the instructions below. You may want to look over the new wikiconfig.py and merge your customized changes into the new version. Note the above is based on my 1.5.6 experience, I haven't installed 1.5.7 yet. Roger Haase ''' This file documents the necessary steps for migrating your data/ dir to the latest moin version. It is in reverse order, the latest stuff is at the top. We don't talk about underlay/ directory here (you simply throw it away and install the new one provided). Post 1.5.3 new style migration ============================== First you have to do all steps described in the sections below or it won't work. After you have switched to new style migration, the procedure will be the same with every moin upgrade, simply follow these steps: a) First switch to the user of your data directory (www-data normally): e. g. sudo -u www-data sh or su www-data b) Invoke the following command: moin --config-dir=/path/to/config_dir --wiki-url=wiki.example.org/ migration data Note: If you did not use setup.py, you can call the moin script directly. It is located in MoinMoin/script/moin.py The new style mig stuff will then load the config for that wiki, get into its data_dir, read the 'meta' file content and determine what it has to do internally. 1.5.3 migration =============== First make sure you have run all the old mig scripts ONCE (and only once) on your data dirs. The old style stuff moved here: MoinMoin/script/old/migration/ In that directory, there is also a new 152_to_1050300.py mig script - you need to run it as the last mig script to switch to new style mig scripts. It puts a file "meta" in your data dirs that hold the data_format_revision value. The new style mig scripts use that value to make it much simpler for you in future. After this, please continue in section "Post 1.5.3 new style migration". 1.3.4/1.3.5 migration ===================== <<<>> ''' ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail From mark.volkert at rakekniven.de Sun Feb 11 07:39:42 2007 From: mark.volkert at rakekniven.de (Mark Volkert) Date: Sun, 11 Feb 2007 13:39:42 +0100 Subject: [Moin-user] Please announce new releases Message-ID: <200702111339.42992.mark.volkert@rakekniven.de> Hello everybody, please announce new releases on the list. MoinMoin lacks on advertisement. I love the wiki clone now for many years, but the project is to quiet. I think many more people would use it, if they would know it :-) Cheers, Mark -- MarkyMark listen to "Bruce Springsteen - Youre Missing" From randhol+moinmoin at pvv.org Mon Feb 12 11:29:54 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Mon, 12 Feb 2007 17:29:54 +0100 Subject: [Moin-user] file:/// links won't open Message-ID: <20070212172954.bdd4238f.randhol+moinmoin@pvv.org> Hi I have a problem with file:/// links. If I link to a local html documentation (f.ex) the Python manuals in my moinmoin wiki everything looks correct. The mouse cursor changes and one can click on the links. However nothing happens... I have tried with both iceweasel (firefox) and opera, but same behaviour. If I use links (text-only browser) it works. I turned off Javascript, but still I have the same problem. I also tried a different themes, but no change. Other links such as mailto, http, wikilinks, attachments all work. Any idea? Moinmoin version is 1.5.3 (Debian) Thanks in advance... Preben From p.f.moore at gmail.com Mon Feb 12 12:20:41 2007 From: p.f.moore at gmail.com (Paul Moore) Date: Mon, 12 Feb 2007 17:20:41 +0000 Subject: [Moin-user] file:/// links won't open In-Reply-To: <20070212172954.bdd4238f.randhol+moinmoin@pvv.org> References: <20070212172954.bdd4238f.randhol+moinmoin@pvv.org> Message-ID: <79990c6b0702120920r18fc19a6uea79d3e8f04ea04c@mail.gmail.com> On 12/02/07, Preben Randhol wrote: > I have a problem with file:/// links. file:/// links are considered a security issue, and often disabled by default in browsers. In particular, I believe mozilla based browsers do this. Paul. From fdrake at gmail.com Mon Feb 12 14:23:44 2007 From: fdrake at gmail.com (Fred Drake) Date: Mon, 12 Feb 2007 14:23:44 -0500 Subject: [Moin-user] file:/// links won't open In-Reply-To: <79990c6b0702120920r18fc19a6uea79d3e8f04ea04c@mail.gmail.com> References: <20070212172954.bdd4238f.randhol+moinmoin@pvv.org> <79990c6b0702120920r18fc19a6uea79d3e8f04ea04c@mail.gmail.com> Message-ID: <9cee7ab80702121123u2e38a24dsb32b0699b12d2f50@mail.gmail.com> On 2/12/07, Paul Moore wrote: > file:/// links are considered a security issue, and often disabled by > default in browsers. In particular, I believe mozilla based browsers > do this. I've seen this as well. What's blocked, in particular, is file:/// links provided by non-file:/// content. Really annoying; I've tried to use a similar configuration. :-( -Fred -- Fred L. Drake, Jr. "Every sin is the result of a collaboration." --Lucius Annaeus Seneca From randhol+moinmoin at pvv.org Mon Feb 12 17:27:39 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Mon, 12 Feb 2007 23:27:39 +0100 Subject: [Moin-user] file:/// links won't open In-Reply-To: <9cee7ab80702121123u2e38a24dsb32b0699b12d2f50@mail.gmail.com> References: <20070212172954.bdd4238f.randhol+moinmoin@pvv.org> <79990c6b0702120920r18fc19a6uea79d3e8f04ea04c@mail.gmail.com> <9cee7ab80702121123u2e38a24dsb32b0699b12d2f50@mail.gmail.com> Message-ID: <20070212232739.49eada67.randhol+moinmoin@pvv.org> On Mon, 12 Feb 2007 14:23:44 -0500 "Fred Drake" wrote: > On 2/12/07, Paul Moore wrote: > > file:/// links are considered a security issue, and often disabled > > by default in browsers. In particular, I believe mozilla based > > browsers do this. > > I've seen this as well. What's blocked, in particular, is file:/// > links provided by non-file:/// content. Really annoying; I've tried > to use a similar configuration. :-( I see. Thanks! I have set-up lighttpd now so I can use http:// in stead of file:///. Didn't know of this and I don't see how to turn it off in Mozilla. But I think it is a good idea to have it on though... I tested with a plain html file and I see same problems so it is nothing to do with moinmoin. I guess mozilla changed since last time I tried these "dirty-tricks" ;-) Best wishes Preben From danielk at featherbrain.net Mon Feb 12 18:47:20 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Mon, 12 Feb 2007 18:47:20 -0500 Subject: [Moin-user] Upgrading In-Reply-To: <440592.58215.qm@web36202.mail.mud.yahoo.com> References: <000301c74d42$ad6535a0$6d6cdc45@nestbox> <440592.58215.qm@web36202.mail.mud.yahoo.com> Message-ID: <000601c74f00$23c955a0$6d6cdc45@nestbox> Thanks Roger, but I have a 1.5.6 installation and there is no 'README.migration' file anywhere to be found. Perhaps this was a file on previous releases. Daniel Klein -----Original Message----- From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roger Haase Sent: Saturday, February 10, 2007 17:35 To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Upgrading --- Daniel Klein wrote: > Is upgrading from 1.5.6 to 1.5.7 a simple matter of just installing > over the top of what I already have? Or do I need to save and restore > my customized wiki? > > I have searched the documentation and, while there are lots of it to > do with installation, I cannot find anything about upgrading other > than to read the 'changes' notes. > > Please advise. > > Dan > On 1.5.6, there was a docs/README.migration. This is referenced in the docs/CHANGES file under the version 1.5.5 changes. The start of docs/README.migration from 1.5.6 is pasted below. Before you start a migration, backups are a good idea. Then you unzip/unpack the moin release, do the "python setup.py install..." thing, copy over the underlay directory (if your previous installation made a copy), and run the migration script per the instructions below. You may want to look over the new wikiconfig.py and merge your customized changes into the new version. Note the above is based on my 1.5.6 experience, I haven't installed 1.5.7 yet. Roger Haase ''' This file documents the necessary steps for migrating your data/ dir to the latest moin version. It is in reverse order, the latest stuff is at the top. We don't talk about underlay/ directory here (you simply throw it away and install the new one provided). Post 1.5.3 new style migration ============================== First you have to do all steps described in the sections below or it won't work. After you have switched to new style migration, the procedure will be the same with every moin upgrade, simply follow these steps: a) First switch to the user of your data directory (www-data normally): e. g. sudo -u www-data sh or su www-data b) Invoke the following command: moin --config-dir=/path/to/config_dir --wiki-url=wiki.example.org/ migration data Note: If you did not use setup.py, you can call the moin script directly. It is located in MoinMoin/script/moin.py The new style mig stuff will then load the config for that wiki, get into its data_dir, read the 'meta' file content and determine what it has to do internally. 1.5.3 migration =============== First make sure you have run all the old mig scripts ONCE (and only once) on your data dirs. The old style stuff moved here: MoinMoin/script/old/migration/ In that directory, there is also a new 152_to_1050300.py mig script - you need to run it as the last mig script to switch to new style mig scripts. It puts a file "meta" in your data dirs that hold the data_format_revision value. The new style mig scripts use that value to make it much simpler for you in future. After this, please continue in section "Post 1.5.3 new style migration". 1.3.4/1.3.5 migration ===================== <<<>> ''' ____________________________________________________________________________ ________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From crosseyedpenguin at yahoo.com Mon Feb 12 19:50:24 2007 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Mon, 12 Feb 2007 16:50:24 -0800 (PST) Subject: [Moin-user] Upgrading In-Reply-To: <000601c74f00$23c955a0$6d6cdc45@nestbox> Message-ID: <694938.68510.qm@web36201.mail.mud.yahoo.com> I downloaded and unpacked moin-1.5.7.tar.gz on W/XP with Winzip and there is a .../Moin-1.5.7/docs/README.migration file dated 7/1/2006. It appears to be the same as that distributed with 1.5.6. Roger Haase --- Daniel Klein wrote: > Thanks Roger, but I have a 1.5.6 installation and there is no > 'README.migration' file anywhere to be found. Perhaps this was a file > on > previous releases. > > Daniel Klein > > > -----Original Message----- > From: moin-user-bounces at lists.sourceforge.net > [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roger > Haase > Sent: Saturday, February 10, 2007 17:35 > To: moin-user at lists.sourceforge.net > Subject: Re: [Moin-user] Upgrading > > > --- Daniel Klein wrote: > > > Is upgrading from 1.5.6 to 1.5.7 a simple matter of just installing > > > over the top of what I already have? Or do I need to save and > restore > > my customized wiki? > > > > I have searched the documentation and, while there are lots of it > to > > do with installation, I cannot find anything about upgrading other > > than to read the 'changes' notes. > > > > Please advise. > > > > Dan > > > > On 1.5.6, there was a docs/README.migration. This is referenced in > the > docs/CHANGES file under the version 1.5.5 changes. The start of > docs/README.migration from 1.5.6 is pasted below. > > Before you start a migration, backups are a good idea. Then you > unzip/unpack the moin release, do the "python setup.py install..." > thing, copy over the underlay directory (if your previous > installation made > a copy), and run the migration script per the instructions below. > You may want to look over the new wikiconfig.py and merge your > customized > changes into the new version. > > Note the above is based on my 1.5.6 experience, I haven't installed > 1.5.7 yet. > > Roger Haase > > > ''' > This file documents the necessary steps for migrating your data/ dir > to the > latest moin version. It is in reverse order, the latest stuff is at > the top. > > We don't talk about underlay/ directory here (you simply throw it > away and > install the new one provided). > > Post 1.5.3 new style migration > ============================== > > First you have to do all steps described in the sections below or it > won't > work. > > After you have switched to new style migration, the procedure will be > the > same with every moin upgrade, simply follow these steps: > > a) First switch to the user of your data directory (www-data > normally): > e. g. sudo -u www-data sh > or su www-data > > b) Invoke the following command: > moin --config-dir=/path/to/config_dir > --wiki-url=wiki.example.org/ > migration data > > Note: If you did not use setup.py, you can call the moin script > directly. It is > located in MoinMoin/script/moin.py > > The new style mig stuff will then load the config for that wiki, get > into > its data_dir, read the 'meta' file content and determine what it has > to do > internally. > > 1.5.3 migration > =============== > > First make sure you have run all the old mig scripts ONCE (and only > once) on > your data dirs. > > The old style stuff moved here: MoinMoin/script/old/migration/ > > In that directory, there is also a new 152_to_1050300.py mig script - > you > need to run it as the last mig script to switch to new style mig > scripts. > It puts a file "meta" in your data dirs that hold the > data_format_revision > value. The new style mig scripts use that value to make it much > simpler for > you in future. > > After this, please continue in section "Post 1.5.3 new style > migration". > > 1.3.4/1.3.5 migration > ===================== > <<<>> > ''' > > > > ____________________________________________________________________________ > ________ > No need to miss a message. Get email on-the-go with Yahoo! Mail for > Mobile. > Get started. > http://mobile.yahoo.com/mail > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. From danielk at featherbrain.net Mon Feb 12 20:13:36 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Mon, 12 Feb 2007 20:13:36 -0500 Subject: [Moin-user] Upgrading In-Reply-To: <694938.68510.qm@web36201.mail.mud.yahoo.com> References: <000601c74f00$23c955a0$6d6cdc45@nestbox> <694938.68510.qm@web36201.mail.mud.yahoo.com> Message-ID: <000701c74f0c$30940f80$6d6cdc45@nestbox> I stand corrected. Sorry, Dan -----Original Message----- From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roger Haase Sent: Monday, February 12, 2007 19:50 To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Upgrading I downloaded and unpacked moin-1.5.7.tar.gz on W/XP with Winzip and there is a .../Moin-1.5.7/docs/README.migration file dated 7/1/2006. It appears to be the same as that distributed with 1.5.6. Roger Haase --- Daniel Klein wrote: > Thanks Roger, but I have a 1.5.6 installation and there is no > 'README.migration' file anywhere to be found. Perhaps this was a file > on previous releases. > > Daniel Klein > > > -----Original Message----- > From: moin-user-bounces at lists.sourceforge.net > [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roger > Haase > Sent: Saturday, February 10, 2007 17:35 > To: moin-user at lists.sourceforge.net > Subject: Re: [Moin-user] Upgrading > > > --- Daniel Klein wrote: > > > Is upgrading from 1.5.6 to 1.5.7 a simple matter of just installing > > > over the top of what I already have? Or do I need to save and > restore > > my customized wiki? > > > > I have searched the documentation and, while there are lots of it > to > > do with installation, I cannot find anything about upgrading other > > than to read the 'changes' notes. > > > > Please advise. > > > > Dan > > > > On 1.5.6, there was a docs/README.migration. This is referenced in > the docs/CHANGES file under the version 1.5.5 changes. The start of > docs/README.migration from 1.5.6 is pasted below. > > Before you start a migration, backups are a good idea. Then you > unzip/unpack the moin release, do the "python setup.py install..." > thing, copy over the underlay directory (if your previous installation > made a copy), and run the migration script per the instructions below. > You may want to look over the new wikiconfig.py and merge your > customized changes into the new version. > > Note the above is based on my 1.5.6 experience, I haven't installed > 1.5.7 yet. > > Roger Haase > > > ''' > This file documents the necessary steps for migrating your data/ dir > to the latest moin version. It is in reverse order, the latest stuff > is at the top. > > We don't talk about underlay/ directory here (you simply throw it away > and install the new one provided). > > Post 1.5.3 new style migration > ============================== > > First you have to do all steps described in the sections below or it > won't work. > > After you have switched to new style migration, the procedure will be > the same with every moin upgrade, simply follow these steps: > > a) First switch to the user of your data directory (www-data > normally): > e. g. sudo -u www-data sh > or su www-data > > b) Invoke the following command: > moin --config-dir=/path/to/config_dir > --wiki-url=wiki.example.org/ migration data > > Note: If you did not use setup.py, you can call the moin script > directly. It is > located in MoinMoin/script/moin.py > > The new style mig stuff will then load the config for that wiki, get > into its data_dir, read the 'meta' file content and determine what it > has to do internally. > > 1.5.3 migration > =============== > > First make sure you have run all the old mig scripts ONCE (and only > once) on > your data dirs. > > The old style stuff moved here: MoinMoin/script/old/migration/ > > In that directory, there is also a new 152_to_1050300.py mig script - > you need to run it as the last mig script to switch to new style mig > scripts. > It puts a file "meta" in your data dirs that hold the > data_format_revision value. The new style mig scripts use that value > to make it much simpler for you in future. > > After this, please continue in section "Post 1.5.3 new style > migration". > > 1.3.4/1.3.5 migration > ===================== > <<<>> > ''' > > > > ____________________________________________________________________________ > ________ > No need to miss a message. Get email on-the-go with Yahoo! Mail for > Mobile. > Get started. > http://mobile.yahoo.com/mail > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > ____________________________________________________________________________ ________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From danielk at featherbrain.net Mon Feb 12 20:15:19 2007 From: danielk at featherbrain.net (Daniel Klein) Date: Mon, 12 Feb 2007 20:15:19 -0500 Subject: [Moin-user] Upgrading In-Reply-To: <694938.68510.qm@web36201.mail.mud.yahoo.com> References: <000601c74f00$23c955a0$6d6cdc45@nestbox> <694938.68510.qm@web36201.mail.mud.yahoo.com> Message-ID: <000801c74f0c$742a0060$6d6cdc45@nestbox> I stand corrected. Sorry, Dan -----Original Message----- From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roger Haase Sent: Monday, February 12, 2007 19:50 To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Upgrading I downloaded and unpacked moin-1.5.7.tar.gz on W/XP with Winzip and there is a .../Moin-1.5.7/docs/README.migration file dated 7/1/2006. It appears to be the same as that distributed with 1.5.6. Roger Haase --- Daniel Klein wrote: > Thanks Roger, but I have a 1.5.6 installation and there is no > 'README.migration' file anywhere to be found. Perhaps this was a file > on previous releases. > > Daniel Klein > > > -----Original Message----- > From: moin-user-bounces at lists.sourceforge.net > [mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roger > Haase > Sent: Saturday, February 10, 2007 17:35 > To: moin-user at lists.sourceforge.net > Subject: Re: [Moin-user] Upgrading > > > --- Daniel Klein wrote: > > > Is upgrading from 1.5.6 to 1.5.7 a simple matter of just installing > > > over the top of what I already have? Or do I need to save and > restore > > my customized wiki? > > > > I have searched the documentation and, while there are lots of it > to > > do with installation, I cannot find anything about upgrading other > > than to read the 'changes' notes. > > > > Please advise. > > > > Dan > > > > On 1.5.6, there was a docs/README.migration. This is referenced in > the docs/CHANGES file under the version 1.5.5 changes. The start of > docs/README.migration from 1.5.6 is pasted below. > > Before you start a migration, backups are a good idea. Then you > unzip/unpack the moin release, do the "python setup.py install..." > thing, copy over the underlay directory (if your previous installation > made a copy), and run the migration script per the instructions below. > You may want to look over the new wikiconfig.py and merge your > customized changes into the new version. > > Note the above is based on my 1.5.6 experience, I haven't installed > 1.5.7 yet. > > Roger Haase > > > ''' > This file documents the necessary steps for migrating your data/ dir > to the latest moin version. It is in reverse order, the latest stuff > is at the top. > > We don't talk about underlay/ directory here (you simply throw it away > and install the new one provided). > > Post 1.5.3 new style migration > ============================== > > First you have to do all steps described in the sections below or it > won't work. > > After you have switched to new style migration, the procedure will be > the same with every moin upgrade, simply follow these steps: > > a) First switch to the user of your data directory (www-data > normally): > e. g. sudo -u www-data sh > or su www-data > > b) Invoke the following command: > moin --config-dir=/path/to/config_dir > --wiki-url=wiki.example.org/ migration data > > Note: If you did not use setup.py, you can call the moin script > directly. It is > located in MoinMoin/script/moin.py > > The new style mig stuff will then load the config for that wiki, get > into its data_dir, read the 'meta' file content and determine what it > has to do internally. > > 1.5.3 migration > =============== > > First make sure you have run all the old mig scripts ONCE (and only > once) on > your data dirs. > > The old style stuff moved here: MoinMoin/script/old/migration/ > > In that directory, there is also a new 152_to_1050300.py mig script - > you need to run it as the last mig script to switch to new style mig > scripts. > It puts a file "meta" in your data dirs that hold the > data_format_revision value. The new style mig scripts use that value > to make it much simpler for you in future. > > After this, please continue in section "Post 1.5.3 new style > migration". > > 1.3.4/1.3.5 migration > ===================== > <<<>> > ''' > > > > ____________________________________________________________________________ > ________ > No need to miss a message. Get email on-the-go with Yahoo! Mail for > Mobile. > Get started. > http://mobile.yahoo.com/mail > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > ____________________________________________________________________________ ________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From skip at pobox.com Tue Feb 13 12:21:30 2007 From: skip at pobox.com (Skip Montanaro) Date: Tue, 13 Feb 2007 17:21:30 +0000 (UTC) Subject: [Moin-user] Why is "homepage\.mac\.com" in BadContent? Message-ID: Seems kind of heavy-handed that "homepage\.mac\.com" is listed in BadContent. You eliminate all such URL references from all Moin instances which happen to have that. For example, I hit this last night trying to add some MacPython content to the Python wiki. Lots of Mac heads have homepage.mac.com websites. Skip From tw-public at gmx.de Wed Feb 14 06:39:35 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 14 Feb 2007 12:39:35 +0100 Subject: [Moin-user] Why is "homepage\.mac\.com" in BadContent? In-Reply-To: References: Message-ID: <45D2F4F7.7090705@gmx.de> > Seems kind of heavy-handed that "homepage\.mac\.com" is listed in > BadContent. You eliminate all such URL references from all Moin instances > which happen to have that. For example, I hit this last night trying to add > some MacPython content to the Python wiki. Lots of Mac heads have > homepage.mac.com websites. I removed that entry. The problem with big "get webspace for free" sites is that they are often misused by spammers - maybe this was such a case. From Ralf-Lists at ralfgross.de Wed Feb 14 08:46:31 2007 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Wed, 14 Feb 2007 14:46:31 +0100 Subject: [Moin-user] wikifarm and cookie_domain Message-ID: <20070214134631.GE16231@p15145560.pureserver.info> Hi, I've a wikifarm with 5 wikis. Everything is working fine and I use one wiki as user wiki for all users and a common data directory for the usernames/passwords. user_dir = '/server/wikis/farm/farm-user' user_homewiki = 'UserWiki' A user that has logged in to one wiki is able to access other farm wikis as long as the hostname does not change. Unfortunately our domain name changed several times lately, the FQDN the users use to access the wikis is not always the same. And some users only use the hostname without domain suffix at all. http://hostname/wikiA http://hostname.new.domain.com/wikiB http://hostname.old.domain.com/wikiC I tried different settings of cookie_domain and cookie_path, but couldn't find a solution so that a user stays logged in to all wikis, even if only the host name part stays the same. Ralf From skip at pobox.com Wed Feb 14 10:03:46 2007 From: skip at pobox.com (Skip Montanaro) Date: Wed, 14 Feb 2007 15:03:46 +0000 (UTC) Subject: [Moin-user] Why is "homepage\.mac\.com" in BadContent? References: <45D2F4F7.7090705@gmx.de> Message-ID: > I removed that entry. Thanks. Much appreciated. > The problem with big "get webspace for free" sites is that they are > often misused by spammers - maybe this was such a case. This is a perfect example of a case where a simple "bad words" approach to spam deflection comes up short, especially one where such words are applied globally. Skip From jh at web.de Wed Feb 14 12:38:42 2007 From: jh at web.de (Juergen Hermann) Date: Wed, 14 Feb 2007 18:38:42 +0100 Subject: [Moin-user] wikifarm and cookie_domain In-Reply-To: <20070214134631.GE16231@p15145560.pureserver.info> Message-ID: On Wed, 14 Feb 2007 14:46:31 +0100, Ralf Gross wrote: >I tried different settings of cookie_domain and cookie_path, but >couldn't find a solution so that a user stays logged in to all wikis, >even if only the host name part stays the same. I doubt you'll solve that without a little code. Add a dict to the config that maps domains used by the users to canonical form (that used in cookie_domain). Find the function that sets the cookie, then replace the canonical domain path in the cookie with the current values from the Host header, AFTER you checked that the host header domain is in your config dict and thus valid. Ciao, J?rgen From Ralf-Lists at ralfgross.de Thu Feb 15 03:03:35 2007 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Thu, 15 Feb 2007 09:03:35 +0100 Subject: [Moin-user] wikifarm and cookie_domain In-Reply-To: References: <20070214134631.GE16231@p15145560.pureserver.info> Message-ID: <20070215080335.GG16231@p15145560.pureserver.info> Juergen Hermann schrieb: > On Wed, 14 Feb 2007 14:46:31 +0100, Ralf Gross wrote: > > >I tried different settings of cookie_domain and cookie_path, but > >couldn't find a solution so that a user stays logged in to all wikis, > >even if only the host name part stays the same. > > I doubt you'll solve that without a little code. > > Add a dict to the config that maps domains used by the users to canonical form (that > used in cookie_domain). > > Find the function that sets the cookie, then replace the canonical domain path in the > cookie with the current values from the Host header, AFTER you checked that the host > header domain is in your config dict and thus valid. Thanks for you answer. I could solve this problem with a rewrite rule on the server side. RewriteEngine On RewriteCond %{HTTP_HOST} !^hostname\.my\.domain\.com [NC] RewriteRule ^/(.*) http://hostname.my.domain.com/$1 This working like a charm :) Ralf From paddu12 at gmail.com Thu Feb 15 11:40:03 2007 From: paddu12 at gmail.com (Padmashree B) Date: Thu, 15 Feb 2007 22:10:03 +0530 Subject: [Moin-user] Categories Message-ID: <5fb2ad360702150840k43005b8dg7f43e67948b8377a@mail.gmail.com> Hi all, I would like to add any new category page created onto the navigation sidebar permanently.Is this feature available or how do I extend MoinMoin to do this. Also, is there someway to generate a category view tree in MoinMoin. Thanks, Padmashree -- My Blog : http://padma12.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paddu12 at gmail.com Sat Feb 17 09:11:55 2007 From: paddu12 at gmail.com (Padmashree B) Date: Sat, 17 Feb 2007 19:41:55 +0530 Subject: [Moin-user] Moinmoin authentication Message-ID: <5fb2ad360702170611u945499vac8b9ddbb12099c1@mail.gmail.com> Hi all, I am using a version Moinmoin 1.5.6 in my system.I have modified the user.pyfile in such a way that the login credentials are authenticated with a postgres database i.e I have modified the validate_password function to validate the user credentials with the database. An invalid user is not allowed to login and a message "Unknown user : user_name Please enter a correct username and password" message is displayed. A valid user is correctly validated and the user is logged in and moin cookie is created(i verified this by putting print statements) but a message "Unknown user : user_name Please enter a correct username and password" message is displayed. What could be the source of the error. Regards, Padmashree -- My Blog : http://padma12.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kai at aplteam.com Sat Feb 17 10:30:38 2007 From: kai at aplteam.com (kai at aplteam.com) Date: Sat, 17 Feb 2007 15:30:38 +0000 Subject: [Moin-user] Help files not found Message-ID: <99f673360702170730o6f6a8c3bwab9194e6f63665a5@mail.gmail.com> Hi there I've set up a wiki http://aplwiki.aplteam.com/ When I enter "SyntaxReference" in the search box, the appropriate page is displayed correctly. The url is http://aplwiki.aplteam.com/moin.cgi/SyntaxReference?highlight=%28syntaxreference%29 in this case. When I am editing a page, a click on "Syntax Rereference" at the bottom of the page generates a 404. The url MoinMoin has created is http://aplwiki.aplteam.com/dyalog/moin.cgi/SyntaxReference which indeed does not exist. In fact, I have no idea, where the string "dyalog" is coming from. Advice is more than welcome! Kai From kai at aplteam.com Sat Feb 17 10:34:23 2007 From: kai at aplteam.com (kai at aplteam.com) Date: Sat, 17 Feb 2007 15:34:23 +0000 Subject: [Moin-user] DocBook Message-ID: <99f673360702170734w25bf654fx527bbeb347d06187@mail.gmail.com> After a default installation among the "other command" "Render as DocBook" is offered. When I tried to execute this I got an error message that PyXml is needed for this. So I downloaded PyXml and tried to install ist, but the installation process aborts with the error message "pythin 2.4 requiered but not found". Well, Im using 2.5!! Is there a known way to deal with problem? Kai From christian at paradoxon.net Sat Feb 17 12:22:16 2007 From: christian at paradoxon.net (Christian Felber) Date: Sat, 17 Feb 2007 18:22:16 +0100 Subject: [Moin-user] Include macro: How to get page name of source pages Message-ID: <45D739C8.1050907@paradoxon.net> Hi, I don't no how to get the page name of the pages which I include with the include macro. I've got many pages about car models and every page follows the same structure: engine, gear, chassis, interior etc. Furthermore I need for each topic a separate page with data from each car model, e. g., one page with all engine data from all car models, one page with all gear data. The EngineOverwiew page calls the include macro as follows: [[Include(^Model.*$, ,from="^## engine$", to="^## engineend$")]] This works wonderful, but this way it's still useless, because I need the name of the pages from which the data are included as the heading, or better: the sources page names as links. Unfortunately I've got no idea how to make this. With PmWiki it's pretty easy, but I'd be glad to run my wiki with MoinMoin. Is there a way to include page sections as I want? Christian From kai at aplteam.com Sat Feb 17 12:28:19 2007 From: kai at aplteam.com (kai at aplteam.com) Date: Sat, 17 Feb 2007 17:28:19 +0000 Subject: [Moin-user] Creating a new page Message-ID: <99f673360702170928s37c11cco8318c880abf9bcb9@mail.gmail.com> The default procedure to create a new page is obviously to insert a link into the then non-existing page, click on the link and then create the page. I would like to create lists of pages dynamically only. Therefore, often there are no links to those pages at all, they gonna be accessed via the "Categroy" mechanism only. Problem here is: how to create a new page without having any link to that new page? Surely there must be a way to do this! From lists.gnarlodious at gmail.com Sat Feb 17 16:22:56 2007 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Sat, 17 Feb 2007 14:22:56 -0700 Subject: [Moin-user] Include macro: How to get page name of source pages In-Reply-To: <45D739C8.1050907@paradoxon.net> References: <45D739C8.1050907@paradoxon.net> Message-ID: <3130eec50702171322q4b3bb8b3h34746c4d7148f02@mail.gmail.com> On 2/17/07, Christian Felber wrote: > I don't no how to get the page name of the pages which I include with > the include macro. Take a look at the Include2 macro, it has a feature to do that: http://moinmoin.wikiwikiweb.de/MacroMarket/Include2 -- Gnarlie From lists.gnarlodious at gmail.com Sat Feb 17 16:39:47 2007 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Sat, 17 Feb 2007 14:39:47 -0700 Subject: [Moin-user] Help files not found In-Reply-To: <99f673360702170730o6f6a8c3bwab9194e6f63665a5@mail.gmail.com> References: <99f673360702170730o6f6a8c3bwab9194e6f63665a5@mail.gmail.com> Message-ID: <3130eec50702171339w147d1d44hb07e724beb951096@mail.gmail.com> On 2/17/07, kai at aplteam.com wrote: > When I am editing a page, a click on "Syntax Rereference" at the > bottom of the page generates a 404. The url MoinMoin has created is > > http://aplwiki.aplteam.com/dyalog/moin.cgi/SyntaxReference I would suspect you experimented with an Apache alias of "dyalog" when you first set up moin, then you changed the alias but a cached page still remains. You are probably looking for a file at ".*/cache/i18n/en" which will contain the offending string. It is a cached file and will be regenerated if renamed, possibly the new cache file will not contain the old alias. -- Gnarlie http://Gnarlodious.com/ From randhol+moinmoin at pvv.org Sat Feb 17 17:23:22 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Sat, 17 Feb 2007 23:23:22 +0100 Subject: [Moin-user] Moinmoin authentication In-Reply-To: <5fb2ad360702170611u945499vac8b9ddbb12099c1@mail.gmail.com> References: <5fb2ad360702170611u945499vac8b9ddbb12099c1@mail.gmail.com> Message-ID: <20070217232322.29e57953.randhol+moinmoin@pvv.org> On Sat, 17 Feb 2007 19:41:55 +0530 "Padmashree B" wrote: > What could be the source of the error. Hard to say without the (modified) source... :-) Preben From randhol+moinmoin at pvv.org Sat Feb 17 17:30:09 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Sat, 17 Feb 2007 23:30:09 +0100 Subject: [Moin-user] DocBook In-Reply-To: <99f673360702170734w25bf654fx527bbeb347d06187@mail.gmail.com> References: <99f673360702170734w25bf654fx527bbeb347d06187@mail.gmail.com> Message-ID: <20070217233009.9d587420.randhol+moinmoin@pvv.org> On Sat, 17 Feb 2007 15:34:23 +0000 "kai at aplteam.com" wrote: > Well, Im using 2.5!! > > Is there a known way to deal with problem? PyXML is no longer maintained. And there seem to be a 2.4 version only. You could try to get the source though. I assume you use a Windows OS and not something better like Debian ;-) Preben From randhol+moinmoin at pvv.org Sat Feb 17 17:37:00 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Sat, 17 Feb 2007 23:37:00 +0100 Subject: [Moin-user] Creating a new page In-Reply-To: <99f673360702170928s37c11cco8318c880abf9bcb9@mail.gmail.com> References: <99f673360702170928s37c11cco8318c880abf9bcb9@mail.gmail.com> Message-ID: <20070217233700.146b56c9.randhol+moinmoin@pvv.org> On Sat, 17 Feb 2007 17:28:19 +0000 "kai at aplteam.com" wrote: > Problem here is: how to create a new page without having any link to > that new page? Surely there must be a way to do this! I don't understand what you mean. Do you want some script to create these pages for you? If not write this link in your web browsers address field: http://aplwiki.aplteam.com/moin.cgi/NewPage or http://aplwiki.aplteam.com/moin.cgi/AnotherNewPage That is you don't need to write a link into a page and then click on it. Just type it in the address field. PS: Why don't you get rid of the moin.cgi in the link? I mean : http://aplwiki.aplteam.com/FrontPage is much neater... I don't know which web-server you use, but most can deal with this... Preben From crosseyedpenguin at yahoo.com Sat Feb 17 19:51:24 2007 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Sat, 17 Feb 2007 16:51:24 -0800 (PST) Subject: [Moin-user] Creating a new page In-Reply-To: <99f673360702170928s37c11cco8318c880abf9bcb9@mail.gmail.com> Message-ID: <359752.45467.qm@web36202.mail.mud.yahoo.com> --- "kai at aplteam.com" wrote: > > Problem here is: how to create a new page without having any link to > that new page? Surely there must be a way to do this! > Use FindPage and type the desired page name into the bottom textarea near the Go To Page button. Roger ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front From paddu12 at tce.edu Sun Feb 18 05:37:30 2007 From: paddu12 at tce.edu (paddu12 at tce.edu) Date: Sun, 18 Feb 2007 16:07:30 +0530 (IST) Subject: [Moin-user] Moinmoin authentication In-Reply-To: <20070217232322.29e57953.randhol+moinmoin@pvv.org> References: <5fb2ad360702170611u945499vac8b9ddbb12099c1@mail.gmail.com> <20070217232322.29e57953.randhol+moinmoin@pvv.org> Message-ID: <46772.203.129.194.20.1171795050.squirrel@203.129.194.20> > On Sat, 17 Feb 2007 19:41:55 +0530 > "Padmashree B" wrote: > >> What could be the source of the error. > > Hard to say without the (modified) source... :-) > I have modified the user.py and here is the modified source http://dev.tce.edu/pr/tcenet-wiki/attachment/ticket/3/user1.py Please let me know if you can make out the source of the error. Regards Padmashree ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From paddu12 at tce.edu Sun Feb 18 05:45:34 2007 From: paddu12 at tce.edu (paddu12 at tce.edu) Date: Sun, 18 Feb 2007 16:15:34 +0530 (IST) Subject: [Moin-user] Moinmoin authentication In-Reply-To: <46772.203.129.194.20.1171795050.squirrel@203.129.194.20> References: <5fb2ad360702170611u945499vac8b9ddbb12099c1@mail.gmail.com> <20070217232322.29e57953.randhol+moinmoin@pvv.org> <46772.203.129.194.20.1171795050.squirrel@203.129.194.20> Message-ID: <48541.203.129.194.20.1171795534.squirrel@203.129.194.20> > >> On Sat, 17 Feb 2007 19:41:55 +0530 >> "Padmashree B" wrote: >> >>> What could be the source of the error. >> >> Hard to say without the (modified) source... :-) >> > > I have modified the user.py and here is the modified source > > http://dev.tce.edu/pr/tcenet-wiki/attachment/ticket/3/user1.py > > Please let me know if you can make out the source of the error. > I have modified the function _validatePassword(self,username,password) and I have modified User.py to include self.connstr='connection parameters' self.conn=pgdb.connect(self.connstr) self.cursor=self.conn.cursor() self.cursor1=self.conn.cursor() ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From paddu12 at gmail.com Sun Feb 18 06:17:16 2007 From: paddu12 at gmail.com (Padmashree B) Date: Sun, 18 Feb 2007 16:47:16 +0530 Subject: [Moin-user] Moinmoin authentication In-Reply-To: <48541.203.129.194.20.1171795534.squirrel@203.129.194.20> References: <5fb2ad360702170611u945499vac8b9ddbb12099c1@mail.gmail.com> <20070217232322.29e57953.randhol+moinmoin@pvv.org> <46772.203.129.194.20.1171795050.squirrel@203.129.194.20> <48541.203.129.194.20.1171795534.squirrel@203.129.194.20> Message-ID: <5fb2ad360702180317p6555e1c5i42e1784f20a24bb0@mail.gmail.com> Thanks,I have rectified the source of error :) and It works fine now. On 2/18/07, paddu12 at tce.edu wrote: > > > > > >> On Sat, 17 Feb 2007 19:41:55 +0530 > >> "Padmashree B" wrote: > >> > >>> What could be the source of the error. > >> > >> Hard to say without the (modified) source... :-) > >> > > > > I have modified the user.py and here is the modified source > > > > http://dev.tce.edu/pr/tcenet-wiki/attachment/ticket/3/user1.py > > > > Please let me know if you can make out the source of the error. > > > > I have modified the function _validatePassword(self,username,password) > and I have modified User.py to include > > self.connstr='connection parameters' > self.conn=pgdb.connect(self.connstr) > self.cursor=self.conn.cursor() > self.cursor1=self.conn.cursor() > > > > > ----------------------------------------- > This email was sent using TCEMail Service. > Thiagarajar College of Engineering > Madurai - 625015 (India) > > -- My Blog : http://padma12.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean at dague.net Sun Feb 18 21:08:21 2007 From: sean at dague.net (Sean Dague) Date: Sun, 18 Feb 2007 21:08:21 -0500 Subject: [Moin-user] Intelligent Moinmoin wiki spam bot Message-ID: <20070219020821.GG23206@underhill.no-ip.org> For everyone running Moinmoin, you should be aware that I've had both of my wiki's hit by a spam bot that is smart enough to generate a Moinmoin account first, before spamming the wiki. My standard bar was just to restrict writing to logged in Users, which apparently isn't good enough any more. All the spam attacks are coming from 219.88.157.53 (some .nz host). If you don't check for RecentChanges frequently, you may want to check into it now. -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From tim.bird at am.sony.com Sun Feb 18 21:27:44 2007 From: tim.bird at am.sony.com (Tim Bird) Date: Sun, 18 Feb 2007 18:27:44 -0800 Subject: [Moin-user] Intelligent Moinmoin wiki spam bot In-Reply-To: <20070219020821.GG23206@underhill.no-ip.org> References: <20070219020821.GG23206@underhill.no-ip.org> Message-ID: <45D90B20.5010407@am.sony.com> Sean Dague wrote: > For everyone running Moinmoin, you should be aware that I've had both of my > wiki's hit by a spam bot that is smart enough to generate a Moinmoin account > first, before spamming the wiki. My standard bar was just to restrict > writing to logged in Users, which apparently isn't good enough any more. > > All the spam attacks are coming from 219.88.157.53 (some .nz host). If you > don't check for RecentChanges frequently, you may want to check into it now. FYI - I've seen an increase lately in spam attacks on my MoinMoin sites. I don't know if it's from this spambot or not (the attacks aren't from that IP address). However, just so people can be on the lookout, here are the two methods of attack I've seen: 1) I've had a logged-in user (I assume from an automatically generated account) attaching ".html" files to pages that they newly created. The html files are full of links to bad sites. I have now disallowed uploading .html files on my site. 2) I've seen lots of new accounts created, with links to bad sites placed in the "subscribed_pages" attribute of the user account. I'm not sure how this field is then advertised to the spammer's advantage. Right now I'm just deleting accounts with weird junk in that field, but I may automate rejecting or removing such things in the future. Anyhow, I just thought I'd mention this so people are aware of these attack methods. -- Tim ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Electronics ============================= From dg135 at torfree.net Mon Feb 19 00:31:38 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Mon, 19 Feb 2007 00:31:38 -0500 Subject: [Moin-user] change image Message-ID: <20070219003138.01f8eb1e@debian.example.com> Hello. I just installed moinmoin, and, I think, I succeeded in getting it going on my webserver with the moin.cgi file (to confirm, I'll have to check a computer outside of my localhost). Anyway, I'm wondering how to change the logo in the top left corner. The documentation says, "config.logo_string - use this to modify the logo (usually at top left)". Interesting.... what does this mean? Also, is there a root or superuser function for it? Thanks. Mark From dg135 at torfree.net Mon Feb 19 09:17:13 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Mon, 19 Feb 2007 09:17:13 -0500 Subject: [Moin-user] change image In-Reply-To: <45D9847E.3030302@cantab.net> References: <20070219003138.01f8eb1e@debian.example.com> <45D9847E.3030302@cantab.net> Message-ID: <20070219091713.284759f4@debian.example.com> On Mon, 19 Feb 2007 13:05:34 +0200 Robert Schumann wrote: > > Anyway, I'm wondering how to change the logo in the top left corner. > > The documentation says, "config.logo_string - use this to modify the > > logo (usually at top left)". Interesting.... what does this mean? > A good description is in the Help: > http://moinmoin.wikiwikiweb.de/HelpOnConfiguration > > This means that if you have a nice pic at http://example.com/photo.jpg, > you can set this config variable to > logo_string = '' > (please excuse my html) and that image will appear in the suitable place > (depends on which theme you're using; for "modern" it will be in the top > left). > > Robert. Thanks Robert. Where do I enter this variable? Is there a file (multiconfig.py, or something) that I add it too? Is there a header file I can put it in? I'm hoping to change the look of the site as a whole, as opposed to changing just one page within the entire site. Thanks again, Mark From eduardo.mercovich at gmail.com Mon Feb 19 09:38:19 2007 From: eduardo.mercovich at gmail.com (Eduardo Mercovich) Date: Mon, 19 Feb 2007 11:38:19 -0300 Subject: [Moin-user] Categories In-Reply-To: <5fb2ad360702150840k43005b8dg7f43e67948b8377a@mail.gmail.com> References: <5fb2ad360702150840k43005b8dg7f43e67948b8377a@mail.gmail.com> Message-ID: <4459f0d30702190638t3faf1efdlea335a0818c5e751@mail.gmail.com> Hello Padmashree. > I would like to add any new category page created onto the navigation > sidebar permanently.Is this feature available or how do I extend MoinMoin to > do this. Add it in the wikiconfig.py (see navi_bar in http://moinmoin.wikiwikiweb.de/HelpOnConfiguration). > Also, is there someway to generate a category view tree in > MoinMoin. A list is the default action. Trees are being talked about in various places, just search for pages with "facet" on their names. Regards. -- Eduardo Mercovich Buenos Aires - Argentina. From dg135 at torfree.net Mon Feb 19 11:13:45 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Mon, 19 Feb 2007 11:13:45 -0500 Subject: [Moin-user] change image In-Reply-To: <20070219091713.284759f4@debian.example.com> References: <20070219003138.01f8eb1e@debian.example.com> <45D9847E.3030302@cantab.net> <20070219091713.284759f4@debian.example.com> Message-ID: <20070219111345.42293f04@debian.example.com> On Mon, 19 Feb 2007 09:17:13 -0500 Mark Grieveson wrote: > > Thanks Robert. Where do I enter this variable? Is there a file (multiconfig.py, or something) that I add it too? Is there a header file I can put it in? I'm hoping to change the look of the site as a whole, as opposed to changing just one page within the entire site. > > Thanks again, > > Mark > Okay, I did figure this out. Apparently the wikiconfig.py file is the one to edit. I'm not sure yet how to directly edit pages like the FrontPage however -- there seems to be nothing to actually edit in the MyWiki file -- perhaps these files are buried in the /usr/whatever/moin/somewhere/ files (I'm using Debian Etch). I'll likely figure it out. Anyway, thanks. Mark From lists.gnarlodious at gmail.com Mon Feb 19 21:28:41 2007 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Mon, 19 Feb 2007 19:28:41 -0700 Subject: [Moin-user] Intelligent Moinmoin wiki spam bot In-Reply-To: <45D90B20.5010407@am.sony.com> References: <20070219020821.GG23206@underhill.no-ip.org> <45D90B20.5010407@am.sony.com> Message-ID: <3130eec50702191828w1d604015od36f3d595664518d@mail.gmail.com> On 2/18/07, Tim Bird wrote: > I have now disallowed > uploading .html files on my site. How did you do that? I can find no information on it. -- Gnarlie http://Gnarlodious.com/ From tim.bird at am.sony.com Mon Feb 19 23:00:28 2007 From: tim.bird at am.sony.com (Tim Bird) Date: Mon, 19 Feb 2007 20:00:28 -0800 Subject: [Moin-user] Intelligent Moinmoin wiki spam bot In-Reply-To: <3130eec50702191828w1d604015od36f3d595664518d@mail.gmail.com> References: <20070219020821.GG23206@underhill.no-ip.org> <45D90B20.5010407@am.sony.com> <3130eec50702191828w1d604015od36f3d595664518d@mail.gmail.com> Message-ID: <45DA725C.9080502@am.sony.com> Gnarlodious wrote: > On 2/18/07, Tim Bird wrote: > >> I have now disallowed >>uploading .html files on my site. > > How did you do that? I can find no information on it. I modified MoinMoin/action/AttachFile.py as follows: --- AttachFile.py.orig 2007-02-20 12:51:30.000000000 +0900 +++ AttachFile.py.new 2007-02-20 12:53:02.000000000 +0900 @@ -492,6 +492,14 @@ # ext = '' # target = target + ext + # TRB -2/9/2007 - disallow uploading .html files + # this is to thwart one obnoxious spammer + if target.find(".html") != -1: + msg = _("Attachment '%s' not allowed.") % target + # return attachment list + upload_form(pagename, request, msg) + return + # get directory, and possibly create it attach_dir = getAttachDir(request, pagename, create=1) # save file ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Electronics ============================= From grant at 4d-electronics.co.nz Mon Feb 19 23:31:00 2007 From: grant at 4d-electronics.co.nz (Grant McEwan) Date: Tue, 20 Feb 2007 17:31:00 +1300 Subject: [Moin-user] Updating Cache Message-ID: I have a problem where my 1.5.7 moinmoin wiki is saying that I need to update the cache I found the nifty button which does that for you, but now When I click on the link to create a new page, it just starts saying that the CacheNeedsUpdate How do I go about doing this? Cheers Grant ------------------------------------------------------------- www.4d-electronics.co.nz -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1805 bytes Desc: not available URL: From tw-public at gmx.de Tue Feb 20 03:13:55 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 20 Feb 2007 09:13:55 +0100 Subject: [Moin-user] Updating Cache In-Reply-To: References: Message-ID: <45DAADC3.6040701@gmx.de> > I have a problem where my 1.5.7 moinmoin wiki is saying that I need to update the cache > > I found the nifty button which does that for you, but now When I click on the link to create a new page, it just starts saying that the CacheNeedsUpdate > > How do I go about doing this? Maybe just once clear the cache globally: moin ... maint cleancache Alternatively: rm data/pages/*/cache/text_html From dg135 at torfree.net Tue Feb 20 10:39:00 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Tue, 20 Feb 2007 10:39:00 -0500 Subject: [Moin-user] rightsidebar Message-ID: <20070220103900.710e12a4@debian.example.com> Hello. I just set up a moinmoin wiki (1.5.3). When using the rightsidebar theme, how does one edit the rightsidebar? Mark From email at pfennigsolutions.de Tue Feb 20 10:47:36 2007 From: email at pfennigsolutions.de (Thilo Pfennig) Date: Tue, 20 Feb 2007 16:47:36 +0100 Subject: [Moin-user] Updating Cache In-Reply-To: <45DAADC3.6040701@gmx.de> References: <45DAADC3.6040701@gmx.de> Message-ID: <45DB1818.4010509@pfennigsolutions.de> Thomas Waldmann schrieb: >> I have a problem where my 1.5.7 moinmoin wiki is saying that I need to update the cache >> >> I found the nifty button which does that for you, but now When I click on the link to create a new page, it just starts saying that the CacheNeedsUpdate >> >> How do I go about doing this? >> > > Maybe just once clear the cache globally: moin ... maint cleancache > > Alternatively: rm data/pages/*/cache/text_html > > BTW. Do consider any of this maint commands as dangerous? I mean could any of these harm a wiki? Or can I consider these as stable? Thilo -- PfennigSolutions - IT-Beratung- Wiki-Systeme c/o Thilo Pfennig - Sandkrug 28 - 24143 Kiel http://www.pfennigsolutions.de/ From tw-public at gmx.de Tue Feb 20 10:45:18 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 20 Feb 2007 16:45:18 +0100 Subject: [Moin-user] Updating Cache In-Reply-To: <45DB1818.4010509@pfennigsolutions.de> References: <45DAADC3.6040701@gmx.de> <45DB1818.4010509@pfennigsolutions.de> Message-ID: <45DB178E.4010102@gmx.de> >> Maybe just once clear the cache globally: moin ... maint cleancache >> >> Alternatively: rm data/pages/*/cache/text_html >> > > BTW. Do consider any of this maint commands as dangerous? Some are maybe dangerous. rm is also dangerous. life is also dangerous. :) From dg135 at torfree.net Tue Feb 20 11:51:53 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Tue, 20 Feb 2007 11:51:53 -0500 Subject: [Moin-user] headers in python Message-ID: <20070220115153.47a408d2@debian.example.com> Hello. I'm trying to integrate a moinmoin wiki with the rest of my site. Can header files be done in python? In php, I use the code: Is there an equivalent code in python? I Googled, but without success. Thanks. Mark From dg135 at torfree.net Tue Feb 20 12:57:54 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Tue, 20 Feb 2007 12:57:54 -0500 Subject: [Moin-user] headers in python In-Reply-To: <20070220115153.47a408d2@debian.example.com> References: <20070220115153.47a408d2@debian.example.com> Message-ID: <20070220125754.5e1fc777@debian.example.com> On Tue, 20 Feb 2007 11:51:53 -0500 Mark Grieveson wrote: > Hello. I'm trying to integrate a moinmoin wiki with the rest of my site. Can header files be done in python? In php, I use the code: > > > > Is there an equivalent code in python? I Googled, but without success. > > Thanks. > > Mark > Okay, I figured this out. I don't think there's a feasible way for me to do this with python; so, I stopped mucking about and breaking my wikiconfig.py file, and instead added to my index.php file. It works. So I can now integrate the wiki into my site. Mark From grant at 4d-electronics.co.nz Tue Feb 20 15:38:00 2007 From: grant at 4d-electronics.co.nz (Grant McEwan) Date: Wed, 21 Feb 2007 09:38:00 +1300 Subject: [Moin-user] Updating Cache Message-ID: I've tried the moin ... Maint cleancache, that cleaned up the original problem of not being able to access the wiki at all. But I still have issues where the creation of a new page is throwing up the error of CacheNeedsUpdate Any more ideas? Grant > I have a problem where my 1.5.7 moinmoin wiki is saying that I need to > update the cache > > I found the nifty button which does that for you, but now When I click > on the link to create a new page, it just starts saying that the > CacheNeedsUpdate > > How do I go about doing this? Maybe just once clear the cache globally: moin ... maint cleancache Alternatively: rm data/pages/*/cache/text_html ------------------------------------------------------------- www.4d-electronics.co.nz From grant at 4d-electronics.co.nz Tue Feb 20 16:33:00 2007 From: grant at 4d-electronics.co.nz (Grant McEwan) Date: Wed, 21 Feb 2007 10:33:00 +1300 Subject: [Moin-user] Updating Cache Message-ID: Appears I have fixed the problem, I went back to my original source that I downloaded and over wrote the directory, realistically I did a basic installtion again, and that seemed to fix the new page thing. Apparently someone did a apt-get upgrade and there was moinmoin package being upgraded. Where I downloaded the source and installed it that way. So a conflict I may have to watch for in the future. Cheers Grant > I have a problem where my 1.5.7 moinmoin wiki is saying that I need to > update the cache > > I found the nifty button which does that for you, but now When I click > on the link to create a new page, it just starts saying that the > CacheNeedsUpdate > > How do I go about doing this? Maybe just once clear the cache globally: moin ... maint cleancache Alternatively: rm data/pages/*/cache/text_html ------------------------------------------------------------- www.4d-electronics.co.nz From dg135 at torfree.net Tue Feb 20 22:57:22 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Tue, 20 Feb 2007 22:57:22 -0500 Subject: [Moin-user] my pages error Message-ID: <20070220225722.1121692f@debian.example.com> Hi. After I log in, when I try to open the drop-down link to "My Pages", I get this error scrawled across the top portion of the wiki: "MyPages management" I'm not sure what this means. Should I be concerned? Mark From Mr at MauriceRabb.com Tue Feb 20 23:28:58 2007 From: Mr at MauriceRabb.com (Maurice Rabb) Date: Tue, 20 Feb 2007 22:28:58 -0600 Subject: [Moin-user] Question about spam Message-ID: <61BC7BFB-F54F-4569-84E8-7DD0119C832D@MauriceRabb.com> Hello, I have a question about a spam attack to my site a few days ago. On my RecentChanges page I noticed an unexpected change to a page. My wiki is configured such that one cannot make changes unless one is registered. However, anyone can register. So I saw a new user EthaDecoud had added the following page: http://fragrant.dyndns.org/MoinMoin_configuration and added a bunch of porn links. However, the big surprise was the following at the top of the page: * On Line 428 of multiconfig.py change {{{ ('name', _('Name'), "text", "36", _("(Use Firstname''''''Lastname)")), }}} to {{{ ('name', _('Name'), "text", "36", _("(Use Firstname Lastname)")), }}} I had made this change to my multiconfig.py file. I am using a Mac so it is located at: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/MoinMoin/multiconfig.py Apparently the permissions allowed outside users to read that file but not write it. (Mercifully!) So my two questions are: 1) How did this person/robot find/know the change I made to multiconfig.py? 2) How can I better protect my computer and wiki? Thank you! Maurice -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Wed Feb 21 06:41:15 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 21 Feb 2007 12:41:15 +0100 Subject: [Moin-user] my pages error In-Reply-To: <20070220225722.1121692f@debian.example.com> References: <20070220225722.1121692f@debian.example.com> Message-ID: <45DC2FDB.1030800@gmx.de> > Hi. After I log in, when I try to open the drop-down link to "My Pages", I get this error scrawled across the top portion of the wiki: > "MyPages management" > > I'm not sure what this means. Should I be concerned? I'm not sure what you mean. :) If you run a recent version of moin, could you please file a bug report and include a screenshot of that, plus version number and other details? If not, please check docs/CHANGES of moin 1.5.7 first if that was already fixed. From tw-public at gmx.de Wed Feb 21 07:00:43 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 21 Feb 2007 13:00:43 +0100 Subject: [Moin-user] Question about spam In-Reply-To: <61BC7BFB-F54F-4569-84E8-7DD0119C832D@MauriceRabb.com> References: <61BC7BFB-F54F-4569-84E8-7DD0119C832D@MauriceRabb.com> Message-ID: <45DC346B.2060309@gmx.de> > So I saw a new user EthaDecoud had added the following page: You should disable that account. > http://fragrant.dyndns.org/MoinMoin_configuration > > and added a bunch of porn links. However, the big surprise was the > following at the top of the page: This is just your old content, see the info action of that page. Maybe you just want to enable antispam in your config to avoid at least the known spam. From rickvanderveer at yahoo.com Wed Feb 21 16:06:03 2007 From: rickvanderveer at yahoo.com (Rick VanDerveer) Date: Wed, 21 Feb 2007 13:06:03 -0800 (PST) Subject: [Moin-user] small test, please delete Message-ID: <766370.82225.qm@web50914.mail.yahoo.com> for some reason, I'm unable to send to the moin-users list from my corporate account. Re-signing up with yahoo. -Rick ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From rickvanderveer at yahoo.com Wed Feb 21 18:30:58 2007 From: rickvanderveer at yahoo.com (Rick VanDerveer) Date: Wed, 21 Feb 2007 15:30:58 -0800 (PST) Subject: [Moin-user] linking on wiki farm Message-ID: <637525.30170.qm@web50908.mail.yahoo.com> Perhaps a silly question, but I haven't run across the answer yet: Is there an easy way to link to pages on a different wiki that's hosted on the same server (i.e. in a wiki farm)? For example, right now we have a separate wiki for each project (called Alpha, Beta, etc). If I want to refer to a set of instructions that's on the second project, I'm using the full URL: [http://wiki.domain.com/Beta/SomeDocument Look at this] Is there an equivalent of an InterWiki link or something? ____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.brett at gmail.com Thu Feb 22 05:50:14 2007 From: matthew.brett at gmail.com (Matthew Brett) Date: Thu, 22 Feb 2007 10:50:14 +0000 Subject: [Moin-user] linking on wiki farm In-Reply-To: <637525.30170.qm@web50908.mail.yahoo.com> References: <637525.30170.qm@web50908.mail.yahoo.com> Message-ID: <1e2af89e0702220250g4c835b2fm6e300c2fbe318892@mail.gmail.com> Hi, > Is there an easy way to link to pages on a different wiki that's hosted on > the same server (i.e. in a wiki farm)? > > For example, right now we have a separate wiki for each project (called > Alpha, Beta, etc). If I want to refer to a set of instructions that's on > the second project, I'm using the full URL: > [http://wiki.domain.com/Beta/SomeDocument Look at this] You need to set up interwiki names for your farm. On mine: farmconfig.py: shared_intermap = '/usr/local/var/moin/intermap.txt' individual wiki configs - here basewiki.py interwiki_name = 'CbuBaseWiki' where /usr/local/var/moin/internap.txt has text lines like this: CbuBaseWiki http://imaging.mrc-cbu.cam.ac.uk/basewiki/ CbuImaging http://imaging.mrc-cbu.cam.ac.uk/imaging/ Then I can link like this: CbuBaseWiki:SomePage Best, Matthew From dg135 at torfree.net Thu Feb 22 23:25:51 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Thu, 22 Feb 2007 23:25:51 -0500 Subject: [Moin-user] attachments Message-ID: <20070222232551.7a89e314@debian.example.com> Hello. Is there a way to delete attachments? Mark From dg135 at torfree.net Thu Feb 22 23:53:29 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Thu, 22 Feb 2007 23:53:29 -0500 Subject: [Moin-user] attachments [solved] In-Reply-To: <20070222232551.7a89e314@debian.example.com> References: <20070222232551.7a89e314@debian.example.com> Message-ID: <20070222235329.38de9b79@debian.example.com> On Thu, 22 Feb 2007 23:25:51 -0500 Mark Grieveson wrote: > Hello. Is there a way to delete attachments? > > Mark > Yikes, I've truly not had enough sleep. Anyway, yes, I finally did notice the options of [del|get|view], which was right before my nose. Mark From lists.gnarlodious at gmail.com Fri Feb 23 00:09:30 2007 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Thu, 22 Feb 2007 22:09:30 -0700 Subject: [Moin-user] attachments In-Reply-To: <20070222232551.7a89e314@debian.example.com> References: <20070222232551.7a89e314@debian.example.com> Message-ID: <3130eec50702222109n52597330m6925d6466428d310@mail.gmail.com> As a last resort, you could always go to the "Attachments" page and click the "del" link. -- Gnarlie On 2/22/07, Mark Grieveson wrote: > Hello. Is there a way to delete attachments? > > Mark > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From randhol+moinmoin at pvv.org Fri Feb 23 02:54:11 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Fri, 23 Feb 2007 08:54:11 +0100 Subject: [Moin-user] attachments In-Reply-To: <20070222232551.7a89e314@debian.example.com> References: <20070222232551.7a89e314@debian.example.com> Message-ID: <20070223085411.b9d12629.randhol+moinmoin@pvv.org> On Thu, 22 Feb 2007 23:25:51 -0500 Mark Grieveson wrote: > Hello. Is there a way to delete attachments? Notice that you must be logged in to delete attachments (with the default setup). Puzzled me a bit in the beginning before I started logging in... Preben From kai at aplteam.com Fri Feb 23 03:51:11 2007 From: kai at aplteam.com (kai at aplteam.com) Date: Fri, 23 Feb 2007 08:51:11 +0000 Subject: [Moin-user] FullSearch Message-ID: <99f673360702230051s46933ab9qd8b0e571d3d5c4dc@mail.gmail.com> I know that this answer was discussed some weeks ago, but I cannot find it anymore. I want list a particular category on a pge "foo" but exclude the page "foo" from that list. Surely that is easy to do, but not for me ;) Kai From dg135 at torfree.net Fri Feb 23 09:07:17 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Fri, 23 Feb 2007 09:07:17 -0500 Subject: [Moin-user] attachments In-Reply-To: <20070223085411.b9d12629.randhol+moinmoin@pvv.org> References: <20070222232551.7a89e314@debian.example.com> <20070223085411.b9d12629.randhol+moinmoin@pvv.org> Message-ID: <20070223090717.1a87b81a@debian.example.com> On Fri, 23 Feb 2007 08:54:11 +0100 Preben Randhol wrote: > On Thu, 22 Feb 2007 23:25:51 -0500 > Mark Grieveson wrote: > > > Hello. Is there a way to delete attachments? > > Notice that you must be logged in to delete attachments (with the > default setup). > > Puzzled me a bit in the beginning before I started logging in... > > Preben > Thanks. That explains it. Mark From dg135 at torfree.net Fri Feb 23 10:12:39 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Fri, 23 Feb 2007 10:12:39 -0500 Subject: [Moin-user] headers in python In-Reply-To: <20070220125754.5e1fc777@debian.example.com> References: <20070220115153.47a408d2@debian.example.com> <20070220125754.5e1fc777@debian.example.com> Message-ID: <20070223101239.41795d61@debian.example.com> On Tue, 20 Feb 2007 12:57:54 -0500 Mark Grieveson wrote: > On Tue, 20 Feb 2007 11:51:53 -0500 > Mark Grieveson wrote: > > > Hello. I'm trying to integrate a moinmoin wiki with the rest of my site. Can header files be done in python? In php, I use the code: > > > > > > > > Is there an equivalent code in python? I Googled, but without success. > > > > Thanks. > > > > Mark > > > > Okay, I figured this out. I don't think there's a feasible way for me to do this with python; so, I stopped mucking about and breaking my wikiconfig.py file, and instead added > > > > > > to my index.php file. > > It works. So I can now integrate the wiki into my site. > > Mark > The above mix of php with moinmoin gives pretty erratic results. I think there must be a way to have an "include" type of command within python. I recall when I was using Zope, a few years back, that it was possible. Anyone have any ideas how it can be done in moinmoin? Where can I edit what appears in the top portion of moinmoin? Mark From vincefn at users.sourceforge.net Fri Feb 23 10:55:42 2007 From: vincefn at users.sourceforge.net (Vincent Favre-Nicolin) Date: Fri, 23 Feb 2007 16:55:42 +0100 Subject: [Moin-user] headers in python In-Reply-To: <529E0C005F46104BA9DB3CB93F3979759B4142@TOKYO.intra.cea.fr> References: <20070220115153.47a408d2@debian.example.com> <20070220125754.5e1fc777@debian.example.com> <529E0C005F46104BA9DB3CB93F3979759B4142@TOKYO.intra.cea.fr> Message-ID: <200702231655.42934.vincefn@users.sourceforge.net> Hi, > The above mix of php with moinmoin gives pretty erratic results. I think > there must be a way to have an "include" type of command within python. I > recall when I was using Zope, a few years back, that it was possible. > Anyone have any ideas how it can be done in moinmoin? Where can I edit > what appears in the top portion of moinmoin? Python is not a language devoted to producing web pages, so it wannot be that simple. However, MoinMoin does more or less work by assembling different parts of the page, using python. The code you should look at is the theme files, e.g. classic.py modern.py in the MoinMoin/theme subdir. Look at the "header" and "footer" functions to see how they add the header and footer on the pages, and modify that. Vincent -- Vincent Favre-Nicolin Universit? Joseph Fourier http://v.favrenicolin.free.fr ObjCryst & Fox : http://objcryst.sourceforge.net From kai at aplteam.com Fri Feb 23 11:45:27 2007 From: kai at aplteam.com (kai at aplteam.com) Date: Fri, 23 Feb 2007 16:45:27 +0000 Subject: [Moin-user] Avoid "moin.cgi" in the URL Message-ID: <99f673360702230845v653a78ech26669dca699a8a32@mail.gmail.com> After looking into this problem I found that setting scriptalias does the trick with Apache. Unfortunately I am running IIS on a Windows 2003 Server. I could not work out how to solve that problem even after a 2 hours Google session. Surely there be some other alians running IIS who came across this problem??! Thanks in advance Kai From vincefn at users.sourceforge.net Fri Feb 23 16:08:24 2007 From: vincefn at users.sourceforge.net (Vincent Favre-Nicolin) Date: Fri, 23 Feb 2007 22:08:24 +0100 Subject: [Moin-user] Avoid "moin.cgi" in the URL In-Reply-To: <529E0C005F46104BA9DB3CB93F3979759B4154@TOKYO.intra.cea.fr> References: <529E0C005F46104BA9DB3CB93F3979759B4154@TOKYO.intra.cea.fr> Message-ID: <200702232208.24710.vincefn@users.sourceforge.net> On Friday 23 February 2007 17:46, kai at aplteam.com wrote: > After looking into this problem I found that setting > scriptalias > does the trick with Apache. > > Unfortunately I am running IIS on a Windows 2003 Server. I could not > work out how to solve that problem even after a 2 hours Google > session. > > Surely there be some other alians running IIS who came across this > problem??! Googling with "moinmoin moin.cgi iis" turns up the first page: http://moinmoin.wikiwikiweb.de/MoinMoinQuestions And there seems to be an answer regarding that issue near the bottom of the "IIS questions" paragraph. Never tried it though, I don't use IIS - but you should start from that. -- Vincent Favre-Nicolin Universit? Joseph Fourier http://v.favrenicolin.free.fr ObjCryst & Fox : http://objcryst.sourceforge.net From mehdi.public at gmail.com Sat Feb 24 06:31:05 2007 From: mehdi.public at gmail.com (Mehdi Hassanpour) Date: Sat, 24 Feb 2007 05:31:05 -0600 Subject: [Moin-user] form creation Message-ID: <1abd6b930702240331i30e1d2e4o717abc6fe5475942@mail.gmail.com> Hi List, Is there any form creation feature in MoinMoin ? Macro or ... Bests -- ******************************************************** Yours Sincerely, Mehdi Hassanpour ---------------------------------------------------------------------- /* Of one Essence is the human race, Thusly has Creation put the Base; One Limb impacted is sufficient, For all Others to feel the Mace. ~Saadi (persian poet) -1258 */ ---------------------------------------------------------------------- http://ImPersian.com | http://Hezardastan.org ******************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincefn at users.sourceforge.net Sat Feb 24 07:04:55 2007 From: vincefn at users.sourceforge.net (Vincent Favre-Nicolin) Date: Sat, 24 Feb 2007 13:04:55 +0100 Subject: [Moin-user] Avoid "moin.cgi" in the URL In-Reply-To: <529E0C005F46104BA9DB3CB93F3979759B418C@TOKYO.intra.cea.fr> References: <529E0C005F46104BA9DB3CB93F3979759B4154@TOKYO.intra.cea.fr> <99f673360702231322n525c2ee5n3f3a37a58de8e2a6@mail.gmail.com> <529E0C005F46104BA9DB3CB93F3979759B418C@TOKYO.intra.cea.fr> Message-ID: <200702241304.56067.vincefn@users.sourceforge.net> > Anyway, which search machine do you use? I am asking because I could > not see the link on my list, at least not on a prominent rank. Google (link is second hit, first one may also be interesting) http://www.google.com/search?hl=en&q=moinmoin+moin.cgi+iis&btnG=Google+Search > Thank for the suggestion, but a soluction is still willcome. Sorry, I have zero knowledge about IIS, so I can't point to anything else Vincent -- Vincent Favre-Nicolin Universit? Joseph Fourier http://v.favrenicolin.free.fr ObjCryst & Fox : http://objcryst.sourceforge.net From dg135 at torfree.net Sat Feb 24 14:45:09 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Sat, 24 Feb 2007 14:45:09 -0500 Subject: [Moin-user] fortunecookies Message-ID: <20070224144509.13195468@debian.example.com> Does anyone else find the description on the FortuneCookies page completely confusing, or is this simply a reflection of my apparently low double-digit I.Q.? Mark From rickvanderveer at yahoo.com Sun Feb 25 00:42:34 2007 From: rickvanderveer at yahoo.com (Rick VanDerveer) Date: Sat, 24 Feb 2007 21:42:34 -0800 (PST) Subject: [Moin-user] fortunecookies Message-ID: <481667.56652.qm@web50902.mail.yahoo.com> On Feb 24, 2007, at 1:45 PM, Mark Grieveson wrote: Does anyone else find the description on the FortuneCookies page completely confusing, or is this simply a reflection of my apparently low double-digit I.Q.? Mark Hey Mark, Simply replace the bulleted text on the FortuneCookie page with your own text. You can use it to put in tips on how to use the wiki, trivia about your company/organization, or actual famous quote (Google for "famous quotes"). Then, on your front page (or any other page), add [[RandomQuote]] macro. -Rick ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php -------------- next part -------------- An HTML attachment was scrubbed... URL: From rickvanderveer at yahoo.com Sun Feb 25 01:01:56 2007 From: rickvanderveer at yahoo.com (Rick VanDerveer) Date: Sat, 24 Feb 2007 22:01:56 -0800 (PST) Subject: [Moin-user] Sanity check Message-ID: <3725.63606.qm@web50914.mail.yahoo.com> I converted my Apache on Windows moin install to FastCGI. Yes, the speed increase was impressive-- it made my fossilized dinosaur of a test computer run the wiki faster than the live one. Of course, I wanted to collate the scattered hints and snippets of instructions into one document (and hopefully eliminate some headache for others). Before I post it to moinmaster, I'd like you all you proof it. http://moinmoin.wikiwikiweb.de/RickVanderveer/ApacheOnWin32withFastCgi One specific question I have (it works perfectly, but I'm not sure that it's "correct" for correctness sake) is the multiple ScriptAliases (see the httpd.conf section). Is what I have how it's supposed to be? Any other comments? Questions? Concerns? :-) -Rick ____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather From dg135 at torfree.net Sun Feb 25 01:44:21 2007 From: dg135 at torfree.net (Mark Grieveson) Date: Sun, 25 Feb 2007 01:44:21 -0500 Subject: [Moin-user] fortunecookies In-Reply-To: <481667.56652.qm@web50902.mail.yahoo.com> References: <481667.56652.qm@web50902.mail.yahoo.com> Message-ID: <20070225014421.336e1965@debian.example.com> On Sat, 24 Feb 2007 21:42:34 -0800 (PST) Rick VanDerveer wrote: > On Feb 24, 2007, at 1:45 PM, Mark Grieveson wrote: > > Does anyone else find the description on the FortuneCookies page completely confusing, or is this simply a reflection of my apparently low double-digit I.Q.? > > Mark > > > > > Hey Mark, > Simply replace the bulleted text on the FortuneCookie page with your own text. You can use it to put in tips on how to use the wiki, trivia about your company/organization, or actual famous quote (Google for "famous quotes"). > > Then, on your front page (or any other page), add [[RandomQuote]] macro. > > > -Rick > Thanks Rick. That helped. My wiki is at http://www.opseu540.info. It's for my union local (wiki's are perfect for union locals, I feel). The RSS on the RecentChanges page seems wonky, though. I've yet to figure that out. Mark From viensi at jazboe.3com.com Sun Feb 25 10:31:59 2007 From: viensi at jazboe.3com.com (Garry Roquemore) Date: Sun, 25 Feb 2007 16:31:59 +0100 Subject: [Moin-user] good Slavophob Message-ID: <01c758f2$16de3620$78d9cb56@nom641695c7437> Hi, Chaepest CALIS and VAGRA online. http://parkerokay+now.com Remove "+" from the link. though they had just jumped from airplanes without parachutes. Harry followed their descent through his Omnioculars, squinting to see where the Snitch was From newz at bearfruit.org Sun Feb 25 18:36:49 2007 From: newz at bearfruit.org (Matthew Nuzum) Date: Sun, 25 Feb 2007 17:36:49 -0600 Subject: [Moin-user] form creation In-Reply-To: References: <1abd6b930702240331i30e1d2e4o717abc6fe5475942@mail.gmail.com> Message-ID: On 2/24/07, Mehdi Hassanpour wrote: > Hi List, > > Is there any form creation feature in MoinMoin ? Macro or ... > Mehdi, I worked on something like this a while back. We intended to use it to submit forms to salesforce.com. I published my code here: http://people.ubuntu.com/~mnuzum/projects/moin/ However, only use this on wikis where you trust the editors, because it is possible for people to inject html into some of the form lables, creating the potential for an XSS. This is no different then if your site uses a [[HTML()]] macro or something allowing posting of raw content. We didn't end up using it. It shouldn't be hard to make it secure, however I don't currently have the time to maintain it. -- Matthew Nuzum www.bearfruit.org newz2000 on freenode From cornelius.koelbel at lsexperts.de Mon Feb 26 04:37:28 2007 From: cornelius.koelbel at lsexperts.de (=?ISO-8859-15?Q?Cornelius_K=F6lbel?=) Date: Mon, 26 Feb 2007 10:37:28 +0100 Subject: [Moin-user] polls / surveys Message-ID: <45E2AA58.2050204@lsexperts.de> Moinmoin list, is it right there is no polling/survey possibily at the moment. TO be honest, i am a user (user-list), and I'd like to do a survey on my wiki. I was searching the moinwiki but did only find the same idea. Any ideas how to do something like this without coding? Kind regards Cornelius From randhol+moinmoin at pvv.org Mon Feb 26 14:08:32 2007 From: randhol+moinmoin at pvv.org (Preben Randhol) Date: Mon, 26 Feb 2007 20:08:32 +0100 Subject: [Moin-user] polls / surveys In-Reply-To: <45E2AA58.2050204@lsexperts.de> References: <45E2AA58.2050204@lsexperts.de> Message-ID: <20070226200832.855df5cb.randhol+moinmoin@pvv.org> On Mon, 26 Feb 2007 10:37:28 +0100 Cornelius K?lbel wrote: > Moinmoin list, > > is it right there is no polling/survey possibily at the moment. > TO be honest, i am a user (user-list), and I'd like to do a survey on > my wiki. I was searching the moinwiki but did only find the same idea. See MacroMarket: http://moinmoin.wikiwikiweb.de/MacroMarket Check the vote if you can use this. Preben From lists.gnarlodious at gmail.com Mon Feb 26 22:10:40 2007 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Mon, 26 Feb 2007 20:10:40 -0700 Subject: [Moin-user] Link to HelpOnTemplates from NonexistentPage Message-ID: <3130eec50702261910p1b64d47drcdf16b309f116ecd@mail.gmail.com> I propose adding a link on the NonexistentPage page to the HelpOnTemplates page. The text on that page that says "or use one of the page templates" could point to the HelpOnTemplates page so users could get an explanation of what template is best suited to their immediate need. -- Gnarlie From rickvanderveer at yahoo.com Wed Feb 28 01:46:52 2007 From: rickvanderveer at yahoo.com (Rick VanDerveer) Date: Tue, 27 Feb 2007 22:46:52 -0800 (PST) Subject: [Moin-user] sharing macros among wiki's within a farm? Message-ID: <560028.73228.qm@web50905.mail.yahoo.com> I now have three wiki's within a farm configuration (with potential for more). I have several macros that I'd like to share among all of them (namely the excellent [[PageComment]] and [[EventCalendar]] macros). Is there an easy way to do this, without having to copy into each individual /data/plugin/macro/ directories? I assumed there was an equivalent within the underlay directory, but alas there is not. :-) I suppose I could always copy it into /python/Lib/site-packages/MoinMoin/macro but I don't know if that is "correct" (for correctness sake) to put 3rd-party macros there. Thoughts? -Rick ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com From tw-public at gmx.de Wed Feb 28 06:29:26 2007 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 28 Feb 2007 12:29:26 +0100 Subject: [Moin-user] sharing macros among wiki's within a farm? In-Reply-To: <560028.73228.qm@web50905.mail.yahoo.com> References: <560028.73228.qm@web50905.mail.yahoo.com> Message-ID: <45E56796.8080200@gmx.de> > Is there an easy way to do this, without having to copy into each individual /data/plugin/macro/ directories? Use symlinks. :) > I assumed there was an equivalent within the underlay directory, but alas there is not. :-) I suppose I could always copy it into /python/Lib/site-packages/MoinMoin/macro but I don't know if that is "correct" (for correctness sake) to put 3rd-party macros there. > You could do that, it would work, but it is a rather unclean method. :) Maybe we'll have some common farm stuff some day, but not yet. From chris at art-en-soul.cix.co.uk Wed Feb 28 07:32:19 2007 From: chris at art-en-soul.cix.co.uk (Chris Lawley) Date: Wed, 28 Feb 2007 12:32:19 -0000 Subject: [Moin-user] FullSearch In-Reply-To: <99f673360702230051s46933ab9qd8b0e571d3d5c4dc@mail.gmail.com> Message-ID: <45E57653.7001.1AD458E@chris.art-en-soul> On 23 Feb 2007, kai at aplteam.com wrote: > I know that this answer was discussed some weeks ago, but I cannot > find it anymore. > > I want list a particular category on a pge "foo" but exclude the page > "foo" from that list. Surely that is easy to do, but not for me ;) Not sure this is 'best' but it's working for me: I have recipes *and* a Contents page all in "CategoryRecipe" The Content's page lists everything except itself using this: [[FullSearch(r:CategoryRecipe -r:FullSearch)]] I thing there's other ways to do the job but this works for me. chris :-) From lists.gnarlodious at gmail.com Wed Feb 28 09:07:54 2007 From: lists.gnarlodious at gmail.com (Gnarlodious) Date: Wed, 28 Feb 2007 07:07:54 -0700 Subject: [Moin-user] FullSearch In-Reply-To: <45E57653.7001.1AD458E@chris.art-en-soul> References: <99f673360702230051s46933ab9qd8b0e571d3d5c4dc@mail.gmail.com> <45E57653.7001.1AD458E@chris.art-en-soul> Message-ID: <3130eec50702280607l18a5248bk47155375814b4d8a@mail.gmail.com> On 2/28/07, Chris Lawley wrote: > > I want list a particular category on a pge "foo" but exclude the page > > "foo" from that list. Surely that is easy to do, but not for me ;) > The Content's page lists everything except itself using this: > [[FullSearch(r:CategoryRecipe -r:FullSearch)]] > > > I thing there's other ways to do the job but this works for me. There's also a macro FullSearchWithoutSelf -- Gnarlie http://Gnarlodious.com/ From keith.c.schwols at intel.com Wed Feb 28 09:31:31 2007 From: keith.c.schwols at intel.com (Schwols, Keith C) Date: Wed, 28 Feb 2007 07:31:31 -0700 Subject: [Moin-user] sharing macros among wiki's within a farm? In-Reply-To: <45E56796.8080200@gmx.de> Message-ID: What we did with our wiki farm was to put the plugin directory under the directory. Then we make the /data/plugin into a symlink back up to the common /plugin. This shares all the plugins (macro, parser, etc) among the wikis. We also share our user directory in the same manner. This has been working well for our wiki farm (9 wiki webs in the farm) over the last year or so. (Across all the 1.5.x versions) ]-----Original Message----- >From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user- >bounces at lists.sourceforge.net] On Behalf Of Thomas Waldmann >Sent: Wednesday, February 28, 2007 4:29 AM >To: moin-user at lists.sourceforge.net >Subject: Re: [Moin-user] sharing macros among wiki's within a farm? > > >> Is there an easy way to do this, without having to copy into each >individual /data/plugin/macro/ directories? >Use symlinks. :) >> I assumed there was an equivalent within the underlay directory, but alas >there is not. :-) I suppose I could always copy it into /python/Lib/site- >packages/MoinMoin/macro but I don't know if that is "correct" (for >correctness sake) to put 3rd-party macros there. >> >You could do that, it would work, but it is a rather unclean method. :) > >Maybe we'll have some common farm stuff some day, but not yet. > > >----------------------------------------------------------------------- -- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD EV >_______________________________________________ >Moin-user mailing list >Moin-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/moin-user