*** menesis has quit IRC | 01:12 | |
*** mibofra has quit IRC | 01:17 | |
*** mibofra has joined #schooltool | 01:20 | |
*** menesis has joined #schooltool | 01:29 | |
*** menesis has quit IRC | 01:34 | |
*** djstealth has joined #schooltool | 01:43 | |
*** mibofra has quit IRC | 01:50 | |
*** mibofra has joined #schooltool | 01:50 | |
*** menesis has joined #schooltool | 08:16 | |
*** th1a has joined #schooltool | 12:30 | |
*** menesis has quit IRC | 13:11 | |
*** menesis has joined #schooltool | 14:34 | |
*** yvl has joined #schooltool | 15:16 | |
*** replaceafill has joined #schooltool | 15:27 | |
th1a | hi menesis, yvl, replaceafill. | 15:30 |
---|---|---|
yvl | good morning | 15:30 |
replaceafill | good afternoon | 15:30 |
yvl | and aftrenoon :) | 15:30 |
menesis | good monday | 15:30 |
th1a | I'm getting to experience new levels of wintertime darkness. | 15:31 |
th1a | Although I guess I've visited Vilnius in the winter. | 15:31 |
th1a | It is a bit crazy-making. | 15:32 |
yvl | true :) | 15:33 |
yvl | could be worse | 15:33 |
yvl | Norway | 15:33 |
yvl | or Iceland :) | 15:33 |
th1a | I guess I'm a degree and a half north of Vilnius. | 15:34 |
th1a | 8 degrees south of Reykjavik | 15:35 |
th1a | ANyhow... | 15:35 |
th1a | How's the weather, replaceafill? | 15:35 |
replaceafill | cold | 15:35 |
replaceafill | windy | 15:35 |
replaceafill | :) | 15:35 |
th1a | How cold? | 15:36 |
replaceafill | around 21 i think | 15:36 |
replaceafill | you? | 15:36 |
th1a | Uh... about 5. | 15:37 |
th1a | 4. | 15:37 |
replaceafill | :| | 15:37 |
th1a | -3 back homw. | 15:38 |
th1a | e | 15:38 |
replaceafill | :S | 15:38 |
th1a | OK, get us started, replaceafill. | 15:38 |
replaceafill | ggrrr | 15:38 |
replaceafill | ok | 15:38 |
th1a | bbrr? | 15:38 |
replaceafill | i worked on the add form | 15:38 |
replaceafill | for the person | 15:38 |
replaceafill | (the sound you make when it's cold) ;) | 15:38 |
replaceafill | and added the level dropdown | 15:38 |
replaceafill | it works | 15:39 |
replaceafill | but i need to clean it | 15:39 |
replaceafill | (i've been experimenting with it) | 15:39 |
replaceafill | i'm now in the middle of the edit one, adding the same functionaity | 15:39 |
replaceafill | functionality* | 15:39 |
replaceafill | i should be done with this by today i think | 15:40 |
th1a | OK. | 15:40 |
replaceafill | i also checked jelkner's bug | 15:40 |
replaceafill | about updating the cando grades from quiz questions | 15:40 |
replaceafill | i found why the "rules" are not applied correctly | 15:41 |
replaceafill | i should be able to fix that today too i think | 15:41 |
replaceafill | (after i'm done with the levels work) | 15:41 |
th1a | OK. | 15:42 |
replaceafill | i guess i'm holding this functionality in my own branch until yvl merges everything to trunk, right? | 15:42 |
th1a | yvl? | 15:42 |
yvl | hmm | 15:42 |
yvl | probably yes | 15:42 |
replaceafill | kk | 15:43 |
replaceafill | just checking :) | 15:43 |
replaceafill | i found a conflict in devmode.py that i didn't know how to solve | 15:43 |
replaceafill | that's why i ask | 15:43 |
replaceafill | for the moment i just decided to overwrite trunks' module with yours | 15:43 |
replaceafill | since i don't think it affects my work anyway | 15:44 |
replaceafill | and that's it from me th1a | 15:44 |
replaceafill | ah | 15:44 |
replaceafill | i'll be away a couple of hours this morning | 15:44 |
replaceafill | i'm going back home | 15:44 |
replaceafill | i'm at my parents atm | 15:44 |
* replaceafill done | 15:45 | |
th1a | OK, I think we'll be ready to try a transcript once we have this? | 15:45 |
th1a | Or at least you'll be quickly reminded of what's missing. | 15:45 |
replaceafill | transcript is that report with all the grades from all the levels, correct? | 15:46 |
replaceafill | i keep forgetting that word :( | 15:46 |
th1a | From various years, yes. | 15:46 |
replaceafill | ah ok | 15:46 |
replaceafill | yes | 15:46 |
replaceafill | i think so | 15:46 |
th1a | OK. | 15:47 |
th1a | We may save the mass level promotion until we fiddle the active/archived year statuses. | 15:48 |
replaceafill | ah | 15:48 |
replaceafill | ok | 15:48 |
th1a | That's probably the last big feature we'll want to get in the next release. | 15:49 |
replaceafill | i'm curious | 15:49 |
replaceafill | what's the relationship we're modifying there? | 15:49 |
replaceafill | year to...? | 15:50 |
th1a | Probably it is also something to get some thoughts from yvl with. | 15:50 |
th1a | From yvl on. | 15:50 |
th1a | So, the last time we discussed this, it seemed that we really wouldn't need "relationship statuses" to do this. | 15:50 |
yvl | yes | 15:51 |
yvl | it's more of a permission thing | 15:51 |
yvl | and a flag | 15:51 |
th1a | Pretty much just a field or whatever indicating if the year was planning/active/archived. | 15:51 |
replaceafill | ah | 15:51 |
yvl | yes | 15:51 |
th1a | And then change all the permissions around. | 15:51 |
replaceafill | the word status got me confused ;) | 15:51 |
th1a | What could go wrong? | 15:51 |
yvl | yes, exactly :) | 15:52 |
yvl | btw, I think we do have read-only gradebook versions, right? | 15:52 |
th1a | Actually though, is there some example of how you'd do permissions based on how a flag is set? | 15:53 |
replaceafill | yvl, iirc the gradebook doesn't take the security setting into account? | 15:54 |
replaceafill | the one under Server -> Security | 15:54 |
yvl | th1a, yes | 15:54 |
yvl | replaceafill, don't remember :/ | 15:54 |
th1a | I guess that would be the same sort of thing code-wise. | 15:56 |
menesis | there is a separate setting for gradebook and journal | 15:57 |
menesis | and both can be read-only | 15:57 |
menesis | clerks can edit attendance, administrators can edit grades | 15:57 |
menesis | if setting is enabled | 15:58 |
th1a | But basically, we don't need to write a new gradebook view to lock it from archived years. | 15:58 |
th1a | Anyhow... | 16:00 |
th1a | replaceafill: But in terms of just setting the permissions based on a flag on the year, do you have an idea about how to make that happen? | 16:00 |
replaceafill | modifying view code, yes | 16:01 |
replaceafill | not sure if we can modify the permission machinery to do so | 16:02 |
th1a | Yes, that's the question. | 16:02 |
th1a | Do you have any thoughts about that yvl? | 16:02 |
yvl | hmm | 16:02 |
yvl | well, the current way to do it is quite tedious | 16:03 |
yvl | you'll need a custom permission for all objects that should be archived with the schoolyear | 16:03 |
yvl | I'm not sure if this is not clear somehow | 16:05 |
yvl | basically | 16:06 |
yvl | walk through all permissions declared in ST | 16:06 |
yvl | well | 16:06 |
yvl | first write a IfSchoolToolArchived permission | 16:06 |
yvl | like the Aggregate | 16:06 |
replaceafill | Aggregate? | 16:07 |
yvl | schooltool/securitypolicy/crowds.py | 16:07 |
yvl | AggregateCrowd | 16:07 |
replaceafill | ah ok | 16:07 |
yvl | the new crowd should be identical, except first check if the schoolyear of the object is archived | 16:08 |
replaceafill | so we'd need adapters from everything to SchoolYear? | 16:09 |
yvl | and if not, just return False | 16:09 |
yvl | that would be one way to do it | 16:09 |
yvl | also you'll probably need a metadirective | 16:10 |
yvl | see metaconfigure.py in securitypolicy | 16:10 |
replaceafill | like "def allow"? | 16:11 |
yvl | handle_aggregate_crowd, aggregate_crowd | 16:11 |
replaceafill | ah | 16:11 |
yvl | wait | 16:12 |
replaceafill | those are not used in the zcml file, right? | 16:12 |
yvl | (sorry, I got sick and am somewhat woozy) | 16:12 |
yvl | huh? | 16:12 |
replaceafill | i mean, there's no reference to them in meta.zcml | 16:13 |
replaceafill | ah | 16:13 |
replaceafill | there is | 16:13 |
yvl | ??? | 16:13 |
yvl | yes | 16:13 |
th1a | Ideally we'll do a "planning" status where about everything can be changed and deleted, an "active" state which is probably somewhat stricter than the default now (can't delete a section, for example), and a "archived" state, which is pretty much locked. | 16:13 |
replaceafill | my typing is bad ;) | 16:13 |
th1a | Probably we should do both at the same time. | 16:14 |
yvl | true | 16:14 |
yvl | ok | 16:14 |
yvl | so you'll need metadirectives | 16:14 |
yvl | maybe it's easier to add a class_ argument to existing aggregate crowd metadirective | 16:15 |
yvl | yeah, probably it is. | 16:15 |
yvl | so | 16:16 |
yvl | then you'll have to walk through all security declarations in schooltool | 16:16 |
yvl | see if edit permissions should be conditional on schoolyear | 16:16 |
yvl | if yes, declare a new aggregate crowd in zcml | 16:17 |
yvl | the one that checks year before checking sub-crowds | 16:17 |
yvl | and replace the permission | 16:17 |
yvl | hmm | 16:17 |
yvl | yes, adding a class_ to aggregate would make it easier | 16:17 |
yvl | you could write custom code locally to obtain the schoolyear | 16:18 |
yvl | instead of myriad of adapters | 16:18 |
yvl | and then... well, just a lot of checking | 16:18 |
replaceafill | couldn't we just modify the "schooltool.edit" somehow to do it? | 16:19 |
yvl | no | 16:19 |
replaceafill | i mean, the check | 16:19 |
yvl | yes, but we will not | 16:19 |
replaceafill | so new permission it is :) | 16:20 |
yvl | unless you want side effects later :) | 16:20 |
yvl | like - well, we SHOULD be able to edit that in this view | 16:20 |
yvl | but TECHNICALLY, that object is a child of object that is in another year, and the year is locked | 16:20 |
yvl | hence, it is impossible to edit this | 16:21 |
*** denislvov has joined #schooltool | 16:21 | |
yvl | unless you code each exception in schooltool.edit magic too | 16:21 |
yvl | btw | 16:22 |
yvl | you can actually do that with current permissions | 16:22 |
yvl | it will be a little bit messier though | 16:22 |
yvl | I mean - you can inherit the AggregateCrowd class | 16:23 |
yvl | and list the factories in .py | 16:23 |
yvl | and then declare it a crowd in zcml | 16:23 |
yvl | and use that name in allow | 16:23 |
yvl | please excuse my erratic line of thought today | 16:24 |
th1a | Well, we can come back to it. | 16:24 |
replaceafill | np, it helps me to realize all the parts involved :) | 16:24 |
th1a | Why don't we pick it up a bit on Wednesday. | 16:24 |
th1a | Btw, do you want to meet between Christmas and New Years, yvl, or is next Monday your last meeting? | 16:25 |
th1a | :-( | 16:25 |
yvl | sigh | 16:26 |
yvl | maybe we could do Fri the 27th? | 16:26 |
th1a | Are you going to try to do some work that week? | 16:27 |
yvl | yes | 16:27 |
th1a | OK. | 16:27 |
yvl | 27-29 | 16:27 |
yvl | and then take 30-31 off | 16:27 |
th1a | OK. Sounds good. | 16:27 |
yvl | kk | 16:28 |
th1a | You're staying with PoV at this point, yvl? | 16:28 |
yvl | it's likely | 16:28 |
th1a | OK. | 16:28 |
yvl | I will be taking a month or two off work though | 16:28 |
th1a | Gotcha. | 16:29 |
th1a | OK, we'd better keep moving. | 16:29 |
th1a | Thanks replaceafill... | 16:29 |
th1a | OK, onto you yvl. ;-) | 16:29 |
yvl | ok | 16:29 |
yvl | changed the ST exporter a bit | 16:29 |
yvl | to reflect new relationships | 16:29 |
yvl | for example, instructors are moved from sections stylesheet to section enrollment | 16:30 |
yvl | also it exports dates/codes next to a person now | 16:30 |
yvl | student 14, '', 2010-08-01, p, 2012-09-01, a | 16:31 |
yvl | same for contacts and groups | 16:31 |
yvl | still working on importer | 16:32 |
yvl | but now I have spreadsheets to reimport :) | 16:32 |
yvl | mostly done ther | 16:32 |
yvl | e | 16:32 |
yvl | well, that's it | 16:33 |
th1a | I guess we don't really need to keep the importer backward compatible. | 16:33 |
yvl | too much work at this point, I think | 16:33 |
th1a | It would be kind of an obscure case. | 16:33 |
yvl | right | 16:34 |
th1a | Since the database should update itself fine. | 16:34 |
yvl | that could fall under paid development in the future :) | 16:34 |
th1a | There's no particular reason you'd want to export, blow up db, start a new version, import. | 16:34 |
th1a | Yeah. | 16:35 |
yvl | I mean these kind of changes | 16:35 |
th1a | Well, it is something that a user could manage with excel hackery. | 16:35 |
yvl | true | 16:36 |
th1a | OK, thanks yvl. | 16:36 |
th1a | We can always just encourage people to solve their own problems with Visual Basic macros. ;-) | 16:36 |
th1a | menesis? | 16:36 |
menesis | sorry | 16:37 |
*** denislvov has quit IRC | 16:37 | |
menesis | I fixed a ldap autoconfiguration failure | 16:37 |
menesis | made a release | 16:37 |
menesis | Remade journal scoresystem to not lowercase the entered value | 16:38 |
menesis | ended up doing the same as in discrete score system | 16:39 |
menesis | fixed a failing gradebook export ftest | 16:40 |
menesis | added progress stuff | 16:40 |
menesis | but I don't see any of it, only 'Scheduled...' | 16:40 |
menesis | that's it since Thursday | 16:42 |
th1a | Don't see any of what? | 16:42 |
menesis | Request export dialog | 16:42 |
menesis | click Generate button | 16:42 |
menesis | and progressbars appear saying Exporting Worksheets 1/3.... Export Done | 16:43 |
th1a | Is it just going by too fast? | 16:43 |
menesis | Not really fast. Something missing I guess | 16:44 |
th1a | OK... so not really a problem, just a little thing. | 16:45 |
menesis | But the export works so I don't worry much, other reports do not show progress either | 16:45 |
menesis | Yes | 16:45 |
th1a | OK. Thanks. | 16:46 |
th1a | I guess that's it then. | 16:46 |
th1a | Catch you guys Wednesday. | 16:47 |
th1a | Have a good week. | 16:47 |
* th1a drops the bag of gravel. | 16:47 | |
replaceafill | thanks everybody | 16:47 |
yvl | thanks guys | 16:50 |
yvl | and see you Wed :) | 16:50 |
*** replaceafill has quit IRC | 17:09 | |
*** povbot has joined #schooltool | 17:12 | |
*** povbot_ has quit IRC | 17:14 | |
*** yvl has quit IRC | 18:16 | |
*** menesis has quit IRC | 18:16 | |
*** th1a has quit IRC | 18:16 | |
*** mibofra has quit IRC | 18:16 | |
*** jstraw is now known as Lumiere | 18:18 | |
*** Lumiere is now known as 23LAAJGMD | 18:21 | |
*** yvl has joined #schooltool | 18:23 | |
*** menesis has joined #schooltool | 18:23 | |
*** th1a has joined #schooltool | 18:23 | |
*** mibofra has joined #schooltool | 18:23 | |
*** yvl has quit IRC | 19:17 | |
*** volkovstudio has joined #schooltool | 19:18 | |
*** signers has joined #schooltool | 19:21 | |
*** volkovstudio has quit IRC | 19:23 | |
*** signers has quit IRC | 19:26 | |
*** valekg has joined #schooltool | 20:26 | |
*** valekg has quit IRC | 20:30 | |
*** vasyan has joined #schooltool | 20:33 | |
*** vasyan has quit IRC | 20:33 | |
*** timour has joined #schooltool | 20:46 | |
*** timour has quit IRC | 20:49 | |
*** russurfer has joined #schooltool | 20:53 | |
*** russurfer has quit IRC | 21:01 | |
*** mibofra has quit IRC | 21:12 | |
*** menesis has quit IRC | 21:16 | |
*** replaceafill has joined #schooltool | 22:01 | |
*** mibofra has joined #schooltool | 22:35 | |
*** mibofra has quit IRC | 22:37 | |
*** mibofra has joined #schooltool | 22:37 | |
*** mibofra has quit IRC | 23:14 | |
th1a | replaceafill: ayt? | 23:16 |
*** mibofra has joined #schooltool | 23:24 | |
*** mibofra has quit IRC | 23:25 | |
*** mibofra has joined #schooltool | 23:25 | |
replaceafill | th1a, yes | 23:31 |
th1a | Do you know what this old task description would be? 9.2 Reports view using viewlet manager. | 23:32 |
replaceafill | from the release notes? | 23:32 |
th1a | From the Mind Map. | 23:33 |
replaceafill | 2011, pre-flourish, right? | 23:33 |
th1a | y | 23:33 |
replaceafill | i think it was aelkner working on the old skin | 23:34 |
replaceafill | something similar to the current report overview view | 23:34 |
replaceafill | where reports register themselves | 23:34 |
replaceafill | and are listed in that view | 23:34 |
th1a | I'm calling it Done. ;-) | 23:35 |
*** menesis has joined #schooltool | 23:35 | |
replaceafill | :D | 23:35 |
replaceafill | http://bazaar.launchpad.net/~schooltool-owners/schooltool/trunk/revision/2772 | 23:36 |
replaceafill | i think that's the one | 23:36 |
replaceafill | "- Created report package with reportLink directive for registering reports" | 23:37 |
th1a | There's actually a separate line for that one. | 23:37 |
th1a | Not worth pondering deeply. | 23:37 |
replaceafill | kk | 23:37 |
replaceafill | i wonder how the mind map will look like :) | 23:38 |
replaceafill | i hope a big part has disappeared ;) | 23:38 |
th1a | I'm making a table, actually. | 23:38 |
replaceafill | ah | 23:39 |
th1a | replaceafill: Would you agree that javascript testing "needs more work?" | 23:56 |
replaceafill | javascript testing as in selenium? | 23:57 |
replaceafill | or more unit testing? | 23:57 |
th1a | Just in general. | 23:57 |
replaceafill | definitely | 23:57 |
* th1a waves hands. | 23:57 | |
th1a | OK. | 23:57 |
replaceafill | :D | 23:57 |
replaceafill | one thing i would have liked yvl to resolve was the download functionality in stests | 23:58 |
replaceafill | it's broken at the moment | 23:58 |
replaceafill | because of celery | 23:58 |
replaceafill | although | 23:58 |
replaceafill | we can always hack the test | 23:58 |
replaceafill | and sometimes it's possible to call the pdf view directly | 23:58 |
replaceafill | using browser.open(path_to_the_pdf) | 23:59 |
replaceafill | instead of clicking the Generate button, etc | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!