IRC log of #schooltool for Wednesday, 2009-07-08

*** phufford_ has joined #schooltool01:02
phufford_replaceafill: Hi01:10
*** phufford_ has quit IRC02:08
*** alga has quit IRC02:18
*** replaceafill has quit IRC02:25
*** dlobo has joined #schooltool02:32
*** replaceafill has joined #schooltool02:39
*** dlobo has quit IRC04:24
*** th1a has quit IRC04:40
*** dlobo has joined #schooltool05:43
*** krushik has quit IRC05:56
*** replaceafill has quit IRC05:58
*** krushik has joined #schooltool06:15
*** dlobo has quit IRC07:02
aelkneryvl: ayt?08:15
yvlyes08:58
yvlaelkner: pong08:58
aelknerhey there08:58
aelkneri've been struggling with a problem08:58
aelkneryou see, my gradebook views depend on the user preferences08:58
aelknerso i need to do self.person = IPerson(self.request.principal)08:59
aelknerproblem is, when the user walks away for long enough, the principal times out08:59
aelknerso i need to abort the view and redirect the user to authenticate09:00
aelknerso my question is, in addition to doing self.request.response.redirect(LOGIN_VIEW)09:00
aelknerwhat do i need to do to get the view to stop processing the page template09:01
aelknerthe engine keeps calling into code in my view to process the page template09:01
aelknerbut the code can't run without the authenticated user09:02
aelkneris there a way to get zope to abort a page template and take the rrequested redirect?09:02
yvlyou should do that as a first thing in __call__09:04
yvlbefore the template is called09:04
yvlafter that, there's little you can do09:05
aelknerso if i put that logic in __call__, the engine won't process the page template?09:05
yvlyes, but you'll have to call the template manually09:05
aelkneri see, makes sense09:05
yvlsomething like: return self.template()09:06
aelknerof hand, do you know of any schooltool views that call the template manually?09:06
aelknernever mind, i an find them09:07
aelknerthanks for the tip, that will do the trick09:07
yvlyou're welcome09:09
*** ignas has joined #schooltool14:21
*** mgedmin has joined #schooltool14:49
Lumiereignas: check ohloh for cando :)14:51
Lumieremgedmin: thank you for the help yesterday14:52
* mgedmin wasn't aware he gave out any help :)14:52
ignasLumiere: nice :)14:52
mgedminmaybe I should go into a new line of work: "moral support, cheap"14:52
Lumieremgedmin: lol14:53
Lumieremgedmin: you did more then that14:53
Lumiereyou helped us work out exactly what needed to be done14:53
mgedminI could also fix grammar mistakes, like s/then/than/ :)14:53
Lumiereyes14:53
Lumierebut that would imply that I were awake enough to properly use my crappy language14:53
*** ignas has quit IRC15:18
*** ignas has joined #schooltool15:21
*** dlobo has joined #schooltool15:44
*** alga has joined #SchoolTool16:38
*** Aiste has quit IRC16:40
*** ignas has quit IRC16:48
*** jstraw has joined #schooltool17:02
*** dlobo has quit IRC17:33
*** dlobo has joined #schooltool17:38
*** dlobo has quit IRC17:49
*** jelkner has joined #schooltool18:24
*** alga has quit IRC18:32
*** jelkner has quit IRC18:55
*** jstraw has quit IRC19:43
*** menesis has joined #schooltool19:50
*** dlobo has joined #schooltool20:10
*** jstraw has joined #schooltool20:21
*** jstraw has left #schooltool20:21
*** cpcarey has joined #schooltool20:30
*** menesis has quit IRC20:52
*** phufford_ has joined #schooltool21:09
*** phufford_ has quit IRC21:11
*** phufford_ has joined #schooltool21:12
*** replaceafill has joined #schooltool21:13
*** phufford_ has quit IRC21:39
*** moquist has quit IRC21:39
*** Panentheos has quit IRC21:39
*** spowers has quit IRC21:39
*** lfaraone has quit IRC21:39
*** Lumiere has quit IRC21:39
*** krushik has quit IRC21:39
*** lisppaste5 has quit IRC21:39
*** mgedmin has quit IRC21:39
*** yvl has quit IRC21:39
*** replaceafill has quit IRC21:39
*** aelkner has quit IRC21:39
*** cpcarey has quit IRC21:39
*** dlobo has quit IRC21:39
*** replaceafill has joined #schooltool21:40
*** phufford_ has joined #schooltool21:40
*** cpcarey has joined #schooltool21:40
*** dlobo has joined #schooltool21:40
*** mgedmin has joined #schooltool21:40
*** krushik has joined #schooltool21:40
*** lisppaste5 has joined #schooltool21:40
*** yvl has joined #schooltool21:40
*** aelkner has joined #schooltool21:40
*** moquist has joined #schooltool21:40
*** lfaraone has joined #schooltool21:40
*** Panentheos has joined #schooltool21:40
*** spowers has joined #schooltool21:40
*** Lumiere has joined #schooltool21:40
*** mgedmin has quit IRC22:16
*** phufford_ has quit IRC22:17
*** dlobo has quit IRC22:44
*** dlobo has joined #schooltool23:16
*** mgedmin has joined #schooltool23:16

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!