*** roym has quit IRC | 00:05 | |
*** jhauser has quit IRC | 00:06 | |
*** J1m has joined #zope3-dev | 00:09 | |
*** RockyBurt has joined #zope3-dev | 00:13 | |
RockyBurt | srichter: still in egg ? | 00:13 |
---|---|---|
*** J1m has quit IRC | 00:35 | |
*** zagy has quit IRC | 00:35 | |
srichter | RockyBurt: hi there | 00:44 |
*** Aiste has joined #zope3-dev | 00:44 | |
srichter | RockyBurt: did you have a good trip back? | 00:44 |
srichter | RockyBurt: I am actually sitting in Infare's office in Rotterdam | 00:44 |
RockyBurt | oh | 00:59 |
RockyBurt | i'm actually sitting in the montreal airport waiting for my flight to newfoundland | 01:00 |
RockyBurt | basically got 2 hour wait here | 01:01 |
RockyBurt | hm, $8 CAD for a full day of wifi at the montreal airport is not bad | 01:07 |
jenner | heh | 01:11 |
* RockyBurt heh's at jenner's heh | 01:12 | |
jenner | I just talked to a guy from st.petersburg who's waiting for his flight in frankfurt... he complained about 8 euros per _hoer_ :) | 01:12 |
jenner | hour even | 01:12 |
RockyBurt | lol | 01:12 |
RockyBurt | ouch! | 01:12 |
RockyBurt | i was close enough to a hotspot in frankfurt to connect anyhow (i could see the sid but couldn't connect) | 01:13 |
RockyBurt | err... *wasn't | 01:13 |
*** wrobel has quit IRC | 01:36 | |
*** vlado has joined #zope3-dev | 01:37 | |
*** jenner has quit IRC | 01:45 | |
*** sashav has quit IRC | 02:26 | |
*** vlado has quit IRC | 02:44 | |
*** natea has quit IRC | 02:53 | |
*** RockyBurt has quit IRC | 03:05 | |
*** tarek has quit IRC | 04:59 | |
*** sashav has joined #zope3-dev | 10:19 | |
*** wrobel has joined #zope3-dev | 10:25 | |
*** marchino has joined #zope3-dev | 11:02 | |
*** natea has joined #zope3-dev | 11:13 | |
*** jhauser has joined #zope3-dev | 11:15 | |
*** dobee has joined #zope3-dev | 11:16 | |
*** dobee has quit IRC | 11:32 | |
*** BjornT has quit IRC | 11:45 | |
*** BjornT has joined #zope3-dev | 11:51 | |
*** dobee has joined #zope3-dev | 11:55 | |
*** dobee has quit IRC | 12:03 | |
*** dobee has joined #zope3-dev | 12:16 | |
*** zagy has joined #zope3-dev | 12:20 | |
*** sashav has quit IRC | 12:33 | |
*** marchino_ has joined #zope3-dev | 12:39 | |
*** tarek has joined #zope3-dev | 12:49 | |
*** marchino has quit IRC | 12:49 | |
*** marchino has joined #zope3-dev | 13:01 | |
*** marchino_ has quit IRC | 13:01 | |
*** tarek has quit IRC | 13:26 | |
*** MacYET_ has joined #zope3-dev | 14:28 | |
*** MacYET_ has left #zope3-dev | 14:38 | |
*** d2m_ has joined #zope3-dev | 15:37 | |
*** J1m has joined #zope3-dev | 15:41 | |
srichter | J1m: how is the refactoring going? | 15:48 |
J1m | Haven't done much yet this weekend. | 15:49 |
srichter | ok | 15:50 |
*** _anguenot has quit IRC | 15:56 | |
*** tarek has joined #zope3-dev | 17:08 | |
*** d2m_ has quit IRC | 17:12 | |
*** d2m_ has joined #zope3-dev | 17:21 | |
*** suse-joe has joined #zope3-dev | 17:23 | |
*** jhauser has quit IRC | 17:24 | |
suse-joe | Hi! Is there an elegant way of getting to the Principal object of the logged-in user? I need that for changing the password. | 17:25 |
suse-joe | ATM I use: | 17:25 |
suse-joe | users = removeSecurityProxy(principals()['PrincipalFolder']) | 17:26 |
suse-joe | principal = users[self.request.principal.id[5:]] | 17:26 |
suse-joe | principal.password = data.password | 17:26 |
suse-joe | The [5:] removes the prefix "Users". Both getting the right principal folder and getting the actual principal don't look nice. And everything breaks if either the folder name or the prefix change. | 17:27 |
suse-joe | BTW: http://dev.zope.org/Zope3 is down. | 17:29 |
suse-joe | Ah, it's back now. | 17:29 |
*** jhauser has joined #zope3-dev | 17:35 | |
*** Aiste has quit IRC | 17:41 | |
*** natea has quit IRC | 17:49 | |
srichter | request.principal gives you the principal | 17:56 |
srichter | if that principal uses some sort of "user" object to get its data, you could listen to a IPrincipalCreated event and add the user | 17:57 |
srichter | we demonstrated how to do this with the homefolder | 17:57 |
suse-joe | So I'd add the user to the principal and then get to the object like this: userObject = request.principal.userObject ? | 17:59 |
suse-joe | srichter: homefolder? | 18:00 |
*** pcardune has joined #zope3-dev | 18:03 | |
srichter | zope.app.homefolder | 18:14 |
*** natea has joined #zope3-dev | 18:30 | |
*** Aiste has joined #zope3-dev | 18:30 | |
*** Aiste has quit IRC | 18:30 | |
*** philiKON has joined #zope3-dev | 18:43 | |
*** Aiste has joined #zope3-dev | 19:06 | |
*** Aiste has quit IRC | 19:06 | |
*** MrTopf has joined #zope3-dev | 19:21 | |
*** tiredbones has quit IRC | 19:27 | |
suse-joe | srichter: I don't see IPrincipalCreated mentioned in homefolder. | 19:29 |
*** Aiste has joined #zope3-dev | 19:43 | |
*** MrTopf has quit IRC | 19:44 | |
*** tarek has quit IRC | 19:50 | |
*** SiggyF has joined #zope3-dev | 20:12 | |
*** jenner has joined #zope3-dev | 20:24 | |
*** roman_ has joined #zope3-dev | 20:27 | |
*** batlogg has joined #zope3-dev | 20:33 | |
*** marchino has quit IRC | 20:51 | |
J1m | srichter, ayt? | 20:52 |
*** pcardune has quit IRC | 20:58 | |
*** philiKON has quit IRC | 21:00 | |
*** MrTopf has joined #zope3-dev | 21:10 | |
*** batlogg has quit IRC | 21:42 | |
*** suse-joe has left #zope3-dev | 22:12 | |
*** natea has quit IRC | 22:35 | |
*** fabiorizzo has joined #zope3-dev | 22:46 | |
*** dunny has joined #zope3-dev | 22:55 | |
*** xenru has quit IRC | 22:57 | |
*** dobee has quit IRC | 23:15 | |
srichter | J1m: yeah | 23:24 |
J1m | cab we get rid of zope.component.bbb? | 23:25 |
J1m | I can't tell how old it is. | 23:25 |
*** MJ has joined #zope3-dev | 23:25 | |
srichter | J1m: sure, no that we agreed on the deprecation time | 23:25 |
srichter | It was new in 3.1 | 23:26 |
srichter | so based on the 2-release rule, it can go out | 23:26 |
*** zagy has quit IRC | 23:27 | |
*** jinty has joined #zope3-dev | 23:27 | |
J1m | k | 23:29 |
*** roman_ has quit IRC | 23:31 | |
*** roman__ has joined #zope3-dev | 23:31 | |
srichter | J1m: I was expecting this giving you a huge headache. :-) | 23:32 |
J1m | It's not a huge headache. | 23:32 |
srichter | are you getting the stuff done today? | 23:38 |
srichter | (and btw, yipee, I can watch the Superbowl on the German public TV station!!!) | 23:39 |
J1m | I'm working on it today. I won't finish today. | 23:39 |
srichter | ok | 23:42 |
srichter | btw, one of the Plone UI guys (not a programmer) told me and Roger that Zope 3 would be much more attractive if we had XSLT pipelines | 23:42 |
srichter | Roger and him worked out immediately some design ideas :-) | 23:42 |
srichter | since I know nothing about the topic, I want to read up on it. | 23:43 |
jenner | srichter: what's an XSLT _pipeline_? | 23:43 |
srichter | J1m: any good source for existing technologies? | 23:43 |
J1m | It all depends on what you want to do. | 23:43 |
srichter | jenner: Basically you define a pipe of XSLT transformations: original -> T1 -> T2 ... -> final | 23:44 |
srichter | well, I guess I need to read about the options then :-) | 23:44 |
*** roman__ has quit IRC | 23:44 | |
jenner | srichter: A, I see, a cleaner approach of current portal_transactions tool | 23:44 |
srichter | I have no idea of what portal_transactions are, but that does not sound like a name I would choose in that context | 23:45 |
jenner | err | 23:45 |
jenner | s/portal_transactions/portal_transforms | 23:45 |
srichter | yeah, that sounds more like it, though I think portal_transforms have different use cases | 23:46 |
jenner | html -> PDF or DocBook -> XHTML sounds like a perfect use case for XSLT | 23:47 |
srichter | the main objective is to generate views | 23:49 |
srichter | I do not know much about XSLT, so I can hardely say how it should work | 23:50 |
jenner | ah... so basically you'd render an object as XML by default (giving all its data at once) and applying a XSLT stylesheet to show only the relevant parts in a view | 23:51 |
srichter | something like that | 23:54 |
srichter | or, on the other hand, should be the template the first thing and the data and o-wrap are transformations | 23:55 |
srichter | or should the original form be even defined or is it up to the usage? | 23:55 |
srichter | I have many questions and no answers at this point | 23:56 |
jenner | up to the usage I'd say... actually the template already _is_ an XML representation of something (given the fact that it's ZPT, since ZPTs have to be well formed), so all you need is a stylesheet that transforms a general view into something more specific... think of a document view template wich displays all DC data, the document body, maybe even comments.. and and XSLT which just rips off the title, date and author and creates a macro which | 23:59 |
jenner | can be used in a viewlet | 23:59 |
jenner | sounds interesting :) | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!