| *** replaceafill has quit IRC | 00:38 | |
| *** menesis has quit IRC | 00:47 | |
| *** aks has joined #schooltool | 05:07 | |
| *** aks has joined #schooltool | 05:07 | |
| *** th1a has quit IRC | 06:53 | |
| *** menesis has joined #schooltool | 07:34 | |
| *** yvl has joined #schooltool | 10:02 | |
| *** yvl has quit IRC | 10:06 | |
| *** yvl has joined #schooltool | 10:36 | |
| *** alga has joined #schooltool | 12:07 | |
| *** menesis has quit IRC | 13:10 | |
| *** aks has quit IRC | 13:28 | |
| *** menesis has joined #schooltool | 14:00 | |
| *** th1a has joined #schooltool | 14:55 | |
| *** ignas has joined #schooltool | 15:02 | |
| *** ignas has quit IRC | 15:48 | |
| *** replaceafill has joined #schooltool | 16:40 | |
| *** replaceafill has quit IRC | 16:41 | |
| *** replaceafill has joined #schooltool | 16:42 | |
| replaceafill | th1a, zyt? | 17:07 |
|---|---|---|
| aelkner | yvl, ayt? | 17:41 |
| *** alga has quit IRC | 17:52 | |
| yvl | pong, aelkner | 18:01 |
| yvl | a liitle bit | 18:01 |
| yvl | will be going away in ~15 min | 18:01 |
| yvl | btw, I'll be semi-available by e-mail this weekend | 18:03 |
| aelkner | i just wanted to double-check some things before i lose you for the weekend | 18:06 |
| aelkner | i think i understand that schooltool.intervention will have a python file that depends on schooltool.gradebook | 18:06 |
| aelkner | that is only included if the zcml condition is met | 18:07 |
| yvl | yes | 18:07 |
| aelkner | so i can still keep the change to setup.py | 18:07 |
| aelkner | i only pushed the buildout.cfg change so that you know what i had to do in the sandbox | 18:08 |
| aelkner | it's not like you have to kep it when you merge | 18:08 |
| aelkner | but i'll make sure it's one in the end | 18:08 |
| yvl | please don't do that again | 18:08 |
| replaceafill | yvl, http://pastebin.com/XDcHqF5r | 18:09 |
| yvl | when merging, this only makes things more difficult | 18:09 |
| replaceafill | btw, hello guys :) | 18:09 |
| yvl | hey replaceafill | 18:09 |
| aelkner | yvl, why the paste? | 18:10 |
| yvl | replaceafill, gave it | 18:10 |
| yvl | not me :) | 18:10 |
| replaceafill | aelkner, is for yvl | 18:10 |
| replaceafill | aelkner, sorry to interrupt your conversation :) | 18:11 |
| aelkner | oh, sorry, i thought yvl had pasted it | 18:11 |
| aelkner | yvl, so this plugin feature thing really works? | 18:12 |
| aelkner | have we done it before in schooltool? | 18:12 |
| yvl | not for plugins | 18:12 |
| yvl | but similar things | 18:12 |
| yvl | devmode | 18:12 |
| yvl | help | 18:12 |
| aelkner | but they work off of config, don't they? | 18:13 |
| aelkner | schooltool.conf | 18:13 |
| aelkner | anyway, just to be clear | 18:13 |
| aelkner | all i change in gradebook is the meta= at the tope | 18:14 |
| aelkner | top | 18:14 |
| aelkner | and <meta:provides feature="plugin-schooltool.gradebook" /> | 18:14 |
| yvl | yes | 18:14 |
| aelkner | in the body | 18:14 |
| aelkner | just those two lines | 18:14 |
| yvl | in config.zcml, yes :) | 18:14 |
| yvl | and this is how devmode is enabled from .conf file: | 18:15 |
| yvl | if options.config.devmode: | 18:15 |
| yvl | context.provideFeature('devmode') | 18:15 |
| yvl | it's in main.py | 18:15 |
| aelkner | i.e., the python equivalent of the zcml directive | 18:15 |
| yvl | yes | 18:15 |
| * th1a arrives back at home. | 18:16 | |
| aelkner | ok, and i'll have current term sensitive views do a dynamic return of the different tempate | 18:16 |
| aelkner | in __call__: | 18:17 |
| aelkner | if 'no current term test': | 18:17 |
| aelkner | template = ViewPageTemplateFile('templates/no_current_term.pt") | 18:17 |
| aelkner | return template() | 18:17 |
| aelkner | does that sound right? | 18:17 |
| yvl | sure | 18:17 |
| yvl | thanks | 18:18 |
| aelkner | and i'll make the same change in schooltool.gradebook | 18:18 |
| yvl | that would be nice | 18:19 |
| yvl | just check how much work that would be | 18:19 |
| yvl | if too much, you can postpone it | 18:19 |
| aelkner | i dn't think it will be too bad because that view will work on any context | 18:19 |
| aelkner | anyway, thanks for getting back to me so quikcly | 18:20 |
| aelkner | this will really help my progress for monday | 18:20 |
| yvl | no problems :) | 18:20 |
| yvl | I should thank you! :) | 18:21 |
| aelkner | well, i'm just doing my job | 18:21 |
| aelkner | but again, it's nice to be appreciated | 18:21 |
| th1a | This is the time we're cleaning up the already postponed work, so I'd rather not postpone it further. ;-) | 18:21 |
| aelkner | yeah, i'll take care of it | 18:22 |
| replaceafill | yvl, couple of quick questions? | 18:22 |
| replaceafill | i know you're hungry :( | 18:22 |
| yvl | go ahead replaceafill :) | 18:22 |
| replaceafill | i pasted the attributes i think we need based on cambodia's bunch of reports | 18:23 |
| replaceafill | my first question is about the school info that changes year by year | 18:23 |
| replaceafill | should i stick the data into the schoolyear (through annotation and adapters) | 18:24 |
| replaceafill | or should i create a separated container for it? | 18:24 |
| replaceafill | lines 1-21 in the pastebin | 18:24 |
| yvl | create a per-int-id container | 18:26 |
| yvl | copy code from schooltool/groups | 18:26 |
| replaceafill | ah! ok | 18:26 |
| replaceafill | they're related to the intid of the schoolyear, correct? | 18:26 |
| yvl | this way we'll have 4-7 duplications of identicall code and maybe enough willpower to implement that in a single place ;) | 18:26 |
| yvl | stored by intid | 18:26 |
| replaceafill | got it | 18:27 |
| yvl | container[unicode(year_int_id)] | 18:27 |
| replaceafill | and the last question | 18:27 |
| replaceafill | i'm trying to use aelkner's custom fields for most of these | 18:27 |
| replaceafill | principals, vice-principals, staff (non-teachers) | 18:27 |
| replaceafill | and the teacher and students need attributes based on the level they teacher or attend | 18:28 |
| replaceafill | i'm not sure how these "conditional" attributes should be handled | 18:28 |
| yvl | short answer - fully functional filtering not implemented yet | 18:29 |
| replaceafill | for instance if the teacher teaches 12 grade, we store some additional fields for him/her | 18:29 |
| replaceafill | add the filtering on the view? | 18:29 |
| *** menesis has quit IRC | 18:30 | |
| yvl | dunno, need to look at it | 18:30 |
| * yvl forgot the details, sorry | 18:30 | |
| replaceafill | ok | 18:30 |
| replaceafill | np | 18:30 |
| replaceafill | i'll come back to this on monday with more time :) | 18:30 |
| replaceafill | thanks yvl | 18:30 |
| yvl | oh | 18:31 |
| yvl | filtering is done by group __name__s | 18:31 |
| replaceafill | yes | 18:31 |
| yvl | hm | 18:31 |
| * replaceafill started to think about adding a 'teachers_12_grade' group :D | 18:31 | |
| yvl | yeah... no... :) | 18:32 |
| replaceafill | :D | 18:32 |
| yvl | "make resources and persons use *same* implementation of custom form fields + field filtering by adaptable criteria" was supposed to be the next step | 18:34 |
| yvl | that we didn't get to yet :) | 18:34 |
| replaceafill | right | 18:34 |
| replaceafill | but this usecase would be perfect for that feature, correct? | 18:35 |
| yvl | yes | 18:36 |
| yvl | hmm, maybe you can do that :D | 18:37 |
| replaceafill | :| | 18:37 |
| yvl | lemme sleep over this this weekend ;) | 18:37 |
| replaceafill | sure | 18:37 |
| yvl | if you don't mind of course | 18:38 |
| replaceafill | my hacky answer would be 'put the filtering logic in the views' | 18:38 |
| yvl | I tend to make life harder :/ | 18:38 |
| replaceafill | np | 18:39 |
| yvl | ok | 18:41 |
| yvl | gotta | 18:41 |
| yvl | go | 18:41 |
| yvl | keep in touch by mail :) | 18:41 |
| replaceafill | thanks yvl | 18:41 |
| yvl | and happy coding guys :) | 18:41 |
| *** replaceafill has quit IRC | 19:12 | |
| *** menesis has joined #schooltool | 21:02 | |
| *** replaceafill has joined #schooltool | 22:40 | |
| *** replaceafill has quit IRC | 22:41 | |
| *** replaceafill has joined #schooltool | 22:41 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!