2009-03-03T00:04:12  *** xorAxAx_ has joined #moin-dev
2009-03-03T00:04:31  *** ThomasWaldmann has joined #moin-dev
2009-03-03T00:04:31  *** grzywacz has joined #moin-dev
2009-03-03T00:04:31  *** nwp has joined #moin-dev
2009-03-03T00:04:31  *** vpv has joined #moin-dev
2009-03-03T00:04:31  *** dreimark has joined #moin-dev
2009-03-03T00:04:31  *** irc.freenode.net sets mode: +o ThomasWaldmann
2009-03-03T00:05:00  *** xorAxAx_ is now known as xorAxAx
2009-03-03T00:05:15  *** grzywacz has quit IRC
2009-03-03T00:05:15  *** dreimark has quit IRC
2009-03-03T00:05:15  *** ThomasWaldmann has quit IRC
2009-03-03T00:05:15  *** nwp has quit IRC
2009-03-03T00:05:15  *** vpv has quit IRC
2009-03-03T00:05:15  *** dimazest has quit IRC
2009-03-03T00:05:15  *** ser has quit IRC
2009-03-03T00:05:15  *** TheSheep has quit IRC
2009-03-03T00:05:15  *** mitsuhiko has quit IRC
2009-03-03T00:05:15  *** waldi has quit IRC
2009-03-03T00:05:15  *** xorAxAx has quit IRC
2009-03-03T00:06:14  *** ThomasWaldmann has joined #moin-dev
2009-03-03T00:06:14  *** grzywacz has joined #moin-dev
2009-03-03T00:06:14  *** dreimark has joined #moin-dev
2009-03-03T00:06:14  *** vpv has joined #moin-dev
2009-03-03T00:06:14  *** nwp has joined #moin-dev
2009-03-03T00:06:14  *** xorAxAx has joined #moin-dev
2009-03-03T00:06:14  *** dimazest has joined #moin-dev
2009-03-03T00:06:14  *** ser has joined #moin-dev
2009-03-03T00:06:14  *** TheSheep has joined #moin-dev
2009-03-03T00:06:14  *** mitsuhiko has joined #moin-dev
2009-03-03T00:06:14  *** waldi has joined #moin-dev
2009-03-03T00:06:14  *** irc.freenode.net sets mode: +o ThomasWaldmann
2009-03-03T00:24:35  *** dimazest_ has joined #moin-dev
2009-03-03T00:29:13  *** dimazest has quit IRC
2009-03-03T01:00:14  *** grzywacz has quit IRC
2009-03-03T01:37:02  *** TheSheep_ has joined #moin-dev
2009-03-03T01:47:51  *** TheSheep has quit IRC
2009-03-03T01:50:35  *** dimazest_ has quit IRC
2009-03-03T04:15:21  *** starGaming has quit IRC
2009-03-03T07:07:22  *** starGaming has joined #moin-dev
2009-03-03T07:10:43  *** starGaming has quit IRC
2009-03-03T08:04:56  *** starshine_away is now known as starshine
2009-03-03T08:41:43  *** dimazest has joined #moin-dev
2009-03-03T09:28:10  *** dimazest_ has joined #moin-dev
2009-03-03T09:49:14  *** dimazest has quit IRC
2009-03-03T10:04:36  <ThomasWaldmann> moin
2009-03-03T10:08:56  <dreimark> moin
2009-03-03T11:38:13  *** dimazest has joined #moin-dev
2009-03-03T12:00:03  *** dimazest_ has quit IRC
2009-03-03T13:01:36  *** lanius has joined #moin-dev
2009-03-03T13:01:39  <lanius> hi
2009-03-03T13:02:41  <lanius> ThomasWaldmann: ping?
2009-03-03T13:02:49  <lanius> ThomasWaldmann: i have a patch for ldap login
2009-03-03T13:02:53  <lanius> ThomasWaldmann: http://pastebin.com/m671f5672
2009-03-03T13:05:45  <ThomasWaldmann> lanius: hi :)
2009-03-03T13:06:14  <ThomasWaldmann> that's actually 2 things: name_callback and some decoding change
2009-03-03T13:06:18  <lanius> yeah right
2009-03-03T13:06:46  <ThomasWaldmann> 1.8.current?
2009-03-03T13:06:52  <lanius> 1.8.2
2009-03-03T13:08:11  <ThomasWaldmann> the name_callback looks quite straightforward, but I'll have to look at the decoding stuff
2009-03-03T13:08:31  <lanius> the decoding stuff is the same as already done for the other attributes from ldap_dict
2009-03-03T13:09:18  <ThomasWaldmann> was there some error or why did you change it?
2009-03-03T13:10:29  <ThomasWaldmann> because it looks like you introduced an error by changing it
2009-03-03T13:10:45  <lanius> one second
2009-03-03T13:11:12  <lanius> ah ok, it's wrong indeed
2009-03-03T13:11:18  <ThomasWaldmann> look at line 36 of your patch
2009-03-03T13:11:35  <lanius> right
2009-03-03T13:11:57  <lanius> i confused that with my decoding change in my name_callback
2009-03-03T13:12:05  <ThomasWaldmann> of course one can do it also your way, but then you have to kill that line
2009-03-03T13:12:26  <lanius> i am thinking if we should decode the whole dict from beginning on
2009-03-03T13:12:41  <ThomasWaldmann> but to minimize changes in a stable repo, maybe just do the callback stuff
2009-03-03T13:13:24  <ThomasWaldmann> you have the wikiname in another ldap attr or what does the callback do in your case?
2009-03-03T13:14:21  <lanius> we have login names like wend_he here
2009-03-03T13:14:33  <lanius> and i build the wikiname from firstName and sureName then in my callback
2009-03-03T13:14:59  <ThomasWaldmann> ok, so similar to what aliasname does
2009-03-03T13:15:16  <lanius> but converting it to the real login name
2009-03-03T13:15:42  <ThomasWaldmann> yes, sounds useful
2009-03-03T13:16:01  <ThomasWaldmann> you will only have the AndreasSchmidt problem then
2009-03-03T13:18:09  <lanius> yes, but that is why you can dynamically configure the callback
2009-03-03T13:18:16  <lanius> we are just migrating from wiki auth to ldap now
2009-03-03T13:18:22  <lanius> and our wiki names are like this, so..
2009-03-03T13:18:28  <lanius> http://pastebin.com/m4248d5ad
2009-03-03T13:19:30  <ThomasWaldmann> do you want to export a changeset from your hg repo?
2009-03-03T13:19:39  <lanius> i have not done it against a repo
2009-03-03T13:19:44  <lanius> just against the downloaded release
2009-03-03T13:19:54  <ThomasWaldmann> ok, then I commit the patch
2009-03-03T13:19:58  <lanius> thx
2009-03-03T13:20:09  <ThomasWaldmann> btw, do you have a backup ldap server?
2009-03-03T13:20:27  <lanius> no
2009-03-03T13:20:51  <ThomasWaldmann> because the auth stuff in 1.8 could use it :)
2009-03-03T13:21:26  <lanius> we also don't have 1.8 running here, but 1.6
2009-03-03T13:21:37  <lanius> but i thought if i do it for 1.6 i should commit it for 1.8 as well
2009-03-03T13:21:39  <lanius> for later usage
2009-03-03T13:21:39  <ThomasWaldmann> if you find more, I am very interested in ldap stuff, esp. feedback from the field. i don't have a ldap environment here, so I can rarely test that stuff.
2009-03-03T13:22:00  <ThomasWaldmann> upgrading 1.6 to 1.8 is no big thing
2009-03-03T13:22:26  <lanius> api changes for plugins?
2009-03-03T13:22:45  <ThomasWaldmann> a few maybe, but not that much
2009-03-03T13:22:53  <lanius> yeah, have to check our plugins then
2009-03-03T13:23:08  <ThomasWaldmann> mostly cleanup :)
2009-03-03T13:23:12  <lanius> :)
2009-03-03T13:23:54  * lanius is away again
2009-03-03T13:24:04  <ThomasWaldmann> ok, thanks for the patch :)
2009-03-03T13:34:38  <CIA-38> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4294:28a5a548d6f5 1.8/MoinMoin/auth/ldap_login.py: ldap auth: new name_callback param to create a custom wiki username (not the ldap login username). Thanks to Heinrich Wendel for the patch.
2009-03-03T13:35:33  *** dimazest has quit IRC
2009-03-03T14:51:15  *** lanius has quit IRC
2009-03-03T15:39:38  *** coreyleong has joined #moin-dev
2009-03-03T17:29:09  *** dimazest has joined #moin-dev
2009-03-03T17:51:07  *** TheSheep_ is now known as TheSheep
2009-03-03T18:07:44  <dimazest> hi everyone
2009-03-03T18:07:56  <dimazest> i'm working on my application for SOC
2009-03-03T18:08:21  <dimazest> http://moinmo.in/DmitrijsMilajevs#group_refactoring there is my idea about group code refactoring
2009-03-03T18:08:30  <dimazest> am i going in a right direction?
2009-03-03T18:58:16  *** starGaming has joined #moin-dev
2009-03-03T19:06:43  <ThomasWaldmann> dimazest: maybe have a look at how auth configuration works
2009-03-03T19:07:51  <dimazest> ok
2009-03-03T19:11:56  <ThomasWaldmann> (in 1.8 or 1.9)
2009-03-03T19:12:10  <ThomasWaldmann> it made kind of some evolution in the last years :)
2009-03-03T19:12:54  <ThomasWaldmann> also, if you apply for ldap groups, show more details about that
2009-03-03T19:15:20  <ThomasWaldmann> further, if you can link to some own opensource code in some repo (preferably python), do that
2009-03-03T19:16:20  <dimazest> so, the group plugins should be similar to the auth
2009-03-03T19:17:24  <ThomasWaldmann> you can also look into last years soc project about that topic. there is some usable stuff in there.
2009-03-03T19:31:28  <dimazest> i have not taken part in OS projet development
2009-03-03T19:31:46  <dimazest> but i can show my task i did for the university
2009-03-03T19:31:53  <dimazest> it is written in python
2009-03-03T19:32:06  <dimazest> and i've used mercurial
2009-03-03T19:32:16  <dimazest> here is the repo http://bitbucket.org/dimazest/md5cracker/src/
2009-03-03T20:17:49  <ThomasWaldmann> hehe
2009-03-03T20:19:58  *** starshine is now known as starshine_away
2009-03-03T20:28:08  *** coreyleong has quit IRC
2009-03-03T20:28:39  *** dimazest_ has joined #moin-dev
2009-03-03T20:37:14  *** dimazest has quit IRC
2009-03-03T20:39:57  <ThomasWaldmann> dimazest_:                 debug("Elections, but i'm the serer")
2009-03-03T20:46:47  <dreimark> ah that's funny
2009-03-03T20:48:15  <dreimark> btw. don't use i as var that's a pep8 violation
2009-03-03T21:04:44  *** dimazest has joined #moin-dev
2009-03-03T21:12:20  <dimazest> i've read the pep8 just few days before
2009-03-03T21:14:36  <dimazest> but "i" is not a var there
2009-03-03T21:18:09  *** grzywacz has joined #moin-dev
2009-03-03T21:22:12  *** dimazest_ has quit IRC
2009-03-03T21:33:15  <dreimark> dimazest: http://bitbucket.org/dimazest/md5cracker/src/tip/worker.py +25
2009-03-03T21:34:05  <dimazest> ok, but it not used for the loop
2009-03-03T21:34:20  <dimazest> and on 20 there is m
2009-03-03T21:34:38  <dimazest> but i'll consider it
2009-03-03T21:35:09  <dreimark> I am not sure bug i think moin's sourcecode unittest will find it
2009-03-03T21:37:25  <dreimark> also vim has a nice python plugin see http://moinmo.in/CodingStyle
2009-03-03T21:38:33  <dreimark> and pylint is a nice game
2009-03-03T21:43:27  <dreimark> dimazest: I am not sure if only refactoring of group code is enough for a summer of code project.
2009-03-03T21:44:18  <dimazest> i know, is there any connected task/idea?
2009-03-03T21:45:39  <dimazest> i've read CodingStule, and provided articles and pep8, printed them, and will follow them
2009-03-03T21:45:50  <dreimark> :)
2009-03-03T21:49:54  <dreimark> dimazest: refactoring acls or extending groups to an other external source is quite close
2009-03-03T21:51:02  <dimazest> yes, i just wanted to write about it
2009-03-03T21:52:58  <dimazest> but, as i understood refactoring of the code means to add support for external sources
2009-03-03T21:57:13  <dreimark> yeah
2009-03-03T22:15:19  <dimazest> make ACL system more flexible (extend/refactor) is it the same?
2009-03-03T22:15:50  <dimazest> as group code
2009-03-03T22:23:06  <dreimark> well acls do use groups but it is something completly different see  http://master.moinmo.in/HelpOnAccessControlLists
2009-03-03T22:24:18  <dreimark> for the current approach
2009-03-03T22:26:36  <dimazest> thank you, i'll see it tomorrow, now i'm too tired, good night
2009-03-03T22:26:58  <dimazest> when is the best time to find people here
2009-03-03T22:27:43  <dreimark> dimazest: we are always here but we have some different jobs to do
2009-03-03T22:28:16  <dimazest> that's what i'm talking about
2009-03-03T22:28:36  <dimazest> so, the best time is afternoon/evening
2009-03-03T22:28:52  <dreimark> I know currently it is not easy to get synced with me but afternoon is ok
2009-03-03T22:32:35  <dimazest> ok, see you tomorrow
2009-03-03T22:50:21  <dreimark> good night
2009-03-03T23:18:23  *** starGaming has quit IRC
2009-03-03T23:46:03  <ThomasWaldmann> http://moinmo.in/MoinMoinDonations (currently just for MoinCoreTeamGroup members)
2009-03-03T23:46:19  <ThomasWaldmann> please query me if you have comments

MoinMoin: MoinMoinChat/Logs/moin-dev/2009-03-03 (last edited 2009-03-02 23:15:02 by IrcLogImporter)