*** hazmat has quit IRC | 00:21 | |
*** bskahan has quit IRC | 00:48 | |
*** jinty has joined #schooltool | 01:42 | |
*** hazmat has joined #schooltool | 01:57 | |
*** ignas has quit IRC | 03:40 | |
*** jinty has quit IRC | 04:54 | |
*** hazmat has quit IRC | 04:56 | |
*** hazmat has joined #schooltool | 05:28 | |
*** hazmat is now known as haz-away | 06:55 | |
*** haz-away has quit IRC | 08:23 | |
*** srichter has joined #schooltool | 11:16 | |
*** jinty has joined #schooltool | 11:38 | |
*** erchache has joined #schooltool | 12:05 | |
erchache | hi | 12:05 |
---|---|---|
*** alga has joined #SchoolTool | 12:08 | |
*** mgedmin has joined #schooltool | 12:09 | |
*** erchach2 has joined #schooltool | 12:20 | |
*** Aiste has quit IRC | 12:27 | |
*** erchache has quit IRC | 12:31 | |
*** jinty has quit IRC | 12:55 | |
*** erchach2 has quit IRC | 13:07 | |
*** jinty has joined #schooltool | 13:13 | |
*** jinty has quit IRC | 13:30 | |
*** ignas has joined #schooltool | 13: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 |
alga | srichter: can you take a look at his checkin? | 13:44 |
alga | mgedmin: can you take a look at the buildbot failure? | 13:45 |
mgedmin | alga, ok | 13:46 |
mgedmin | svn: Failed to add directory 'Zope3/src/zope/testbrowser': object of the same name already exists | 13:46 |
mgedmin | fun fun fun | 13:46 |
mgedmin | damn | 13:47 |
srichter | ah, you gotta update Zope 3 :-) | 13:48 |
srichter | Simply do not check out testbrowser manually anymore | 13:49 |
mgedmin | buildbot said that | 13:49 |
mgedmin | 'svn up Zope3' | 13:49 |
mgedmin | svn: Failed to add directory 'Zope3/src/zope/testbrowser': object of the same name already exists | 13:49 |
mgedmin | I suppose I have to ssh there, become root, and wipe testbrowser from the buildbot sandbox now | 13:50 |
srichter | alga: your original code was actually the better one | 13:50 |
srichter | I will have to eventually fix the XPDL file, so that the workflow is called schooltool.promotion, instead of .promotion | 13:51 |
srichter | alga: but your fix is correct :-) | 13:51 |
mgedmin | srichter, the schooltool makefile still tries to check out testbrowser manually | 13:51 |
mgedmin | alga, 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 now | 13:53 | |
srichter | yep | 13: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 #schooltool | 15:05 | |
*** tiredbones has joined #schooltool | 15:12 | |
srichter | btw, I am going to propose on the mailing list to include the viewlet stuff in Zope 3.2 | 15:26 |
srichter | that means I will need your support :-) | 15:26 |
bskahan | srichter, ok | 15: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 #schooltool | 16:34 | |
erchache | hi | 16:34 |
srichter | hi | 16:44 |
erchache | i left bye | 16:45 |
erchache | see later | 16:45 |
*** erchache has quit IRC | 16:45 | |
povbot | /svn/commits: * bskahan committed revision 5181: | 17:02 |
povbot | /svn/commits: correct docstring and type name | 17:02 |
bskahan | mgedmin, http://baz.medsphere.com/~chergert/screenshots/welcome_to_awesome.png | 17:04 |
bskahan | vim7 with ctags autocompletion | 17:05 |
*** erchache has joined #schooltool | 17:08 | |
erchache | hi | 17:08 |
erchache | how i can translate www.schooltool.org to spanish? | 17:08 |
erchache | can be possible? | 17:08 |
erchache | th1a | 17:08 |
erchache | bskahan | 17:08 |
bskahan | erchache, I didn't specifically set it up for translation, but I'll look into it and let you know | 17:09 |
erchache | i have plone interface translations....but will be a good idea translata entire site into spanish | 17:10 |
erchache | :-D | 17:10 |
erchache | because program are translate about 90% | 17:10 |
erchache | if all site will traslate into spanish i can post it on guadalinex and linex distro forums.... | 17:10 |
erchache | a good start point to get users | 17:11 |
erchache | bskahan | 17:11 |
erchache | if you want i have machine to get es.schooltool.org | 17:11 |
erchache | make a entire copy and translate it | 17:11 |
erchache | more fast....or not? O_o | 17:12 |
erchache | bskahan | 17:18 |
*** erchache has quit IRC | 17:26 | |
mgedmin | bskahan, looks intriguing | 17:54 |
mgedmin | although I would prefer pdb integration myself | 17:54 |
mgedmin | bskahan, 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 |
bskahan | mgedmin, no, just found a link on someone's blog | 18:16 |
mgedmin | bskahan, that's what I'm interested in | 18:19 |
mgedmin | a link to a blog post | 18:19 |
bskahan | http://blogs.dronelabs.com/chris/archives/2005/10/welcome_to_awes.html | 18:23 |
bskahan | not much text | 18:23 |
mgedmin | eek, that blog looks awful in firefox | 18:36 |
* th1a is becoming nocturnal again. | 18:45 | |
*** thisfred has joined #schooltool | 18:55 | |
bskahan | http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR&topic_id=1&topic= | 19:16 |
th1a | bskahan: What method should I use to upload files for FTP download? | 19:18 |
bskahan | scp | 19:19 |
th1a | to where? | 19:19 |
bskahan | /home/ftp/pub/schooltool/... | 19:19 |
th1a | Do 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 |
bskahan | th1a, no | 19:35 |
th1a | OK. Just read your email. | 19:35 |
mgedmin | where are the unit tests for src/schooltool/common.py? | 19:35 |
bskahan | if you create a directory you should set the group sticky bit, or just tell me where it is and I'll set it | 19:35 |
th1a | How does one set it? | 19:36 |
mgedmin | chmod g+t directoryname | 19:36 |
mgedmin | err | 19:36 |
mgedmin | chmod g+s directoryname | 19:36 |
mgedmin | or chmod 2775 directoryname | 19:36 |
* mgedmin thinks | 19:36 | |
* bskahan nods | 19:37 | |
* mgedmin starts juggling schooltool modules around | 19:39 | |
mgedmin | plan: move schooltool.app.rest.xmlparsing to schooltool.xmlparsing | 19:39 |
mgedmin | move validate_against_schema from schooltool.app.rest.rng to schooltool.xmlparsing | 19:39 |
mgedmin | move tests so that they're in the canonical new location | 19:40 |
mgedmin | then schooltool.restclient can use XMLDocument without introducing a dependency on schooltool.app | 19: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 |
alga | th1a: now you really should look at the sample data | 19:44 |
alga | it takes more than a minute on my machine to generate | 19:44 |
alga | but then it's quite fine | 19:44 |
alga | you need to rm Data.fs before generating | 19:45 |
th1a | svn upping... | 19:45 |
alga | there's just a couple of things missing | 19:46 |
alga | groups after lessons | 19:46 |
alga | and resources hooked up to assignments | 19:46 |
th1a | bskahan: Did you ping gus about fhs.schooltool.org? | 19:47 |
bskahan | yes, haven't heard back though | 19:50 |
alga | hm, the calendar overlays don't quite work... | 19:50 |
alga | sections have assignments in their calendars | 19:51 |
alga | but the students can't see them | 19:51 |
alga | perhaps I missed something when creating the events? | 19:51 |
alga | OK, it's a permissions problem | 19:54 |
alga | how does a student get access to the calendars of sections he's in? | 19:55 |
th1a | Well, it *should* be automatic. | 19:56 |
mgedmin | alga, tag-jump to updateStudentCalendars | 19:57 |
mgedmin | maybe that's it | 19:57 |
mgedmin | I'm not sure what that subscriber does and why | 19:57 |
bskahan | that's to put them in the student overlays | 19:57 |
bskahan | grantViewPermissionsToMember should allow access | 19:58 |
mgedmin | bskahan, can you tell me one thing | 19:58 |
mgedmin | when you add a group to a section | 19:58 |
mgedmin | updateStudentCalendars gets called | 19:58 |
mgedmin | it loops through all members of the grou[p | 19:58 |
mgedmin | and updates their calendar overlays/permissions | 19:59 |
mgedmin | but what happens if you add a new member to that group afterwards? | 19:59 |
alga | grantViewPermissionToMember sounds bogus | 20:00 |
alga | groups are principals | 20:01 |
alga | if you want to grant permission to members, you grant them to groups | 20:01 |
bskahan | to view the calendar of the group itself? | 20:01 |
bskahan | mgedmin, nothing /me goes to file a bug | 20:01 |
alga | bskahan: looping through members is fundamentally wrong | 20:02 |
alga | because of bugs like that | 20:02 |
bskahan | alga, so the section should just grant view access to itself, and that will be picked up by the members? | 20:04 |
alga | yep | 20:05 |
alga | you need to make it a principal | 20:05 |
bskahan | thanks | 20:05 |
bskahan | brb | 20:06 |
alga | see SchoolToolAuthenticationUtility | 20:06 |
alga | it does that | 20:06 |
alga | for groups and persons... | 20:06 |
alga | ok, have a nice weekend | 20:06 |
*** alga has quit IRC | 20:06 | |
mgedmin | srichter, schooltool.level.rest.record has inadequate unit tests | 20: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 |
mgedmin | srichter, THE WHOLE schooltool.level.rest PACKAGE HAS NO UNIT TESTS WHATSOEVER! | 20:15 |
mgedmin | wtf??? | 20:15 |
th1a | Well... 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 |
th1a | bskahan: 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 |
bskahan | th1a, fixed | 20:58 |
bskahan | plone thinks it's www.schooltool.org so links to somewhere else were "external" | 20:58 |
th1a | Danke. Yeah, I thought that was the problem. | 20:58 |
bskahan | np | 20: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 idea | 21:14 | |
povbot | /svn/commits: * ignas committed revision 5188: | 21:18 |
povbot | /svn/commits: Add more usecases to the RESTive client api description. | 21:18 |
bskahan | mgedmin, we're going to find out | 21:25 |
*** jinty has joined #schooltool | 21:25 | |
mgedmin | cool, you can use emacs for collaborative text editing | 21:28 |
mgedmin | developer 1 starts emacs | 21:28 |
mgedmin | developer 2 does ssh -X developer2laptop | 21:29 |
mgedmin | developer 2 does ssh -X developer1laptop | 21:29 |
mgedmin | (oops) | 21:29 |
mgedmin | developer 2 does xauth - :10 > /tmp/cookie | 21:29 |
mgedmin | (in the ssh window) | 21:29 |
mgedmin | developer 1 does xauth merge /tmp/cookie | 21:29 |
mgedmin | developer 1 goes to Emacs and does File -> New frame on display... | 21:30 |
mgedmin | and enters :10 | 21:30 |
mgedmin | boom -- developer 2 sees a new emacs window on his machine | 21:30 |
mgedmin | and can edit files on developer 1's machine | 21:30 |
mgedmin | </over> | 21:30 |
mgedmin | source: http://mjr.towers.org.uk/blog/2005-2.html#threetips | 21:30 |
mgedmin | doesn't work too well... | 21:32 |
mgedmin | ok, this is not ready for prime time | 21:34 |
mgedmin | I closed the second emacs frame and it brought down the whole emacs | 21:34 |
*** thisfred has quit IRC | 21:35 | |
bskahan | mgedmin, shared screen sessions can do something similar | 21:39 |
bskahan | (with vim of course) | 21:39 |
mgedmin | bskahan, but you need root access to use shared screen sessions, or something | 21:40 |
mgedmin | I never quite understood how to use them | 21:40 |
mgedmin | well, I've never even tried using them | 21: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 |
th1a | mgedmin: Have you seen this? http://video.vividas.com/CDN1/3929_Serenity/web/index.html | 22:31 |
th1a | It is the first nine minutes of Serenity. | 22:31 |
th1a | Although I suppose it might not work on Linux... | 22:32 |
mgedmin | "Unfortunately, the Operating System you are currently using is unsupported." | 22:32 |
mgedmin | it'd probably work if I had Java on my laptop | 22:32 |
th1a | It seems like it might. | 22:33 |
th1a | Write once, run anywhere! | 22:33 |
ignas | Write once, run! | 22:37 |
ignas | nope, i do have java, yet i am getting the same error message | 22: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 IRC | 22: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 IRC | 23:15 | |
*** ignas has quit IRC | 23:30 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!