1 2010-06-25T00:10:17 <ThomasWaldmann> diofeher: going to bed early?
2 2010-06-25T00:10:31 <TheSheep> or did you mean good evening?
3 2010-06-25T00:15:42 <diofeher> man, i always mislead
4 2010-06-25T00:17:12 <TheSheep> anyways, I mean good night, sorry but I can't stay today
5 2010-06-25T00:17:59 <diofeher> hehe
6 2010-06-25T00:18:01 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8457:80f4d51c4e4d 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/editbar.html theme/jinja.py): [templating] moving actionsMenu
7 2010-06-25T00:18:03 <diofeher> good night TheSheep :)
8 2010-06-25T00:19:35 * ThomasWaldmann also won't be here for much longer
9 2010-06-25T00:19:45 <ThomasWaldmann> so if you have any questions, ask now
10 2010-06-25T00:20:33 <diofeher> hm, just one little
11 2010-06-25T00:20:59 <diofeher> now that editbar is almost rendered in template
12 2010-06-25T00:21:15 <diofeher> well, we don't need this anymore: editbar = [item for item in editbar_actions if item]
13 2010-06-25T00:21:38 <diofeher> (i never understood this list comprehension :P)
14 2010-06-25T00:22:02 <diofeher> because items are only appended to editbar if they exists
15 2010-06-25T00:22:48 <ThomasWaldmann> the reason for that comprehension was to filter out empty stuff
16 2010-06-25T00:23:02 <ThomasWaldmann> if one of the components returned '' or None
17 2010-06-25T00:24:40 <ThomasWaldmann> btw, kill that getPragma for the discussion link
18 2010-06-25T00:24:49 <ThomasWaldmann> for now, just always render it
19 2010-06-25T00:25:12 <ThomasWaldmann> if it is in cfg.edit_bar
20 2010-06-25T00:26:38 <diofeher> aaah, get it the problem ^^
21 2010-06-25T00:27:16 <diofeher> killing now (i'm feeling like a murderer)
22 2010-06-25T00:29:03 <ThomasWaldmann> it's permitted to kill crap code :P
23 2010-06-25T00:31:11 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8458:f20a0f6349cb 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (config/multiconfig.py templates/editbar.html theme/jinja.py): [templating] killing editbar. now it is full rendered in editbar.html
24 2010-06-25T00:31:30 <diofeher> i've already dropped supplementation_page config
25 2010-06-25T00:31:39 <diofeher> it's not useful anymore
26 2010-06-25T00:33:37 <ThomasWaldmann> paste the diff
27 2010-06-25T00:35:10 <diofeher> already commited
28 2010-06-25T00:35:34 <diofeher> i checked, anywhere else use this config
29 2010-06-25T00:36:59 *** DmitryAndreev
30 2010-06-25T00:39:16 <ThomasWaldmann> i don't find a changeset that mentions supplementation in its commit comment
31 2010-06-25T00:39:53 <diofeher> oh sorry, for that unuseful commit message ._.
32 2010-06-25T00:40:05 <diofeher> http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/f20a0f6349cb
33 2010-06-25T00:40:31 <diofeher> i'm gettind rid of d crap, as you like to say ^^
34 2010-06-25T00:43:02 <dreimark> diofeher: will something like supplementation page later available ?
35 2010-06-25T00:43:21 <ThomasWaldmann> it is alway available now
36 2010-06-25T00:43:45 <ThomasWaldmann> but modernized theme won't work any more due to missing stuff, i guess
37 2010-06-25T00:43:46 <dreimark> ok
38 2010-06-25T00:44:43 <ThomasWaldmann> so one of the next tasks after the import stuff is finally done will be to merge jinja2.py into __init__.py
39 2010-06-25T00:44:52 <ThomasWaldmann> +ant
40 2010-06-25T00:46:12 *** DmitryAndreev
41 2010-06-25T00:50:27 <diofeher> yep
42 2010-06-25T00:54:35 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8459:583f5fc6f62d 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (action/userprefs.py templates/header.html theme/jinja.py): [templating] get rid of d crap (username, title and trail) and changed userprefs to fit actual rendering (gonna change this asap)
43 2010-06-25T01:03:13 <ThomasWaldmann> also get rid of the page.link_to and just use href()
44 2010-06-25T01:03:28 * ThomasWaldmann .sleep()
45 2010-06-25T01:05:39 <diofeher> ok
46 2010-06-25T01:05:43 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8460:ab69124493a6 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/header.html theme/jinja.py): [templating] gettind rid of dict crap (theme.navibar() and theme.msg())
47 2010-06-25T01:05:45 <diofeher> gn ThomasWaldmann
48 2010-06-25T01:11:22 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8461:2d066ca2321b 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/jinja.py: [templating] removing theme.header()
49 2010-06-25T01:18:09 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8462:c0525092ed05 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/header.html theme/jinja.py): [templating] fixed some html indentations
50 2010-06-25T01:18:50 *** diofeher
51 2010-06-25T01:18:57 *** diofeher
52 2010-06-25T02:28:33 *** PawelPac1na
53 2010-06-25T02:28:57 *** PawelPacana
54 2010-06-25T02:47:47 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8463:4ce79efeed4a 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (5 files in 2 dirs): [templating] removing link_to at some places, removing unnecessary parameters in JinjaTheme functions and changing the way of sistersites are rendered in navibar (gonna put cache mechanism with jinja)
55 2010-06-25T03:06:20 <diofeher> ThomasWaldmann TheSheep : what the methods to know if a item exists? if I know this, we can drop Page more fast :)
56 2010-06-25T03:07:54 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8464:b5acdae94f22 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/header.html theme/jinja.py): [templating] dropping link_to using in JinjaTheme.title()
57 2010-06-25T06:55:22 *** TheSheep
58 2010-06-25T06:56:19 *** TheSheep
59 2010-06-25T07:56:17 *** AshishG
60 2010-06-25T07:56:19 <AshishG> mornin
61 2010-06-25T07:56:28 <AshishG> mornin
62 2010-06-25T08:01:56 <ThomasWaldmann> diofeher: for exists, keep Page(...).exists() for now
63 2010-06-25T08:03:34 <ThomasWaldmann> (I guess I'll work on some index-based exists() in the router backend, but it isn't ready yet)
64 2010-06-25T08:03:43 <ThomasWaldmann> and moin everybody :)
65 2010-06-25T08:10:55 <ThomasWaldmann> diofeher: about naming: please remove all confusion you find about in the theme/templates about link vs. url
66 2010-06-25T08:12:03 <ThomasWaldmann> a url is something like http://server/path?foo=bar&bar=baz (and it needs |e when used in html)
67 2010-06-25T08:12:38 <ThomasWaldmann> a link is something like <a href="url|e">bla</a>
68 2010-06-25T08:16:24 <ThomasWaldmann> forget about all "optimization and caching" for now, we first want to have sane structure and everything working
69 2010-06-25T08:20:33 <ThomasWaldmann> diofeher: http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/4ce79efeed4a#l5.42 you killed too much code there, sisterpages don't work any more
70 2010-06-25T08:33:33 <ThomasWaldmann> (i put that stuff ^^ on your todo page)
71 2010-06-25T09:38:13 *** eSyr
72 2010-06-25T09:48:14 *** eSyr
73 2010-06-25T10:09:17 *** DmitryAndreev
74 2010-06-25T10:49:31 *** valeuf
75 2010-06-25T10:54:24 <dreimark> ei-grad: what blocks you from working on your task?
76 2010-06-25T12:27:18 <ei-grad> dreimark: i needed to be in the university on monday and tuesday, I was asked to help with one task in our educational laboratories, but it lasted until Thursday... Besides, I was invited to participate in one event on Sunday, so I can not go home this week (thought that I will return on Wednesday and begin to work). But there is nothing to blocks me from working today, tomorrow and the first half of
77 2010-06-25T12:27:21 <ei-grad> sunday, so i will begin an hour later, just have dinner... although I certainly easier to work at home than in Chelyabinsk, where I have a more powerful computer
78 2010-06-25T12:28:23 <ei-grad> sorry for my english
79 2010-06-25T12:29:21 <ei-grad> and sorry that I do not work as much as you expect
80 2010-06-25T12:30:45 <ei-grad> it really upsets me, too
81 2010-06-25T13:38:02 *** DmitryAndreev
82 2010-06-25T13:40:24 <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5716:ff50d322d938 1.9-ldap-kerberos-agrigorev/wiki/config/more_samples/ldap_wikiconfig_snippet: adjusted a heading comment in ldap_wikiconfig_snippet to point that it is using LDAPGroups
83 2010-06-25T13:40:26 <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5717:8b06b8112e5d 1.9-ldap-kerberos-agrigorev/wiki/config/more_samples/ldap_wikiconfig_snippet: [LDAP2010] added a comment about page_group_regex
84 2010-06-25T15:04:56 <AshishG> bbye all
85 2010-06-25T15:04:58 *** AshishG
86 2010-06-25T15:34:39 <ThomasWaldmann> ei-grad: you know you have a dayjob? maybe you should stop accepting other non-required tasks, you can just tell "I work for google summer of code full-day."
87 2010-06-25T16:55:35 <waldi> ThomasWaldmann: you made some notes on wednesday about the user item stuff. where can i find them?
88 2010-06-25T16:56:37 <ThomasWaldmann> title search for brain dump
89 2010-06-25T19:18:37 *** DmitryAndreev
90 2010-06-25T19:32:35 *** eSyr
91 2010-06-25T19:42:49 *** eSyr
92 2010-06-25T21:13:24 <dreimark> ei-grad: you know that you have a dcvs and that you can work on your project on all places of the world. but you should do it daily
93 2010-06-25T21:14:37 <dreimark> if you want to succeed you should work more. And I wish that you give more details on the diary for days you can't work on your project
94 2010-06-25T21:14:55 <dreimark> and that you do that beforehand
95 2010-06-25T21:30:16 *** DmitryAndreev
96 2010-06-25T21:39:40 <ei-grad> i now in chelyabinsk, and i work... stucked again with unicode... TypeError: ('expected a string in the list', u'uid=Admin1,ou=testing,dc=example,dc=org') when adding an entry into ldap... if use str instead of unicode, then it works...
97 2010-06-25T21:53:46 <dreimark> ei-grad: please post the complete traceback
98 2010-06-25T21:54:12 <dreimark> (paste bin)
99 2010-06-25T21:55:36 <ei-grad> http://paste.pocoo.org/show/229965/
100 2010-06-25T22:04:50 <dreimark> http://www.mail-archive.com/python-ldap-dev@lists.sourceforge.net/msg00040.html
101 2010-06-25T22:05:23 <dreimark> ei-grad: ^
102 2010-06-25T22:11:37 <dreimark> if that helps we should do another feature request for python-ldap to solve this issue
103 2010-06-25T22:26:04 <dreimark> ei-grad: do you have readed it?
104 2010-06-25T22:26:10 <ei-grad> hm... i not sure that it is that problem... and i think if it is, then this is not required... we only need this in tests, which can be done without unicode...
105 2010-06-25T22:26:57 <ei-grad> or i just misunderstood something?
106 2010-06-25T22:27:01 <dreimark> why do you think if it in tests happens that it don't in real live?
107 2010-06-25T22:30:26 <ei-grad> i tested ldap groups with unicode, they works fine... hm... Thomas pointed me on .decode/.encode to got working unicode... i forgot about it... there is a similar problem
108 2010-06-25T22:32:02 <dreimark> hmm, if you decode it to non unicode than it might be related to that problem
109 2010-06-25T22:32:48 <dreimark> waldi: is there still a unicode issue in python-ldap as described at http://www.mail-archive.com/python-ldap-dev@lists.sourceforge.net/msg00040.html
110 2010-06-25T22:32:53 <dreimark> ?
111 2010-06-25T22:34:01 <ei-grad> sorry, my bad... btw now i stucked with the fact, that groupOfNames requires 'member' attribute, so doesn't allow to create empty groups...)
112 2010-06-25T22:35:22 <dreimark> why do you want an empty group ?
113 2010-06-25T22:35:52 <ei-grad> for tests
114 2010-06-25T22:36:46 <dreimark> can't you use a group which a non existing member ?
115 2010-06-25T22:36:58 <dreimark> s/which/with/
116 2010-06-25T22:37:33 <ei-grad> then it wouldn't be empty
117 2010-06-25T22:38:04 <ei-grad> may be to use posixGroup?
118 2010-06-25T22:39:12 <dreimark> it think for that it won't work too without members
119 2010-06-25T22:39:49 <dreimark> it sounds to me that this is a limitation of ldap
120 2010-06-25T22:40:02 <dreimark> so it may be impossible to do such a test
121 2010-06-25T22:53:07 <ei-grad> dreimark: how can i retrieve group_page_regex in .setup_class function?
122 2010-06-25T22:53:36 <ei-grad> s/function/method of TestLDAPGroups/
123 2010-06-25T23:09:44 <dreimark> request.cfg.group_page_regex
124 2010-06-25T23:10:33 <ei-grad> hm... there is no request in .setup_class..?
125 2010-06-25T23:10:51 <ei-grad> it is called by py.test... i right?
126 2010-06-25T23:11:38 <dreimark> it is at self
127 2010-06-25T23:11:55 <ei-grad> oh... sure)
128 2010-06-25T23:12:38 <dreimark> it rans a testwiki so you have everything a real system has
129 2010-06-25T23:12:48 <dreimark> s/rans/runs/
130 2010-06-25T23:15:31 <ThomasWaldmann> re
131 2010-06-25T23:19:07 <dreimark> wb ThomasWaldmann
132 2010-06-25T23:19:09 <ei-grad> hm... and what is the best way to pass a parameter from setup_class to Config class (that is an attribute of our class TestLDAPGroup)?
133 2010-06-25T23:19:18 <ei-grad> ThomasWaldmann: hi
134 2010-06-25T23:20:25 * ei-grad passes it as an attribute of a class, that seems to be not a right way...
135 2010-06-25T23:21:07 <dreimark> i have also not yet solved it and i don't want to use global
136 2010-06-25T23:22:36 <dreimark> both solutions didn't look like pythonic but as long there is no better way add a ToDo
137 2010-06-25T23:22:46 <ei-grad> ok
138 2010-06-25T23:22:48 <dreimark> that we don't miss to fix it at the time we know
139 2010-06-25T23:23:30 * ThomasWaldmann didn't deal with the ldap tests recently, but i remember some troubles from the past related to passing of stuff
140 2010-06-25T23:31:34 <ei-grad> where can I define a base class for TestLDAPGroups? if i define it in MoinMoin/datastruct/backends/_tests/test_ldap_groups.py, then py.test resolves it as a test, and i don't want this behaviour...
141 2010-06-25T23:32:53 <dreimark> it must not start with test and you can do it at the place of MoinMoin._tests
142 2010-06-25T23:33:15 <dreimark> if you need another place
143 2010-06-25T23:33:30 <dreimark> but i guess using another name solves the problem too
144 2010-06-25T23:34:23 <ei-grad> oh) seems like i forgot all of what i had read about py.test )))
145 2010-06-25T23:45:50 <dreimark> gn
146 2010-06-25T23:48:29 *** DmitryAndreev
147