From boudiccas at skimble.plus.com Fri Mar 17 09:38:44 2017 From: boudiccas at skimble.plus.com (Sharon Kimble) Date: Fri, 17 Mar 2017 13:38:44 +0000 Subject: [moin-user] How to wrap around the TOC please? Message-ID: <87lgs4owez.fsf@skimble.plus.com> Having recently decided to use either mediawiki or moinmoin for my 'DrugFacts' web site I have a question, is it possible to have the text of an article/page to wrap around the 'Table of Contents' please? If so, how? Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk DrugFacts = http://www.drugfacts.org.uk Debian 8.6, fluxbox 1.3.5-2, emacs 25.1.1.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: From lists at sumpfralle.de Fri Mar 17 12:20:39 2017 From: lists at sumpfralle.de (Lars Kruse) Date: Fri, 17 Mar 2017 17:20:39 +0100 Subject: [moin-user] How to wrap around the TOC please? In-Reply-To: <87lgs4owez.fsf@skimble.plus.com> References: <87lgs4owez.fsf@skimble.plus.com> Message-ID: <20170317172039.5714ec15@erker.lan> Hello Sharon, Am Fri, 17 Mar 2017 13:38:44 +0000 schrieb Sharon Kimble : > Having recently decided to use either mediawiki or moinmoin for my > 'DrugFacts' web site I have a question, is it possible to have the text of > an article/page to wrap around the 'Table of Contents' please? If so, > how? I am quite confident, that this is handled by the CSS of the theme that you use. Did you already try out different themes? Cheers, Lars -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: Digitale Signatur von OpenPGP URL: From paul at boddie.org.uk Fri Mar 17 12:32:30 2017 From: paul at boddie.org.uk (Paul Boddie) Date: Fri, 17 Mar 2017 17:32:30 +0100 Subject: [moin-user] How to wrap around the TOC please? In-Reply-To: <20170317172039.5714ec15@erker.lan> References: <87lgs4owez.fsf@skimble.plus.com> <20170317172039.5714ec15@erker.lan> Message-ID: <201703171732.30480.paul@boddie.org.uk> On Friday 17. March 2017 17.20.39 Lars Kruse wrote: > > Am Fri, 17 Mar 2017 13:38:44 +0000 schrieb Sharon Kimble : > > Having recently decided to use either mediawiki or moinmoin for my > > 'DrugFacts' web site I have a question, is it possible to have the text > > of an article/page to wrap around the 'Table of Contents' please? If so, > > how? > > I am quite confident, that this is handled by the CSS of the theme that you > use. Did you already try out different themes? Yes, the "table-of-contents" rule in the common.css file provides the foundation for the TOC. Changing the "display" property will probably cause the box to be treated differently, although the "clear" property of any following elements will also have an effect on where they end up. Paul From crosseyedpenguin at yahoo.com Sat Mar 18 10:42:54 2017 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Sat, 18 Mar 2017 14:42:54 +0000 (UTC) Subject: [moin-user] How to wrap around the TOC please? In-Reply-To: <201703171732.30480.paul@boddie.org.uk> References: <87lgs4owez.fsf@skimble.plus.com> <20170317172039.5714ec15@erker.lan> <201703171732.30480.paul@boddie.org.uk> Message-ID: <1883169619.3789578.1489848174202@mail.yahoo.com> If you want text wrapping around the TOC on a few pages, then on those pages wrap the TOC in a one cell table and use the table styling features to float the table left/right, color background, etc. https://moinmo.in/HelpOnTables ||<>|| On Friday, March 17, 2017 9:38 AM, Paul Boddie wrote: On Friday 17. March 2017 17.20.39 Lars Kruse wrote: > > Am Fri, 17 Mar 2017 13:38:44 +0000 schrieb Sharon Kimble : > > Having recently decided to use either mediawiki or moinmoin for my > > 'DrugFacts' web site I have a question, is it possible to have the text > > of an article/page to wrap around the 'Table of Contents' please? If so, > > how? > > I am quite confident, that this is handled by the CSS of the theme that you > use. Did you already try out different themes? Yes, the "table-of-contents" rule in the common.css file provides the foundation for the TOC. Changing the "display" property will probably cause the box to be treated differently, although the "clear" property of any following elements will also have an effect on where they end up. Paul _______________________________________________ moin-user mailing list moin-user at python.org https://mail.python.org/mailman/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From mjoigny at neteven.com Fri Mar 24 12:37:50 2017 From: mjoigny at neteven.com (Michael JOIGNY) Date: Fri, 24 Mar 2017 17:37:50 +0100 Subject: [moin-user] MoinMoin + OpenLDAP Message-ID: <8a2c4c61-f74a-9b53-ae46-d69f3b71649d@neteven.com> Hi Everybody, I'm new to this mailing list, i need some help to configure MoinMoin with OpenLDAP authentication. MoinMoin version : 1.9.7 Python version : 2.6 This is my wikiconfig.py file : /import os/ /from MoinMoin.config import multiconfig, url_prefix_static/ /from MoinMoin import log/ /log.load_config('/data/share/moin/config/logging/logfile_debug_auth')/ /from MoinMoin.auth.ldap_login import LDAPAuth/ /ldap_common_arguments = dict(/ /bind_dn='cn=admin,dc=mydomain,dc=com',/ /bind_pw='password',/ /base_dn='ou=Users,dc=mydomain,dc=com', # base DN we use for searching/ /scope=2, # scope of the search we do/ /search_filter='(uid=%(username)s)',/ /givenname_attribute=None, # ldap attribute we get the first name from/ /surname_attribute=None, # ldap attribute we get the family name from/ /aliasname_attribute=None, # ldap attribute we get the aliasname from/ /email_attribute=None, # ldap attribute we get the email address from/ /#email_callback=None, # the function that is called with a dict as the first argument that provides LDAP data. the function has to return the e-mail address that was generated from the dict input/ /coding='utf-8', # coding used for ldap queries and result values/ /timeout=20, # how long we wait for the ldap server [s]/ /start_tls=0,/ /name='ldap',/ /report_invalid_credentials=True,/ /)/ /ldap_authenticator1 = LDAPAuth(/ /server_uri='ldap://myurl:myport', # ldap / active directory server URI/ /)/ /auth = [ldap_authenticator1, ]/ /cookie_lifetime = 1 # 1 hour after last access ldap login is required again/ /autocreate=True,/ I can query from the MoinMoin's host to my ldap server, so it's not a connection problem. Can you help me to debug this situation ? I would like to add some logging for the LDAP Auth thanks to the logfile_debug_auth's file, but i don't know how can i add the section. Kind regards. -- Michael. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at sumpfralle.de Fri Mar 24 20:01:32 2017 From: lists at sumpfralle.de (Lars Kruse) Date: Sat, 25 Mar 2017 01:01:32 +0100 Subject: [moin-user] MoinMoin + OpenLDAP In-Reply-To: <8a2c4c61-f74a-9b53-ae46-d69f3b71649d@neteven.com> References: <8a2c4c61-f74a-9b53-ae46-d69f3b71649d@neteven.com> Message-ID: <20170325010132.7594498a@erker.lan> Hello Michael, please try to stick with plain text email messages on mailinglists - especially when you are sending code. This makes it easer to read and reply to your mails. Am Fri, 24 Mar 2017 17:37:50 +0100 schrieb Michael JOIGNY : > [..] Are you sure, that your variable "ldap_common_arguments" is actually in use? Here with my LDAP setup within moinmoin, I passed these arguments directly to LDAPAuth. You can find my working example attached. > I can query from the MoinMoin's host to my ldap server, so it's not a > connection problem. Did you try to run "tcpdump" in order to verify, that the wiki host really tries to talk to the LDAP server when you try to login? tcpdump -npi any port 389 Of course, logging would be the simpler approach. Cheers, Lars -------------- next part -------------- A non-text attachment was scrubbed... Name: moin_ldap.py Type: text/x-python Size: 973 bytes Desc: not available URL: From mjoigny at neteven.com Mon Mar 27 04:52:54 2017 From: mjoigny at neteven.com (Michael JOIGNY) Date: Mon, 27 Mar 2017 10:52:54 +0200 Subject: [moin-user] MoinMoin + OpenLDAP In-Reply-To: <20170325010132.7594498a@erker.lan> References: <8a2c4c61-f74a-9b53-ae46-d69f3b71649d@neteven.com> <20170325010132.7594498a@erker.lan> Message-ID: Hello Lars, Thanks for you feedback. Le 25/03/2017 ? 01:01, Lars Kruse a ?crit : > Hello Michael, > > please try to stick with plain text email messages on mailinglists - especially > when you are sending code. This makes it easer to read and reply to your mails. Sorry, i will do my best for the first time ;) > > > Am Fri, 24 Mar 2017 17:37:50 +0100 > schrieb Michael JOIGNY : > >> [..] > Are you sure, that your variable "ldap_common_arguments" is actually in use? > Here with my LDAP setup within moinmoin, I passed these arguments directly to > LDAPAuth. > You can find my working example attached. No, so i change my configuration file with yours replacing with my settings. > >> I can query from the MoinMoin's host to my ldap server, so it's not a >> connection problem. > Did you try to run "tcpdump" in order to verify, that the wiki host really > tries to talk to the LDAP server when you try to login? > tcpdump -npi any port 389 I try tcpdump i don't see any traffic :( What kind of python script test can i do to verify the connection between my moinmoin's host to my ldap server ? perhaps my python's environnement is not set properly ... > > Of course, logging would be the simpler approach. Do you know how i can add logging for my LDAPAuth section ? > > Cheers, > Lars Michael. --