IRC log of #zope3-dev for Saturday, 2007-06-16

*** oferw has quit IRC00:10
*** alga has quit IRC00:14
*** jkakar_ is now known as jkakar00:16
*** WebMaven has joined #zope3-dev00:56
*** rcrafton has quit IRC01:05
*** J1m has quit IRC01:47
*** pbugni has quit IRC01:49
*** norro has quit IRC01:50
*** pbugni has joined #zope3-dev02:15
*** andrew_m has quit IRC02:17
*** yota has quit IRC02:23
*** alecm has quit IRC02:26
*** alecm has joined #zope3-dev02:26
*** b52laptop has quit IRC02:33
*** b52GM has joined #zope3-dev02:36
*** b52Centos has quit IRC02:40
*** b52laptop has joined #zope3-dev02:51
*** harobed has quit IRC03:03
*** b52laptop has quit IRC03:06
*** pbugni has quit IRC03:29
*** alecm has quit IRC03:30
*** b52GM has quit IRC03:44
*** febb has joined #zope3-dev03:47
*** b52GM has joined #zope3-dev03:55
*** febb has quit IRC04:01
*** xenru_ has joined #zope3-dev04:07
*** xenru_ has quit IRC04:20
*** ktwilight has joined #zope3-dev05:30
*** ktwilight_ has quit IRC05:44
*** rcrafton has joined #zope3-dev05:50
*** jsadjohnson has quit IRC06:02
*** tarek has joined #zope3-dev06:05
*** tarek has quit IRC06:06
*** niemeyer has quit IRC06:42
*** strichter has joined #zope3-dev07:09
*** srichter has quit IRC07:10
*** afd__ has joined #zope3-dev08:17
*** alecm has joined #zope3-dev08:19
*** tarek has joined #zope3-dev08:44
*** rcrafton has quit IRC08:45
*** deo has quit IRC08:52
*** alecm has quit IRC08:55
*** tarek has quit IRC09:01
*** d2m has joined #zope3-dev09:02
*** jukart has joined #zope3-dev09:26
*** CSWookie has quit IRC09:37
d2mthat 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
d2min fact it removes all files from that folder but folders and .pyc are left over10:29
*** pcardune_ has joined #zope3-dev10:47
*** BjornT_ has quit IRC11:03
philiKONd2m: right11:05
philiKONd2m: zope.app.fssync is gone from the trunk11:06
philiKONd2m: and that's what svn does11:06
*** pcardune_ has quit IRC11:06
philiKONit won't remove files that you created that it doesn't know about11:06
philiKON(e.g. *.pyc files)11:06
d2mhey i did *not* create zopeskel/etc/packages-includes/zope.app.fssync*11:07
*** Jell-O-Fishi has quit IRC11:11
d2mphiliKON: btw, svn does not say its gone from the trunk, it reports zope/app/fssync : External at revision 76718.11:11
philiKONso it has been converted to an external11:11
philiKONzopeskel/etc/package-includes/* are auto-generated11:12
philiKONwith make11:12
d2myes, but it won't get included on update11:12
philiKONdo a make clean; make again11:12
d2mi run make, forgot to make clean -- thats depressing11:12
d2mlooks like someone wants to force me into using zc.buildout11:13
*** BjornT__ has quit IRC11:17
*** malthe has joined #zope3-dev11:19
*** andrew_m has joined #zope3-dev11:21
*** jfroche has joined #zope3-dev11:27
*** BjornT has joined #zope3-dev11:35
*** xenru has joined #zope3-dev11:36
*** ktwilight has quit IRC11:39
*** iam-vivek has joined #zope3-dev11:39
*** Aswin_S has joined #Zope3-dev11:39
*** ktwilight has joined #zope3-dev11:40
*** iam-vivek has quit IRC11:43
*** ktwilight_ has joined #zope3-dev11:44
*** jodok has joined #zope3-dev11:54
*** ktwilight has quit IRC11:58
*** kobold has joined #zope3-dev11:59
*** J1m has joined #zope3-dev12:03
*** jodok has quit IRC12:03
*** malthe has quit IRC12:08
*** malthe_ has joined #zope3-dev12:08
*** malthe_ has quit IRC12:10
*** malthe has joined #zope3-dev12:10
*** BjornT_ has joined #zope3-dev12:12
*** malthe has quit IRC12:15
*** philiKON_ has joined #zope3-dev12:15
*** malthe_ has joined #zope3-dev12:15
*** malthe has joined #zope3-dev12:15
*** jodok has joined #zope3-dev12:16
*** malthe_ has joined #zope3-dev12:17
*** philiKON has quit IRC12:23
*** pcardune_ has joined #zope3-dev12:25
*** malthe has quit IRC12:34
*** jodok has quit IRC12:38
*** jodok has joined #zope3-dev12:39
*** jsadjohnson has joined #zope3-dev12:40
*** harobed has joined #zope3-dev12:42
*** jukart has quit IRC12:43
*** Aswin_S has left #Zope3-dev12:44
*** malthe_ is now known as malthe|away12:49
*** jodok has quit IRC13:02
*** yvl has joined #zope3-dev13: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 it13:19
dennis_(i.e. the for="" in zcml)13:19
*** yota has joined #zope3-dev13:22
*** pcardune_ has quit IRC13:28
*** Jell-O-Fishi has joined #zope3-dev13:28
*** foxmjay has joined #zope3-dev13:36
*** J1m has quit IRC13:38
*** pcardune has joined #zope3-dev13:39
*** zagy has joined #zope3-dev13:58
*** zagy has quit IRC14:19
*** zagy has joined #zope3-dev14:24
*** WebMaven_ has joined #zope3-dev14:24
*** WebMaven__ has joined #zope3-dev14:26
*** WebMaven has quit IRC14:31
*** WebMaven_ has quit IRC14:33
*** zagy has quit IRC14:50
*** zagy has joined #zope3-dev14:52
*** zagy has joined #zope3-dev14:55
*** rcrafton has joined #zope3-dev14:55
*** ignas has joined #zope3-dev15: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 content15:11
*** zagy has joined #zope3-dev15:12
*** xenru has quit IRC15:12
*** xenru has joined #zope3-dev15: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 IRC15:17
*** zagy has quit IRC15:18
dennis_OK self.context = self.__parent__ = context15:18
dennis_need to read more carefully, thanks phillip :)15:19
*** harobed has joined #zope3-dev15:21
*** strichter is now known as srichter15:23
*** ChanServ sets mode: +o srichter15:23
*** zagy has joined #zope3-dev15:23
*** ccomb has quit IRC15:42
*** schwendinger has joined #zope3-dev15:55
*** schwendinger has quit IRC16:08
*** schwendinger has joined #zope3-dev16:17
*** rcrafton has quit IRC16:58
*** zagy has quit IRC17:04
*** niemeyer has joined #zope3-dev17:29
*** oferw has joined #zope3-dev17:29
*** zagy has joined #zope3-dev17:36
*** niemeyer has quit IRC17:38
*** ccomb has joined #zope3-dev17:43
*** BjornT has quit IRC17:51
*** malthe|away is now known as malthe17:59
*** BjornT has joined #zope3-dev17:59
*** rcrafton has joined #zope3-dev18:09
*** oferw has quit IRC18:33
*** alecm has joined #zope3-dev18:59
*** harobed has quit IRC19:03
*** jukart has joined #zope3-dev19:03
*** whitmo has joined #zope3-dev19:17
*** whit has quit IRC19:17
*** drzoltron has joined #zope3-dev19:19
*** jhauser has joined #zope3-dev19:19
*** alecm has quit IRC19:19
*** schwendinger has quit IRC19:26
*** jodok has joined #zope3-dev19:29
*** zagy has quit IRC19:38
*** drzoltron has left #zope3-dev19:40
*** jukart has quit IRC19:41
*** malthe is now known as malthe|away20:04
*** schwendinger has joined #zope3-dev20:08
*** jfroche has quit IRC20:11
*** zagy has joined #zope3-dev20:17
*** afd__ has quit IRC20:22
*** xenru has quit IRC20:23
*** whitmo has quit IRC20:33
*** schwendinger has quit IRC20:54
*** stub has joined #zope3-dev20:58
*** rcrafton has quit IRC21:00
*** jukart has joined #zope3-dev21:11
*** pelle_ has joined #zope3-dev21:12
*** whit has joined #zope3-dev21:13
*** whit has quit IRC21:22
*** stub has quit IRC21:26
*** b52GM has quit IRC21:46
*** kobold has left #zope3-dev21:47
*** ayers has joined #zope3-dev21:55
ayersHello, I'm a newbie to Zope and I'm trying to solve an issue in Zope3.21:56
ayersI'm trying to implement an abstract class function and I wish to retrieve the schema object of Interface registered as the IContentType21:56
ayersi.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-dev21:57
ayersI'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
pcarduneayers: what is the bigger picture that you are trying to accomplish?22:01
*** b52GM has joined #zope3-dev22:02
pcarduneayers: I'd try to help you but I don't quite understand your question22:03
ayersOK let my try...22:04
ayersI'm storing the values associated to my conrete IContentTypes in a database.22:05
ayersEach of the concrete classes knows what table they should fetch from.22:05
*** jkakar has quit IRC22:06
ayersbut I trying to implement  the code to generate the SQL in the super class.22:06
ayersand 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-dev22:07
ayersLet me try to give some code snipets...:22:07
pcardunewhy do you want the super class to generate the SQL?22:09
pcarduneit seems like it would be better to maybe use adapters22:10
ayersahmm 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
pcarduneso in the super class you would have ISQLGenerator(self).generate()22:11
pcardunethen you can register different adapters for the different content types22:12
pcarduneat least this would be a very pluggable way to accomplish the task22:12
ayersWell 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
ayerswhy would I need different adaptor's if the sql can be generated  the schema?22:14
pcarduneyou wouldn't until you extended something and the sql suddenly couldn't be generated by the schema22:15
pcardunebut otherwise, the getFieldNamesInOrder just takes an interface22:15
ayersOK... so how would the adaptor implementation retrieve the interface?22:16
pcarduneoh I see, i think i understand the problem you are having :)22:16
*** oferw has joined #zope3-dev22:17
ayersI 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
ayersBut it seems redundant since I believe the IContentType registration has been done in the configure.zcml.22:18
ayersI just need a way to query it from the adaptor/abstract class.22:19
*** oferw has joined #zope3-dev22:19
pcarduneyes22:20
*** Jell-O-Fishi has quit IRC22:20
ayersThanks! ...at least now I know I didn't miss something obvious :-)22:21
ccombayers: storing with SQL is an external requirement?22:27
ayersyes... its a Web front end to an existing DB22:29
*** d2m has left #zope3-dev22:33
lisppaste6htd pasted "zope3 pagetemplates with i18n" at http://paste.lisp.org/display/4287222:34
htdhi, 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 useful22:36
htdmy 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 simpletal22:37
*** ignas has quit IRC22:52
*** norro has joined #zope3-dev22:58
*** whit has joined #zope3-dev23:05
*** jukart has quit IRC23:13
*** pelle_ has quit IRC23:35
*** jodok has quit IRC23:37
*** malthe|away has quit IRC23:41
*** b52GM has quit IRC23:41
*** WebMaven has joined #zope3-dev23:44
*** foxmjay has quit IRC23:44
*** WebMaven__ has quit IRC23:51
*** WebMaven has quit IRC23:57
*** pcardune has quit IRC23:58

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!