IRC log of #schooltool for Thursday, 2005-05-26

* tvon is having a hard time not responding to the gentoo/mplayer post to the list00:09
*** gintas has quit IRC00:16
*** jinty has joined #schooltool00:25
*** jinty has quit IRC01:21
*** bskahan has joined #schooltool02: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 #schooltool02: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 IRC02:48
*** bskahan has quit IRC03:17
*** elmo has quit IRC03:42
*** bskahan has joined #schooltool03:53
*** bskahan has quit IRC05:13
*** elmo has joined #schooltool06:02
*** Ricey has joined #schooltool08:26
*** Ricey_ has quit IRC08:26
*** bskahan has joined #schooltool10:30
*** bskahan has quit IRC11:43
*** jinty has joined #schooltool12:27
povbot`/svn/commits: * gintas committed revision 3943:13:13
povbot`/svn/commits: Removed redundant __init__ methods.13:13
*** jinty has quit IRC13:15
*** gintas has joined #schooltool13:20
*** srichter has quit IRC14:16
*** bskahan has joined #schooltool14:30
*** thisfred has joined #schooltool14:30
*** gintas has quit IRC14:32
*** alga has joined #SchoolTool14:33
*** jinty has joined #schooltool15:03
*** srichter has joined #schooltool15:22
*** SteveA is now known as SteveA|ask15:46
*** SteveA|ask is now known as SteveA|afk15:46
*** bskahan has quit IRC16:11
*** jinty has quit IRC16:12
*** bskahan has joined #schooltool16:13
*** jinty has joined #schooltool16:26
*** SteveA|afk is now known as SteveA16:45
*** bskahan has quit IRC16:48
*** bskahan has joined #schooltool16:49
*** gintas has joined #schooltool16:57
*** ignas has joined #schooltool17:01
th1aalga:  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 IRC17:08
*** bskahan has joined #schooltool17:10
gintasth1a, are you there?17:13
th1aYes.17:13
gintashave you read my letter about CSV importing?17:13
th1aOh, not yet.  Give me a minute.17:13
th1a> By the way, can there be more than one resource (location) booked for a17:18
th1a> single lesson/lecture?17:18
th1aDo you mean one event happening at two places at the same time?17:18
gintaswell, our 'locations' are simply booked resources17:20
gintasaren't they?17:20
th1aRight.17:20
gintasso one could be using a classroom, a projector and a laptop at the same time17:21
th1aWell, at this step I think it would be reasonable to limit it to one resource.17:21
gintasok17:21
th1aYou can add the other resources later.17:21
th1aThis import is confusing enough.17:21
gintasactually I quite like the format you suggested17:21
th1aWell, that's good.17:22
gintasthe old one had 2D tables, this one only has 1D data, which is easier to both export to and understand17:22
th1aYeah, sometimes modeling the steps in solving the problem causes more complication than simplification.17:23
th1aIn real life making the timetable for the school and assigning people to rosters is two different problems.17:23
th1aBut importing them separately made it more complicated.17:24
th1aOK, reply sent.17:25
gintasok17:25
gintasthe reason why I made the time period/location table horizontal is because that the size is variable17:26
*** bskahan has quit IRC17:26
gintasvertical would be better but then the end of the table would have to be signified somehow17:26
th1aRight.17:26
gintasI'd rather not add an empty line there17:26
gintasit would be cleaner to have a vertical list though17:27
*** bskahan has joined #schooltool17:27
th1aIt would be easy enough to throw a separator in there at the end of the list.17:28
gintasso, should I go with a vertical list or a horizontal one?17:28
th1aI guess do what I suggested, with a separator.17:29
th1aIf I was generating this, I'd rather do it that way.17:29
gintasyeah, that makes sense17:29
gintaswhat separator do you suggest?17:29
th1a*17:29
th1a?17:29
th1a...17:29
gintas%^*$#%^17:30
gintas;)17:30
th1amaybe ,,,17:30
gintasI think I'll go with "***" for now, it's easy to change anyway17:30
th1aSure.17:30
bskahan|17:31
gintas---ooo===1337 53p4r4t0r ===ooo---17:32
th1aThat's it!17:33
bskahanduring DST east coast is - 4 UTC?17:33
* bskahan thinks so17:35
th1aIt is 3:36 in London.17:36
bskahanth1a: thanks17:37
*** jinty has left #schooltool17:48
*** jinty has quit IRC17:48
*** bskahan has quit IRC18:09
*** alga has quit IRC18:14
*** bskahan has joined #schooltool18:42
*** gintas has quit IRC18:49
*** th1a has left #schooltool19:12
*** th1a has joined #schooltool19:12
*** gintas has joined #schooltool19:44
*** gintas has quit IRC19:53
*** Aiste has quit IRC20:09
*** thisfred has quit IRC20:50
*** mgedmin has joined #schooltool21:17
*** alga has joined #SchoolTool21:21
*** alga_ has joined #SchoolTool21:29
*** alga has quit IRC21:47
*** jelkner has joined #schooltool21:47
th1aHi jelkner.21:47
jelknerthla: hi Tom!21:47
bskahanhey jeff, is there a mailing list for edubuntu?21:48
jelknerlet me check tomorrow21:48
bskahanthanks21:48
jelknerif their isn't, we'll set one up next week21:48
* bskahan nods21:48
jelkneri've got a few questions about schooltool21:48
th1aShoot.21:49
jelknerthe only way i've installed it so far is apt-get install schooltool in ubuntu hoary21:49
jelkneri was wondering how difficult it would be to try to add it to an existing zope3 instance21:50
jelkner?21:50
bskahanjelkner: its very easy21:50
th1aCan't do it with SchoolTool 0.921:50
th1aST 0.9 is the old architecture.21:50
tvonjelkner: it should work fine, just place schoolbell/src/schoolbell somwhere where zope3 can find it21:50
bskahanyou just have to put the package for schooltool and schoolbell into the Zope3 path add the package include files21:50
jelknergreat21:51
tvonand, yeah ^^21:51
bskahanthe catch is that you need Zope3.1 and Schooltool 0.10 (next week)21:51
jelknerwhat is the relationship between schoolbell and schooltool?21:51
th1aThe Zope 3 SchoolTool is out next week (in beta).21:51
th1aSchoolBell is the calendaring part of SchoolTool.21:51
th1aExtracted and made not-school specific.21:51
th1aSchoolTool is dependent on SchoolBell.21:52
jelknerthanks21:52
th1aSchoolBell is also simpler, so it is easier to find your way around.21:52
jelknerso, if i'm hearing you correctly, here is what i do:21:52
jelkner1. install zope 3.1 (i didn't know that was out)21:53
bskahanhttp://www.schooltool.org/releases/schooltool0.10/21:53
bskahanthere's a snapshot release there21:53
bskahanit has everything (including the Zope 3.1 snapshot)21:53
jelkner2. install schoolbell 1.0 and schooltool0.10 in the lib/python directory of my zope instance21:53
bskahanschoolbell 1.121:53
th1aIt isn't a release of Zope 3.1, it is a snapshot from svn.21:53
jelknerthe main thing i wanted to learn now is how to run all the tests21:54
jelknerok21:54
bskahanif you get that snapshot, unpack it21:54
bskahanrun make21:54
bskahanthen ./test -pvuf21:54
bskahanwill run all unit and functional tests on schooltool and schoolbell21:54
bskahan./test.py21:55
th1aalga_:  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 on21:57
*** alga_ is now known as alga21:57
th1aOK, when the permissions are changed for a group, the permissions are also changed for the member persons, right?21:57
algayes21:57
bskahanjelkner: 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 root21:57
algawell, not changed in fact21:58
algathe permissions are still on a group21:58
algabut they apply to the members21:58
tvonjelkner: schoolbell/src/schoolbell/app/README.txt has details on doing that21:58
th1aalga:  Wait, I asked my question in the wrong order.21:59
th1aIf you add someone to a group they pick up the group's permissions.21:59
jelknertvon: i'm trying it now21:59
jelknertvon: do i need python2.3? will python2.4 work?21:59
th1aBut internally does it remember which are the person's original permissions and which are the group's?22:00
jelknermake failed because it didn't find python2.322:00
algainternally, it does remember22:00
bskahaninteresting22:00
tvonjelkner: I haven't tested with 2.4 for a while, use 2.3 if you can22:00
bskahanI use 2.422:00
tvonhrm22:00
th1ajelkner:  That should work.  You're on Ubuntu?22:01
jelkneryes22:01
jelknerhoary22:01
algath1a: it's just that when checking permissions, the security policy checks what permissions do the proncipal's groups have22:01
tvonI used to use 2.4 but lately I've been using schoolbell-server.py which uses 2.322:01
th1aalga:  OK.22:01
th1aalga:  What I'm seeing is that I'm deleting permissions from a group, but the members are retaining them.22:01
jelknerls22:02
th1aalga:  Permissions they weren't granted individually.22:02
bskahanjelkner: you should be able to change the Makefile to 2.422:02
algath1a: there's a weird dependency bug.22:02
th1aalga:  It is a known problem?22:03
algalet me explain it to you22:03
algazope has both 'allow' and 'deny' grants22:03
jelknerok, i changed python2.3 to python2.4 in the make file, and make seemed to work fine22:03
jelknernow, i want to install it in my home directory22:03
algabut it is not trivial to make a simple UI for that22:03
bskahanjelkner: you can run the whole thing from the package directory, if you want22:04
algaa dropdown or radio would be too cluttered, a 3-state checkbox would be perfect22:04
jelknerbskahan: thanks, that's what i'll do22:04
algath1a: do you understand what I'm saying?22:05
bskahanalga: for "allow", "deny", and "unset"?22:05
algayes22:05
algaso, we're using normal 2-state checkboxes22:05
bskahanI was thinking about that with the intructor/section permissions22:05
th1aI don't understand.22:06
th1aWhat is the difference between 'deny' and 'unset?'22:06
algadeny is deny, unset is 'use what the parent allows'22:06
bskahanif its "unset" it may inherit the permission, if its "deny" it will deny no matter what the inherited permissions are22:06
algamostly22:06
algayep22:07
bskahancool, I was hoping I understood that ;)22:07
jelknerthanks, everyone... bell ringing, gotta run22:07
bskahanbye jeff22:07
algath1a: is that clearer?22:07
*** jelkner has quit IRC22:07
th1aalga:  I was briefly distracted...22:08
algaso, I'm checking whether the person has a permission here22:08
th1aOK.22:08
algathen, depending on that, I add an add, deny, or unset grant22:08
algabut when you're unchecking a permission for a group, the person has a checkbox checked22:09
algaso the view unsets the perm for the group22:09
algathen sees that checkbox (which got checked before, due to the perm on a group)22:09
algaand adds that permission to a person!22:09
th1aOK.22:10
algaso, you have to make sure before submitting, that all checkboxes are in the state you want them to be in22:10
algaweird bug/misfeature22:10
algaI only hope all in all it is clearer to the users than the zope grants UI22:11
th1aWell, it has to be dealt with one way or another, because we can't have random permissions hanging around like that.22:11
th1aFor 1.2.22:12
algathey're not random :-)22:12
algathe user checked left those checkboxes checked ;-)22:12
th1aThey'll seem random.22:12
algasilly, I know...22:13
th1aWait 'til you have 1500 users.22:13
algathat view does not scale for that22:13
th1aI know.22:13
bskahanwhich view does22:13
th1aScaling the views is one of the main goals of 1.2.22:13
algaif we make separate forms for users and for groups, even on one page, it would fix that22:14
th1aalga:  That sounds like the most sensible solution.22:14
th1aFor 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
algaIt's just the view trying to be too smart...22:16
algaOr rather its author...22:16
*** srichter has quit IRC22: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 IRC22:26
*** elmo has quit IRC22:32
*** munkee has quit IRC22:32
*** elmo has joined #schooltool22:32
*** munkee has joined #schooltool22:32
*** alga has quit IRC22:43
*** bskahan has quit IRC22:45
*** ignas has quit IRC23:07
*** srichter has joined #schooltool23:28
povbot`/svn/commits: * tvon committed revision 3946:23:54
povbot`/svn/commits: Removing duplicate import23:54

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!