From tw at waldmann-edv.de Mon Jan 6 17:27:28 2014 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 06 Jan 2014 23:27:28 +0100 Subject: [Moin-user] MoinMoin 1.9.8 release preparations Message-ID: <52CB2DD0.9030202@waldmann-edv.de> Moin :), I am currently preparing next moin 1.9.x release. You can help by updating the https://master19.moinmo.in/ wiki - the MoinI18n/xx subpages ("PO files" with translations) might need some string updates. That wiki and also the moinmo.in wiki run the current code that will go into the release later. If you find issues, file bugs on the https://moinmo.in/ wiki. As usual, the release will have bugfixes, performance improvements and some other changes to fix issues that surfaced in production: Performance =========== Some sites have issues with performance (moin having a rather high resource consumption). Usually this is triggered by frequent accesses to expensive to compute functionality. moin 1.9.8 has some ways to deal with that: * log_timing - find out what is running slow / running too long * modify backlink rendering (== avoid fullsearches triggered by bots) * some macros/actions check for bots and don't do expensive stuff for them * rss feed and edit-log access is faster Fixes ===== * won't create tons of (almost) empty pagedirs any more * compat fixes for some newer or older python versions The (more verbose) changelog is there: http://hg.moinmo.in/moin/1.9/file/tip/docs/CHANGES Cheers, Thomas From crystalatom at gmail.com Thu Jan 16 11:47:32 2014 From: crystalatom at gmail.com (Atom Crystal) Date: Thu, 16 Jan 2014 11:47:32 -0500 Subject: [Moin-user] SyncWiki problems Message-ID: Hi there, I am trying to sync my desktop version wiki to a remote wiki (freshly installed, single wiki not in a farm) running under apache2 using moin.wsgi and running into two problems. 1. For a page deleted locally, say, it seems the directory of the corresponding page is still kept, such that when I run sync, it gives the following error mesg: *File "C:\GreenTools\moin-1.9.7\MoinMoin\action\SyncPages.py", line 220, in render* *self.sync(params, local, remote)* *File "C:\GreenTools\moin-1.9.7\MoinMoin\action\SyncPages.py", line 511, in sync* *rpc_aggregator.scheduler(remote.create_multicall_object, handle_page, m_pages, 8, remote.prepare_multicall)* *File "C:\GreenTools\moin-1.9.7\MoinMoin\util\rpc_aggregator.py", line 73, in scheduler* *call = gen.fetch_call()* *File "C:\GreenTools\moin-1.9.7\MoinMoin\util\rpc_aggregator.py", line 32, in fetch_call* *next_item = self._gen.next()* *File "C:\GreenTools\moin-1.9.7\MoinMoin\action\SyncPages.py", line 453, in run* *current_page.saveText(merged_text, sp.local_rev or 0, comment=comment) # YYY direct access* *File "C:\GreenTools\moin-1.9.7\MoinMoin\PageEditor.py", line 1081, in saveText* *raise self.EmptyPage(msg)* *EmptyPage: You cannot save empty pages.* The problem disappeared when I manually deleted the directory under wiki/data/page/, so is this a bug or did I miss something after deleting the wiki page? 2. I am currently stumbled at is that sync script reports a page not existing while it actually exists. What strikes me is that some of the pages are being synced like I see BioStat, and the GeneralConcepts/p53 pages on remote wiki, but it always stopped at one certain page, say here is the ProteasesAndFusionTags page. If I delete this page, the sync process will stop another page. Following is the log info from the SyncWiki page. I am really confused. *Synchronisation started - 2014-01-16 11:24:50* *Got a list of 156 local and 3 remote pages. This results in 156 pages to process.* *After filtering: 140 pages* *Synchronising page Resources with remote page Resources ...* *Synchronising page Systems with remote page Systems ...* *Synchronising page GeneralConcepts/p53 with remote page GeneralConcepts/p53 ...* *Synchronising page LearnMath with remote page LearnMath ...* *Synchronising page Systems/NACHTFamily with remote page Systems/NACHTFamily ...* *Synchronising page BioStat with remote page BioStat ...* *Synchronising page GeneralConcepts/Organelles with remote page GeneralConcepts/Organelles ...* *Synchronising page Systems/APP with remote page Systems/APP ...* *Synchronising page ProteasesAndFusionTags with remote page ProteasesAndFusionTags ...* */!\* *A severe error occurred:Traceback (most recent call last):* *File "C:\GreenTools\moin-1.9.7\MoinMoin\action\SyncPages.py", line 220, in render* *self.sync(params, local, remote)* *File "C:\GreenTools\moin-1.9.7\MoinMoin\action\SyncPages.py", line 507, in sync* *rpc_aggregator.scheduler(remote.create_multicall_object, handle_page, m_pages, 8, remote.prepare_multicall)* *File "C:\GreenTools\moin-1.9.7\MoinMoin\util\rpc_aggregator.py", line 73, in scheduler* *call = gen.fetch_call()* *File "C:\GreenTools\moin-1.9.7\MoinMoin\util\rpc_aggregator.py", line 32, in fetch_call* *next_item = self._gen.next()* *File "C:\GreenTools\moin-1.9.7\MoinMoin\action\SyncPages.py", line 385, in run* *diff_result = remote.get_diff_post(yielder.fetch_result())* *File "C:\GreenTools\moin-1.9.7\MoinMoin\wikisync.py", line 221, in get_diff_post* *raise value* *Fault: * ~ Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk at dirkgomez.de Tue Jan 21 06:23:06 2014 From: dirk at dirkgomez.de (Dirk =?iso-8859-1?b?R/NtZXo=?=) Date: Tue, 21 Jan 2014 12:23:06 +0100 Subject: [Moin-user] Authenticate against LDAP and check whether user is in a particular LDAP Netgroup Message-ID: <20140121122306.20491gs5p8rbsza2@webmail.in-berlin.de> Hello there, I'm trying to configure MoinMoin wiki so that I can authenticate users against an internal LDAP. Additionally I want to check whether a user is member of a particular netgroup e. g. cn=admins,ou=netgroup,dc=staging,dc=example,dc=com. The nisNetgroupTriple pattern for my own user would look this: (*, dirkgomez, *) Has someone figured out a search_filter that works? Can't be that hard, but I've run against a wall often enough. Dirk From tw at waldmann-edv.de Tue Jan 21 06:37:48 2014 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 21 Jan 2014 12:37:48 +0100 Subject: [Moin-user] SyncWiki problems In-Reply-To: References: Message-ID: <52DE5C0C.7070103@waldmann-edv.de> > 1. For a page deleted locally, say, it seems the directory of the > corresponding page is still kept, Sure, it keeps all the history there. >such that when I run sync, it gives the following error mesg: > /EmptyPage: You cannot save empty pages. If you just deleted a page and tried sync, it seems this is a bug. You can work around it by instead of deleting a page, just edit it and write "deleted" on it. Not pretty, but should work. I am a bit wondering though as this is a rather simple use case and should work... > 2. I am currently stumbled at is that sync script reports a page not > existing while it actually exists. What strikes me is that some of the > pages are being synced like I see BioStat, and the GeneralConcepts/p53 > pages on remote wiki, but it always stopped at one certain page, say > here is the ProteasesAndFusionTags page. If I delete this page, the > sync process will stop another page. Following is the log info from the > SyncWiki page. I am really confused. I don't personally use the sync function, but maybe someone else on the ML can help.