mgedmin | all schoolbell's unit and functional tests pass again with the latest zope 3 | 00:15 |
---|---|---|
alga | Rejoice! | 00:15 |
*** alga has quit IRC | 00:16 | |
*** Workblia is now known as Awayblia | 00:21 | |
mgedmin | my standalone app spike is broken, though | 00:22 |
*** mgedmin has quit IRC | 00:33 | |
*** tvon has joined #schooltool | 01:34 | |
*** mgedmin has joined #schooltool | 02:01 | |
*** Aiste has quit IRC | 02:02 | |
mgedmin | woohoo, yet another calendaring server: http://www.hula-project.org/index.php/Hula_Server | 02:06 |
th1a | I've got it running here. | 02:06 |
tvon | heh | 02:07 |
th1a | I was a bit bummed when I saw that today. | 02:08 |
tvon | yeah | 02:09 |
mgedmin | they've got good PR | 02:11 |
mgedmin | it's all over the blogosphere | 02:11 |
tvon | no kidding | 02:11 |
th1a | Nat Friedman is a rock star. | 02:11 |
*** hazmat has joined #schooltool | 02:11 | |
mgedmin | we have some advantages, though | 02:11 |
mgedmin | schoolbell is cross-platform, hula at the moment is linux-only | 02:11 |
tvon | would be nice if there was a z3 mailer out there somewhere | 02:11 |
mgedmin | schoolbell has iCal over WebDAV today, for hoola it is still planned | 02:12 |
th1a | Their calendaring isn't that far along. | 02:12 |
tvon | whats it written in? | 02:12 |
th1a | On the other hand, we're going to have to start working on things other than calendaring soon, anyhow. | 02:12 |
tvon | we have plans on doing a contact manager at some point | 02:13 |
tvon | well...that makes it sound pretty simple :) | 02:13 |
th1a | "We" meaning Etria? | 02:13 |
tvon | yeah | 02:13 |
th1a | Their calendar is oriented around creating meetings. | 02:14 |
mgedmin | it looks like hula is written in C | 02:14 |
tvon | ouch | 02:14 |
th1a | There's some C++ in there. | 02:14 |
th1a | And I can't imagine there won't be mono eventually. | 02:15 |
mgedmin | by the way, has anyone tried schoolbell on zope 3 lately? | 02:15 |
tvon | since the srichter merge? | 02:15 |
mgedmin | yes | 02:15 |
mgedmin | we fixed all unit and functional tests just before finishing work today | 02:16 |
tvon | it seems to work fine... z3schoolbell broke here in what I think is an unrelated way | 02:16 |
mgedmin | I noticed that z3schoolbell broke | 02:16 |
tvon | on hotshot.stats? | 02:16 |
mgedmin | due to the merge | 02:16 |
tvon | nm | 02:16 |
mgedmin | re hotshot.stats -- apt-get install python2.3-profiler | 02:16 |
mgedmin | it's a debian/ubuntu issue | 02:16 |
tvon | have it, no love | 02:16 |
tvon | yeah, figured it was ubuntu | 02:17 |
mgedmin | it turned out profile.py wasn't DFSG-free, so it was moved into a separate package and placed in nonfree | 02:17 |
tvon | oh, ignore me, that did fix it | 02:17 |
mgedmin | however z3schoolbell tries to import getServicesManager from zope.app.bootstrap, and fails | 02:17 |
tvon | stupid...was testing in 2.4 prompt | 02:17 |
tvon | ah, I've progressed to your traceback | 02:18 |
th1a | tvon: Are you guys ever going to check in some code? | 02:18 |
tvon | well it runs fine in z3 | 02:18 |
tvon | th1a: yes | 02:18 |
th1a | That's good. I worry. | 02:18 |
tvon | I know, I'm sorry we arent' more communicative | 02:18 |
tvon | are the ZMI actions going to be in the final UI? | 02:19 |
* mgedmin thinks we need more PR | 02:19 | |
tvon | view/metadata/etc... I know they won't be there like that exactly, but I noticed the calendar views have them too | 02:19 |
mgedmin | the open-source world is thirsty for a good calendaring server | 02:19 |
tvon | wondering if I should bother moving them or not | 02:19 |
mgedmin | maybe we could get tons of contributors... | 02:19 |
tvon | mgedmin: I think a SB 1.0 announcement on /. will do a lot | 02:20 |
mgedmin | tvon, fell free to get rid of zmi_views | 02:20 |
tvon | well...at least it will get a nice anti-zope flame thread going | 02:20 |
mgedmin | we should resurrect the daily/weekly/monthly/yearly icons on calendar pages | 02:20 |
tvon | okay | 02:21 |
th1a | I agree that we need more PR, and I'm going to work on that more seriously once SB 1.0 is out. | 02:21 |
tvon | I'm tweaking the ui bits right now | 02:21 |
th1a | Given the rather extreme nature of the current changes it isn't the best time to try to draw in new people. | 02:22 |
mgedmin | th1a, but do we have to wait for SB 1.0? | 02:22 |
mgedmin | perhaps we could attract interested developers by publishing sneak previews etc | 02:22 |
th1a | Actually, I think it is time to work up the buzz among Zope 3 developers. | 02:22 |
th1a | I was going to mention that to you. | 02:22 |
th1a | But having two separate implementations in one package (or a 0.9 that is quite different than 1.0 internally) seems pretty confusing to the general population. | 02:23 |
* mgedmin nods | 02:23 | |
th1a | I was going to suggest that you write an email to the Zope3-dev list and invite people to check out what we're doing. | 02:24 |
mgedmin | good idea, actually | 02:26 |
mgedmin | I will try to overcome come up with something tomorrow | 02:26 |
th1a | SchoolBell will be the biggest publically available Zope 3 application, right? | 02:27 |
tvon | most interesting at least | 02:28 |
mgedmin | could be | 02:28 |
mgedmin | launchpad is also interesting, but it is not publically available at the moment | 02:28 |
th1a | Right. | 02:29 |
tvon | yeah | 02:29 |
mgedmin | by the way, tomorrow is a national holiday in Lithuania | 02:29 |
mgedmin | do not be surprised by the lack of checkins | 02:29 |
th1a | OK. What's the occasion. | 02:29 |
mgedmin | Statehood Day | 02:29 |
tvon | should logins be working? | 02:29 |
mgedmin | Republic of Lithuania was established on Feb 16, 1918 | 02:29 |
mgedmin | tvon, don't they? | 02:30 |
mgedmin | alga was working on authentication | 02:30 |
mgedmin | my understanding was that if you create a schoolbell person with a username and a password | 02:30 |
mgedmin | then you should be able to use schoolbell's login form to log in as that user | 02:30 |
tvon | lemme try a fresh Data.fs | 02:30 |
mgedmin | http basic auth might interfere with that | 02:31 |
tvon | Okay, it works fine | 02:32 |
* tvon continues to borrow from the Plone UI | 02:32 | |
* mgedmin slightly dislikes plone's boxy look | 02:33 | |
* tvon agrees | 02:33 | |
tvon | especially after looking at Hula...I want to spice SB up a bit | 02:33 |
th1a | Hula's pretty plain. | 02:33 |
tvon | but, I'm mostly borrowing layout | 02:33 |
th1a | Perhaps cleaner. | 02:33 |
tvon | th1a: is the default install the same as the screenshots on the site? | 02:34 |
th1a | Yeah. | 02:34 |
tvon | ah | 02:34 |
th1a | They don't try to lay out the events spatially. | 02:34 |
th1a | It is just a list, as far as I can tell. | 02:34 |
mgedmin | I just fixed z3schoolbell.py | 02:47 |
mgedmin | however testz3sb.py reports a test failure | 02:47 |
tvon | cool | 02:47 |
mgedmin | I removed schoolbell-data.fs, and all tests passed | 02:50 |
tvon | lovely | 02:50 |
mgedmin | but I reran testz3sb.py and one test failed again | 02:50 |
mgedmin | perhaps something is wrong with the database clearing hack in z3schoolbell.py | 02:50 |
mgedmin | hmm | 02:51 |
mgedmin | WARNING:ZODB.DB:DB.open() has 11 open connections with a pool_size of 7 | 02:51 |
mgedmin | a couple of zope3 DatabaseOpenedEvent subscribers leak ZODB connections | 02:59 |
mgedmin | sporadic testz3sb.py failures are gone | 03:01 |
*** d2m has quit IRC | 03:07 | |
mgedmin | eek, my laptop is running out of RAM | 03:09 |
tvon | heh | 03:10 |
mgedmin | why do zope 3 tests need 400 MB of RAM to run??? | 03:10 |
tvon | jeebus | 03:10 |
mgedmin | 409, to be precise | 03:11 |
mgedmin | I was running ./test.py -pv zope in Zope3/ | 03:11 |
*** hazmat has quit IRC | 03:16 | |
tvon | z3 confusion... how might I get the url to the authenticated users calendar in tal? | 03:30 |
mgedmin | tvon, one moment | 03:35 |
*** hazmat has joined #schooltool | 03:36 | |
mgedmin | tal:define="authenticated_sb_person request/principal/schoolbell:person" | 03:36 |
mgedmin | tal:condition="authenticated_sb_person" | 03:36 |
mgedmin | tal:attribute="href authenticated_sb_person/calendar/@@absolute_url" | 03:37 |
tvon | lovely | 03:37 |
tvon | mgedmin: thanks | 03:37 |
mgedmin | authenticated_sb_person will be None if the logged in user is a zope 3 principal, or if no one is logged in | 03:38 |
mgedmin | view_macros.pt already has the 'request/principal/schoolbell:person' bit | 03:38 |
tvon | Do we have a plan for dealing with z3 principals? | 03:38 |
tvon | do we care? | 03:39 |
mgedmin | I would like schoolbell's login form to be able to work with z3 principals | 03:39 |
*** hazmat has quit IRC | 03:54 | |
*** hazmat has joined #schooltool | 04:42 | |
*** mgedmin has quit IRC | 05:00 | |
*** hazmat has quit IRC | 05:23 | |
*** jdub has joined #schooltool | 05:38 | |
jdub | morning dudes | 05:38 |
*** jdub has left #schooltool | 05:38 | |
*** hazmat has joined #schooltool | 06:00 | |
*** hazmat has quit IRC | 06:18 | |
th1a | tvon: I'm going to do a demo for some teachers at LinuxWorld tomorrow, and I just noticed something. | 06:18 |
th1a | I created an event in a location, but the event doesn't show up on the location's calendar. | 06:19 |
*** SteveA has joined #schooltool | 08:49 | |
*** tvon has quit IRC | 09:27 | |
*** d2m has joined #schooltool | 09:40 | |
*** hazmat has joined #schooltool | 09:45 | |
*** tvon has joined #schooltool | 10:04 | |
*** SteveA has quit IRC | 10:51 | |
*** SteveA has joined #schooltool | 10:54 | |
*** SteveA has quit IRC | 12:11 | |
*** SteveA has joined #schooltool | 12:15 | |
*** SteveA_ has joined #schooltool | 13:06 | |
*** SteveA has quit IRC | 13:12 | |
*** SteveA_ is now known as SteveA | 13:12 | |
*** hazmat has quit IRC | 13:16 | |
*** hazmat has joined #schooltool | 13:44 | |
*** faassen has joined #schooltool | 14:21 | |
*** SteveA_ has joined #schooltool | 14:30 | |
*** SteveA has quit IRC | 14:31 | |
*** SteveA__ has joined #schooltool | 14:31 | |
*** SteveA__ is now known as SteveA | 14:33 | |
*** SteveA_ has quit IRC | 14:39 | |
*** hazmat has quit IRC | 15:05 | |
*** mgedmin has joined #schooltool | 15:28 | |
*** faasse1 has joined #schooltool | 15:51 | |
*** faassen has quit IRC | 16:00 | |
*** SteveA has quit IRC | 16:00 | |
*** th1a has quit IRC | 16:07 | |
faasse1 | 16:10 | |
faasse1 | hm.. | 16:10 |
*** faasse1 has left #schooltool | 16:11 | |
*** SteveA has joined #schooltool | 16:15 | |
*** SteveA_ has joined #schooltool | 17:03 | |
*** SteveA has quit IRC | 17:14 | |
*** tvon has quit IRC | 17:47 | |
*** faassen has joined #schooltool | 17:49 | |
*** SteveA__ has joined #schooltool | 18:32 | |
*** SteveA_ has quit IRC | 18:38 | |
*** faassen has quit IRC | 18:41 | |
*** tvon has joined #schooltool | 18:48 | |
tvon | pytz is in the z3 source tree now | 18:49 |
mgedmin | jinty will be happy, I think | 18:53 |
tvon | I'm stuck on a busted ftest here. I changed the main page macro and I'm getting a big ol traceback on login.txt... however the '?' line is the Content-Length | 18:55 |
tvon | - Content-Length: ... vs + Content-Length: 2529 | 18:55 |
tvon | http://paste.plone.org/714 | 18:56 |
tvon | The ellipsis there is correct, yes? | 18:56 |
tvon | my changes are here: http://paste.plone.org/715 | 19:00 |
mgedmin | ignore that, the diff generator is not smart enough | 19:01 |
tvon | ignore the ftest error? | 19:02 |
mgedmin | ignore that diff line | 19:02 |
mgedmin | I found it best to debug ftests errors like this by removing most of the ftest | 19:03 |
mgedmin | and then adding it back a couple of lines at a time | 19:03 |
mgedmin | until I know which lines cause the failure | 19:03 |
tvon | ah, so the '?' on the Content-Length isn't really the issue? | 19:03 |
mgedmin | no, it's a red herring | 19:04 |
tvon | allrighty | 19:04 |
mgedmin | Set-Cookie is at fault here | 19:04 |
* mgedmin looks at the changes now | 19:05 | |
mgedmin | you only changed the template, right? | 19:05 |
mgedmin | it could be that there was a change made to Zope 3 that now causes functional doctests to include cookie setting headers in the output | 19:05 |
mgedmin | I will try running that test on a clean checkout | 19:05 |
tvon | It passes on a clean checkout here | 19:06 |
mgedmin | then I would like to know which of your changes causes the cookie to be set | 19:06 |
mgedmin | could you paste the full test output? | 19:07 |
tvon | sure | 19:07 |
mgedmin | ftests pass for me in a clean checkout | 19:08 |
tvon | I reverted my 1 line change to login.txt btw | 19:10 |
tvon | http://paste.plone.org/716 | 19:10 |
tvon | hrm, shouldnt have | 19:11 |
tvon | Okay, this is based on the diff I pasted before: http://paste.plone.org/717 | 19:12 |
tvon | the <p> tag line matches with this one | 19:12 |
mgedmin | the first important diff is the Set-Cookie header | 19:13 |
mgedmin | try adding Set-Cookie: ... to the ftest and see if it passes now | 19:13 |
tvon | no question mark, still fails | 19:16 |
tvon | paste? | 19:16 |
mgedmin | yes, please | 19:18 |
*** tvon|x31 has joined #schooltool | 19:19 | |
mgedmin | I see, it does not find the 'User: Unauthenticated User' text in the output | 19:19 |
*** tvon has quit IRC | 19:19 | |
tvon|x31 | connection crapped out there fora moment | 19:19 |
tvon|x31 | http://paste.plone.org/718 is with the set-cookie. it still fails | 19:19 |
*** tvon|x31 is now known as tvon | 19:20 | |
tvon | ahhh,I know what that is | 19:20 |
mgedmin | you changed page macros | 19:20 |
tvon | yeah, moved the User....gah | 19:20 |
mgedmin | you need to remove the 'User: Unauthenticated User' bit from the ftest | 19:20 |
mgedmin | afaics you page macros do not show the title of the principal if it is not a schoolbell person | 19:21 |
mgedmin | which is, perhaps, not good | 19:21 |
mgedmin | as now there won't be an indication whether you are logged in as a zope manager, or not | 19:21 |
*** tvon has quit IRC | 19:28 | |
*** tvon has joined #schooltool | 19:35 | |
* tvon reads logs | 19:36 | |
tvon | No, the macros entirely ignore ZMI users... could put something somewhere to indicate if it is a ZMI user | 19:37 |
mgedmin | yes please | 19:39 |
mgedmin | I think just showing request/principal/title would be enough | 19:39 |
tvon | Okay | 19:39 |
tvon | hrm.. it's going to display 'Unauthenticated User' for anon views for the time being | 19:45 |
mgedmin | hm... | 19:46 |
tvon | really I just think "Unauthenticated" is a bit too tech for most people | 19:48 |
*** SteveA__ is now known as STeveA | 19:51 | |
*** STeveA is now known as SteveA | 19:51 | |
mgedmin | hide itm then | 19:52 |
mgedmin | s/m/,/ | 19:52 |
mgedmin | I only want titles of authenticated users | 19:52 |
tvon | aight | 19:52 |
mgedmin | even if they are not schoolbell persons | 19:52 |
mgedmin | there should be a way to determine if request.principal is an authenticated user or not | 19:52 |
mgedmin | do any of zope3 templates distinguish between them? | 19:53 |
tvon | not that I'm finding | 19:59 |
tvon | er, it has to | 20:02 |
mgedmin | it does that in view code | 20:04 |
mgedmin | if IUnauthenticatedPrincipal.providedBy(self.request.principal): | 20:05 |
tvon | ah, rotterdam | 20:05 |
tvon | was looking at zopetop | 20:05 |
mgedmin | look at src/zope/app/security/browser/loginlogout.txt | 20:05 |
tvon | ah | 20:05 |
mgedmin | ok, I suggest the following | 20:06 |
mgedmin | for now, just display principal/title unconditionally | 20:06 |
mgedmin | I will add a function to the schoolbell TALES namespace | 20:06 |
mgedmin | then you can modify view_macros to check | 20:06 |
tvon | Sounds good | 20:06 |
mgedmin | tal:condition="request/principal/schoolbell:authenticated" | 20:06 |
mgedmin | by the way, does tal:attributes="href person/calendar/@@absolute_url" work in page templates? | 20:08 |
mgedmin | I think it should, but there might be missing security declarations or other snags | 20:09 |
mgedmin | so if you've already used it in your view macros, and saw that it works, I'd be happy to hear the confirmation | 20:09 |
tvon | yup, works fine | 20:09 |
mgedmin | ok, I will use it as an example in a docstring of SchoolBellAPI | 20:11 |
tvon | k, it's going in | 20:15 |
tvon | zmi views removed, personal toolbar improved | 20:16 |
tvon | going to walk a dog, bbiab | 20:16 |
*** hazmat has joined #schooltool | 20:25 | |
mgedmin | I love unit tests! | 20:25 |
mgedmin | I always say that when I make an incredibly stupid mistake in my code, and tests catch it | 20:25 |
mgedmin | tvon, schoolbell:authenticated is now checked in | 20:26 |
* mgedmin accidentally blew up the Zope3 subdir and now has to wait until svn up brings it back | 20:28 | |
* mgedmin looks at tvon's changes | 20:37 | |
mgedmin | black user name on dark red background is barely visible | 20:38 |
mgedmin | I wonder if I can paste screenshots to paste.plone.org... | 20:41 |
mgedmin | nope | 20:42 |
*** tvon has quit IRC | 20:43 | |
*** tvon has joined #schooltool | 20:46 | |
tvon | yeesh | 20:46 |
tvon | mgedmin: shift-reload it, the color is set in CSS | 20:47 |
tvon | (its white) | 20:47 |
mgedmin | oh | 20:49 |
* mgedmin feels stupid | 20:49 | |
mgedmin | I prefered when username was displayed above the red bar, though | 20:49 |
mgedmin | now it looks like one of the links | 20:49 |
mgedmin | only the font is different | 20:49 |
tvon | its going to link to the user page | 20:50 |
tvon | persons/user/ | 20:50 |
tvon | I just forgot to actually do it | 20:50 |
mgedmin | ah | 20:50 |
mgedmin | is it going to be in the same font as the other links? | 20:51 |
tvon | yes | 20:51 |
mgedmin | great | 20:51 |
tvon | so did you want Anonymous displayed for anonymous? or nothing? | 20:51 |
mgedmin | either | 20:52 |
mgedmin | I don't much care | 20:52 |
tvon | k | 20:52 |
mgedmin | as long as I can distinguish anonymous from zope sample manager | 20:52 |
tvon | gotcha | 20:52 |
tvon | the differene with ':authenticated' is that it handles the ZMI users as well? | 20:52 |
mgedmin | yes | 20:52 |
tvon | lovely | 20:52 |
mgedmin | perhaps this should be documented somewhere | 20:52 |
mgedmin | not:request/principal/schoolbell:authenticated --> anonymous | 20:53 |
mgedmin | request/principal/schoolbell:person -> schoolbell user | 20:53 |
mgedmin | neither -> regular zope user | 20:53 |
* mgedmin thinks for a moment | 20:53 | |
mgedmin | there is something called 'principal annotations' in zope | 20:53 |
mgedmin | perhaps it should be used to store schoolbell's user preferences | 20:54 |
tvon | hmm | 20:54 |
mgedmin | then it would be possible to, e.g., use an LDAP user source | 20:54 |
mgedmin | on the other hand, principals which are not schoolbell users will not have calendars | 20:54 |
mgedmin | they might have permissions to alter calendars of schoolbell groups/resources, though | 20:55 |
tvon | the ZMI vs Schoolbell user thing confuses me a bit | 20:56 |
mgedmin | Zope has this notion of 'principals' | 20:57 |
mgedmin | there is an UnauthenticatedPrincipal | 20:58 |
mgedmin | you can define your own principals in ZCML files | 20:58 |
mgedmin | you can define principal folders in ++etc++site | 20:58 |
mgedmin | and schoolbell registers a Zope 3 utility that lets schoolbell persons authenticate as Zope 3 principals | 20:58 |
mgedmin | principals are primarily used for security | 20:59 |
mgedmin | a principal is granted a number of permissions | 20:59 |
tvon | so the SB persons can auth as Z3 principals, but not visa versa? | 21:00 |
mgedmin | SB persons can auth as Z3 principals | 21:00 |
mgedmin | the question whether Z3 prinipals can auth as SB persons is meaningless | 21:00 |
mgedmin | I think | 21:00 |
mgedmin | because there is no such thing as "authenticating as a SB person" | 21:01 |
* mgedmin got confused himself | 21:01 | |
tvon | heh | 21:01 |
mgedmin | ok, to use the zope 3 security machinery | 21:01 |
mgedmin | some bit of code has to call request.setPrincipal(principal) | 21:01 |
mgedmin | we have a bit of code that checks for a username & password stored in a session | 21:02 |
mgedmin | finds a schoolbell user with that username | 21:02 |
mgedmin | checks his password | 21:02 |
mgedmin | creates a temporary Principal object that has a reference to the schoolbell Person object | 21:02 |
mgedmin | and calls request.setPrincipal(temporary_principal_object) | 21:03 |
mgedmin | alga could explain this so much better | 21:03 |
mgedmin | he was working on authentication | 21:03 |
mgedmin | I can't claim I grok Zope 3 auth | 21:03 |
mgedmin | I see one important use case for a Zope 3 principal defined in zcml/wherever | 21:04 |
mgedmin | what if I forget the manager's password? | 21:04 |
mgedmin | it would be nice to be able to define an emergency user and set its password somewhere on the file system | 21:04 |
tvon | yeah | 21:04 |
mgedmin | so that the sysadmin that has access to the server running schoolbell can change the emergency user's password | 21:05 |
tvon | z2 has a way to do that at least, and I've had to use it before | 21:05 |
mgedmin | and reset manager's password | 21:05 |
* mgedmin nods | 21:05 | |
mgedmin | that's exactly what I was thinking about | 21:05 |
tvon | back to :authenticated.. | 21:06 |
mgedmin | do you have questions? | 21:07 |
tvon | (authenticated && person) == authed user, (!authenticated && !person) == ZMI user, (!authenticated && person) = anon? | 21:07 |
mgedmin | no | 21:07 |
mgedmin | (authenticated && person) == authed user, (!authenticated && !person) == anon, (authenticated && !person) = ZMI user | 21:08 |
mgedmin | (person is not None) implies authenticated | 21:08 |
mgedmin | so, !authenticated -> anon, person -> authed user, authenticated && !person -> ZMI user | 21:08 |
tvon | ah, okay | 21:08 |
mgedmin | I just noticed that weekly, monthly, and yearly calendar icons are the same | 21:12 |
mgedmin | bug? | 21:12 |
mgedmin | they all use week.png! | 21:12 |
tvon | yeah, noticed that... I'll take care of it | 21:13 |
mgedmin | ok | 21:13 |
mgedmin | it's a bug in view_macros.pt | 21:13 |
mgedmin | they all explicitly specify week.png | 21:13 |
mgedmin | tvon, why did you put "My calendar" into the red bar (we need a name for it) instead of the navigation menu? | 21:20 |
*** tvon has quit IRC | 21:21 | |
*** tvon has joined #schooltool | 21:27 | |
tvon | I'm thinking of it as a personal toolbar | 21:28 |
tvon | well.. left column is "site navigation" and toolbar is "tools specific to me"... but we could put it back in the left nav | 21:29 |
tvon | red bar == toolbar though, as far as terminology goes | 21:29 |
tvon | btw: missing '>' at end of app/browser/__init__.py:116 | 21:31 |
mgedmin | thanks | 21:33 |
mgedmin | what are tools in schoolbell? | 21:34 |
mgedmin | and what should site navigation box contain? | 21:34 |
mgedmin | the "Top" is a stopgap measure | 21:35 |
mgedmin | you can already go to the very top by clicking on the schoolbell logo | 21:35 |
tvon | yeah | 21:35 |
tvon | just added that | 21:35 |
*** jinty has joined #schooltool | 21:37 | |
* jinty starts to download the latest hoary livecd because 0.9 finally made it to hoary | 21:38 | |
*** tvon has quit IRC | 21:53 | |
*** tvon has joined #schooltool | 21:53 | |
tvon | ugh | 21:54 |
tvon | going to paste in what I said while I was unknowingly offline | 21:54 |
tvon | Okay, in my mind there is "site navigation" that doesnt change much depending on who is looking at it, there are "context actions" (like adding the viewed person to new groups), and "user tasks" | 21:54 |
tvon | "user tasks" are things you can prefix with 'My ' for the most part (my calendar, my preferences..) | 21:54 |
tvon | there is nothing preventing all of this from going inthe left nav, I just think it's sloppy to put it *all* there | 21:55 |
tvon | but for SchoolBell we don't have a lot going on in the left nav without it.. maybe Groups/People/Resources | 21:55 |
tvon | for SchoolTool there are of course more tasks and site navigation items, but I suppose we will have a whole new set of templates for that | 21:55 |
tvon | there... | 21:55 |
mgedmin | it might be a good idea to keep the navigation box short | 22:01 |
mgedmin | so that actions do not disappear too far down | 22:01 |
mgedmin | we could also put calendar navigation into that box | 22:01 |
mgedmin | heh, jwz on "groupware": http://www.livejournal.com/~jwz/444651.html | 22:05 |
*** hazmat has quit IRC | 22:10 | |
*** hazmat has joined #schooltool | 22:12 | |
*** tvon has quit IRC | 22:17 | |
*** bskahan has joined #schooltool | 22:47 | |
*** tvon has joined #schooltool | 22:53 | |
tvon | k, on a normal network now.. sorry for poofing off and on there | 22:55 |
*** d2m has quit IRC | 23:01 | |
*** d2m_ has joined #schooltool | 23:01 | |
*** d2m_ is now known as d2m | 23:01 | |
tvon | should a ZMI users logout link just be tal:attributes="href string:/@@logout.html" ? | 23:09 |
tvon | or should the normal schoolbell @@logout.html work for that eventually? | 23:10 |
* jinty notices his download is complete, fires up his makefile and prays | 23:19 | |
tvon | whatcha makin? | 23:23 |
jinty | LiveCD! based on hoary and 0.9 | 23:24 |
jinty | aarrgh! makefile died | 23:25 |
tvon | ah | 23:25 |
tvon | metadata or no, I think groups and resources need descriptions | 23:26 |
* mgedmin was playing around with javascript collapsable blog entries on http://mg.b4net.lt/planets/mg/ | 23:43 | |
mgedmin | I think just @@logout.html should eventually work for ZMI users too | 23:43 |
tvon | spiffy | 23:43 |
mgedmin | if it turns out to be infeasible, then will be the time to add complexity to page templates | 23:44 |
mgedmin | descriptions for groups and resources sound like a reasonable thing to add | 23:44 |
mgedmin | go for it | 23:44 |
tvon | okay | 23:44 |
tvon | I can't think of a good use for descriptions on persons | 23:45 |
mgedmin | I think just adding a Text field to IResource and IGroup will automatically add it to add/edit forms | 23:45 |
tvon | ah, lovely | 23:45 |
mgedmin | then it's just a line or two in the display templates | 23:45 |
tvon | yay zope | 23:45 |
mgedmin | "Hello, my name is foo and I usually work on frobnicating calendars in blah blah blah. Oh, and here's my calendar." | 23:46 |
mgedmin | probably not a very convincing use case for IPerson.description | 23:46 |
tvon | heh | 23:46 |
mgedmin | yesterday I had a thought that the top-level page should be customizable | 23:46 |
tvon | pagelet-esque? | 23:46 |
mgedmin | so that when you go to http://calendar.mycompany.intranet/ | 23:47 |
tvon | ah | 23:47 |
mgedmin | you see "Calendars for MyCorp Inc. etc." | 23:47 |
mgedmin | instead of a generic welcome message with three links | 23:47 |
tvon | is there a base Z3 document type at the moment? | 23:48 |
tvon | TTW editable | 23:48 |
mgedmin | I don't think so | 23:48 |
bskahan | don't want to put the community calendar back on the front page? | 23:48 |
tvon | though, in 0.9 we have the public calendar as the pseudo-front page | 23:48 |
mgedmin | bskahan, right, I had forgotten about that | 23:48 |
* mgedmin really should start using 0.9 | 23:49 | |
tvon | heh | 23:49 |
bskahan | do either of you have plone manager access to schooltool.org? | 23:49 |
bskahan | wanted to create a wiki page for usability brainstorming | 23:49 |
* mgedmin looks around for th1a | 23:50 | |
bskahan | useful applications of dynamic javascript in the calendar, etc | 23:50 |
mgedmin | I might have manager access -- I am not completely sure about that | 23:51 |
tvon | FYI, I'm ditching the 'h1' slot and naming it 'content-header' or something that makes more sense | 23:51 |
mgedmin | ok | 23:51 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!