*** Aiste has quit IRC | 00:06 | |
*** Aiste has joined #schooltool | 00:38 | |
srichter | th1a: One of the things we gotta do at some point is to change the breadcrumbs from ids to titles (when available) | 01:12 |
---|---|---|
th1a | Yes. | 01:12 |
srichter | oh, I hit a big snatch | 01:20 |
srichter | evaluations are annotated on the person, so I have to figure something out in terms of security | 01:20 |
th1a | Oops. | 01:21 |
srichter | (and suddenly srichter questions his decision to store scores on the students....he still thinks its right though) | 01:22 |
srichter | ok, I just security unwrap it; seems the right thing to do | 01:24 |
th1a | So you can't assign different permissions to an annotation? | 01:24 |
srichter | the view is still secured | 01:24 |
srichter | I can | 01:24 |
srichter | but what I need to be able to say is: all teachers can edit evaluations | 01:24 |
srichter | it's a matter of not enough infrastructure being in placw | 01:25 |
th1a | Well, not really. | 01:25 |
th1a | You need to be able to say teachers can edit their own evaluations. | 01:25 |
srichter | (note the plural form of evaluations) | 01:25 |
srichter | that is no quiet either | 01:25 |
srichter | all teachers teaching asection can modify the gradebook | 01:26 |
th1a | Yes. | 01:26 |
srichter | this is how the security works on the view | 01:26 |
srichter | thus I think it is no problem to unwrap the evals | 01:26 |
th1a | OK. | 01:27 |
*** scubes13 has left #schooltool | 01:30 | |
srichter | th1a: what we really want is a group for each section's teachers | 01:50 |
srichter | then say that this group has access to all evaluations that are for an activity of the section | 01:50 |
th1a | srichter: That sounds right. | 02:23 |
*** Aiste has quit IRC | 09:50 | |
*** kitblake has joined #schooltool | 11:40 | |
*** strichter has joined #schooltool | 11:59 | |
*** srichter has quit IRC | 12:15 | |
*** mgedmin has joined #schooltool | 12:36 | |
*** alga has joined #SchoolTool | 13:10 | |
*** ignas has joined #schooltool | 13:23 | |
*** jinty has quit IRC | 13:23 | |
*** vinsci has joined #schooltool | 14:11 | |
*** Aiste has joined #schooltool | 14:26 | |
*** thisfred has joined #schooltool | 14:34 | |
*** strichter is now known as srichter | 14:46 | |
*** strichter has joined #schooltool | 14:50 | |
*** srichter has quit IRC | 14:51 | |
*** strichter is now known as srichter | 14:51 | |
povbot | /svn/commits: * mg committed revision 5658: | 14:53 |
povbot | /svn/commits: Optimize sample attendance data so it is not excessively painful, and enable it. It still doubles the time taken to run functional tests on my machine. | 14:53 |
povbot | /svn/commits: The principal change is Ignas's idea to reuse PRESENT attendance records for all section members. I'm not entirely confident the optimization is always safe; but it will definitely work if we record presence for all members of a particular section in a single transaction, which is what we do now. | 14:53 |
*** jinty has joined #schooltool | 15:21 | |
*** jinty has quit IRC | 15:22 | |
*** jinty has joined #schooltool | 15:41 | |
*** flint has quit IRC | 15:47 | |
*** th1a has quit IRC | 15:53 | |
*** th1a has joined #schooltool | 15:57 | |
*** jinty_ has joined #schooltool | 16:08 | |
povbot | /svn/commits: * srichter committed revision 5659: | 16:12 |
povbot | /svn/commits: Added security declarations for several components. | 16:12 |
povbot | /svn/commits: * srichter committed revision 5660: | 16:15 |
povbot | /svn/commits: Finished initial stab at gradebook UI. The browser code is not very pretty yet, but I am going over it again, anyways. | 16:15 |
*** mgedmin has quit IRC | 16:20 | |
* srichter is surprised that pcardune has not been online screaming at /me because of the requirement API changes ;-) | 16:20 | |
*** jinty_ has quit IRC | 16:47 | |
*** srichter has quit IRC | 16:58 | |
*** srichter has joined #schooltool | 16:58 | |
*** mgedmin has joined #schooltool | 18:20 | |
*** erchache has joined #schooltool | 18:35 | |
erchache | hi | 18:35 |
vinsci | how does schooltool calendar and schoolbell relate to each other? | 18:39 |
mgedmin | schoolbell is a subset of schooltool, feature-wise | 18:43 |
vinsci | do they share the codevase? | 18:43 |
vinsci | codebase | 18:43 |
mgedmin | it has no timetabling, attendance tracking, courses, sections or other school-specific stuff | 18:43 |
mgedmin | they do share the codebase | 18:43 |
mgedmin | (although after the last release we did a massive refactoring which left schoolbell in a bit of a limbo) | 18:43 |
erchache | what happs with recursive events? | 18:44 |
mgedmin | (it should work, in theory, but there are no tools to pick the appropriate subset of packages and build it) | 18:44 |
mgedmin | recursive calendar events are part of calendaring, which is part of schoolbell | 18:44 |
erchache | my boss are anxious to solve this....and are streesing me :-S | 18:44 |
vinsci | can schoolbell be built as an svn bundle? | 18:44 |
mgedmin | vinsci, I don't know | 18:45 |
mgedmin | erchache, I'm sorry to hear that | 18:45 |
vinsci | mgedmin, ok, thanks | 18:45 |
mgedmin | vinsci, zpkg is supposedly capable of bundling several packages together | 18:45 |
mgedmin | and we have zpkg metadata files all over the place | 18:45 |
mgedmin | but I do not know zpkg well, or at all | 18:45 |
erchache | i see zope code and i know what is the bug....but i dont know how to solve it....i dont know zope programming | 18:45 |
vinsci | mgedmin, same here | 18:46 |
mgedmin | erchache, could you pass me a link to the issue? | 18:46 |
erchache | yepa | 18:46 |
erchache | a second...need to get paper handbook | 18:46 |
* mgedmin has some time now, while he waits for unit + ftests now | 18:46 | |
erchache | issue 452 | 18:48 |
erchache | mgedmin | 18:48 |
erchache | and 461 | 18:48 |
erchache | get system date instead a public variable | 18:48 |
* mgedmin wanted a full url so he could just click on it | 18:48 | |
mgedmin | oh well | 18:48 |
erchache | i send issues for these bugs | 18:49 |
mgedmin | erchache, 452 is a iCalendar format restriction | 18:50 |
mgedmin | you can just change the date field in the web form to another day | 18:50 |
mgedmin | and then you can uncheck the checbox | 18:50 |
erchache | uhmm | 18:50 |
erchache | wait im need to see that :-S | 18:50 |
mgedmin | iCalendar requires that if you create a weekly recurring event with a DTSTART field on a Tuesay (for example) then it MUST recur on tuesdays | 18:50 |
erchache | http://issues.schooltool.org/issue452 | 18:51 |
erchache | and | 18:51 |
erchache | http://issues.schooltool.org/issue461 | 18:51 |
erchache | and this other.... | 18:52 |
mgedmin | 461 is a "whoa" | 18:52 |
erchache | uhmm....sorry? | 18:53 |
erchache | mgedmin | 18:53 |
mgedmin | I do not know what causes that bug, sorry | 18:54 |
erchache | uhmm....im too | 18:55 |
erchache | this is the problem.... | 18:55 |
mgedmin | hm.. | 18:55 |
* mgedmin is trying to reproduce | 18:56 | |
* mgedmin has reproduced the error in an interactive python session | 18:59 | |
erchache | and... | 19:00 |
erchache | what is diagnostic doctor? cut for health part? | 19:01 |
erchache | megdmin | 19:01 |
erchache | mgedmin | 19:01 |
* mgedmin has a failing unit test now | 19:03 | |
erchache | well.....how long do you estimated will be solved? | 19:04 |
* mgedmin shrugs | 19:05 | |
* mgedmin sees a bunch of unrelated potential timezone bugs in CalendarEvent.expand | 19:07 | |
erchache | like i supose....a structural bug...fuck | 19:09 |
erchache | im fighting against linguaplone to know how runs.... | 19:09 |
mgedmin | I think the bug is in WeeklyRecurrenceRule._scroll | 19:17 |
erchache | uhm....i dont know anything about schooltool classes :-S | 19:18 |
mgedmin | I have a possible fix | 19:19 |
mgedmin | erchache, if you're very impatient, you might want to try this patch: http://schooltool.pastebin.com/511652 | 19:20 |
erchache | uhmm....i copy paste and try after....im making a dd of a partition of my server....and are down | 19:21 |
povbot | /svn/commits: * mg committed revision 5661: | 19:28 |
povbot | /svn/commits: Bugfix for http://issues.schooltool.org/issue461: weekly recurring events have infinite recurrences before their start date. | 19:28 |
povbot | /svn/commits: I have looked at the equivalent code in other recurrent events (daily, monthly, yearly) and concluded that they do not have this bug. | 19:28 |
mgedmin | http://issues.schooltool.org/issue461 should be fixed in trunk | 19:29 |
erchache | hehehe....i make my first page with lingua plone | 19:34 |
erchache | but kupu doesnt run properly | 19:34 |
erchache | epoz? | 19:34 |
mgedmin | I only just now noticed that epoz is zope written backwards! | 19:34 |
erchache | yepa...i install epoz on my plone server | 19:36 |
erchache | instead kupu | 19:36 |
erchache | arrgghh i hate kupu | 19:38 |
erchache | i want epoz! | 19:39 |
mgedmin | (we're not particularily interested) | 19:40 |
erchache | i need to learn kupu writting :-( | 19:41 |
erchache | well i solve problems....on hard code...but.... | 19:45 |
erchache | kupu is a shit! | 19:45 |
erchache | i have little content integration problems between plone and linguaplone.... | 19:46 |
*** pcardune has joined #schooltool | 20:11 | |
erchache | bye | 20:24 |
*** erchache has quit IRC | 20:24 | |
pcardune | mgedmin or srichter, what is the path to the addform macro? I tried context/@@standard_macros/addform but that doesn't work and I cant seem to find any view registered for it | 20:25 |
*** auxesis_ has joined #schooltool | 20:26 | |
*** jinty has quit IRC | 20:28 | |
pcardune | nevermind, i seem to have figured it out... although i'm not sure it is the best way. | 20:28 |
mgedmin | that's good, 'cause I don't know | 20:32 |
* mgedmin dislikes zope 3 add forms | 20:33 | |
*** auxesis has quit IRC | 20:33 | |
srichter | pcardune: I am now convinced that most of the browser code you put into the requirement package should not be there | 21:02 |
srichter | pcardune: it is very CanDo specific | 21:02 |
srichter | pcardune: and some of the menu registrations show up in my views too, because they are registered for IRequirement and IActivity extends it | 21:03 |
*** tiredbones has quit IRC | 21:44 | |
*** tiredbones has joined #schooltool | 21:44 | |
mgedmin | oh, crap | 22:06 |
mgedmin | buildbot times out waiting for one single functional test (guess which) | 22:06 |
mgedmin | sample data takes more than 1200 seconds on our buildbot slave | 22:06 |
mgedmin | time make test ftest takes less than 12 minutes on my laptop | 22:07 |
mgedmin | that single functional test times out after 20 minutes | 22:08 |
mgedmin | why? | 22:08 |
mgedmin | is it swapping? | 22:08 |
th1a | Once it starts swapping a lot you're cooked. | 22:09 |
*** thisfred has quit IRC | 22:11 | |
mgedmin | it shouldn't be swapping... | 22:13 |
*** ignas has quit IRC | 22:25 | |
mgedmin | ok, 'make ftest' on my laptop takes 10m34s and eats 360 megs of RAM | 22:35 |
mgedmin | muskatas has 512 megs of ram | 22:35 |
pcardune | srichter: yes, i know about the browser view stuff... I haven't taken out the registrations yet, but go ahead and get rid of them as you see fit | 22:55 |
pcardune | srichter: what about views for conflict resolution in naming? that seems like something that should go in the requirement package | 22:55 |
srichter | conflict resolution: those might, yes | 22:56 |
pcardune | I like what you've done with the score systems... but why aren't they persistent? | 22:57 |
srichter | I have to do that next | 22:57 |
srichter | basically we will have a Local.... for both discrete values and ranged values | 22:58 |
srichter | I could not make them inherit Persistent and support a custom __reduce__ at the same time | 22:58 |
pcardune | oh i see | 22:58 |
pcardune | what is a "Local" | 22:59 |
srichter | LocalDiscreteValuesScoreSystem and LocalRangedValuesScoreSystem | 23:00 |
pcardune | oh, ok | 23:01 |
srichter | I will also implement IOrderedContainer for IRequirement | 23:05 |
pcardune | great | 23:05 |
srichter | pcardune: btw, are you ok with my changes to IEvaluations? :-) I thought this might totally break your code | 23:05 |
pcardune | yeah, it's fine | 23:05 |
srichter | ok, great | 23:06 |
srichter | so evaluations are now keyed by activity | 23:06 |
srichter | and see, you did not read up on key reference for nothing :-) | 23:06 |
pcardune | yeah... | 23:06 |
pcardune | or rather, you mean evaluations are keyed by requirement | 23:07 |
srichter | of course | 23:07 |
mgedmin | on muskatas (the buildbot slave machine) swapping starts 30 minutes in 'make ftest', with python eating 310 megs of ram | 23:10 |
mgedmin | hey, it finished | 23:11 |
mgedmin | successfully | 23:11 |
mgedmin | after only 3 minutes of swapping | 23:11 |
*** mgedmin has quit IRC | 23:13 | |
*** Aiste has quit IRC | 23:27 | |
*** alga has quit IRC | 23:38 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!