*** jinty has joined #zope3-dev | 00:01 | |
*** dobee has quit IRC | 00:14 | |
*** SteveA has quit IRC | 00:17 | |
*** Aiste has quit IRC | 00:19 | |
*** zbir has quit IRC | 00:28 | |
*** jinty has quit IRC | 00:36 | |
*** ignas has quit IRC | 00:36 | |
*** ignas has joined #zope3-dev | 00:46 | |
*** sashav has quit IRC | 00:49 | |
*** alga has joined #zope3-dev | 00:52 | |
*** srichter has quit IRC | 00:55 | |
*** zmi_junkie has joined #zope3-dev | 01:00 | |
*** srichter has joined #zope3-dev | 01:05 | |
*** xenru has joined #zope3-dev | 01:05 | |
*** ChanServ sets mode: +o srichter | 01:05 | |
*** GaryPoster has quit IRC | 01:07 | |
xenru | Hello all | 01:09 |
---|---|---|
xenru | I'm install last Zope release and try to check API, but http://localhost:8080/++apidoc++ gimme 404 error | 01:10 |
xenru | It's not available by default? | 01:10 |
xenru | hmm, It was my problem | 01:20 |
*** zagy has quit IRC | 01:20 | |
*** romanofski is now known as rom|zZZ | 01:25 | |
*** benji has quit IRC | 01:26 | |
*** J1m has quit IRC | 01:40 | |
*** zmi_junkie has quit IRC | 01:42 | |
*** zmi_junkie has joined #zope3-dev | 01:48 | |
*** jhauser_ has quit IRC | 01:53 | |
*** yota has quit IRC | 02:08 | |
*** natea has quit IRC | 02:12 | |
*** pcardune has joined #zope3-dev | 02:22 | |
*** pcardune has quit IRC | 02:25 | |
*** ignas has quit IRC | 02:46 | |
*** zmi_junkie has quit IRC | 02:52 | |
*** ignas has joined #zope3-dev | 02:54 | |
*** zmi_junkie has joined #zope3-dev | 02:56 | |
*** glassbuttes has joined #zope3-dev | 03:20 | |
*** drzoltron_ has quit IRC | 03:24 | |
*** philiKON has quit IRC | 03:50 | |
*** deo has quit IRC | 04:43 | |
*** zbir has joined #zope3-dev | 05:12 | |
*** glassbuttes has quit IRC | 05:51 | |
*** natea has joined #zope3-dev | 06:08 | |
*** alga has quit IRC | 06:11 | |
*** MiUlEr has joined #zope3-dev | 06:26 | |
*** MiUlEr has quit IRC | 06:33 | |
*** ignas has quit IRC | 06:50 | |
*** tatatoto has joined #zope3-dev | 07:02 | |
*** tatatoto has left #zope3-dev | 07:02 | |
*** ignas has joined #zope3-dev | 07:02 | |
*** mfqr has joined #zope3-dev | 07:22 | |
mfqr | hey | 07:23 |
mfqr | im looking for j1m | 07:23 |
*** mfqr has quit IRC | 08:11 | |
*** natea has quit IRC | 08:19 | |
*** natea has joined #zope3-dev | 08:20 | |
*** ignas has quit IRC | 08:21 | |
*** dobee has joined #zope3-dev | 08:45 | |
*** philiKON has joined #zope3-dev | 09:21 | |
*** Aiste has joined #zope3-dev | 09:34 | |
*** tarek has quit IRC | 09:49 | |
*** Aiste has quit IRC | 10:03 | |
*** tahara has quit IRC | 10:04 | |
*** tahara has joined #zope3-dev | 10:07 | |
*** tahara has quit IRC | 10:11 | |
*** vlado has joined #zope3-dev | 10:58 | |
*** zagy has joined #zope3-dev | 11:07 | |
*** sashav has joined #zope3-dev | 11:08 | |
*** SteveA_ has joined #zope3-dev | 11:37 | |
*** rom|zZZ is now known as romanofski | 11:45 | |
romanofski | moin | 11:46 |
philiKON | moin | 11:48 |
*** yota has joined #zope3-dev | 12:13 | |
*** Aiste has joined #zope3-dev | 12:16 | |
*** sashav has quit IRC | 12:38 | |
*** alga has joined #zope3-dev | 12:46 | |
*** efrerich has joined #zope3-dev | 12:53 | |
*** vlado has quit IRC | 12:53 | |
*** dobee has quit IRC | 13:05 | |
*** zagy has quit IRC | 13:06 | |
*** Aiste has quit IRC | 13:20 | |
*** Aiste has joined #zope3-dev | 13:35 | |
*** vlado has joined #zope3-dev | 14:21 | |
*** pcardune has joined #zope3-dev | 14:35 | |
*** einheit_ has joined #zope3-dev | 14:43 | |
*** einheit_ is now known as SteveA | 14:43 | |
*** SteveA_ has quit IRC | 15:04 | |
*** dobee has joined #zope3-dev | 15:15 | |
*** pcardune has quit IRC | 15:42 | |
*** jenner has joined #zope3-dev | 15:56 | |
*** J1m has joined #zope3-dev | 16:00 | |
*** roym has joined #zope3-dev | 16:03 | |
roym | I am using the worldcookery cookie authenticate code to present a | 16:05 |
roym | login form to the user. Where would I be able to inject a | 16:05 |
roym | response.redirect for: | 16:05 |
roym | a) success | 16:05 |
roym | b) failure | 16:05 |
*** pcardune has joined #zope3-dev | 16:12 | |
*** sashav has joined #zope3-dev | 16:16 | |
*** roman_ has joined #zope3-dev | 16:20 | |
*** tarek has joined #zope3-dev | 16:24 | |
*** sashav has quit IRC | 16:32 | |
*** lunatik has joined #zope3-dev | 16:38 | |
*** klaus has joined #zope3-dev | 16:41 | |
*** jhauser has joined #zope3-dev | 16:44 | |
*** alga has quit IRC | 16:45 | |
*** lunatik has left #zope3-dev | 16:53 | |
*** mcdonc has joined #zope3-dev | 16:53 | |
*** lunatik has joined #zope3-dev | 16:54 | |
*** lunatik has left #zope3-dev | 16:54 | |
roym | Is it possible from the ZMI to protect a top-level folder, or is ZCML the only way to do this? | 16:54 |
roym | (ie: change permission from zope.Public to something else) | 16:55 |
*** alga has joined #zope3-dev | 16:55 | |
jenner | roym: login as manager and klick on "grant" in the top bar | 16:57 |
*** jhauser has left #zope3-dev | 16:58 | |
*** jhauser has joined #zope3-dev | 16:58 | |
roym | jenner: the only thing I see in the grant screen is a form for "Granting Roles and Permissions to Principals" | 17:00 |
jenner | roym: that's what you need | 17:00 |
J1m | roym, you can only define required permissions in zcml. | 17:01 |
roym | ah - thanks. | 17:01 |
jenner | ah, I thought you wanted to grant permissions... | 17:02 |
*** jhauser has left #zope3-dev | 17:02 | |
klaus | Hello, I have a problem in zope3: | 17:03 |
klaus | I have a browser view class that is based on multiple inheritance. | 17:03 |
klaus | If the superclasses have __init__() methods an error like | 17:03 |
klaus | File "/Applications/_openSource/Zope/Zope-3.1.0/build/lib.darwin-8.2.0-Power_Macintosh-2.4/zope/interface/adapter.py", line 481, in queryMultiAdapter | 17:03 |
klaus | return factory(*objects) | 17:04 |
klaus | TypeError: __init__() takes exactly 1 argument (3 given) | 17:04 |
klaus | occurs. | 17:04 |
klaus | I'm not so deep in the zope sources that I know what happens in adapter.py | 17:04 |
J1m | Normally, a view is called with 3 arguments: self, the thing being viewed and the request. | 17:09 |
J1m | This is documented in lots of places. | 17:09 |
*** jhauser has joined #zope3-dev | 17:10 | |
klaus | <J1m>thank you, may be this was the hint I needed. May be I need a coffee break too... | 17:13 |
*** brupp has joined #zope3-dev | 17:28 | |
klaus | <J1m> back from the coffee break: the problem is solved, thank you again. | 17:31 |
*** cursor has joined #zope3-dev | 17:31 | |
*** alga has quit IRC | 17:44 | |
*** _anguenot has joined #zope3-dev | 17:46 | |
roym | I am trying to use cookie authentication, and then take logged in | 17:54 |
roym | users to their (autocreated) homefolders. My authentication works, but | 17:54 |
roym | I am not sure where I can do the redirection to the homefolder. Can | 17:54 |
roym | someone help me with this please. | 17:54 |
*** jhauser_ has joined #zope3-dev | 18:10 | |
*** jhauser has quit IRC | 18:22 | |
roym | If I have a folder structure /A/B/C and I want A to be publicly | 18:34 |
roym | viewable but protect B and C, is this possible without making B and C | 18:34 |
roym | custom subclassses of Folder? I understand that the permissions have | 18:34 |
roym | to be defined in zcml, but it seems that it can only be done by type | 18:34 |
roym | and not by location. correct? | 18:34 |
srichter | well, not quite | 18:37 |
srichter | in ZCML you define the *permissions* that are required to access attributes of a class | 18:37 |
J1m | srichter, are you going to announce 3.2? | 18:37 |
srichter | via the grant screen (or local permission maps) you can say who has a permission in that context | 18:38 |
srichter | so you can explicitely deny the anonymous user zope.View for B and C | 18:38 |
srichter | J1m: yep | 18:38 |
roym | srichter: thanks - and if C is a child of B, then will restricting B be sufficient to restrict C? | 18:39 |
srichter | yes, I think so | 18:42 |
*** _anguenot has quit IRC | 18:45 | |
*** agroszer has joined #zope3-dev | 18:45 | |
J1m | srichter, ayt> | 18:56 |
J1m | ? | 18:56 |
srichter | yeah | 19:01 |
srichter | J1m: pong | 19:02 |
J1m | see my dialog to you | 19:02 |
J1m | :) | 19:02 |
*** tarek has quit IRC | 19:02 | |
*** klaus has quit IRC | 19:06 | |
*** romanofski has quit IRC | 19:42 | |
srichter | does anyone here know how to add properties to an instance instead inside a class | 19:44 |
srichter | ? | 19:44 |
srichter | J1m: do you know? | 19:46 |
J1m | as in Python descriptors? | 19:46 |
*** RockyBurt has joined #zope3-dev | 19:46 | |
srichter | no | 19:46 |
srichter | I have: | 19:46 |
J1m | as in Python properties? | 19:46 |
srichter | class Foo(object): pass | 19:46 |
srichter | foo = Foo() | 19:47 |
srichter | I want to add a property to foo | 19:47 |
J1m | I don't know what you mean by "property" | 19:47 |
srichter | foo.fieldname = FieldProperty(field) does not work | 19:47 |
srichter | because I can do: | 19:47 |
srichter | foo.fieldname = 42 | 19:47 |
srichter | foo.fieldname | 19:47 |
srichter | 42 | 19:48 |
srichter | instead, the property should be retained | 19:48 |
*** roman_ has quit IRC | 19:49 | |
srichter | J1m: so I want to add a property to an instance of Foo | 19:49 |
*** romanofski has joined #zope3-dev | 19:49 | |
J1m | FieldProperty is a descriptor. | 19:50 |
J1m | descriptors don't work on instances. | 19:50 |
srichter | oh, I see | 19:50 |
srichter | is there another trick I can use? | 19:50 |
J1m | You could make them work if you wrote a custom meta class. | 19:50 |
J1m | Not that I recommend that. | 19:51 |
srichter | ok, then that's too much overhead for what I want to do | 19:51 |
J1m | new-style ExtensionClass makes read-descriptors work on instances. | 19:51 |
srichter | ah, interesting | 19:52 |
srichter | is that because of ZClasses? | 19:52 |
J1m | No, it's because of __of__ | 19:52 |
srichter | ok, I am wuickly leaving familiar territory :-) | 19:53 |
jenner | ZClasses in zope3?? | 19:53 |
J1m | an ExtensionClass that has __of__ is turned into a read descriptor. | 19:53 |
J1m | jenner, no | 19:53 |
srichter | what does __of__ do? | 19:53 |
J1m | You're kidding. | 19:56 |
J1m | Among other things, it enables Acquisition. | 19:56 |
srichter | no, I probably knew once, but I really do not know anymore; Google tells me it gives you the acquisition context; is that right? | 19:56 |
J1m | It is the EC equivalent to __get__. | 19:57 |
srichter | ok | 19:57 |
*** deo has joined #zope3-dev | 20:04 | |
*** clueck has joined #zope3-dev | 20:20 | |
clueck | Hi, is the z3@codespeak.net mailinglist still alive? | 20:24 |
*** sashav has joined #zope3-dev | 20:41 | |
*** pcardune has quit IRC | 20:48 | |
*** jinty has joined #zope3-dev | 20:52 | |
*** deo has quit IRC | 20:57 | |
*** mcdonc has quit IRC | 21:30 | |
jenner | hm, are there any known problems with catalogs? When I'm trying to register a catalog through ZMI I get a ComponentLookupError: (<InterfaceClass zope.app.intid.interfaces.IIntIds>, '') | 21:32 |
jenner | oh, seems I need to create a unique id utility first | 21:33 |
*** agroszer has quit IRC | 21:33 | |
*** J1m has quit IRC | 21:41 | |
*** natea is now known as natea|away | 21:53 | |
*** romanofski has quit IRC | 21:58 | |
*** romanofski has joined #zope3-dev | 22:02 | |
*** romanofski has joined #zope3-dev | 22:03 | |
*** mcdonc has joined #zope3-dev | 22:13 | |
roym | How can I detect (either in zpt or a view) whether my session has expired? I have cookies enabled. | 22:13 |
*** zmi_junkie has joined #zope3-dev | 22:17 | |
*** natea|away is now known as natea | 22:35 | |
*** cursor has quit IRC | 23:35 | |
*** cursor has joined #zope3-dev | 23:36 | |
*** clueck has quit IRC | 23:45 | |
*** cursor has quit IRC | 23:47 | |
*** tarek has joined #zope3-dev | 23:49 | |
*** efrerich has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!