1 2010-12-10T00:00:39 <dreimark> re
2 2010-12-10T00:09:15 *** h_peter_
3 2010-12-10T00:12:43 <dreimark> ThomasWaldmann: where are the 1.9 translation tasks
4 2010-12-10T00:14:48 <ThomasWaldmann> see easytodo
5 2010-12-10T00:17:56 <dreimark> i did and there it is shown as transmitted
6 2010-12-10T00:18:41 <ThomasWaldmann> no it is not
7 2010-12-10T00:19:31 <dreimark> correct now i see it too
8 2010-12-10T00:23:52 *** m4k3r
9 2010-12-10T00:42:37 *** jbil_
10 2010-12-10T02:05:02 *** grzywacz
11 2010-12-10T04:46:22 *** jordonwii
12 2010-12-10T06:13:32 *** jordonwii
13 2010-12-10T07:23:54 *** aa_
14 2010-12-10T07:23:58 *** aa_
15 2010-12-10T07:54:46 <dreimark> moin
16 2010-12-10T07:54:51 <dreimark> ThomasWaldmann: http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037970701
17 2010-12-10T10:09:00 <ThomasWaldmann> i added a comment
18 2010-12-10T10:26:43 *** rfw
19 2010-12-10T11:00:11 *** greg_f
20 2010-12-10T12:50:51 *** GCIBot
21 2010-12-10T15:10:11 *** m4k3r
22 2010-12-10T15:59:50 <m4k3r> I have two questions about MoinMoin page templates.
23 2010-12-10T16:00:59 <m4k3r> 1. how can i make somethink like "click [here | url = frontend.url_for('oid_login')]"?
24 2010-12-10T16:01:19 <m4k3r> s/somethink/something/
25 2010-12-10T16:02:07 <m4k3r> 2. Is there an elegant way to append many void lines to an html file?
26 2010-12-10T16:03:28 <m4k3r> I mean, I would like to add some void lines to a template file, without putting blank lines if possible.
27 2010-12-10T16:05:05 <TheSheep> what is a void line?
28 2010-12-10T16:05:17 <m4k3r> '\r\n'
29 2010-12-10T16:05:38 <TheSheep> and how it is different from blank line?
30 2010-12-10T16:06:05 <TheSheep> http://jinja.pocoo.org/templates/#whitespace-control
31 2010-12-10T16:06:34 <TheSheep> ad 1.
32 2010-12-10T16:07:07 <TheSheep> click <a href="{{ frontend.url_for('oid_login') }}">here</a> ...
33 2010-12-10T16:07:38 <TheSheep> but don't use 'here' as link text, use a name of what it links to
34 2010-12-10T16:21:47 <m4k3r> TheSheep: Thanks.
35 2010-12-10T17:20:01 <m4k3r> Uhm. Seems like User class, create_user function etc. are built without any abstaction usable by openid. Do you agree with adding a new attribute/argument to these? In that case, do you prefer something like (.., openid=None) or (..., **kw); kw.get('openid')?
36 2010-12-10T17:50:57 <m4k3r> ThomasWaldmann: ping
37 2010-12-10T19:56:00 <ThomasWaldmann> re
38 2010-12-10T19:58:01 <ThomasWaldmann> m4k3r: pong
39 2010-12-10T20:05:37 *** greg_f
40 2010-12-10T20:22:09 <ThomasWaldmann> http://moinmo.in/EasyToDo/autoescaping%20with%20jinja2%20-%20fix%20code%20and%20templates please review
41 2010-12-10T20:24:16 <ThomasWaldmann> http://moinmo.in/EasyToDo/design%20a%20background%20image please review
42 2010-12-10T20:35:16 <ThomasWaldmann> http://moinmo.in/EasyToDo/implement%20itemtransclusions%20metadata please review
43 2010-12-10T20:35:28 <dreimark> xorAxAx: ronny ^^^
44 2010-12-10T20:35:33 <dreimark> re
45 2010-12-10T20:38:54 <ThomasWaldmann> http://moinmo.in/EasyToDo/update%20moin%201.9%20translation please review
46 2010-12-10T20:39:19 <ThomasWaldmann> imho those are ready for posting. if you want to change something, do it now.
47 2010-12-10T20:44:21 <ThomasWaldmann> http://moinmo.in/EasyToDo/make%20file%20upload%20more%20comfortable comments on that one?
48 2010-12-10T20:48:52 <ronny> hmm, tommorow i'll get myself up2date on jinja i guess
49 2010-12-10T20:49:17 <dreimark> the autoescaping task should we set it to difficult too?
50 2010-12-10T20:50:04 <dreimark> this may avoid that someone who things it is easy jumps on it
51 2010-12-10T20:50:52 <dreimark> I would prefer the problem is understood beforehand
52 2010-12-10T20:50:57 <ronny> my grasp on the details is rather fuzzy, but i dont think its easy, at least it needs a lot of analysis i think
53 2010-12-10T20:51:30 <dreimark> currently it is medium
54 2010-12-10T20:53:34 <dreimark> but for that task i would prefer one we would not need to train much beforehand
55 2010-12-10T20:56:00 <ThomasWaldmann> the places are already marked, so no searching
56 2010-12-10T20:56:21 <ThomasWaldmann> sometimes it might simply need removal of html (if it also works without)
57 2010-12-10T20:56:30 <ThomasWaldmann> sometimes usage of markup class
58 2010-12-10T20:56:50 <ThomasWaldmann> sometimes maybe moving html to template
59 2010-12-10T20:57:06 <ThomasWaldmann> and iirc i classified it medium, not easy
60 2010-12-10T20:57:17 <dreimark> 20:51 < dreimark> currently it is medium
61 2010-12-10T20:57:39 <ThomasWaldmann> (20:50) < dreimark> this may avoid that someone who things it is easy jumps on it
62 2010-12-10T20:57:53 <dreimark> it was meant in the easy way like learning
63 2010-12-10T20:58:44 <dreimark> while that is not bad. we must just be clear that we also can have much effort with the task
64 2010-12-10T21:01:50 <dreimark> s/while/because/
65 2010-12-10T21:01:53 <ronny> i did a quick grep, there dont seem to be that many of them unless the bb mirror isnt up2date
66 2010-12-10T21:03:31 <m4k3r> ThomasWaldmann: !
67 2010-12-10T21:03:42 <dreimark> ?
68 2010-12-10T21:05:49 <dreimark> ronny: ok, yes, i counted the once in .hg too
69 2010-12-10T21:06:07 <dreimark> then it is not so much as i thought before
70 2010-12-10T21:06:37 <m4k3r> Uhm. Seems like User class, create_user function etc. are built without any abstaction usable by openid. Do you agree with adding a new attribute/argument to these? In that case, do you prefer something like (.., openid=None) or (..., **kw); kw.get('openid')?
71 2010-12-10T21:06:51 <ronny> dreimark: i suppose medium is ok
72 2010-12-10T21:07:04 <dreimark> fully agreed now
73 2010-12-10T21:09:10 <dreimark> m4k3r: no **kw please, rather a good definition of the API
74 2010-12-10T21:09:59 <dreimark> btw. we need to review js too
75 2010-12-10T21:10:04 *** grzywacz
76 2010-12-10T21:13:54 <m4k3r> dreimark: ok.
77 2010-12-10T21:18:40 <dreimark> bbl
78 2010-12-10T21:18:48 <m4k3r> dreimark: wait!
79 2010-12-10T21:18:51 <dreimark> ok
80 2010-12-10T21:19:34 <m4k3r> If I have a globar variable, such as using_openid (created with try: import foo.openid), where0s the best place to store it?
81 2010-12-10T21:19:54 <m4k3r> Actually it is in views.py, but I don't think it's the best place.
82 2010-12-10T21:20:15 <dreimark> it is something different than a config var?
83 2010-12-10T21:21:34 <dreimark> if is is something like a flag and one has to enable it in wikiconfig
84 2010-12-10T21:21:35 <m4k3r> dreimark: not too much, I think. I use it to define some function, and do some extra stuff when creating users.
85 2010-12-10T21:21:42 <m4k3r> dreimark: no.
86 2010-12-10T21:21:58 <m4k3r> dreimark: but he could, why not, yeah.
87 2010-12-10T21:22:35 *** rfw
88 2010-12-10T21:22:51 <m4k3r> dreimark: where are such kind of values setted?
89 2010-12-10T21:23:15 <dreimark> MM.config.default
90 2010-12-10T21:24:00 <dreimark> in 1.9 we did something like http://hg.moinmo.in/moin/1.9/file/666e359493f5/wiki/config/more_samples/openid_teams_wikiconfig_snippet
91 2010-12-10T21:24:49 <dreimark> (is a snippet to become added to wikiconfig if one wants oid)
92 2010-12-10T21:27:58 <m4k3r> thx,
93 2010-12-10T23:25:16 <ThomasWaldmann> re
94 2010-12-10T23:41:27 * ThomasWaldmann creates some tasks
95 2010-12-10T23:49:59 *** grzywacz
96