*** ignas has quit IRC | 00:56 | |
*** dlobo has joined #schooltool | 01:18 | |
*** dlobo has quit IRC | 01:45 | |
*** alga has quit IRC | 02:29 | |
*** replaceafill has joined #schooltool | 03:11 | |
*** dlobo has joined #schooltool | 03:31 | |
*** pcardune has quit IRC | 03:32 | |
*** dlobo has quit IRC | 04:18 | |
*** dlobo has joined #schooltool | 04:43 | |
*** dlobo has quit IRC | 05:30 | |
*** dlobo has joined #schooltool | 05:54 | |
*** replaceafill has quit IRC | 06:46 | |
*** dlobo has quit IRC | 08:31 | |
*** dlobo has joined #schooltool | 09:25 | |
*** dlobo has quit IRC | 09:29 | |
*** alga has joined #schooltool | 10:08 | |
*** ignas has joined #schooltool | 12:05 | |
*** mgedmin has joined #schooltool | 12:31 | |
*** ignas has quit IRC | 12:57 | |
aelkner | yvl: ping | 13:57 |
---|---|---|
yvl | pong aelkner | 13:59 |
yvl | I'll be away from keyboard for ~ 1 hour | 13:59 |
aelkner | quick question | 13:59 |
yvl | go ;) | 13:59 |
aelkner | have you made any changes to the package lately to allow one to add a person to the system? | 14:00 |
aelkner | also, should i be merging with the package every once in a while just to make sure i'm up to date | 14:00 |
yvl | I'll notify when there's something to merge ;) | 14:00 |
aelkner | will the main package always have passing tests? | 14:00 |
aelkner | what ever happend to small commits? | 14:01 |
yvl | I'm a bit overworked to do anything right, it seems | 14:01 |
yvl | ok | 14:01 |
yvl | first, I eliminated the basic person layer, so school setup is failing for you, I guess | 14:01 |
aelkner | haven't you written any tests? | 14:02 |
yvl | no | 14:02 |
yvl | so | 14:02 |
aelkner | yeah, so i'm thinking what i need to do | 14:02 |
yvl | first, you'll need to enable the basic person layer from schooltool | 14:02 |
yvl | go to schooltool.cambodia.app.skin.py | 14:03 |
aelkner | i'm there | 14:03 |
yvl | and replace the IPersonLayer with IBasicPersonLayer from schooltool | 14:03 |
yvl | or even better | 14:03 |
yvl | go to schooltool.cambodia.person.browser.__init__.py | 14:04 |
yvl | and make IPersonLayer inherit from IBasicPersonLayer | 14:04 |
yvl | that will enable the default person add forms | 14:04 |
aelkner | ok, i got the forms | 14:05 |
yvl | it will also conflict with Douglas' changes to persons, but as you will be pulling from my branch, I will resolve it there | 14:05 |
yvl | so no worries for you | 14:05 |
aelkner | i can add persons now, that helps a lot | 14:06 |
aelkner | will you be around in about hour? | 14:06 |
yvl | I guess... :) | 14:06 |
yvl | yes | 14:06 |
yvl | wait, there's more | 14:06 |
aelkner | i thought i was holding you up | 14:06 |
yvl | yes, but... | 14:06 |
yvl | I made some mistakes making the package | 14:07 |
yvl | in schooltool.cambodia.app configure.zcml | 14:07 |
yvl | you need to add <include "schooltool.cambodia.gradebook" /> | 14:07 |
yvl | or your subscribers will not get included | 14:07 |
yvl | then in both schooltool.cambodia.gradebook and schooltool.cambodia.gradebook.browser configure.zcml | 14:08 |
aelkner | <include package="schooltool.cambodia.gradebook" /> | 14:08 |
aelkner | done | 14:08 |
yvl | you need to change i18n from "schooltool" to "schooltool.cambodia" | 14:08 |
yvl | and finally | 14:08 |
yvl | in the browser's configure.zcml | 14:09 |
aelkner | it includes itself, right? | 14:09 |
yvl | there is a recursive <include "schooltool.cambodia.gradebook.browser" /> | 14:09 |
yvl | yes | 14:09 |
aelkner | :) | 14:09 |
yvl | sorry | 14:09 |
yvl | that's what you get when trying to work when you should rest | 14:09 |
aelkner | no prob | 14:09 |
aelkner | i was about to replace it | 14:09 |
yvl | thanks | 14:09 |
yvl | now the tests should work | 14:10 |
aelkner | they do, thanks | 14:10 |
yvl | good to hear | 14:10 |
aelkner | i can let you go now :) | 14:10 |
aelkner | i'll probably be looking for you in a couple of hours | 14:10 |
yvl | ok | 14:10 |
yvl | I may go offline, but not for very long | 14:11 |
yvl | and will be checking IRC from time to time | 14:11 |
yvl | see you soon ;) | 14:11 |
aelkner | cya | 14:11 |
*** alga has quit IRC | 14:42 | |
*** alga has joined #schooltool | 14:47 | |
*** ignas has joined #schooltool | 14:52 | |
*** replaceafill has joined #schooltool | 14:56 | |
th1a | hi replaceafill, aelkner, yvl. | 16:32 |
replaceafill | hello th1a | 16:32 |
th1a | How's it coming, replaceafill? | 16:33 |
replaceafill | i have two questions for yvl | 16:33 |
replaceafill | yvl, i'm trying to reuse TableContainerView for the Students, Teachers and Administrators index | 16:34 |
replaceafill | and i want to customize the PersonFilterWidget adapter | 16:35 |
replaceafill | however the personfilterwidget is registered for IPersonContainer, IBrowserRequest | 16:37 |
replaceafill | which doesn't allow me to "deactivate" it :( | 16:37 |
replaceafill | i'm sure i'm using the wrong approach for this | 16:37 |
th1a | How do you need to customize it? | 16:38 |
replaceafill | remove the group dropdown | 16:38 |
replaceafill | if your in the "Teachers" view, the widget should know that the group you want is "teachers" | 16:38 |
replaceafill | and so on | 16:38 |
replaceafill | s/your/you're | 16:39 |
replaceafill | and the widget is the one that filter the persons in the tablecontainerview for you | 16:39 |
th1a | The difficulty of dealing with these widgets drives me nuts. | 16:40 |
th1a | How'd your meeting go? | 16:41 |
replaceafill | i was thinking of overriding the filtering widget "manually" | 16:41 |
replaceafill | ah not so good :( | 16:41 |
replaceafill | the guy i was interested in talking to wasn't there >:( | 16:42 |
replaceafill | the one who can connect us with the ministry | 16:42 |
replaceafill | and the bus drivers went on strike yesterday, so get there took me a looong while | 16:42 |
replaceafill | btw, i showed schooltool to their IT guy | 16:42 |
replaceafill | and there were sparkles in his eyes ;) | 16:42 |
replaceafill | i talked to him about schooltool "the framework" | 16:43 |
replaceafill | as you know, they need a SIS for their university | 16:43 |
replaceafill | their workflow is very very simple | 16:43 |
replaceafill | and ST could be easily adapted for them i guess | 16:45 |
*** dlobo has joined #schooltool | 16:46 | |
th1a | Yes... there is a whole different market segment in small post-secondary institutions in the developing world. | 16:46 |
replaceafill | i believe that university is appropriate for "experimenting" | 16:47 |
th1a | It is appropriate for more than that, it just isn't the mission of Mark's money. | 16:48 |
replaceafill | yes | 16:48 |
replaceafill | i told them that | 16:48 |
replaceafill | that we needed k-12 schools | 16:48 |
th1a | I mean, if they have *any* money to invest in the process, it could be done. | 16:50 |
th1a | So your pretty much blocked on this widget issue? What about add forms? | 16:52 |
replaceafill | they work | 16:52 |
replaceafill | my other question for yvl is about how to get to the forms? | 16:52 |
replaceafill | i guess the action buttons are gone, right? | 16:53 |
th1a | The add forms? | 16:54 |
th1a | Can you just hardcode a link? | 16:54 |
replaceafill | yes, that's what i did | 16:54 |
th1a | I don't know what else you would do. | 16:55 |
replaceafill | i thought we were going to have a new mechanism to put buttons | 16:55 |
th1a | I don't think there's an immediate plan for that. | 16:56 |
replaceafill | ah ok | 16:57 |
aelkner | hey guys | 16:59 |
replaceafill | hey aelkner | 16:59 |
aelkner | i read the log, and i have to agree that widgets are lame | 16:59 |
replaceafill | :D | 17:00 |
aelkner | they probably are better suited for developers (say, the zope developers themselves) who have | 17:00 |
aelkner | many reasons to customize | 17:00 |
replaceafill | i guess i'm lame because i can't customize them ;) | 17:00 |
aelkner | they do it so often that its second nature | 17:00 |
aelkner | the problem is the learning curve is steep | 17:01 |
aelkner | and the less often you use what you learn | 17:01 |
aelkner | the longer it takes to get back up to speed | 17:01 |
aelkner | just hang in there and work that pdb | 17:01 |
*** ignas has quit IRC | 17:02 | |
*** alga has quit IRC | 17:02 | |
th1a | Uh... I'd say do something else and ask yvl. | 17:03 |
th1a | Or just write the damn HTML by hand. We're trying to knock out a prototype here. | 17:03 |
aelkner | well, that's true in this case | 17:05 |
aelkner | i was just saying in general | 17:05 |
th1a | In general I think too much of the time I'm paying you guys to figure out Zope 3 independently rather than just asking each other. | 17:06 |
replaceafill | i am asking :( | 17:06 |
th1a | I know. | 17:07 |
th1a | Hopefully yvl will pop up... | 17:07 |
*** ignas has joined #schooltool | 17:07 | |
*** alga has joined #schooltool | 17:07 | |
th1a | Anyhow, please plow ahead as much as you can remembering that this is a prototype that we'd like to be able to walk through. | 17:07 |
th1a | If in the prototype it is possible for me to switch groups inappropriately, that's ok for now. | 17:08 |
th1a | aelkner, How are you coming along? | 17:11 |
aelkner | ok, i'll have something to show you in about an hour | 17:12 |
th1a | Are you following along with the emails from Cambodia on grading? | 17:12 |
aelkner | i've read them but i haven't commited them to memory | 17:14 |
* th1a grumbles. | 17:15 | |
th1a | So the situation today is rather different than yesterday. | 17:15 |
th1a | What we *really* need to be doing, apparently, is tracking *monthly* grades and semester exams, and calculating semester grades and monthly averages from those. | 17:16 |
th1a | It is actually pretty complicated. | 17:16 |
th1a | Well, | 17:16 |
th1a | not really. | 17:16 |
th1a | If you know how to add and divide it is not complicated. | 17:16 |
th1a | But more complicated than it appeared yesterday. | 17:17 |
aelkner | certainly if we have to track monthly grades it's more complicated | 17:19 |
th1a | Basically we just need a more complicated hard-coded report sheet. | 17:20 |
aelkner | so it's still one worksheet with one activity per month? | 17:20 |
aelkner | are they basically only giving the student one grade per month per section? | 17:21 |
th1a | Are you looking at the last document from Piseth with the formulas? | 17:21 |
aelkner | i'm looking... | 17:23 |
aelkner | could you devine for me what the difference between (or rather what the heck they are) the three totals | 17:24 |
aelkner | Average of Semester Exam | 17:24 |
aelkner | Monthly average of Semester | 17:24 |
aelkner | Average of the Semester | 17:24 |
th1a | Some of these calculations are across sections, I believe. | 17:25 |
aelkner | i see that the third is an average of the first two | 17:25 |
aelkner | i think | 17:25 |
aelkner | would we want to have linking to activities in other sections? | 17:26 |
aelkner | i'm checking the code to see if we support this | 17:26 |
th1a | Some of this isn't a gradebook thing but a report thing. | 17:26 |
th1a | The teacher doesn't necessarily need all this in their gradebook. | 17:26 |
th1a | The gradebook just has to deal with the section at hand. If teachers need these other calculations, that can be displayed elsewhere. | 17:27 |
aelkner | i see, anyway, checking the code, we do support linking to other sections | 17:29 |
aelkner | for now, how would you like me to build the activities for creating a screenshot | 17:30 |
aelkner | in other words, how many for the section, how labeled? | 17:30 |
th1a | Hm... | 17:31 |
th1a | How about: | 17:31 |
th1a | Oct | Nov | Dec | Jan | S1 Ave. | S1 Exam | S1 Total | | 17:34 |
th1a | | Mar | April | May | June | S2 Ave. | S2 Exam | S2 Total | Year Total | | 17:35 |
th1a | (that's one line) | 17:35 |
th1a | Also, maybe it takes up less space in Khmer. | 17:35 |
th1a | Or more? | 17:35 |
th1a | Basically, don't sweat the spacing in English too much. ;-) | 17:36 |
aelkner | is this for the report or the activities | 17:38 |
th1a | For the report sheet. | 17:38 |
aelkner | what about the gradebook activities that i'm auto-creating? | 17:39 |
th1a | Those are what appear on the report sheet, right? | 17:39 |
th1a | I believe we're talking about the same thing here, aelkner. | 17:43 |
aelkner | so the user is going to be manually calculating the averages and totals? | 17:45 |
th1a | No. | 17:45 |
aelkner | wait, we're not talking about the same thing | 17:45 |
aelkner | i need to know one thing frst | 17:45 |
aelkner | what activities are gong to appear in the gradebook? | 17:46 |
th1a | Well, the months and the exams would be the actual activities, I guess. | 17:46 |
th1a | The ave and total would be calculated. | 17:47 |
aelkner | what does S1 Exam mean? | 17:47 |
aelkner | is that one exam? | 17:47 |
th1a | Semester 1 exam. | 17:47 |
aelkner | like a final exam for the semester? | 17:47 |
th1a | Yes. | 17:47 |
aelkner | Oct | Nov | Dec | Jan | S1 Exam | Mar | April | May | June | S2 Exam? | 17:48 |
th1a | Those would be the activities. | 17:49 |
th1a | But I'd like the column layout to look like what I have. | 17:49 |
aelkner | that's fine, but one thing at a time | 17:49 |
aelkner | what are the score systems for each activity, the same for each based on the number th yvl is going to deliver? | 17:50 |
aelkner | i'm assuming rangedvaluesscore sytem | 17:50 |
aelkner | min=0, max=??? | 17:50 |
th1a | Stop saying yvl is going to deliver a number to you aelkner. | 17:50 |
th1a | Sheesh. | 17:50 |
aelkner | be nice | 17:51 |
th1a | Right now, it is a ranged scores system based on the credit value. | 17:51 |
aelkner | ah yes, the course credits | 17:53 |
aelkner | i'm having trouble getting the section's course in my section added event handler | 17:54 |
aelkner | i'll need to ask yvl about that one | 17:54 |
th1a | replaceafill, any thoughts about that? | 17:56 |
replaceafill | aelkner, what's the trouble? | 17:57 |
aelkner | in my section added event handler, section.courses is empty | 17:57 |
aelkner | i think that might be because the view that is adding the section assigns the course after adding the section | 17:58 |
*** alga has quit IRC | 17:58 | |
replaceafill | aelkner, you mean, the regular "New Section" form? | 17:58 |
aelkner | never mind, i'll have to look at the test addSection code and follow it to the view code | 17:59 |
yvl | replaceafill: if anything is registered for BrowserRequest | 18:01 |
yvl | you can register the same thing for CambodiaLayer or however it's called | 18:02 |
replaceafill | it can be overriden for the specific layer? | 18:02 |
yvl | anything that is registered for BrowserRequest or SchoolToolLayer | 18:02 |
yvl | can be overriden for another layer | 18:03 |
replaceafill | even the table formatters! | 18:03 |
yvl | as far as I remember, you can override the Filter | 18:03 |
yvl | yes, even the table formatters | 18:03 |
yvl | you can even replace them with NullTableFormatter, if you want to do that for some reason | 18:04 |
* replaceafill bangs his head.... | 18:04 | |
replaceafill | thanks yvl! | 18:04 |
yvl | you're welcome :) | 18:05 |
yvl | as for action buttons... assume that action buttons you did not register in some zcml in schooltool.cambodia will be gone | 18:06 |
yvl | if you add/register them, they will stay | 18:06 |
replaceafill | ah ok | 18:06 |
replaceafill | i've been having trouble with the navigationViewlet directive too | 18:07 |
yvl | yes? | 18:08 |
replaceafill | i guess we would need to include schooltool.skin.meta.zcml, right? | 18:08 |
replaceafill | for the directive handler? | 18:08 |
replaceafill | and i see this <include package="schooltool.common" /> in schooltool.cambodia | 18:08 |
replaceafill | which includes that meta | 18:09 |
yvl | yes | 18:09 |
replaceafill | let me see, i guess it should be <zope:navigation... | 18:10 |
replaceafill | right? | 18:10 |
replaceafill | if browser is the default xmlns namespace | 18:10 |
yvl | ? | 18:10 |
replaceafill | <configure xmlns="http://namespaces.zope.org/browser" | 18:10 |
replaceafill | xmlns:zope="http://namespaces.zope.org/zope" | 18:10 |
replaceafill | i18n_domain="schooltool"> | 18:10 |
yvl | nah, schooltool's navigationViewlet directive is actually put into browser namespace | 18:11 |
replaceafill | ah | 18:11 |
yvl | it's basically a wrapper around zope's viewlet | 18:13 |
yvl | just makes the title translatable | 18:13 |
yvl | by the way - you can and probably should specify cambodian layer | 18:13 |
yvl | see zope.viewlet.metadirectives.IViewletDirective | 18:14 |
yvl | for a list of parameters it accepts | 18:14 |
replaceafill | ah ok | 18:14 |
yvl | aelkner: if you have trouble with the subscriber | 18:14 |
aelkner | yes? | 18:15 |
yvl | just make sure you have the addCambodianSomethingsToSection method | 18:15 |
yvl | and call it manually with a push of a button or something similar | 18:15 |
yvl | whatever works | 18:15 |
yvl | I can bind that to over events later | 18:16 |
aelkner | ? | 18:16 |
aelkner | i have a handleSectionAdded event | 18:16 |
yvl | ok | 18:16 |
yvl | it's a method, right? | 18:16 |
aelkner | it gets called when I add the section using the addSection test routine | 18:16 |
aelkner | yes, it's a method | 18:17 |
aelkner | it's registered as a subscriber to section added | 18:17 |
yvl | do you still have problems with getting the courses? | 18:17 |
aelkner | i haven't solved the problem yet, no | 18:17 |
yvl | if you get stuck solving that | 18:17 |
yvl | just use handleSectionAdded in some hacky way | 18:18 |
yvl | to test that it works | 18:18 |
aelkner | yes, i already hard code the scorsystem | 18:18 |
yvl | for example - put a button in some page | 18:18 |
yvl | that just calls handleSectionAdded | 18:18 |
aelkner | i can get far without accessing the course | 18:18 |
aelkner | it's just something that i'll need eventually | 18:18 |
th1a | Just a "deploy report sheets" button. ;-) | 18:18 |
yvl | ok then | 18:18 |
yvl | :))) | 18:18 |
aelkner | i don't need a new button | 18:19 |
yvl | hmm it's so crazy it could work :D | 18:19 |
yvl | well, I'm just saying | 18:19 |
yvl | if you get stuck | 18:19 |
aelkner | are you suggesting that this button will end up in the final version that we give them | 18:19 |
*** dlobo has quit IRC | 18:19 | |
yvl | if you don't get stuck, please ignore my ramblings ;) | 18:19 |
aelkner | fine | 18:19 |
yvl | no, it will not end up in final version | 18:19 |
aelkner | it's not a problem | 18:19 |
aelkner | i was just bringing up the issue | 18:20 |
yvl | but it will allow you to continue for now | 18:20 |
yvl | thanks :) | 18:20 |
aelkner | i'll have more analysis later | 18:20 |
aelkner | th1a: i have an issue with the worksheet | 18:20 |
aelkner | at the moment, i create the worksheet as a deployed worksheet | 18:21 |
yvl | ok guys | 18:21 |
yvl | gotta go | 18:21 |
yvl | apologies for nor screenshots, th1a | 18:21 |
yvl | I'm feeling really bad about it | 18:21 |
th1a | I think Cambodia knows it is a work in progres... | 18:22 |
*** dlobo has joined #schooltool | 18:22 | |
th1a | Thanks yvl. | 18:22 |
th1a | aelkner: Yes? | 18:22 |
aelkner | thanks yvl | 18:22 |
aelkner | i'll be able to make a lot of progress now | 18:22 |
*** dlobo has quit IRC | 18:23 | |
aelkner | th1a: you know how we automatically create sheet1? | 18:23 |
aelkner | which, btw, is not a deployed worksheet | 18:23 |
th1a | Yes. | 18:24 |
aelkner | anyway, i create a deployed sheet, so that makes two | 18:24 |
aelkner | is that ok? | 18:24 |
aelkner | i mean, will it confure the user to see Sheet1 when there isn't anything there they need? | 18:24 |
aelkner | confuse | 18:24 |
th1a | I don't want sheet 1 there. | 18:24 |
th1a | atm. | 18:25 |
*** alga has joined #schooltool | 18:25 | |
th1a | Probably ever. | 18:25 |
th1a | The main reason to have it is just so that when you look at your gradebook the first time it looks like a gradebook. | 18:25 |
th1a | So you know, "ah, I'm looking at a gradebook now." | 18:25 |
alga | th1a: Hi. Can we have chat now? I have around 30 mins until I have to go watch the kids. | 18:27 |
th1a | GIve me five minutes. On skype? | 18:27 |
alga | Ok. Yes please. | 18:27 |
replaceafill | aelkner, do you know how the gradebook is included in the schooltool.cambodia package? | 18:32 |
aelkner | its an egg | 18:32 |
aelkner | install_requires=['schooltool>=1.3.0', | 18:33 |
aelkner | 'schooltool.gradebook>=0.6.0', | 18:33 |
replaceafill | ah! | 18:33 |
aelkner | as schooltool itself is an egg | 18:33 |
th1a | alga, ofc now my laptop is refusing to reboot... | 18:34 |
aelkner | this is a real test for us of zope's customizability | 18:34 |
replaceafill | i thought i had to be activated through zcml | 18:34 |
aelkner | it is | 18:34 |
replaceafill | where? | 18:34 |
replaceafill | i wonder if it's the autoinclude feature :) | 18:35 |
replaceafill | well, never mind aelkner thanks | 18:35 |
aelkner | no prob | 18:36 |
*** pcardune has joined #schooltool | 19:05 | |
*** ignas has quit IRC | 19:16 | |
*** dlobo has joined #schooltool | 19:31 | |
replaceafill | eeeeeehhhhh the widget works! :D | 19:58 |
aelkner | replaceafill: way to go! | 20:25 |
replaceafill | :) | 20:25 |
*** mgedmin has quit IRC | 20:31 | |
*** mgedmin has joined #schooltool | 21:06 | |
*** dlobo has quit IRC | 21:32 | |
*** replaceafill has quit IRC | 21:36 | |
*** replaceafill has joined #schooltool | 22:19 | |
aelkner | replaceafill: ayt? | 23:02 |
replaceafill | yes | 23:02 |
aelkner | i figured out the answer to your question from before | 23:02 |
aelkner | it's a bit of configure magic | 23:02 |
replaceafill | is it z3c.autoinclude, right? | 23:02 |
aelkner | line 11 of schooltool.cambodia.app.configure.zcml | 23:03 |
aelkner | the line just below | 23:03 |
replaceafill | includePlugins comes from z3c.autoinclude | 23:03 |
aelkner | that finds any package (including the eggs) that has a plugins.zcml file and uses that | 23:03 |
aelkner | which includes it's own configure.zcml, and that's it | 23:04 |
replaceafill | nice! | 23:04 |
aelkner | yeah, that was a new one by me | 23:04 |
aelkner | you know how i figured it out? | 23:04 |
replaceafill | how? | 23:04 |
aelkner | i put a syntax error in schooltool.gradebook egg's zcml? | 23:05 |
aelkner | then i looked at the stacktrace :) | 23:05 |
replaceafill | :O | 23:05 |
replaceafill | clever | 23:05 |
aelkner | that's how you have to go often with zope | 23:05 |
replaceafill | :) | 23:06 |
aelkner | it can become unclear at times why certain code is reached and when | 23:06 |
aelkner | what with all these adapter lookups | 23:06 |
aelkner | it's the price we pay for the flexibility that we are rather enjoying right now | 23:06 |
replaceafill | definitely | 23:07 |
replaceafill | aelkner, ping | 23:42 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!