IRC log of #zope3-dev for Thursday, 2009-03-05

*** jpcw has quit IRC00:05
*** strichter is now known as srichter00:07
*** ChanServ sets mode: +o srichter00:07
*** pelle_ has quit IRC00:07
*** dbfrombrc has quit IRC00:08
*** bigkevmcd_ has joined #zope3-dev00:09
*** bigkevmcd has quit IRC00:09
*** bigkevmcd_ is now known as bigkevmcd00:09
*** tarek has joined #zope3-dev00:13
*** aaronv has quit IRC00:16
*** lisppaste6 has quit IRC00:17
*** dbfrombrc has joined #zope3-dev00:19
*** tarek has quit IRC00:24
*** lisppaste6 has joined #zope3-dev00:24
*** regebro has quit IRC00:27
*** jhauser has quit IRC00:33
*** romanofski has joined #zope3-dev00:41
*** tarek has joined #zope3-dev00:44
*** junkafarian has joined #zope3-dev00:47
*** benji has quit IRC00:55
*** strichter has joined #zope3-dev00:55
*** srichter has quit IRC00:58
*** tarek has quit IRC01:02
*** J1m has joined #zope3-dev01:10
*** jamur2 has quit IRC01:15
*** lurkymclurkleton has quit IRC01:18
*** J1m_ has quit IRC01:18
*** nyo has joined #zope3-dev01:21
nyostrichter: ayt?01:21
*** Theuni1 has joined #zope3-dev01:22
*** redir has quit IRC01:25
*** J1m has quit IRC01:26
*** greenman_ has joined #zope3-dev01:27
*** nathany has quit IRC01:32
*** greenman has quit IRC01:41
*** flox has left #zope3-dev01:44
*** Theuni1 has quit IRC01:45
*** rocky has quit IRC01:50
*** _srichter has joined #zope3-dev02:02
*** _srichter is now known as srichter02:03
*** ChanServ sets mode: +o srichter02:03
srichternyo: yep02:03
*** strichter has quit IRC02:19
*** TheStig has joined #zope3-dev02:23
*** SpeedyGhost has joined #zope3-dev02:24
*** dbfrombrc has quit IRC02:26
*** mgedmin has quit IRC02:38
*** junkafarian has quit IRC02:41
*** projekt01 has joined #zope3-dev02:44
projekt01nyo, ayt?02:45
nyoprojekt01: hi02:49
projekt01nyo, do you have time to review my latest checkin for zope.publisher?02:50
nyohmm.. I'll try to check it out now02:51
projekt01I fixed some odd issues and implemented the default skin pattern within adapters02:51
nyooh, that sounds interesting02:51
projekt01I need to release the package because I have to maek more progress in for finishing the concept.02:52
projekt01It is wokring wihtout future changes in, but changes in will allow us to use it in z3c.jsonrpc without to depend on IBrowserRequest just for support default skins02:52
nyoprojekt01: I personally don't really use z3c.jsonrpc, so...02:55
* nyo is looking at the changes02:55
projekt01no problem, this allows just to use the default skin pattern for non IBrowserRequest implementations02:56
projekt01I tested the implementation using z3.jsonrpc with a default skin, it works well for me02:57
nyoprojekt01: looks like the ISkinnable, IDefaultSkin and ISkinType should be moved out of .interfaces.browser to just .interfaces, or not?02:58
projekt01do you think I should do that too?02:59
nyowell, I guess. if it's not browser-only, it should be in plain interfaces or may be interfaces.http?03:00
*** kaeru has joined #zope3-dev03:00
projekt01I was thinkin to move the if shane or others will split the browser, http, xmlrpc into own packages03:01
projekt01i think I was reading something about such a split03:01
nyobtw, the ISkinChangedEvent is probably in that company as well now, so it should be moved, but with bbb import.03:01
nyoprojekt01: well, it's not very clear when that will be done03:02
projekt01Ok, I ll do that cleanup and provide the original imports03:02
projekt01what's the marker for BBB imports? did we define something?03:02
projekt01just a #BBB comment at the end03:03
*** troter has joined #zope3-dev03:03
nyoprojekt01: i also write some comment after BBB, why it was moved, for example03:03
nyoprojekt01: btw, why use the named "default" adapter instead of just unnamed one?03:06
projekt01the default unnamed adapter is configured by a project03:06
projekt01the default named adapter is a fallback, right now only configured for IBrowserRequest03:07
projekt01IDefaultBrowserLayer is such a fallback default layer03:07
*** sm has quit IRC03:07
nyoah, that's more clear to me now03:08
projekt01if you define a default skin in your project, you will use the defaultSkin zcml directive, this will register a unnamed adapter03:08
nyoprojekt01: the setDefaultSkin logic seems fishy :-)03:15
projekt01do you mean it doesn't raise errors if something is wrong?03:16
nyoprojekt01: yep. why silently ignore it? if wrong interface is registered, then something is wrong in the application.03:17
projekt01the concept before allows to apply any interface as skin, I don't know what others did with that implementation03:17
nyowell, I think that others still use IBrowserSkinType'd interfaces as a defaultSkin, so we can check that more strictly... however this may be a topic to discuss on the ML)03:19
nyoalso, why calling and catching TypeError instead of simply checking on IInterface.providedBy(skin)?03:21
projekt01hehe, that's buggy03:23
projekt01the defaultSkin directive registers interfaces insted of adapter factory which will return the interface by adaption03:23
projekt01this interfaces are not adaptable and will end in TypeErrror somewhere in the adapter registry03:24
*** Doc_Dan has joined #zope3-dev03:24
nyoprojekt01: but, we can check the skin object we got by adapter lookup if it's an interface or an adapter by simple IInterface.providedBy(skin) check instead of trying to call it as an adapter, no?03:25
projekt01yes, but exceptions are faster in python then check something03:26
*** stub has quit IRC03:27
nyoprojekt01: hm.. really? how much faster? I just think that one can get really strange bug, if the request will be somehow adapted to the interface we get by IDefaultSkin lookup.03:28
nyoprojekt01: if it's not a gross "bottleneck", i think we can live with a providedBy check, which is also fast I believe.03:29
projekt01it will provide IDefaultSkin, I don't expect any other component then an adapter or interface03:29
projekt01or some wired thing must go on03:30
projekt01Ok, I'm fine with that03:30
projekt01I 'll write a mail to the list with some open questions03:31
nyoprojekt01: btw, I think that the skinType in the "applySkin" function can be determined from the skin itself03:32
*** dbfrombrc has joined #zope3-dev03:33
projekt01do you mean IDefaultSkin(request)03:34
projekt01and getAdapter((request,), IDefaultSkin, name='default')03:34
projekt01if so, No because of the junk (plain interface) in the dapter registry03:35
projekt01if the defaultSkin directive whould register an adapter factory then yes03:35
nyoprojekt01: no. I mean that now the "zope.publisher.browser.applySkin" requires setting an skinType argument for applying non-browser skins03:36
nyowell, at first, this function, as well as skinchangedevent is now not only for browser, so it should be moved to more general module03:36
nyoand we don't need to explicitly set the skinType, because it can be easily determined from the "skin" argument we are passing03:37
projekt01the skin type for z3c.jsonrpc is IJSONRPCSkinType which is inherited from ISkinType03:38
nyohm, something like skinType = [iface for iface in providedBy(skin) if iface.isorExtends(ISkinType)][0]03:38
projekt01this whould require that we type the type or not?03:38
nyoif skin supposed to provide only one ISkinType interface, this will work03:39
*** troter has quit IRC03:40
projekt01Hm, no, each layer will provide ISkinType03:40
projekt01the real traversable skin is a named ISkinType e.g. IBrowserSkinType03:41
nyoI mean, that single skin won't provide both IBrowserSkinType and IJSONRPCSkinType03:41
nyothen my example will work)03:41
nyohm.. wait03:42
projekt01each layer will provide a skin type not only one03:42
*** troter has joined #zope3-dev03:42
projekt01IDivFormLayer or IFormLayer etc will provide ISkinType if someone registers them within the interface directive03:43
projekt01  <interface03:44
projekt01      interface="z3c.form.interfaces.IFormLayer"03:44
projekt01      type="zope.publisher.interfaces.browser.IBrowserSkinType"03:44
projekt01      />03:44
nyohm.. this is IBrowserSkinType, not plain ISkinType)03:44
projekt01I think we can't find the right layer without the skinType argument03:45
projekt01yes, but right now only IBrowserSkinType is used anywhere03:46
projekt01some of my skins provide both skin types (if I use JSONRPC within z3c.form)03:47
projekt01the skin pattern is only there for make more views and adapters available at request level03:48
projekt01it has not really something to do with request types which we don't have03:49
nyoprojekt01: ah.. I thought you said "yes" when I asked about that both ISkinTypes in one skin won't present at once :)03:50
projekt01no I was wrong, only one of them is named03:51
projekt01but wait03:52
projekt01we have to remove ANY skin type03:52
projekt01doesn't matter what skin type because the result is a clean request with only the given skin applied03:53
nyoprojekt01: ah, then we don't need the skinType argument either )03:54
projekt01setDefaultSkin applies a "default" skin if available and the applySkin aplies a given skin03:54
projekt01another question03:54
projekt01why do we not remove any skin in setDefaultSkin like done in applySkin?03:54
nyoprojekt01: I dunno, I guess it's because when setDefaultSkin is called, the request object don't have any "skins" applied yet, so there's nothing to clear.03:55
nyohowever, I'm not sure03:56
* nyo needs some sleep:)03:56
projekt01I'm not sure too03:56
projekt01I also need some sleep ;-)03:56
projekt01Ill add them to the mail03:56
projekt01them = question03:56
projekt01nyo, thanks a lot for your feedback03:57
nyoi'll review the changes again when I'll awake, so I can be more constructive :)03:57
projekt01Ok, I'll write a mail to the list before I do more changes03:59
*** nyo has quit IRC04:06
*** projekt01 has quit IRC04:06
*** alecm has quit IRC04:07
*** dbfrombrc has quit IRC04:18
*** dunny has joined #zope3-dev04:37
*** davisagli has left #zope3-dev04:45
*** aclark_ has joined #zope3-dev05:04
*** aclark has quit IRC05:15
*** aclark_ is now known as aclark05:22
*** greenman_ has quit IRC05:27
*** davisagli has joined #zope3-dev05:37
*** greenman has joined #zope3-dev06:30
*** greenman has quit IRC06:47
*** [1]Doc_Dan has joined #zope3-dev06:55
*** Doc_Dan has quit IRC07:02
*** [1]Doc_Dan is now known as Doc_Dan07:02
*** dbfrombrc has joined #zope3-dev07:12
*** alecm has joined #zope3-dev07:19
*** baijum has joined #zope3-dev07:37
*** afd__ has joined #zope3-dev07:39
*** romanofski has quit IRC07:53
*** jukart has joined #zope3-dev08:05
*** jpcw has joined #zope3-dev08:12
*** dbfrombrc has quit IRC08:20
*** pcardune has joined #zope3-dev08:24
*** jukart has quit IRC08:28
*** agroszer_ has joined #zope3-dev08:36
*** agroszer__ has joined #zope3-dev08:41
*** Theuni1 has joined #zope3-dev08:52
*** greenman has joined #zope3-dev08:55
*** Theuni1 has quit IRC08:56
*** Theuni2 has joined #zope3-dev08:56
*** agroszer__ is now known as agroszer08:56
*** JaRoel|4D has quit IRC08:57
*** agroszer_ has quit IRC08:58
*** __mac__ has joined #zope3-dev09:07
*** jukart has joined #zope3-dev09:12
*** __mac___ has joined #zope3-dev09:22
*** quodt has joined #zope3-dev09:22
*** malthe has joined #zope3-dev09:27
*** jayaraj has joined #zope3-dev09:28
*** zagy has quit IRC09:29
*** __mac__ has quit IRC09:36
*** JaRoel|4D has joined #zope3-dev09:40
*** basti__ has joined #zope3-dev09:46
*** basti__ has quit IRC09:47
*** malthe has quit IRC09:50
*** basti__ has joined #zope3-dev09:53
*** MJ has joined #zope3-dev09:54
*** mgedmin has joined #zope3-dev09:54
*** MJ has quit IRC09:54
*** MJ has joined #zope3-dev09:54
afd__what's so special about the "" apidoc permission that it's not granted through a grantAll declaration?10:00
afd__<grantAll role="zope.Manager" />10:00
afd__  <grant permission="" role="zope.Manager" />10:00
afd__Unless I do the second declaration, I get an Unauthorized screen10:00
*** JaRoel|4D has quit IRC10:02
afd__nevermind, I didn't include it's zcml10:05
*** JaRoel|4D has joined #zope3-dev10:09
*** regebro has joined #zope3-dev10:13
*** goschtl has joined #zope3-dev10:14
*** pelle_ has joined #zope3-dev10:23
*** mkerrin has joined #zope3-dev10:24
*** harobed has joined #zope3-dev10:40
*** pyqwer has joined #zope3-dev10:46
*** junkafarian has joined #zope3-dev10:55
*** tarek has joined #zope3-dev10:56
*** menesis has joined #zope3-dev11:08
*** andycat has joined #zope3-dev11:08
*** flox has joined #zope3-dev11:12
*** alecm has quit IRC11:27
*** junkafarian has quit IRC11:39
*** DrogoNevets has joined #zope3-dev11:39
DrogoNevetsis there a CookieCrumbler type product out there for Zope 3??11:39
*** davisagli has left #zope3-dev11:45
*** tarek has quit IRC11:46
*** projekt01 has joined #zope3-dev11:47
*** nyo has joined #zope3-dev11:49
*** ignas has joined #zope3-dev11:52
*** tarek has joined #zope3-dev11:53
*** junkafarian has joined #zope3-dev12:08
*** iham has quit IRC12:10
*** iham has joined #zope3-dev12:11
*** iham_ has joined #zope3-dev12:15
*** romanofski has joined #zope3-dev12:20
DrogoNevetsis there a CookieCrumbler type product out there for Zope 3??12:28
*** iham has quit IRC12:33
*** agroszer_ has joined #zope3-dev12:34
*** jukart has quit IRC12:36
*** agroszer has quit IRC12:36
*** aclark has quit IRC12:36
*** BjornT has quit IRC12:36
*** agroszer_ is now known as agroszer12:36
*** jukart has joined #zope3-dev12:36
*** aclark has joined #zope3-dev12:36
*** iham_ is now known as iham12:37
*** BjornT has joined #zope3-dev12:37
*** aclark has quit IRC12:45
*** jukart has quit IRC12:45
*** jukart has joined #zope3-dev12:49
*** aclark has joined #zope3-dev12:53
*** malthe has joined #zope3-dev13:00
*** junkafarian_ has joined #zope3-dev13:06
*** junkafarian has quit IRC13:21
*** srichter has quit IRC13:46
*** junkafarian_ has quit IRC13:48
*** junkafarian__ has joined #zope3-dev13:48
*** junkafarian__ is now known as junkafarian13:48
*** srichter has joined #zope3-dev13:49
*** runyaga_ has joined #zope3-dev13:51
*** danfairs has joined #zope3-dev13:52
*** troter has quit IRC13:53
*** malthe has quit IRC13:54
*** ktwilight_ has joined #zope3-dev13:58
*** malthe has joined #zope3-dev14:03
*** pelle__ has joined #zope3-dev14:04
*** MrTopf has joined #zope3-dev14:06
*** greenman has quit IRC14:09
*** runyaga has quit IRC14:09
*** ktwilight has quit IRC14:12
*** romanofski has quit IRC14:18
*** afd__ has quit IRC14:21
*** pcardune has quit IRC14:23
*** pelle_ has quit IRC14:25
*** danfairs has quit IRC14:26
*** MrTopf has quit IRC14:28
*** pelle_ has joined #zope3-dev14:28
*** afd_ has joined #zope3-dev14:31
*** danfairs has joined #zope3-dev14:43
*** baijum has quit IRC14:48
*** pelle__ has quit IRC14:50
*** JaRoel|4_ has joined #zope3-dev14:57
*** JaRoel|4D has quit IRC15:02
*** benji has joined #zope3-dev15:13
*** ignas has quit IRC15:15
*** danfairs_ has joined #zope3-dev15:15
*** danfairs has quit IRC15:16
*** sunoano has quit IRC15:19
*** sunoano has joined #zope3-dev15:21
*** thetet has joined #zope3-dev15:29
*** danfairs_ has quit IRC15:43
*** rocky has joined #zope3-dev15:44
*** jfkw has joined #zope3-dev15:46
*** danfairs has joined #zope3-dev15:55
*** J1m has joined #zope3-dev15:57
*** dunny has quit IRC16:00
*** aaronv has joined #zope3-dev16:01
*** danfairs has quit IRC16:03
*** jamur2 has joined #zope3-dev16:04
*** markusleist has quit IRC16:04
*** danfairs has joined #zope3-dev16:06
*** lurkymclurkleton has joined #zope3-dev16:18
*** danfairs has quit IRC16:24
*** danfairs has joined #zope3-dev16:25
*** stub1 has joined #zope3-dev16:25
*** danfairs_ has joined #zope3-dev16:28
*** danfairs has quit IRC16:28
*** Aiste has joined #zope3-dev16:37
*** danfairs_ has quit IRC16:37
*** danfairs has joined #zope3-dev16:40
*** sp0cksbeard has joined #zope3-dev16:50
*** agroszer has quit IRC16:50
*** sp0cksbeard has left #zope3-dev16:55
*** __mac___ has quit IRC16:58
*** baijum has joined #zope3-dev16:58
*** __mac__ has joined #zope3-dev16:59
*** basti__ has quit IRC17:01
*** danfairs has quit IRC17:05
*** danfairs has joined #zope3-dev17:09
*** regebro has quit IRC17:13
*** regebro has joined #zope3-dev17:13
*** redir has joined #zope3-dev17:14
*** lurkymclurkleton has quit IRC17:17
*** lurkymclurkleton has joined #zope3-dev17:18
*** aaronv has quit IRC17:25
*** alga has joined #zope3-dev17:26
*** aaronv has joined #zope3-dev17:31
*** jhauser has joined #zope3-dev17:33
*** mcdonc has quit IRC17:33
*** junkafarian_ has joined #zope3-dev17:37
*** junkafarian has quit IRC17:42
*** junkafarian_ is now known as junkafarian17:42
*** danfairs has quit IRC17:43
*** DrogoNevets has left #zope3-dev17:43
*** MJ has quit IRC17:44
*** projekt01 has quit IRC17:48
*** philiKON has joined #zope3-dev18:01
*** danfairs has joined #zope3-dev18:04
*** baijum has quit IRC18:13
*** baijum has joined #zope3-dev18:14
*** danfairs has quit IRC18:15
*** danfairs has joined #zope3-dev18:17
*** baijum has quit IRC18:17
*** philiKON_ has quit IRC18:17
*** andycat has quit IRC18:18
*** yvl has quit IRC18:22
*** nathany has joined #zope3-dev18:30
*** danfairs has quit IRC18:32
*** goschtl has quit IRC18:33
*** danfairs has joined #zope3-dev18:33
*** thetet has left #zope3-dev18:37
*** davisagli has joined #zope3-dev18:37
*** danfairs has quit IRC18:45
*** danfairs has joined #zope3-dev18:46
*** zagy has joined #zope3-dev18:51
*** jayaraj_ has joined #zope3-dev18:51
*** danfairs has quit IRC18:58
*** hexsprite has quit IRC19:00
*** davisagli has quit IRC19:02
*** nyo has quit IRC19:03
*** agroszer has joined #zope3-dev19:04
*** nyo has joined #zope3-dev19:08
*** jayaraj_ has quit IRC19:09
*** quodt has quit IRC19:15
*** harobed has quit IRC19:15
*** jayaraj has quit IRC19:16
*** jayaraj_ has joined #zope3-dev19:21
*** aaronv has quit IRC19:27
*** jukart has quit IRC19:31
*** dbfrombrc has joined #zope3-dev19:32
*** davisagli has joined #zope3-dev19:32
*** zagy_ has joined #zope3-dev19:41
*** Aiste has quit IRC19:41
*** alecm has joined #zope3-dev19:43
*** zagy has quit IRC19:44
*** zagy_ is now known as zagy19:45
*** dbfrombrc has quit IRC19:46
*** harobed has joined #zope3-dev19:53
*** redir_ has joined #zope3-dev19:56
*** sm has joined #zope3-dev19:58
*** agroszer_ has joined #zope3-dev19:59
*** jpcw has quit IRC20:01
*** redir has quit IRC20:04
*** redir_ is now known as redir20:06
*** JaRoel|4_ has quit IRC20:13
*** jpcw has joined #zope3-dev20:14
*** agroszer has quit IRC20:15
*** malthe has quit IRC20:17
*** srichter has quit IRC20:20
*** nyo has quit IRC20:21
*** aaronv has joined #zope3-dev20:24
*** mkerrin has quit IRC20:26
*** tarek has quit IRC20:27
*** tarek has joined #zope3-dev20:31
*** mcdonc has joined #zope3-dev20:32
*** srichter has joined #zope3-dev20:33
*** ChanServ sets mode: +o srichter20:38
*** zagy_ has joined #zope3-dev20:39
*** mgedmin has quit IRC20:40
*** Theuni1 has joined #zope3-dev20:42
*** Theuni2 has quit IRC20:42
*** nathany has quit IRC20:52
*** nathany has joined #zope3-dev20:52
*** dbfrombrc has joined #zope3-dev20:56
*** tarek has quit IRC20:59
*** jpcw_ has joined #zope3-dev20:59
*** jpcw has quit IRC21:01
*** zagy has quit IRC21:03
*** markusleist has joined #zope3-dev21:03
*** regebro has quit IRC21:11
*** dbfrombrc has quit IRC21:13
*** regebro has joined #zope3-dev21:16
*** JaRoel|4D has joined #zope3-dev21:17
*** zagy_ has quit IRC21:23
*** nyo has joined #zope3-dev21:26
*** quodt has joined #zope3-dev21:32
*** jayaraj_ has quit IRC21:34
*** __mac__ has quit IRC21:48
*** Theuni1 has quit IRC21:49
*** junkafarian has quit IRC21:51
*** greenman has joined #zope3-dev22:02
*** tarek has joined #zope3-dev22:05
*** alga has quit IRC22:14
*** tarek has quit IRC22:24
*** alga has joined #zope3-dev22:26
*** lucielejard has joined #zope3-dev22:27
*** jpcw2002 has joined #zope3-dev22:28
*** jpcw_ has quit IRC22:35
*** dbfrombrc has joined #zope3-dev22:36
*** menesis has quit IRC22:37
*** pelle__ has joined #zope3-dev22:40
*** dunny has joined #zope3-dev22:40
*** JaRoel|4_ has joined #zope3-dev22:51
*** JaRoel|4_ is now known as JaRoel|4D_22:51
*** dunny_ has joined #zope3-dev22:51
*** pelle_ has quit IRC22:52
*** JaRoel|4D has quit IRC22:52
*** JaRoel|4D_ is now known as JaRoel|4D22:53
*** agroszer_ has quit IRC22:55
*** dunny has quit IRC22:59
*** greenman has quit IRC23:06
*** pyqwer has quit IRC23:11
*** markusleist has quit IRC23:13
*** afd_ has quit IRC23:19
*** jpcw2002 has quit IRC23:20
*** greenman has joined #zope3-dev23:23
*** tarek has joined #zope3-dev23:29
*** jpcw2002 has joined #zope3-dev23:37
*** jhauser has quit IRC23:40
*** aaronv has quit IRC23:43
*** sunoano has quit IRC23:44
*** dunny_ is now known as dunny23:44
*** davisagli_ has joined #zope3-dev23:45

Generated by 2.15.1 by Marius Gedminas - find it at!