From w at swtk.info Fri Aug 2 06:56:45 2013 From: w at swtk.info (Wojtek Swiatek) Date: Fri, 2 Aug 2013 12:56:45 +0200 Subject: [Moin-user] Authentication via CAS + authorization (ACL) via AD Message-ID: Hello, I am brand new to MoinMoin (dokuwiki user so far) and I am trying to configure it so that the users are authenticated through CAS and ACL are derived from Active Directory groups. The CAS login works great thanks to Richard Liao's implementation. I cannot, however, find a way to set up ACLs so that it is possible to assign a given set of permissions to an Active Directory group. I have not set up AD binding yet as all the examples I found are related to only authentication via LDAP/AD. Would someone have such a setup in place (the authentication does not have to be via CAS, let's say that it is assumed that the user has logged in). Thank you for any pointers Wojtek -------------- next part -------------- An HTML attachment was scrubbed... URL: From uuliyan at gmail.com Fri Aug 2 08:56:33 2013 From: uuliyan at gmail.com (li yan) Date: Fri, 2 Aug 2013 20:56:33 +0800 Subject: [Moin-user] Question on moin installing Message-ID: When I invoke moin in CMD window, I keep getting: 'moin' not recognized as an internal or external command, operable program or batch file. What I have done as follows: 1. Install python 2.7 by installing python2.7.2.msi 2. Install mercurial 3. Install easy_setup, pip, then virtualenv 4. Downloaded moin-2.0 by typing: hg clone http://bitbucket.org/thomaswaldmann/moin-2.0moin-2.0 5. cd into moin-2.0 directory, and type: quickinstall.bat 6. Type: env\Scripts\activate.bat to active the virtual environment 7. Type: moin Tested with both 32-bit Windows xp, and 64-bit Windows 7. Same result both times. I have tried several times, uninstalling python completely, and deleting the python27and moin2.0 directory, and completely reinstalling from scratch, but get the same result each time. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw at waldmann-edv.de Tue Aug 6 05:26:45 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 06 Aug 2013 11:26:45 +0200 Subject: [Moin-user] Authentication via CAS + authorization (ACL) via AD In-Reply-To: References: Message-ID: <1375781205.2409.19.camel@server.firma.waldmann-edv.de> Hi Wojtek, > > I cannot, however, find a way to set up ACLs so that it is possible to > assign a given set of permissions to an Active Directory group. > I have not set up AD binding yet as all the examples I found are > related to only authentication via LDAP/AD. > Yes, we support auth against ldap/ad, but there is no official support for ldap groups in moin. There has been some work on ldap groups, though, but it wasn't finished, needs more work and practical testing: http://hg.moinmo.in/moin/1.9-ldap-kerberos-agrigorev/ To continue that stuff, it would need some people with real interest and some python and ldap/ad knowledge and testing environment. I can help with the moin specific stuff, but I can't help with ldap/ad as I don't work in such an environment. An alternative to that would be to define groups either in the wiki config or on wiki pages, that's the usual way in moin and officially supported. Cheers, Thomas From tw at waldmann-edv.de Tue Aug 6 05:38:03 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 06 Aug 2013 11:38:03 +0200 Subject: [Moin-user] Question on moin installing In-Reply-To: References: Message-ID: <1375781883.2409.29.camel@server.firma.waldmann-edv.de> Hi, Just as a note: what you describe is installing moin2 (the pre-alpha unreleased development version). That's fine if you want the bleeding edge stuff, but don't use this for production (but 1.9.7). Also, if you refer to it, please use "moin2", so people clearly see what it is about. On Fri, 2013-08-02 at 20:56 +0800, li yan wrote: > When I invoke moin in CMD window, I keep getting: > 'moin' not recognized as an internal or external command, operable program or batch file. Looks like it is not in the search path. Did you activate the virtualenv in THAT cmd window? Did you cd into the moin-2.0 directory? > What I have done as follows: > 1. Install python 2.7 by installing python2.7.2.msi > 2. Install mercurial > 3. Install easy_setup, pip, then virtualenv > 4. Downloaded moin-2.0 by typing: hg clone > http://bitbucket.org/thomaswaldmann/moin-2.0 moin-2.0 > 5. cd into moin-2.0 directory, and type: quickinstall.bat > 6. Type: env\Scripts\activate.bat to active the virtual environment > 7. Type: moin > Sounds correct. That's also how it is documented, right? > Tested with both 32-bit Windows xp, and 64-bit Windows 7. Same result both times. Strange, Roger Haase developed that stuff and used it personally. I personally don't use Windows, so maybe we should just ask him (email). > I have tried several times, uninstalling python completely, and > deleting the > python27and moin2.0 directory, and completely reinstalling from > scratch, but get the same result each time. > I suspect that there is either a PATH issue or the script (BAT/CMD) for windows is not created or ... Is there a moin.cmd or moin.bat somewhere on your disk (likely inside the virtual env) that was created by the installation procedure? Cheers, Thomas From uuliyan at gmail.com Wed Aug 7 11:59:27 2013 From: uuliyan at gmail.com (li yan) Date: Wed, 7 Aug 2013 23:59:27 +0800 Subject: [Moin-user] Moin2 installation question Message-ID: Hi, Yes, moin2. I will say moin2 in the future. I'm writing some automated functional tests using selenium. We met briefly last year, and I've been working doing manual tests for the last 6 months. I've started to look again at writing the selenium functional tests. I think it's best to write them for moin version 2 right?" On Fri, 2013-08-02 at 20:56 +0800, li yan wrote: > When I invoke moin in CMD window, I keep getting: > 'moin' not recognized as an internal or external command, operable program or batch file. Looks like it is not in the search path. Did you activate the virtualenv in THAT cmd window? Did you cd into the moin-2.0 directory? Yes, I activated the virtual env in that cmd window. Here's a screenshot attached. (screenshot.png ) > What I have done as follows: > 1. Install python 2.7 by installing python2.7.2.msi > 2. Install mercurial > 3. Install easy_setup, pip, then virtualenv > 4. Downloaded moin-2.0 by typing: hg clone > http://bitbucket.org/thomaswaldmann/moin-2.0 moin-2.0 > 5. cd into moin-2.0 directory, and type: quickinstall.bat > 6. Type: env\Scripts\activate.bat to active the virtual environment > 7. Type: moin > Sounds correct. That's also how it is documented, right? Yes. It looks easy, but I can't quite seem to get it working. > Tested with both 32-bit Windows xp, and 64-bit Windows 7. Same result both times. Strange, Roger Haase developed that stuff and used it personally. I personally don't use Windows, so maybe we should just ask him (email). OK, sounds good. What is his email address please? Liyan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.png Type: image/png Size: 36519 bytes Desc: not available URL: From tw at waldmann-edv.de Mon Aug 12 07:25:23 2013 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 12 Aug 2013 13:25:23 +0200 Subject: [Moin-user] Moin2 installation question In-Reply-To: References: Message-ID: <5208C623.80807@waldmann-edv.de> > I'm writing some automated functional tests using selenium. We met briefly last year, and I've > been working doing manual tests for the last 6 months. Sounds like a lot of work. Any results from that? > I've started to look again at writing the selenium functional tests. > I think it's best to write them for moin version 2 right?" Sure, moin 1.x is in maintenance mode, no new stuff there. > What is his email address please? Try: crosseyedpenguin AT yahoo DOT com From emayssat at outlook.com Tue Aug 20 18:43:35 2013 From: emayssat at outlook.com (Emmanuel Mayssat) Date: Tue, 20 Aug 2013 15:43:35 -0700 Subject: [Moin-user] How to add a youtube video in a page? Message-ID: Hello, i would like to add an embedded video in my wiki pages. How can I do that? I though that {{{#!HTML ... youtube html code... }}} would do the trick, but apparently that is not the case. I also found the YouTube.py macro, but it seems to be required only for old mon version. Please let me know your solution. Regards, -- Emmanuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkwight at gmail.com Thu Aug 22 06:16:33 2013 From: jkwight at gmail.com (Jim Wight) Date: Thu, 22 Aug 2013 11:16:33 +0100 Subject: [Moin-user] How to add a youtube video in a page? In-Reply-To: References: Message-ID: > I also found the YouTube.py macro, but it seems to be required only for > old mon version. > Which version did you try? I haven't used the macro, but out of interest I downloaded the latest version - YouTube-0.6.py from the YouTube-2 section at the top of the YouTube page - and found it worked no problem with 1.9.7. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Thu Aug 29 17:37:06 2013 From: paul at boddie.org.uk (Paul Boddie) Date: Thu, 29 Aug 2013 23:37:06 +0200 Subject: [Moin-user] Spam on Moin wikis and anti-spam best practices Message-ID: <201308292337.07458.paul@boddie.org.uk> Hello, I've noticed a lot of spam on various Moin-based wikis recently, and I think that this is giving various users and admins reason to reconsider their use of Moin, rightly or wrongly. Although there are guides to anti-spam measures, Moin isn't really set up to resist the ills of the Internet by default, and perhaps we need safer defaults and a coherent guide to the techniques available to defeat spam. My suggestions, which I will gladly write up in more detail, are as follows: Control access: decide on whether anyone can use or contribute to your wiki and thus who your users are; if you would prefer some form of identification or if you feel that it would help you identify good or bad contributions at a glance (an IP address or hostname in RecentChanges doesn't say a lot), restrict access using the acl_rights_default setting. Control registration: if your users are a predefined set controlled by other means, register them separately and disable the newaccount action using the actions_excluded setting. If you need users to be able to request registration, consider enabling textchas to make sure that only suitable users can register. Really control registration: for extra control over registration, perhaps use the http://www.moinmo.in/MoinMoinPatch/VerifyAccountCreationByEmail patch to require e-mail verification of account registration. Control editing: where the set of users is not limited and where people may be able to register and become eligible for editing, enable textchas to make sure that only suitable users can make edits. If you feel that users should be able to edit without textcha questions upon being registered, add them to the group specified in the textchas_disabled_group setting as soon as you can. Challenge editors properly: it should be said that if spammers have guessed the answer to a textcha question in order to register, they will be able to guess the answer to that question should it be asked upon editing, so it is vital to have high-quality textcha questions. The existing HelpOnSpam page provides plenty of advice on such matters. Really control editing: one action that puts edits in approval queues is http://www.moinmo.in/ActionMarket/ApproveChanges which effectively hides spam edits from most wiki users, although wiki reviewers will still be faced with these edits, albeit tucked away in subpages that can be deleted in their entirety if it all becomes too much work. Does anyone have any opinions about the above? I suspect that some wikis are let down by poor textcha questions or missing access control policy, so I'd like to be able to have something to show to the admins before they give up on Moin or on wikis in general. Paul