*** auxesis has quit IRC | 00:11 | |
*** auxesis has joined #schooltool | 00:17 | |
*** tvon has quit IRC | 00:48 | |
*** tvon has joined #schooltool | 00:48 | |
*** bskahan has quit IRC | 04:22 | |
*** bskahan has joined #schooltool | 04:34 | |
*** bskahan has quit IRC | 05:14 | |
*** th1a has quit IRC | 05:35 | |
*** bskahan has joined #schooltool | 08:23 | |
*** Aiste has joined #schooltool | 09:16 | |
*** bskahan has quit IRC | 09:38 | |
*** bskahan has joined #schooltool | 09:48 | |
*** bskahan has quit IRC | 10:20 | |
povbot | /svn/commits: * jinty committed revision 4068: | 11:08 |
---|---|---|
povbot | /svn/commits: Stylistic change. | 11:08 |
povbot | /svn/commits: * jinty committed revision 4069: | 11:08 |
*** thisfred has joined #schooltool | 12:04 | |
*** SteveA_ has joined #schooltool | 13:01 | |
*** bskahan has joined #schooltool | 13:02 | |
*** SteveA has quit IRC | 13:02 | |
*** SteveA_ is now known as SteveA | 13:05 | |
*** bskahan has quit IRC | 13:07 | |
*** bskahan has joined #schooltool | 13:21 | |
*** bskahan has quit IRC | 13:46 | |
*** bskahan has joined #schooltool | 14:10 | |
*** srichter has quit IRC | 14:34 | |
*** ignas has joined #schooltool | 14:59 | |
*** tvon has quit IRC | 15:05 | |
*** srichter has joined #schooltool | 15:30 | |
* bskahan is grumpy about the existence of internet explorer | 16:32 | |
*** tvon has joined #schooltool | 16:45 | |
bskahan | tvon: did you take out the footer hack at some point? or did we just discuss it? | 16:48 |
tvon | We just discussed it | 16:56 |
bskahan | ok | 16:58 |
bskahan | tvon: can you test something in IE for me | 17:01 |
bskahan | anyone who's around actually | 17:01 |
bskahan | I see the calendar year view page has its base font larger than the other calendar view pages | 17:02 |
*** SteveA_ has joined #schooltool | 17:13 | |
*** th1a has joined #schooltool | 17:22 | |
th1a | SteveA: ayt? | 17:23 |
*** SteveA has quit IRC | 17:39 | |
* tvon pokes ignas | 18:21 | |
tvon | ignas: templates/person_container_delete.pt | 18:21 |
*** tvon has quit IRC | 18:24 | |
povbot | /svn/commits: * gintas committed revision 4070: | 18:26 |
povbot | /svn/commits: Typo fix. | 18:26 |
povbot | /svn/commits: * ignas committed revision 4071: | 18:28 |
povbot | /svn/commits: Oops. | 18:28 |
*** dwoo has joined #schooltool | 18:55 | |
dwoo | thla: Tom, you here? This is jeff elkner, loggin one of my students onto the channel | 18:56 |
bskahan | hi jeff | 18:56 |
th1a | Hi, Jeff. | 18:56 |
dwoo | david woo is a very bright, if decidely eccentric student of mine whom i am hoping to groom as a schooltool/cando developer | 18:57 |
*** erchache has joined #schooltool | 18:57 | |
dwoo | he has a question about zope 3 which i can not answer | 18:57 |
dwoo | can i turn him over to you folks? | 18:57 |
th1a | I don't know if I can help him personally, but I imagine someone here can. | 18:58 |
dwoo | good enough... here he is... | 18:58 |
dwoo | I'm learning about page template macros. In the book I'm reading, there's something there I don't understand... | 18:59 |
th1a | Which book? | 19:00 |
dwoo | It's called "web component development with zope3" | 19:01 |
th1a | OK. | 19:01 |
dwoo | In the book they put a <div metal:fill-slot="body"> tag around the body of a page template they previously introduced. | 19:01 |
dwoo | The problem is, there's already a <body> tag around it, so I'm wondering exactly what this tag is supposed to do. | 19:02 |
th1a | What page is it on? I'm probably the only other person with the book. | 19:03 |
bskahan | dwoo: the contents of that div will be used in another template where the | 19:03 |
bskahan | <metal:block define-slot="body"/> | 19:03 |
dwoo | Page 112 | 19:04 |
bskahan | is that stephan's book or phill's? | 19:04 |
th1a | Phill's. | 19:04 |
bskahan | I just went out and bought z3 dev guide so I can appropriately fanboy srichter ;) | 19:05 |
bskahan | dwoo: the confusing bit is the fact that the xhtml <body> tag is mixed in with what is essentially an xml template | 19:06 |
bskahan | the <body> tag that will eventually get rendered is probably in the pt file where the slot is defined | 19:07 |
dwoo | Wouldn't that mean that there is a body tag inside a body tag then? | 19:07 |
bskahan | the example your looking at has: | 19:08 |
bskahan | ...<body><div metal:fill-slot="body"> Some content </div></body>.. | 19:08 |
bskahan | ? | 19:08 |
dwoo | Yeah, that's it. | 19:08 |
bskahan | the section within the div (including the div) will get rendered at the point where the define-slot="body" is | 19:09 |
bskahan | the content around your div won't be rendered | 19:09 |
bskahan | dwoo: does that make sense? | 19:10 |
dwoo | bskahan: Yes, but why doesn't the stuff around the dive get rendered? | 19:11 |
dwoo | Hmmm... how do you do the red text? | 19:11 |
bskahan | the red text probably shows up when your name is on the line | 19:14 |
bskahan | you'd define your basica page structure in the file with the define-slot directive, then each new piece of content doesn't have to worry about the frame of the page, or the HTML header, they can just fill the body slot | 19:16 |
bskahan | calling the slot "body" rather than "body-content" might not be the most readable practice, but its common | 19:17 |
th1a | Yeah, it seems like that is the confusing part. | 19:17 |
th1a | Re-using the word "body." | 19:18 |
dwoo | Oh, okay. I guess that makes sense. | 19:18 |
th1a | So what fills the body content won't bring its own <body> tag with it? | 19:19 |
bskahan | no | 19:19 |
bskahan | in schoolbell the "body" is just the content well, and often not the entire content well. | 19:20 |
dwoo | Thank you for your time. | 19:21 |
bskahan | dwoo: no problem, hope that helps | 19:21 |
bskahan | th1a: see my mail about "timetables" | 19:23 |
th1a | Yes, I agree. | 19:25 |
bskahan | cool | 19:29 |
bskahan | that's a 0.11 change? | 19:29 |
th1a | Uh... ask jinty. | 19:30 |
th1a | If there isn't disagreement I'd like to do it for 0.10. | 19:30 |
bskahan | heh | 19:30 |
th1a | I gotta run. | 19:30 |
*** dwoo has quit IRC | 19:30 | |
bskahan | ok | 19:30 |
bskahan | ttyl | 19:30 |
th1a | bye. | 19:30 |
*** srichter has quit IRC | 19:48 | |
*** erchache has quit IRC | 20:01 | |
*** srichter has joined #schooltool | 20:21 | |
*** srichter has quit IRC | 20:22 | |
*** srichter has joined #schooltool | 20:23 | |
*** srichter has quit IRC | 20:29 | |
*** srichter has joined #schooltool | 20:30 | |
*** thisfred has quit IRC | 20:35 | |
*** maharaja has joined #schooltool | 21:16 | |
*** maharaja is now known as maja | 21:16 | |
*** maja is now known as _maharaja | 21:16 | |
_maharaja | hi | 21:16 |
_maharaja | any1 here who can help me understand and/or improve schoolbell? | 21:27 |
_maharaja | cause i would like to see better interoperability with sunbird | 21:27 |
bskahan | _maharaja: hi | 21:28 |
bskahan | what are you thinking about working on? | 21:28 |
_maharaja | well - there are several things i would like to improve (or maybe i do not know how to enable some features of schooltool/sunbird) | 21:30 |
_maharaja | things like: | 21:30 |
_maharaja | there should be private entries where no1 except me can see the names | 21:30 |
_maharaja | one can improve all day events | 21:31 |
_maharaja | because when i create an all day event in sunbird, it is converted to an event lasting from 00:00-00:00 in schoolbell | 21:31 |
_maharaja | and it takes the whole screen to display that event | 21:31 |
bskahan | the all day event problem is known bug | 21:32 |
_maharaja | there is a bug when an event ends at 12:05 and another one starts at 12:05 - while 12:00 <-> 12:00 is no problem | 21:32 |
bskahan | I believe its now fixed in SVN and will be fixed in 1.1.1 | 21:32 |
_maharaja | is there a public svn repository? | 21:32 |
bskahan | yes | 21:32 |
_maharaja | k - ill take a look | 21:32 |
bskahan | http://source.schooltools.org/ | 21:32 |
bskahan | I don't think there's a ACL level for setting individual events to private | 21:33 |
bskahan | if you wanted to add it, you could take a look at the notes system | 21:33 |
bskahan | they have public/private status | 21:33 |
bskahan | http://source.schooltool.org/ | 21:33 |
bskahan | sorry, typo | 21:33 |
bskahan | http://issues.schooltool.org/issue224 should be the allday events in iCal bug | 21:35 |
bskahan | _maharaja: what's the bug with 12:05/12:05 events? | 21:38 |
_maharaja | ill post a screenshot | 21:38 |
*** Aiste has quit IRC | 21:39 | |
_maharaja | bskahan: http://raoul.bhatia.at/~raoul/schoolbell.png | 21:40 |
bskahan | thanks | 21:41 |
bskahan | sunbird won't run on my machine | 21:42 |
bskahan | never has | 21:42 |
bskahan | always segfaults | 21:42 |
_maharaja | mhm - strange | 21:42 |
bskahan | _maharaja: what's the bug in that screenshot? | 21:42 |
_maharaja | the alignment | 21:43 |
bskahan | the fact that they aren't in a single column? | 21:43 |
_maharaja | yes | 21:44 |
_maharaja | or is this a feature? :) | 21:44 |
bskahan | that's tricky, because one ends at 12:05:00 and the other starts at 12:05:00 the rendering thinks they overlap | 21:44 |
_maharaja | and they only align in a single column when they start/end at x:00 | 21:45 |
bskahan | really | 21:45 |
bskahan | well, it should be consistent | 21:45 |
bskahan | not sure which I'd call the bug | 21:45 |
bskahan | but one of them definitely is | 21:45 |
_maharaja | the second example is: http://raoul.bhatia.at/~raoul/schoolbell2.png | 21:46 |
bskahan | it is the edge case of a feature though, events that overlap are offset so they don't get hidden | 21:46 |
bskahan | I think your right | 21:47 |
bskahan | that looks better | 21:47 |
bskahan | I suspect it won't be a fun thing to fix | 21:47 |
_maharaja | so is it a quick fix? | 21:47 |
_maharaja | mhm | 21:47 |
_maharaja | i do not know anything about the rendering | 21:47 |
_maharaja | but i've once worked on an calender project | 21:47 |
_maharaja | and getting things to render like that is magic :> | 21:47 |
_maharaja | never touched this part of the calendar | 21:48 |
bskahan | i doubt its a quick fix, the overlapping event rendering code is pretty delicate CSS | 21:48 |
bskahan | can you file a bug with those screensots though? | 21:48 |
_maharaja | yes | 21:51 |
bskahan | thanks | 21:51 |
bskahan | of the things you mentioned the private events would be the best introduction to the schoolbell code | 21:52 |
_maharaja | *searching for the bug ticket system* | 21:52 |
_maharaja | found it | 21:52 |
bskahan | http://issues.schooltool.org | 21:52 |
_maharaja | where should i start reading? | 21:52 |
_maharaja | like dokumentation/code | 21:52 |
bskahan | first you probably want to find out if the iCal standard supports privacy at the event level | 21:53 |
bskahan | I think it does | 21:53 |
bskahan | then you could take a look at src/schoolbell/app/notes.py and src/schoolbell/app/browser/notes.py | 21:55 |
bskahan | the actual calendar event is in src/schoolbell/calendar/simple.py, iirc | 21:56 |
bskahan | good starting documentation in src/schoolbell/calendar/README.txt | 21:57 |
_maharaja | done: http://issues.schooltool.org/issue278 | 22:00 |
bskahan | thanks | 22:00 |
_maharaja | np | 22:01 |
bskahan | I got sunbird 0.2 running without gtk-xft | 22:01 |
bskahan | mmmm, no anti-aliasing | 22:01 |
_maharaja | *building the svn .debs* | 22:03 |
bskahan | running straight out of the svn checkout without installing is very easy | 22:05 |
bskahan | svn co blah://blah/trunk schoolbell | 22:05 |
bskahan | cd schoolbell | 22:05 |
bskahan | make | 22:05 |
bskahan | ./schoolbell-server.py | 22:05 |
_maharaja | mhm - good to know | 22:06 |
bskahan | not to discourage building/testing the debs | 22:06 |
_maharaja | :> | 22:06 |
_maharaja | ill do both ;) | 22:06 |
_maharaja | is my work python only code which is compiled on the fly? | 22:06 |
_maharaja | or do i have to recompile schoolbell everytime i make changes | 22:06 |
bskahan | nope, make just compiles zope's BTrees | 22:06 |
_maharaja | k | 22:06 |
_maharaja | i've got an error while compiling the debs | 22:07 |
bskahan | sb is all python | 22:07 |
_maharaja | msgmerge: error while opening "src/schoolbell/app/locales/schoolbell.pot" for reading: No such file or directory | 22:07 |
bskahan | interesting | 22:07 |
_maharaja | i did: svn co http://source.schooltool.org/svn/trunk/schoolbell | 22:07 |
bskahan | yeah | 22:07 |
bskahan | make update-translations | 22:07 |
_maharaja | thats the error | 22:07 |
bskahan | not needed if your running from the directory, but probably needed for the debs | 22:07 |
_maharaja | it is | 22:08 |
_maharaja | (needed for the debs) | 22:08 |
bskahan | make get-rosetta-translations | 22:08 |
bskahan | maybe | 22:08 |
* bskahan is ashamed to say he's never tried building the debs | 22:09 | |
_maharaja | may i ask what you're doing at schooltool/-bell? | 22:09 |
bskahan | what the roadmap is? | 22:10 |
_maharaja | no, what bskahan is doing :) | 22:10 |
bskahan | ah | 22:10 |
_maharaja | like coding module x | 22:10 |
bskahan | heh, I work for etria, one of the 2 full time dev teams, POV is the other | 22:10 |
bskahan | etria does more of the UI bits, POV does more of the internals/architecture | 22:11 |
_maharaja | i c | 22:12 |
_maharaja | why did you focus on zope? | 22:12 |
_maharaja | or plone | 22:13 |
_maharaja | whatever it is :) | 22:13 |
bskahan | zope3 | 22:13 |
bskahan | we had a zope3 inspired system based on twisted and parts of zope3 | 22:13 |
bskahan | we moved to full zope3 in january after zope 3.0 was released | 22:14 |
bskahan | the general decision for zope was made before I was here, but the general benefits for agile programming, fast development probably applied | 22:14 |
_maharaja | i'm interested cause i'm starting a rather big project and i do not know what to use ;) right now, i'm planning to use php5 and prado (a php5 mfc framework) | 22:15 |
bskahan | depends on the project, for larger projects I think zope makes more sense, but I'm biased | 22:15 |
*** ignas has quit IRC | 22:15 | |
bskahan | _maharaja: got to run | 22:16 |
bskahan | good luck with private events | 22:16 |
bskahan | mail the dev list if you have questions | 22:16 |
_maharaja | k | 22:17 |
_maharaja | thnx | 22:17 |
bskahan | np | 22:17 |
*** bskahan has quit IRC | 22:17 | |
*** th1a has quit IRC | 22:51 | |
*** th1a has joined #schooltool | 22:57 | |
*** ignas has joined #schooltool | 23:28 | |
_maharaja | hi | 23:31 |
th1a | _maharaja: Hi. | 23:31 |
_maharaja | th1a: are you a schoolbell hacker? | 23:47 |
_maharaja | and/or know python? | 23:47 |
th1a | I am the project manager, I do know Python but I've done very little work on SchoolBell itself. | 23:48 |
th1a | I'm the educator here. | 23:48 |
_maharaja | i c | 23:50 |
th1a | Do you have a specific question? | 23:51 |
_maharaja | well - basically i struggle to implement some privacy features | 23:52 |
_maharaja | i've added a private attribute to the event templates | 23:52 |
_maharaja | and do not know how to save this information | 23:52 |
_maharaja | and to make things worse, it's my first time coding in python | 23:53 |
th1a | Ah. | 23:53 |
_maharaja | i do not understand how things work :-/ | 23:53 |
th1a | So you added a field to the template? | 23:53 |
_maharaja | yes, i did | 23:53 |
_maharaja | i get the feeling that it is saved in the database, as i can do weired things with <tal:if condition="event/private">...</tal:if> | 23:54 |
_maharaja | but in the python code, its not | 23:54 |
_maharaja | its not working | 23:54 |
_maharaja | as expected | 23:54 |
_maharaja | i'm confused as i even do not know how to debug python... :) | 23:55 |
th1a | srichter has written a book on Zope 3, and there is a version of it online. | 23:56 |
th1a | http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage/Zope3Book | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!