*** replaceafill has joined #schooltool | 00:57 | |
*** replaceafill has quit IRC | 01:23 | |
*** menesis has quit IRC | 01:25 | |
*** ignas has quit IRC | 03:05 | |
*** replaceafill has joined #schooltool | 03:46 | |
*** replaceafill has quit IRC | 07:08 | |
*** alga has joined #schooltool | 09:42 | |
*** menesis has joined #schooltool | 11:24 | |
*** ignas has joined #schooltool | 12:02 | |
*** ignas has quit IRC | 12:20 | |
*** alga has quit IRC | 12:47 | |
*** ignas has joined #schooltool | 13:06 | |
*** menesis has quit IRC | 13:24 | |
*** menesis has joined #schooltool | 13:24 | |
*** ignas has quit IRC | 14:29 | |
*** replaceafill has joined #schooltool | 15:14 | |
*** menesis has quit IRC | 15:24 | |
*** ignas has joined #schooltool | 15:38 | |
*** menesis has joined #schooltool | 16:26 | |
*** ignas has quit IRC | 18:56 | |
replaceafill | aelkner, u around? | 19:12 |
---|---|---|
*** alga has joined #schooltool | 19:13 | |
aelkner | replaceafill, what's up? | 19:22 |
replaceafill | are custom score systems registered as utilities when you create them? | 19:23 |
aelkner | yes, why? | 19:25 |
replaceafill | i can't find the place how they are registered | 19:25 |
replaceafill | or looked up | 19:25 |
replaceafill | i mean, i can see the view to add a custom score system | 19:25 |
replaceafill | self.siteManager.registerUtility(scoresystem, | 19:26 |
replaceafill | interfaces.ICustomScoreSystem, name=n) | 19:26 |
replaceafill | got it :D | 19:26 |
replaceafill | thanks aelkner ;) | 19:26 |
aelkner | there you go | 19:26 |
replaceafill | it's the name i'm paying attention | 19:26 |
replaceafill | the name under they are registered | 19:26 |
replaceafill | i'm trying to understand this logic: | 19:27 |
replaceafill | def escName(name): | 19:27 |
replaceafill | """converts title-based scoresystem name to querystring format""" | 19:27 |
replaceafill | chars = [c for c in name.lower() if c.isalnum() or c == ' '] | 19:27 |
replaceafill | return u''.join(chars).replace(' ', '-') | 19:27 |
replaceafill | and why it has to be done | 19:27 |
aelkner | to pass the score system key as part of the query string | 19:27 |
aelkner | to the other views | 19:28 |
replaceafill | wouldnt be easier to use encoding for that? | 19:28 |
replaceafill | like name.encode('punycode') or something? | 19:28 |
aelkner | probably would, had I thought of it :( | 19:28 |
replaceafill | ah ok, no biggie | 19:29 |
replaceafill | thanks aelkner | 19:29 |
replaceafill | i'm working in the preferences stuff | 19:29 |
aelkner | i figured | 19:29 |
*** menesis has quit IRC | 20:31 | |
*** replaceafill has quit IRC | 20:53 | |
*** menesis has joined #schooltool | 21:06 | |
*** alga has quit IRC | 21:49 | |
*** alga has joined #schooltool | 21:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!