*** dlobo has joined #schooltool | 02:17 | |
*** dlobo has quit IRC | 02:19 | |
*** dlobo has joined #schooltool | 02:21 | |
*** dlobo has quit IRC | 02:25 | |
*** alga has quit IRC | 04:46 | |
*** dlobo has joined #schooltool | 06:56 | |
*** ignas has joined #schooltool | 07:23 | |
*** pcardune has joined #schooltool | 07:26 | |
*** dlobo has quit IRC | 08:23 | |
*** dlobo has joined #schooltool | 08:33 | |
*** dlobo has quit IRC | 08:40 | |
*** pcardune has quit IRC | 08:57 | |
*** Aiste has joined #schooltool | 09:43 | |
*** ignas has quit IRC | 10:32 | |
*** ignas has joined #schooltool | 11:05 | |
*** alga has joined #SchoolTool | 11:43 | |
*** menesis has joined #schooltool | 12:20 | |
*** mgedmin has joined #schooltool | 13:45 | |
*** alga has quit IRC | 14:55 | |
*** alga has joined #schooltool | 14:56 | |
*** yvl has joined #schooltool | 15:46 | |
*** dlobo has joined #schooltool | 16:06 | |
*** th1a has joined #schooltool | 16:30 | |
th1a | Hi yvl, menesis, aelkner, moquist, Lumiere. | 16:31 |
---|---|---|
aelkner | good morning | 16:32 |
yvl | morning :) | 16:32 |
* yvl is away for 3 minutes | 16:33 | |
* th1a is getting a slow start too... | 16:33 | |
Lumiere | hi all | 16:34 |
* Lumiere is a volunteer again :) | 16:35 | |
th1a | Lumiere: I hope you enjoy it. | 16:36 |
th1a | Let me know when you're back yvl. | 16:36 |
yvl | I'm back | 16:37 |
th1a | OK. | 16:38 |
th1a | Want to get us started, yvl? | 16:38 |
yvl | ok | 16:38 |
yvl | first, I had few days of unexpected vacation last week | 16:38 |
yvl | so not much to show off with | 16:38 |
th1a | OK. | 16:39 |
yvl | and I'm a bit stuck with security descriptions | 16:39 |
th1a | We're all at that point to varying degrees, I think. | 16:39 |
th1a | (semi-vacationing) | 16:39 |
yvl | summer... | 16:39 |
yvl | I'm having a hard time understanding what SchoolTool is supposed to be - again | 16:39 |
th1a | :-) | 16:40 |
yvl | As a result, it's not that easy do draw a line between developer customisability and "hacked things that just work" | 16:40 |
yvl | and I'll want to dump some of my thoughts a bit later today, if its ok | 16:41 |
th1a | In an email? | 16:41 |
yvl | well - your choice | 16:41 |
yvl | it seems a bit out of scope for the IRC meeting | 16:41 |
yvl | ok, email. moving on... | 16:42 |
yvl | I was wondering about August 1 release | 16:42 |
yvl | https://launchpad.net/schooltool/+milestone/august-1 | 16:42 |
yvl | how important it is to do that quickly? | 16:43 |
yvl | I understand that it is preferable to do it in Aug | 16:44 |
yvl | but personally I doubt that we'll make a release until end of the month | 16:44 |
yvl | I'll leave that as an open question :) | 16:44 |
yvl | and another thing - PDF report customization | 16:45 |
*** th1a has quit IRC | 16:45 | |
yvl | oh | 16:45 |
yvl | I didn't mean to anger th1a that much... | 16:45 |
*** th1a has joined #schooltool | 16:46 | |
Lumiere | wb th1a | 16:46 |
th1a | ...and we're back. | 16:46 |
yvl | welcome back | 16:47 |
th1a | I left off with "in an email?" | 16:47 |
th1a | Or something like that. | 16:47 |
yvl | http://schooltool.pov.lt/irclogs/latest.log.html | 16:47 |
yvl | so, another thing - PDF report customization | 16:48 |
yvl | it lacks the ability to override default PDF template | 16:48 |
th1a | August 1 isn't particularly important. | 16:48 |
th1a | That was just a general deadline I stuck in there at the beginning of the summer. | 16:48 |
yvl | ok, thanks | 16:49 |
Lumiere | it's a goal deadline rather then a hard one? | 16:49 |
Lumiere | th1a: what's the karmic one? | 16:49 |
yvl | Lumiere - Ubuntu karmic | 16:49 |
th1a | The karmic one is "stuff that should be in the karmic release" | 16:49 |
th1a | October. | 16:49 |
Lumiere | I guess we'er still in ppa then | 16:49 |
yvl | yes | 16:50 |
yvl | Zope 3 is getting into Debian by the way | 16:50 |
yvl | slowly | 16:50 |
th1a | We'll make a serious push for karmic +1. | 16:50 |
* yvl agrees | 16:50 | |
th1a | It'll be in the budget, etc. | 16:50 |
*** alga has quit IRC | 16:51 | |
th1a | So what's up with pdf report customization? | 16:51 |
*** alga has joined #schooltool | 16:52 | |
yvl | It makes sense to add overrides to default templates | 16:52 |
yvl | and I'll do that some time this week | 16:52 |
yvl | I can bump priority on that if replaceafill is blocking on this | 16:52 |
th1a | I'd say it is pretty important. | 16:52 |
yvl | ok, so first thing tomorrow then | 16:53 |
Lumiere | I know fsufitch is semi-blocking on it | 16:53 |
th1a | Yeah. | 16:53 |
yvl | oh, sorry - I meant fsufitch :) | 16:53 |
th1a | *Reports* are one area that definitely need customizability. | 16:54 |
yvl | programmer customizability for now, I guess | 16:54 |
th1a | Yeah. | 16:55 |
yvl | I added several lines in header/footer that programmers can customize | 16:55 |
yvl | or we can easily add text editing in UI | 16:55 |
yvl | but I doubt that it is enough to satisfy all school need | 16:56 |
yvl | s | 16:56 |
th1a | Do you have header/footer code sitting somewhere? | 16:56 |
th1a | fsufitch couldn't find it. | 16:56 |
yvl | schooltool.app.browser.report.ReportPDFView | 16:57 |
th1a | It is in trunk though? | 16:58 |
yvl | has two properties: header and footer | 16:58 |
yvl | yes | 16:58 |
yvl | but there's not much to customize | 16:58 |
yvl | page title in the header | 16:58 |
yvl | two right-aligned strings in the footer | 16:58 |
* th1a pinged fsufitch on Google Talk. | 16:58 | |
yvl | logo | 16:58 |
yvl | and that's it | 16:59 |
yvl | the thing is, that when you define a template in RML | 16:59 |
yvl | you need to know exact coordinates where to place stuff in | 16:59 |
yvl | there's no text wrapping, etc. | 16:59 |
th1a | It doesn't just flow? | 16:59 |
yvl | nope | 17:00 |
th1a | Ach. | 17:00 |
th1a | Hm. | 17:00 |
yvl | it's possible to do that | 17:00 |
th1a | Not even wrapping? | 17:00 |
yvl | but its a lot of work | 17:00 |
yvl | no wrapping | 17:00 |
*** Aiste has quit IRC | 17:01 | |
th1a | RML never wraps text? | 17:01 |
yvl | inside a page - yes | 17:01 |
th1a | OK. | 17:01 |
yvl | well, technically inside a "frame" | 17:01 |
yvl | as a page can have several frames | 17:02 |
th1a | A template is different? | 17:02 |
yvl | yes | 17:02 |
th1a | Apparently I need to get friendly again with the RML spec. | 17:02 |
yvl | it has only instructions to draw in the page space | 17:02 |
th1a | It has been a while. | 17:02 |
yvl | then again | 17:03 |
yvl | usually you clearly define how much space the header/footer will use up | 17:03 |
yvl | Word does that, but my knowledge may be rusty | 17:03 |
th1a | Yeah, that's not unusual. | 17:04 |
yvl | RML is actually quite useful, once you get to know it | 17:05 |
th1a | I liked it when I used it. | 17:06 |
yvl | it really beats debugging lists of weird flowables | 17:06 |
th1a | You just worried me there for a second. | 17:06 |
yvl | and it's much more readable than programable pdfs | 17:06 |
yvl | and shorter | 17:06 |
th1a | I agree. | 17:06 |
yvl | and stylesheets are easy | 17:06 |
yvl | I could go on... ;) | 17:07 |
yvl | so - the backbone is there | 17:07 |
yvl | but I waited for more real-life scenarios to check were to put customization holes | 17:07 |
yvl | because upfront design didn't lead anywhere good in this case | 17:08 |
th1a | np. | 17:08 |
th1a | OK, so let's give that enough love to get CanDo's reports out without a horrific hack. | 17:09 |
yvl | deal | 17:09 |
yvl | so | 17:09 |
yvl | that's it from me, I guess | 17:10 |
th1a | Thanks! | 17:10 |
th1a | aelkner? | 17:10 |
yvl | rest of it all will be in the email | 17:10 |
th1a | Any news since Friday? | 17:10 |
aelkner | we spoke thursday :) | 17:10 |
aelkner | anyway, I added a new attribute to the report card layout object called 'sections' | 17:11 |
aelkner | just to make sure we're on the same page, | 17:11 |
aelkner | whereas the columns of a layout were term, report activity tuples | 17:12 |
aelkner | sections are term, report sheet tuples | 17:12 |
th1a | I'm not sure what the practical significance of that is. | 17:13 |
aelkner | each section the administrator adds to the layout results in a section of the outline appearing | 17:13 |
aelkner | how's that? | 17:13 |
th1a | Are you using "section" two different ways? | 17:14 |
aelkner | oh, yes, the word section is confusing here | 17:14 |
th1a | Just a little. ;-) | 17:15 |
aelkner | whereas the grid has columns | 17:15 |
aelkner | the outline has sections (chunks) | 17:15 |
aelkner | or blocks | 17:15 |
aelkner | how about that word | 17:15 |
aelkner | that's better | 17:15 |
th1a | Infinitely better. | 17:15 |
th1a | Nothing could be worse than calling them "sections." | 17:15 |
aelkner | agreed | 17:15 |
Lumiere | calling them something already existing in the vocabulary of the system => destined to failure | 17:16 |
th1a | Also, the outline view is still defined by activity. | 17:16 |
th1a | It would just be nice to also know the sheet context. | 17:16 |
th1a | To explain what we're talking about to everyone else... | 17:16 |
th1a | To to basic report card layout once you allow comments, | 17:17 |
aelkner | ok, i'll explain the columns first | 17:17 |
aelkner | for the grid part of the report card | 17:17 |
aelkner | the user specifies which report sheet activities are displayed in the grid | 17:17 |
aelkner | so the resulting tuple looks like (term, report sheet, report sheet activity) | 17:18 |
th1a | (you can't put comments in the grid) | 17:18 |
th1a | (fit them) | 17:19 |
aelkner | right | 17:19 |
aelkner | so the report card pdf view loops though the sections for the student | 17:19 |
aelkner | and displays on row per section | 17:19 |
aelkner | and each row has one cell per (term, sheet, activity) tuple | 17:20 |
aelkner | so if a report sheet has three activities, two scores and one comment | 17:21 |
aelkner | the user can specify the two score activities to go as columns in the grid | 17:21 |
aelkner | the comment activities can only be included as blocks in the outline section below the grid | 17:22 |
aelkner | the outline will one block per section, each block having a sub-block for each activity specified | 17:23 |
aelkner | with the activity title as heading | 17:23 |
th1a | Hey... the report card isn't using RML yet either, is it? | 17:23 |
aelkner | i was going to get to that... | 17:24 |
th1a | OK. | 17:24 |
th1a | Just checking. ;-) | 17:24 |
aelkner | no it isn't, so i suppose I should consider doing that as well | 17:24 |
aelkner | unless you want me to get it to work the hard-coded way first | 17:24 |
aelkner | what say ye? | 17:25 |
th1a | I think it would make more sense to make the simpler report RML first than further complexifying before switching. | 17:25 |
aelkner | ok, will do | 17:26 |
aelkner | so, basically, the existing report card, with its new outline section | 17:26 |
aelkner | is available to be requested for an individual student | 17:26 |
aelkner | or for the whole student group | 17:26 |
aelkner | but each report card is a snapshot of what the student has done for the whole year | 17:27 |
aelkner | the header is just the student name and school year | 17:28 |
aelkner | so far, so good? | 17:28 |
th1a | Well, we really need some more info in the header, but we don't need to discuss that now. | 17:29 |
th1a | Once we get this to RML, I can muck around myself with the simple parts. | 17:29 |
aelkner | but we agree on the dimension of the report | 17:29 |
aelkner | i.e., one per student for the current school year | 17:30 |
th1a | It is not significantly different than it is already. | 17:30 |
aelkner | not at all, just putting it out there before i ask about another report | 17:30 |
aelkner | ok, so the other report we discuss on thursday was the Single Section Report Card | 17:31 |
th1a | Yes. We still need to figure out where that is going to go. | 17:32 |
aelkner | this would be the equivalent of the narrative report that yvl created for SLA | 17:32 |
aelkner | but i'm not sure on how the user is supposed to specify what goes in there | 17:32 |
th1a | It is *exactly the same report* only for one section. | 17:32 |
th1a | At least for starters. | 17:33 |
aelkner | i had a feeling that was the case, but just to be sure | 17:33 |
th1a | OK. | 17:33 |
aelkner | you're suggesting that in SLA's case | 17:33 |
aelkner | they would have no columns in their layout | 17:34 |
aelkner | and the blocks would specify the activities from the new narrative report sheets | 17:34 |
aelkner | that i created for them during the migration | 17:34 |
aelkner | just to remind you | 17:34 |
th1a | Yes. | 17:34 |
aelkner | they have two report sheets, on called 'Fall Narratives', one, 'Spring Narratives' | 17:35 |
aelkner | each sheet has the three activities, Grade, Assessments, Comments | 17:35 |
aelkner | but i'm not sure how to get the desired effect for them using the block system we discussed | 17:36 |
th1a | You'll have: | 17:37 |
aelkner | if they were to specify the three activities from the fall narratives sheet | 17:37 |
th1a | - Subject | 17:37 |
th1a | - Fall Narratives | 17:37 |
th1a | - Grade | 17:37 |
th1a | - Assessments | 17:37 |
th1a | - Comments | 17:37 |
th1a | - Spring Narratives | 17:37 |
th1a | - Grade | 17:37 |
th1a | - Assessemtents | 17:37 |
th1a | - Comments | 17:38 |
th1a | - Other Subject (if relevant) | 17:38 |
th1a | - Fall... | 17:38 |
th1a | etc. | 17:38 |
aelkner | by subject, what do you mean? | 17:38 |
aelkner | section? | 17:38 |
th1a | Yes, sorry. | 17:38 |
aelkner | np | 17:38 |
aelkner | my concern is this | 17:38 |
th1a | Course, really. | 17:39 |
aelkner | yes, understood | 17:39 |
aelkner | however, last year, they filled out the fall narratives in the fall | 17:39 |
aelkner | then did the report run | 17:39 |
aelkner | then we did that hack to move the fall narratives to backup attributes | 17:39 |
aelkner | then they filled in the spring narratives and did that run | 17:40 |
aelkner | they weren't looking for the report to have the fall narratives info when they did the spring run | 17:40 |
th1a | Well, we'll pretty quickly need to allow multiple report card layouts. | 17:41 |
aelkner | that's what i was implying | 17:41 |
aelkner | so we're on the same page | 17:41 |
aelkner | that means the user would need to specify which layout to use when they request the report | 17:42 |
th1a | Yes. | 17:42 |
aelkner | sorry if i forgot, but did we discuss that as well on thursday? | 17:42 |
th1a | That's a later step though. | 17:42 |
th1a | Soon... | 17:42 |
th1a | Not really directly. | 17:42 |
aelkner | ok, so for now, i'll just get the blocks section of the layout working first, and worry about multiple layouts later | 17:43 |
th1a | Yeah. | 17:44 |
th1a | Do RML first. | 17:44 |
aelkner | ok | 17:44 |
aelkner | now for the section report card | 17:44 |
aelkner | is that to be available as a separate action link at the same context level as the multy-section report card | 17:45 |
aelkner | i.e., at the student or group context | 17:46 |
th1a | I have to figure that out. | 17:46 |
aelkner | ok, let me know your thoughts on that as they come together | 17:46 |
aelkner | as for the section report card header | 17:47 |
aelkner | the narrative report card PDF had SLA's desired header | 17:47 |
th1a | We just have to get custom headers fully baked. | 17:48 |
aelkner | which was, section title, student name, teacher, advisors | 17:48 |
aelkner | yeah, that has to be customizable | 17:48 |
th1a | Well, there will be the letterhead type header and then you'll probably just need to add some report-specific header-ish info sometimes as well. | 17:49 |
th1a | But just as part of the report template, not the header template | 17:49 |
aelkner | for now, i'll hard-code just section title, student name, teacher and leave advisors out of it | 17:50 |
th1a | Where I'm probably abusing the term "template." | 17:50 |
th1a | Keep it simple for now. | 17:50 |
aelkner | ok | 17:51 |
aelkner | another question about the section report card | 17:51 |
th1a | Once these are in RML, it will be easier for me to change these myself than try to explain it. | 17:52 |
* th1a dismisses the rest of the class. | 17:52 | |
aelkner | well, i'll have to look at yvl's RML code to see how that would be done | 17:52 |
aelkner | but for now, can i assume that the grid part of the layout would be ignored in the section report card | 17:53 |
aelkner | as the grid has sections for rows | 17:53 |
aelkner | and there only bring one section, the grid makes now sense | 17:54 |
aelkner | no sense | 17:54 |
th1a | It might as well be there, it is still a reasonable way to display the data. | 17:54 |
aelkner | a grid with one row, are you sure? | 17:54 |
th1a | If you've got six A-F scores, sure. | 17:55 |
th1a | People have looked at grades in that format for well over a century. | 17:55 |
aelkner | ok, i see what you mean | 17:55 |
th1a | We're used to it. | 17:55 |
aelkner | so that's all i got for now | 17:56 |
th1a | OK. | 17:56 |
aelkner | have i bored everyone else yet? | 17:56 |
fsufitch | mornin, people | 17:56 |
th1a | I'm going to work on documenting attendance and doing some PR this week. | 17:57 |
th1a | hi fsufitch. | 17:57 |
th1a | Read the backlog. | 17:57 |
fsufitch | sorry, i usually don't wake up too early | 17:57 |
fsufitch | alright | 17:57 |
th1a | OK gentlemen, have a great week! | 17:57 |
* th1a drops the bag of gravel. | 17:57 | |
aelkner | you, too | 17:57 |
fsufitch | alright, read the backlog that pertained to the stuff i have to do | 18:02 |
fsufitch | yvl: is the semi-customizable header and footer in trunk? | 18:02 |
th1a | I believe he said it was. | 18:04 |
yvl | semi-customizable - yes | 18:04 |
yvl | see http://schooltool.pov.lt/irclogs/%23schooltool.2009-08-03.log.html | 18:05 |
fsufitch | the only customizable part i have in the code version i have now is being able to set the title which is automagically changed in the header | 18:05 |
fsufitch | well yes | 18:05 |
yvl | search for schooltool.app.browser.report.ReportPDFView | 18:05 |
fsufitch | i realized the header and footer variables exist | 18:05 |
fsufitch | i saw that | 18:05 |
yvl | I think you need more customization than that :) | 18:05 |
fsufitch | well yes | 18:05 |
fsufitch | unless... hmm | 18:06 |
yvl | I guess what you need is: | 18:06 |
yvl | (see schooltool/skin/templates/rml_macros.pt) | 18:06 |
fsufitch | unless i define a __call__ for my view myself, which first call's the superclass's __call__ and then i do weird stuff to the template myself | 18:06 |
fsufitch | yeah ive seen that too | 18:06 |
yvl | <pageTemplate id="main"> | 18:06 |
yvl | and you want to change contents of it | 18:07 |
fsufitch | yes. | 18:07 |
fsufitch | exactly | 18:07 |
yvl | I'll refactor the pageTemplate to a separate viewlet or something | 18:07 |
yvl | first thing tomorrow | 18:07 |
fsufitch | thank you! :) | 18:07 |
aelkner | yvl: i just did a bzr pull on schooltool trunk, and i didn't get any changes | 18:08 |
yvl | just note, that there are no <paragraph> tags there | 18:08 |
yvl | just <drawString> | 18:08 |
aelkner | did you commit the rml changes you mentioned? | 18:08 |
yvl | aelkner, which changes? | 18:08 |
aelkner | you mentioned report.py in the meeting | 18:09 |
aelkner | i thought that was new code | 18:09 |
yvl | no, it's already there | 18:10 |
aelkner | oh :) | 18:10 |
fsufitch | yvl: yeah i noticed it's drawString only | 18:10 |
fsufitch | i should be able to deal with it fine, though | 18:10 |
fsufitch | now it looks like i have to go due to family issues | 18:11 |
fsufitch | the cat needs to be taken to the vet... | 18:11 |
fsufitch | ttyl, people | 18:11 |
yvl | see you, fsufitch | 18:11 |
yvl | aelkner, pdfcal.py should be more interesting to you | 18:12 |
yvl | and related templates | 18:12 |
yvl | but for headers and footers - see rml_macros | 18:12 |
yvl | .pt | 18:12 |
aelkner | will do, thanks | 18:13 |
yvl | the static part of the page is done in <pageGraphics> | 18:13 |
yvl | then there are the frames, where all the flowables from the story go | 18:13 |
yvl | so if you want to define different headers for your reports | 18:14 |
yvl | you'll want to write a different <pageTemplate>, once it's refactored out | 18:14 |
aelkner | ok | 18:15 |
*** dlobo has quit IRC | 18:35 | |
*** ignas has quit IRC | 18:50 | |
*** dlobo has joined #schooltool | 18:53 | |
*** danielfolsom has joined #schooltool | 19:02 | |
Lumiere | danielfolsom: is sentry not up? | 19:02 |
danielfolsom | nope it's up - however, i have been having a lot of difficulty sshing into ict.gctaa.net - yesterday it wasn't working at all, and ever since it came back up it's just been going crazy slow - so i'm starting to think the problem is on my end | 19:03 |
danielfolsom | would you know of anything that would cause that? like i can go through the website fine - but sshing via the terminal takes forever (so long that my usual sftp client, MacFUSE (Google made) gives up) | 19:03 |
danielfolsom | i just wanted to go out on a limb and see if you had heard of that happening ... | 19:04 |
danielfolsom | when i do ssh -v -v -v dfolsom@ict.gctaa.net ... it gets to "debug2: we sent a publickey packet, wait for reply" and then freezes for a while. eventually it prompts me for the password, but after i put that in it freezes again a short time later ("debug2: we sent a password packet, wait for reply") | 19:06 |
*** dlobo has quit IRC | 19:07 | |
danielfolsom | Lumiere: haha sorry if that's a little foreign | 19:07 |
Lumiere | danielfolsom: we had a power outage | 19:11 |
Lumiere | we'll look into it | 19:11 |
danielfolsom | Lumiere: ok sweet - thank you! | 19:12 |
*** danielfolsom has quit IRC | 19:23 | |
*** dlobo has joined #schooltool | 19:41 | |
*** dlobo has quit IRC | 19:43 | |
*** menesis has quit IRC | 19:51 | |
*** pcardune has joined #schooltool | 19:54 | |
*** pcardune has quit IRC | 19:55 | |
*** pcardune has joined #schooltool | 19:55 | |
*** mgedmin has quit IRC | 21:04 | |
*** alga has quit IRC | 21:45 | |
*** pcardune has quit IRC | 23:19 | |
*** pcardune has joined #schooltool | 23:33 | |
*** dlobo has joined #schooltool | 23:46 | |
*** dlobo has quit IRC | 23:47 | |
*** dlobo has joined #schooltool | 23:48 | |
*** aelkner has quit IRC | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!