*** Aiste is now known as Aiste|away | 00:25 | |
*** didymo has joined #schooltool | 01:17 | |
*** jinty has joined #schooltool | 01:56 | |
*** didymo has quit IRC | 02:39 | |
*** jinty has quit IRC | 04:26 | |
*** armychina has joined #schooltool | 04:52 | |
*** povbot` has joined #schooltool | 11:01 | |
*** povbot has quit IRC | 11:15 | |
*** Aiste|away is now known as Aiste | 11:58 | |
*** Aiste has quit IRC | 12:43 | |
*** Aiste has joined #schooltool | 13:07 | |
*** mgedmin has joined #schooltool | 13:07 | |
*** jinty has joined #schooltool | 13:39 | |
*** alga has joined #SchoolTool | 13:54 | |
*** ignas has joined #schooltool | 14:07 | |
ignas | th1a: ping me :) | 14:18 |
---|---|---|
*** jinty has quit IRC | 14:39 | |
povbot` | /svn/commits: * alga committed revision 5952: | 14:51 |
povbot` | /svn/commits: Fix broken ftest. | 14:51 |
*** jinty has joined #schooltool | 14:59 | |
*** mgedmin has quit IRC | 15:08 | |
*** faassen has joined #schooltool | 15:21 | |
*** ignas has quit IRC | 15:30 | |
*** jinty has quit IRC | 15:32 | |
*** ignas has joined #schooltool | 15:41 | |
*** jinty has joined #schooltool | 15:42 | |
povbot` | /svn/commits: * faassen committed revision 5953: | 15:44 |
povbot` | /svn/commits: Put in real dependency. | 15:44 |
povbot` | /svn/commits: * faassen committed revision 5954: | 15:44 |
povbot` | /svn/commits: Remove this in preparation for use of setup.eggs.py. | 15:44 |
povbot` | /svn/commits: * faassen committed revision 5955: | 15:45 |
povbot` | /svn/commits: Use setup.eggs.py as the setup.py. | 15:45 |
povbot` | /svn/commits: * faassen committed revision 5956: | 16:09 |
povbot` | /svn/commits: Some fixes. | 16:09 |
povbot` | /svn/commits: * faassen committed revision 5957: | 16:15 |
povbot` | /svn/commits: * go back to previous setup.py and restore setup.eggs.py, as we cannot | 16:15 |
povbot` | /svn/commits: dump zpkg support. Adjust makefile so that setup.eggs.py also gets called. | 16:15 |
povbot` | /svn/commits: * faassen committed revision 5958: | 16:46 |
povbot` | /svn/commits: Ignore schooltool.egg-info that gets generated. | 16:46 |
povbot` | /svn/commits: * faassen committed revision 5959: | 16:47 |
povbot` | /svn/commits: Manually include schooltool.resourcelibrary ZCML bits. | 16:47 |
th1a | ignas: ping. | 17:06 |
ignas | th1a: when can you post your wishes for the next contract ? | 17:06 |
ignas | so i could start working on the proposal | 17:06 |
th1a | Well, I'd like to get some actual feedback from our partners. | 17:08 |
ignas | ok | 17:08 |
th1a | Although there is always stuff to do if you guys want to work on SchoolTool. | 17:09 |
ignas | :) | 17:09 |
th1a | So let me know. | 17:09 |
ignas | well at the moment i am working on the timetable event booking | 17:09 |
ignas | apparently such simple things as showing booked resources for timetable events in calendar views is a trivial task :/ | 17:10 |
ignas | s/is/is not | 17:10 |
th1a | I see. | 17:13 |
ignas | though having a clear understanding on what are current priorities, and what is the status of things i am working on (as in - how important it is, who will pay for that) would be nice, if not for me (i like hacking stuff) at least for PoV as a whole | 17:17 |
th1a | For attendance, it is definitely time to get some partner feedback. | 17:17 |
th1a | So I'm working on getting their demo servers up. | 17:17 |
th1a | I have been working on that. | 17:18 |
ignas | so we migh expect a period of hotfixing various stuff to make beta testers happier ? | 17:19 |
th1a | Yes. | 17:21 |
ignas | and when is that going to happen ? :) | 17:23 |
th1a | Realistically, that will be several weeks. | 17:24 |
th1a | Because we need to set up fairly complete systems before they can be tested with a school's real schedule, etc. | 17:25 |
th1a | However, as I said, if you guys have time to work on SchoolTool, there are certainly things to do. | 17:25 |
ignas | we will have time for schooltool, that's for sure | 17:29 |
ignas | though i can't tell you exact numbers at the moment | 17:29 |
th1a | Right. Just let me know how soon you'll be ready to go. | 17:30 |
th1a | Your iterations are out of sync with Stephan and Infrae at this point. | 17:30 |
ignas | well - we are kind of ready to go at the moment | 17:31 |
th1a | OK. Wanna do LDAP? | 17:31 |
ignas | not the whole team, but I am working on schooltool at the moment whether it is the writing of proposal or polishing resource booking ... | 17:31 |
ignas | i guess we can do LDAP | 17:32 |
ignas | now what about - time outs on attendance records ? | 17:32 |
ignas | or we will wait for beta testers for that ? | 17:33 |
th1a | Also, someone has to figure out how to actually create a SchoolBell package from the new trunk. | 17:33 |
th1a | Time-outs? | 17:33 |
ignas | expiry of workflows | 17:33 |
ignas | so 1 year old unexplained unresolved absence would not hang in there forever | 17:33 |
faassen | LDAP is not something that can just be done in isolation.. | 17:34 |
faassen | it ties in strongly to the demographics story, for instance. | 17:34 |
th1a | It probably would be wise to pause for a sanity check on attendance. | 17:34 |
ignas | though it is not that important when i think of it from the perspective of school admins managing the system 1 month old | 17:34 |
faassen | as some demograhics information will be on the LDAP server. | 17:34 |
th1a | LDAP for authentication. | 17:34 |
faassen | right now I believe the persons/ folder is also used for authentication, but I may be wrong. | 17:35 |
faassen | anyway, I'd recommend doing LDAP against an actual real-world LDAP server that people want to authenticate against. | 17:35 |
faassen | anything before then runs a strong risk of not ending up as relevant. | 17:36 |
th1a | We wouldn't be sharing any more data with the LDAP server than we needed to. | 17:36 |
th1a | Well, we can put out a call for people interested in testing against their LDAP server. | 17:36 |
faassen | I'd like to see a proposal for pluggable authentication strategies then | 17:36 |
th1a | There are a few out there, I think. | 17:37 |
th1a | People interested in using SchoolTool with LDAP, I mean. | 17:38 |
th1a | Not authentication proposals. | 17:38 |
faassen | that'd be good. | 17:38 |
faassen | anyway, I'd like tos ee a proposal on how this is going to happen, the pluggable auth. | 17:38 |
faassen | as I'd probably want to comment on the way it overlaps with demographics. | 17:38 |
ignas | yes indeed users who want integration with LDAP are many | 17:38 |
faassen | and that needs to be coordinated. | 17:38 |
th1a | Well yes, we'd need to write a proposal ;-) | 17:39 |
faassen | anyway, LDAP servers often have demographics information in there already. | 17:39 |
faassen | and people who want to integrate with LDAP want that demographics info. | 17:39 |
faassen | at least frequently they want email addresses that are in there, in my experience, for instance. | 17:39 |
faassen | and it might also impact the search interface. if you are going to authorize a user for something, say. | 17:39 |
ignas | maybe it might be more sane for infrae to do LDAP then? | 17:40 |
faassen | no, it'd work for me if you did it. | 17:40 |
th1a | That was the original plan. | 17:40 |
faassen | I just want to make sure it happens right. | 17:40 |
ignas | i see | 17:41 |
th1a | I'll think about it some more, but I'm feeling like one good task right now would be simply building SchoolBell from the current trunk. | 17:41 |
faassen | it can be either way for me, but I just want to make sure I know what's going on and can offer feedback in time. | 17:41 |
faassen | as this might overlap work I'm doing. | 17:42 |
th1a | We haven't tried that yet. | 17:42 |
faassen | I mean, I considered LDAP during th demographics work, and it's fairly complicated. | 17:42 |
faassen | as suddenly data isn't in the ZODB anymore but retrieved from LDAP. | 17:42 |
th1a | faassen: No doubt that the first pass at LDAP has to be absolutely the simplest thing that could work for authentication. | 17:42 |
faassen | clearly. | 17:43 |
ignas | faassen: i was thinking of something more simple - as in no automagic synchronization yet, only authentication | 17:43 |
faassen | yes, I agree, but you still need to synchronize usernames somehow. | 17:43 |
ignas | and event for authentication - one would probably have to create "person" objects on schooltool either manualy or with some script | 17:43 |
faassen | and you have to consider how this gets installed. | 17:43 |
faassen | as things need to continue to work with and without LDAP. | 17:43 |
ignas | s/event/even | 17:44 |
faassen | with Silva we automatically create the equivalent to person objects. | 17:44 |
faassen | whenever someone logs in through LDAP and that person object doesn't exist yet. | 17:44 |
faassen | that works pretty well. | 17:44 |
faassen | anyway, whatever decisions are made they need to be discussed, that's my point. | 17:45 |
faassen | now I'll go back to eggs. | 17:45 |
th1a | Thanks faassen. | 17:46 |
th1a | jinty: ayt? | 17:47 |
povbot` | /svn/commits: * faassen committed revision 5960: | 17:49 |
povbot` | /svn/commits: Include zc.table now. | 17:49 |
povbot` | /svn/commits: * faassen committed revision 5961: | 17:49 |
povbot` | /svn/commits: Fix includes for zc.resourcelibrary and add them for zc.table. | 17:49 |
faassen | is MANIFEST.in still in use on the trunk? | 17:51 |
faassen | it seems to contain outdated information. | 17:51 |
faassen | I want to just throw it out if possible. :) | 17:52 |
th1a | What is it for? | 17:53 |
faassen | it can be used by setup.py I believe to list what is included. | 17:54 |
faassen | but it's seriously out of date as far as I can say. | 17:54 |
faassen | and my setup.egg.py that pulls in eggs tries to (uselessly and harmlessly) use it. | 17:55 |
faassen | and then it complains hey, this stuff is not found. | 17:55 |
faassen | and spams the console. | 17:55 |
faassen | I think if I just remove it it'll stop bleating, but perhaps I'm wrong and it's in use somehow. | 17:55 |
th1a | Definitely something to discuss with jinty before blowing away, but then again, you're in a branch. | 17:56 |
faassen | it's in use in setup.old.py which is definitely not in use. :) | 17:56 |
povbot` | /svn/commits: * faassen committed revision 5962: | 17:58 |
povbot` | /svn/commits: Remove old MANIFEST.in which was out of date and was creating spamminess when using setup.egg.py. | 17:58 |
ignas | th1a: so when will you have a list of tasks for PoV ? | 17:58 |
*** AnsiC has joined #schooltool | 18:07 | |
povbot` | /svn/commits: * faassen committed revision 5963: | 18:08 |
povbot` | /svn/commits: Fix XML bug. | 18:08 |
AnsiC | hello | 18:08 |
*** mooky has joined #schooltool | 18:16 | |
*** alga has quit IRC | 18:18 | |
jinty | th1a: pong | 18:35 |
th1a | jinty: Can you make the meeting tomorrow? | 18:35 |
jinty | yeah, i should be able to | 18:36 |
th1a | OK. We need to talk packaging. | 18:36 |
jinty | want to give me a heads up so that I can mull over things? | 18:36 |
th1a | ignas is looking for something to do in the near term, and figuring out how to package SchoolBell from the new trunk is one thing that has to happen at some point. | 18:36 |
th1a | And generally building SchoolTool packages from the new trunk. | 18:37 |
jinty | package as in debian packaging? | 18:37 |
th1a | Not really. | 18:37 |
th1a | Well, making SchoolTool from the trunk is not tricky. | 18:37 |
th1a | But there is some zpkg magic we're anticipating to make SchoolBell tarballs? | 18:37 |
th1a | There is at least a theoretical plan for this, correct? | 18:38 |
jinty | there is some stuff done. | 18:38 |
jinty | a zpkg setup at least | 18:38 |
th1a | How long would it take for ignas to make a SchoolBell, do you think? | 18:39 |
jinty | I can't make that estimate right now... | 18:39 |
th1a | Well, that's your heads up to mull it over. | 18:40 |
ignas | th1a: it is hard to estimate it from jintys poinf og view, as there might be some extraneous code dependencies that will have to be removed | 18:40 |
ignas | s/poinf/point | 18:40 |
th1a | Right. | 18:40 |
th1a | We can discuss it in more detail tomorrow. | 18:41 |
jinty | re: LDAP, I had a ping from stockholm (skolelinux) about that. Apparently it would be usefull for their user management system. | 18:43 |
jinty | faassen: feel free to throw away MANIFEST.in, it's a historical artifact | 18:45 |
faassen | jinty: oh, thanks. | 18:58 |
faassen | jinty: question.. | 18:58 |
faassen | jinty: about eggs. | 18:59 |
jinty | ok | 18:59 |
faassen | jinty: I just discovered that eggs work when I do.. | 18:59 |
faassen | jinty: export PYTHONPATH=/path/to/eggs/src | 18:59 |
faassen | jinty: python foo.py # which imports some code in an egg | 18:59 |
faassen | but it doesn't work when I do: | 18:59 |
faassen | # no PYTHONPATH stuff here | 18:59 |
faassen | python foo.py # which does pythonpath stuff with sys.path | 19:00 |
faassen | i.e, the following script won't work. | 19:00 |
faassen | import os, sys | 19:00 |
faassen | basedir = os.path.abspath(os.path.dirname(sys.argv[0])) | 19:00 |
faassen | del sys.path[0] | 19:00 |
faassen | sys.path.insert(0, os.path.join(basedir, 'Zope3', 'src')) | 19:00 |
faassen | import zc.resourcelibrary | 19:00 |
jinty | IIRC there was something about import site; site.addsitedir() | 19:00 |
faassen | aah, that's a useful hint. | 19:00 |
faassen | I was figuring it wasn't due to some site being picked up. | 19:01 |
jinty | i.e. site.addsitedir() is called on the list in PYTHONPATH | 19:01 |
jinty | I think that in order for .pth files to be used, the directory has to be a site | 19:02 |
faassen | hm, just looping through the list in PYTHONPATH is causing everything to hang. | 19:03 |
faassen | and doing addsite | 19:03 |
faassen | and it appears to work if I just addsitedir Zope3/src | 19:04 |
faassen | except that then it can't import the schooltool package anymore. :) | 19:04 |
jinty | # add src to path | 19:04 |
jinty | src = os.path.join(here, 'src') | 19:04 |
jinty | sys.path.insert(0, src) # put at beginning to avoid one in site_packages | 19:04 |
jinty | import site | 19:04 |
jinty | site.addsitedir(src) | 19:04 |
faassen | so I shall be careful and add it twice. | 19:04 |
jinty | i used that code in sqlos | 19:04 |
faassen | right. | 19:04 |
faassen | I will do that. | 19:04 |
faassen | except somehow it won't work, schooltool package cannot be found | 19:05 |
jinty | hmm, how can I duplicate your setup? | 19:05 |
faassen | weird. | 19:05 |
faassen | checkout the schooltool-eggs branch. | 19:06 |
faassen | at first I thought it worked but that was because I had Zope3/src on my PYTHONPATH manually | 19:06 |
jinty | ok, got it, now how do I make it fail? | 19:07 |
faassen | okay, well, try starting schooltool-server.py | 19:07 |
faassen | wait, perhaps I demolished that file too much | 19:07 |
faassen | i accidentally wiped out an import | 19:08 |
faassen | there we go. | 19:08 |
faassen | sorry for the false alarm. | 19:08 |
jinty | np | 19:08 |
jinty | by the way, this site.addsitedir stuff changed in setuptools 0.6a11, became easier, so I am not sure that it is necessary anymore | 19:10 |
faassen | I think I use that version. | 19:10 |
povbot` | /svn/commits: * ignas committed revision 5964: | 19:15 |
povbot` | /svn/commits: Moved templates into a separate folder. | 19:15 |
ignas | th1a: ping :) | 19:17 |
th1a | ignas: pong. | 19:17 |
ignas | regarding timetable resource booking conflict | 19:18 |
ignas | you want wornings in where ? | 19:18 |
ignas | warnings | 19:18 |
ignas | :/ | 19:18 |
ignas | wait a sec | 19:18 |
ignas | i'll give you options :) | 19:18 |
th1a | OK. | 19:18 |
ignas | a) section view in the part "Resources", b) book resources view in the "tab" "current resources", c) book resources view mark busy resources in the Available resources "tab" | 19:21 |
ignas | or some combination of the above | 19:21 |
th1a | Let me check against my server. | 19:23 |
ignas | if you have sample data relevant views are: | 19:24 |
ignas | http://localhost:7080/sections/section000/resources.html | 19:24 |
ignas | and http://localhost:7080/sections/section000/ | 19:24 |
th1a | Re-generating sample data... | 19:26 |
povbot` | /svn/commits: * faassen committed revision 5965: | 19:32 |
povbot` | /svn/commits: Have to add site dirs so that eggs will be picked up. | 19:32 |
th1a | I probably could have just found a relevant Data.fs lying around... | 19:32 |
ignas | another question - what kind of info do you want to see in there ? in the normal resource booking view we were showing conflicting events, this time it's not feasible | 19:34 |
th1a | Not feasible in what sense? | 19:34 |
ignas | given the set up of "10 conflicting events by John, 100 conflicts with Math for 9th grade, 9 events for 9 different users " | 19:35 |
ignas | the amount of timetable events you are attaching a resource to is ~50-100 | 19:36 |
ignas | which means that in busy cases you can get enormous amount of conflicts | 19:36 |
th1a | OK, so lets assume the user is trying to do this in a relatively sane way. | 19:36 |
ignas | either in the past or in the future | 19:36 |
th1a | They are booking the resource for the section before the beginning of the term. | 19:37 |
th1a | Specifically, they are booking the room for the section. | 19:37 |
th1a | If another section is already booked for the room, we want them to get a clear warning. | 19:37 |
ignas | "if another section has booked the room at the same time" - show the name of the section with a link to it's resource editing view | 19:38 |
th1a | This resource booked for Section XXX for term fall06. | 19:38 |
th1a | Yes. | 19:38 |
th1a | For individual calendar events, perhaps we should just note the number of conflicts and link to the resource calendar. | 19:38 |
th1a | Let them investigate further there. | 19:39 |
ignas | sounds sane | 19:39 |
ignas | while for sections - imho, that will be painfully unusable, though i guess we can't do anything better soon enough | 19:39 |
ignas | or maybe not | 19:40 |
ignas | :/ | 19:40 |
th1a | Well, you just have to back out one or the other. | 19:40 |
povbot` | /svn/commits: * faassen committed revision 5966: | 19:40 |
povbot` | /svn/commits: Move include of zc.resourcelibrary meta package up so that directives are registered. | 19:40 |
ignas | oh, in the perfect world - one section event a week | 19:40 |
ignas | yes ? | 19:40 |
ignas | and different sections for different times of the week | 19:40 |
ignas | as with our current sample data setup sections have 6 events a week | 19:41 |
ignas | if someone will do that in the real world - he will have a lot of pain when solving conflicts | 19:42 |
th1a | I can't think of any easy way to handle this, except by doing what any sane person would do, and set up the timetables first. | 19:42 |
ignas | th1a: you should start writing a guide on "how to set up schooltool for your school" | 19:43 |
th1a | I mean, in a school with a rotating schedule like our sample data school, everything runs on that schedule. | 19:43 |
th1a | Yes, I've started a guide for our partner schools. | 19:43 |
ignas | post it somewhere so i could read it too, as to better understand what paths our users are going to be using | 19:44 |
ignas | even a WIP will do | 19:45 |
th1a | http://www.schooltool.org/documentation/setting-up-a-development-server/ | 19:45 |
ignas | thanks | 19:48 |
ignas | th1a: step 7 should probably do "make run" as in case of "svn up" it would clean up stale pyc files, adn rebuild Zope3 is needed | 19:50 |
th1a | OK. | 19:53 |
th1a | Changed. | 19:55 |
th1a | ignas: I'll take choice b) for the location of the warnings. | 19:57 |
*** Aiste has quit IRC | 20:19 | |
*** alga has joined #SchoolTool | 20:21 | |
*** faassen has quit IRC | 20:23 | |
*** mgedmin has joined #schooltool | 20:27 | |
*** Aiste has joined #schooltool | 21:12 | |
*** rjelliso has joined #schooltool | 21:16 | |
*** jinty has quit IRC | 21:21 | |
*** mgedmin has quit IRC | 21:59 | |
*** alga has quit IRC | 22:04 | |
*** ignas has quit IRC | 22:18 | |
*** ikonia has joined #schooltool | 22:46 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!