*** Aiste has quit IRC | 01:35 | |
*** Lumiere_ is now known as Lumiere | 01:53 | |
*** Lumiere has joined #schooltool | 01:54 | |
*** alga has quit IRC | 01:58 | |
*** ignas has quit IRC | 04:47 | |
*** alga has joined #schooltool | 09:24 | |
*** alga has quit IRC | 09:40 | |
*** yvl has joined #schooltool | 09:54 | |
aelkner | yvl: ayt? | 10:09 |
---|---|---|
yvl | yes | 10:09 |
yvl | good evening, aelkner | 10:10 |
aelkner | hey | 10:10 |
aelkner | i was wondering | 10:10 |
aelkner | i'm about to push a branch of changes to schooltool.gradebook | 10:11 |
aelkner | would you be able to give them a quick review in the next half hour? | 10:11 |
yvl | sure | 10:12 |
aelkner | lp:~aelkner/schooltool.gradebook/csv_view | 10:12 |
aelkner | it has three changes in it, two of which are linked to bug reports | 10:12 |
aelkner | i was hoping that we could get them into the next release | 10:13 |
aelkner | i didn't change anything without having tests | 10:13 |
aelkner | btw, do you see the CHANGES.txt changes | 10:13 |
aelkner | i was sure to be good about doing that :) | 10:14 |
yvl | just gimme a sec | 10:18 |
yvl | I'm still missing some software after reinstall | 10:19 |
yvl | like bzr visualize | 10:19 |
aelkner | oh | 10:19 |
aelkner | do you need to 'visualize' my changes? :) | 10:19 |
aelkner | i thought you could just imagine them | 10:20 |
yvl | :))) | 10:26 |
*** Aiste has joined #schooltool | 10:27 | |
yvl | by the way, I still don't get the reason behind maxPassingScore change | 10:27 |
yvl | i.e. I don't get how some schools work :) | 10:27 |
aelkner | you'll need to ask tom about that tomorrow morning | 10:28 |
aelkner | or later today for you | 10:28 |
aelkner | but a school in africa needs it | 10:28 |
aelkner | yvl, i just pushed a small addition to the last visited section tests that makes it better, more thorough | 10:31 |
yvl | ok, I'll bzr up | 10:31 |
aelkner | btw, to explain about the failure report | 10:32 |
aelkner | swe want to retain the user's option to change what the cutoff grade for failure is | 10:32 |
aelkner | they can change from the score system's understanding of that value in the report request form | 10:33 |
aelkner | so the failure report needs the additional logic of checking failures | 10:33 |
aelkner | rather than add a parameter to the isPassingScore method, like (..., cutoff = None) | 10:34 |
yvl | I was going to ask about thaqt :) | 10:34 |
aelkner | :) | 10:34 |
aelkner | for practical purposes, i decided not to complicate the interface | 10:35 |
aelkner | and implementation of the score system just for a rarely used feature on one report | 10:35 |
aelkner | does that make sense? | 10:36 |
yvl | totally | 10:36 |
yvl | they wanted a feature "I want to be able to override settings of ss in certain reports" | 10:37 |
yvl | if we have more reports like that, then sure, it makes sense to build it into scoresystem | 10:37 |
yvl | or maybe create some other scoresystem, that inherits the score values, but let's us override certain settings | 10:38 |
yvl | but that would be overkill now :) | 10:38 |
aelkner | the old 'two instances is a case for generalization' rule, eh? :) | 10:38 |
yvl | yep ;) | 10:40 |
yvl | well, thanks for the work | 10:41 |
yvl | and the tests, and changelog! | 10:41 |
yvl | I'll merge them today | 10:41 |
aelkner | i'm trying to make it easier for you guys | 10:41 |
aelkner | thanks for getting the changes in! | 10:42 |
yvl | thanks! | 10:42 |
*** Aiste has quit IRC | 11:08 | |
*** Aiste has joined #schooltool | 11:14 | |
*** ignas has joined #schooltool | 12:25 | |
*** Aiste has quit IRC | 13:03 | |
*** Aiste has joined #schooltool | 13:16 | |
*** Aiste has quit IRC | 13:35 | |
*** Aiste has joined #schooltool | 13:51 | |
*** Aiste has quit IRC | 15:07 | |
*** jelkner has joined #schooltool | 15:19 | |
*** replaceafill has joined #schooltool | 16:14 | |
*** th1a has joined #schooltool | 16:15 | |
th1a | Hi yvl, replaceafill, aelkner. | 16:30 |
yvl | hey th1a | 16:30 |
yvl | (menesis will be joining us shortly) | 16:31 |
aelkner | morning/afternoon all | 16:31 |
th1a | thanks yvl. | 16:31 |
replaceafill | good morning | 16:31 |
th1a | So, one more week until our feature freeze, right? | 16:32 |
yvl | preferably, yes :) | 16:33 |
yvl | Maverick final release is scheduled for Oct 10 | 16:33 |
th1a | I filed a bunch of bugs last week, mostly small things that could be fixed pretty quickly. | 16:33 |
th1a | Let's see what aelkner and replaceafill have on their lists -- perhaps we might have everyone fixing small pre-release bugs this week. | 16:34 |
th1a | Get some polish in. | 16:34 |
yvl | sure! | 16:34 |
th1a | So we'll start with aelkner. | 16:34 |
* th1a will not distract matters by mentioning Donovan McNabb. | 16:35 | |
aelkner | bgo, you mentioned him | 16:35 |
aelkner | boo | 16:35 |
aelkner | so i found yvl on irc last night | 16:36 |
aelkner | and he was nice enough to review my gradeook branch and merge it today | 16:36 |
aelkner | it includes the folowing: | 16:36 |
aelkner | the CSV view we did for SLA | 16:36 |
aelkner | the last visited section bug fix and better tests | 16:36 |
aelkner | the min/max score system changes, including score system views | 16:37 |
aelkner | failure report request changes and failure report calculation changes | 16:38 |
aelkner | all with tests | 16:38 |
aelkner | so my plate is free for small bug fixes this week | 16:39 |
th1a | OK. | 16:39 |
th1a | replaceafill? | 16:39 |
replaceafill | i finished the gradebook work for cambodia | 16:40 |
replaceafill | i just got a reply from keng piseth | 16:40 |
*** menesis has joined #schooltool | 16:40 | |
replaceafill | i made an error trying some things | 16:40 |
replaceafill | will fix it and send him a reply | 16:40 |
replaceafill | th1a, can you remind me of this one: https://bugs.launchpad.net/schooltool/+bug/635212 | 16:41 |
replaceafill | also, yvl about this one: https://bugs.launchpad.net/schooltool/+bug/622615 | 16:41 |
th1a | Oh, maybe I was talking to someone else about that... | 16:41 |
replaceafill | i noticed some unit tests output translates the error messages | 16:42 |
yvl | Id like to see 635212 back in... Buildings/locations as resources seems like a desirable feature :) | 16:42 |
th1a | aelkner, were we talking about specifying the building as an attirbute of a room? | 16:42 |
replaceafill | th1a, probably, i honestly don't remember about that one | 16:43 |
th1a | Now that I think about it, I remember talking about that on the phone, so it probably wasn't you. ;-) | 16:43 |
aelkner | sounds familiar to me | 16:43 |
th1a | OK. | 16:43 |
th1a | Reassigned. | 16:44 |
replaceafill | thanks | 16:44 |
yvl | :) | 16:44 |
yvl | so, what about the i18n registration? | 16:44 |
replaceafill | yvl, the zcml works for the functional testing layers, correct? | 16:44 |
yvl | yes | 16:45 |
replaceafill | for the unit test i need to set setUp,tearDown functions? | 16:45 |
yvl | some doctests run on the functional layers though | 16:45 |
yvl | (and they're in unit test folders IIRC for that extra confusion ;) ) | 16:46 |
replaceafill | !!! | 16:46 |
replaceafill | schooltool.app for example | 16:46 |
replaceafill | unittests show the compiled translation problem | 16:46 |
yvl | FWIW, I consider this wider problem than few-line-fix | 16:47 |
yvl | from functional test perspective - we don't have a way to register i18n correctly | 16:48 |
yvl | (if we want to include common.zcml) | 16:48 |
yvl | from unit test perspective - there are no helpers for that | 16:48 |
th1a | replaceafill, did I just assign that to you? | 16:48 |
replaceafill | th1a, yes | 16:48 |
yvl | give it back to me :) | 16:48 |
th1a | Maybe we should give it to yvl. | 16:48 |
replaceafill | ah ok | 16:48 |
yvl | I'd like to fix that in Natty | 16:49 |
th1a | It sounded like a small one to me. | 16:49 |
yvl | I made it sound that way :/ | 16:49 |
replaceafill | th1a, we can discuss cando's long term memory leak later, correct? | 16:50 |
yvl | and anyway - this is not visible to the end-users, so - I vote for procrastination | 16:50 |
th1a | Yes. | 16:50 |
th1a | replaceafill: Yes. | 16:50 |
replaceafill | ok | 16:50 |
th1a | So replaceafill, Cambodia is your first priority this week. | 16:51 |
th1a | Do you know what caused that error adding a year? | 16:51 |
replaceafill | ah ok, i'll try to have the gradebook story finished | 16:51 |
replaceafill | yes, i made a typo on a date(...) call | 16:51 |
replaceafill | date(*alist[:4]) instead of date(*alist[:3]) | 16:52 |
th1a | I guess we have fewer tests on the Cambodia skin. | 16:52 |
replaceafill | th1a, i worked on that this week too, trying to have more | 16:52 |
replaceafill | i'd like to learn to use coverage reports | 16:53 |
replaceafill | yvl, also, cambodia was updated to use trunk's version.cfg | 16:53 |
replaceafill | since the old version gave me conflicts | 16:53 |
yvl | (make coverage-reports-html) | 16:53 |
yvl | well done | 16:54 |
replaceafill | damn! we have that?!?! | 16:54 |
yvl | ( :D ) | 16:54 |
replaceafill | i'll definitely look at it! | 16:54 |
replaceafill | thanks | 16:54 |
replaceafill | th1a, that's it i guess | 16:54 |
yvl | (umm, coverage has outdated Makefile rules everywhere except ST core, I think) | 16:55 |
th1a | OK, so we won't pile bugs onto replaceafill. | 16:55 |
replaceafill | thanks | 16:56 |
th1a | How does your queue in LP look, aelkner? | 16:56 |
th1a | I think I added some for you. | 16:56 |
aelkner | there is the inconsistent rounding bug at the top of my queue | 16:56 |
th1a | Yes. | 16:56 |
aelkner | blueing buttons in the intervention system | 16:57 |
yvl | ( replaceafill, coverage for checkouts might be a bit broken right now. as in - not working :) ) | 16:57 |
replaceafill | !!! | 16:57 |
aelkner | different css with report sheets | 16:58 |
aelkner | also, any schooltool bugs you'd like to throw my way | 16:58 |
th1a | Is 541498 still a bug? | 17:00 |
aelkner | yes, jelkner added a lot of wish list type bugs | 17:01 |
th1a | yvl: Did I give you the bug about adding students from previous linked sections? | 17:01 |
yvl | yes | 17:01 |
yvl | thank you! | 17:01 |
th1a | Perhaps you should give that to aelkner. | 17:02 |
aelkner | yvl, what did you think of my and th1a's comments on the landscape issue? | 17:02 |
th1a | aelkner: Can you send me the URL you're using to view your bugs? | 17:02 |
aelkner | th1a, i private chatted it to you | 17:03 |
yvl | sorry, aelkner, haven't read them :| | 17:03 |
yvl | somehow missed some mails during few last days | 17:04 |
yvl | (or on 2009-09-09, to be precise) | 17:04 |
aelkner | yvl, https://bugs.launchpad.net/schooltool/+bug/622811 | 17:05 |
jelkner | th1a, not just students, but times, and teachers | 17:05 |
* Lumiere looks around ('morning everyone) | 17:06 | |
th1a | Hi Lumiere, jelkner. | 17:06 |
jelkner | when a real section that spans 4 ST "sections" is created | 17:06 |
yvl | morning guys :) | 17:06 |
jelkner | good morning! | 17:06 |
yvl | aelkner, have you tried playing with report margins? | 17:06 |
jelkner | and let's take a moment to celebrate Donavan McNab | 17:07 |
yvl | see schooltool/app/browser/report.py | 17:07 |
yvl | ReportPDFView base class | 17:07 |
* replaceafill wonders what happend to McNab | 17:07 | |
aelkner | replaceafill, boo | 17:07 |
th1a | yvl: We'll explain it after the meeting. | 17:07 |
jelkner | anyway, when a "section" is created | 17:07 |
jelkner | it should copy teacher and timetable data across all 4 quarters by default | 17:07 |
th1a | Yes, we could do that too. | 17:08 |
jelkner | and students should be copied at the end of each quarter | 17:08 |
th1a | Not so much at the end of the quarter as the beginning of the next one. | 17:09 |
th1a | But we're not good at that kind of automatic, particularly if you want it now. | 17:09 |
th1a | But we could do the timetable + teacher right at the beginning now, I think. | 17:10 |
yvl | at the beginning of what? | 17:11 |
jelkner | yes, the beginning of the next | 17:11 |
th1a | When the linked sections are being created. | 17:12 |
jelkner | that's the right way to do it | 17:12 |
yvl | do you mean "when the section is linked" or "when multiple sections are created" ? | 17:12 |
jelkner | later (i'm trying to take this step by step ;-) | 17:12 |
jelkner | i'll ask for graying out of withdrawn students in a given quarter | 17:13 |
jelkner | (but not now!) | 17:13 |
th1a | yvl: Well, what I need to do is look at exactly what the interface looks like when we create linked sections. | 17:13 |
th1a | But I mean when multiple linked sections are created through the web. | 17:14 |
yvl | jelkner is really good at pointing out obvious flaws in ST, thanks! | 17:14 |
yvl | yeah. That's a tough one. | 17:15 |
th1a | Why is it tough? | 17:15 |
yvl | - sections are separate from the code's point of view (and the UI!) | 17:16 |
yvl | - sections are created in a batch with *only* description and course info available at the time | 17:16 |
th1a | OK. | 17:16 |
yvl | - section timetables are bound to the sections | 17:16 |
th1a | Right. | 17:16 |
yvl | we *really* need to straighten that out. | 17:17 |
yvl | somehow. | 17:17 |
th1a | Well... | 17:17 |
yvl | from the teacher's perspective - it's the same section | 17:17 |
th1a | Yes. | 17:17 |
yvl | and the teacher is right :) | 17:17 |
th1a | Yes, in general, we need to hide that implementation detail. | 17:17 |
th1a | But also, from the teacher's point of view, they're just using the gradebook, the journal, their calendar and interventions, | 17:18 |
th1a | and it is already relatively well hidden there. | 17:18 |
yvl | yes | 17:18 |
th1a | The administrator is the one who sees the ugly. | 17:18 |
yvl | as usual, all the crap is put under the administrator's carpet :) | 17:18 |
th1a | So basically, we need to add a checkbox to the schedule view that says "apply this timetable to all linked sections." | 17:19 |
th1a | With a more comprehensible phrasing. | 17:19 |
yvl | the thing is | 17:19 |
yvl | it shouldn't matter to which sections | 17:19 |
yvl | timetables live in a time span of a school year | 17:19 |
yvl | sections live in a time span of a term | 17:20 |
yvl | ok | 17:20 |
yvl | we should discuss that a bit later | 17:20 |
yvl | maybe? | 17:20 |
th1a | Well, we don't have much else to talk about -- can we fix this this week? | 17:21 |
yvl | what I wanted to say - is that user's shouldn't care that timetables are bound to *that specific* section | 17:21 |
th1a | I don't understand. | 17:21 |
* menesis :X | 17:22 | |
yvl | from the user's perspective - it's a same section | 17:22 |
th1a | Yes. | 17:22 |
* yvl waves hands rigorously | 17:22 | |
th1a | But the whole point is that someone might WANT to have different schedules in different terms. | 17:23 |
yvl | so you apply the timetable to a period of time in a section | 17:23 |
yvl | well, timetable start/end times should be sane | 17:23 |
yvl | like, the term | 17:23 |
yvl | of the section you are looking at now | 17:23 |
yvl | I'd like to postpone the timetables/section thing until later on... | 17:24 |
yvl | along with other sections work | 17:24 |
th1a | I see what you mean. ;-) | 17:24 |
yvl | and do at least the student import part of it | 17:25 |
th1a | I don't want to re-do the implementation of multi-term sections. | 17:25 |
th1a | We just need to smooth it out in the interface. | 17:25 |
th1a | We need lots more convenience for the user -- like jelkner is asking for. | 17:25 |
yvl | no, we won't change the multi-term sections | 17:25 |
th1a | Also, I suppose this is affected by the changes to timetabling in general. | 17:26 |
yvl | yes, that :) | 17:26 |
aelkner | brb | 17:26 |
th1a | But it does seem to me that a checkbox that lets you schedule all linked sections at the same time might not take long. | 17:26 |
yvl | good point | 17:27 |
yvl | I will add that | 17:27 |
th1a | So you want that bug? | 17:27 |
yvl | yep :) | 17:27 |
th1a | Do you want to make it or shall I? | 17:28 |
yvl | umm | 17:29 |
yvl | I can make it | 17:29 |
yvl | if you want | 17:29 |
aelkner | i'm back | 17:29 |
th1a | I can do it. | 17:29 |
yvl | (now the bug is more of a placeholder really) | 17:29 |
yvl | thanks :) | 17:29 |
th1a | menesis: Anything to report this week? | 17:30 |
th1a | ... | 17:32 |
* yvl poked menesis | 17:32 | |
th1a | So, replaceafill -- turn around that Cambodia ASAP so they can try again. | 17:32 |
menesis | not much | 17:32 |
replaceafill | th1a, will do | 17:32 |
menesis | I have made the schooltool 1.5.1 release | 17:32 |
menesis | not yet packaged | 17:32 |
menesis | have not released gradebook or other plugins yet | 17:33 |
th1a | replaceafill: You might also want to make a simple selenium test to catch simple things. | 17:33 |
th1a | menesis: You should have a bit of a break now until we make a beta next week. | 17:33 |
th1a | (I would imagine...) | 17:34 |
menesis | more work than expected, have to make gradebook compatible with schooltool 1.4, or make two releases | 17:34 |
th1a | Make it backward compatible? | 17:34 |
menesis | so the plugins release is scheduled for today/tomorrow | 17:34 |
menesis | yes, if there are only bugfixes I would prefer to have one release for both maverick and lucid | 17:35 |
th1a | YEs. | 17:35 |
th1a | OK. | 17:36 |
menesis | also last week, I have uploaded a few last packages to maverick | 17:37 |
th1a | aelkner: I'm going to go through your bugs and re-prioritize a bit. | 17:37 |
th1a | aelkner: Make sure you do the Maverick beta bugs first, even if they're medium priority. | 17:37 |
aelkner | ok | 17:37 |
th1a | Start with the rounding one though. | 17:38 |
aelkner | agreed | 17:38 |
th1a | ok, thanks menesis. | 17:38 |
th1a | All right, I think we're done here. | 17:38 |
menesis | cool | 17:38 |
th1a | Let's squash some bugs this week. | 17:39 |
* th1a drops the bag of gravel. | 17:39 | |
aelkner | great week everyone! | 17:39 |
th1a | Have a great week, gentlemen! | 17:39 |
replaceafill | thanks everybody | 17:39 |
yvl | happy coding :) | 17:39 |
yvl | so... | 17:39 |
yvl | about that PDF rotation | 17:39 |
aelkner | yes? | 17:39 |
yvl | I assumed that if you set the margins to 0, they are 0? | 17:40 |
yvl | and that would give you the desired results? | 17:40 |
yvl | or am I missing something. | 17:40 |
aelkner | where do you mean to set the margins? | 17:40 |
aelkner | i don't see the class attribute in ReportPdfView | 17:41 |
yvl | in the view | 17:41 |
aelkner | oh, sorry | 17:41 |
aelkner | i see it now | 17:41 |
th1a | What are these "margins" you speak of? | 17:41 |
aelkner | you're saying i should override those to be zero in my view? | 17:41 |
* yvl was just rummaging for the "see schooltool/app/browser/report.py" | 17:41 | |
yvl | yes, sure | 17:42 |
aelkner | trying now... | 17:42 |
aelkner | i set the margines to zero, and the report comes out with no margin | 17:44 |
* yvl confesses that this was a crappy way to implement configuration | 17:44 | |
aelkner | that isn't exactly what a user would want though | 17:44 |
aelkner | how do you mean? | 17:44 |
yvl | don't mind that, I'm just rambling | 17:44 |
aelkner | anyway, changing the margins to zero only makes the pdf worse | 17:45 |
yvl | then I don't get what you meant by "getting rid of the top margin" | 17:45 |
aelkner | i'm gong to undo my changes to the margins and mail you a pdf | 17:46 |
yvl | ok, thanks | 17:46 |
aelkner | email sent | 17:49 |
* replaceafill is checking the coverage reports... | 17:49 | |
aelkner | th1a, i tried calling your home phone | 17:50 |
replaceafill | yvl, what are the advantages of ftests written as unit tests? speed? | 17:50 |
aelkner | replaceafill, the setup for those types of tests are a real pain, would you agree? | 17:51 |
yvl | ok, I see the problem | 17:52 |
yvl | replaceafill, a moment :) | 17:52 |
replaceafill | sure | 17:52 |
replaceafill | aelkner, they must have a meaning | 17:52 |
yvl | yes, they do have a meaning ;) | 17:53 |
replaceafill | i mean, why did they use them like that | 17:53 |
yvl | aelkner, how do you want your report to look like? | 17:53 |
yvl | I mean - how should the table behave? | 17:53 |
yvl | be split to the next page? | 17:53 |
yvl | or... ? | 17:53 |
aelkner | yvl, just like it does, but without missing Friday and the total column at the ed | 17:54 |
aelkner | end | 17:54 |
yvl | hmm | 17:54 |
yvl | to put bluntly, you need a bigger sheet of paper, or a smaller table | 17:54 |
aelkner | LEGAL is supposed to be 8/12 x 14 inch | 17:55 |
yvl | a bigger sheet of paper isn't the best idea IMHO | 17:55 |
yvl | (think about printing such things) | 17:55 |
aelkner | this report needs to be wide | 17:55 |
aelkner | it contains 9 period columns per day, five days a week | 17:56 |
yvl | well, I was thinking about calculating the estimated width a day takes in the table | 17:56 |
yvl | and then splitting it to several pages | 17:56 |
aelkner | i don't think that would make the customer too happy | 17:57 |
aelkner | they want to be able to see the whole week at a glance | 17:57 |
yvl | ok | 17:57 |
yvl | then you need to resize the table somehow | 17:57 |
yvl | to fit to a single page | 17:57 |
aelkner | i don't think they would mind using legal size paper though | 17:57 |
aelkner | wouldn't it fit as is with legal paper size? | 17:58 |
aelkner | tell you what | 17:59 |
aelkner | i could play around with a different font size and column widths | 17:59 |
yvl | ok, it seems to be rendered as A4, and this is bad | 17:59 |
aelkner | to see if i can't get it to fit in standard A4 | 17:59 |
aelkner | yes | 17:59 |
aelkner | can that be fixed? | 17:59 |
replaceafill | aelkner, you just fixed the gradebook to remember the last section viewed, correct? | 18:00 |
yvl | looking at it... | 18:01 |
aelkner | replaceafill, yes, it was never properly tested | 18:02 |
replaceafill | aelkner, i guess jelkner is refering to the same bug here: https://bugs.launchpad.net/schooltool/+bug/637051 | 18:02 |
replaceafill | aelkner, the new egg will fix it, right? | 18:02 |
yvl | fixing... | 18:03 |
aelkner | replaceafill, yes, i'll mark that one as fix committed | 18:03 |
replaceafill | yvl, thanks for changing ...source to ...vocabulary ;) | 18:08 |
replaceafill | i was having mental conflicts :P | 18:08 |
* yvl too | 18:09 | |
yvl | and it somewhat conflicted with newer z3c.form, so there you go :) | 18:09 |
* th1a returns. | 18:15 | |
th1a | The sizing of the report we can work out (we probably shouldn't count on people having access to legal size paper though...) | 18:16 |
th1a | The immediate problem is getting landscape to work. | 18:16 |
yvl | it's working as it is supposed to | 18:16 |
yvl | just the legal size is not set | 18:17 |
yvl | aelkner, if you want to try it out immediatly: | 18:17 |
yvl | in src/schooltool/skin/templates/rml_macros.pt | 18:17 |
th1a | Oh. | 18:17 |
yvl | -<document> | 18:17 |
yvl | +<document tal:attributes="pagesize view/pageSize"> | 18:17 |
yvl | you'll need the trunk, not eggs, though | 18:17 |
th1a | Well, it needs to be A4. | 18:17 |
yvl | then we either need smaller fonts | 18:18 |
yvl | or split the table | 18:18 |
th1a | Yes. | 18:18 |
yvl | or find a "drawable" that resizes it's contents | 18:18 |
th1a | Smaller fonts is probably fine for now. | 18:18 |
yvl | (I guess reportlab has one) | 18:18 |
yvl | there should be a thing that would allow drawing table on itself | 18:19 |
yvl | something like canvas or picture or something | 18:19 |
yvl | and then just set it's size | 18:19 |
yvl | reportlab is full of hacks like this | 18:19 |
yvl | (some of them not working) | 18:19 |
aelkner | th1a, so it's A4, landscape, i just need smaller fonts | 18:19 |
yvl | I'd need to experiment... | 18:19 |
aelkner | remember when i said it worked before by manually changing the print settings in the PDF viewer? | 18:20 |
th1a | For the moment I just want this particular report to work for this particular customer. | 18:20 |
aelkner | well, 'Fit to prinable are' means that the viewer changes the size of everything | 18:20 |
aelkner | using printer math, very complex | 18:21 |
aelkner | better would be for me to use a smaller font size | 18:21 |
aelkner | and get used to how it looks in the viewer | 18:21 |
aelkner | then i can email everyone a copy of the PDF | 18:22 |
aelkner | yvl, you don't need to do anything new | 18:22 |
th1a | So, problem solved? | 18:22 |
aelkner | the rotation fix that you got into the egg helps a lot | 18:22 |
aelkner | so, i'd say sure | 18:22 |
aelkner | th1a, can i call you? | 18:23 |
th1a | Sure. | 18:23 |
th1a | You just hung up before I could get to the phone. | 18:23 |
yvl | ok, thanks aelkner :) | 18:24 |
yvl | replaceafill... I'll chat about why we ran unit tests in a functional layer some other day, ok? | 18:24 |
replaceafill | sure, np | 18:25 |
yvl | thanks! | 18:25 |
yvl | ok guys, see you around | 18:25 |
yvl | and happy fixing! ;) | 18:25 |
*** yvl has quit IRC | 18:29 | |
replaceafill | wow, big jump in the z3c.form versions! | 18:54 |
*** alga has joined #schooltool | 19:02 | |
*** ignas has quit IRC | 19:12 | |
*** alga has quit IRC | 19:21 | |
*** alga has joined #schooltool | 19:34 | |
*** alga has quit IRC | 19:51 | |
*** jelkner has quit IRC | 20:21 | |
*** menesis has quit IRC | 20:22 | |
*** menesis has joined #schooltool | 21:25 | |
replaceafill | th1a, u around? | 23:04 |
replaceafill | th1a, ah, never mind, i figured out! | 23:06 |
th1a | replaceafill, how's the Cambodia bug? | 23:06 |
replaceafill | th1a, fixed | 23:06 |
replaceafill | i was thinking about teachers and students | 23:07 |
replaceafill | i know it's a question for them but | 23:07 |
replaceafill | i mean, students can be easily assigned to a "class" through the form | 23:07 |
replaceafill | this put the student in all the appropriate sections | 23:07 |
replaceafill | but there's nothing like that for teachers | 23:08 |
replaceafill | although i guess teachers assigment has to be more flexible, right? | 23:08 |
th1a | Well, it would be nice if the instructor add/edit form let you select all linked sections. | 23:09 |
th1a | Add, at least. | 23:09 |
th1a | The problem is that form might be standard and changing it at all a pain. | 23:10 |
replaceafill | well, it's a pain assign the same teacher to 7 different sections too | 23:11 |
replaceafill | going to each section and using the instructors view | 23:11 |
replaceafill | but i'll wait for them to make that call | 23:12 |
th1a | No, the call is clear. | 23:12 |
th1a | The question is, how hard would it be to just add a checkbox to only the instructor add form? | 23:12 |
replaceafill | i'm using selenium as you suggested and noticed that im going left and right because of teachers mostly | 23:12 |
th1a | Left and right? | 23:13 |
th1a | Is that a Spanish idiom? | 23:13 |
replaceafill | well, we had to "manipulate" the student forms | 23:13 |
replaceafill | :) | 23:13 |
replaceafill | i mean, going everywhere | 23:13 |
replaceafill | and i see it's so easy for students now | 23:14 |
replaceafill | but then use cases come to mind: what if tom teaches 1st grade AND two subjects in 3rd grade | 23:15 |
replaceafill | what if tom only teach 5/7 subjects in 1st grade, etc | 23:15 |
th1a | So... could you add a checkbox to instructors.html? | 23:20 |
th1a | Can you subclass the view? | 23:20 |
th1a | Or something? | 23:20 |
replaceafill | you mean a checkbox for each level? | 23:21 |
replaceafill | 1, 2, 3, 4, ..., 12? | 23:21 |
th1a | No... | 23:22 |
th1a | I'm thinking of regular SchoolTool... | 23:22 |
th1a | Perhaps we've been talking about entirely different subjects all along. | 23:22 |
replaceafill | oh | 23:22 |
th1a | Actually, we have. ;-) | 23:22 |
replaceafill | definitely! | 23:23 |
th1a | My fault. | 23:23 |
th1a | That's just what I was thinking about before we started chatting. | 23:23 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!