* tvon is having a hard time not responding to the gentoo/mplayer post to the list | 00:09 | |
*** gintas has quit IRC | 00:16 | |
*** jinty has joined #schooltool | 00:25 | |
*** jinty has quit IRC | 01:21 | |
*** bskahan has joined #schooltool | 02:08 | |
povbot` | /svn/commits: * jinty committed revision 3935: | 02:09 |
---|---|---|
povbot` | /svn/commits: Don't treat errors on the last translation any different from those in-between. Also drop an XXX about how it should be done in future. | 02:09 |
povbot` | /svn/commits: * jinty committed revision 3936: | 02:12 |
povbot` | /svn/commits: r3935 for schoolbell and fix the .pot upload code I mistakenly committed a while back. | 02:12 |
*** jinty has joined #schooltool | 02:12 | |
povbot` | /svn/commits: * jinty committed revision 3937: | 02:14 |
povbot` | /svn/commits: Remove a stray phrase from the schooltool README. | 02:14 |
povbot` | /svn/commits: * jinty committed revision 3938: | 02:14 |
povbot` | /svn/commits: Tweak schooltool release notes. | 02:14 |
povbot` | /svn/commits: * jinty committed revision 3939: | 02:17 |
povbot` | /svn/commits: Update schoolbell release notes. | 02:17 |
povbot` | /svn/commits: * jinty committed revision 3940: | 02:19 |
povbot` | /svn/commits: Somebody started work on a malay schoolbell translation, so add it. | 02:19 |
povbot` | /svn/commits: * jinty committed revision 3941: | 02:45 |
povbot` | /svn/commits: Re-set schoolbell trunk release notes. | 02:45 |
povbot` | /svn/commits: * jinty committed revision 3942: | 02:47 |
povbot` | /svn/commits: Start adding tests to get-rosetta-translations. | 02:47 |
*** jinty has quit IRC | 02:48 | |
*** bskahan has quit IRC | 03:17 | |
*** elmo has quit IRC | 03:42 | |
*** bskahan has joined #schooltool | 03:53 | |
*** bskahan has quit IRC | 05:13 | |
*** elmo has joined #schooltool | 06:02 | |
*** Ricey has joined #schooltool | 08:26 | |
*** Ricey_ has quit IRC | 08:26 | |
*** bskahan has joined #schooltool | 10:30 | |
*** bskahan has quit IRC | 11:43 | |
*** jinty has joined #schooltool | 12:27 | |
povbot` | /svn/commits: * gintas committed revision 3943: | 13:13 |
povbot` | /svn/commits: Removed redundant __init__ methods. | 13:13 |
*** jinty has quit IRC | 13:15 | |
*** gintas has joined #schooltool | 13:20 | |
*** srichter has quit IRC | 14:16 | |
*** bskahan has joined #schooltool | 14:30 | |
*** thisfred has joined #schooltool | 14:30 | |
*** gintas has quit IRC | 14:32 | |
*** alga has joined #SchoolTool | 14:33 | |
*** jinty has joined #schooltool | 15:03 | |
*** srichter has joined #schooltool | 15:22 | |
*** SteveA is now known as SteveA|ask | 15:46 | |
*** SteveA|ask is now known as SteveA|afk | 15:46 | |
*** bskahan has quit IRC | 16:11 | |
*** jinty has quit IRC | 16:12 | |
*** bskahan has joined #schooltool | 16:13 | |
*** jinty has joined #schooltool | 16:26 | |
*** SteveA|afk is now known as SteveA | 16:45 | |
*** bskahan has quit IRC | 16:48 | |
*** bskahan has joined #schooltool | 16:49 | |
*** gintas has joined #schooltool | 16:57 | |
*** ignas has joined #schooltool | 17:01 | |
th1a | alga: I teased out a few bugs, or at least unexpected behaviors, while working on the docs for access control last night. | 17:08 |
*** bskahan has quit IRC | 17:08 | |
*** bskahan has joined #schooltool | 17:10 | |
gintas | th1a, are you there? | 17:13 |
th1a | Yes. | 17:13 |
gintas | have you read my letter about CSV importing? | 17:13 |
th1a | Oh, not yet. Give me a minute. | 17:13 |
th1a | > By the way, can there be more than one resource (location) booked for a | 17:18 |
th1a | > single lesson/lecture? | 17:18 |
th1a | Do you mean one event happening at two places at the same time? | 17:18 |
gintas | well, our 'locations' are simply booked resources | 17:20 |
gintas | aren't they? | 17:20 |
th1a | Right. | 17:20 |
gintas | so one could be using a classroom, a projector and a laptop at the same time | 17:21 |
th1a | Well, at this step I think it would be reasonable to limit it to one resource. | 17:21 |
gintas | ok | 17:21 |
th1a | You can add the other resources later. | 17:21 |
th1a | This import is confusing enough. | 17:21 |
gintas | actually I quite like the format you suggested | 17:21 |
th1a | Well, that's good. | 17:22 |
gintas | the old one had 2D tables, this one only has 1D data, which is easier to both export to and understand | 17:22 |
th1a | Yeah, sometimes modeling the steps in solving the problem causes more complication than simplification. | 17:23 |
th1a | In real life making the timetable for the school and assigning people to rosters is two different problems. | 17:23 |
th1a | But importing them separately made it more complicated. | 17:24 |
th1a | OK, reply sent. | 17:25 |
gintas | ok | 17:25 |
gintas | the reason why I made the time period/location table horizontal is because that the size is variable | 17:26 |
*** bskahan has quit IRC | 17:26 | |
gintas | vertical would be better but then the end of the table would have to be signified somehow | 17:26 |
th1a | Right. | 17:26 |
gintas | I'd rather not add an empty line there | 17:26 |
gintas | it would be cleaner to have a vertical list though | 17:27 |
*** bskahan has joined #schooltool | 17:27 | |
th1a | It would be easy enough to throw a separator in there at the end of the list. | 17:28 |
gintas | so, should I go with a vertical list or a horizontal one? | 17:28 |
th1a | I guess do what I suggested, with a separator. | 17:29 |
th1a | If I was generating this, I'd rather do it that way. | 17:29 |
gintas | yeah, that makes sense | 17:29 |
gintas | what separator do you suggest? | 17:29 |
th1a | * | 17:29 |
th1a | ? | 17:29 |
th1a | ... | 17:29 |
gintas | %^*$#%^ | 17:30 |
gintas | ;) | 17:30 |
th1a | maybe ,,, | 17:30 |
gintas | I think I'll go with "***" for now, it's easy to change anyway | 17:30 |
th1a | Sure. | 17:30 |
bskahan | | | 17:31 |
gintas | ---ooo===1337 53p4r4t0r ===ooo--- | 17:32 |
th1a | That's it! | 17:33 |
bskahan | during DST east coast is - 4 UTC? | 17:33 |
* bskahan thinks so | 17:35 | |
th1a | It is 3:36 in London. | 17:36 |
bskahan | th1a: thanks | 17:37 |
*** jinty has left #schooltool | 17:48 | |
*** jinty has quit IRC | 17:48 | |
*** bskahan has quit IRC | 18:09 | |
*** alga has quit IRC | 18:14 | |
*** bskahan has joined #schooltool | 18:42 | |
*** gintas has quit IRC | 18:49 | |
*** th1a has left #schooltool | 19:12 | |
*** th1a has joined #schooltool | 19:12 | |
*** gintas has joined #schooltool | 19:44 | |
*** gintas has quit IRC | 19:53 | |
*** Aiste has quit IRC | 20:09 | |
*** thisfred has quit IRC | 20:50 | |
*** mgedmin has joined #schooltool | 21:17 | |
*** alga has joined #SchoolTool | 21:21 | |
*** alga_ has joined #SchoolTool | 21:29 | |
*** alga has quit IRC | 21:47 | |
*** jelkner has joined #schooltool | 21:47 | |
th1a | Hi jelkner. | 21:47 |
jelkner | thla: hi Tom! | 21:47 |
bskahan | hey jeff, is there a mailing list for edubuntu? | 21:48 |
jelkner | let me check tomorrow | 21:48 |
bskahan | thanks | 21:48 |
jelkner | if their isn't, we'll set one up next week | 21:48 |
* bskahan nods | 21:48 | |
jelkner | i've got a few questions about schooltool | 21:48 |
th1a | Shoot. | 21:49 |
jelkner | the only way i've installed it so far is apt-get install schooltool in ubuntu hoary | 21:49 |
jelkner | i was wondering how difficult it would be to try to add it to an existing zope3 instance | 21:50 |
jelkner | ? | 21:50 |
bskahan | jelkner: its very easy | 21:50 |
th1a | Can't do it with SchoolTool 0.9 | 21:50 |
th1a | ST 0.9 is the old architecture. | 21:50 |
tvon | jelkner: it should work fine, just place schoolbell/src/schoolbell somwhere where zope3 can find it | 21:50 |
bskahan | you just have to put the package for schooltool and schoolbell into the Zope3 path add the package include files | 21:50 |
jelkner | great | 21:51 |
tvon | and, yeah ^^ | 21:51 |
bskahan | the catch is that you need Zope3.1 and Schooltool 0.10 (next week) | 21:51 |
jelkner | what is the relationship between schoolbell and schooltool? | 21:51 |
th1a | The Zope 3 SchoolTool is out next week (in beta). | 21:51 |
th1a | SchoolBell is the calendaring part of SchoolTool. | 21:51 |
th1a | Extracted and made not-school specific. | 21:51 |
th1a | SchoolTool is dependent on SchoolBell. | 21:52 |
jelkner | thanks | 21:52 |
th1a | SchoolBell is also simpler, so it is easier to find your way around. | 21:52 |
jelkner | so, if i'm hearing you correctly, here is what i do: | 21:52 |
jelkner | 1. install zope 3.1 (i didn't know that was out) | 21:53 |
bskahan | http://www.schooltool.org/releases/schooltool0.10/ | 21:53 |
bskahan | there's a snapshot release there | 21:53 |
bskahan | it has everything (including the Zope 3.1 snapshot) | 21:53 |
jelkner | 2. install schoolbell 1.0 and schooltool0.10 in the lib/python directory of my zope instance | 21:53 |
bskahan | schoolbell 1.1 | 21:53 |
th1a | It isn't a release of Zope 3.1, it is a snapshot from svn. | 21:53 |
jelkner | the main thing i wanted to learn now is how to run all the tests | 21:54 |
jelkner | ok | 21:54 |
bskahan | if you get that snapshot, unpack it | 21:54 |
bskahan | run make | 21:54 |
bskahan | then ./test -pvuf | 21:54 |
bskahan | will run all unit and functional tests on schooltool and schoolbell | 21:54 |
bskahan | ./test.py | 21:55 |
th1a | alga_: I know it is late there... can I ask a couple questions about security, or should I just write an email? | 21:55 |
alga_ | sure, go on | 21:57 |
*** alga_ is now known as alga | 21:57 | |
th1a | OK, when the permissions are changed for a group, the permissions are also changed for the member persons, right? | 21:57 |
alga | yes | 21:57 |
bskahan | jelkner: if you want to run schooltool from the zope snapshot in that package, after "make", cd into Zope3, setup zope.conf.in, principals.zcml, and the package include files, then run the z3.py server and add a schooltool instance to the zope3 root | 21:57 |
alga | well, not changed in fact | 21:58 |
alga | the permissions are still on a group | 21:58 |
alga | but they apply to the members | 21:58 |
tvon | jelkner: schoolbell/src/schoolbell/app/README.txt has details on doing that | 21:58 |
th1a | alga: Wait, I asked my question in the wrong order. | 21:59 |
th1a | If you add someone to a group they pick up the group's permissions. | 21:59 |
jelkner | tvon: i'm trying it now | 21:59 |
jelkner | tvon: do i need python2.3? will python2.4 work? | 21:59 |
th1a | But internally does it remember which are the person's original permissions and which are the group's? | 22:00 |
jelkner | make failed because it didn't find python2.3 | 22:00 |
alga | internally, it does remember | 22:00 |
bskahan | interesting | 22:00 |
tvon | jelkner: I haven't tested with 2.4 for a while, use 2.3 if you can | 22:00 |
bskahan | I use 2.4 | 22:00 |
tvon | hrm | 22:00 |
th1a | jelkner: That should work. You're on Ubuntu? | 22:01 |
jelkner | yes | 22:01 |
jelkner | hoary | 22:01 |
alga | th1a: it's just that when checking permissions, the security policy checks what permissions do the proncipal's groups have | 22:01 |
tvon | I used to use 2.4 but lately I've been using schoolbell-server.py which uses 2.3 | 22:01 |
th1a | alga: OK. | 22:01 |
th1a | alga: What I'm seeing is that I'm deleting permissions from a group, but the members are retaining them. | 22:01 |
jelkner | ls | 22:02 |
th1a | alga: Permissions they weren't granted individually. | 22:02 |
bskahan | jelkner: you should be able to change the Makefile to 2.4 | 22:02 |
alga | th1a: there's a weird dependency bug. | 22:02 |
th1a | alga: It is a known problem? | 22:03 |
alga | let me explain it to you | 22:03 |
alga | zope has both 'allow' and 'deny' grants | 22:03 |
jelkner | ok, i changed python2.3 to python2.4 in the make file, and make seemed to work fine | 22:03 |
jelkner | now, i want to install it in my home directory | 22:03 |
alga | but it is not trivial to make a simple UI for that | 22:03 |
bskahan | jelkner: you can run the whole thing from the package directory, if you want | 22:04 |
alga | a dropdown or radio would be too cluttered, a 3-state checkbox would be perfect | 22:04 |
jelkner | bskahan: thanks, that's what i'll do | 22:04 |
alga | th1a: do you understand what I'm saying? | 22:05 |
bskahan | alga: for "allow", "deny", and "unset"? | 22:05 |
alga | yes | 22:05 |
alga | so, we're using normal 2-state checkboxes | 22:05 |
bskahan | I was thinking about that with the intructor/section permissions | 22:05 |
th1a | I don't understand. | 22:06 |
th1a | What is the difference between 'deny' and 'unset?' | 22:06 |
alga | deny is deny, unset is 'use what the parent allows' | 22:06 |
bskahan | if its "unset" it may inherit the permission, if its "deny" it will deny no matter what the inherited permissions are | 22:06 |
alga | mostly | 22:06 |
alga | yep | 22:07 |
bskahan | cool, I was hoping I understood that ;) | 22:07 |
jelkner | thanks, everyone... bell ringing, gotta run | 22:07 |
bskahan | bye jeff | 22:07 |
alga | th1a: is that clearer? | 22:07 |
*** jelkner has quit IRC | 22:07 | |
th1a | alga: I was briefly distracted... | 22:08 |
alga | so, I'm checking whether the person has a permission here | 22:08 |
th1a | OK. | 22:08 |
alga | then, depending on that, I add an add, deny, or unset grant | 22:08 |
alga | but when you're unchecking a permission for a group, the person has a checkbox checked | 22:09 |
alga | so the view unsets the perm for the group | 22:09 |
alga | then sees that checkbox (which got checked before, due to the perm on a group) | 22:09 |
alga | and adds that permission to a person! | 22:09 |
th1a | OK. | 22:10 |
alga | so, you have to make sure before submitting, that all checkboxes are in the state you want them to be in | 22:10 |
alga | weird bug/misfeature | 22:10 |
alga | I only hope all in all it is clearer to the users than the zope grants UI | 22:11 |
th1a | Well, it has to be dealt with one way or another, because we can't have random permissions hanging around like that. | 22:11 |
th1a | For 1.2. | 22:12 |
alga | they're not random :-) | 22:12 |
alga | the user checked left those checkboxes checked ;-) | 22:12 |
th1a | They'll seem random. | 22:12 |
alga | silly, I know... | 22:13 |
th1a | Wait 'til you have 1500 users. | 22:13 |
alga | that view does not scale for that | 22:13 |
th1a | I know. | 22:13 |
bskahan | which view does | 22:13 |
th1a | Scaling the views is one of the main goals of 1.2. | 22:13 |
alga | if we make separate forms for users and for groups, even on one page, it would fix that | 22:14 |
th1a | alga: That sounds like the most sensible solution. | 22:14 |
th1a | For about an hour there I was worried that we had a fundamental misunderstanding about the security model, and it was going to have to be completely rewritten. I feel better now. | 22:16 |
alga | It's just the view trying to be too smart... | 22:16 |
alga | Or rather its author... | 22:16 |
*** srichter has quit IRC | 22:17 | |
povbot` | /svn/commits: * ignas committed revision 3944: | 22:21 |
povbot` | /svn/commits: Fixed a bug. A view was ytrying to select the default schema while it was set to none. | 22:21 |
povbot` | /svn/commits: * ignas committed revision 3945: | 22:23 |
povbot` | /svn/commits: Updated Container views so a user without permission to delete stuff from containers would see a different view. | 22:23 |
*** mgedmin has quit IRC | 22:26 | |
*** elmo has quit IRC | 22:32 | |
*** munkee has quit IRC | 22:32 | |
*** elmo has joined #schooltool | 22:32 | |
*** munkee has joined #schooltool | 22:32 | |
*** alga has quit IRC | 22:43 | |
*** bskahan has quit IRC | 22:45 | |
*** ignas has quit IRC | 23:07 | |
*** srichter has joined #schooltool | 23:28 | |
povbot` | /svn/commits: * tvon committed revision 3946: | 23:54 |
povbot` | /svn/commits: Removing duplicate import | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!