From renato.pontefice at gmail.com Tue Jun 4 11:36:44 2013 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Tue, 4 Jun 2013 08:36:44 -0700 (PDT) Subject: [Moin-user] free .rst sandbox Message-ID: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> Hi, I would try the rst markup, to build a small doc. I would try before install anythings. Do someone can show me a link to a moinmoin wiki, that can use restructured text, and offer free account? TIA Renato -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at sumpfralle.de Tue Jun 4 19:27:30 2013 From: lists at sumpfralle.de (Lars Kruse) Date: Wed, 5 Jun 2013 01:27:30 +0200 Subject: [Moin-user] free .rst sandbox In-Reply-To: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> References: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> Message-ID: <20130605012730.13de68e5@erker.lan> Hi Renato, > Do someone can show me a link to a moinmoin wiki, that can use restructured > text, and offer free account? Feel invited to play around here: https://systemausfall.org/wikis/spontanplanung/WikiSandBox cheers, Lars From renato.pontefice at gmail.com Wed Jun 5 08:44:03 2013 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Wed, 5 Jun 2013 05:44:03 -0700 (PDT) Subject: [Moin-user] free .rst sandbox In-Reply-To: <20130605012730.13de68e5@erker.lan> References: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> <20130605012730.13de68e5@erker.lan> Message-ID: <54a0ed1e-1ac0-43e4-b21d-6698d74c989e@googlegroups.com> thanks a lot Lars... but... how can I export in .rst? :-( Renato Il giorno mercoled? 5 giugno 2013 01:27:30 UTC+2, Lars Kruse ha scritto: > > Hi Renato, > > > Do someone can show me a link to a moinmoin wiki, that can use > restructured > > text, and offer free account? > > Feel invited to play around here: > https://systemausfall.org/wikis/spontanplanung/WikiSandBox > > cheers, > Lars > > ------------------------------------------------------------------------------ > > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Moin-user mailing list > Moin... at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From renato.pontefice at gmail.com Wed Jun 5 09:55:03 2013 From: renato.pontefice at gmail.com (Renato Pontefice) Date: Wed, 5 Jun 2013 06:55:03 -0700 (PDT) Subject: [Moin-user] free .rst sandbox In-Reply-To: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> References: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> Message-ID: <6d62bd81-d9f0-4717-a597-721b0dd0f7f1@googlegroups.com> Lars, Hi again. I've foud the way to publish .rst I added {{{#!rst at the beginning of a page. Then export it as a .txt import it with sphinx (not yet done) and from sphinx do what I want to do (export as .tex, .html...) Is it correct? Renato Il giorno marted? 4 giugno 2013 17:36:44 UTC+2, Renato Pontefice ha scritto: > > Hi, I would try the rst markup, to build a small doc. > I would try before install anythings. > > Do someone can show me a link to a moinmoin wiki, that can use > restructured text, and offer free account? > > TIA > > Renato > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at sumpfralle.de Wed Jun 5 22:27:18 2013 From: lists at sumpfralle.de (Lars Kruse) Date: Thu, 6 Jun 2013 04:27:18 +0200 Subject: [Moin-user] free .rst sandbox In-Reply-To: <6d62bd81-d9f0-4717-a597-721b0dd0f7f1@googlegroups.com> References: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> <6d62bd81-d9f0-4717-a597-721b0dd0f7f1@googlegroups.com> Message-ID: <20130606042718.6c77bd2e@erker.lan> Hi Renato, > I've foud the way to publish .rst > > I added > > {{{#!rst > at the beginning of a page. > Then export it as a .txt Moinmoin stores these files in plain text. Thus you can extract these files manually if you have access to the server (your own setup). > import it with sphinx (not yet done) > and from sphinx do what I want to do (export as .tex, .html...) > > Is it correct? This sounds reasonable, but I never used this parser before. Good luck! Lars PS: somehow your mails are directed at "moin-user at googlegroups.com". Is this an alias for this mailinglist? From rb.proj at gmail.com Thu Jun 6 03:03:41 2013 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 06 Jun 2013 09:03:41 +0200 Subject: [Moin-user] Problems after Debian upgrade In-Reply-To: References: <1369230498.27260.39.camel@server.firma.waldmann-edv.de> Message-ID: <51B0344D.1000001@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.05.2013 19:17, Tasslehoff Burrfoot wrote: > First of all let me thank all of you for quick reply and for your > time :) > >> my guess is that you upgraded from python 2.6 to 2.7. This means >> that you might have to reinstall all python packages that you >> manually installed (like moin). Check your >> /usr/local/lib/python2.[67]/dist-packages. You will probably find >> MoinMoin in 2.6 but not in 2.7. > > I checked and confirm that under > /usr/local/lib/python2.6/dist-packages/ I got a MoinMoin file ad > directory, under /usr/local/lib/python2.7/dist-packages/ I got > nothing. --- ritz:/usr/local/lib/python2.6/dist-packages# ls -l > /usr/local/lib/python2.7/dist-packages/ totale 0 > ritz:/usr/local/lib/python2.6/dist-packages# ls -l > /usr/local/lib/python2.6/dist-packages/ totale 6 drwxr-sr-x 2 root > staff 568 mar 18 23:12 jabberbot -rw-r--r-- 1 root staff 3203 mar > 18 23:13 moin-1.9.7-py2.6.egg-info drwxr-sr-x 28 root staff 1688 > mar 18 23:13 MoinMoin > > What should I do? I can safely create a symlink under > /usr/local/lib/python2.7/dist-packages/ to the > python2.6/dist-packages file and directory or there's a better > solution. I presume there's some compiled stuff in this directory. You can just copy the MoinMoin dir to the new location. But then remove all .pyc files. Have a look at the output of cd /usr/local/lib/python2.7/dist-packages/MoinMoin find . | grep .pyc$ if this is the right filter do a rm `find . | grep .pyc$` (these are backticks, to enclose the right command) or make it a list and remove it by a loop Make sure that the directory and files could be read by the service user e.g. cd /usr/local/lib/python2.7/dist-packages/ chmod -R a+rX MoinMoin > > Reguarding compile, I found this page > (http://moinmo.in/HelpOnUpdatingPython) and tried to lauch: python > -c "import compileall; > compileall.compile_dir('/usr/local/share/moin')" It seems to work > without error but still nothing under > /usr/local/lib/python2.7/dist-packages/ and nothing changed on the > website. > > I also tried to configure two alternatives for python using Debian > scripts (update-alternatives) but nothing changed, I presume > because wheezy mod_wsgi is compiled for the default distribution > python package (2.7.3). > > Obviously on every test I tried to restart Apache to reload > modules. > >> For every python upgrade, you need to run moin --config-dir=... >> --wiki-url=http://... maint cleancache for each of your wikis. >> >> Run the command using the same user as the moin process owner. > > I got some problems lauching this command (also as root or apache > user), I got this error: Traceback (most recent call last): File > "/usr/local/bin/moin", line 5, in from > MoinMoin.script.moin import run ImportError: No module named > MoinMoin.script.moin you get that message if your configured default python can't find the library same happens likly with > python >>> import MoinMoin Have also a look into the script cat /usr/local/bin/moin May be there is also a path set, for comparison the content of that file we deliver: http://hg.moinmo.in/moin/1.9/file/4790615ddfb6/setup.py#l172 > > I thought it was caused by packages under Python directory, so I > tried to lauch It directly using python2.6 binary and it worked: > apache at ritz:~$ /usr/bin/python2.6 $(which moin) > --config-dir=/usr/local/share/moin --wiki-url=wiki/ maint > cleancache 2013-05-22 19:10:06,404 INFO MoinMoin.log:151 using > logging configuration read from built-in fallback in MoinMoin.log > module 2013-05-22 19:10:06,407 INFO MoinMoin.log:157 Running > MoinMoin 1.9.7 release code from > /usr/local/lib/python2.6/dist-packages/MoinMoin 2013-05-22 > 19:10:07,341 WARNING MoinMoin.log:112 > /usr/local/lib/python2.6/dist-packages/MoinMoin/support/pygments/plugin.py:39: > > UserWarning: Module pygments was already imported from > /usr/local/lib/python2.6/dist-packages/MoinMoin/support/pygments/__init__.pyc, > > but /usr/lib/python2.6/dist-packages is being added to sys.path > 2013-05-22 19:10:08,411 INFO MoinMoin.config.multiconfig:127 using > wiki config: /usr/local/share/moin/wikiconfig.pyc > >> BTW, you never should load mod_wsgi (needed by moin) and >> mod_python (needed by what?) at the same time. >> >> In fact, you should not use mod_python at all any more. It's dead >> and smells strangely since quite a while. > > You're right, I don't use mod_python, perhaps it's an old module > from previous setup, this server was installed as Debian etch and > upgraded to lenny, squeeze and now wheezy, on an old Via EPIA > 5000A. I immediately removed it. > > Thanks > > Tasslehoff Burrfoot > > --- Public PGP key block at http://tasslehoff.burrfoot.it/url/pgp > > ------------------------------------------------------------------------------ > > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring > service that delivers powerful full stack analytics. Optimize and > monitor your browser, app, & servers with just a few lines of code. > Try New Relic and get this awesome Nerd Life shirt! > http://p.sf.net/sfu/newrelic_d2d_may > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlGwNEkACgkQ5aOc3Q9hk/ljkwCgqUuStOJl89xSM0J1SdYOK5hz ZU0An2onJVJqscfeSC1hgpWKfP6K7PiL =Vdga -----END PGP SIGNATURE----- From rb.proj at gmail.com Thu Jun 6 03:29:05 2013 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 06 Jun 2013 09:29:05 +0200 Subject: [Moin-user] free .rst sandbox In-Reply-To: <20130606042718.6c77bd2e@erker.lan> References: <242fe4ab-d85d-4656-9e07-0024a9154fe1@googlegroups.com> <6d62bd81-d9f0-4717-a597-721b0dd0f7f1@googlegroups.com> <20130606042718.6c77bd2e@erker.lan> Message-ID: <51B03A41.1060200@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06.06.2013 04:27, Lars Kruse wrote: > Hi Renato, > > >> I've foud the way to publish .rst >> >> I added >> >> {{{#!rst at the beginning of a page. Then export it as a .txt > > Moinmoin stores these files in plain text. Thus you can extract > these files manually if you have access to the server (your own > setup). > > >> import it with sphinx (not yet done) and from sphinx do what I >> want to do (export as .tex, .html...) >> >> Is it correct? Hi we have done that step already. We needed it for creating great proposals. see https://utils.icg.kfa-juelich.de/hg/wiki2sphinx/0.3 It uses xmlrpc to fetch all pages from a startpoint by xmlrpc. e.g. Wiki2Sphinx -w http://localhost:8080/ -u UserName -p Prefix The default format of the wiki has to become rst. You can set this in wikifconfig.py Then wiki2spinx can be used to fetch all files and pages from the wiki and create a sphinx document. If some pages are created in wiki markup they become converted to pdf and included by that format into the resulting latex file. If there are same name pdf files as images given on a page they are prefered to become added to the latex file. If there are more interests in this library we can share it on bitbucket. We also have to update the version on pypi to 0.3. cheers Reimar > > This sounds reasonable, but I never used this parser before. Good > luck! Lars > > > PS: somehow your mails are directed at > "moin-user at googlegroups.com". Is this an alias for this > mailinglist? > > ------------------------------------------------------------------------------ > > > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services 3. > A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlGwOjoACgkQ5aOc3Q9hk/lRtgCgxo8//bD/fnzYVwZMN9XBmcDo L0IAoJaQPjVqOWrMK+pif/CEQLXVq04w =mlZB -----END PGP SIGNATURE----- From kop at meme.com Thu Jun 6 17:54:51 2013 From: kop at meme.com (Karl O. Pinc) Date: Thu, 06 Jun 2013 16:54:51 -0500 Subject: [Moin-user] Problems after Debian upgrade In-Reply-To: <51B0344D.1000001@gmail.com> (from rb.proj@gmail.com on Thu Jun 6 02:03:41 2013) References: <1369230498.27260.39.camel@server.firma.waldmann-edv.de> <51B0344D.1000001@gmail.com> Message-ID: <1370555691.12792.3@mofo> It is often useful to see the /usr/share/doc// README.Debian(.gz) file. It may contain debian specific upgrade instructions. On 06/06/2013 02:03:41 AM, R.Bauer wrote: > On 22.05.2013 19:17, Tasslehoff Burrfoot wrote: > > First of all let me thank all of you for quick reply and for your > > time :) > > > >> my guess is that you upgraded from python 2.6 to 2.7. This means > >> that you might have to reinstall all python packages that you > >> manually installed (like moin). Check your > >> /usr/local/lib/python2.[67]/dist-packages. You will probably find > >> MoinMoin in 2.6 but not in 2.7. > > > > I checked and confirm that under > > /usr/local/lib/python2.6/dist-packages/ I got a MoinMoin file ad > > directory, under /usr/local/lib/python2.7/dist-packages/ I got > > nothing. --- ritz:/usr/local/lib/python2.6/dist-packages# ls -l > > /usr/local/lib/python2.7/dist-packages/ totale 0 > > ritz:/usr/local/lib/python2.6/dist-packages# ls -l > > /usr/local/lib/python2.6/dist-packages/ totale 6 drwxr-sr-x 2 root > > staff 568 mar 18 23:12 jabberbot -rw-r--r-- 1 root staff 3203 mar > > 18 23:13 moin-1.9.7-py2.6.egg-info drwxr-sr-x 28 root staff 1688 > > mar 18 23:13 MoinMoin > > > > What should I do? I can safely create a symlink under > > /usr/local/lib/python2.7/dist-packages/ to the > > python2.6/dist-packages file and directory or there's a better > > solution. I presume there's some compiled stuff in this directory. > > > You can just copy the MoinMoin dir to the new location. > But then remove all .pyc files. Have a look at the output of > cd /usr/local/lib/python2.7/dist-packages/MoinMoin > find . | grep .pyc$ > > if this is the right filter do a > rm `find . | grep .pyc$` > > (these are backticks, to enclose the right command) > > or make it a list and remove it by a loop > > Make sure that the directory and files could be read by the service > user > e.g. > cd /usr/local/lib/python2.7/dist-packages/ > chmod -R a+rX MoinMoin > > > > > Reguarding compile, I found this page > > (http://moinmo.in/HelpOnUpdatingPython) and tried to lauch: python > > -c "import compileall; > > compileall.compile_dir('/usr/local/share/moin')" It seems to work > > without error but still nothing under > > /usr/local/lib/python2.7/dist-packages/ and nothing changed on the > > website. > > > > I also tried to configure two alternatives for python using Debian > > scripts (update-alternatives) but nothing changed, I presume > > because wheezy mod_wsgi is compiled for the default distribution > > python package (2.7.3). > > > > Obviously on every test I tried to restart Apache to reload > > modules. > > > >> For every python upgrade, you need to run moin --config-dir=... > >> --wiki-url=http://... maint cleancache for each of your wikis. > >> > >> Run the command using the same user as the moin process owner. > > > > I got some problems lauching this command (also as root or apache > > user), I got this error: Traceback (most recent call last): File > > "/usr/local/bin/moin", line 5, in from > > MoinMoin.script.moin import run ImportError: No module named > > MoinMoin.script.moin > > you get that message if your configured default python can't find the > library > > same happens likly with > > python > >>> import MoinMoin > > Have also a look into the script > > cat /usr/local/bin/moin > > May be there is also a path set, > > for comparison the content of that file we deliver: > http://hg.moinmo.in/moin/1.9/file/4790615ddfb6/setup.py#l172 > > > > > > > I thought it was caused by packages under Python directory, so I > > tried to lauch It directly using python2.6 binary and it worked: > > apache at ritz:~$ /usr/bin/python2.6 $(which moin) > > --config-dir=/usr/local/share/moin --wiki-url=wiki/ maint > > cleancache 2013-05-22 19:10:06,404 INFO MoinMoin.log:151 using > > logging configuration read from built-in fallback in MoinMoin.log > > module 2013-05-22 19:10:06,407 INFO MoinMoin.log:157 Running > > MoinMoin 1.9.7 release code from > > /usr/local/lib/python2.6/dist-packages/MoinMoin 2013-05-22 > > 19:10:07,341 WARNING MoinMoin.log:112 > > /usr/local/lib/python2.6/dist-packages/MoinMoin/support/pygments/ > plugin.py:39: > > > > > UserWarning: Module pygments was already imported from > > /usr/local/lib/python2.6/dist-packages/MoinMoin/support/pygments/ > __init__.pyc, > > > > > but /usr/lib/python2.6/dist-packages is being added to sys.path > > 2013-05-22 19:10:08,411 INFO MoinMoin.config.multiconfig:127 using > > wiki config: /usr/local/share/moin/wikiconfig.pyc > > > >> BTW, you never should load mod_wsgi (needed by moin) and > >> mod_python (needed by what?) at the same time. > >> > >> In fact, you should not use mod_python at all any more. It's dead > >> and smells strangely since quite a while. > > > > You're right, I don't use mod_python, perhaps it's an old module > > from previous setup, this server was installed as Debian etch and > > upgraded to lenny, squeeze and now wheezy, on an old Via EPIA > > 5000A. I immediately removed it. > > > > Thanks > > > > Tasslehoff Burrfoot > > > > --- Public PGP key block at http://tasslehoff.burrfoot.it/url/pgp > > > > > ------------------------------------------------------------------------------ > > > > > Try New Relic Now & We'll Send You this Cool Shirt > > New Relic is the only SaaS-based application performance monitoring > > service that delivers powerful full stack analytics. Optimize and > > monitor your browser, app, & servers with just a few lines of code. > > Try New Relic and get this awesome Nerd Life shirt! > > http://p.sf.net/sfu/newrelic_d2d_may > > > > Karl Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein From kamal2222ahmed at yahoo.com Wed Jun 12 10:41:08 2013 From: kamal2222ahmed at yahoo.com (Kamal Ahmed) Date: Wed, 12 Jun 2013 07:41:08 -0700 (PDT) Subject: [Moin-user] convert moin moin to OSQA format Message-ID: <1371048068.74546.YahooMailNeo@web140506.mail.bf1.yahoo.com> Hi, Is it possible to convert moin moin to OSQA (http://www.osqa.net/) ? If so is there a tool available ? has any one tried it ? Thanks, -Kamal. -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Wed Jun 12 11:50:33 2013 From: paul at boddie.org.uk (Paul Boddie) Date: Wed, 12 Jun 2013 17:50:33 +0200 Subject: [Moin-user] convert moin moin to OSQA format In-Reply-To: <1371048068.74546.YahooMailNeo@web140506.mail.bf1.yahoo.com> References: <1371048068.74546.YahooMailNeo@web140506.mail.bf1.yahoo.com> Message-ID: <201306121750.33623.paul@boddie.org.uk> On Wednesday 12 June 2013 16:41:08 Kamal Ahmed wrote: > Hi, > Is it possible to convert moin moin to OSQA (http://www.osqa.net/) ? It's amusing that the OSQA Wiki is using Atlassian Confluence: http://wiki.osqa.net/display/docs/Home > If so is there a tool available ? has any one tried it ? How would you convert general content into the Q&A format? According to the user guide [*], the individual contributions/fragments use the largely awful Markdown syntax [**]. [*] http://wiki.osqa.net/display/docs/OSQA+User%27s+Guide [**] http://daringfireball.net/projects/markdown/syntax From my experiences converting between markup languages [*] and also parsing Moin syntax for various Moin extension purposes, I would anticipate a lot of problems in getting Markdown to faithfully reproduce the output of non-trivial Moin markup. [*] http://moinmo.in/ConfluenceConverter Paul From desmond.rivet at gmail.com Sun Jun 16 13:09:36 2013 From: desmond.rivet at gmail.com (Desmond Rivet) Date: Sun, 16 Jun 2013 13:09:36 -0400 Subject: [Moin-user] Cracked...advice sought on how to proceed Message-ID: Hi all, I'm running a personal MoinMoin wiki. I've recently discovered that I've been cracked. I'm finding lots of entries in the data/pages directory that look like: zupeginwuxi397/edit-log 6pm_Offer_Coupon_Codes/edit-log All the edit-log files (that I've checked) appear to be empty. The file also appears to be the only contents of these bogus pages/directories. As I said, I have a ton of these in my data/pages folder. And it's been going on for a while, judging by the backup I've looked at. I'm not sure how it happened or what the intent was. I'm not sure what exactly has been compromised. Can I just change my login password and get a better SSL certificate? (I always logged in via https, but maybe the certificate was compromised). That being said, all is not lost. It's fairly easy for me to pick out my own pages from the mess - looking for folders that have a "revisions" subfolder seems to do the trick. So I'm seeking some advice on how to proceed. Can I simply rm -rf the bogus directories from the file system? If I do this, will I have to update some other cache file? Should I re-install MoinMoin? If I do, is there a way to re-import all my original pages into the new wiki (assuming I pulled out all the pages from my old wiki) ? Thanks in advance for any help! Desmond -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Sun Jun 16 17:24:30 2013 From: paul at boddie.org.uk (Paul Boddie) Date: Sun, 16 Jun 2013 23:24:30 +0200 Subject: [Moin-user] Cracked...advice sought on how to proceed In-Reply-To: References: Message-ID: <201306162324.31078.paul@boddie.org.uk> On Sunday 16 June 2013 19:09:36 Desmond Rivet wrote: > Hi all, > > I'm running a personal MoinMoin wiki. I've recently discovered that I've > been cracked. I'm finding lots of entries in the data/pages directory that > look like: > > zupeginwuxi397/edit-log > 6pm_Offer_Coupon_Codes/edit-log > > All the edit-log files (that I've checked) appear to be empty. The file > also appears to be the only contents of these bogus pages/directories. As > I said, I have a ton of these in my data/pages folder. And it's been going > on for a while, judging by the backup I've looked at. These are attempts to create pages, and I think that a bug was reported recently about such denied attempts still creating files, even though the pages will not be created: http://comments.gmane.org/gmane.comp.web.wiki.moin.general/8998 The following fix was described: http://hg.moinmo.in/moin/1.9/rev/6489ec33874d > I'm not sure how it happened or what the intent was. I'm not sure what > exactly has been compromised. Can I just change my login password and get > a better SSL certificate? (I always logged in via https, but maybe the > certificate was compromised). Provided that you're running a fixed version of Moin that isn't subject to vulnerabilities, I rather suspect that you're seeing the effect of the problem mentioned above. > That being said, all is not lost. It's fairly easy for me to pick out my > own pages from the mess - looking for folders that have a "revisions" > subfolder seems to do the trick. > > So I'm seeking some advice on how to proceed. Can I simply rm -rf the > bogus directories from the file system? If I do this, will I have to > update some other cache file? I don't want to give concrete advice here, but I imagine that you could remove the bogus directories. If Moin has a record of the pages elsewhere, it will probably just ignore them if it comes across something like a log entry referencing them. Maybe the despam action helps in this situation, but I wouldn't know. > Should I re-install MoinMoin? If I do, is there a way to re-import all my > original pages into the new wiki (assuming I pulled out all the pages from > my old wiki) ? I wouldn't immediately re-install Moin. It might be interesting to know what kind of authentication measures you provide, whether you have a restrictive ACL policy, and whether the "newaccount" action is enabled. Generally, to prevent bogus edits you can require users to be registered in order to make edits, you can thereby require authentication, and you can forbid new accounts by putting the following in the class in your configuration file: actions_excluded = ["newaccount"] # plus any others you exclude At that point, maybe the only new files that get created are session files and cache files, as far as I can tell. Paul From desmond.rivet at gmail.com Mon Jun 17 19:36:56 2013 From: desmond.rivet at gmail.com (Desmond Rivet) Date: Mon, 17 Jun 2013 19:36:56 -0400 Subject: [Moin-user] Cracked...advice sought on how to proceed In-Reply-To: <201306162324.31078.paul@boddie.org.uk> References: <201306162324.31078.paul@boddie.org.uk> Message-ID: On Sun, Jun 16, 2013 at 5:24 PM, Paul Boddie wrote: > > I wouldn't immediately re-install Moin. It might be interesting to know > what > kind of authentication measures you provide, whether you have a restrictive > ACL policy, and whether the "newaccount" action is enabled. Generally, to > prevent bogus edits you can require users to be registered in order to make > edits, you can thereby require authentication, and you can forbid new > accounts by putting the following in the class in your configuration file: > > actions_excluded = ["newaccount"] # plus any others you exclude > > At that point, maybe the only new files that get created are session files > and > cache files, as far as I can tell. > I made myself the super user: superuser = [u"DesmondRivet", ] And I disabled editing all around: acl_rights_default = u"All:read" And I granted full rights to the WebmasterGroup: acl_rights_before = u"WebmasterGroup:read,write,delete,revert,admin" of which I am a part. I am not aware of the actions_excluded option. I'll take a look. I cam across the moint maint cleanpages utility, which has proven very useful here. All this being said...I've now tried logging in to my wiki and I'm finding that it's hanging with no response...not sure where to look for problems. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at googlemail.com Fri Jun 21 02:07:28 2013 From: rb.proj at googlemail.com (Reimar Bauer) Date: Fri, 21 Jun 2013 08:07:28 +0200 Subject: [Moin-user] Cracked...advice sought on how to proceed In-Reply-To: References: <201306162324.31078.paul@boddie.org.uk> Message-ID: Am 18.06.2013 01:36, schrieb Desmond Rivet: > On Sun, Jun 16, 2013 at 5:24 PM, Paul Boddie > wrote: > > > I wouldn't immediately re-install Moin. It might be interesting to > know what > kind of authentication measures you provide, whether you have a > restrictive > ACL policy, and whether the "newaccount" action is enabled. > Generally, to > prevent bogus edits you can require users to be registered in order > to make > edits, you can thereby require authentication, and you can forbid new > accounts by putting the following in the class in your configuration > file: > > actions_excluded = ["newaccount"] # plus any others you exclude > > At that point, maybe the only new files that get created are session > files and > cache files, as far as I can tell. > > > I made myself the super user: > > superuser = [u"DesmondRivet", ] > > And I disabled editing all around: > > acl_rights_default = u"All:read" > > And I granted full rights to the WebmasterGroup: > > acl_rights_before = u"WebmasterGroup:read,write,delete,revert,admin" > > of which I am a part. > > I am not aware of the actions_excluded option. I'll take a look. > > I cam across the moint maint cleanpages utility, which has proven very > useful here. > > All this being said...I've now tried logging in to my wiki and I'm > finding that it's hanging with no response...not sure where to look for > problems. > Have you looked into the logs? > join us on IRC #moin irc.freenode.net It is a better place than mail for Q/A Reimar Bauer > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From S-Holzhauer at web.de Thu Jun 27 07:32:09 2013 From: S-Holzhauer at web.de (Sascha Holzhauer) Date: Thu, 27 Jun 2013 13:32:09 +0200 Subject: [Moin-user] Static file server not working Message-ID: <51CC22B9.6060006@web.de> Hello, I try to install moinmoin 1.9.7 at my hosted webspace (domainfactory MyHome Plus) using the moin.cgi script. However, the static file server does not seem to work since the wiki pages are not layed out correctly (only text). I already adapted url_prefix_static in wikiconfig.py. I cannot use Alias. Any suggestions? Thanks! Sascha From tw at waldmann-edv.de Fri Jun 28 05:37:09 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Fri, 28 Jun 2013 11:37:09 +0200 Subject: [Moin-user] Static file server not working In-Reply-To: <51CC22B9.6060006@web.de> References: <51CC22B9.6060006@web.de> Message-ID: <51CD5945.10608@waldmann-edv.de> > I try to install moinmoin 1.9.7 at my hosted webspace (domainfactory > MyHome Plus) using the moin.cgi script. However, the static file server > does not seem to work since the wiki pages are not layed out correctly > (only text). > I already adapted url_prefix_static in wikiconfig.py. I cannot use > Alias. Any suggestions? Thanks! If you use cgi, you should somehow directly use the main web server (e.g. apache2) to serve the static files. While it is technically possible to serve the static files with moin using cgi, this is extremly slow (compared to the method above). So I suggest you find out how to serve static files within your hosting package, put the moin static files somewhere in there and adjust url_prefix_static so moin generates matching URLs for that. Moin's static files are found in MoinMoin/web/static/htdocs/* - copy all you find there to a directory moin_static_197/ below your documentroot. From davide.poccecai at kcl.ac.uk Fri Jun 28 06:20:48 2013 From: davide.poccecai at kcl.ac.uk (Poccecai, Davide) Date: Fri, 28 Jun 2013 10:20:48 +0000 Subject: [Moin-user] Active Directory authentication settings ignored Message-ID: Hi all, I set up a moinmoin wiki on Ubuntu 12.04 server, and I wanted to configure AD authentication to a AD domain running on Win 2003 server. Initially I used the ubuntu python-moinmoin package, and to configure AD authentication I followed the instructions to this webpage: http://moinmo.in/HowTo/UbuntuAD but it wouldn't work. So I removed the ubuntu package and I downloaded the latest distribution from MonMoin (1.9.7). I looked at several other sources of info about moin+AD authentication to check if there was something different, but they were all very similar and my wiki still wouldn't authenticate with AD. >From the same wiki server, I can successfully contact the AD domain controller using ldapsearch and I can get info about accounts, however, when using the wiki, the ldap authentication configuration in my wikiconfig.py is completely ignored. This is confirmed by the fact that the log file for my wiki doesn't throw any message about the ldap_authentication: 2013-06-28 09:30:29,705 MoinMoin.log INFO using logging configuration read from "/usr/local/share/moin/config/logging/logfile_debug_auth" 2013-06-28 09:30:29,706 MoinMoin.log INFO Running MoinMoin 1.9.7 release code from /usr/local/lib/python2.7/dist-packages/MoinMoin 2013-06-28 09:30:51,282 MoinMoin.auth DEBUG session started for user None 2013-06-28 09:30:51,282 MoinMoin.auth DEBUG setup_suid returns None, None 2013-06-28 09:31:05,914 MoinMoin.auth DEBUG session started for user None 2013-06-28 09:31:05,915 MoinMoin.auth DEBUG setup_suid returns None, None 2013-06-28 09:31:05,916 MoinMoin.auth DEBUG moin: performing login action 2013-06-28 09:31:06,174 MoinMoin.auth DEBUG moin: could not authenticate user u'poce' (not valid) while in the moinmoin ldap_login module ( /usr/local/lib/python2.7/dist-packages/MoinMoin/auth/ldap_login.py) there should be some messages thrown to the log: try: try: u = None dn = None server = self.server_uri coding = self.coding logging.debug("Setting misc. ldap options...") ldap.set_option(ldap.OPT_PROTOCOL_VERSION, ldap.VERSION3) # ldap v2 is outdated ldap.set_option(ldap.OPT_REFERRALS, self.referrals) ldap.set_option(ldap.OPT_NETWORK_TIMEOUT, self.timeout) ... Also, running tcpdump on the wiki server I cannot see any traffic going towards the AD server, while I can see traffic when I do an ldapsearch towards the same AD server. The wiki configuration file is reported below: # -*- 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 single wiki If you run a single wiki only, you can omit the farmconfig.py config file and just use wikiconfig.py - it will be used for every request we get in that case. 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.config.multiconfig for a full list of names and their default values. Also, the URL http://moinmo.in/HelpOnConfiguration has a list of config options. ** Please do not use this file for a wiki farm. Use the sample file from the wikifarm directory instead! ** """ import os from MoinMoin.config import multiconfig, url_prefix_static class Config(multiconfig.DefaultConfig): # Critical setup --------------------------------------------------- # Directory containing THIS wikiconfig: wikiconfig_dir = os.path.abspath(os.path.dirname(__file__)) # We assume that this config file is located in the instance directory, like: # instance_dir/ # wikiconfig.py # data/ # underlay/ # If that's not true, feel free to just set instance_dir to the real path # where data/ and underlay/ is located: #instance_dir = '/where/ever/your/instance/is' instance_dir = wikiconfig_dir #instance_dir = '/usr/share/moin' # Where your own wiki pages are (make regular backups of this directory): data_dir = os.path.join(instance_dir, 'data', '') # path with trailing / # Where system and help pages are (you may exclude this from backup): data_underlay_dir = os.path.join(instance_dir, 'underlay', '') # path with trailing / # The URL prefix we use to access the static stuff (img, css, js). # Note: moin runs a static file server at url_prefix_static path (relative # to the script url). # If you run your wiki script at the root of your site (/), just do NOT # use this setting and it will automatically work. # If you run your wiki script at /mywiki, you need to use this: #url_prefix_static = '/mywiki' + url_prefix_static # Wiki identity ---------------------------------------------------- # Site name, used by default for wiki name-logo [Unicode] sitename = u'MyWiki' # Wiki logo. You can use an image, text or both. [Unicode] # For no logo or text, use '' - the default is to show the sitename. # See also url_prefix setting below! logo_string = u'MoinMoin Logo' % url_prefix_static # 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"Home" # The interwiki name used in interwiki links #interwikiname = u'UntitledWiki' # 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 # Security ---------------------------------------------------------- # This is checked by some rather critical and potentially harmful actions, # like despam or PackageInstaller action: #superuser = [u"YourName", ] superuser = [u"WikiAdmin", ] # 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"WikiAdmin:read,write,delete,revert,admin poce:read,write,delete,revert,admin" # The default (ENABLED) password_checker will keep users from choosing too # short or too easy passwords. If you don't like this and your site has # rather low security requirements, feel free to DISABLE the checker by: #password_checker = None # None means "don't do any password strength checks" # Link spam protection for public wikis (Uncomment to enable) # Needs a reliable internet connection. #from MoinMoin.security.antispam import SecurityPolicy # Mail -------------------------------------------------------------- # Configure to enable subscribing to pages (disabled by default) # or sending forgotten passwords. # SMTP server, e.g. "mail.provider.com" (None to disable mail) mail_smarthost = "my_smtp_server.mydomain.org" # The return address, e.g u"Jrgen Wiki " [Unicode] mail_from = u"I group 'all' == CategoryFoo, group 'key' == Foo # moin's code will add ^ / $ at beginning / end when needed # You must use Unicode strings here [Unicode] page_category_regex = ur'(?PCategory(?P(?!Template)\S+))' page_dict_regex = ur'(?P(?P\S+)Dict)' page_group_regex = ur'(?P(?P\S+)Group)' page_template_regex = ur'(?P(?P\S+)Template)' # Content options --------------------------------------------------- # Show users hostnames in RecentChanges show_hosts = 1 # Enable graphical charts, requires gdchart. #chart_options = {'width': 600, 'height': 300} tz_offset = 1.0 # default time zone offset in hours from UTC # -------- LDAP authentication ------------------ from MoinMoin.auth.ldap_login import LDAPAuth ldap_authenticator1 = LDAPAuth( ###server_uri='ldap://my_ad_server', # ldap / active directory server URI - you can use the server name server_uri = 'ldaps://my_ad_server:636', # ldap / active directory server URI - you can use the server name # use ldaps://server:636 url for ldaps, # use ldap://server for ldap without tls (and set start_tls to 0), # use ldap://server for ldap with tls (and set start_tls to 1 or 2). bind_dn = 'active_ad_user', # DN we use for first bind (AD) bind_pw = '*********', # password we use for first bind ###bind_dn = '%(username)s at mydomain.org', # DN we use for first bind (AD) ###bind_pw = '%(password)s', # password we use for first bind base_dn='CN=Users,DC=gipl', # 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='(sAMAccountName=%(username)s)', # ldap filter used for searching: #search_filter = '(sAMAccountName=%(username)s)' # (AD) #search_filter = '(uid=%(username)s)' # (OpenLDAP) # you can also do more complex filtering like: # "(&(cn=%(username)s)(memberOf=CN=WikiUsers,OU=Groups,DC=example,DC=org))" # some attribute names we use to extract information from LDAP (if not None, # if None, the attribute won't be extracted from LDAP): givenname_attribute='givenName', # often 'givenName' - ldap attribute we get the first name from surname_attribute='sn', # often 'sn' - ldap attribute we get the family name from aliasname_attribute='displayName', # often 'displayName' - ldap attribute we get the aliasname from email_attribute='mail', # often 'mail' - ldap attribute we get the email address from 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_require_cert=0, # 0 == ldap.OPT_X_TLS_NEVER (needed for self-signed certs) bind_once=True, # set to True to only do one bind - useful if configured to bind as the user on the first attempt autocreate=True, # set to True to automatically create/update user profiles ) auth = [ldap_authenticator1, ] # this is a list, you may have multiple ldap authenticators # as well as other authenticators # ------------------------------------- End of LDAP authentication ------------------------------- I also tried to authenticate with ldap instead of ldaps, but the result is the same, and by the way, ldaps works fine with ldapsearch? Am I missing something? Any idea why the auth option is totally ignored? Many thanks, Davide -------------- next part -------------- An HTML attachment was scrubbed... URL: