1 2010-11-28T00:00:20 <ThomasWaldmann> moin2: are you native english speaker?
2 2010-11-28T00:01:36 <dreimark> similar to http://test.moinmo.in:8080/+history
3 2010-11-28T00:02:44 <dreimark> if you start the wiki by moin of the toplevel dir
4 2010-11-28T00:02:44 <moin2> yes
5 2010-11-28T00:02:53 <dreimark> you see it at http://localhost:8080
6 2010-11-28T00:04:26 <moin2> ok, i'll start working on it
7 2010-11-28T00:05:34 <dreimark> :)
8 2010-11-28T00:18:56 *** shetmvg
9 2010-11-28T00:24:33 <dreimark> hi shetmvg
10 2010-11-28T00:25:10 *** shetmvg
11 2010-11-28T00:31:06 *** grzywa
12 2010-11-28T00:40:24 *** moin2
13 2010-11-28T01:07:15 <dreimark> ThomasWaldmann: http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965757
14 2010-11-28T01:09:02 <dreimark> we may be should also use the sphinx new logo for moin itselfs
15 2010-11-28T01:21:38 <ThomasWaldmann> dreimark: one NEVER uses jpg for screenshots
16 2010-11-28T01:22:26 <dreimark> but also not bmp, it is windows likly not sure if it can do png
17 2010-11-28T01:43:49 <ronny> `reh
18 2010-11-28T01:43:57 *** nickr5
19 2010-11-28T01:44:07 *** eSyr
20 2010-11-28T01:44:16 * ronny just got back drom a christmas market
21 2010-11-28T01:44:17 *** nickr5
22 2010-11-28T01:44:37 <dreimark> ronny: gluehwein?
23 2010-11-28T01:44:47 <ronny> dreimark: quite some
24 2010-11-28T01:45:59 *** rfwalrus
25 2010-11-28T01:46:25 *** rfw
26 2010-11-28T01:46:26 *** rfwalrus
27 2010-11-28T01:46:33 *** rfw
28 2010-11-28T01:47:05 <ronny> im still farfrom seeing doulbe, but probably far enogh from being usefull
29 2010-11-28T01:47:20 <dreimark> hehe
30 2010-11-28T01:47:47 *** eSyr
31 2010-11-28T02:02:57 *** rfwalrus
32 2010-11-28T02:03:29 *** rfw
33 2010-11-28T02:03:31 *** rfwalrus
34 2010-11-28T02:03:33 *** rfw
35 2010-11-28T02:32:44 *** moin2
36 2010-11-28T02:33:03 <moin2> need clarification on my task: http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965248
37 2010-11-28T02:48:21 *** nickr5
38 2010-11-28T02:50:19 <moin2> anyone there?
39 2010-11-28T02:53:51 <moin2> i want to know if it should be assumed or not that each wanted item has only item linking to it
40 2010-11-28T03:51:48 *** moin2
41 2010-11-28T04:55:27 *** jordonwii
42 2010-11-28T06:12:08 *** sora_h
43 2010-11-28T06:12:12 <sora_h> Hi
44 2010-11-28T06:12:38 <jordonwii> Hi
45 2010-11-28T06:12:57 <sora_h> I'm attending to GCI2010-11, and I found moinmoin task.
46 2010-11-28T06:13:13 <sora_h> I have some questions for "Title: find a bug, fix a bug"
47 2010-11-28T06:13:34 <sora_h> First sorry for my english is strange (I'm Japanese student)
48 2010-11-28T06:13:41 <jordonwii> Hmm, I'm not sure whether any MoinMoin devs are on...
49 2010-11-28T06:13:48 <sora_h> ops...
50 2010-11-28T06:13:55 <jordonwii> It's ok
51 2010-11-28T06:14:14 <jordonwii> What time is it where you are?
52 2010-11-28T06:14:22 <sora_h> JST
53 2010-11-28T06:14:41 <sora_h> now 2:14pm :p (I know developers doesn't here now)
54 2010-11-28T06:15:24 <sora_h> I come here again other time
55 2010-11-28T06:15:26 *** sora_h
56 2010-11-28T07:46:53 *** greenskeleron
57 2010-11-28T07:54:52 *** bobjoe
58 2010-11-28T07:54:56 *** jordonwii
59 2010-11-28T07:55:03 *** bobjoe
60 2010-11-28T08:19:26 *** greenskeleton
61 2010-11-28T09:58:38 <valeuf> oh someone on the same timezone than me
62 2010-11-28T09:58:45 <valeuf> sad that he left
63 2010-11-28T10:14:36 *** Kapace_
64 2010-11-28T10:16:35 *** Kapace
65 2010-11-28T10:26:48 *** rfw
66 2010-11-28T10:33:45 *** Kapace_
67 2010-11-28T10:33:48 *** Kapace
68 2010-11-28T11:07:32 *** eSyr_
69 2010-11-28T11:08:04 *** eSyr
70 2010-11-28T11:26:08 *** m4k3r
71 2010-11-28T11:27:37 <ThomasWaldmann> moin
72 2010-11-28T11:35:52 *** m4k3r
73 2010-11-28T11:41:33 *** m4k3r
74 2010-11-28T11:47:31 *** m4k3r
75 2010-11-28T12:15:40 <ThomasWaldmann> fsck, "too many open files" for xapian index building
76 2010-11-28T12:18:36 *** m4k3r
77 2010-11-28T12:19:38 <dreimark> .oO
78 2010-11-28T12:19:39 <dreimark> moin
79 2010-11-28T12:30:59 <dreimark> bbl
80 2010-11-28T12:55:49 *** greg_f
81 2010-11-28T13:44:00 <ThomasWaldmann> http://moinmo.in/EasyToDo/implement%20openid comments?
82 2010-11-28T13:55:50 *** kursor
83 2010-11-28T14:01:39 *** grzywacz
84 2010-11-28T14:30:00 <m4k3r> ThomasWaldmann: :O cool.
85 2010-11-28T14:34:48 *** gustavojordan
86 2010-11-28T14:40:33 <gustavojordan> Hi, ThomasWaldmann , i claim task http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037964898 . What do you want to translate?
87 2010-11-28T14:41:13 <ThomasWaldmann> your task is not so much about translation
88 2010-11-28T14:41:23 <ThomasWaldmann> but rather about preparing translation
89 2010-11-28T14:42:06 <ThomasWaldmann> to avoid double (or N times) work after we have translations and need to change original strings
90 2010-11-28T14:42:29 <ThomasWaldmann> see abstract
91 2010-11-28T14:42:55 <m4k3r> ThomasWaldmann: is that task created?
92 2010-11-28T14:43:19 <m4k3r> i'm going to leave my current task with ffmpeg for that. <3
93 2010-11-28T14:45:40 <ThomasWaldmann> m4k3r: openid?
94 2010-11-28T14:45:46 <m4k3r> y
95 2010-11-28T14:46:03 <gustavojordan> ThomasWaldmann,
96 2010-11-28T14:46:06 <ThomasWaldmann> not yet, but we'll have an bulk task creation later today
97 2010-11-28T14:46:14 <gustavojordan> then it is to check what codes?
98 2010-11-28T14:46:32 <ThomasWaldmann> m4k3r: maybe you can prepare a bit and keep an eye on task list
99 2010-11-28T14:47:00 <ThomasWaldmann> m4k3r: and think about a pretty UI
100 2010-11-28T14:47:25 <ThomasWaldmann> gustavojordan: all moin/2.0-dev code and templates
101 2010-11-28T14:47:27 <m4k3r> ThomasWaldmann: yeah, can I edit the wiki page and claim it? And, could you ping me once done?
102 2010-11-28T14:47:44 <ThomasWaldmann> no, claiming has to be done in melange
103 2010-11-28T14:48:00 <ThomasWaldmann> but i don't think lots of people will quickly jump on that
104 2010-11-28T14:49:21 <gustavojordan> ThomasWaldmann, tem certeza de que o justo valor desta tarefa é um?
105 2010-11-28T14:49:33 <ThomasWaldmann> english, please :)
106 2010-11-28T14:50:14 <ThomasWaldmann> m4k3r: maybe help finishing the task spec for openid and oauth
107 2010-11-28T14:50:23 <gustavojordan> ThomasWaldmann, if you do a task for the internationalization of Portuguese will be happy
108 2010-11-28T14:50:31 <ThomasWaldmann> i mean, if something is unclear or missing
109 2010-11-28T14:50:36 <gustavojordan> ThomasWaldmann, are you sure that the fair value of this task is one?
110 2010-11-28T14:51:02 <m4k3r> ThomasWaldmann: I mean, claim it in the moinmoin wiki.
111 2010-11-28T14:51:05 <ThomasWaldmann> gustavojordan: there won't be moin translations except german in this contest, it is still too early for moin2
112 2010-11-28T14:51:24 <ThomasWaldmann> gustavojordan: but if you like, you can have a look at moin/1.9 and portuguese
113 2010-11-28T14:51:51 <ThomasWaldmann> gustavojordan: pt or pt-br?
114 2010-11-28T14:51:54 <gustavojordan> pt-br
115 2010-11-28T14:52:28 <ThomasWaldmann> no, that one is at 100%, thanks to Renato Silva
116 2010-11-28T14:53:07 <ThomasWaldmann> gustavojordan: the preparation only needs to be done once (for the english strings)
117 2010-11-28T14:53:17 <ThomasWaldmann> it is not a quick task, but an easy one
118 2010-11-28T14:53:34 <gustavojordan> ThomasWaldmann, and my task are you sure that the fair value of this task is one?
119 2010-11-28T14:54:22 <ThomasWaldmann> well, not sure, could be also medium
120 2010-11-28T14:54:50 <ThomasWaldmann> the issue with that is, that it is about difficulty (not effort)
121 2010-11-28T14:56:43 <ThomasWaldmann> dreimark: ronny: waldi: xorAxAx: can you check the difficulty for the translation preparation task? shall we give medium for that one?
122 2010-11-28T14:57:31 * ThomasWaldmann is not even sure whether it was inteded by google that points are based on difficulty only, maybe they mixed it up with effort?
123 2010-11-28T14:58:39 <ThomasWaldmann> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037964898
124 2010-11-28T14:59:22 <ronny> ThomasWaldmann: i think medium may be aporiate, its after al lthe whole codebase, im not aware of the current translation string state
125 2010-11-28T14:59:32 <ThomasWaldmann> gustavojordan: you think your english skills are like a native speaker?
126 2010-11-28T15:00:21 <ThomasWaldmann> (see requirements)
127 2010-11-28T15:00:29 <gustavojordan> no I'll have to find another task
128 2010-11-28T15:00:32 <gustavojordan> thanks
129 2010-11-28T15:00:41 <ThomasWaldmann> ok, no problem :)
130 2010-11-28T15:01:07 * ThomasWaldmann is no native english speaker either, that is why we search someone with really good english :)
131 2010-11-28T15:01:38 <gustavojordan> sure
132 2010-11-28T15:05:27 <ThomasWaldmann> and the problem is that if the original (english) strings are borked and you are starting a broad translation to N languages, you'll cause N+1 times work to fix the strings.
133 2010-11-28T15:21:13 <ronny> ThomasWaldmann: sometimes i wonder if it would be reasonable to make actual strings in a program targeted more to developers and having normal english as a set of translations
134 2010-11-28T15:28:10 *** kursor
135 2010-11-28T15:28:32 <ThomasWaldmann> ronny: yes, that would solve the N problem
136 2010-11-28T15:28:59 <ThomasWaldmann> but otoh, you have less readable source then
137 2010-11-28T15:53:31 <ThomasWaldmann> the too many open files issue is due to too many pipes open
138 2010-11-28T15:54:04 <ThomasWaldmann> http://hg.moinmo.in/moin/1.9/file/tip/MoinMoin/util/SubProcess.py < if someone wants to help review this, please do so
139 2010-11-28T16:10:11 *** jordonwii
140 2010-11-28T16:10:56 <jordonwii> Greetings
141 2010-11-28T16:11:10 <ThomasWaldmann> moin :)
142 2010-11-28T16:12:47 <jordonwii> Hehe, tomorrow I need to tell my German teacher I learned something new =)
143 2010-11-28T16:14:34 <ThomasWaldmann> :))
144 2010-11-28T16:15:07 <ThomasWaldmann> we might be one of the few projects with a name that qualifies as greeting :)
145 2010-11-28T16:15:48 <jordonwii> ;)
146 2010-11-28T16:17:33 <jordonwii> Is dreimark here?
147 2010-11-28T16:19:38 <jordonwii> How does one transclud plain text?
148 2010-11-28T16:19:49 <jordonwii> *transclude
149 2010-11-28T16:21:46 <jordonwii> Or anything besides an image, video or audio for that matter?
150 2010-11-28T16:28:11 <jordonwii> ThomasWaldmann: ?
151 2010-11-28T16:31:16 <ThomasWaldmann> {{foo}}
152 2010-11-28T16:31:36 <ThomasWaldmann> foo can be anything, even a non-existing item
153 2010-11-28T16:42:52 <dreimark> re
154 2010-11-28T16:43:24 * dreimark reads backlog
155 2010-11-28T16:47:04 * jordonwii is AFK ATM
156 2010-11-28T16:48:07 <ronny> ThomasWaldmann: i dont see how stings aimed at the developer instead of the user make readability worse
157 2010-11-28T16:50:34 <ThomasWaldmann> because you do not even see the same strings as the user, not even for english?
158 2010-11-28T16:50:54 *** nickr5
159 2010-11-28T16:51:00 <dreimark> ronny: searching for a error, message is a pain then
160 2010-11-28T16:51:43 <dreimark> and we should avoid this historical error number concept
161 2010-11-28T16:53:13 *** gustavojordan
162 2010-11-28T16:53:44 <ronny> dreimark: isnt it a pain for any non-english language anyway
163 2010-11-28T16:53:55 <ronny> and well, error numbers are evil ^^
164 2010-11-28T16:56:57 <dreimark> ronny: it is similiar to the net if you search for something. I am happy if I find something readable in english. and if the only answer i found is in a lang i can't read i try translate_t.
165 2010-11-28T16:58:08 <dreimark> the best would be the browser does a correct translation by a service at time of access
166 2010-11-28T16:59:21 <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5732:109f7b6471af 1.9/MoinMoin/util/SubProcess.py: SubProcess: make sure files are closed at the end (experimental change)
167 2010-11-28T16:59:23 <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5733:4ca7ca278669 1.9/MoinMoin/search/builtin.py: use logging.traceback to get more information if a filter crashes
168 2010-11-28T17:00:32 <dreimark> ThomasWaldmann: the textcha task should get Difficult
169 2010-11-28T17:02:00 <dreimark> about all the documentations, should we better do rst documentations?
170 2010-11-28T17:05:43 <dreimark> sphinx code doc styleguide should also become Medium.
171 2010-11-28T17:05:47 <dreimark> -also
172 2010-11-28T17:09:30 <ThomasWaldmann> textchas more secure? why difficult?
173 2010-11-28T17:09:59 <dreimark> we want exploit code too as tests
174 2010-11-28T17:10:49 <dreimark> and i am not sure if i want that at all
175 2010-11-28T17:10:51 <ThomasWaldmann> that is not required
176 2010-11-28T17:11:46 <ThomasWaldmann> and if you publish exploit code for 1.9.3, that might make it a bit too easy for the spammers
177 2010-11-28T17:12:06 <dreimark> yes that is the problem with the task
178 2010-11-28T17:12:25 <ThomasWaldmann> so, why difficult?
179 2010-11-28T17:13:17 <ThomasWaldmann> btw, what i am thinking of is something similar as the securecookie of werkzeug
180 2010-11-28T17:13:43 <dreimark> makes sense, but the problem is that after this task publishs an example
181 2010-11-28T17:15:08 <ThomasWaldmann> we do not have publishing exploit code as deliverable
182 2010-11-28T17:15:12 <dreimark> iff we have a problem we need anywasy to fix it
183 2010-11-28T17:15:45 <ThomasWaldmann> and spammers are usually too dumb and/or lazy to do lots of research/coding
184 2010-11-28T17:15:53 <dreimark> true
185 2010-11-28T17:15:55 <ThomasWaldmann> or, if they are not, they have the code already
186 2010-11-28T17:17:32 <dreimark> ah ok, werkzeug securecookie limits it to 1.9
187 2010-11-28T17:18:19 <ThomasWaldmann> what's "medium" about the sphinx preparation?
188 2010-11-28T17:18:36 <dreimark> i thought it has a different difficulty because of medium for reimplementing the current
189 2010-11-28T17:18:51 <dreimark> textcha code in moin-2
190 2010-11-28T17:19:05 <ThomasWaldmann> ?
191 2010-11-28T17:19:10 <dreimark> but you may be right, it was a difficult task splitted in 2 x medium
192 2010-11-28T17:20:13 <ThomasWaldmann> we are talking about the sphinx code preparation. why "medium"?
193 2010-11-28T17:20:32 <dreimark> because it is more than the follow up task
194 2010-11-28T17:20:56 <ThomasWaldmann> more difficult?
195 2010-11-28T17:21:26 <dreimark> not really but conceptional work
196 2010-11-28T17:22:08 <dreimark> the other translation task is based on
197 2010-11-28T17:22:18 <ThomasWaldmann> well, you can just have a look into what werkzeug, flask, moin currently has
198 2010-11-28T17:22:18 <dreimark> s/translation/conversion/
199 2010-11-28T17:22:47 <ThomasWaldmann> and the output of that task will be significantly shorter than what we expect for the follow up task
200 2010-11-28T17:25:06 <dreimark> hmm yes
201 2010-11-28T17:25:55 <dreimark> the problem of this task is "completeness" if we would know that answer yet, we don't need the task
202 2010-11-28T17:26:23 <dreimark> and if there is something missing or is wrong it makes some more work
203 2010-11-28T17:27:09 <dreimark> therefore i think the one who did this should use his own template
204 2010-11-28T17:27:13 <dreimark> for the first 100k
205 2010-11-28T17:27:33 <dreimark> so it is 2 Easy = 1 Medium
206 2010-11-28T17:29:34 <dreimark> (for this student it should be easy to follow his description and doing this)
207 2010-11-28T17:31:36 <ThomasWaldmann> ok, so we make a make template + apply template out of this. makes sense.
208 2010-11-28T17:37:41 <ThomasWaldmann> http://moinmo.in/EasyToDo/sphinx%20code%20doc%20styleguide better?
209 2010-11-28T17:38:47 * dreimark reads
210 2010-11-28T17:40:26 <dreimark> ok
211 2010-11-28T17:49:13 <ThomasWaldmann> http://moinmo.in/EasyToDo/make%20docstrings%20sphinx%20compatible 200kB non-unified diff
212 2010-11-28T17:49:35 <ThomasWaldmann> =100kB docstrings change
213 2010-11-28T17:50:24 <ThomasWaldmann> i expect that to be a bit slow going at the start, but if some routine is developed, it should go rather quickly
214 2010-11-28T17:54:49 <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5734:a0c4450dce2c 1.9/MoinMoin/search/builtin.py: filter exception logging: fix wrong method name
215 2010-11-28T18:02:35 <dreimark> jordonwii: http://thejournal.com/articles/2010/10/20/google-code-in-calls-on-k-12-students-to-become-open-source-developers.aspx
216 2010-11-28T18:11:34 *** moin1
217 2010-11-28T18:11:43 *** moin1
218 2010-11-28T18:12:01 <moin2> how to access the documentation for moin2.0
219 2010-11-28T18:12:06 <moin2> ?
220 2010-11-28T18:12:24 <moin2> to view the existing methods and stuff
221 2010-11-28T18:14:25 <dreimark> hi
222 2010-11-28T18:16:28 <moin2> how do you view the existing methods in moin2.0
223 2010-11-28T18:16:36 <dreimark> i use sphinx
224 2010-11-28T18:16:46 *** kursor
225 2010-11-28T18:16:56 <moin2> what is sphinx?
226 2010-11-28T18:16:58 * dreimark phone
227 2010-11-28T18:18:35 <dreimark> shinx is a dosumentation project, you have all docs in the repo
228 2010-11-28T18:18:48 <dreimark> you can compile that
229 2010-11-28T18:18:52 <moin2> where can i find them
230 2010-11-28T18:18:57 <dreimark> and have a html file locally
231 2010-11-28T18:19:05 <moin2> how?
232 2010-11-28T18:19:18 <dreimark> http://hg.moinmo.in/moin/2.0-dev/file/a75f2d683d88/docs
233 2010-11-28T18:20:08 <dreimark> ThomasWaldmann: which was the web url for our sphinx
234 2010-11-28T18:20:15 <moin2> i have the clone already
235 2010-11-28T18:20:24 <ThomasWaldmann> http://static.moinmo.in/m2/html/
236 2010-11-28T18:22:59 <dreimark> moin2: if you have sphinx installed you can build this locally on your box
237 2010-11-28T18:23:28 <moin2> ok
238 2010-11-28T18:23:44 <dreimark> if not look at the url thomas provided
239 2010-11-28T18:24:01 <dreimark> btw. which task do you work on?
240 2010-11-28T18:24:38 <moin2> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965248
241 2010-11-28T18:27:16 <dreimark> moin2: do you have readed the orphans implementation
242 2010-11-28T18:30:09 <moin2> yes i have
243 2010-11-28T18:30:24 <dreimark> can you exaplain me the difference to your task?
244 2010-11-28T18:31:12 <dreimark> s/exaplain/explain/
245 2010-11-28T18:31:27 <moin2> orphans searches for items that are not linked to any other items, whereas my task is asking for items that do not exist yet but are linked to other items
246 2010-11-28T18:32:33 <dreimark> and if you look at the orphans code what is different for your task?
247 2010-11-28T18:33:21 <moin2> nothing really, i am just trying to actually understand what each library function does and do some of the research on it myself
248 2010-11-28T18:33:43 <dreimark> which ide do you use, eclipse pydev ?
249 2010-11-28T18:34:14 * jordonwii is back now.
250 2010-11-28T18:34:16 <moin2> yes
251 2010-11-28T18:35:27 <dreimark> if you have questions - jsut ask, we may be able to answer
252 2010-11-28T18:35:44 <ThomasWaldmann> moin2: flaskg.storage.has_item() is maybe what you are searching for
253 2010-11-28T18:36:40 <moin2> yes but i want to know where i can view all these methods to know what each does, is that possible?
254 2010-11-28T18:36:54 <moin2> i couldn't find flaskg
255 2010-11-28T18:37:14 <ThomasWaldmann> you can either read the docs i posted above or the code (which has the docs inside)
256 2010-11-28T18:37:26 <ThomasWaldmann> flaskg is "g" of flask
257 2010-11-28T18:37:58 <ThomasWaldmann> some kind of "global" thing that can be used as a container for misc stuff
258 2010-11-28T18:38:25 <ThomasWaldmann> (it is not really a global, rather a context-local, but you don't need to care for that)
259 2010-11-28T18:38:39 <moin2> ok
260 2010-11-28T18:39:52 <moin2> so flaskg is just some global variable?
261 2010-11-28T18:40:32 <ThomasWaldmann> yes
262 2010-11-28T18:40:50 <moin2> that helps a lot, thank you!!
263 2010-11-28T18:41:31 <ThomasWaldmann> btw, start with creating a simple list of wanted items
264 2010-11-28T18:41:44 <ThomasWaldmann> you can use same template as for orphaned items then
265 2010-11-28T18:42:28 <ThomasWaldmann> later, you need to modify that, so the items having the links to those wanted items are listed right besides them
266 2010-11-28T18:43:30 <moin2> ok
267 2010-11-28T18:43:58 <jordonwii> dreimark: Sorry to interrupt, but can you tell me where a {{wikipage}} gets turned into an actual transclusion of 'wikipage'
268 2010-11-28T18:44:19 <jordonwii> It looks like it isn't even passed to visit_moinpage_object
269 2010-11-28T18:46:15 <ThomasWaldmann> jordonwii: iirc, it includes the dom-tree of the target object into the dom-tree of the source item at the place where the transclusion markup was
270 2010-11-28T18:48:00 <ThomasWaldmann> moin2: forget what i said about has_item()
271 2010-11-28T18:48:15 <ThomasWaldmann> you have a list of all existing items, so you don't need that
272 2010-11-28T18:48:43 <jordonwii> ThomasWaldmann: what function does the transclusion?
273 2010-11-28T18:48:43 <ThomasWaldmann> (that was more complicated in moin 1.9, so you're lucky :)
274 2010-11-28T18:49:34 <dreimark> moin2: just look at the orphaned code and make a mockup for listing wanted items first
275 2010-11-28T18:50:03 <dreimark> then do the second part to show where they are called from
276 2010-11-28T18:50:23 <dreimark> which needs an other template then
277 2010-11-28T18:52:21 <ThomasWaldmann> jordonwii: look at converter/include.py line 230...
278 2010-11-28T18:52:29 *** raignarok
279 2010-11-28T18:52:56 <jordonwii> Sweet, thanks!
280 2010-11-28T18:53:58 <moin2> do i assume that each nonexisting item only have one item linking to it?
281 2010-11-28T18:54:20 <ThomasWaldmann> no
282 2010-11-28T18:54:33 <ThomasWaldmann> in the end it looks like that:
283 2010-11-28T18:54:51 <moin2> ok, thanks
284 2010-11-28T18:54:52 <ThomasWaldmann> wanteditem: fromitem1, fromitem2, fromitem3...
285 2010-11-28T18:55:16 <ThomasWaldmann> but as a first step, just do a list of wanteditems
286 2010-11-28T18:55:33 <ThomasWaldmann> and submit that for review
287 2010-11-28T18:58:43 <jordonwii> Question: Does MoinMoin have any translation going on? I want to provide a title="" for the link.
288 2010-11-28T18:59:22 <ThomasWaldmann> _("foo")
289 2010-11-28T18:59:39 <ThomasWaldmann> there are no translations yet
290 2010-11-28T18:59:49 <ThomasWaldmann> but it should be prepared
291 2010-11-28T19:00:27 *** raignarok_
292 2010-11-28T19:00:43 *** raignarok
293 2010-11-28T19:01:13 <jordonwii> K
294 2010-11-28T19:06:16 <ThomasWaldmann> is sriram here?
295 2010-11-28T19:12:09 *** pvinogradov
296 2010-11-28T19:18:06 *** rfw
297 2010-11-28T19:23:45 * dreimark drops a needle
298 2010-11-28T19:27:29 *** moin2
299 2010-11-28T19:31:17 * jordonwii hears a needle drop.
300 2010-11-28T19:31:25 <jordonwii> ...late
301 2010-11-28T19:33:09 * ThomasWaldmann debugs moin 1.9 issues :)
302 2010-11-28T19:36:38 *** greg_f
303 2010-11-28T19:44:06 <dreimark> :)
304 2010-11-28T19:46:42 <jordonwii> Haha, I might have it. =)
305 2010-11-28T19:49:34 <jordonwii> How does one get the url of the current page?
306 2010-11-28T19:52:05 <jordonwii> dreimark: would os.environ work?
307 2010-11-28T19:52:22 <dreimark> look for url_for
308 2010-11-28T19:53:05 <jordonwii> Where?
309 2010-11-28T19:53:57 <dreimark> e.g. in items
310 2010-11-28T19:56:08 <jordonwii> I don't see it in os.environ
311 2010-11-28T19:57:32 <dreimark> item_name = request.values.get('item_name', '')
312 2010-11-28T19:58:35 <jordonwii> Hmm, problem. I'd like the text of the mouseover item to have the full URL in it (as opposed to just '/<wiki-item-title>')
313 2010-11-28T19:59:10 <jordonwii> But I can't access request from a converter.include.Converter instance can I?
314 2010-11-28T20:00:22 <dreimark> are you sure that you need the complete URL?
315 2010-11-28T20:00:30 <jordonwii> I don't _need_ it
316 2010-11-28T20:00:47 <jordonwii> Just using /title works, but the mouseover item is tiny
317 2010-11-28T20:00:55 <ThomasWaldmann> jordonwii: why not just the target item name?
318 2010-11-28T20:01:25 <jordonwii> The example I'm including for testing is {{rst}}
319 2010-11-28T20:01:39 <jordonwii> The mouseover box just says "rst" in it
320 2010-11-28T20:01:56 <jordonwii> I'd rather it say "http://localhost:8080/rst"
321 2010-11-28T20:02:00 <jordonwii> I think
322 2010-11-28T20:04:13 <ThomasWaldmann> no, that's ugly
323 2010-11-28T20:04:24 <jordonwii> Ok =)
324 2010-11-28T20:04:43 <ThomasWaldmann> but you could say "-> itemname"
325 2010-11-28T20:05:02 <ThomasWaldmann> that would solve the translation automatically :)
326 2010-11-28T20:06:40 <jordonwii> Just put a "->" in front? Ok
327 2010-11-28T20:13:17 <jordonwii> ThomasWaldmann: Which corner should the mouseover be in?
328 2010-11-28T20:14:28 <dreimark> good question
329 2010-11-28T20:14:34 <dreimark> i prefer upper left
330 2010-11-28T20:16:06 <dreimark> because that edge is size indpendent, while everything on the right may need me scrolling, also on bottom
331 2010-11-28T20:16:13 <dreimark> brb
332 2010-11-28T20:17:40 <dreimark> jordonwii: ^^
333 2010-11-28T20:17:46 <jordonwii> K
334 2010-11-28T20:17:53 <jordonwii> Having trouble getting it there >.<
335 2010-11-28T20:20:13 *** pvinogradov
336 2010-11-28T20:21:09 <jordonwii> Is it possible with css to select an element based on its sibling?
337 2010-11-28T20:21:44 <jordonwii> i.e. select a child if its parent has a certain other child
338 2010-11-28T20:23:27 <rfw> if($("#parent").find("#child1").length != 0) $("#parent").find("#child2") ?
339 2010-11-28T20:24:29 <jordonwii> I was hoping css only, but that works =)
340 2010-11-28T20:24:41 <rfw> oh
341 2010-11-28T20:24:47 <rfw> i don't think css can do that
342 2010-11-28T20:25:12 <rfw> or it could and it wouldn't be cross browser compatible (*cough*internet explorer*cough*)
343 2010-11-28T20:25:21 <jordonwii> =(
344 2010-11-28T20:25:42 <jordonwii> brb
345 2010-11-28T20:28:27 <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5735:4a04a256898e 1.9/MoinMoin/util/_tests/test_lock.py: make lock timeout test less timing critical (thanks to piotrb for fixing, GCI 2010)
346 2010-11-28T20:28:32 <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5736:f3e8f2136279 1.9/MoinMoin/util/chartypes.py: u200b is not considered a space any more in unicode 4.0.1 (thanks to piotrb for fixing, GCI 2010)
347 2010-11-28T20:29:31 <ThomasWaldmann> jordonwii: shouldn't the mouse over be where the mouse is (when it is over the object)?
348 2010-11-28T20:33:11 <jordonwii> back
349 2010-11-28T20:33:28 <jordonwii> ThomasWaldmann: That would require JS wouldn't it?
350 2010-11-28T20:36:32 <jordonwii> I'll try that
351 2010-11-28T20:45:59 <ThomasWaldmann> if you can solve without js, try it
352 2010-11-28T20:46:21 <ThomasWaldmann> jordonwii:
353 2010-11-28T20:46:46 <jordonwii> Hmm
354 2010-11-28T20:46:58 <jordonwii> You can move an element based on mouse position with just css?
355 2010-11-28T20:48:29 <jordonwii> ThomasWaldmann: ?
356 2010-11-28T20:51:36 <jordonwii> I got it working with JS
357 2010-11-28T20:57:23 <ThomasWaldmann> ok, demo it or submit it for review
358 2010-11-28T20:59:02 <jordonwii> I submitted it for review. =)
359 2010-11-28T21:02:28 <ThomasWaldmann> dreimark: can you try it?
360 2010-11-28T21:02:42 * dreimark yes, downloaded
361 2010-11-28T21:02:46 * ThomasWaldmann is still busy finding what that special moin installation is misbehaving
362 2010-11-28T21:02:54 <ThomasWaldmann> why*
363 2010-11-28T21:03:34 <dreimark> jordonwii: i think you haven't seen my comment about comments
364 2010-11-28T21:03:41 <dreimark> please do # comment
365 2010-11-28T21:03:48 <dreimark> not #comment
366 2010-11-28T21:04:24 <dreimark> jordonwii: in the same comment was also where to put the css
367 2010-11-28T21:04:47 <jordonwii> Oops...sorry
368 2010-11-28T21:05:17 <jordonwii> Why have I not seen this yet?
369 2010-11-28T21:06:01 <jordonwii> Oh, didn't see the comments on the old task
370 2010-11-28T21:06:33 <dreimark> jordonwii: i missed to tell it for the first task
371 2010-11-28T21:06:48 <dreimark> Thomas had seen after i fixed the comment :)
372 2010-11-28T21:08:04 <jordonwii> I'm going to go fix that stuff quick
373 2010-11-28T21:08:27 <dreimark> for permalink, make a separate cs
374 2010-11-28T21:08:46 <dreimark> please check the py scripts with test_sourcecode test
375 2010-11-28T21:08:49 <ThomasWaldmann> why was it permalink again?
376 2010-11-28T21:09:27 <jordonwii> That's the word I've seen for that type of icon.
377 2010-11-28T21:09:40 <jordonwii> Django's docs for example use that
378 2010-11-28T21:09:41 <jordonwii> http://docs.djangoproject.com/en/dev/#first-steps
379 2010-11-28T21:10:32 <dreimark> jordonwii: there are some whitespace problems
380 2010-11-28T21:10:53 <jordonwii> Where?
381 2010-11-28T21:11:55 *** kursor
382 2010-11-28T21:12:58 <dreimark> run py.test MoinMoin/_tests/test_sourcecode
383 2010-11-28T21:13:44 <dreimark> jordonwii: currently on item view the link is shown too
384 2010-11-28T21:14:57 <jordonwii> Where should I put the css file(s)?
385 2010-11-28T21:17:12 <dreimark> screen.css modernized theme
386 2010-11-28T21:17:39 <dreimark> jordonwii: i have now two links
387 2010-11-28T21:17:43 <dreimark> one to the item
388 2010-11-28T21:17:50 <dreimark> and one with the url
389 2010-11-28T21:18:28 <jordonwii> dreimark: ?
390 2010-11-28T21:20:27 <dreimark> jordonwii: http://moinmo.in/ReimarBauer?action=AttachFile&do=view&target=Bildschirmfoto.png
391 2010-11-28T21:21:18 *** eSyr_
392 2010-11-28T21:21:24 *** eSyr
393 2010-11-28T21:21:33 <dreimark> jordonwii: please do more than one transclusion on a page
394 2010-11-28T21:21:43 <dreimark> i have the feeling that the position moves
395 2010-11-28T21:22:20 <jordonwii> Ok...do you have a good test page I can use?
396 2010-11-28T21:23:13 <dreimark> no, a simple one you also can easily create
397 2010-11-28T21:23:18 <dreimark> http://paste.pocoo.org/show/297297/
398 2010-11-28T21:23:32 <dreimark> a moinmoin wiki markup
399 2010-11-28T21:23:48 <dreimark> i used a different mimetypes for each
400 2010-11-28T21:25:26 <jordonwii> Ok...almost got whitespace issues fixed
401 2010-11-28T21:26:00 <jordonwii> Why does it not like linebreaks? =p
402 2010-11-28T21:26:14 <dreimark> it does but not with gazillion of blanks
403 2010-11-28T21:26:45 <dreimark> fix only your new whitespace probs
404 2010-11-28T21:27:13 <dreimark> there are may be more in files you don't changed now
405 2010-11-28T21:27:48 <jordonwii> K
406 2010-11-28T21:29:37 <dreimark> jordonwii: the -> should only be vissible on overlay
407 2010-11-28T21:29:47 <dreimark> if you prefix the itemname with it
408 2010-11-28T21:29:52 <jordonwii> And I've got 8 lines of JS sitting in show.html...should I move it?
409 2010-11-28T21:30:03 <dreimark> then it tries to find this item
410 2010-11-28T21:30:10 <dreimark> and it does not exist
411 2010-11-28T21:30:22 <dreimark> e.g. → Bild1
412 2010-11-28T21:30:54 <jordonwii> Ah
413 2010-11-28T21:30:59 <dreimark> jordonwii: yes, common.js
414 2010-11-28T21:37:14 *** jordan____
415 2010-11-28T21:37:34 *** gustavojordan
416 2010-11-28T21:38:01 <jordonwii> Ok...I got the arrow issue fixed
417 2010-11-28T21:38:09 <dreimark> :)
418 2010-11-28T21:38:13 <jordonwii> =p
419 2010-11-28T21:38:27 <jordonwii> Now the issue with you showed in the screenshot
420 2010-11-28T21:39:06 <jordonwii> What object do you have included there?
421 2010-11-28T21:39:21 <dreimark> image
422 2010-11-28T21:39:38 <dreimark> png
423 2010-11-28T21:39:40 <jordonwii> Oh...it looks like GMaps =p
424 2010-11-28T21:39:49 <dreimark> yes it is a dump from it
425 2010-11-28T21:40:18 <dreimark> it shows the plan of the jorney thomas and me did last year
426 2010-11-28T21:40:43 <dreimark> the intersting part is below bottom of browser view
427 2010-11-28T21:41:34 <jordonwii> ?
428 2010-11-28T21:42:13 <jordonwii> Heh, I just saw your comment on this task about the comment whitespace
429 2010-11-28T21:42:56 <dreimark> ah good, it is not only in mentors view visible :)
430 2010-11-28T21:43:39 *** gustavojordan
431 2010-11-28T21:45:20 <jordonwii> Hmm, I can't replicate that...
432 2010-11-28T21:45:26 *** gustavojordan
433 2010-11-28T21:45:44 <dreimark> i get it when i move to the right
434 2010-11-28T21:47:34 <jordonwii> How come when you try to register, and there's an error with the form, it takes you back to the MoinMoin index page?
435 2010-11-28T21:48:34 <dreimark> be aware minefield, not ready for users, development process
436 2010-11-28T21:48:52 <jordonwii> Ok =)
437 2010-11-28T21:49:02 <jordonwii> How do you create a new page?
438 2010-11-28T21:49:15 <dreimark> add a name to the url
439 2010-11-28T21:49:30 <dreimark> forget about page it is item
440 2010-11-28T21:49:44 *** gustavojordan
441 2010-11-28T21:51:16 <jordonwii> Ah, I found the problem: it's when an transcluded page has a transcluded item in it
442 2010-11-28T21:53:22 <jordonwii> I think the best way to fix that is to make sure that only the first overlay shows up (even if there are 2)
443 2010-11-28T21:53:40 *** gustavojordan
444 2010-11-28T21:57:33 <dreimark> i tink you don't need on the item itselfs if there is no transclusion
445 2010-11-28T21:57:42 <dreimark> bbl
446 2010-11-28T21:57:52 <jordonwii> I gotta go as well
447 2010-11-28T21:58:24 *** jordonwii
448 2010-11-28T22:01:57 *** gustavojordan
449 2010-11-28T22:02:23 *** gustavojordan
450 2010-11-28T22:18:54 *** raignarok_
451 2010-11-28T22:21:11 *** raignarok_
452 2010-11-28T22:42:25 *** moin0
453 2010-11-28T22:42:31 *** moin0
454 2010-11-28T22:42:43 <moin2> what are the revisions in an item?
455 2010-11-28T22:45:33 <moin2> anyone here?
456 2010-11-28T22:46:19 <ThomasWaldmann> see MoinMoin2.0 page
457 2010-11-28T22:47:30 <dreimark> moin2: read the docu page
458 2010-11-28T22:48:18 <dreimark> you do the wanteditems stuff?
459 2010-11-28T22:48:58 <moin2> yeah
460 2010-11-28T22:49:23 <dreimark> so you have part a) just the list ?
461 2010-11-28T22:49:47 <ThomasWaldmann> moin2: the only revision you need it the current revision (-1)
462 2010-11-28T22:49:53 <ThomasWaldmann> is*
463 2010-11-28T22:50:00 <moin2> not yet, i haven't figured the way to check if wanted, but i think i have the links if is wanted
464 2010-11-28T22:50:26 <dreimark> moin2: please analyse the orphans source we showed
465 2010-11-28T22:50:42 <dreimark> it is all you need
466 2010-11-28T22:51:08 <dreimark> look at documentation of set if that is unknown to you
467 2010-11-28T22:52:10 <dreimark> bbl
468 2010-11-28T22:53:07 <moin2> current revision(-1)returns the links?
469 2010-11-28T22:57:28 *** raignarok_
470 2010-11-28T23:02:50 <ThomasWaldmann> moin2: the orphaned code also analyses the links, you need to do the same, so what's the problem?
471 2010-11-28T23:05:20 *** gustavojordan
472 2010-11-28T23:06:34 *** gustavojordan
473 2010-11-28T23:09:38 <moin2> how to check if item exists or not?
474 2010-11-28T23:10:30 <ThomasWaldmann> you only have existing items in moin2
475 2010-11-28T23:10:50 <ThomasWaldmann> so, if the item list says there is "a" and "b", both really exist
476 2010-11-28T23:11:04 <ThomasWaldmann> (this was more complicated in 1.x)
477 2010-11-28T23:12:14 <moin2> isn't an item that does not exist a wanted item?
478 2010-11-28T23:13:43 <dreimark> moin2: if you have all links and all item names
479 2010-11-28T23:13:43 <ThomasWaldmann> if you have an item called "page" and it contains a link to item "otherpage" and there is no "otherpage", "otherpage" is a wanted item
480 2010-11-28T23:13:54 <dreimark> what is then wanted?
481 2010-11-28T23:14:29 <moin2> how do you check that there is no "otherpage"?
482 2010-11-28T23:15:23 <ThomasWaldmann> you have list of all item names
483 2010-11-28T23:15:31 <ThomasWaldmann> if it is not in there, it doesn't exist
484 2010-11-28T23:15:53 <ThomasWaldmann> it's very easy now ;)
485 2010-11-28T23:16:10 <dreimark> because of the orphanes code
486 2010-11-28T23:16:40 <moin2> ohhh!! i'm trying to do it the opposite way
487 2010-11-28T23:17:47 <dreimark> i guess now you look at the code we mentioned
488 2010-11-28T23:18:48 <moin2> i looked at in the wrong way
489 2010-11-28T23:19:34 <dreimark> set is very powerful, i have never thought that i will need it after i learned it at school
490 2010-11-28T23:33:31 <moin2> is the return type similar to the one in wanted pages of 1.x or the orphaned items
491 2010-11-28T23:34:34 * ThomasWaldmann puts "look at the orphans code in moin2" onto a functio key :)
492 2010-11-28T23:35:46 <dreimark> ThomasWaldmann: share it with me
493 2010-11-28T23:36:07 * dreimark found a new melange problem
494 2010-11-28T23:37:39 <dreimark> no no bug you just answered shortly before me
495 2010-11-28T23:40:29 <dreimark> moin2: may be just answer my question 23:13 < dreimark> moin2: if you have
496 2010-11-28T23:42:31 <moin2> what is the question?
497 2010-11-28T23:43:24 *** maker__
498 2010-11-28T23:44:19 <moin2> does the 3rd parameter have to be a set? i used a dictionary
499 2010-11-28T23:44:29 <dreimark> moin2: if you have all names of links and all item names what is then wanted
500 2010-11-28T23:44:44 *** m4k3r
501 2010-11-28T23:45:54 <moin2> does the 3rd parameter in the render template in the return statement have to be a set
502 2010-11-28T23:46:03 <dreimark> code please
503 2010-11-28T23:46:15 <moin2> paste it
504 2010-11-28T23:46:16 <moin2> ?
505 2010-11-28T23:46:19 <moin2> here?
506 2010-11-28T23:46:43 *** moin2
507 2010-11-28T23:46:51 * ThomasWaldmann will inject the new tasks into melange
508 2010-11-28T23:47:14 <dreimark> :)
509 2010-11-28T23:47:26 *** moin2
510 2010-11-28T23:47:37 <dreimark> moin2: http://hg.moinmo.in/moin/2.0-dev/file/a75f2d683d88/MoinMoin/apps/frontend/views.py#l451
511 2010-11-28T23:47:40 <moin2> sorry disconnected, i;m back
512 2010-11-28T23:47:40 <dreimark> this line ?
513 2010-11-28T23:48:15 <moin2> 451
514 2010-11-28T23:48:40 <dreimark> we can look into the template
515 2010-11-28T23:48:46 <dreimark> http://hg.moinmo.in/moin/2.0-dev/file/a75f2d683d88/MoinMoin/templates/orphans.html
516 2010-11-28T23:49:22 <moin2> so a dictionary can be the 3rd parameter
517 2010-11-28T23:49:41 <dreimark> why do you want a dictionary ?
518 2010-11-28T23:50:14 <moin2> the keys are the wanted items, its links are the values
519 2010-11-28T23:50:31 <moin2> that's how ive done it
520 2010-11-28T23:50:53 <moin2> how should i put it into a set then?
521 2010-11-28T23:51:23 <dreimark> we talked about that we want first a submission of only a list of wanted items
522 2010-11-28T23:51:32 <dreimark> so that we know you are on the right path
523 2010-11-28T23:51:42 <moin2> submit the code
524 2010-11-28T23:51:44 <moin2> ?
525 2010-11-28T23:51:48 <dreimark> to melange
526 2010-11-28T23:51:54 <dreimark> a patch
527 2010-11-28T23:52:00 <moin2> ok
528 2010-11-28T23:52:28 <moin2> how about changeset?
529 2010-11-28T23:52:39 <dreimark> make one with tortoise
530 2010-11-28T23:53:36 *** maker__
531 2010-11-28T23:54:28 <dreimark> because for the second part you have to define your own template
532 2010-11-28T23:55:09 <dreimark> it is then independant from orphans.html