*** replaceafill has quit IRC | 01:10 | |
*** bigbrovar has quit IRC | 01:12 | |
*** bigbrovar has joined #schooltool | 01:59 | |
*** bigbrovar has quit IRC | 04:48 | |
*** yvl has joined #schooltool | 08:16 | |
*** yvl has quit IRC | 09:50 | |
*** yvl has joined #schooltool | 12:51 | |
*** menesis has joined #schooltool | 12:51 | |
*** menesis has quit IRC | 13:59 | |
*** menesis has joined #schooltool | 14:03 | |
*** replaceafill has joined #schooltool | 16:04 | |
*** th1a has joined #schooltool | 16:30 | |
th1a | give me a minute, guys... | 16:31 |
---|---|---|
replaceafill | kk | 16:31 |
th1a | OK. hi replaceafill, yvl, menesis. | 16:33 |
yvl | good morning :) | 16:33 |
replaceafill | good morning/afternoon | 16:33 |
th1a | I underestimated the complexity of that wedding by a couple orders of magnitude, but it was a big success and everything is returning to normal now. | 16:33 |
menesis | hi | 16:34 |
th1a | Would you like to start, replaceafill? | 16:35 |
replaceafill | please :) | 16:35 |
replaceafill | ok | 16:35 |
replaceafill | last week i fixed a few cando bugs | 16:35 |
replaceafill | i think we're ready for the flourish bug release | 16:36 |
replaceafill | while working on that + the gradebook report card | 16:36 |
replaceafill | i discovered a permission issue in the celery branches | 16:36 |
replaceafill | it's really weird | 16:36 |
replaceafill | i hope yvl can help on it :) | 16:36 |
replaceafill | http://dev.schooltool.org/trunk | 16:37 |
replaceafill | manager:schooltool | 16:37 |
replaceafill | go to Home | 16:37 |
replaceafill | and you'll see the three issue i've found | 16:37 |
th1a | There is bound to be some weirdness after a complete re-map of admin roles. | 16:37 |
replaceafill | th1a, correct | 16:38 |
replaceafill | i think it may be related to that | 16:38 |
replaceafill | you guys in Home? :) | 16:38 |
replaceafill | see the Messages | 16:38 |
replaceafill | the one at 13:17 | 16:38 |
replaceafill | it's a pdf with the student skills report | 16:39 |
replaceafill | which works for the teacher of the section | 16:39 |
replaceafill | but produces an empty pdf for the manager | 16:39 |
replaceafill | btw, i tried putting the manager in all the groups (clerks, etc) | 16:39 |
replaceafill | and the same happens | 16:39 |
th1a | Ah. | 16:40 |
replaceafill | the second issue is related to permissions (the 13:29 message) | 16:40 |
replaceafill | related also * | 16:40 |
replaceafill | if you go to http://dev.schooltool.org/trunk/schooltool.tasks/6319a6fa-46b9-48e2-b3f4-f97a16be55fd | 16:40 |
replaceafill | the message is kind of misleading | 16:41 |
replaceafill | it's complaining about the batch being None for a table | 16:41 |
replaceafill | (which is true) | 16:41 |
replaceafill | one thing that got my attention is that if you go to the student skills report, as manager, directly in the url, the report works fine | 16:42 |
replaceafill | dev.schooltool.org/trunk/schoolyears/2012-2013/SY/sections/13106-15-6-4/skills/6617-2012-0/gradebook/903408/student_competency_report.pdf | 16:42 |
replaceafill | http://dev.schooltool.org/trunk/schoolyears/2012-2013/SY/sections/13106-15-6-4/skills/6617-2012-0/gradebook/903408/student_competency_report.pdf | 16:43 |
replaceafill | sorry, missed the http in the first one :) | 16:43 |
replaceafill | so, it's something about the tasks, right? | 16:43 |
replaceafill | i tracked it down all the way to the viewlet manager | 16:43 |
yvl | hmz | 16:44 |
yvl | can the manager see the student's report? | 16:44 |
yvl | the skill report | 16:44 |
yvl | in some old system | 16:45 |
replaceafill | yvl, yes | 16:45 |
replaceafill | see the pdf link above, that works even if you're a manager | 16:45 |
replaceafill | and the manager can navigate through until there | 16:45 |
yvl | umm | 16:45 |
replaceafill | this is the part i was referring to: | 16:45 |
replaceafill | http://bazaar.launchpad.net/~schooltool-owners/schooltool/trunk/view/head:/src/schooltool/skin/flourish/viewlet.py#L164 | 16:45 |
yvl | I was asking, if a manager can generate that student's report in older ST | 16:46 |
replaceafill | yvl, yes | 16:46 |
replaceafill | it works that way in the flourish branch | 16:46 |
replaceafill | so i discovered that the canAccess call strips the skills_table viewlet out | 16:47 |
replaceafill | (the one that renders the table in the report) | 16:47 |
yvl | makes sense | 16:47 |
replaceafill | no table, produces an empty <story></story> tag | 16:47 |
yvl | yes | 16:47 |
replaceafill | which results in empty pdf | 16:47 |
yvl | yes | 16:47 |
replaceafill | same happens for batch | 16:48 |
yvl | yes | 16:48 |
replaceafill | in the xls zip export | 16:48 |
replaceafill | if i change the permissions of the tables and batch (in core) to zope.Public | 16:48 |
replaceafill | everything works as expected | 16:48 |
yvl | yes | 16:48 |
replaceafill | i checked the other remotetasks | 16:49 |
replaceafill | (in the gradebook) | 16:49 |
yvl | what exactly the manager has no permissions to access? | 16:49 |
replaceafill | yvl, can you rephrase that? | 16:49 |
replaceafill | don't quite get it :( | 16:49 |
yvl | canAccess fails, table gets stripped | 16:49 |
replaceafill | yes | 16:50 |
yvl | why does canAccess fail? | 16:50 |
yvl | or rather, what makes canAccess not fail for teachers :) | 16:50 |
replaceafill | i didn't get that deep :( | 16:50 |
replaceafill | i just noticed the return False being called | 16:50 |
yvl | kk | 16:50 |
yvl | but that's your lead IMHO | 16:51 |
yvl | in any case, sorry for interrupting | 16:51 |
replaceafill | so i should pdb (which in celery means insert prints) in zope.security.canAccess | 16:51 |
replaceafill | is there a better way to debug celery stuff? | 16:51 |
replaceafill | i've been inserting prints :P | 16:52 |
replaceafill | and checking the logs | 16:52 |
replaceafill | if i insert a pdb, i get a pdb quit error (or something like that) | 16:52 |
yvl | yes | 16:52 |
yvl | for security... | 16:52 |
replaceafill | right | 16:52 |
yvl | we do have a log somewhere | 16:52 |
yvl | trying to remember where | 16:52 |
replaceafill | log/celery_report.log? | 16:52 |
yvl | no, not actual log | 16:54 |
yvl | but we do display security checking trail when dev mode is on | 16:54 |
replaceafill | ah | 16:55 |
replaceafill | ok, i'll activate dev mode on | 16:55 |
replaceafill | i've been checking against Server -> Errors | 16:56 |
replaceafill | looking for unauthorized or something | 16:56 |
replaceafill | but didn't get anything | 16:56 |
replaceafill | ah | 16:56 |
yvl | ah, DebugSecurityPolicy | 16:56 |
yvl | ok, so we don't have a tool off hand | 16:58 |
yvl | one to print full security trail in remote tasks | 16:58 |
replaceafill | ah ok | 16:58 |
yvl | (but there is code to do this :) ) | 16:58 |
replaceafill | :) | 16:58 |
replaceafill | ah, the third issue | 16:58 |
replaceafill | it's related to download paths | 16:59 |
replaceafill | if the section title has a "/" in it | 16:59 |
replaceafill | go to Home -> Messages | 16:59 |
replaceafill | and see the 13:30 one | 16:59 |
replaceafill | the xls export | 16:59 |
replaceafill | you'll see the link failing because of the / | 16:59 |
replaceafill | this happens in the gradebook too | 16:59 |
replaceafill | didn't check what's happening but maybe a filename has to be cleaned | 17:00 |
yvl | yes, there's some sanitization missing | 17:00 |
replaceafill | i'll take a look at that too | 17:00 |
* replaceafill checks his notes | 17:00 | |
replaceafill | ah th1a | 17:00 |
replaceafill | i added the apache translation :) | 17:01 |
replaceafill | http://bazaar.launchpad.net/~schooltool-owners/schooltool-book/es/revision/217 | 17:01 |
replaceafill | created a /es branch for the book | 17:01 |
replaceafill | in the schooltoo-book project | 17:01 |
replaceafill | menesis, i tried to upload it | 17:01 |
replaceafill | and couldn't | 17:01 |
yvl | replaceafill, btw: http://docs.celeryproject.org/en/latest/tutorials/debugging.html | 17:01 |
yvl | did not try yet | 17:01 |
replaceafill | i think it's because the files in the /es directory (in the server) have no 'w' permission for the group | 17:01 |
replaceafill | and then i know i have sudo in the server, but don't know my password :D | 17:02 |
replaceafill | menesis, could you please set me a temporary password? | 17:02 |
menesis | :) | 17:02 |
replaceafill | i mean, a known password :D | 17:02 |
menesis | of course | 17:03 |
replaceafill | yvl, ah thanks, i'll try that | 17:03 |
replaceafill | ok, that's it from me | 17:03 |
yvl | if you need to debug, you can also do prints in securitypolicy/policy.py checkByAdaptation | 17:04 |
replaceafill | :| | 17:05 |
replaceafill | "you can telnet into to remotely debug" | 17:05 |
replaceafill | that sounds nice :D | 17:05 |
yvl | ;))) | 17:06 |
th1a | replaceafill: So what's in your current queue now? | 17:07 |
replaceafill | fix this (permissions, path) and continue with the report card (attendance part) | 17:08 |
th1a | OK. | 17:08 |
th1a | Thanks replaceafill. | 17:08 |
th1a | yvl? | 17:10 |
replaceafill | menesis, thanks! http://book.schooltool.org/es/apache.html | 17:10 |
yvl | I'm still working on customizable attendance | 17:10 |
yvl | adding custom attendance scoresystem to global scoresystems is done | 17:10 |
yvl | still need to block those from appearing in deployable report sheets | 17:11 |
yvl | and need to add dropdown to select default ss for attendance | 17:11 |
yvl | I guess I can add a dropdown for journal grading too if you want | 17:12 |
th1a | I guess it is the same problem. | 17:12 |
yvl | right | 17:12 |
th1a | Sounds like a good idea. | 17:12 |
yvl | btw | 17:13 |
yvl | creating new attendance ss, you have (for each score): | 17:13 |
yvl | - value | 17:13 |
yvl | - description | 17:13 |
yvl | - dropdown of absent/tardy/present | 17:14 |
yvl | - checkbox "explained" | 17:14 |
yvl | so you can do | 17:14 |
yvl | a | 17:14 |
yvl | Absent | 17:14 |
yvl | [meaning] absent | 17:14 |
yvl | [ ] explained | 17:14 |
yvl | I guess absent and tardy and present are mutually exclusive | 17:15 |
th1a | Yes. | 17:15 |
th1a | I'm not sure what you mean by that dropdown. | 17:16 |
yvl | well, you have to select what that score means in reports | 17:16 |
yvl | say, you add: | 17:16 |
yvl | ae | 17:16 |
yvl | Absent (explained) | 17:16 |
yvl | [meaning] absent | 17:16 |
yvl | [v] explained | 17:16 |
yvl | so in reports, "ae" will be treaded as absent | 17:17 |
yvl | also, as explained | 17:17 |
yvl | (looking for example) | 17:17 |
yvl | there | 17:18 |
th1a | OK, so you might have a bunch of codes explaining different types of absences, but the premise is that all attendance scores ultimately devolve to ways of being absent or tardy. | 17:18 |
yvl | Mark has different letters for absence: "A,S,L,E,M,F,B,H for the reason" | 17:18 |
yvl | yes | 17:18 |
th1a | Yes, I think that works, I just hadn't thought of it in that way. | 17:18 |
yvl | and you can still export them as XLS and do whatever | 17:18 |
th1a | OK, good. | 17:18 |
yvl | also you can add score X | 17:19 |
yvl | and mark first and last days present | 17:19 |
yvl | so it should work I think | 17:19 |
th1a | The default reports should include the codes where it is applicable. | 17:19 |
yvl | true | 17:19 |
th1a | We should assume people are going to use that or at worst can deal with a redundant column in the report. | 17:19 |
yvl | right | 17:20 |
th1a | It is not an edge case. | 17:20 |
yvl | right | 17:20 |
yvl | well, that's it from me today | 17:21 |
th1a | OK, sounds good, yvl. | 17:22 |
th1a | menesis? | 17:22 |
menesis | I was busy with a another quick project. Also had two days off | 17:23 |
menesis | So I haven't made any releases | 17:23 |
menesis | I have to make bugfix releases with replaceafill's fix for virginia today? | 17:23 |
th1a | Is that a question about urgency? | 17:24 |
menesis | yes | 17:24 |
th1a | I don't think it is urgent. | 17:24 |
th1a | Tomorrow would be fine. | 17:24 |
menesis | there are three releases to make, but they have one or two bugfixes each | 17:25 |
menesis | including gradebook comment editor fix | 17:25 |
menesis | ... | 17:27 |
menesis | has anyone tested the trunk ppa? | 17:27 |
th1a | I can do that. | 17:27 |
menesis | and the cando people? | 17:28 |
th1a | I was trying to remember if you'd released their celery version. | 17:29 |
th1a | dwelsh will be back at work to some degree soon. | 17:29 |
menesis | good to hear | 17:30 |
menesis | yes, trunk ppa contains celery version of everything | 17:30 |
menesis | including a move of some big report from virginia to cando | 17:31 |
th1a | OK, I'll let them know about that. | 17:32 |
menesis | I did not have time to make a proper release, but it will be very similar | 17:33 |
menesis | one more thing, I have updated https://launchpad.net/schooltool.release/trunk | 17:33 |
menesis | the Makefile | 17:34 |
menesis | to control supervisor | 17:34 |
menesis | and added instructions to that page | 17:34 |
menesis | this is the simplest way to test the full suite | 17:35 |
menesis | no need to edit buildout.cfg and add ../schooltool | 17:35 |
menesis | and that's it | 17:35 |
* menesis done | 17:35 | |
th1a | OK, thanks menesis. | 17:35 |
th1a | Thanks guys. Everything seems to be moving along, we just need to try to avoid having the end of these projects start do drag out... | 17:37 |
th1a | The end can be the tricky part. | 17:37 |
th1a | Should we meet Thursday? | 17:37 |
th1a | I could also do friday but it is kind of pointless. | 17:37 |
replaceafill | +1 on thursday | 17:38 |
yvl | let's do Thu | 17:38 |
th1a | OK, Thursday it is, regular time. | 17:38 |
th1a | Thanks guys! | 17:38 |
* th1a drops the bag of gravel. | 17:38 | |
replaceafill | thanks everybody, see you thursday | 17:38 |
yvl | see you soon :) | 17:38 |
*** yvl_ has joined #schooltool | 17:43 | |
*** yvl has quit IRC | 17:49 | |
*** th1a has quit IRC | 18:10 | |
*** menesis has quit IRC | 18:30 | |
*** replaceafill has quit IRC | 18:36 | |
*** menesis has joined #schooltool | 18:51 | |
*** th1a has joined #schooltool | 18:52 | |
*** ignas has joined #schooltool | 19:29 | |
*** menesis has quit IRC | 20:02 | |
*** th1a has quit IRC | 20:19 | |
*** th1a has joined #schooltool | 20:25 | |
*** th1a has quit IRC | 20:45 | |
*** th1a has joined #schooltool | 21:05 | |
*** th1a has quit IRC | 21:14 | |
*** th1a has joined #schooltool | 21:16 | |
*** th1a has quit IRC | 21:31 | |
*** ignas has quit IRC | 22:23 | |
*** ignas has joined #schooltool | 22:52 | |
*** replaceafill has joined #schooltool | 22:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!