From eseyman at edd.fr Tue Sep 7 12:40:20 2010 From: eseyman at edd.fr (Emmanuel Seyman) Date: Tue, 7 Sep 2010 18:40:20 +0200 Subject: [Moin-user] Upgrading and the Navigation bar Message-ID: <20100907164020.GA18215@munshine.intranet> Hello, all. I'm updating a moinmoin installation from 1.5.3 to 1.7.1 (or, at least, the debian packaged 1.7.1). The migration is pretty smooth but leaves one bug. The System pages in the navigation bar aren't localized (despite language_default being set to 'fr'). So I have 'RecentChanges' and 'FindPage' instead of 'ModificationsR?centes' and 'RechercherUnePage'. Note that this also happens when I create a new wiki so something's obviously wrong. Strangely enough, when I keep the underlay from the 1.5.3 version, I do get a localized navigational bar (but the system pages themselves don't work). Where do I have to look to find what's wrong? Emmanuel From rb.proj at gmail.com Tue Sep 7 13:03:07 2010 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 07 Sep 2010 19:03:07 +0200 Subject: [Moin-user] Upgrading and the Navigation bar In-Reply-To: <20100907164020.GA18215@munshine.intranet> References: <20100907164020.GA18215@munshine.intranet> Message-ID: Am 07.09.2010 18:40, schrieb Emmanuel Seyman: > > Hello, all. Hi > > I'm updating a moinmoin installation from 1.5.3 to 1.7.1 (or, at least, > the debian packaged 1.7.1). > > The migration is pretty smooth but leaves one bug. First time I heard that. Mostly debian users don't get informed that they need to migrate their wiki data too additional to the apt-get upgrade. The System pages in > the navigation bar aren't localized (despite language_default being set > to 'fr'). So I have 'RecentChanges' and 'FindPage' instead of > 'ModificationsR?centes' and 'RechercherUnePage'. Note that this also > happens when I create a new wiki so something's obviously wrong. That is difficult I don't want to install the outdated 1.7.1 package, so I downloaded the old archieve from moins server. I run the builtin wikiserver to check if we have that problem in our package too. 1. wget http://static.moinmo.in/files/moin-1.7.1.tar.gz 2. tar zxvf moin-1.7.1.tar.gz 3. cd moin-1.7.1 4. MoinMoin/script/moin.py account create --name=TestUser --email=test at localhost --password=secret 5. ./wikiserver.py 7. logged in TestUser 8. http://localhost:8080/SystemPagesSetup?action=AttachFile&do=install&target=French.zip 9. restart of ./wikiserver.py 10. http://localhost:8080/SystemPagesSetup?action=userprefs&sub=prefs 11. changed Preferred language to Francais and Save 11. Clear Message My Navibar shows now ModificationsR?centes RechercherUnePage SommaireDeL'Aide SystemPagesSetup So moins package speaks french ;) > > Strangely enough, when I keep the underlay from the 1.5.3 version, I > do get a localized navigational bar (but the system pages themselves > don't work). That is no solution. Because of syntax changes. > > Where do I have to look to find what's wrong? May be you have not removed old cache files? Did you run after the migration data command the maint cleancache command? And was your server stopped doing this? cheers Reimar From eseyman at edd.fr Wed Sep 8 05:20:04 2010 From: eseyman at edd.fr (Emmanuel Seyman) Date: Wed, 8 Sep 2010 11:20:04 +0200 Subject: [Moin-user] Upgrading and the Navigation bar In-Reply-To: References: <20100907164020.GA18215@munshine.intranet> Message-ID: <20100908092004.GA21609@munshine.intranet> * R.Bauer [08/09/2010 08:35] : > > First time I heard that. Mostly debian users don't get informed that > they need to migrate their wiki data too additional to the apt-get upgrade. I'm actually migrating from one machine to another so apt-get upgrade isn't really an option. :-) > > Strangely enough, when I keep the underlay from the 1.5.3 version, I > > do get a localized navigational bar (but the system pages themselves > > don't work). > > That is no solution. Because of syntax changes. Yeah, I guessed as much. > May be you have not removed old cache files? Did you run after the > migration data command the maint cleancache command? And was your server > stopped doing this? I didn't and hadn't but adding these two steps doesn't help (although the maint cleancache command is useful for a few other things). Thanks ! Emmanuel From rb.proj at gmail.com Wed Sep 8 06:33:21 2010 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 08 Sep 2010 12:33:21 +0200 Subject: [Moin-user] Upgrading and the Navigation bar In-Reply-To: <20100908092004.GA21609@munshine.intranet> References: <20100907164020.GA18215@munshine.intranet> <20100908092004.GA21609@munshine.intranet> Message-ID: Am 08.09.2010 11:20, schrieb Emmanuel Seyman: > * R.Bauer [08/09/2010 08:35] : >> >> First time I heard that. Mostly debian users don't get informed that >> they need to migrate their wiki data too additional to the apt-get upgrade. > > I'm actually migrating from one machine to another so apt-get upgrade > isn't really an option. :-) Then better install a recent moin version. in debian testing is at least 1.9.2-x I suggest to install from moins tarball > >>> Strangely enough, when I keep the underlay from the 1.5.3 version, I >>> do get a localized navigational bar (but the system pages themselves >>> don't work). >> >> That is no solution. Because of syntax changes. > > Yeah, I guessed as much. > >> May be you have not removed old cache files? Did you run after the >> migration data command the maint cleancache command? And was your server >> stopped doing this? > > I didn't and hadn't but adding these two steps doesn't help (although > the maint cleancache command is useful for a few other things). Which browser do you use? Reimar From marco.strullato at gmail.com Fri Sep 10 04:23:49 2010 From: marco.strullato at gmail.com (Marco Strullato) Date: Fri, 10 Sep 2010 10:23:49 +0200 Subject: [Moin-user] questions about ldap auth Message-ID: Hi all, this is my first time with moin wiki, I've ever used mediawiki before... so, I have some questions: -the first is how can I set the log level: I see in the error log of apache waring and info logs: I'd like to have only error logs. -I'm trying also to set up ldap authentication: this is my configuration file. from farmconfig import FarmConfig from MoinMoin.security.antispam import SecurityPolicy from MoinMoin.security import Permissions class Config(FarmConfig): sitename = u'Wiki' # [Unicode] interwikiname = u'Wiki' # [Unicode] page_front_page = u"FrontPage" data_dir = '/usr/share/moin/wiki/data' data_underlay_dir='/usr/share/moin/wiki/underlay' superuser = [u"marco", ] acl_rights_before = u"marco:read,write,delete,revert,admin" acl_rights_default = u"Trusted:read,write,delete,revert Known:read,write,delete,revert All:read,write" acl_rights_after = u"" # most users don't need this acl_hierarchic = False # True to use hierarchical ACLs unzip_single_file_size = 2.0 * 1000 ** 2 unzip_attachments_space = 200.0 * 1000 ** 2 unzip_attachments_count = 101 # 1 zip file + 100 files contained in it textchas = None # a data structure with site-specific questions/answers textchas_disabled_group = None # e.g. u'NoTextChasGroup' if you are a member of this group, you don't get textchas from MoinMoin.auth.ldap_login import LDAPAuth ldap_authenticator1 = LDAPAuth( server_uri='ldap://ldap01', bind_dn='' bind_pw='', base_dn='ou=wiki,c=it', # base DN we use for searching scope=2, # scope of the search we do (2 == ldap.SCOPE_SUBTREE) referrals=0, # LDAP REFERRALS (0 needed for AD) search_filter='(uid=%(username)s)', # ldap filter used for searching: givenname_attribute='givenName', surname_attribute='sn', aliasname_attribute='displayName', email_attribute='mail', email_callback=None, # callback function called to make up email address coding='utf-8', # coding used for ldap queries and result values timeout=10, # how long we wait for the ldap server [s] start_tls=0, # usage of Transport Layer Security 0 = No, 1 = Try, 2 = Required tls_cacertdir=None, tls_cacertfile=None, tls_certfile=None, tls_keyfile=None, tls_require_cert=0, # 0 == ldap.OPT_X_TLS_NEVER (needed for self-signed certs) bind_once=False, # set to True to only do one bind - useful if configured to bind as the user on the first attempt autocreate=False, # set to True to automatically create/update user profiles name='ldap', # use e.g. 'ldap_pdc' and 'ldap_bdc' (or 'ldap1' and 'ldap2') if you auth against 2 ldap servers report_invalid_credentials=False, # whether to emit "invalid username or password" msg at login time or not ) auth = [ldap_authenticator1, ] # this is a list, you may have multiple ldap authenticators cookie_lifetime = (0,1) # no anon user sessions, 1h session lifetime for logged-in users class SecurityPolicy(Permissions): def save(self, editor, newtext, rev, **kw): # only known users are allowed to edit return self.request.user.valid acl_enabled = 1 acl_rights_default = 'Known:read,write,delete,revert All:read' what I get is that I'm authenticated from the ldap but I'm not authorized. What should I check? -is there a list of special pages as in mediawiki? Thanks! -- Marco From rb.proj at googlemail.com Sat Sep 11 18:24:31 2010 From: rb.proj at googlemail.com (ReimarBauer) Date: Sun, 12 Sep 2010 00:24:31 +0200 Subject: [Moin-user] questions about ldap auth In-Reply-To: References: Message-ID: On 10.09.2010 10:23, Marco Strullato wrote: > Hi all, Hi > this is my first time with moin wiki, I've ever used mediawiki before... > so, I have some questions: > -the first is how can I set the log level: I see in the error log of > apache waring and info logs: I'd like to have only error logs. look into http://hg.moinmo.in/moin/1.9/file/tip/wiki/config/logging/README or into the one you downloaded I am not sure but your data dir var looks like it points to the template of the data und underlay dir which will become overwritten on an upgrade of the source. you should set up an own wiki instance with a copy of those dirs. see for some documentations docs/INSTALL.html > -I'm trying also to set up ldap authentication: this is my configuration file. > in wiki/config/more_samples you find some ldap configuration example e.g. http://hg.moinmo.in/moin/1.9/file/tip/wiki/config/more_samples/ldap_wikiconfig_snippet (seems like you have used it) the config file is a python script. and python sets levels by indenting. you need to set the right indenting. one level is 4 blanks, don't use tabs. the from MoinMoin.auth looks like to have wrong indenting. (instead of mail you can also use a pastebin e.g. paste.pocoo.org, this is easier to read for us, and you can discuss problems on chat.freenode.net #moin) where does this setting come from acl_enabled = 1 ? this sounds like a very old configuration. acls are builtin in newer versions and can't be disabled. See HelpOnConfiguration or as superuser SystemInfo (for listing your settings) many times acl_rights_default is set. you want to set autocreate=True > from farmconfig import FarmConfig > from MoinMoin.security.antispam import SecurityPolicy > from MoinMoin.security import Permissions > class Config(FarmConfig): > sitename = u'Wiki' # [Unicode] > interwikiname = u'Wiki' # [Unicode] > page_front_page = u"FrontPage" > data_dir = '/usr/share/moin/wiki/data' > data_underlay_dir='/usr/share/moin/wiki/underlay' > superuser = [u"marco", ] > acl_rights_before = u"marco:read,write,delete,revert,admin" > acl_rights_default = u"Trusted:read,write,delete,revert > Known:read,write,delete,revert All:read,write" > acl_rights_after = u"" # most users don't need this > acl_hierarchic = False # True to use hierarchical ACLs > unzip_single_file_size = 2.0 * 1000 ** 2 > unzip_attachments_space = 200.0 * 1000 ** 2 > unzip_attachments_count = 101 # 1 zip file + 100 files contained in it > textchas = None # a data structure with site-specific questions/answers > textchas_disabled_group = None # e.g. u'NoTextChasGroup' if you > are a member of this group, you don't get textchas > from MoinMoin.auth.ldap_login import LDAPAuth > ldap_authenticator1 = LDAPAuth( > server_uri='ldap://ldap01', > bind_dn='' > bind_pw='', > base_dn='ou=wiki,c=it', # base DN we use for searching > scope=2, # scope of the search we do (2 == ldap.SCOPE_SUBTREE) > referrals=0, # LDAP REFERRALS (0 needed for AD) > search_filter='(uid=%(username)s)', # ldap filter used for searching: > givenname_attribute='givenName', > surname_attribute='sn', > aliasname_attribute='displayName', > email_attribute='mail', > email_callback=None, # callback function called to make up email address > coding='utf-8', # coding used for ldap queries and result values > timeout=10, # how long we wait for the ldap server [s] > start_tls=0, # usage of Transport Layer Security 0 = No, 1 = > Try, 2 = Required > tls_cacertdir=None, > tls_cacertfile=None, > tls_certfile=None, > tls_keyfile=None, > tls_require_cert=0, # 0 == ldap.OPT_X_TLS_NEVER (needed for > self-signed certs) > bind_once=False, # set to True to only do one bind - useful if > configured to bind as the user on the first attempt > autocreate=False, # set to True to automatically create/update > user profiles > name='ldap', # use e.g. 'ldap_pdc' and 'ldap_bdc' (or 'ldap1' > and 'ldap2') if you auth against 2 ldap servers > report_invalid_credentials=False, # whether to emit "invalid > username or password" msg at login time or not > ) > > auth = [ldap_authenticator1, ] # this is a list, you may have > multiple ldap authenticators > cookie_lifetime = (0,1) # no anon user sessions, 1h session > lifetime for logged-in users > class SecurityPolicy(Permissions): > def save(self, editor, newtext, rev, **kw): > # only known users are allowed to edit > return self.request.user.valid > acl_enabled = 1 > acl_rights_default = 'Known:read,write,delete,revert All:read' > > what I get is that I'm authenticated from the ldap but I'm not > authorized. What should I check? see above > > -is there a list of special pages as in mediawiki? see bottom of FindPage btw. because of some strange vars, which moin version do you try 1.9 ? cheers Reimar From fermulator at sympatico.ca Mon Sep 13 14:28:11 2010 From: fermulator at sympatico.ca (fermulator) Date: Mon, 13 Sep 2010 14:28:11 -0400 Subject: [Moin-user] MoinMoin - "PageList" and "FullSearch" listing attachments -- unwanted! Message-ID: Hoping someone can chime in and help me out. Consider the following Wiki hierarchy structure /RootPage/Foo /RootPage/Foo/Bar /RootPage/Foo/Bar/PageOne /RootPage/Foo/Bar/PageTwo /RootPage/Foo/Bar/PageThree /RootPage/Foo/Bat /RootPage/Foo/Stuff /RootPage/Foo/OtherStuff GOAL: For some pages, I want to list all of the IMMEDIATE children pages, but NO grandchildren pages. I have accomplished this with the "PageList" macro and a regular expression: On "/RootPage/Foo", I have the following: {{{ <> }}} This basically says, match anything starting with "RootPage/Foo/" ... then match ANY character, ANY number of times, EXCEPT the "/" character. By using "/" as the exception, I'm guaranteed to never have any "child pages" deeper than 1 level in the list. Result: a list of: /RootPage/Foo/Bar /RootPage/Foo/Bat /RootPage/Foo/Stuff /RootPage/Foo/OtherStuff Great. I can do the same thing on the "Bar" page, to list all children: {{{ <> }}} Result: a list of: /RootPage/Foo/Bar/PageOne /RootPage/Foo/Bar/PageTwo /RootPage/Foo/Bar/PageThree OK. Now ... as soon as I added an attachment to any of the sub-pages ... my solution was not so clean. consider: Attach a file "myfile.jpg" to PageOne. Now, all of a sudden, my "clean immediate child-only" list ... exploded and starts to show attachments! Result: a list of: /RootPage/Foo/Bar/PageOne (myfile.jpg) /RootPage/Foo/Bar/PageOne /RootPage/Foo/Bat /RootPage/Foo/Stuff /RootPage/Foo/OtherStuff Problem: * I don't want PageList to show attachments. the regexp that I created should theoretically stop this... but it's not. (technically, given the name of "PageList", I would consider it a bug that it lists attachments...but I'd be happy with a regex fix too) * I tried with another macro "FullSearch" and/or "FullSearchCached", but the same problem exists. * It /appears/ that PageList and FullSearch don't apply their regexp to attachments in the path?.... Any ideas on how to accomplish what I'm trying to do? (without showing attachments...) ~Fermulator -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at googlemail.com Mon Sep 13 16:32:01 2010 From: rb.proj at googlemail.com (ReimarBauer) Date: Mon, 13 Sep 2010 22:32:01 +0200 Subject: [Moin-user] MoinMoin - "PageList" and "FullSearch" listing attachments -- unwanted! In-Reply-To: References: Message-ID: On 13.09.2010 20:28, fermulator wrote: > Hoping someone can chime in and help me out. > > Consider the following Wiki hierarchy structure > > /RootPage/Foo > /RootPage/Foo/Bar > /RootPage/Foo/Bar/PageOne > /RootPage/Foo/Bar/PageTwo > /RootPage/Foo/Bar/PageThree > /RootPage/Foo/Bat > /RootPage/Foo/Stuff > /RootPage/Foo/OtherStuff > > GOAL: For some pages, I want to list all of the IMMEDIATE children > pages, but NO grandchildren pages. I have accomplished this with the > "PageList" macro and a regular expression: > > On "/RootPage/Foo", I have the following: > {{{ > <> > }}} > > This basically says, match anything starting with "RootPage/Foo/" ... > then match ANY character, ANY number of times, EXCEPT the "/" > character. By using "/" as the exception, I'm guaranteed to never have > any "child pages" deeper than 1 level in the list. > > Result: a list of: > /RootPage/Foo/Bar > /RootPage/Foo/Bat > /RootPage/Foo/Stuff > /RootPage/Foo/OtherStuff > > Great. > > I can do the same thing on the "Bar" page, to list all children: > {{{ > <> > }}} > > Result: a list of: > /RootPage/Foo/Bar/PageOne > /RootPage/Foo/Bar/PageTwo > /RootPage/Foo/Bar/PageThree > > OK. > > Now ... as soon as I added an attachment to any of the sub-pages ... my > solution was not so clean. > > consider: Attach a file "myfile.jpg" to PageOne. > > Now, all of a sudden, my "clean immediate child-only" list ... exploded > and starts to show attachments! > Result: a list of: > /RootPage/Foo/Bar/PageOne (myfile.jpg) > /RootPage/Foo/Bar/PageOne > /RootPage/Foo/Bat > /RootPage/Foo/Stuff > /RootPage/Foo/OtherStuff > > Problem: > * I don't want PageList to show attachments. the regexp that I created > should theoretically stop this... but it's not. (technically, given the > name of "PageList", I would consider it a bug that it lists > attachments...but I'd be happy with a regex fix too) use the mimetype parameter > * I tried with another macro "FullSearch" and/or "FullSearchCached", > but the same problem exists. > * It /appears/ that PageList and FullSearch don't apply their regexp to > attachments in the path?.... > > Any ideas on how to accomplish what I'm trying to do? (without showing > attachments...) see also http://moinmo.in/MoinMoinBugs/PageListTooVerbose cheers Reimar From Sebastien.Hinderer at ens-lyon.org Wed Sep 15 01:40:38 2010 From: Sebastien.Hinderer at ens-lyon.org (=?iso-8859-1?Q?Sh=E9rab?=) Date: Wed, 15 Sep 2010 07:40:38 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? Message-ID: <20100915054038.GA3555@pema> Dear all, I am using moin to maintain tables that record subscriptions for events. Each event has several parts, such as meals, nights, etc. So the typical table have one column per event-part and one line per subscribed user. I would like to have some lines and columns filled automatically depending on the content of other lines and columns. Two examples are: a line for totals, and the price column. So far I could find two parsers that were doing this kind of things, but for older versions of moin. IIRC they were called ssparser and csparser, or something like that. Is someone aware of a solution working with moin 1.9.3 ? If there is none, what would be the cleanest way to implement one ? Many thanks in advance for any suggestion, Sh?rab. From rb.proj at gmail.com Wed Sep 15 03:02:30 2010 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 15 Sep 2010 09:02:30 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: <20100915054038.GA3555@pema> References: <20100915054038.GA3555@pema> Message-ID: Am 15.09.2010 07:40, schrieb Sh?rab: > Dear all, > > I am using moin to maintain tables that record subscriptions for events. > Each event has several parts, such as meals, nights, etc. > So the typical table have one column per event-part and one line per > subscribed user. > I would like to have some lines and columns filled automatically > depending on the content of other lines and columns. > Two examples are: a line for totals, and the price column. > > So far I could find two parsers that were doing this kind of things, but > for older versions of moin. IIRC they were called ssparser and csparser, > or something like that. sstable works with moin-1.9, see patch on bottom of page but may be you are looking for something like http://moinmo.in/MacroMarket/DictColumns cheers Reimar > > Is someone aware of a solution working with moin 1.9.3 ? > > If there is none, what would be the cleanest way to implement one ? > > Many thanks in advance for any suggestion, > Sh?rab. > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev From Sebastien.Hinderer at ens-lyon.org Wed Sep 15 04:56:19 2010 From: Sebastien.Hinderer at ens-lyon.org (=?iso-8859-1?Q?Sh=E9rab?=) Date: Wed, 15 Sep 2010 10:56:19 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: References: <20100915054038.GA3555@pema> Message-ID: <20100915085619.GA3795@pema> Hi Reimar, Thanks a lot for having replied so promptly. > sstable works with moin-1.9, see patch on bottom of page Oh ! Wasn't there last time I looked, thanks ! > but may be you are looking for something like > http://moinmo.in/MacroMarket/DictColumns I gave it a quick look. How is this related to the problem ? I'm sorry, I don't understand how it may help to solve the discussed issue. Could you please explain in more details ? Many thanks in advance, Sh?rab. From rb.proj at googlemail.com Wed Sep 15 17:15:27 2010 From: rb.proj at googlemail.com (ReimarBauer) Date: Wed, 15 Sep 2010 23:15:27 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: <20100915085619.GA3795@pema> References: <20100915054038.GA3555@pema> <20100915085619.GA3795@pema> Message-ID: On 15.09.2010 10:56, Sh?rab wrote: > Hi Reimar, > > Thanks a lot for having replied so promptly. > >> sstable works with moin-1.9, see patch on bottom of page > > Oh ! Wasn't there last time I looked, thanks ! > >> but may be you are looking for something like >> http://moinmo.in/MacroMarket/DictColumns > > I gave it a quick look. How is this related to the problem ? > I'm sorry, I don't understand how it may help to solve the discussed > issue. Could you please explain in more details ? it collects data from different pages and shows those in a tabular. currently it has no math module but I have had also that wish. cheers Reimar From Sebastien.Hinderer at ens-lyon.org Thu Sep 16 03:05:33 2010 From: Sebastien.Hinderer at ens-lyon.org (=?iso-8859-1?Q?Sh=E9rab?=) Date: Thu, 16 Sep 2010 09:05:33 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: References: <20100915054038.GA3555@pema> <20100915085619.GA3795@pema> Message-ID: <20100916070533.GA3545@pema> Hi Reimar, > it collects data from different pages Ah _different_ pages. Here it's more to collect datas from the current table. I don't see a naturalway to spread the datas over several pages. Thanks, Sh?rab. From lists at sumpfralle.de Fri Sep 17 06:34:46 2010 From: lists at sumpfralle.de (Lars Kruse) Date: Fri, 17 Sep 2010 12:34:46 +0200 Subject: [Moin-user] ReStructured Text: missing the highlight feature Message-ID: <20100917123446.5d2ed0e4@erker> Dear folks, I am currently using the Restructured Text parser (rst) for writing theatre play scripts. In general it works great. I only miss the highlight feature. This was already documented in a bug report: http://moinmo.in/MoinMoinBugs/UnsupportedReStructuredTextFeatures/ReStructuredTextMoinMoinTestDocument I tried to dig into the code looking for the implementation of the hightligh feature, but I failed to find the piece of code that is missing in the rst parser. I assumed, that adding the following line from the "format" function of the "wiki" parser to the "rst" parser would do the trick, but there was no progress: self.hilite_re = self.formatter.page.hilite_re (I tried this in MoinMoin 1.5.3 - but the http://moinmo.in installation fails to highlight text as well) Sadly I don't have a real clue how the parsers interact with the formatters in detail. Does anybody of you have an idea, how I could investigate the problem furthermore? thanks for your time, Lars From rb.proj at googlemail.com Sun Sep 19 05:34:08 2010 From: rb.proj at googlemail.com (ReimarBauer) Date: Sun, 19 Sep 2010 11:34:08 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: <20100916070533.GA3545@pema> References: <20100915054038.GA3555@pema> <20100915085619.GA3795@pema> <20100916070533.GA3545@pema> Message-ID: On 16.09.2010 09:05, Sh?rab wrote: > Hi Reimar, > >> it collects data from different pages > > Ah _different_ pages. > Here it's more to collect datas from the current table. I don't see a > naturalway to spread the datas over several pages. > > Thanks, > Sh?rab. > Sorry for missing you on #moin irc. cheers Reimar From Sebastien.Hinderer at ens-lyon.org Sun Sep 19 08:14:38 2010 From: Sebastien.Hinderer at ens-lyon.org (=?iso-8859-1?Q?Sh=E9rab?=) Date: Sun, 19 Sep 2010 14:14:38 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: References: <20100915054038.GA3555@pema> <20100915085619.GA3795@pema> <20100916070533.GA3545@pema> Message-ID: <20100919121438.GA3516@pema> Hi Reimar, > Sorry for missing you on #moin irc. No problem ! I actually planned to contact you through the list since the question may intrest others, thanks a lot for the reminder. So the question is: is it possible with ssparser to sum over anunknown number of lines ? For instance you have a total line as the last line of the table, and you want that in column 1 of this line is the sum of all the first columns in the previous lines, but you don't know how many of there are: this grows with time. Thanks ! Sh?rab. From rb.proj at googlemail.com Sun Sep 19 11:22:33 2010 From: rb.proj at googlemail.com (ReimarBauer) Date: Sun, 19 Sep 2010 17:22:33 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: <20100919121438.GA3516@pema> References: <20100915054038.GA3555@pema> <20100915085619.GA3795@pema> <20100916070533.GA3545@pema> <20100919121438.GA3516@pema> Message-ID: On 19.09.2010 14:14, Sh?rab wrote: > Hi Reimar, > >> Sorry for missing you on #moin irc. > > No problem ! I actually planned to contact you through the list since > the question may intrest others, thanks a lot for the reminder. > > So the question is: is it possible with ssparser to sum over anunknown > number of lines ? Not now, one has to introduce a syntax for that. e.g. =@sum(A$) and the $ is internal expanded to a range of 0:-1 I looked into sc http://manpages.ubuntu.com/manpages/maverick/man1/sc.1.html and didn't see a range command like this too. sstable is based on sctable. Reimar > For instance you have a total line as the last line of the table, and > you want that in column 1 of this line is the sum of all the first > columns in the previous lines, but you don't know how many of there are: > this grows with time. > > Thanks ! > Sh?rab. > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev From waqas805 at hotmail.com Mon Sep 20 11:33:23 2010 From: waqas805 at hotmail.com (Tinku Badshah) Date: Mon, 20 Sep 2010 17:33:23 +0200 Subject: [Moin-user] SuperUser Cannot switch users with moin-193 Message-ID: Hi, I switched users always in older versions of moinmoin e.g. 1.8* . Now I installed moin_193 and i cannot switch users as a SuperUser under wiki settings. Can someone guide me Why? Thanks in advance, Best Regards, Tinku -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at googlemail.com Mon Sep 20 12:00:26 2010 From: rb.proj at googlemail.com (ReimarBauer) Date: Mon, 20 Sep 2010 18:00:26 +0200 Subject: [Moin-user] SuperUser Cannot switch users with moin-193 In-Reply-To: References: Message-ID: On 20.09.2010 17:33, Tinku Badshah wrote: > > Hi, > > I switched users always in older versions of moinmoin e.g. 1.8* . Now > I installed moin_193 and i cannot switch users as a SuperUser under wiki > settings. > Can someone guide me Why? Which auth schema do you use may be read the discussion at http://moinmo.in/MoinMoinBugs/1.9SuperUserUnableToSuid cheers Reimar > Thanks in advance, > Best Regards, > Tinku > > > > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From mike.h.gentry.lists at googlemail.com Mon Sep 20 15:38:04 2010 From: mike.h.gentry.lists at googlemail.com (Mike Gentry) Date: Mon, 20 Sep 2010 20:38:04 +0100 Subject: [Moin-user] MoinMoin desktop wiki on Debian: adding LaTeX maths support Message-ID: <4C97B81C.7080908@googlemail.com> Hello all, I'm trying to add support for simple LaTeX equations to my desktop wiki, running MoinMoin 1.8.4 on Debian Testing. I've followed the instructions here; http://johannes.sipsolutions.net/Projects/new-moinmoin-latex But after using the suggested test; > <> I get the following; > latex error! exitcode was 1 (signal 0), transscript follows: > > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) > entering extended mode > (./latex_e3899dd916ea3717aab824eea4955e4e13426064_p.tex > LaTeX2e <2009/09/24> > Babel and hyphenation patterns for english, usenglishmax, dumylang, noh > yphenation, loaded. > (/usr/share/texmf-texlive/tex/latex/base/article.cls > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class > (/usr/share/texmf-texlive/tex/latex/base/size12.clo)) > (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty > (/usr/share/texmf-texlive/tex/latex/base/utf8.def > (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu) > (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu) > (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu))) > > ! LaTeX Error: File `dsfont.sty' not found. > > Type X to quit or to proceed, > or enter new name. (Default extension: sty) > > Enter file name: > ! Emergency stop. > > > l.6 \begin > {document}^^M > No pages of output. > Transcript written on latex_e3899dd916ea3717aab824eea4955e4e13426064_p.log. Unfortunately doublestroke, including dsfont.sty, does seem to be installed; $ ls /usr/share/texmf-texlive/tex/latex/doublestroke/ dsfont.sty Udsrom.fd Udsss.fd I can compile dsdoc.tex, which comes in an archive I downloaded from CTAN (http://www.ctan.org/tex-archive/fonts/doublestroke/) without error, leading me to believe that this should work (although this isn't actually where my doublestroke version came from - it was either there by default with LaTeX, or installed through Debian package management during my experiments). So, I'm out of ideas. Can anyone shed any light? I'd prefer not to use an outside server to translate my LaTeX if possible, but other than that I have no real preferences as to how to accomplish this. And sorry if any of this is stupid, because I'm new... :) Thanks. From mike.h.gentry.lists at googlemail.com Mon Sep 20 15:55:01 2010 From: mike.h.gentry.lists at googlemail.com (Mike Gentry) Date: Mon, 20 Sep 2010 20:55:01 +0100 Subject: [Moin-user] MoinMoin desktop wiki on Debian: adding LaTeX maths support In-Reply-To: <4C97B81C.7080908@googlemail.com> References: <4C97B81C.7080908@googlemail.com> Message-ID: <4C97BC15.5050205@googlemail.com> Sorry for the noise, I am officially stupid after all :). Tests such as this; {{{#!latex \begin{equation} x=R\frac{\beta\theta}{\sqrt{\alpha\beta}}\cos{(\alpha\phi)} \end{equation} \begin{eqnarray} y & = & R\frac{\alpha\phi}{\sqrt{\alpha\beta}} \\ \alpha & = & \frac{2\arccos{c}}{\pi} \\ \beta & = & \frac{\alpha}{2p} \end{eqnarray} }}} from here; http://www.vislab.usyd.edu.au/moinwiki/moinmoin-LaTeX work fine. Still curious why it doesn't see the font, but my main concern is dealt with. Thanks. From waqas805 at hotmail.com Tue Sep 21 07:10:07 2010 From: waqas805 at hotmail.com (Tinku Badshah) Date: Tue, 21 Sep 2010 13:10:07 +0200 Subject: [Moin-user] ImageLinkNotWorkingWithIE8_moin193 Message-ID: Hi, After installing the moin_193 with following server details, the image links are not working. ServerDetail= Apache/2.2.13 (Win32) mod_wsgi/3.3 Python/2.7 mod_auth_sspi/1.0.4 These following images were working with moin_1.8.*. || [[CategoryHomepage|{{attachment:Tinku.png}}]] <
>Tinku|| Can someone help me? I have also reported this Bug (http://moinmo.in/MoinMoinBugs/ImageLinkNotWorkingWithIE8_moin193) on moin moin site. My wiki is using lots of images for links and therefore i cannot use my wiki properly. It happens only with Ie. I tested with Firefox and link images are working. Thanks in advance, Best Regards, Tinku -------------- next part -------------- An HTML attachment was scrubbed... URL: From waqas805 at hotmail.com Tue Sep 21 07:34:54 2010 From: waqas805 at hotmail.com (Tinku Badshah) Date: Tue, 21 Sep 2010 13:34:54 +0200 Subject: [Moin-user] SuperUser Cannot switch users with moin-193 Message-ID: Hi Reimer, I am using the following configuration for my moin_193. Apache/2.2.13 (Win32) mod_wsgi/3.3 Python/2.7 mod_auth_sspi/1.0.4 And i am using this following auth in wikiconfig.py file:- from MoinMoin.auth import GivenAuth auth = [GivenAuth(autocreate=True, strip_windomain=True, titlecase=True, )] I made the following changes (as described in suggested site from you) in my suid.py file and then i can see now switch user option under preferences. But i dont know that it will effect my wiki security or not. def allowed(self): return UserPrefBase.allowed(self) and self.request.user.isSuperUser() Thanks for your help, Cheer, Tinku ------------------------------------------- Message: 6 Date: Mon, 20 Sep 2010 18:00:26 +0200 From: ReimarBauer Subject: Re: [Moin-user] SuperUser Cannot switch users with moin-193 To: moin-user at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On 20.09.2010 17:33, Tinku Badshah wrote: > > Hi, > > I switched users always in older versions of moinmoin e.g. 1.8* . Now > I installed moin_193 and i cannot switch users as a SuperUser under wiki > settings. > Can someone guide me Why? Which auth schema do you use may be read the discussion at http://moinmo.in/MoinMoinBugs/1.9SuperUserUnableToSuid cheers Reimar > Thanks in advance, > Best Regards, > Tinku -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at gmail.com Tue Sep 21 08:02:28 2010 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 21 Sep 2010 14:02:28 +0200 Subject: [Moin-user] SuperUser Cannot switch users with moin-193 In-Reply-To: References: Message-ID: Am 21.09.2010 13:34, schrieb Tinku Badshah: > > Hi Reimer, > > > > I am using the following configuration for my moin_193. > > > Apache/2.2.13 (Win32) mod_wsgi/3.3 Python/2.7 mod_auth_sspi/1.0.4 > > > > And i am using this following auth in wikiconfig.py file:- > > > > from MoinMoin.auth import GivenAuth > auth = [GivenAuth(autocreate=True, strip_windomain=True, titlecase=True, )] > > > > I made the following changes (as described in suggested site from you) in my suid.py file and then i can see now switch user option under preferences. But i dont know that it will effect my wiki security or not. > > > def allowed(self): > return UserPrefBase.allowed(self) and self.request.user.isSuperUser() > > > > Thanks for your help, > > Cheer, > > Tinku > > ------------------------------------------- I haven't suggested to do that. May be read the text again. Reimar > > > > Message: 6 > Date: Mon, 20 Sep 2010 18:00:26 +0200 > From: ReimarBauer > Subject: Re: [Moin-user] SuperUser Cannot switch users with moin-193 > To: moin-user at lists.sourceforge.net > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > On 20.09.2010 17:33, Tinku Badshah wrote: >> >> Hi, >> >> I switched users always in older versions of moinmoin e.g. 1.8* . Now >> I installed moin_193 and i cannot switch users as a SuperUser under wiki >> settings. >> Can someone guide me Why? > > Which auth schema do you use > > may be read the discussion at > http://moinmo.in/MoinMoinBugs/1.9SuperUserUnableToSuid > > cheers > Reimar >> Thanks in advance, >> Best Regards, >> Tinku > > > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From waqas805 at hotmail.com Thu Sep 23 08:45:11 2010 From: waqas805 at hotmail.com (Tinku Badshah) Date: Thu, 23 Sep 2010 14:45:11 +0200 Subject: [Moin-user] Add spaces to displayed wiki page names Message-ID: Hello, I am using wiki 193 and i want to ask that how can i display my page list without camelcase notation. I am using full search for the category pages. e.g. <> when i use above macro to display the list of my pages, then i got following page list (without space between the names) e.g. ChangingAnLoggingPackageName ConnectingToAnOpen FirefoxBrowserSettings ForwardingSSOKerberosHash But i want to display this list with spaces between the page name. e.g. Changing An Logging Package Name Connecting To An Open Firefox Browser Settings Forwarding SSO Kerberos Hash I have activated the option "Add spaces to displayed wiki names" under user Preferences, but there no effect on the page name list. Anyone can help me in this case? Thanks in advance, Regards, Tinku -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Martinec+moin at ijs.si Thu Sep 23 09:57:10 2010 From: Mark.Martinec+moin at ijs.si (Mark Martinec) Date: Thu, 23 Sep 2010 15:57:10 +0200 Subject: [Moin-user] Wiki staging area Message-ID: <201009231557.10896.Mark.Martinec+moin@ijs.si> (using moin-1.9.3) I'd like to set up a staging area for a small subset of important top-level wiki pages (about half a dozen). The intention is to prepare and experiment with a new version of contents, then when everything looks alright push the change to its primary location within the document hierarchy, replacing the old-version of these same documents. I wonder what would be a suitable and comfortable approach to implement this. Two ideas come to mind: - set up an alternative back-side wiki, register it as an InterWiki, and use moin synchronization. This seems to be an overkill for staging just a few pages. Is it possible to synchronize from the same wiki??? - prepare the new set of pages (perhaps using templates), giving them a unique name, then Include() them from the primary document. Switching to a new version would involve replacing the name in the Include macro calls. Any other suggestions? Having a 'copy' action available (similar to 'rename') could be useful too. Mark From rick.vanderveer at gmail.com Thu Sep 23 10:16:57 2010 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Thu, 23 Sep 2010 09:16:57 -0500 Subject: [Moin-user] Wiki staging area In-Reply-To: <201009231557.10896.Mark.Martinec+moin@ijs.si> References: <201009231557.10896.Mark.Martinec+moin@ijs.si> Message-ID: I have a few pages I have to stage occasionally. However, I don't do anything as fancy as a stage server, and I might suggest that's completely overkill. All I do is simply draft the page on a new separate page on my personal wiki page (with read/write rights set to none for all but me). Then, when comes time to make the page live, I simply copy the wiki markup and paste it into the target page. Easy! If you have a handful of images, you can upload them separately, or go into the backend and move them from the draft page to the target page. Whichever is easier. -Rick On Thu, Sep 23, 2010 at 8:57 AM, Mark Martinec > wrote: > (using moin-1.9.3) > > I'd like to set up a staging area for a small subset of important > top-level wiki pages (about half a dozen). The intention is to prepare > and experiment with a new version of contents, then when everything > looks alright push the change to its primary location within the > document hierarchy, replacing the old-version of these same documents. > > I wonder what would be a suitable and comfortable approach > to implement this. > > Two ideas come to mind: > > - set up an alternative back-side wiki, register it as an InterWiki, > and use moin synchronization. This seems to be an overkill for staging > just a few pages. Is it possible to synchronize from the same wiki??? > > - prepare the new set of pages (perhaps using templates), giving them > a unique name, then Include() them from the primary document. > Switching to a new version would involve replacing the name > in the Include macro calls. > > Any other suggestions? > > Having a 'copy' action available (similar to 'rename') could be > useful too. > > Mark > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators North America > contest > _______________________________________________ > 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 rb.proj at googlemail.com Sun Sep 26 03:57:47 2010 From: rb.proj at googlemail.com (ReimarBauer) Date: Sun, 26 Sep 2010 09:57:47 +0200 Subject: [Moin-user] Add spaces to displayed wiki page names In-Reply-To: References: Message-ID: On 23.09.2010 14:45, Tinku Badshah wrote: > > Hello, > > I am using wiki 193 and i want to ask that how can i display my page > list without camelcase notation. I am using full search for the category > pages. > e.g. <> > when i use above macro to display the list of my pages, then i got > following page list (without space between the names) > e.g. > > 1. ChangingAnLoggingPackageName > > 2. ConnectingToAnOpen > > 3. FirefoxBrowserSettings > > 4. ForwardingSSOKerberosHash > > > > But i want to display this list with spaces between the page name. > e.g. > > > 1. Changing An Logging Package Name > > 2. Connecting To An Open > > 3. Firefox Browser Settings > > 4. Forwarding SSO Kerberos Hash > > > > I have activated the option "Add spaces to displayed wiki names" under > user Preferences, but there no effect on the page name list. > > Anyone can help me in this case? > Thanks in advance, > Regards, > Tinku > > Why not just creating pages with blanks in their name? Reimar From tw-public at gmx.de Mon Sep 27 04:55:10 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 27 Sep 2010 10:55:10 +0200 Subject: [Moin-user] moin2 bitbucket repositories / hgbb Message-ID: <1285577710.3282.18.camel@x300.fritz.box> Moin, just in case you'ld prefer to collaborate with us using bitbucket (to follow us, to work on your ("forked") copy of moin source, publish your changes for review, do pull requests, let us easily pull your changes, etc.), you can easily do that now (for moin2): http://bitbucket.org/thomaswaldmann/moin-2.0-dev There's also a mirror of the emeraldtree repo (a fork of elementtree with some cleanup and improvements, moin2 uses it and bundles it as MoinMoin/support/emeraldtree): http://bitbucket.org/thomaswaldmann/emeraldtree These repos are mirrors of the main development repositories (if someone pushes to main repo, the changesets are immediately pushed to bitbucket repo). For comfortable working with bitbucket and mercurial, the hgbb extension is recommended (but not required). Currently it lets you abbreviate bb repo urls and comfortably watch forks for incoming changes. Cheers, Thomas From Sebastien.Hinderer at ens-lyon.org Wed Sep 29 11:39:22 2010 From: Sebastien.Hinderer at ens-lyon.org (=?iso-8859-1?Q?Sh=E9rab?=) Date: Wed, 29 Sep 2010 17:39:22 +0200 Subject: [Moin-user] Spreadsheet-like features in moin ? In-Reply-To: References: <20100915054038.GA3555@pema> <20100915085619.GA3795@pema> <20100916070533.GA3545@pema> <20100919121438.GA3516@pema> Message-ID: <20100929153922.GA3744@pema> Hello, Reimar ReimarBauer (2010/09/19 17:22 +0200): > > So the question is: is it possible with ssparser to sum over anunknown > > number of lines ? > > Not now, one has to introduce a syntax for that. e.g. =@sum(A$) and the > $ is internal expanded to a range of 0:-1 But ranges _are_ supported, right ? So what would happend if one would write the range 0:-1 ? Would that work ? Also, on one given line, it would be nice to be able to write a formula that mentions the other columns of the same line, without knowing which line it is. For example, assume you have a table of marks where each line contains a student name in first column, then 3 marks in the columns 2, 3 and 4, and then it would be nice that column 5 is (Col2+Col3+Col4)/3 for every line... would that be possible ? Frankly, I'd love to have these features, becase we need them all the time, but I know almost nothing about Python and have the feeling it would take some time I don't have now to learn. So, if someone could implement something, even quick and dirty, that would be really appreciated. Thanks a lot, Sh?rab. From info at rickvanderzwet.nl Wed Sep 29 14:14:17 2010 From: info at rickvanderzwet.nl (Rick van der Zwet) Date: Wed, 29 Sep 2010 20:14:17 +0200 Subject: [Moin-user] MoinMoin user authentication against Drupal - testers wanted Message-ID: I have created an authenticator class to allow MoinMoin to verify account details again an drupal user database. The module is based on a combination of ExternalCookie, GivenAuth and MoinAuth. Could anybody check for potential failures in especially XS scripting and SQL injection attacks? http://moinmo.in/HelpOnAuthentication/DrupalAuth Thanks in advance! /Rick -- http://rickvanderzwet.nl