IRC log of #schooltool for Friday, 2005-10-07

*** hazmat has quit IRC00:21
*** bskahan has quit IRC00:48
*** jinty has joined #schooltool01:42
*** hazmat has joined #schooltool01:57
*** ignas has quit IRC03:40
*** jinty has quit IRC04:54
*** hazmat has quit IRC04:56
*** hazmat has joined #schooltool05:28
*** hazmat is now known as haz-away06:55
*** haz-away has quit IRC08:23
*** srichter has joined #schooltool11:16
*** jinty has joined #schooltool11:38
*** erchache has joined #schooltool12:05
erchachehi12:05
*** alga has joined #SchoolTool12:08
*** mgedmin has joined #schooltool12:09
*** erchach2 has joined #schooltool12:20
*** Aiste has quit IRC12:27
*** erchache has quit IRC12:31
*** jinty has quit IRC12:55
*** erchach2 has quit IRC13:07
*** jinty has joined #schooltool13:13
*** jinty has quit IRC13:30
*** ignas has joined #schooltool13:33
povbot/svn/commits: * alga committed revision 5178:13:43
povbot/svn/commits: Fixed the component names to work both in the unit tests and in real life.13:43
algasrichter: can you take a look at his checkin?13:44
algamgedmin: can you take a look at the buildbot failure?13:45
mgedminalga, ok13:46
mgedminsvn: Failed to add directory 'Zope3/src/zope/testbrowser': object of the same name already exists13:46
mgedminfun fun fun13:46
mgedmindamn13:47
srichterah, you gotta update Zope 3 :-)13:48
srichterSimply do not check out testbrowser manually anymore13:49
mgedminbuildbot said that13:49
mgedmin'svn up Zope3'13:49
mgedminsvn: Failed to add directory 'Zope3/src/zope/testbrowser': object of the same name already exists13:49
mgedminI suppose I have to ssh there, become root, and wipe testbrowser from the buildbot sandbox now13:50
srichteralga: your original code was actually the better one13:50
srichterI will have to eventually fix the XPDL file, so that the workflow is called schooltool.promotion, instead of .promotion13:51
srichteralga: but your fix is correct :-)13:51
mgedminsrichter, the schooltool makefile still tries to check out testbrowser manually13:51
mgedminalga, srichter: can one of you fix the makefile and make sure 'make update' works in a sandbox, then commit?13:53
* mgedmin is working on something else right now13:53
srichteryep13:55
povbot/svn/commits: * srichter committed revision 5179:14:00
povbot/svn/commits: Fix our make file since testbrowser is int he core now. Yay!14:00
*** bskahan has joined #schooltool15:05
*** tiredbones has joined #schooltool15:12
srichterbtw, I am going to propose on the mailing list to include the viewlet stuff in Zope 3.215:26
srichterthat means I will need your support :-)15:26
bskahansrichter, ok15:53
bskahan;)15:53
povbot/svn/commits: * alga committed revision 5180:16:27
povbot/svn/commits: Someone deserves a good spanking for a PEP 8 violation.16:28
*** erchache has joined #schooltool16:34
erchachehi16:34
srichterhi16:44
erchachei left bye16:45
erchachesee later16:45
*** erchache has quit IRC16:45
povbot/svn/commits: * bskahan committed revision 5181:17:02
povbot/svn/commits: correct docstring and type name17:02
bskahanmgedmin, http://baz.medsphere.com/~chergert/screenshots/welcome_to_awesome.png17:04
bskahanvim7 with ctags autocompletion17:05
*** erchache has joined #schooltool17:08
erchachehi17:08
erchachehow i can translate www.schooltool.org to spanish?17:08
erchachecan be possible?17:08
erchacheth1a17:08
erchachebskahan17:08
bskahanerchache, I didn't specifically set it up for translation, but I'll look into it and let you know17:09
erchachei have plone interface translations....but will be a good idea translata entire site into spanish17:10
erchache:-D17:10
erchachebecause program are translate about 90%17:10
erchacheif all site will traslate into spanish i can post it on guadalinex and linex distro forums....17:10
erchachea good start point to get users17:11
erchachebskahan17:11
erchacheif you want i have machine to get es.schooltool.org17:11
erchachemake a entire copy and translate it17:11
erchachemore fast....or not? O_o17:12
erchachebskahan17:18
*** erchache has quit IRC17:26
mgedminbskahan, looks intriguing17:54
mgedminalthough I would prefer pdb integration myself17:54
mgedminbskahan, is there any text to go with the gvim screenshot?17:57
povbot/svn/commits: * alga committed revision 5182:18:12
povbot/svn/commits: A small addition to the test.18:12
bskahanmgedmin, no, just found a link on someone's blog18:16
mgedminbskahan, that's what I'm interested in18:19
mgedmina link to a blog post18:19
bskahanhttp://blogs.dronelabs.com/chris/archives/2005/10/welcome_to_awes.html18:23
bskahannot much text18:23
mgedmineek, that blog looks awful in firefox18:36
* th1a is becoming nocturnal again.18:45
*** thisfred has joined #schooltool18:55
bskahanhttp://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR&topic_id=1&topic=19:16
th1abskahan:  What method should I use to upload files for FTP download?19:18
bskahanscp19:19
th1ato where?19:19
bskahan/home/ftp/pub/schooltool/...19:19
th1aDo I have to do anything to permissions?19:28
povbot/svn/commits: * alga committed revision 5183:19:34
povbot/svn/commits: A plugin that adds random events to section calendars.19:34
bskahanth1a, no19:35
th1aOK.  Just read your email.19:35
mgedminwhere are the unit tests for src/schooltool/common.py?19:35
bskahanif you create a directory you should set the group sticky bit, or just tell me where it is and I'll set it19:35
th1aHow does one set it?19:36
mgedminchmod g+t directoryname19:36
mgedminerr19:36
mgedminchmod g+s directoryname19:36
mgedminor chmod 2775 directoryname19:36
* mgedmin thinks19:36
* bskahan nods19:37
* mgedmin starts juggling schooltool modules around19:39
mgedminplan: move schooltool.app.rest.xmlparsing to schooltool.xmlparsing19:39
mgedminmove validate_against_schema from schooltool.app.rest.rng to schooltool.xmlparsing19:39
mgedminmove tests so that they're in the canonical new location19:40
mgedminthen schooltool.restclient can use XMLDocument without introducing a dependency on schooltool.app19:40
povbot/svn/commits: * alga committed revision 5184:19:41
povbot/svn/commits: Set the passwords of students and teachers to be the same as logins.19:41
algath1a: now you really should look at the sample data19:44
algait takes more than a minute on my machine to generate19:44
algabut then it's quite fine19:44
algayou need to rm Data.fs before generating19:45
th1asvn upping...19:45
algathere's just a couple of things missing19:46
algagroups after lessons19:46
algaand resources hooked up to assignments19:46
th1abskahan:  Did you ping gus about fhs.schooltool.org?19:47
bskahanyes, haven't heard back though19:50
algahm, the calendar overlays don't quite work...19:50
algasections have assignments in their calendars19:51
algabut the students can't see them19:51
algaperhaps I missed something when creating the events?19:51
algaOK, it's a permissions problem19:54
algahow does a student get access to the calendars of sections he's in?19:55
th1aWell, it *should* be automatic.19:56
mgedminalga, tag-jump to updateStudentCalendars19:57
mgedminmaybe that's it19:57
mgedminI'm not sure what that subscriber does and why19:57
bskahanthat's to put them in the student overlays19:57
bskahangrantViewPermissionsToMember should allow access19:58
mgedminbskahan, can you tell me one thing19:58
mgedminwhen you add a group to a section19:58
mgedminupdateStudentCalendars gets called19:58
mgedminit loops through all members of the grou[p19:58
mgedminand updates their calendar overlays/permissions19:59
mgedminbut what happens if you add a new member to that group afterwards?19:59
algagrantViewPermissionToMember sounds bogus20:00
algagroups are principals20:01
algaif you want to grant permission to members, you grant them to groups20:01
bskahanto view the calendar of the group itself?20:01
bskahanmgedmin, nothing /me goes to file a bug20:01
algabskahan: looping through members is fundamentally wrong20:02
algabecause of bugs like that20:02
bskahanalga, so the section should just grant view access to itself, and that will be picked up by the members?20:04
algayep20:05
algayou need to make it a principal20:05
bskahanthanks20:05
bskahanbrb20:06
algasee SchoolToolAuthenticationUtility20:06
algait does that20:06
algafor groups and persons...20:06
algaok, have a nice weekend20:06
*** alga has quit IRC20:06
mgedminsrichter, schooltool.level.rest.record has inadequate unit tests20:11
povbot/svn/commits: * mg committed revision 5185:20:11
povbot/svn/commits: Moved schooltool.app.rest.xmlparsing to schooltool.xmlparsing.  Moved schooltool.app.rest.rng.validate_against_schema into schooltool.xmlparsing (it wasn't used anywhere else).  Moved the tests for schooltool.common and schooltool.xmlparsing into the schooltool.tests package.20:11
povbot/svn/commits: I suspect that certain zpkg config files need to be updated, but I know not which ones, nor how to update them.20:11
povbot/svn/commits: * mg committed revision 5186:20:14
povbot/svn/commits: This module has no unit tests whatsoever!!!20:14
mgedminsrichter, THE WHOLE schooltool.level.rest PACKAGE HAS NO UNIT TESTS WHATSOEVER!20:15
mgedminwtf???20:15
th1aWell... now that I have some sample data, I finally get a sense of what SchoolTool looks like.20:28
povbot/svn/commits: * ignas committed revision 5187:20:40
povbot/svn/commits: Expanded science fiction.20:40
povbot/svn/commits: (Some bits in the checkin come from a successful spike that made this doctest into a real functional test.  Stay tuned.)20:40
th1abskahan:  If you look at the http://schooltool.org compared to http://www.schooltool.org, the first one has lots of extraneous little globe icons next to most of the links.  Any idea why?20:55
bskahanth1a, fixed20:58
bskahanplone thinks it's www.schooltool.org so links to somewhere else were "external"20:58
th1aDanke.  Yeah, I thought that was the problem.20:58
bskahannp20:58
* mgedmin idly wonders if it is a good idea if http://schooltool.org/$url always redirects to http://www.schooltool.org/$url, or if that would be a bad idea21:14
povbot/svn/commits: * ignas committed revision 5188:21:18
povbot/svn/commits: Add more usecases to the RESTive client api description.21:18
bskahanmgedmin, we're going to find out21:25
*** jinty has joined #schooltool21:25
mgedmincool, you can use emacs for collaborative text editing21:28
mgedmindeveloper 1 starts emacs21:28
mgedmindeveloper 2 does ssh -X developer2laptop21:29
mgedmindeveloper 2 does ssh -X developer1laptop21:29
mgedmin(oops)21:29
mgedmindeveloper 2 does xauth - :10 > /tmp/cookie21:29
mgedmin(in the ssh window)21:29
mgedmindeveloper 1 does xauth merge /tmp/cookie21:29
mgedmindeveloper 1 goes to Emacs and does File -> New frame on display...21:30
mgedminand enters :1021:30
mgedminboom -- developer 2 sees a new emacs window on his machine21:30
mgedminand can edit files on developer 1's machine21:30
mgedmin</over>21:30
mgedminsource: http://mjr.towers.org.uk/blog/2005-2.html#threetips21:30
mgedmindoesn't work too well...21:32
mgedminok, this is not ready for prime time21:34
mgedminI closed the second emacs frame and it brought down the whole emacs21:34
*** thisfred has quit IRC21:35
bskahanmgedmin, shared screen sessions can do something similar21:39
bskahan(with vim of course)21:39
mgedminbskahan, but you need root access to use shared screen sessions, or something21:40
mgedminI never quite understood how to use them21:40
mgedminwell, I've never even tried using them21:40
povbot/svn/commits: * mg committed revision 5189:21:49
povbot/svn/commits: You can now run the science-fictional doctest as a real functional test.  It fails, of course, but that's why it is marked as a level 2 test.  To run it, pass --level 2 to test.py.21:49
povbot/svn/commits: * mg committed revision 5190:22:03
povbot/svn/commits: Allow SchoolToolClient constructor to take arguments.  Made str(response) return something that is meaningful in a doctest.  Added unit tests for all this.22:03
povbot/svn/commits: The science-fictional ftest now progresses a little bit further.22:03
povbot/svn/commits: * mg committed revision 5191:22:29
povbot/svn/commits: Moving along the science fictional road: SchoolToolClient now has getPersons/getResources/getGroups that return list of ObjectRef objects.22:29
th1amgedmin:  Have you seen this? http://video.vividas.com/CDN1/3929_Serenity/web/index.html22:31
th1aIt is the first nine minutes of Serenity.22:31
th1aAlthough I suppose it might not work on Linux...22:32
mgedmin"Unfortunately, the Operating System you are currently using is unsupported."22:32
mgedminit'd probably work if I had Java on my laptop22:32
th1aIt seems like it might.22:33
th1aWrite once, run anywhere!22:33
ignasWrite once, run!22:37
ignasnope, i do have java, yet i am getting the same error message22:38
povbot/svn/commits: * mg committed revision 5192:22:47
povbot/svn/commits: Converted _parseContainer from raw libxml2 to XMLDocument.22:47
povbot/svn/commits: * mg committed revision 5193:22:53
povbot/svn/commits: Converted _parsePersonInfo from raw libxml2 to XMLDocument.22:53
povbot/svn/commits: * mg committed revision 5194:22:57
povbot/svn/commits: Converted _parseRelationships from raw libxml2 to XMLDocument.22:57
*** bskahan has quit IRC22:57
povbot/svn/commits: * ignas committed revision 5195:23:09
povbot/svn/commits: Move parsing of person info from SchoolToolClient to PersonRef.23:09
povbot/svn/commits: * ignas committed revision 5196:23:12
povbot/svn/commits: Added test to the testsuite, fixed it.23:12
povbot/svn/commits: * mg committed revision 5197:23:14
povbot/svn/commits: Moved a whole bunch of useful test utils and mixins from schooltool.app.rest.testing to schooltool.testing.util.  Collapsed a few duplicated functions.  Made schooltool.restclient not depend on schooltool.app.rest.testing.23:14
*** mgedmin has quit IRC23:15
*** ignas has quit IRC23:30

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