| *** oferw has quit IRC | 00:10 | |
| *** alga has quit IRC | 00:14 | |
| *** jkakar_ is now known as jkakar | 00:16 | |
| *** WebMaven has joined #zope3-dev | 00:56 | |
| *** rcrafton has quit IRC | 01:05 | |
| *** J1m has quit IRC | 01:47 | |
| *** pbugni has quit IRC | 01:49 | |
| *** norro has quit IRC | 01:50 | |
| *** pbugni has joined #zope3-dev | 02:15 | |
| *** andrew_m has quit IRC | 02:17 | |
| *** yota has quit IRC | 02:23 | |
| *** alecm has quit IRC | 02:26 | |
| *** alecm has joined #zope3-dev | 02:26 | |
| *** b52laptop has quit IRC | 02:33 | |
| *** b52GM has joined #zope3-dev | 02:36 | |
| *** b52Centos has quit IRC | 02:40 | |
| *** b52laptop has joined #zope3-dev | 02:51 | |
| *** harobed has quit IRC | 03:03 | |
| *** b52laptop has quit IRC | 03:06 | |
| *** pbugni has quit IRC | 03:29 | |
| *** alecm has quit IRC | 03:30 | |
| *** b52GM has quit IRC | 03:44 | |
| *** febb has joined #zope3-dev | 03:47 | |
| *** b52GM has joined #zope3-dev | 03:55 | |
| *** febb has quit IRC | 04:01 | |
| *** xenru_ has joined #zope3-dev | 04:07 | |
| *** xenru_ has quit IRC | 04:20 | |
| *** ktwilight has joined #zope3-dev | 05:30 | |
| *** ktwilight_ has quit IRC | 05:44 | |
| *** rcrafton has joined #zope3-dev | 05:50 | |
| *** jsadjohnson has quit IRC | 06:02 | |
| *** tarek has joined #zope3-dev | 06:05 | |
| *** tarek has quit IRC | 06:06 | |
| *** niemeyer has quit IRC | 06:42 | |
| *** strichter has joined #zope3-dev | 07:09 | |
| *** srichter has quit IRC | 07:10 | |
| *** afd__ has joined #zope3-dev | 08:17 | |
| *** alecm has joined #zope3-dev | 08:19 | |
| *** tarek has joined #zope3-dev | 08:44 | |
| *** rcrafton has quit IRC | 08:45 | |
| *** deo has quit IRC | 08:52 | |
| *** alecm has quit IRC | 08:55 | |
| *** tarek has quit IRC | 09:01 | |
| *** d2m has joined #zope3-dev | 09:02 | |
| *** jukart has joined #zope3-dev | 09:26 | |
| *** CSWookie has quit IRC | 09:37 | |
| d2m | that zope3 trunk is broken again -- svn up removes all configure.zcml files from zope/app/fssync/ and subfolders -- who cares about that mess ? | 10:27 |
|---|---|---|
| d2m | in fact it removes all files from that folder but folders and .pyc are left over | 10:29 |
| *** pcardune_ has joined #zope3-dev | 10:47 | |
| *** BjornT_ has quit IRC | 11:03 | |
| philiKON | d2m: right | 11:05 |
| philiKON | d2m: zope.app.fssync is gone from the trunk | 11:06 |
| philiKON | d2m: and that's what svn does | 11:06 |
| *** pcardune_ has quit IRC | 11:06 | |
| philiKON | it won't remove files that you created that it doesn't know about | 11:06 |
| philiKON | (e.g. *.pyc files) | 11:06 |
| d2m | hey i did *not* create zopeskel/etc/packages-includes/zope.app.fssync* | 11:07 |
| *** Jell-O-Fishi has quit IRC | 11:11 | |
| d2m | philiKON: btw, svn does not say its gone from the trunk, it reports zope/app/fssync : External at revision 76718. | 11:11 |
| philiKON | so it has been converted to an external | 11:11 |
| philiKON | zopeskel/etc/package-includes/* are auto-generated | 11:12 |
| philiKON | with make | 11:12 |
| d2m | yes, but it won't get included on update | 11:12 |
| philiKON | do a make clean; make again | 11:12 |
| d2m | i run make, forgot to make clean -- thats depressing | 11:12 |
| d2m | looks like someone wants to force me into using zc.buildout | 11:13 |
| *** BjornT__ has quit IRC | 11:17 | |
| *** malthe has joined #zope3-dev | 11:19 | |
| *** andrew_m has joined #zope3-dev | 11:21 | |
| *** jfroche has joined #zope3-dev | 11:27 | |
| *** BjornT has joined #zope3-dev | 11:35 | |
| *** xenru has joined #zope3-dev | 11:36 | |
| *** ktwilight has quit IRC | 11:39 | |
| *** iam-vivek has joined #zope3-dev | 11:39 | |
| *** Aswin_S has joined #Zope3-dev | 11:39 | |
| *** ktwilight has joined #zope3-dev | 11:40 | |
| *** iam-vivek has quit IRC | 11:43 | |
| *** ktwilight_ has joined #zope3-dev | 11:44 | |
| *** jodok has joined #zope3-dev | 11:54 | |
| *** ktwilight has quit IRC | 11:58 | |
| *** kobold has joined #zope3-dev | 11:59 | |
| *** J1m has joined #zope3-dev | 12:03 | |
| *** jodok has quit IRC | 12:03 | |
| *** malthe has quit IRC | 12:08 | |
| *** malthe_ has joined #zope3-dev | 12:08 | |
| *** malthe_ has quit IRC | 12:10 | |
| *** malthe has joined #zope3-dev | 12:10 | |
| *** BjornT_ has joined #zope3-dev | 12:12 | |
| *** malthe has quit IRC | 12:15 | |
| *** philiKON_ has joined #zope3-dev | 12:15 | |
| *** malthe_ has joined #zope3-dev | 12:15 | |
| *** malthe has joined #zope3-dev | 12:15 | |
| *** jodok has joined #zope3-dev | 12:16 | |
| *** malthe_ has joined #zope3-dev | 12:17 | |
| *** philiKON has quit IRC | 12:23 | |
| *** pcardune_ has joined #zope3-dev | 12:25 | |
| *** malthe has quit IRC | 12:34 | |
| *** jodok has quit IRC | 12:38 | |
| *** jodok has joined #zope3-dev | 12:39 | |
| *** jsadjohnson has joined #zope3-dev | 12:40 | |
| *** harobed has joined #zope3-dev | 12:42 | |
| *** jukart has quit IRC | 12:43 | |
| *** Aswin_S has left #Zope3-dev | 12:44 | |
| *** malthe_ is now known as malthe|away | 12:49 | |
| *** jodok has quit IRC | 13:02 | |
| *** yvl has joined #zope3-dev | 13:13 | |
| dennis_ | i guess i will have to use python for this, but I would like (for example) my newscontainer viewlet to show for all interfaces except INoNews, rather than tagging ALL content with INews except for the 1 or 2 where I don't need it | 13:19 |
| dennis_ | (i.e. the for="" in zcml) | 13:19 |
| *** yota has joined #zope3-dev | 13:22 | |
| *** pcardune_ has quit IRC | 13:28 | |
| *** Jell-O-Fishi has joined #zope3-dev | 13:28 | |
| *** foxmjay has joined #zope3-dev | 13:36 | |
| *** J1m has quit IRC | 13:38 | |
| *** pcardune has joined #zope3-dev | 13:39 | |
| *** zagy has joined #zope3-dev | 13:58 | |
| *** zagy has quit IRC | 14:19 | |
| *** zagy has joined #zope3-dev | 14:24 | |
| *** WebMaven_ has joined #zope3-dev | 14:24 | |
| *** WebMaven__ has joined #zope3-dev | 14:26 | |
| *** WebMaven has quit IRC | 14:31 | |
| *** WebMaven_ has quit IRC | 14:33 | |
| *** zagy has quit IRC | 14:50 | |
| *** zagy has joined #zope3-dev | 14:52 | |
| *** zagy has joined #zope3-dev | 14:55 | |
| *** rcrafton has joined #zope3-dev | 14:55 | |
| *** ignas has joined #zope3-dev | 15:06 | |
| dennis_ | I have a trusted adapter with both view and edit permissions. I am using the principal signup example from the WC book, and my current user is given a role in my site; Anonymous users (configured globally) have no problem, but a logged-in user has no permissions to use the adapter at all, like the adapter only looks at the zope-wide permissions and not those of the context object of the site it is in, am I missing something? :) | 15:09 |
| dennis_ | otherwise it functions as expected, with regard to normal content | 15:11 |
| *** zagy has joined #zope3-dev | 15:12 | |
| *** xenru has quit IRC | 15:12 | |
| *** xenru has joined #zope3-dev | 15:13 | |
| dennis_ | if I drop into debug, I don't get ForbiddenAttribute, but: Unauthorized( <my_adapter_object>, '__iter__', 'mysite.ViewContent') -> the current principal definitely has ViewContent permission through a role through the authorisation annotations of my site, but NOT globally through principals.zcml. Truelly anonymous users configured through principals.zcml do have this permission and they function fine (can call __iter__) | 15:16 |
| *** harobed has quit IRC | 15:17 | |
| *** zagy has quit IRC | 15:18 | |
| dennis_ | OK self.context = self.__parent__ = context | 15:18 |
| dennis_ | need to read more carefully, thanks phillip :) | 15:19 |
| *** harobed has joined #zope3-dev | 15:21 | |
| *** strichter is now known as srichter | 15:23 | |
| *** ChanServ sets mode: +o srichter | 15:23 | |
| *** zagy has joined #zope3-dev | 15:23 | |
| *** ccomb has quit IRC | 15:42 | |
| *** schwendinger has joined #zope3-dev | 15:55 | |
| *** schwendinger has quit IRC | 16:08 | |
| *** schwendinger has joined #zope3-dev | 16:17 | |
| *** rcrafton has quit IRC | 16:58 | |
| *** zagy has quit IRC | 17:04 | |
| *** niemeyer has joined #zope3-dev | 17:29 | |
| *** oferw has joined #zope3-dev | 17:29 | |
| *** zagy has joined #zope3-dev | 17:36 | |
| *** niemeyer has quit IRC | 17:38 | |
| *** ccomb has joined #zope3-dev | 17:43 | |
| *** BjornT has quit IRC | 17:51 | |
| *** malthe|away is now known as malthe | 17:59 | |
| *** BjornT has joined #zope3-dev | 17:59 | |
| *** rcrafton has joined #zope3-dev | 18:09 | |
| *** oferw has quit IRC | 18:33 | |
| *** alecm has joined #zope3-dev | 18:59 | |
| *** harobed has quit IRC | 19:03 | |
| *** jukart has joined #zope3-dev | 19:03 | |
| *** whitmo has joined #zope3-dev | 19:17 | |
| *** whit has quit IRC | 19:17 | |
| *** drzoltron has joined #zope3-dev | 19:19 | |
| *** jhauser has joined #zope3-dev | 19:19 | |
| *** alecm has quit IRC | 19:19 | |
| *** schwendinger has quit IRC | 19:26 | |
| *** jodok has joined #zope3-dev | 19:29 | |
| *** zagy has quit IRC | 19:38 | |
| *** drzoltron has left #zope3-dev | 19:40 | |
| *** jukart has quit IRC | 19:41 | |
| *** malthe is now known as malthe|away | 20:04 | |
| *** schwendinger has joined #zope3-dev | 20:08 | |
| *** jfroche has quit IRC | 20:11 | |
| *** zagy has joined #zope3-dev | 20:17 | |
| *** afd__ has quit IRC | 20:22 | |
| *** xenru has quit IRC | 20:23 | |
| *** whitmo has quit IRC | 20:33 | |
| *** schwendinger has quit IRC | 20:54 | |
| *** stub has joined #zope3-dev | 20:58 | |
| *** rcrafton has quit IRC | 21:00 | |
| *** jukart has joined #zope3-dev | 21:11 | |
| *** pelle_ has joined #zope3-dev | 21:12 | |
| *** whit has joined #zope3-dev | 21:13 | |
| *** whit has quit IRC | 21:22 | |
| *** stub has quit IRC | 21:26 | |
| *** b52GM has quit IRC | 21:46 | |
| *** kobold has left #zope3-dev | 21:47 | |
| *** ayers has joined #zope3-dev | 21:55 | |
| ayers | Hello, I'm a newbie to Zope and I'm trying to solve an issue in Zope3. | 21:56 |
| ayers | I'm trying to implement an abstract class function and I wish to retrieve the schema object of Interface registered as the IContentType | 21:56 |
| ayers | i.e. I'm trying to retrieve the interface which I can use for the getFieldNamesInOrder() function in the abstact class super of the registered subclasses. | 21:56 |
| *** htd has joined #zope3-dev | 21:57 | |
| ayers | I've got the WebComponent Development with Zope3 here but all I can't seem to find the API to retrieve the interface registered as IContentType. | 21:59 |
| pcardune | ayers: what is the bigger picture that you are trying to accomplish? | 22:01 |
| *** b52GM has joined #zope3-dev | 22:02 | |
| pcardune | ayers: I'd try to help you but I don't quite understand your question | 22:03 |
| ayers | OK let my try... | 22:04 |
| ayers | I'm storing the values associated to my conrete IContentTypes in a database. | 22:05 |
| ayers | Each of the concrete classes knows what table they should fetch from. | 22:05 |
| *** jkakar has quit IRC | 22:06 | |
| ayers | but I trying to implement the code to generate the SQL in the super class. | 22:06 |
| ayers | and to generate the SQL I need to iterate over the fields defined in the schema of the concrete class. | 22:07 |
| *** jkakar has joined #zope3-dev | 22:07 | |
| ayers | Let me try to give some code snipets...: | 22:07 |
| pcardune | why do you want the super class to generate the SQL? | 22:09 |
| pcardune | it seems like it would be better to maybe use adapters | 22:10 |
| ayers | ahmm Well like I said... im still a newbie to the Zope paradigms but I'm not sure how an adaptor would benefit me. | 22:11 |
| pcardune | so in the super class you would have ISQLGenerator(self).generate() | 22:11 |
| pcardune | then you can register different adapters for the different content types | 22:12 |
| pcardune | at least this would be a very pluggable way to accomplish the task | 22:12 |
| ayers | Well I think I understand that the SQL-generating code would be more pugable... but it seems my current issue would only be moved to the adaptor(s) | 22:14 |
| ayers | why would I need different adaptor's if the sql can be generated the schema? | 22:14 |
| pcardune | you wouldn't until you extended something and the sql suddenly couldn't be generated by the schema | 22:15 |
| pcardune | but otherwise, the getFieldNamesInOrder just takes an interface | 22:15 |
| ayers | OK... so how would the adaptor implementation retrieve the interface? | 22:16 |
| pcardune | oh I see, i think i understand the problem you are having :) | 22:16 |
| *** oferw has joined #zope3-dev | 22:17 | |
| ayers | I mean I could "hack" a new class variable and have all concrete classes store thier IContentType interface in it for me to retrieve it... | 22:17 |
| ayers | But it seems redundant since I believe the IContentType registration has been done in the configure.zcml. | 22:18 |
| ayers | I just need a way to query it from the adaptor/abstract class. | 22:19 |
| *** oferw has joined #zope3-dev | 22:19 | |
| pcardune | yes | 22:20 |
| *** Jell-O-Fishi has quit IRC | 22:20 | |
| ayers | Thanks! ...at least now I know I didn't miss something obvious :-) | 22:21 |
| ccomb | ayers: storing with SQL is an external requirement? | 22:27 |
| ayers | yes... its a Web front end to an existing DB | 22:29 |
| *** d2m has left #zope3-dev | 22:33 | |
| lisppaste6 | htd pasted "zope3 pagetemplates with i18n" at http://paste.lisp.org/display/42872 | 22:34 |
| htd | hi, i was trying to use zope3 pagetemplates standalone with i18n - the paste above is my test code. would be nice if somebody takes a look at it and tells me my code is somewhat useful | 22:36 |
| htd | my approach could be totally insane too, just tell me what you think - i have zero experience with zope3, i simply love zpt and wanted to get rid of simpletal | 22:37 |
| *** ignas has quit IRC | 22:52 | |
| *** norro has joined #zope3-dev | 22:58 | |
| *** whit has joined #zope3-dev | 23:05 | |
| *** jukart has quit IRC | 23:13 | |
| *** pelle_ has quit IRC | 23:35 | |
| *** jodok has quit IRC | 23:37 | |
| *** malthe|away has quit IRC | 23:41 | |
| *** b52GM has quit IRC | 23:41 | |
| *** WebMaven has joined #zope3-dev | 23:44 | |
| *** foxmjay has quit IRC | 23:44 | |
| *** WebMaven__ has quit IRC | 23:51 | |
| *** WebMaven has quit IRC | 23:57 | |
| *** pcardune has quit IRC | 23:58 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!