bskahan | rsta: how do you want to apply relationships to a weblog? | 00:00 |
---|---|---|
th1a | One thing I'm wondering about in general is whether there a practical way to create a GUI front end that will create XML schema definitions in the filesystem, instead of doing it through the web. | 00:01 |
bskahan | th1a: for relationships? | 00:02 |
th1a | bskahan: For demographic data. | 00:02 |
bskahan | would the xml schema be triples? | 00:04 |
th1a | Ah... ZCML. | 00:05 |
rsta | bskahan: categories... but i'm not sure i want to be tied to a platform like Z3 | 00:06 |
th1a | Don't want to be tied to a platform or don't want to be tied to a platform like Z3? | 00:07 |
rsta | the first | 00:08 |
bskahan | tvon: have you tried those notes in a browser at all yet? | 00:08 |
rsta | thanks for the information all. i have to run. ttyl | 00:09 |
*** rsta has quit IRC | 00:09 | |
tvon | bskahan: no, doing that now | 00:10 |
*** tvon|x31 has joined #schooltool | 00:10 | |
*** tvon has quit IRC | 00:10 | |
tvon|x31 | grr, wifi | 00:11 |
tvon|x31 | bskahan: no, havent touched browser/ yet | 00:11 |
tvon|x31 | am now.. | 00:11 |
*** tvon|x31 is now known as tvon | 00:15 | |
*** tvon has left #schooltool | 00:17 | |
*** tvon has joined #schooltool | 00:17 | |
*** bskahan has quit IRC | 00:19 | |
*** bskahan has joined #schooltool | 00:20 | |
bskahan | stupid battery warning | 00:21 |
bskahan | implementing read/write vfb would present a problem that readonly vfb doesn't | 00:37 |
bskahan | e.g. we can go from the schoolbell.calendar info to vfb, but you can't go the other way | 00:38 |
bskahan | still useful, just a caveat | 00:38 |
th1a | vfb? | 00:41 |
bskahan | free/busy for outlook and evolution | 00:41 |
bskahan | you can subscribe to people's vfb url to schedule meetings, and we have all the data need to provide vfb urls | 00:42 |
bskahan | but there's not enough data when vfb is published to create actual events | 00:43 |
tvon | would need a new event type | 00:43 |
tvon | busyblock or something | 00:43 |
bskahan | event's have a busyblock attribute | 00:43 |
bskahan | but the published event's would have random titles, etc | 00:43 |
tvon | yeah, but I don't think vfb provides enough to create an event | 00:43 |
bskahan | agreed, I don't think there's enough info to really even try to work with it | 00:47 |
tvon | yeah | 00:49 |
*** tvon|x31 has joined #schooltool | 01:05 | |
*** tvon has quit IRC | 01:05 | |
*** tvon|x31 is now known as tvon | 01:08 | |
*** tvon has quit IRC | 01:26 | |
*** tvon|desk has quit IRC | 03:12 | |
*** tvon has joined #schooltool | 03:32 | |
*** bskahan has quit IRC | 07:41 | |
*** mgedmin has joined #schooltool | 08:40 | |
*** hazmat has joined #schooltool | 11:12 | |
*** mgedmin has quit IRC | 11:21 | |
*** hazmat has left #schooltool | 11:21 | |
*** mgedmin has joined #schooltool | 12:02 | |
* mgedmin upgrading calendar.pov.lt to 0.9 | 12:28 | |
* mgedmin forgot all passwords :/ | 12:53 | |
mgedmin | hm, the database upgrade reset the manager's password to the default one! | 12:56 |
mgedmin | calendar colours are not assigned when you add calendars to your portlet, but rather when you check on them and say "overlay" -- I find this confusing | 13:00 |
mgedmin | some calendar colours are only assigned when you view the calendar a *second* time after choosing those calendars for overlay | 13:01 |
mgedmin | I love the ability to overlay calendars of arbitrary persons | 13:02 |
* mgedmin curses all dhcp clients, especially dhclient3 | 13:02 | |
mgedmin | schoolbell *needs* timezones | 13:04 |
mgedmin | we need to eat more dogfood | 13:07 |
mgedmin | UI wart in schoolbell 1.0-pre: if I go to a person and click 'edit info', I have no way of going back to that person's info screen | 14:04 |
* mgedmin wants breadcrumbs | 14:05 | |
*** alga has joined #SchoolTool | 15:32 | |
*** gintas has joined #schooltool | 15:36 | |
*** gintas has quit IRC | 16:18 | |
tvon | hit 'cancel' :) | 16:24 |
alga | ? | 16:26 |
tvon | when editing person info hitting cancel takes you back to the person view... I believe | 16:27 |
tvon | not important :) we still need breadcrumbs | 16:27 |
alga | ok | 16:28 |
tvon | bbiab | 16:35 |
*** tvon has quit IRC | 16:35 | |
*** mgedmin has quit IRC | 16:57 | |
*** tvon|x31 has joined #schooltool | 17:26 | |
tvon|x31 | ugh, wifi is geeking out again | 17:27 |
tvon|x31 | marco | 17:28 |
th1a | polo | 17:28 |
tvon|x31 | thanks | 17:29 |
tvon|x31 | wifi is on crack today | 17:29 |
tvon|x31 | Brian is in Florida at the moment, so he won't be joining us come meeting time | 17:29 |
th1a | OK. | 17:29 |
*** alga has quit IRC | 17:41 | |
*** gintas has joined #schooltool | 17:51 | |
*** tvon|x31 has quit IRC | 17:58 | |
*** tvon has joined #schooltool | 17:58 | |
th1a | Hello, gentlemen. | 18:00 |
th1a | Agenda items: | 18:02 |
th1a | 1) quick update from each site, | 18:02 |
*** tvon|x31 has joined #schooltool | 18:02 | |
th1a | 2) any further questions/comments on Zope 3 related issues | 18:03 |
tvon|x31 | sheesh | 18:03 |
tvon|x31 | Hello all | 18:03 |
gintas | hi | 18:03 |
th1a | 3) which features _won't_ be ready in a week, | 18:03 |
gintas | I'm not sure where alga and mgedmin are, I think they had gone out to lunch, but they haven't come back yet | 18:03 |
th1a | I guess we can wait. | 18:04 |
gintas | they have just come in | 18:04 |
th1a | OK. | 18:04 |
th1a | No problem. | 18:04 |
th1a | 4) Time permitting, I can introduce a few things we'll be working on post-SchoolBell 1.0. | 18:05 |
tvon|x31 | If I don't respond to any questions for a minute it's because the wifi hates me. I'll reconnect and read the irclogs if that happens. | 18:05 |
tvon|x31 | fyi | 18:05 |
*** mgedmin has joined #schooltool | 18:05 | |
th1a | OK. | 18:05 |
th1a | Can I have a quick week in review from POV? mgedmin? | 18:06 |
mgedmin | ok | 18:07 |
*** alga has joined #SchoolTool | 18:07 | |
mgedmin | a big refactoring by srichter landed in zope 3 land | 18:07 |
th1a | Did that put you behind schedule? | 18:08 |
mgedmin | we had to do some updating to make schoolbell work after that | 18:08 |
mgedmin | other than that, there was some pushing of calendaring views | 18:08 |
mgedmin | and alga added an access control view | 18:08 |
alga | and we had a national holiday | 18:08 |
mgedmin | we got bogged down with zope 3 widgets in the event adding view | 18:08 |
mgedmin | it was a slow week :( | 18:08 |
th1a | What bogged you down? | 18:09 |
alga | two days off practically -- | 18:09 |
alga | a holiday and catching up with zope | 18:09 |
th1a | I mean, about widgets? | 18:09 |
mgedmin | I think th1a wants to know about widgets | 18:09 |
mgedmin | some of the rarer-used zope 3 widgets are a bit quirky, and sometimes outright buggy | 18:10 |
mgedmin | in retrospect, I think we should have just coded the difficult parts by hand | 18:11 |
mgedmin | instead of trying to make widgets work | 18:11 |
th1a | Did you end up making fixes to the Zope 3 code? | 18:11 |
Awayblia | my bad | 18:11 |
*** Awayblia is now known as Workblia | 18:11 | |
mgedmin | some helpful zope 3 folks ended up making fixes to the Zope 3 code ;) | 18:11 |
th1a | OK. | 18:12 |
*** tvon_ has joined #schooltool | 18:12 | |
tvon_ | hrmph | 18:13 |
th1a | tvon_: are you back with us? | 18:13 |
tvon_ | I think so | 18:13 |
tvon_ | though my ip and essid don't match up like they should, but whatever... | 18:13 |
th1a | tvon_: How was your week? | 18:14 |
*** tvon|x31 has quit IRC | 18:14 | |
*** tvon|x31 has joined #schooltool | 18:14 | |
tvon|x31 | ping | 18:15 |
* mgedmin thought internet access was better in the US | 18:15 | |
th1a | Actually, internet access in the US sucks. | 18:15 |
tvon|x31 | stupid thing.. there are a bunch of networks around here and I keep hopping between them | 18:15 |
tvon|x31 | driving me batty | 18:15 |
th1a | tvon|x31: Well, give us a quick week in review. | 18:16 |
tvon|x31 | While I'm here, etria update.. Brian has been stuck on various portions of Preferences for a while... mostly with annotations. We have worked on that together a bit and I did some work on Notes since the annotations workis similar and now we are both stuck at the same point | 18:16 |
tvon|x31 | Namely, everything works fine untill we try to incorporate it into browser/ at which point we get ForbiddenAttribute errors | 18:17 |
th1a | We'd better get to the bottom of that, then. | 18:17 |
tvon|x31 | I'm not sure what we need to setup, but I can do "notes = INotes(person)" but any attempt to access 'notes' raises the error | 18:17 |
mgedmin | tvon|x31, do you have a <content> declaration for the Notes class? | 18:18 |
tvon|x31 | I figure its some zcml thing | 18:18 |
tvon|x31 | ah, see? no :) | 18:18 |
mgedmin | do you specify <adapter ... trusted="yes" /> ? | 18:18 |
tvon|x31 | yes, not in browser/ though, just app/configure.zcml | 18:18 |
mgedmin | you might also have to make Notes provide ILocation, and set its __parent__ to the object you are annotation | 18:18 |
mgedmin | annotating, I mean | 18:18 |
mgedmin | tvon|x31, app/configure.zcml is the correct place for the adapter and permission declarations | 18:19 |
tvon|x31 | and the content tag? | 18:19 |
* mgedmin nods | 18:20 | |
mgedmin | that's what I meant by "permission declarations", sorry for being obscure | 18:20 |
tvon|x31 | ah, np | 18:20 |
tvon|x31 | so <content class=".app.Notes".. ? or app.Note? | 18:20 |
mgedmin | both | 18:20 |
tvon|x31 | gotcha | 18:20 |
*** jinty has joined #schooltool | 18:21 | |
*** tvon|x31 has quit IRC | 18:21 | |
th1a | jinty: hi. | 18:21 |
jinty | th1a:hey, little late I know | 18:22 |
th1a | No problem. | 18:22 |
jinty | meeting started yet? | 18:22 |
*** tvon_ has quit IRC | 18:22 | |
*** tvon|x31 has joined #schooltool | 18:22 | |
th1a | Yes, we've just been discussing what was done this week, while tvon bounces on and off line. | 18:22 |
jinty | ok, gotta look at the logs | 18:23 |
th1a | I went to LinuxWorld and demo-ed SchoolBell for a few people. | 18:23 |
*** tvon_ has joined #schooltool | 18:23 | |
*** tvon|x31 has quit IRC | 18:23 | |
th1a | Zope Corp. is interested in commercial licenses for SchoolBell code. | 18:23 |
tvon_ | most impressive | 18:23 |
* mgedmin oohs | 18:23 | |
tvon_ | Okay, another number on the list was "things we might not get done", for us I think its free/busy since it requires figuring out more of the ical parsing than I was hoping it would | 18:24 |
alga | wow | 18:24 |
jinty | Sounds exactly what you were looking for | 18:24 |
tvon_ | th1a: interesting | 18:24 |
*** tvon has quit IRC | 18:25 | |
th1a | I don't know if anything will come of it. | 18:25 |
th1a | They brought it up though, not me. | 18:25 |
jinty | even more interesting | 18:25 |
*** tvon|x31 has joined #schooltool | 18:25 | |
*** tvon_ has quit IRC | 18:25 | |
*** tvon|x31 has quit IRC | 18:26 | |
th1a | tvon needs an ethernet cable. | 18:26 |
jinty | hehe | 18:26 |
alga | or he needs to set one concrete ESSID | 18:26 |
alga | or he needs to stop wandering around with the laptop in his hands | 18:27 |
th1a | I also talked a while with Stephan about workflow. We're all going to be learning more than we ever wanted to know about workflow in the next year, I think. | 18:27 |
th1a | XPDL. | 18:27 |
mgedmin | what's XPDL? | 18:28 |
th1a | XML Process Definition Language. | 18:28 |
* mgedmin is a bit scared of the word "workflow", after reading http://www.jwz.org/doc/groupware.html | 18:29 | |
th1a | Well, there was never any doubt that SchoolTool wouldn't get you laid. | 18:29 |
Workblia | my first big application was a groupware | 18:29 |
th1a | Ach. tvon is still gone... | 18:30 |
mgedmin | all three of them? | 18:30 |
*** tvon__ has joined #schooltool | 18:30 | |
tvon__ | Hi | 18:31 |
th1a | OK. Where were we... other Zope 3 issues? | 18:31 |
Workblia | i can see one instance of tvon | 18:31 |
tvon__ | I have the essid set, in /etc/network/interfaces, it seems to take it as a suggestion | 18:32 |
tvon__ | hrm.. I'm not actually here am I.. dangit | 18:32 |
tvon__ | I'm here | 18:32 |
tvon__ | I think | 18:32 |
th1a | tvon__: you are here. | 18:32 |
tvon__ | There are no other z3 issues on our end at the moment | 18:32 |
tvon__ | We'll be sure to harass whomever we can get our paws on if another comes up though | 18:32 |
mgedmin | tvon__, any time | 18:33 |
th1a | OK. So let's review what is going to be done in a week. | 18:33 |
th1a | Are we going to have time zones? | 18:33 |
mgedmin | I don't think we can promise that from our side | 18:33 |
tvon__ | yes, though another Q: at what level should we put them? | 18:33 |
tvon__ | in the browser/views? | 18:34 |
tvon__ | and whenever something is created we'll convert to utc? | 18:34 |
tvon__ | in app/ | 18:34 |
mgedmin | tvon__, schoolbell.calendar should be able to express timezone info in icalendar output, and read it back | 18:34 |
mgedmin | then schoolbell.app.browser needs to be able to convert them to user's preferred tz for display | 18:34 |
mgedmin | (and back to utc for input) | 18:35 |
mgedmin | ok, this week we're going to finish those calendar views | 18:36 |
*** tvon|x31 has joined #schooltool | 18:37 | |
alga | th1a: what is more important to you, booking or RESTive views? | 18:37 |
alga | booking is more complex, needs thinking | 18:37 |
th1a | Eek. | 18:37 |
th1a | Booking. | 18:38 |
alga | it is a partial case of a more generic concept, | 18:38 |
Workblia | +1 booking | 18:38 |
alga | events that concern more than 1 person/group | 18:38 |
alga | /resource | 18:38 |
Workblia | even if the generic concept will not be implemented untill SB 1.0 | 18:39 |
*** tvon__ has quit IRC | 18:39 | |
Workblia | we will have one definitive test suite for the functionality, that whould make generifying the code easier | 18:39 |
alga | sooner or later we'll need to refactor it like that | 18:39 |
Workblia | ^ imho ^ | 18:39 |
alga | I feel that restive views are more straightforward than booking | 18:40 |
alga | but there might be hidden problems | 18:40 |
gintas | it's a question of conceptual vs. implementation problems | 18:40 |
alga | what do you mean? | 18:41 |
th1a | alga: Does your question mean we will only end up with one or the other in SB 1.0? | 18:41 |
gintas | well, I think we have the restive views and the problem here is to port them to Zope3 | 18:41 |
gintas | i.e., they will not require extensive modifications | 18:42 |
alga | th1a: I hope not, but we need to prioritize | 18:42 |
th1a | Right. | 18:42 |
alga | so that we don't end up with both things half done | 18:42 |
th1a | Yes.. | 18:42 |
*** __tvon__ has joined #schooltool | 18:42 | |
gintas | whereas I think I have heard about plans to implement booking differently | 18:42 |
gintas | so we would be able to reuse less | 18:42 |
* mgedmin isn't so confident about restive views | 18:43 | |
jinty | alga: +1 | 18:43 |
th1a | I haven't envisioned the changes in booking requiring a significantly different implementation. | 18:44 |
*** __tvon__ has quit IRC | 18:44 | |
th1a | It is more of a UI thing. | 18:44 |
gintas | I did not mean to imply that booking is harder than restive views | 18:44 |
*** __tvon__ has joined #schooltool | 18:44 | |
alga | hi __tvon__ :) | 18:44 |
__tvon__ | quick note: 'week start day' is a low priority and might not get done | 18:44 |
__tvon__ | :) | 18:44 |
__tvon__ | how often are the irc logs updated? 5 mins? | 18:45 |
* mgedmin nods | 18:45 | |
mgedmin | __tvon__, strip .html and you'll get an unformatted plain text log file that is updated instantly | 18:45 |
th1a | Hm. Looks like there may be a SchoolBell 1.1 quicker than I thought. | 18:46 |
*** __tvon__ has quit IRC | 18:46 | |
*** __tvon__ has joined #schooltool | 18:46 | |
jinty | definitly when zope 3.1 arrives | 18:46 |
Workblia | SB 1.1 - The missing features revisited | 18:46 |
alga | time based releases for you :-) | 18:47 |
th1a | Sure. | 18:47 |
th1a | But we also need to finish this list before moving on to SchoolTool. | 18:47 |
jinty | well, all things have good/bad sides | 18:47 |
*** thisfred has joined #schooltool | 18:48 | |
th1a | Actually, some of these we probably will just drop. | 18:48 |
th1a | All Day Events. | 18:48 |
mgedmin | jinty, I've noticed that you wrote extensive release process documentation, but I haven't had the time to read it yet | 18:48 |
mgedmin | I was thinking that perhaps we should create /trunk/schoolbell and move schoolbell stuff over there | 18:48 |
jinty | would it be too much to ask developers to work more on branches, only committing features ready for release to trunk.. | 18:48 |
mgedmin | because it is going to be a separate package, with its own top-level documentation and setup scripts | 18:48 |
jinty | mgedmin yay! | 18:48 |
mgedmin | and a different release cycle | 18:49 |
jinty | but not before 1.0!!! please | 18:49 |
mgedmin | jinty, what do you mean? | 18:49 |
jinty | about comitting to trunk? | 18:49 |
mgedmin | <jinty> but not before 1.0!!! please | 18:50 |
mgedmin | ah, you were referring to development branches | 18:50 |
mgedmin | I thought you were talking about /trunk/schoolbell | 18:50 |
jinty | please don't make trunk/schoolbell before I branch for 1.0 | 18:50 |
jinty | I | 18:50 |
mgedmin | ok, /me won't touch anything | 18:51 |
gintas | svn mkdir svn+ssh://source.schooltool.org/svn/schooltool/trunk/schoolbell ;-] | 18:51 |
jinty | Thanks, stability just before a release | 18:51 |
jinty | is good!!! | 18:52 |
* jinty wallops gintas | 18:52 | |
th1a | Anything in particular we need to be aware of in the next week, jinty? | 18:52 |
jinty | one big thing on my mind, db_upgrade | 18:52 |
th1a | Passwords! | 18:53 |
th1a | We forgot passwords, apparently. | 18:53 |
*** tvon|x31 has quit IRC | 18:54 | |
jinty | hmm.. it's good we're getting practice before 1.0 | 18:54 |
mgedmin | th1a, what do you mean? | 18:54 |
mgedmin | initial user for schoolbell? | 18:54 |
th1a | mgedmin: We forgot to include passwords in the db upgrade, right? | 18:54 |
*** tvon|x31 has joined #schooltool | 18:54 | |
*** tvon|x31 is now known as tvoff | 18:54 | |
mgedmin | th1a, which upgrade? | 18:55 |
*** __tvon__ has quit IRC | 18:55 | |
mgedmin | 0.8 -> 0.9 or 0.9 -> 1.0? | 18:55 |
th1a | In 0.8 - 0.9? Didn't you post about that? | 18:55 |
mgedmin | I think 0.8 -> 0.9 resets the manager's password, but retains passwords of other users | 18:55 |
th1a | Oh. OK. Never mind. | 18:55 |
jinty | otherwise bskahan was going to write the upgrade script? | 18:56 |
th1a | Yes. | 18:56 |
th1a | We're just not well represented on the US side today. | 18:57 |
th1a | It is a national holiday, by the way. Presidents' Day. | 18:57 |
jinty | no worries, just being sure about that | 18:57 |
th1a | Yes. | 18:57 |
th1a | They've allocated time to work on the upgrade. | 18:58 |
*** tvon|x31 has joined #schooltool | 18:58 | |
th1a | Well, this meeting, while somewhat slow and one sided, has given me a much clearer picture of where we are. | 18:58 |
jinty | Otherwise, im just worried that i've left out some piece of zope 3 that might be usefull in schoolbell 0.10 | 18:59 |
jinty | from the tarball, that is. | 18:59 |
gintas | I don't think that is probable | 18:59 |
tvon|x31 | happy Presidents' day | 18:59 |
jinty | yay! | 19:00 |
* jinty is relieved | 19:00 | |
th1a | OK. There's the bell. Class is dismissed. | 19:00 |
* mgedmin runs for the door | 19:00 | |
* tvon|x31 waits to poof from existance | 19:01 | |
* gintas runs out | 19:01 | |
gintas | literally | 19:01 |
* jinty goes to give the teacher an apple | 19:01 | |
tvon|x31 | teachers pet! | 19:01 |
* jinty smiles shyly | 19:01 | |
tvon|x31 | sure, now I'm staying connected... | 19:02 |
jinty | th1a: I discovered scipy.ga and decided writing a very bad genetic algorithim solver might not be so hard | 19:03 |
Workblia | GA are EZ as pie ;) | 19:04 |
jinty | the hardest part being the fitness function, which I have to do anyway for the interactive gui | 19:04 |
jinty | Workbila: I hope!!! you got any hints? | 19:05 |
th1a | jinty: Interesting. | 19:06 |
jinty | just to let you know. | 19:06 |
*** tvoff has quit IRC | 19:10 | |
*** tvon|x31 has quit IRC | 19:13 | |
*** tvon|x31 has joined #schooltool | 19:13 | |
*** gintas has quit IRC | 19:18 | |
*** __tvon__ has joined #schooltool | 19:47 | |
__tvon__ | I asked earlier but I think I was in wifi limbo.. If I add a new file (app/notes.py) do I need to do anything special to get doctests to run in it? | 19:48 |
__tvon__ | I moved all the note goodies in there but none of the class doctests seem to want to run | 19:48 |
alga | yes | 19:48 |
alga | basically, you need to add it to some test suite | 19:48 |
alga | look at schoolbell/app/tests/test_app.py for examples | 19:49 |
__tvon__ | aha | 19:49 |
__tvon__ | I see it, thanks | 19:49 |
*** tvon|x31 has quit IRC | 19:50 | |
alga | now that I think of it, a new module asks for a new test module | 19:50 |
__tvon__ | I have a test_notes.py in there already, but I hadn't added doctest.DocTestSuite('schoobell.app.notes') | 19:51 |
*** __tvon__ is now known as tvon | 19:53 | |
*** gintas has joined #schooltool | 20:15 | |
tvon | IRT the content tag in zcml for Notes, do I need to define read/write interfaces? | 20:18 |
tvon | similar to IPersonRead/Write? | 20:18 |
mgedmin | no | 20:19 |
mgedmin | yes | 20:19 |
mgedmin | let me check | 20:19 |
tvon | heh | 20:19 |
mgedmin | I think, either define two interfaces | 20:20 |
mgedmin | or just assign permissions to attributes | 20:20 |
tvon | okay | 20:20 |
mgedmin | <require permission="..." attributes="__iter__" /> | 20:20 |
mgedmin | <require permission="..." attributes="add remove clear" /> | 20:21 |
tvon | how about for Note? since it's just a few fields | 20:21 |
tvon | title/body namely | 20:22 |
mgedmin | <require permission="readonlyperm" interface=".interfaces.INote" /> | 20:24 |
mgedmin | <require permission="writableperm" set_schema=".interfaces.INote" /> | 20:25 |
tvon | ah | 20:25 |
tvon | lovely | 20:25 |
mgedmin | assuming that notes are editable | 20:25 |
mgedmin | if you just create them once, and pass title/body to the constructor | 20:25 |
mgedmin | and then never change those attributes, then you don't need <req... set_schema> | 20:25 |
tvon | okay | 20:26 |
tvon | How should I handle making notes available in the UI? A base class with some fetching method for group/person/resource to inherit? | 20:27 |
tvon | well... and calendar maybe, and event.. not sure what should be notable yet | 20:27 |
tvon | or is this more zcml voodoo? | 20:27 |
th1a | Notes for events, not calendars. | 20:28 |
* tvon nods | 20:28 | |
tvon | yeah, calendars doenst make much sense | 20:28 |
mgedmin | don't touch base classes | 20:28 |
mgedmin | touch only views | 20:29 |
mgedmin | note that events are not annotatable now | 20:29 |
tvon | I mean a base view class | 20:29 |
mgedmin | let me think | 20:29 |
mgedmin | what sorts of objects will have notes? | 20:30 |
tvon | its not too elegant, ideally something somewhere could just "figure it out" when the context is IAnnotatable | 20:30 |
tvon | though in that case we'd want INotable | 20:31 |
mgedmin | perhaps mark them with a marker interface IHaveNotes | 20:31 |
mgedmin | then register a view for IHaveNotes | 20:31 |
mgedmin | then perhaps add a chunk at the bottom of the page macro | 20:31 |
th1a | For SchoolTool, attaching notes to people is important, but for SchoolBell, the most important thing would be notes for events. | 20:31 |
mgedmin | tal:define="notes context/@@notes|nothing" | 20:31 |
mgedmin | you could, in theory, register the @@notes view for IAnnotatable | 20:32 |
tvon | I think thats too broad | 20:32 |
mgedmin | so do I | 20:32 |
mgedmin | therefore I suggest IHaveNotes(IAnnotatable) | 20:32 |
tvon | okay | 20:33 |
tvon | I like that | 20:33 |
mgedmin | "notable" means something completely different in English, right? | 20:33 |
tvon | it can, yes | 20:33 |
tvon | IHaveNotes sounds better anyways | 20:33 |
tvon | you can say it with a wink :) | 20:33 |
mgedmin | by the way, if tal:define="notes context/@@notes|nothing" raises ComponentLookupErrors despite |nothing | 20:34 |
mgedmin | then register a @@notes view for="*" that always renders to an empty string | 20:34 |
* mgedmin pauses | 20:34 | |
mgedmin | do you know how menu views work? | 20:34 |
mgedmin | or @@absolute_url | 20:35 |
mgedmin | ? | 20:35 |
tvon | not really, I know you can add stuff to zcml | 20:35 |
mgedmin | you could do the same thing | 20:35 |
mgedmin | just define a view named 'notes' that has an __iter__ which returns all notes | 20:35 |
mgedmin | then do the rendering in the page macros | 20:35 |
mgedmin | <div tal:define="notes context/@@notes" tal:condition="notes"> | 20:35 |
mgedmin | <h4>Notes</h4> | 20:35 |
tvon | I think I get it | 20:36 |
mgedmin | <div class="note" repeat="note notes" tal:content="note">Text</div> | 20:36 |
mgedmin | etc | 20:36 |
tvon | it's all starting to make... sense | 20:38 |
mgedmin | actually... | 20:39 |
mgedmin | <div tal:define="notes context/@@notes" tal:onerror="nothing> | 20:39 |
mgedmin | <h4>Notes</h4> | 20:39 |
mgedmin | <tal:for repeat="note notes">...</tal:for> | 20:39 |
mgedmin | <form action="@@add_note.html" method="post"> | 20:40 |
mgedmin | ... | 20:40 |
mgedmin | </form> | 20:40 |
mgedmin | </div> | 20:40 |
mgedmin | then define the 'notes' view only for IHaveNotes objects | 20:40 |
mgedmin | tal:onerror will hide this div if context does not provide IHaveNotes... I think | 20:40 |
tvon | I register a view for an interface with <page..? | 20:42 |
mgedmin | I think so | 20:43 |
tvon | k | 20:43 |
mgedmin | <browser:page> | 20:43 |
mgedmin | does <browser:view> even exist these days? did it ever exist? | 20:43 |
tvon | we don't seem to have one | 20:43 |
tvon | btw, in z3 does every dir need a configure.zcml or do we have it setup like that for the sake of keeping things clean? | 20:44 |
mgedmin | yes | 20:44 |
mgedmin | (the clean bit) | 20:44 |
tvon | okay | 20:44 |
mgedmin | jinty, what's the status of pathconfig.py in schoolbell 1.0 pre? | 20:46 |
mgedmin | I assume it is not necessary, right? | 20:46 |
jinty | No, though removing it will break setup.py. But thats easily fixable through a dirty hack | 20:46 |
jinty | you want to get rid of it? | 20:47 |
mgedmin | I was wondering whether I can continue to use os.path.dirname(__file__) in python code | 20:48 |
*** tvon has left #schooltool | 20:49 | |
jinty | I dunno, depends whether you want it to go in /usr/share or usr/lib | 20:49 |
*** tvon has joined #schooltool | 20:49 | |
jinty | but from what I see of zope, it installs in usr/lib and expects it's modules to as well | 20:50 |
mgedmin | yeees... and zope puts all page templates and images in usr/lib too | 20:50 |
jinty | ugh! | 20:51 |
* mgedmin just got a wonderful error message from subversion | 20:51 | |
mgedmin | "copy (cp): Duplicate something in working copy or repository, remembering history." | 20:51 |
mgedmin | wtf? | 20:51 |
tvon | thats a new one to me | 20:51 |
* jinty is clueless | 20:51 | |
jinty | don't worry, when baz comes along you will have to start learning all over again:) | 20:52 |
tvon | I'm not convinced about distributed VC but I'm more than willing to give baz a spin | 20:54 |
* mgedmin has experienced baz | 20:54 | |
tvon | mgedmin: launchpad? | 20:54 |
* mgedmin nods | 20:54 | |
tvon | waddaya think? | 20:54 |
mgedmin | it's not ready yet | 20:54 |
tvon | heh | 20:54 |
mgedmin | it doesn't scale down nicely | 20:54 |
mgedmin | svn status takes ages | 20:55 |
mgedmin | err, baz status takes ages | 20:55 |
tvon | ah | 20:55 |
mgedmin | etc. | 20:55 |
tvon | ever played with svk? | 20:55 |
mgedmin | baz eats gigs of disk space for caches that are supposed to speed things up, but it is still much slower than subversion | 20:55 |
mgedmin | I suppose there are use cases where baz is much better than svn (distributed development) | 20:56 |
tvon | anyone going to pycon aside form th1a ? | 21:01 |
* mgedmin shakes his head | 21:02 | |
tvon | mgedmin: not flyin over for it? :) | 21:02 |
tvon | pfft, some py hacker you are | 21:02 |
alga | US is evil! | 21:02 |
tvon | hehe | 21:02 |
alga | security conscious people don't go there | 21:02 |
alga | :) | 21:03 |
th1a | We don't let just anyone in the country. | 21:03 |
tvon | haha | 21:03 |
* jinty comes back from 5 min typing break | 21:04 | |
jinty | not unless I learn how to long distance swim | 21:05 |
alga | Schooltool probably violates some 50 patents on Internet calendaring ;-) | 21:05 |
mgedmin | jinty, you could walk along the bottom | 21:05 |
tvon | hah, if they had us all in one place there would surely be a raid | 21:05 |
tvon | any long distance partipants in the various pre-con sprints? | 21:06 |
* jinty thinks for a while then decides thats a bad idea | 21:06 | |
jinty | mgedmin: one day I'll try to extend pathconfig use in schoolbell. | 21:08 |
mgedmin | jinty, I think the right place to start would be Zope 3 | 21:08 |
mgedmin | things like zcml and ViewPageTemplateFile | 21:08 |
mgedmin | I wish you good luck ;-) | 21:09 |
* jinty is afraid | 21:09 | |
mgedmin | if you want FHS-cleanliness, then putting everything except for .so's in /usr/share seems to me to be the easiest way | 21:09 |
* tvon hears the lunch bell ring | 21:11 | |
jinty | hmm... perhaps this is just a zope3 packaging issue | 21:11 |
tvon | bbiab | 21:11 |
* tvon notes that the wifi has been fairly reliable since the meeting ended | 21:11 | |
tvon | it hates me | 21:11 |
*** tvon has left #schooltool | 21:11 | |
jinty | after what you said about the zope3 .so's | 21:11 |
jinty | sounds like zope itself should be installed in /usr/share | 21:12 |
jinty | but I really am speculating now | 21:13 |
mgedmin | jinty, have you tried to talk with zope 3 folks about FHS? | 21:13 |
jinty | nope, probably a good place to start though. but another day. | 21:15 |
* jinty is trying to concentrate on timetabling | 21:18 | |
*** bskahan has joined #schooltool | 21:23 | |
bskahan | sorry about missing the meeting | 21:25 |
bskahan | hoped to be able to get here and get setup earlier | 21:25 |
th1a | So SB 1.0 external dependencies will be only Python 2.3.4 (2.3.5?)? | 21:29 |
mgedmin | Zope 3? | 21:30 |
mgedmin | maybe libxml2, if we have time to finish restive views | 21:30 |
th1a | Ah, that's what I was wondering. | 21:30 |
th1a | That's where you use libxml2? | 21:31 |
bskahan | droppping PIL? | 21:31 |
mgedmin | yeah, I don't think we need to do image resizing on the server side | 21:31 |
th1a | Well, we'll probably want to do it eventually. | 21:31 |
th1a | But it isn't a priority now. | 21:31 |
bskahan | there was actually a UI idea Tom and I were kicking arund that would make it useful | 21:31 |
bskahan | having the user's image visible on all of the pages under that user as context (probably a small thumbnail at the top of the left column) | 21:32 |
bskahan | /persons/bskahan, /persons/bskahan/calendar /persons/bskahan/@@edit, etc | 21:33 |
mgedmin | sounds nice, but I don't think we'll have time to do that before 1.0 | 21:34 |
bskahan | agreed | 21:34 |
th1a | Yeah. We should get back to it, especially since schools actually have pictures of everyone. | 21:34 |
* bskahan is leeching wifi off the retirement home office | 21:35 | |
*** bskahan has quit IRC | 21:38 | |
*** tvon has joined #schooltool | 21:45 | |
mgedmin | ./schoolbell-server.py now starts the new zope3-based server | 22:39 |
mgedmin | and has a 'manager' user (password: schoolbell) | 22:39 |
mgedmin | good night | 22:39 |
jinty | night | 22:39 |
*** mgedmin has quit IRC | 22:39 | |
tvon | nighty | 22:57 |
*** mgedmin has joined #schooltool | 23:38 | |
*** hazmat has joined #schooltool | 23:39 | |
*** jinty has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!