*** rob__ has joined #schooltool | 04:11 | |
*** rob__ is now known as grapefruit | 04:11 | |
*** grapefruit has quit IRC | 04:16 | |
*** hazmat has quit IRC | 04:57 | |
*** povbot` has joined #schooltool | 05:33 | |
*** SteveA has joined #schooltool | 05:56 | |
*** thisfred has joined #schooltool | 12:01 | |
*** Aiste has quit IRC | 12:03 | |
*** ignas has joined #schooltool | 12:30 | |
*** szaz has joined #schooltool | 12:32 | |
*** szaz has quit IRC | 12:35 | |
*** Aiste has joined #schooltool | 14:04 | |
*** alga has joined #SchoolTool | 15:22 | |
*** bskahan has joined #schooltool | 15:34 | |
*** th1a|PyUK has quit IRC | 15:49 | |
*** th1a has joined #schooltool | 15:59 | |
bskahan | th1a: good title for the talk | 16:03 |
---|---|---|
th1a | I was feeling slightly spunkier when I was doing the Python UK proposal. | 16:03 |
bskahan | it works with the "groupware bad" manifesto | 16:05 |
alga | bskahan: what's up with schooltool-ng? | 16:42 |
alga | our setup is basically done, now we need your stuff to hook up timetabling to | 16:43 |
bskahan | alga: ok | 16:45 |
bskahan | I'll start committing today and tomorrow | 16:46 |
bskahan | alga, th1a: i hacked up a quick contact details adapter for IPersons in schoolbell, anyone object to me commiting it? | 17:25 |
th1a | I'm noncommittal. | 17:26 |
bskahan | it was a 30 minute hack and it adds very basic addressbook features to schoolbell | 17:26 |
bskahan | using the same style as schooltool 0.7 with the PersonInfo facet but using an annotation instead | 17:27 |
*** th1a has quit IRC | 17:30 | |
*** Ricey has joined #schooltool | 17:34 | |
bskahan | really, there's no reason it can't be a seperate product since it just adapts IPerson, but that's what changes it from a 30 minute experiment into a waste of a day | 17:35 |
alga | I don't mind if you check it in | 17:36 |
alga | in case it has tests and all | 17:36 |
* bskahan nods | 17:40 | |
*** tvon has joined #schooltool | 17:41 | |
*** th1a has joined #schooltool | 18:01 | |
*** th1a has quit IRC | 18:02 | |
*** tvon has quit IRC | 18:13 | |
bskahan | alga: since we don't have the root/community group anymore to use for a default public calendar what do you think about bootstrapping "the school" as Resource and using that calendar as the default public calendar? | 18:51 |
alga | I think root group was a better idea | 19:02 |
alga | a special resource will be very much a special case | 19:02 |
bskahan | ok | 19:06 |
*** tvon has joined #schooltool | 19:06 | |
*** SteveA has quit IRC | 19:15 | |
*** tvon has quit IRC | 19:16 | |
*** hazmat has joined #schooltool | 19:36 | |
*** Aiste has quit IRC | 19:48 | |
*** ignas has quit IRC | 19:56 | |
*** Aiste has joined #schooltool | 20:09 | |
*** Aiste has quit IRC | 20:15 | |
*** Aiste has joined #schooltool | 20:15 | |
*** thisfred has quit IRC | 20:25 | |
bskahan | alga: what are the things you actually need from our end to start on timetabling | 20:39 |
alga | well, persons and sections to hook up the timetables to | 21:24 |
alga | some of the code is pretty standalone, so I'm porting it already | 21:25 |
alga | but the views will want live objects, especially ftests | 21:25 |
bskahan | ok | 21:26 |
bskahan | I'm trying to figure out the skins and layers at the moment | 21:26 |
bskahan | once I get that working I'll add some ftests | 21:26 |
bskahan | if you have insite into what I'm missing in the last 2 commits to turn on a schooltool skin with a fallback to the schoolbell layer ... | 21:28 |
alga | you have to derive the st skin from the sb skin | 21:30 |
alga | and set it in the event subscriber | 21:30 |
bskahan | I created a new skin that includes the schoolbell layer, and set the new skin in the event subscriber | 21:32 |
bskahan | (or so I thought) | 21:32 |
alga | yeah, looks fine | 21:33 |
alga | does it work? | 21:33 |
bskahan | nope | 21:34 |
bskahan | the tests based on the schoolbell skin tests pass | 21:34 |
bskahan | but it doesn't seem to be picking up the new logo | 21:34 |
bskahan | or breaking, which was the result I really expected ;) | 21:35 |
alga | well, is the skin applied? in a view, check in request provides the skin interface | 21:37 |
alga | try registering some view for the new skin, see if you get to it | 21:37 |
alga | maybe the schoolbell layer somehow gets above the schooltool layer | 21:37 |
alga | ah, one more thing | 21:40 |
alga | there are two subscribers now | 21:40 |
bskahan | I registered a dummy view for ICourse in the new skin | 21:40 |
bskahan | true | 21:40 |
alga | one from SB, another from ST | 21:40 |
alga | maybe the SB gets called last | 21:41 |
bskahan | I think making SchoolToolApplication maybe should implement ISchoolBellApplication | 21:41 |
bskahan | s/making// | 21:42 |
bskahan | er | 21:42 |
bskahan | shouldn't implement ISchoolBellApplication | 21:42 |
alga | then you'd have to re-register all the views | 21:42 |
alga | but that's a possibility | 21:42 |
alga | also, you'd have to fix all the SB code that gets to the app to do some stuff | 21:43 |
alga | getSchoolBellApplication() basically | 21:43 |
alga | I hope there's a better way... | 21:43 |
alga | yeah | 21:43 |
alga | make a third interface | 21:44 |
alga | 1) base | 21:44 |
alga | 2) SB | 21:44 |
alga | 3) ST | 21:44 |
alga | register the views for base | 21:44 |
alga | in the subscribers, check SB and ST | 21:44 |
alga | and make ST inherit from base, but not SB | 21:44 |
alga | well, the names have to be good | 21:44 |
alga | ISchoolBellApplication would be base | 21:45 |
alga | ISchoolToolApplication would inherit from that | 21:45 |
alga | as would IRealSchoolBellApplication | 21:45 |
alga | shrug :) | 21:45 |
alga | I know | 21:46 |
alga | in ZCML, make SB implement ISchoolBellSkinnable | 21:46 |
alga | or something like that | 21:46 |
alga | and in the SB subscriber check for that | 21:46 |
* bskahan nods | 21:46 | |
bskahan | I'll try that | 21:46 |
alga | for the time being, see if the subscriber thing is really the case by commenting the bad one out | 21:47 |
* bskahan nods | 21:49 | |
bskahan | commenting out the the subscriber in schoobell/app/browser/configure.zcml kicks you out to the rotterdam skin | 21:53 |
alga | hee hee | 22:25 |
alga | in that case, even our subscriber does not get called :-) | 22:25 |
alga | ST skin inherits the SB layer | 22:25 |
*** alga has quit IRC | 22:26 | |
bskahan | looks like the browser/configure.zcml in schooltool isn't getting called | 22:44 |
bskahan | <include package=".browser" /> | 22:47 |
bskahan | duh | 22:47 |
*** hazmat has quit IRC | 22:50 | |
bskahan | I've acheived something | 23:03 |
bskahan | I'm just not sure what | 23:03 |
bskahan | i think I've made an empty skin (eg., on that doesn't fallback to schoolbell) | 23:04 |
*** Aiste has quit IRC | 23:10 | |
*** Aiste has joined #schooltool | 23:31 | |
*** th1a has joined #schooltool | 23:39 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!