IRC log of #zope3-dev for Wednesday, 2007-06-06

*** ktwilight_ has joined #zope3-dev00:02
*** schwendinger has quit IRC00:03
*** schwendinger has joined #zope3-dev00:07
*** jfroche_ has quit IRC00:16
*** jfroche_ has joined #zope3-dev00:16
*** jodok has joined #zope3-dev00:17
*** ktwilight has quit IRC00:18
*** RaFromBRC is now known as RaFromBRC|lunch00:19
*** schwendinger_ has quit IRC00:21
*** jrc2e has quit IRC00:26
*** nerdalert has quit IRC00:35
*** jodok has quit IRC00:39
*** schwendinger has quit IRC00:50
*** timte has quit IRC00:57
*** benji has quit IRC00:58
*** MrTopf has joined #zope3-dev01:08
*** pelle_ has quit IRC01:11
*** pelle_ has joined #zope3-dev01:13
dennis__is there an "official" way to force session cookies (at least those used for authentication) to be secure (ssl only) ?01:16
*** foxmjay has joined #zope3-dev01:17
*** jfroche_ has quit IRC01:17
*** pandres has quit IRC01:20
*** jbb666 has quit IRC01:21
*** dobee has quit IRC01:22
*** MrTopf has quit IRC01:26
*** RaFromBRC|lunch is now known as RaFromBRC01:31
*** lurker_ has quit IRC01:33
*** bigkevmcd has quit IRC01:54
*** ricky-ticky has joined #zope3-dev01:55
*** ricky-ticky has joined #zope3-dev01:56
*** ricky-ticky has quit IRC01:59
*** yota has quit IRC02:05
*** pcardune has joined #zope3-dev02:08
ccombdennis__: you have to use an apache with ssl in the front02:10
dennis__ccomb yep, and modifiy (i guess) to set a secure cookie instead02:10
dennis__(i dont want session cookies containing credentials to go over plain HTTP at all)02:11
ccombthe credentials shouldn't be stored in the cookie02:12
dennis__i mean a cookie with a session which is matched to a principal02:13
dennis__i guess if the cookie is secure, and i have apache-ssl in front, all http is access is automatically anonymous, and all https includes a possible session02:15
*** niemeyer has quit IRC02:15
ccombwhat do you call a secure cookie ?02:19
dennis__with the secure attrib set, i.e. the client is only allowed to send it over https02:19
ccombthat means you will use both http and https ?02:20
ccombah you want http for anonymous, and https for authenticated02:21
ccomb(it's late here, my brain is slowing down :)02:21
*** dunny has quit IRC02:22
dennis__that's the cleanest way i can think of where a lot of the data is public, and some is not, and without having the chance of browsers sending a session cookie over http02:22
dennis__late here too :)02:22
ccombok not so far... france02:23
*** jrc2e has joined #zope3-dev02:34
*** foxmjay has quit IRC02:49
*** pelle_ has quit IRC02:56
*** jrc2e has quit IRC02:57
*** natea|piktipi has quit IRC03:03
*** b52laptop has quit IRC03:17
*** jsadjohnson_ has joined #zope3-dev03:37
*** jsadjohnson has quit IRC03:54
*** jrc2e has joined #zope3-dev03:55
*** jsadjohnson has joined #zope3-dev04:18
*** alecm has quit IRC04:25
*** jsadjohnson has left #zope3-dev04:28
*** viorc_ has joined #zope3-dev04:32
*** jsadjohnson_ has quit IRC04:35
*** stub has joined #zope3-dev04:36
*** projekt01 has joined #zope3-dev04:42
*** jrc2e has quit IRC04:51
*** dunny has joined #zope3-dev05:03
*** alecm has joined #zope3-dev05:11
*** deo has quit IRC05:14
*** projekt01 has quit IRC05:17
*** dunny_ has joined #zope3-dev05:21
*** dunny has quit IRC05:22
*** dunny_ is now known as dunny05:25
*** pcardune has quit IRC05:58
*** RaFromBRC has quit IRC05:59
*** whit has quit IRC06:11
*** reco has quit IRC07:06
*** stub has quit IRC07:30
*** timte has joined #zope3-dev07:33
*** baijum has joined #zope3-dev07:44
*** viorc_ has quit IRC07:46
*** srichter has quit IRC07:53
*** pcardune has joined #zope3-dev08:03
*** b52GM has quit IRC08:11
*** viorc has joined #zope3-dev08:34
*** timte has quit IRC08:37
*** d2m has joined #zope3-dev08:46
*** Aiste has quit IRC08:49
*** stub has joined #zope3-dev08:50
*** dunny has quit IRC08:59
*** pcardune has quit IRC09:04
*** schwendinger has joined #zope3-dev09:11
*** jukart has joined #zope3-dev09:16
*** sorin has joined #zope3-dev09:19
*** sorin is now known as sorindregan09:20
*** alecm has quit IRC09:30
*** Aswin_S has joined #Zope3-dev09:49
*** romanofski has quit IRC09:49
*** romanofski has joined #zope3-dev09:49
*** bigkevmcd has joined #zope3-dev09:51
*** wreutz has joined #zope3-dev09:58
*** BjornT has joined #zope3-dev10:03
*** viorc has quit IRC10:04
*** zagy has joined #zope3-dev10:17
*** harobed has joined #zope3-dev10:18
*** Aswin_S has quit IRC10:20
*** jfroche has joined #zope3-dev10:25
*** MJ has joined #zope3-dev10:29
*** yota has joined #zope3-dev10:35
*** dobee has joined #zope3-dev10:35
*** dobee has quit IRC10:36
*** dobee has joined #zope3-dev10:36
*** dobee has quit IRC10:37
*** dobee has joined #zope3-dev10:37
*** ka-jod has joined #zope3-dev10:47
*** ignas has joined #zope3-dev11:14
*** Aswin_S has joined #Zope3-dev11:25
*** b52GM has joined #zope3-dev11:45
*** MJ|nickcollision has joined #zope3-dev11:52
*** MJ has quit IRC11:52
*** ghendi has joined #zope3-dev11:55
*** MJ|nickcollision is now known as MJ11:56
*** projekt01 has joined #zope3-dev11:59
*** Aswin_S has quit IRC12:01
*** dunny has joined #zope3-dev12:08
*** natea|piktipi has joined #zope3-dev12:17
ccombHi,  I would like to reuse a rotterdam resource in my custom skin without copying it12:27
*** pcardune has joined #zope3-dev12:27
ccombHow can I give the path to it in the ZCML ?12:27
zagyactually i wondered about this as well12:28
zagybut then i figured that i don't want the xmltree  :)12:29
ccomb<browser:resource  name="xmltree.js"   file="??????"   layer=".interfaces.IEztranetSkin" />12:29
ccombyou replaced it by something else?12:30
projekt01ccombo, around that use the configure directive like: <configure package=""></configure>12:30
zagyah right12:31
zagyccomb: yes, some other tree, but it's quite specific12:31
ccombthanks, I'll try this12:32
ccombIt would be nice to move the xmltree into a viewlet instead of a macro12:32
projekt01ccombo, stay tuned, I'll commit a new JQuery based json based tree to jquery.jsontree the next couple days12:33
zagyit would be nice to get rid of the rotterdam skin ;)12:33
projekt01zagy, did you see the Boston skin?12:34
zagynot really. not really needing those anyway12:35
philiKONwould be nice to get rid of all default skins12:36
zagyhey philiKON ... got home safely :)12:37
projekt01philiKON, I rarely agree with philiKON, but on this I do ;-)12:38
zagyphiliKON: nice car btw :)12:41
ccombthe problem is I don't see the real bounds of a skin12:43
ccomband some interesting components (or view) are inside skins12:43
projekt01ccombo, it's also a security problem12:44
philiKONyup. which is why i think we need a better way of tackling this problem12:44
*** afd__ has joined #zope3-dev12:48
*** ktwilight_ has quit IRC12:49
*** ktwilight has joined #zope3-dev12:53
ccombprojekt01:  thanks, that works12:54
ccomb<configure package=""> <browser:resource  name="xmltree.js" file="xmltree.js"  layer="" /> </configure>12:54
*** schwendinger has quit IRC13:01
*** baijum has quit IRC13:05
*** tarek_ has quit IRC13:06
*** j-w has joined #zope3-dev13:06
*** viorc has joined #zope3-dev13:09
*** tarek has joined #zope3-dev13:12
*** dunny has quit IRC13:16
Crippsmorning Phil, projekt01, and everyone else who's kicking around.13:22
*** niemeyer has joined #zope3-dev13:23
dennis__hi cripps13:26
projekt01Cripps, good afternoon13:27
*** benji has joined #zope3-dev13:29
*** MJ is now known as MJ|lunch13:37
*** viorc has quit IRC13:41
*** baijum has joined #zope3-dev13:49
Crippshow is everyone doing?13:53
*** __gotcha has joined #zope3-dev13:57
*** Aiste has joined #zope3-dev14:01
*** rocky|away is now known as rocky14:03
dennis__cripps good, got captchas working in submit forms, didnt take all of 10 minutes after figuring out how it should work :)14:12
Crippsdennis__: good, now you'll be able to help me when I need that ;)14:12
*** benji has quit IRC14:21
*** jodok has joined #zope3-dev14:23
*** tarek has quit IRC14:29
*** MJ|lunch is now known as MJ14:32
*** schwendinger has joined #zope3-dev14:36
*** Theuni has joined #zope3-dev14:38
*** xbeanx has quit IRC14:38
*** mgedmin has joined #zope3-dev14:38
*** xbeanx has joined #zope3-dev14:43
*** jsadjohnson has joined #zope3-dev14:46
*** romanofski has quit IRC14:46
*** Theuni_ has quit IRC14:46
*** dobee has quit IRC14:51
*** jsadjohnson has left #zope3-dev14:52
*** grahal has joined #zope3-dev15:01
*** dobee has joined #zope3-dev15:01
dennis__proper way to use the Session Credentials plugin with a different login form view?   override and change only the attribute? ignore the utility and put a plugin in the pau?15:13
*** benji has joined #zope3-dev15:18
*** tarek has joined #zope3-dev15:18
afd__is it possible, with a buildout, to have a zope without a zope checkout?15:26
afd__I'm asking because I saw that after I've added z3c.baseregistry to my requirements, it pulls the zope eggs15:27
benjiafd__: I believe it's been done; Theuni did most of the work at pycon.  There is a project in subversion for a zope from eggs (I don't recall the name at the moment, though).15:35
baijumbenji, afd__, that is Zope3.buildout it is not working yet, AFAIK15:36
afd__kind of sucks thought to have packages in both locations, though, the eggs and the zope source tree15:37
*** stub has quit IRC15:38
baijumafd__, but you can run your Z3 app only using eggs and buildout now15:38
afd__baijum: so I don't need the checkout part in my buildout?15:38
afd__(I admit I haven't tried that on my own, yet)15:38
baijumafd__, no need of Zope 3 check out with latest recipe15:39
afd__baijum: thanks! :)15:40
*** mgedmin has quit IRC15:41
baijumafd__, np15:41
baijumMay be these example are useful :
*** jsadjohnson_ has joined #zope3-dev15:46
*** jrc2e has joined #zope3-dev15:48
* baijum reading
* baijum interesting Prognostication: "In two years, Zope3 will no longer be installable as an application"15:49
*** schwendinger has quit IRC15:51
*** Newfie2007 has joined #zope3-dev15:52
*** schwendinger has joined #zope3-dev15:54
*** jsadjohnson_ has quit IRC15:54
*** jsadjohnson_ has joined #zope3-dev15:54
*** dobee_ has joined #zope3-dev15:57
*** dobee has quit IRC15:57
*** alga has joined #zope3-dev15:57
*** jsadjohnson has joined #zope3-dev16:04
*** aa_ has joined #zope3-dev16:18
*** jsadjohnson_ has quit IRC16:20
natea|piktipiwhat is the story for workflow in Zope 3?16:24
*** baijum has quit IRC16:25
*** xenru has joined #zope3-dev16:26
*** natea|piktipi has quit IRC16:34
xbeanxI'm reading through the Zope 3 component book (worldcookery) and at the point where it suggests to create a Unique Id Utility I am encountering an error..: ComponentLookupError: (<InterfaceClass>, '')16:36
xbeanxany idea what is going on here?16:36
ccombis it registered?16:38
xbeanxI can't even create it...16:39
xbeanxI click add, it asks for a name, I enter one, and it throws that error...16:39
xbeanxI created a catalog fine and registered that..  The next step is to create the unique id utility, but no go.16:40
ccombi think the catalog should be created after the intid16:41
ccombbecause it needs it16:41
xbeanxk, I'll try that ccomb16:42
xbeanxinterestg, I get the same error when I try to delete the catalog16:42
ccombunregister it first16:42
ccombthen add the intid16:42
ccombregister the intid, then register the catalog16:43
xbeanxhah, thanks ccomb...16:44
xbeanxworks now16:44
xbeanxthe book suggests making the catalog first, perhaps I should mention this to Phil16:44
ccombthe right order is for registering rather than creating16:45
*** El-Rolando has joined #zope3-dev16:45
ccombbut the error should be more explicit16:46
afd__I get this traceback when trying to run zope with runzope with the zc.zope3recipes:app recipe - buildout.cfg included16:46
afd__any idea what I should do?16:46
*** natea|piktipi has joined #zope3-dev16:52
*** zez_zez has joined #zope3-dev16:53
*** reco has joined #zope3-dev16:54
*** nerdalert has joined #zope3-dev16:55
ccombBTW, does rotterdam work well with ie7 ?16:55
*** jsadjohnson_ has joined #zope3-dev16:55
*** schwendinger_ has joined #zope3-dev17:01
*** schwendinger has quit IRC17:01
*** mgedmin has joined #zope3-dev17:02
xbeanxnever tried..17:05
*** jsadjohnson has quit IRC17:10
*** jsadjohnson has joined #zope3-dev17:10
*** whit has joined #zope3-dev17:13
*** zagy has quit IRC17:15
aa_hi, how can I get a list of container items in the navigation sidebar17:15
*** zagy has joined #zope3-dev17:16
*** jsadjohnson_ has quit IRC17:17
aa_I get the Contents tab17:18
*** sorindregan has quit IRC17:18
aa_also, how do I affect the Name value in the item list?17:19
*** philiKON has quit IRC17:24
afd__aa_: look up the info in localhost:8080/++apidoc++  in the zcml section, browser namespace, addMenuItem17:26
afd__z3c.formdemo doesn't work as buildout, I get the same twisted related error17:26
aa_afd__: ok, thanks17:28
aa_afd__: I was just there actually17:28
aa_afd__: I already have the item in the Add menu, I want the list of items in a container instance to appear under +top, is it the same thing?17:29
afd__aa_: you'd probably have to change the template for the navtree thingy17:29
aa_any example/doc?17:30
aa_I am a newbie :)17:30
aa_also, I just can't work out how to sign out of z317:32
afd__aa_: there's a faq entry on that (sign out)17:32
afd__related to your first question, I think Stephan Richter's book (available on deals with how to customize the zope skin17:33
aa_ok thanks17:33
bigkevmcdit's changed bit since then...probably better to look at the source for one of the current skins17:33
*** xenru_ has joined #zope3-dev17:36
*** xenru has quit IRC17:37
*** jodok has quit IRC17:44
aa_wow, I think I must be quite dumb, the FAQ makes no sense to me (about logout)17:46
aa_is there really no way to log out?17:47
afd__aa_: you're logging in with HTTP level authentication17:48
afd__it's not possible to logout unless you close the browser17:48
*** dobee_ has quit IRC17:49
afd__the other option is to configure the PAU with a session credentials plugin, which will extract the authentication credentials from the session17:49
afd__but it might be too advanced for you, at this point17:49
afd__unless you find a tutorial on the web or faq entry17:49
*** dobee has joined #zope3-dev17:50
aa_I am drowning17:50
aa_well, I can make basic content types, so I think I should concentrate on that until I understand things a bit better17:51
*** schwendinger_ has quit IRC17:52
*** philiKON has joined #zope3-dev17:55
*** dobee has quit IRC17:56
*** pandres has joined #zope3-dev17:57
*** schwendinger has joined #zope3-dev17:57
*** jukart has quit IRC18:14
*** ghendi has quit IRC18:15
*** srichter has joined #zope3-dev18:19
*** ChanServ sets mode: +o srichter18:19
*** wreutz has quit IRC18:20
*** afd__ has quit IRC18:23
ccombaa_:  changing the auth method is not very complicated :18:29
ccombthen you can logout by visiting logout.html18:29
*** j-w has quit IRC18:33
*** El-Rolando has left #zope3-dev18:33
*** jodok has joined #zope3-dev18:39
*** norro has joined #zope3-dev18:41
*** MJ has quit IRC18:43
*** jrc2e_ has joined #zope3-dev18:49
*** schwendinger has quit IRC18:54
*** ka-jod has quit IRC18:58
*** jkakar has quit IRC18:59
*** harobed has quit IRC19:03
*** jrc2e has quit IRC19:06
*** jrc2e has joined #zope3-dev19:06
*** alecm has joined #zope3-dev19:08
*** philiKON has quit IRC19:08
*** jrc2e_ has quit IRC19:10
*** pandres has left #zope3-dev19:12
*** pandres has joined #zope3-dev19:21
*** jkakar_ has joined #zope3-dev19:26
*** pandres has left #zope3-dev19:28
*** BjornT has quit IRC19:29
*** __gotcha has quit IRC19:30
*** projekt01 has left #zope3-dev19:30
*** Aiste has quit IRC19:34
*** jfroche has quit IRC19:34
*** natea|piktipi has quit IRC19:48
*** natea|piktipi has joined #zope3-dev19:49
*** natea|piktipi has quit IRC19:51
CrippsI have a function pasted here:  ... the purpose of the function is to update the user data for x entries in root[ipdb_new] ... the problem is, what appears to be happening is that instead of updating user for each entry in root['ipdb_new'] like I expect, each entry has a full list of *all* the users in my input. the elements[j][9] is the user information ... j is the index of the current element we're working with20:06
Crippsfor input, and [9] is the position where the user string is held. I'm sure it's user error, but I would really appreciate some help debugging this P.o.S.20:06
*** dobee has joined #zope3-dev20:07
Crippsthe reason why I use root['ipdb_new'][i] is because i is the uuid of the entry in root['ipdb_new']20:08
*** markup_ has joined #zope3-dev20:08
CrippsI guess that's more of a python question than a zope question.20:10
*** markup_ is now known as ksmith9920:12
mgedminah, right, I wondered yesterday wheter it is a good idea to have a List(default_value=[u'foo']) in your schema, or if it was a Really Really Bad Idea20:13
mgedmin"mutable" and "default value" do not mix in function arguments, and I didn't know whether the List schema field had any special support for copying the faule20:14
mgedminer, s/faule/value/20:14
mgedminhow did I manage to mistype that?20:14
Crippsthe f and v are right next to each other on a qwerty keyboard ;)20:14
nerdalertyeah, I avoid using mutable objects as default arguments20:15
Crippsmgedmin: that doesn't really explain how the users value from one entry in root['ipdb_new'] would end up being the same across all my entries ...20:15
CrippsI can try removing the default value and see how things go from there.20:15
mgedminyes it does20:15
mgedminall your objects share the same list20:16
nerdalertCripps: if you can put that in a doctest, you can probably get it to work20:16
Crippsmgedmin: oh, so if there's a default value they all share the same list?20:16
*** jkakar_ is now known as jkakar20:16
Crippselse, they each have their own?20:16
mgedminelse the default value is None20:19
mgedminadd a __init__ and inside it set self.users = [yourdefault]20:20
Crippsmgedmin: ahhh. k.20:20
*** RaFromBRC has joined #zope3-dev20:21
* mgedmin was talking about your content class20:21
CrippsI caught that :)20:21
*** jodok has quit IRC20:24
dennis__is there an example/howto somewhere for a custom traverser, such that /site/contents  would actually find and set as the context the contents object corresponding to the current principal, such that the uri is always site/contents but the actual contents (context) object is somewhere like root/users/blah/contents  ?20:25
mgedminI don't know about existing howtos, but I could blog about it20:26
*** reco has quit IRC20:27
dennis__blogs like yours are really helpful20:27
Crippsmgedmin: yep. Those eimple modifications made everything work like magic :)20:28
Crippsthanks :)20:28
*** xenru_ has quit IRC20:29
*** reco has joined #zope3-dev20:31
*** sm is now known as sm-afk20:36
Crippsbrb ... coffee run.20:37
*** b52laptop has joined #zope3-dev20:37
lisppaste6mgedmin pasted "Blog draft: Custom traversal in Zope 3" at
mgedmindennis__: ^^20:40
mgedminI'd appreciate feedback (and syntax error fixes, since I just typed it all up while looking at working code in another workspace)20:41
*** zez_zez has quit IRC20:43
*** philiKON has joined #zope3-dev20:44
*** jrc2e has quit IRC20:44
*** jrc2e has joined #zope3-dev20:45
*** ignas has quit IRC20:54
dennis__whoa thats fast20:55
dennis__i have to run now but i will try it in a few hrs!20:55
dennis__thank you!20:55
nerdalertmgedmin: btw, I just found that paste incredibly helpful, so thanks! =D20:59
*** alga has quit IRC21:00
*** alga has joined #zope3-dev21:00
*** jodok has joined #zope3-dev21:07
*** sm-afk is now known as sm21:10
*** naro has joined #zope3-dev21:10
*** schwendinger has joined #zope3-dev21:22
*** jodok has quit IRC21:23
*** sm has quit IRC21:29
*** sm has joined #zope3-dev21:31
*** schwendinger has quit IRC21:33
*** schwendinger has joined #zope3-dev21:35
*** dobee has quit IRC21:40
*** tarek has quit IRC21:40
*** whit is now known as whit|lunch21:52
*** wreutz has joined #zope3-dev21:56
*** wreutz has quit IRC21:58
*** norro has quit IRC21:58
*** rocky is now known as rocky|away22:00
*** dunny has joined #zope3-dev22:03
*** xbeanx has quit IRC22:03
*** jodok has joined #zope3-dev22:05
*** dobee has joined #zope3-dev22:05
*** tarek has joined #zope3-dev22:18
*** whit|lunch is now known as whit22:21
benjiTheuni: where can I find your "zope 3 from eggs" project?  (I'm starting a small project and I'll like to be egg-only from the get-go).22:21
*** Newfie2007 has quit IRC22:26
*** pcardune has quit IRC22:30
*** sm has left #zope3-dev22:32
*** sm has joined #zope3-dev22:32
*** mgedmin has quit IRC22:49
*** dobee has quit IRC22:52
*** jfroche has joined #zope3-dev22:57
*** dobee has joined #zope3-dev23:04
*** jfroche_ has joined #zope3-dev23:07
*** alga has quit IRC23:07
*** jfroche has quit IRC23:08
*** RaFromBRC is now known as RaFromBRC|lunch23:16
*** dobee has quit IRC23:16
*** jfroche_ has quit IRC23:22
*** ksmith99 has left #zope3-dev23:25
*** dobee has joined #zope3-dev23:35
*** d2m has quit IRC23:41
*** tarek has left #zope3-dev23:42
*** bigkevmcd has quit IRC23:51

Generated by 2.15.1 by Marius Gedminas - find it at!