1 2011-11-21T00:48:45 *** waldi
2 2011-11-21T00:52:17 *** grzywacz
3 2011-11-21T01:09:45 *** waldi
4 2011-11-21T01:09:45 *** waldi
5 2011-11-21T05:03:43 *** pkumar
6 2011-11-21T05:30:31 <pkumar> moin
7 2011-11-21T05:57:14 <eSyr> ThomasWaldmann: btw, should i format some gci tasks based on existing issues or so?
8 2011-11-21T05:57:23 <eSyr> (i mean, does such work needed)
9 2011-11-21T05:58:05 <dreimark> moin
10 2011-11-21T05:58:18 <dreimark> eSyr: yes and give a note on which you work
11 2011-11-21T05:58:33 * dreimark takes test moin2 with ssl and proxy
12 2011-11-21T05:58:45 <dreimark> and the one before that
13 2011-11-21T05:58:48 <eSyr> ok.
14 2011-11-21T05:59:10 <dreimark> eSyr: look here http://www.google-melange.com/gci/dashboard/google/gci2011#all_org_tasks
15 2011-11-21T05:59:17 <dreimark> we need 5 of each category
16 2011-11-21T06:00:50 <eSyr> well, we always have translation tasks! :)
17 2011-11-21T06:02:38 <dreimark> yes, with those we are good currently
18 2011-11-21T06:02:48 <dreimark> code also
19 2011-11-21T06:09:00 <pkumar> dreimark, if I'm not wrong, the page 'find bug fix bug' is removed right?
20 2011-11-21T06:09:15 <pkumar> for EasyToDo page
21 2011-11-21T06:09:22 <pkumar> from*
22 2011-11-21T06:18:24 <dreimark> pkumar: if it is submitted it becomes a flag
23 2011-11-21T06:19:00 <dreimark> eSyr: on which doyou work?
24 2011-11-21T06:19:38 * dreimark takes test GivenAuth auth method with apache2 basic auth
25 2011-11-21T06:20:08 <dreimark> pkumar: can you proofread those on the waiting list
26 2011-11-21T06:20:44 <pkumar> dreimark, waiting list? link please..
27 2011-11-21T06:27:40 <dreimark> pkumar: http://moinmo.in/EasyToDo
28 2011-11-21T06:27:57 <dreimark> pkumar: "Subpages that need help"
29 2011-11-21T06:28:02 <dreimark> its quite on top
30 2011-11-21T06:30:27 <pkumar> ah! that one. I thought its some other page for waiting list tasks. which subpage?
31 2011-11-21T06:31:28 <dreimark> all
32 2011-11-21T06:31:42 <dreimark> just read and fix if something is not understandable
33 2011-11-21T06:31:44 <pkumar> ok :)
34 2011-11-21T06:42:55 <dreimark> can one verify the footnote crash and create an issue on bitbucket for that
35 2011-11-21T06:43:00 <dreimark> pkumar: ? ^
36 2011-11-21T06:43:25 <dreimark> http://moinmo.in/EasyToDo#Code_-_other_stuff
37 2011-11-21T06:44:12 <pkumar> k
38 2011-11-21T06:54:35 <dreimark> if you work on the wiki login in, no textchas then
39 2011-11-21T06:58:38 <dreimark> ThomasWaldmann: can you verify that my admin status is given. My ui looks quite poor and misses some features
40 2011-11-21T06:59:44 <dreimark> i see "I Agree to the Admin Agreement True" but thats all
41 2011-11-21T07:06:15 <pkumar> ah! ok
42 2011-11-21T07:30:04 *** pkumar
43 2011-11-21T07:51:42 <dreimark> on g+ Due to the difficulties of the past week in getting everything ready for the program we will allow editing tasks for one week past the original deadline, that is Monday the 28th of November.
44 2011-11-21T07:53:03 <dreimark> I asked on melange to check what happens to my admin state.
45 2011-11-21T07:53:12 <dreimark> have to go now
46 2011-11-21T07:53:13 <dreimark> bbl
47 2011-11-21T08:40:52 *** pkumar
48 2011-11-21T10:15:06 *** greg_f
49 2011-11-21T10:40:01 *** pkumar
50 2011-11-21T10:51:16 *** pkumar
51 2011-11-21T12:46:00 <ThomasWaldmann> moin
52 2011-11-21T13:11:41 *** pkumar
53 2011-11-21T14:14:53 <ThomasWaldmann> please someone review / proofread the EasyToDo subpages that are ready for submission
54 2011-11-21T14:36:21 *** brunomartin
55 2011-11-21T16:03:31 *** izibi
56 2011-11-21T16:08:39 <izibi> hi
57 2011-11-21T16:20:38 *** TheSheep
58 2011-11-21T16:42:27 <izibi> why can't they just write clear rules for gci? *sigh*
59 2011-11-21T16:42:46 <izibi> but looks like i'm in ;)
60 2011-11-21T16:43:47 <ThomasWaldmann> it seems to be hard for non-math people
61 2011-11-21T16:44:03 <ThomasWaldmann> or non-coders
62 2011-11-21T16:44:27 <ThomasWaldmann> izibi: when is/was your 17th anniversary? :)
63 2011-11-21T16:45:59 <ThomasWaldmann> maybe one should write some free software that decides about eligibility :))
64 2011-11-21T16:46:11 * ThomasWaldmann won't do it.
65 2011-11-21T16:47:03 <izibi> ThomasWaldmann: query
66 2011-11-21T16:47:34 <izibi> the question is: is your age an int or a float ;)
67 2011-11-21T17:03:15 <ThomasWaldmann> or to extend the question a bit "is time quantified"? :P
68 2011-11-21T17:03:53 <ThomasWaldmann> soc eligibility rules and the deep problems of physics
69 2011-11-21T17:04:06 <ThomasWaldmann> gci*
70 2011-11-21T17:04:22 <TheSheep> gci has strict rules
71 2011-11-21T17:14:15 <dreimark> re
72 2011-11-21T17:27:12 <dreimark> TheSheep: have you signed for mentorship ? http://www.google-melange.com/gci/profile/mentor/google/gci2011
73 2011-11-21T17:28:39 <dreimark> ThomasWaldmann: we should add TheSheep linkid on the "ready" sub pages
74 2011-11-21T17:30:56 <ThomasWaldmann> dreimark: for whatever tasks he wants to help with (which is maybe not any, but he can just tell that ;)
75 2011-11-21T17:32:18 <dreimark> yes, he should be able to comment on melange too
76 2011-11-21T17:32:48 <dreimark> have not looked if we can change mentor list after a task is taken
77 2011-11-21T17:33:55 <dreimark> ThomasWaldmann: [[http://moinmo.in/EasyToDo/proofread%20docs|this wiki page]].
78 2011-11-21T17:34:03 <dreimark> works this
79 2011-11-21T17:35:41 <ThomasWaldmann> if we want to link from melange content to the wiki, we need fully qualified urls
80 2011-11-21T17:36:06 <ThomasWaldmann> just [[some page]] will work on the wiki, but not after it is transferred to melange
81 2011-11-21T17:36:22 <dreimark> fixed
82 2011-11-21T17:36:43 <dreimark> http://moinmo.in/4ct10n/info/EasyToDo/proofread%20docs?action=diff&rev2=3&rev1=2
83 2011-11-21T17:38:40 <ThomasWaldmann> what exactly does this "fix"?
84 2011-11-21T17:41:41 <dreimark> it shows the url, or does that link pattern work, then i misunderstood it
85 2011-11-21T17:52:13 <ThomasWaldmann> don't fix what ain't broken. and verify brokenness before fixing.
86 2011-11-21T17:54:59 <dreimark> ThomasWaldmann: http://www.google-melange.com/gci/task/view/google/gci2011/7116303
87 2011-11-21T17:59:31 <dreimark> eSyr: http://www.google-melange.com/gci/task/view/google/gci2011/7134387
88 2011-11-21T18:07:22 *** pkumar
89 2011-11-21T18:15:33 <ThomasWaldmann> dreimark: what do you want to tell me?
90 2011-11-21T18:16:00 <eSyr> (too much capslock >_<)
91 2011-11-21T18:16:37 <dreimark> that there are three claiming
92 2011-11-21T18:16:55 <ThomasWaldmann> i see it on the task list, and i already accepted some
93 2011-11-21T18:17:11 <dreimark> i know. i was not sure which we have to accept
94 2011-11-21T18:17:22 <dreimark> the first one or the one who told he solved it already
95 2011-11-21T18:19:00 <TheSheep> what's the dropbox at the top with different file names of images?
96 2011-11-21T18:19:58 <TheSheep> dreimark: registered now
97 2011-11-21T18:23:46 <izibi> yeah, the quickinstall script doesn't work on archlinux :D
98 2011-11-21T18:23:53 <ThomasWaldmann> i guess if one student puts a task into claimrequested state, it blocks other students from doing the same (or at least from getting the claim, if we click "accept")
99 2011-11-21T18:24:33 <ThomasWaldmann> izibi: does it use apt-get? :)
100 2011-11-21T18:25:06 <izibi> no, but arch uses python 3 as default
101 2011-11-21T18:25:54 <dreimark> oh
102 2011-11-21T18:26:25 <izibi> will i be able to work on the source after installing it in a virtualenv?
103 2011-11-21T18:28:30 <ThomasWaldmann> you can choose the python interpreter to use for virtualenv creation
104 2011-11-21T18:28:54 <ThomasWaldmann> you just need to have some python 2.x (x >= 6) installed somewhere
105 2011-11-21T18:29:25 <ThomasWaldmann> izibi: btw, it looks like you are doing platform testing task also, unwillingly :D
106 2011-11-21T18:29:53 <ThomasWaldmann> so maybe read that task, you never know what it could be useful for :D
107 2011-11-21T18:30:12 <izibi> python version isn't the problem. i'm just wondering if it's running from the source code in the repo after installing it in a virtualenv
108 2011-11-21T18:30:23 <dreimark> yes
109 2011-11-21T18:30:58 <ThomasWaldmann> TheSheep: your linkid or email you used for your melange profile?
110 2011-11-21T18:31:18 <dreimark> izibi: the quickinstall installs all pypi packages in that env
111 2011-11-21T18:31:38 <izibi> so how do i start it now? i hate reading docs :D
112 2011-11-21T18:32:00 <TheSheep> ThomasWaldmann: gci@sheep.art.pl
113 2011-11-21T18:32:50 <izibi> ah, there it is
114 2011-11-21T18:32:57 <ThomasWaldmann> izibi: read the quickinstall script
115 2011-11-21T18:33:02 <dreimark> izibi: http://readthedocs.org/docs/moin-20/en/latest/admin/install.html
116 2011-11-21T18:33:07 <dreimark> its not much to read
117 2011-11-21T18:33:29 <ThomasWaldmann> User gci@sheep.art.pl not found.
118 2011-11-21T18:33:37 <izibi> dreimark: thx
119 2011-11-21T18:33:41 <ThomasWaldmann> TheSheep: you create the profile?
120 2011-11-21T18:33:49 <ThomasWaldmann> ...d*
121 2011-11-21T18:33:54 <TheSheep> I think so
122 2011-11-21T18:34:03 <dreimark> may be a delay
123 2011-11-21T18:34:17 <ThomasWaldmann> your linkid?
124 2011-11-21T18:34:45 <TheSheep> I did have a couple of tries clearing the whitespace and periods and such (one would think they would have programmers who can do .strip() on a string), but finally it said "data saved"
125 2011-11-21T18:34:50 <TheSheep> ThomasWaldmann: linkid?
126 2011-11-21T18:35:23 <TheSheep> the url just says http://www.google-melange.com/gci/profile/google/gci2011
127 2011-11-21T18:35:54 <ThomasWaldmann> TheSheep: it displays your email at the lower left and also the username (linkid)
128 2011-11-21T18:35:54 <dreimark> TheSheep: it is shown in the line
129 2011-11-21T18:36:03 <dreimark> You are logged in as:
130 2011-11-21T18:36:21 <dreimark> and Your username is: XXXX
131 2011-11-21T18:36:24 <izibi> 2011-11-21 18:35:15,768 INFO werkzeug:116 * Running on http://127.0.0.1:8080/
132 2011-11-21T18:36:25 <izibi> wohoo
133 2011-11-21T18:36:26 <TheSheep> there is no "linkid" text anywhere on the page
134 2011-11-21T18:36:27 <dreimark> that XXXX is the linkid
135 2011-11-21T18:36:45 <dreimark> TheSheep: look for Your username is: XXXX
136 2011-11-21T18:37:00 <ThomasWaldmann> izibi: :)
137 2011-11-21T18:37:01 <TheSheep> oh, it shows my gmail email which I would like to not paste on a public irc channel
138 2011-11-21T18:37:03 <izibi> ah, looks familiar ;)
139 2011-11-21T18:37:06 <ThomasWaldmann> what python is that now?
140 2011-11-21T18:37:15 <izibi> 2.7
141 2011-11-21T18:37:21 <ThomasWaldmann> ok
142 2011-11-21T18:37:45 <izibi> on arch you have to use virtualenv2 and pip2
143 2011-11-21T18:37:56 <dreimark> TheSheep: then use a query
144 2011-11-21T18:38:21 <dreimark> and the linkid is there too as username
145 2011-11-21T18:38:22 <izibi> suggestion for a new task: make quickinstall script run on archlinux :P
146 2011-11-21T18:38:31 <ThomasWaldmann> izibi: make notes about all you needed to get it working, for later :)
147 2011-11-21T18:38:34 <TheSheep> dreimark: query?
148 2011-11-21T18:39:22 <ThomasWaldmann> izibi: and do not accidentally commit quickinstall scripts that only work on arch
149 2011-11-21T18:39:31 <izibi> so now i guess i need email support
150 2011-11-21T18:39:51 <dreimark> you should be able to use sendmail, postfix etc
151 2011-11-21T18:40:09 <ThomasWaldmann> btw, you can file bitbucket issues for all issues you find
152 2011-11-21T18:40:21 <izibi> ThomasWaldmann: i didn't change the script, i just ran the commands manually
153 2011-11-21T18:40:59 <ThomasWaldmann> dreimark: no own mailserver is needed, on can just configure it to use SOME mailserver
154 2011-11-21T18:41:27 <dreimark> yes
155 2011-11-21T18:41:39 <dreimark> thats also doing it
156 2011-11-21T18:42:04 <izibi> does netcat count as mailserver? :D
157 2011-11-21T18:42:34 <TheSheep> ThomasWaldmann: jus to clarify, you want me to clean the wiki page or the tasks on gci page?
158 2011-11-21T18:45:54 *** greg_f
159 2011-11-21T18:46:57 <dreimark> TheSheep: i think you should add you on each taks on melange where you want to help and on the wiki to organize the missing ones
160 2011-11-21T18:47:12 <dreimark> s/you/your linkid/
161 2011-11-21T18:56:22 <ThomasWaldmann> izibi: using a real mail server and a real mail client is preferred
162 2011-11-21T18:56:48 <ThomasWaldmann> TheSheep: first work on design/theme stuff on EasyToDo page
163 2011-11-21T18:57:14 <ThomasWaldmann> clean up, do sanity check, add missing stuff, remove crap
164 2011-11-21T19:02:46 <izibi> what's the easiest way to get moinmoin to send me an email?
165 2011-11-21T19:03:44 <ThomasWaldmann> if some item there looks read for task creation, create a task subpage (see that form on EasyToDo) and fill out the template
166 2011-11-21T19:04:12 <ThomasWaldmann> izibi: create an item, create a user, subscribe to that item, change the item as anon user
167 2011-11-21T19:04:29 <ThomasWaldmann> alternatively, log out and say you forgot your password
168 2011-11-21T19:05:06 <izibi> TypeError: 'Revision' object is not subscriptable
169 2011-11-21T19:05:11 <izibi> is this supposed to happen? :D
170 2011-11-21T19:06:20 <pkumar> dreimark : hey, I'm having troubles with my os, so footnotes stuff is delayed a bit. Also, can you please help me abt how to generate the crashes. I mean a bit details abt it would be great.
171 2011-11-21T19:06:24 <izibi> traceback: http://paste.pocoo.org/show/511027/
172 2011-11-21T19:07:31 <ThomasWaldmann> izibi: what does hg id and hg branch say?
173 2011-11-21T19:08:21 <izibi> [julian@apophis moin-2.0]$ hg id
174 2011-11-21T19:08:21 <izibi> 064024ea500b (namespaces) tip
175 2011-11-21T19:08:21 <izibi> [julian@apophis moin-2.0]$ hg branch
176 2011-11-21T19:08:21 <izibi> namespaces
177 2011-11-21T19:08:46 <ThomasWaldmann> maybe rather work on the default branch
178 2011-11-21T19:08:51 <ThomasWaldmann> hg up -C default
179 2011-11-21T19:09:10 <ThomasWaldmann> namespaces stuff is cool, but rather unfinished
180 2011-11-21T19:09:22 <izibi> i just used tip ;)
181 2011-11-21T19:10:36 <izibi> i don't know if this is better :D AttributeError: 'list' object has no attribute 'startswith'
182 2011-11-21T19:11:30 <ThomasWaldmann> traceback please
183 2011-11-21T19:11:42 <ThomasWaldmann> welcome to the bleeding edge
184 2011-11-21T19:12:29 <ThomasWaldmann> ehrm, clear you backend storage. the stuff you created with namespaces code is not compatible with default code
185 2011-11-21T19:14:36 <izibi> ah, much better :D
186 2011-11-21T19:15:11 <izibi> but now something else is broken
187 2011-11-21T19:15:15 <izibi> i just can't log in
188 2011-11-21T19:15:59 <izibi> do i also have to recreate the virtualenv?
189 2011-11-21T19:17:57 <izibi> i'll just try
190 2011-11-21T19:22:10 <izibi> nope, that didn't solve the problem
191 2011-11-21T19:23:26 <izibi> i get redirected to / without being logged in
192 2011-11-21T19:25:10 <izibi> do i have to set any additional configuration values?
193 2011-11-21T19:50:14 *** grzywacz
194 2011-11-21T19:50:44 <izibi> somehow it doesn't set a session cookie
195 2011-11-21T19:55:16 <izibi> wtf?
196 2011-11-21T19:55:38 <izibi> Set-Cookie:session="BRMOGe1Hh7oBxt5vgblTdJhWdJ4=?trail=KGxwMQpTJ015TW9pbk1vaW46SG9tZScKcDIKYS4="; Domain=.localhost; Path=/; HttpOnly
197 2011-11-21T19:55:54 <izibi> why doesn't chromium accept this cookie? because of .localhost?
198 2011-11-21T19:56:29 <izibi> and why do i get a 404 error if i access http://127.0.0.1:8080/ instead of http://localhost:8080/? o.O
199 2011-11-21T19:56:48 <pkumar> ThomasWaldmann : hey, was just curious about the 'find bug fix bug page' because I still see those tasks (first ones)under heading Quality assurance and Code, code tests? Does a new subpage required?
200 2011-11-21T19:57:06 <pkumar> for those tasks
201 2011-11-21T19:57:09 <pkumar> ?
202 2011-11-21T19:58:41 <izibi> can someone tell me what's going on here? :D
203 2011-11-21T20:01:42 <izibi> wtf? in firefox i can login
204 2011-11-21T20:03:28 <izibi> http://code.google.com/p/chromium/issues/detail?id=56211 srsly?
205 2011-11-21T20:07:49 <izibi> then i'll use firefox
206 2011-11-21T20:09:57 <izibi> can someone make sure that the reset password feature actually works?
207 2011-11-21T20:13:32 *** grzywacz
208 2011-11-21T20:19:18 <izibi> host, port = (cfg.mail_smarthost + ':25').split(':')[:2]
209 2011-11-21T20:19:19 <izibi> wtf?
210 2011-11-21T20:20:58 <izibi> does moin even try to send a notification email when changing a page?
211 2011-11-21T20:21:59 <izibi> i can't find a call to sendmail that would do that
212 2011-11-21T20:25:44 <izibi> http://paste.pocoo.org/show/511059/ i had to apply this patch to make the password reset work
213 2011-11-21T20:27:29 *** raignarok
214 2011-11-21T21:08:07 <ThomasWaldmann> re
215 2011-11-21T21:09:10 <izibi> wb
216 2011-11-21T21:09:50 <ThomasWaldmann> pkumar: i don't understand what you mean exactly. give urls and precise wording.
217 2011-11-21T21:10:28 <ThomasWaldmann> izibi: there is a issue about that 127.0.0.1 vs. localhost thing, but it misses information
218 2011-11-21T21:11:41 <ThomasWaldmann> izibi: what is unclear about (20:17) < izibi> host, port = (cfg.mail_smarthost + ':25').split(':')[:2]
219 2011-11-21T21:12:17 <izibi> ThomasWaldmann: why add ':25' to the string and then split it again?
220 2011-11-21T21:14:50 <izibi> at least i've got email working an i can go on with the actual task :D
221 2011-11-21T21:15:01 <izibi> *and
222 2011-11-21T21:15:55 <pkumar> ThomasWaldmann : well, what I mean is in the EasyToDo page, first tasks under the heading 'Code, code-Tests' and 'Quality Assurances' ave any subpages? What about the page 'find bug fix bug'? Is it submitted already?
223 2011-11-21T21:17:35 <ThomasWaldmann> izibi: to make sure that you can split it?
224 2011-11-21T21:18:52 <izibi> now i get it. at the first look, this code looks stupid but it actually makes sense :D
225 2011-11-21T21:19:14 <izibi> didn't consider that the host can also include a port at the end
226 2011-11-21T21:19:20 <ThomasWaldmann> izibi: btw, i added a comment to that "invalid" issues in the chrome issue tracker. IMHO that issue is pretty much valid.
227 2011-11-21T21:19:37 <ThomasWaldmann> izibi: exactly :)
228 2011-11-21T21:19:52 <ThomasWaldmann> # HACK :)
229 2011-11-21T21:20:50 <izibi> ThomasWaldmann: google said no! :D
230 2011-11-21T21:21:11 <ThomasWaldmann> pkumar: run tests, there are some tests we currently skip (maybe there are also tests failing)
231 2011-11-21T21:21:29 <ThomasWaldmann> this one is especially for skipped tests, we do not have a subpage for it yet
232 2011-11-21T21:22:01 <ThomasWaldmann> (of course, find bug/fix bug is a rather generic thing, so some scope overlap is expected)
233 2011-11-21T21:22:45 <ThomasWaldmann> pkumar: QA easy: test moin2 and write bug reports
234 2011-11-21T21:22:53 <izibi> what about the patch i've posted? can someone replicate the problem (just try to reset the password) or tell me what's wrong here?
235 2011-11-21T21:22:56 <ThomasWaldmann> this is about finding bugs only, no subpage yet for it
236 2011-11-21T21:23:33 <ThomasWaldmann> maybe we should delay that one a bit, too many bugs that are rather obvious
237 2011-11-21T21:24:49 <pkumar> ok, so first we need to to have the subpage for 'skip/wrong/insane/broken tests' stuffs.
238 2011-11-21T21:24:50 <ThomasWaldmann> izibi: can you try users[0].meta[ITEMID] ?
239 2011-11-21T21:24:52 <pkumar> right?
240 2011-11-21T21:25:46 <pkumar> ThomasWaldmann ?
241 2011-11-21T21:25:56 <ThomasWaldmann> yes. there are quite a lot of them.
242 2011-11-21T21:26:11 <ThomasWaldmann> some might be easy to fix, some not.
243 2011-11-21T21:26:24 <izibi> ThomasWaldmann: yes, that works, too (i just tried to get this id somewhere) :D
244 2011-11-21T21:26:49 <ThomasWaldmann> ok, preferably that version.
245 2011-11-21T21:27:16 <ThomasWaldmann> keep it for you next "find a bug fix a bug (easy)" task
246 2011-11-21T21:27:30 <ThomasWaldmann> izibi: did you fork on bitbucket?
247 2011-11-21T21:27:48 <pkumar> all right. I'll create a subpage for it by tomorrow. need to have a nap now!
248 2011-11-21T21:28:00 <ThomasWaldmann> pkumar: thanks, gn :)
249 2011-11-21T21:28:16 <pkumar> gn :)
250 2011-11-21T21:28:18 <izibi> ThomasWaldmann: yes
251 2011-11-21T21:28:26 *** pkumar
252 2011-11-21T21:29:55 <ThomasWaldmann> eSyr: can you fix the uk task?
253 2011-11-21T21:30:19 <ThomasWaldmann> http://moinmo.in/EasyToDo/update%20moin%202.0%20interface%20translation%20%28uk%29
254 2011-11-21T21:32:26 * ThomasWaldmann reviews the ready ones again and tries to shoot them into melange soon
255 2011-11-21T21:32:40 <izibi> so now let's go through the task description
256 2011-11-21T21:40:00 <izibi> fail. actually wrote my questions to #android-dev :D
257 2011-11-21T21:40:07 <izibi> We need (optional) email verification for new accounts. <-- so i need to add a config option to enable email verification
258 2011-11-21T21:40:14 <izibi> should the link be randomly generated and stored somewhere or be generated in a way that it is cryptographically verifiable (is that correct english? i don't know :D)
259 2011-11-21T21:40:23 <izibi> use same code as for password / account recovery (the difference is that for new users we set should set a random password and then send the recovery token) <-- does that mean that the user doesn't enter a password on registration but after clicking a reset link?
260 2011-11-21T21:41:49 <izibi> actually i don't have to care about generating links at all if it uses the same code
261 2011-11-21T21:42:48 <ThomasWaldmann> "so i need to add a config option to enable email verification" yes
262 2011-11-21T21:44:07 <ThomasWaldmann> "does that mean that the user doesn't enter a password on registration but after clicking a reset link" yes. except if you have a better idea.
263 2011-11-21T21:45:17 <izibi> you can set some kind of inactive flag on the account and remove it as soon as the link gets clicked
264 2011-11-21T21:46:10 <ThomasWaldmann> we already have a "disabled" flag. it is usually used to get rid of a user.
265 2011-11-21T21:46:24 <ThomasWaldmann> think about whether it makes sense to reuse this.
266 2011-11-21T21:46:27 <dreimark> it should not conflict with a recovery token link
267 2011-11-21T21:46:54 <ThomasWaldmann> define meaning of "conflict" in that context, please
268 2011-11-21T21:47:49 <dreimark> if we mass create users we send them then the recovery token link
269 2011-11-21T21:47:56 <dreimark> to create their passwords
270 2011-11-21T21:48:03 <dreimark> this should not become blocked
271 2011-11-21T21:48:16 <izibi> in how many places would i have to add code if a wanted to add a new flag?
272 2011-11-21T21:48:31 <izibi> would it be enough to check when the user tries to login?
273 2011-11-21T21:49:30 <dreimark> it must be added ihe users object code
274 2011-11-21T21:50:01 <dreimark> and a flag is also good for cleanup purposes, if there is no answer given
275 2011-11-21T21:50:24 <ThomasWaldmann> dreimark: how can it get blocked?
276 2011-11-21T21:50:52 <izibi> dreimark: what do you mean by "no answer given"?
277 2011-11-21T21:51:02 <ThomasWaldmann> izibi: you first please get clear about whether a new flag is needed
278 2011-11-21T21:51:14 <dreimark> izibi: if it is a fake email address or one with an error
279 2011-11-21T21:51:27 <dreimark> then you have a name blocked that can't be used
280 2011-11-21T21:51:52 <ThomasWaldmann> i'ld just say "disabled" is exactly the state that a user account has until it is verified or after some admin decided to get rid of the user.
281 2011-11-21T21:52:14 <ThomasWaldmann> with the difference that in the first case the user gets a token to change that, but not in the latter case. :D
282 2011-11-21T21:52:25 <izibi> ThomasWaldmann: i don't know the code good enough to tell if this might cause problems
283 2011-11-21T21:53:30 <ThomasWaldmann> one difference might be that a new not-enabled-yet user did not do changes yet in the wiki, but a get-rid-of-him user likely has such changes
284 2011-11-21T21:53:53 <dreimark> the problem is the cleanup only
285 2011-11-21T21:54:09 <dreimark> if i create a ThomasWaldmann user and it is disabled
286 2011-11-21T21:54:26 <ThomasWaldmann> so, not-yet-enabled should be just removed after timeout. get-rid-of-him should be kept for history.
287 2011-11-21T21:54:30 <izibi> what happens if you set no or an empty password? is this possible?
288 2011-11-21T21:54:40 <izibi> then you can just delete all disabled users with no password
289 2011-11-21T21:55:03 <dreimark> no password is with some auth possible
290 2011-11-21T21:55:08 <dreimark> e.g. ldap
291 2011-11-21T21:55:15 <dreimark> it did not store the password
292 2011-11-21T21:55:18 <ThomasWaldmann> you can not log in with a empty password and MoinAuth. but there might be another auth method not based on moin's password.
293 2011-11-21T21:56:54 <izibi> so if users log in via ldap, there are also some user objects stored by moin?
294 2011-11-21T21:58:13 <izibi> any other ideas to tell not activated and disabled accounts apart?
295 2011-11-21T21:59:00 <ThomasWaldmann> dreimark: http://moinmo.in/EasyToDo/python%20code%20to%20visualize%20diffs do you think it is ok for 1 mimetype?
296 2011-11-21T21:59:22 * dreimark looks (reads currently all)
297 2011-11-21T21:59:45 <ThomasWaldmann> izibi: ldap is only used for auth and to fetch some few values from there. we still need a place to store user settings, we do not write to ldap.
298 2011-11-21T22:00:06 <dreimark> ThomasWaldmann: yes, we can have that task multiple times
299 2011-11-21T22:00:24 <ThomasWaldmann> dreimark: i would prefer 1 mimetype solved in a pretty good way, than half-assed solutions for 3
300 2011-11-21T22:00:52 <dreimark> but should we have as deliverable a bb issue fr?
301 2011-11-21T22:01:23 <dreimark> so we can link that for a new coding task
302 2011-11-21T22:03:16 <izibi> ThomasWaldmann: well then i think we need an other flag
303 2011-11-21T22:03:34 <izibi> or how difficult is it to check whether the user has any history?
304 2011-11-21T22:04:54 <TheSheep> ThomasWaldmann: I looed through the tasks and easy to do briefly so far, and all I can say for sure is that I am a little out of sync :(
305 2011-11-21T22:05:12 <ThomasWaldmann> dreimark: yes. but with bb there might be an issue with editing it. maybe only author can edit it and other people only comment.
306 2011-11-21T22:05:30 <ThomasWaldmann> so for some stuff wiki might be better (and after finishing it, copy it to bb)
307 2011-11-21T22:05:58 <ThomasWaldmann> izibi: with moin2 that is rather easy, we have whoosh now
308 2011-11-21T22:06:23 <dreimark> ThomasWaldmann: ok
309 2011-11-21T22:06:57 <ThomasWaldmann> ok, i am ready with checking pages. shoot?
310 2011-11-21T22:07:02 <dreimark> mom
311 2011-11-21T22:08:34 *** grzywacz
312 2011-11-21T22:08:34 *** grzywacz
313 2011-11-21T22:08:59 <dreimark> ThomasWaldmann: http://moinmo.in/EasyToDo/sphinx todos
314 2011-11-21T22:09:07 <dreimark> how much changes ?
315 2011-11-21T22:09:34 <izibi> ThomasWaldmann: would that be an reliable way to check if a user can be deleted?
316 2011-11-21T22:10:08 <dreimark> i think we need a flag
317 2011-11-21T22:11:00 <dreimark> otherwise newly created users also have no history and would be removed too
318 2011-11-21T22:11:30 <dreimark> ThomasWaldmann: how much todos should be resolved in that task
319 2011-11-21T22:11:52 <dreimark> 21:51 < ThomasWaldmann> one difference might be that a new not-enabled-yet user did not do changes yet in the wiki, but a get-rid-of-him user likely has such changes
320 2011-11-21T22:12:03 <dreimark> izibi: ^ thats what we need
321 2011-11-21T22:12:25 <izibi> does moin store when a user got created?
322 2011-11-21T22:12:52 <ThomasWaldmann> dreimark: all sphinx todos
323 2011-11-21T22:13:01 <dreimark> the user object has a timestamp
324 2011-11-21T22:13:06 <dreimark> ThomasWaldmann: ok
325 2011-11-21T22:13:51 <ThomasWaldmann> izibi: all revisions should have MTIME
326 2011-11-21T22:13:55 <dreimark> ThomasWaldmann: the save load problem is that only win or do we need that for mac too?
327 2011-11-21T22:14:10 <izibi> dreimark: if there's a reliable way to tell if a user did changes, that wouldn't matter i'd say
328 2011-11-21T22:14:14 <ThomasWaldmann> (and a user is currently an item with 1 revision)
329 2011-11-21T22:14:40 <izibi> or would it be bad if a disabled user who did no changes gets deleted?
330 2011-11-21T22:14:43 <ThomasWaldmann> dreimark: only windows
331 2011-11-21T22:14:53 <dreimark> god
332 2011-11-21T22:14:56 <ThomasWaldmann> (the usual troublemaker)
333 2011-11-21T22:15:02 <ThomasWaldmann> no, devil :P
334 2011-11-21T22:15:11 <dreimark> +o
335 2011-11-21T22:17:25 <dreimark> ThomasWaldmann: http://moinmo.in/EasyToDo/write%20tests%20for%20views
336 2011-11-21T22:18:22 <dreimark> tests for two views?
337 2011-11-21T22:18:33 <izibi> so new flag or disabled flag?
338 2011-11-21T22:19:08 <ThomasWaldmann> dreimark: all views
339 2011-11-21T22:19:21 <ThomasWaldmann> all not-yet-tested views
340 2011-11-21T22:20:08 <dreimark> that is much -- i mean compared for the points
341 2011-11-21T22:20:16 <dreimark> and can be long
342 2011-11-21T22:20:50 <dreimark> i think adding tests for one view is enough and we repeat the task
343 2011-11-21T22:20:59 <ThomasWaldmann> my idea was just checking status 200, no exception, maybe some substring in the content or some header value
344 2011-11-21T22:21:34 <izibi> write tests for the password reset :P
345 2011-11-21T22:21:37 <ThomasWaldmann> so it is more a "does not crash" test than a check for correctness
346 2011-11-21T22:22:01 <ThomasWaldmann> and it is only for GET
347 2011-11-21T22:22:58 <dreimark> I think having different students working on that or the same multiple times is better
348 2011-11-21T22:23:24 <ThomasWaldmann> that's trivial, why multiple students?
349 2011-11-21T22:25:27 <dreimark> it is a good starter it depends also on if a student writes good tests
350 2011-11-21T22:26:01 <dreimark> btw. title "write high-level tests for all views " is a bit misleading
351 2011-11-21T22:27:09 <ThomasWaldmann> I clarified the task.
352 2011-11-21T22:27:43 <dreimark> ok
353 2011-11-21T22:27:55 * dreimark is fine
354 2011-11-21T22:27:56 <ThomasWaldmann> well, that should be the result. if there is already one and you need to write one less, student will be happy.
355 2011-11-21T22:28:13 <dreimark> true
356 2011-11-21T22:28:35 <ThomasWaldmann> but it could also be that we see that we can throw away some existing ones and replace it by just one big loop checking all the views
357 2011-11-21T22:30:13 <dreimark> later on we should have something like selenium testing the ui
358 2011-11-21T22:32:08 <ThomasWaldmann> dreimark: can you multiply all "ready for submission" task counts by -1?
359 2011-11-21T22:32:27 <dreimark> yes
360 2011-11-21T22:35:43 * ThomasWaldmann meanwhile publishes 21 new tasks, one by one :|
361 2011-11-21T22:37:44 * dreimark done
362 2011-11-21T22:42:04 <dreimark> i hope there is a mass publishing
363 2011-11-21T22:42:25 <ThomasWaldmann> yes, srabbelier can trigger it. we can not publish.
364 2011-11-21T22:56:11 <izibi> so how to continueß? should i add a new inactive flag?
365 2011-11-21T22:58:05 <ThomasWaldmann> why do we need it again?
366 2011-11-21T22:58:15 <ThomasWaldmann> (sorry, got distracted)
367 2011-11-21T23:00:06 <izibi> i think that's better than searching for the users history
368 2011-11-21T23:01:00 <ThomasWaldmann> don't we need to do that anyway?
369 2011-11-21T23:01:33 <izibi> why? a user that has never been active can't have made any changes
370 2011-11-21T23:02:00 <dreimark> gn
371 2011-11-21T23:02:09 <ThomasWaldmann> but a user that has been active did not necessarily create changes
372 2011-11-21T23:02:30 <ThomasWaldmann> if if we disable a no-change user, we can kill him completely on cleanup
373 2011-11-21T23:04:04 <izibi> if you show me how to check for the history, i'm fine with that ;)
374 2011-11-21T23:05:44 <ThomasWaldmann> well, in fact you do not need to code the cleanup
375 2011-11-21T23:05:55 <ThomasWaldmann> you just need to make sure that cleanup is possible
376 2011-11-21T23:07:44 <izibi> ok, even better ;)
377 2011-11-21T23:12:00 <ThomasWaldmann> documenting how you made sure, in the code, is a good idea, though
378 2011-11-21T23:40:35 *** grzywacz
379