*** ktwilight_ has joined #zope3-dev | 00:02 | |
*** schwendinger has quit IRC | 00:03 | |
*** schwendinger has joined #zope3-dev | 00:07 | |
*** jfroche_ has quit IRC | 00:16 | |
*** jfroche_ has joined #zope3-dev | 00:16 | |
*** jodok has joined #zope3-dev | 00:17 | |
*** ktwilight has quit IRC | 00:18 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 00:19 | |
*** schwendinger_ has quit IRC | 00:21 | |
*** jrc2e has quit IRC | 00:26 | |
*** nerdalert has quit IRC | 00:35 | |
*** jodok has quit IRC | 00:39 | |
*** schwendinger has quit IRC | 00:50 | |
*** timte has quit IRC | 00:57 | |
*** benji has quit IRC | 00:58 | |
*** MrTopf has joined #zope3-dev | 01:08 | |
*** pelle_ has quit IRC | 01:11 | |
*** pelle_ has joined #zope3-dev | 01: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-dev | 01:17 | |
*** jfroche_ has quit IRC | 01:17 | |
*** pandres has quit IRC | 01:20 | |
*** jbb666 has quit IRC | 01:21 | |
*** dobee has quit IRC | 01:22 | |
*** MrTopf has quit IRC | 01:26 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 01:31 | |
*** lurker_ has quit IRC | 01:33 | |
*** bigkevmcd has quit IRC | 01:54 | |
*** ricky-ticky has joined #zope3-dev | 01:55 | |
*** ricky-ticky has joined #zope3-dev | 01:56 | |
*** ricky-ticky has quit IRC | 01:59 | |
*** yota has quit IRC | 02:05 | |
*** pcardune has joined #zope3-dev | 02:08 | |
ccomb | dennis__: you have to use an apache with ssl in the front | 02:10 |
dennis__ | ccomb yep, and modifiy (i guess) zope.app.session.http to set a secure cookie instead | 02:10 |
dennis__ | (i dont want session cookies containing credentials to go over plain HTTP at all) | 02:11 |
ccomb | the credentials shouldn't be stored in the cookie | 02:12 |
dennis__ | i mean a cookie with a session which is matched to a principal | 02:13 |
ccomb | ok | 02: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 session | 02:15 |
*** niemeyer has quit IRC | 02:15 | |
ccomb | what 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 https | 02:19 |
ccomb | that means you will use both http and https ? | 02:20 |
ccomb | ah you want http for anonymous, and https for authenticated | 02:21 |
ccomb | (it's late here, my brain is slowing down :) | 02:21 |
*** dunny has quit IRC | 02: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 http | 02:22 |
dennis__ | late here too :) | 02:22 |
ccomb | where? | 02:22 |
dennis__ | austria | 02:23 |
ccomb | ok not so far... france | 02:23 |
dennis__ | :) | 02:23 |
*** jrc2e has joined #zope3-dev | 02:34 | |
*** foxmjay has quit IRC | 02:49 | |
*** pelle_ has quit IRC | 02:56 | |
*** jrc2e has quit IRC | 02:57 | |
*** natea|piktipi has quit IRC | 03:03 | |
*** b52laptop has quit IRC | 03:17 | |
*** jsadjohnson_ has joined #zope3-dev | 03:37 | |
*** jsadjohnson has quit IRC | 03:54 | |
*** jrc2e has joined #zope3-dev | 03:55 | |
*** jsadjohnson has joined #zope3-dev | 04:18 | |
*** alecm has quit IRC | 04:25 | |
*** jsadjohnson has left #zope3-dev | 04:28 | |
*** viorc_ has joined #zope3-dev | 04:32 | |
*** jsadjohnson_ has quit IRC | 04:35 | |
*** stub has joined #zope3-dev | 04:36 | |
*** projekt01 has joined #zope3-dev | 04:42 | |
*** jrc2e has quit IRC | 04:51 | |
*** dunny has joined #zope3-dev | 05:03 | |
*** alecm has joined #zope3-dev | 05:11 | |
*** deo has quit IRC | 05:14 | |
*** projekt01 has quit IRC | 05:17 | |
*** dunny_ has joined #zope3-dev | 05:21 | |
*** dunny has quit IRC | 05:22 | |
*** dunny_ is now known as dunny | 05:25 | |
*** pcardune has quit IRC | 05:58 | |
*** RaFromBRC has quit IRC | 05:59 | |
*** whit has quit IRC | 06:11 | |
*** reco has quit IRC | 07:06 | |
*** stub has quit IRC | 07:30 | |
*** timte has joined #zope3-dev | 07:33 | |
*** baijum has joined #zope3-dev | 07:44 | |
*** viorc_ has quit IRC | 07:46 | |
*** srichter has quit IRC | 07:53 | |
*** pcardune has joined #zope3-dev | 08:03 | |
*** b52GM has quit IRC | 08:11 | |
*** viorc has joined #zope3-dev | 08:34 | |
*** timte has quit IRC | 08:37 | |
*** d2m has joined #zope3-dev | 08:46 | |
*** Aiste has quit IRC | 08:49 | |
*** stub has joined #zope3-dev | 08:50 | |
*** dunny has quit IRC | 08:59 | |
*** pcardune has quit IRC | 09:04 | |
*** schwendinger has joined #zope3-dev | 09:11 | |
*** jukart has joined #zope3-dev | 09:16 | |
*** sorin has joined #zope3-dev | 09:19 | |
*** sorin is now known as sorindregan | 09:20 | |
*** alecm has quit IRC | 09:30 | |
*** Aswin_S has joined #Zope3-dev | 09:49 | |
*** romanofski has quit IRC | 09:49 | |
*** romanofski has joined #zope3-dev | 09:49 | |
*** bigkevmcd has joined #zope3-dev | 09:51 | |
romanofski | morjens | 09:56 |
*** wreutz has joined #zope3-dev | 09:58 | |
*** BjornT has joined #zope3-dev | 10:03 | |
*** viorc has quit IRC | 10:04 | |
*** zagy has joined #zope3-dev | 10:17 | |
*** harobed has joined #zope3-dev | 10:18 | |
*** Aswin_S has quit IRC | 10:20 | |
*** jfroche has joined #zope3-dev | 10:25 | |
*** MJ has joined #zope3-dev | 10:29 | |
*** yota has joined #zope3-dev | 10:35 | |
*** dobee has joined #zope3-dev | 10:35 | |
*** dobee has quit IRC | 10:36 | |
*** dobee has joined #zope3-dev | 10:36 | |
*** dobee has quit IRC | 10:37 | |
*** dobee has joined #zope3-dev | 10:37 | |
*** ka-jod has joined #zope3-dev | 10:47 | |
*** ignas has joined #zope3-dev | 11:14 | |
*** Aswin_S has joined #Zope3-dev | 11:25 | |
*** b52GM has joined #zope3-dev | 11:45 | |
*** MJ|nickcollision has joined #zope3-dev | 11:52 | |
*** MJ has quit IRC | 11:52 | |
*** ghendi has joined #zope3-dev | 11:55 | |
*** MJ|nickcollision is now known as MJ | 11:56 | |
*** projekt01 has joined #zope3-dev | 11:59 | |
*** Aswin_S has quit IRC | 12:01 | |
*** dunny has joined #zope3-dev | 12:08 | |
*** natea|piktipi has joined #zope3-dev | 12:17 | |
ccomb | Hi, I would like to reuse a rotterdam resource in my custom skin without copying it | 12:27 |
ccomb | xmltree.js | 12:27 |
*** pcardune has joined #zope3-dev | 12:27 | |
ccomb | How can I give the path to it in the ZCML ? | 12:27 |
zagy | actually i wondered about this as well | 12:28 |
zagy | but then i figured that i don't want the xmltree :) | 12:29 |
ccomb | <browser:resource name="xmltree.js" file="??????" layer=".interfaces.IEztranetSkin" /> | 12:29 |
ccomb | you replaced it by something else? | 12:30 |
projekt01 | ccombo, around that use the configure directive like: <configure package="foo.bar"></configure> | 12:30 |
zagy | ah right | 12:31 |
zagy | ccomb: yes, some other tree, but it's quite specific | 12:31 |
ccomb | thanks, I'll try this | 12:32 |
ccomb | It would be nice to move the xmltree into a viewlet instead of a macro | 12:32 |
projekt01 | ccombo, stay tuned, I'll commit a new JQuery based json based tree to jquery.jsontree the next couple days | 12:33 |
zagy | it would be nice to get rid of the rotterdam skin ;) | 12:33 |
projekt01 | +1 | 12:33 |
projekt01 | zagy, did you see the Boston skin? | 12:34 |
zagy | not really. not really needing those anyway | 12:35 |
philiKON | would be nice to get rid of all default skins | 12:36 |
zagy | jo | 12:36 |
zagy | hey philiKON ... got home safely :) | 12:37 |
philiKON | hey | 12:37 |
philiKON | yeah | 12:37 |
zagy | good | 12:37 |
projekt01 | philiKON, I rarely agree with philiKON, but on this I do ;-) | 12:38 |
zagy | philiKON: nice car btw :) | 12:41 |
philiKON | :) | 12:41 |
ccomb | the problem is I don't see the real bounds of a skin | 12:43 |
ccomb | and some interesting components (or view) are inside skins | 12:43 |
projekt01 | ccombo, it's also a security problem | 12:44 |
philiKON | yup. which is why i think we need a better way of tackling this problem | 12:44 |
*** afd__ has joined #zope3-dev | 12:48 | |
*** ktwilight_ has quit IRC | 12:49 | |
*** ktwilight has joined #zope3-dev | 12:53 | |
ccomb | projekt01: thanks, that works | 12:54 |
projekt01 | np | 12:54 |
ccomb | <configure package="zope.app.rotterdam"> <browser:resource name="xmltree.js" file="xmltree.js" layer="eztranet.skin.interfaces.IEztranetSkin" /> </configure> | 12:54 |
*** schwendinger has quit IRC | 13:01 | |
*** baijum has quit IRC | 13:05 | |
*** tarek_ has quit IRC | 13:06 | |
*** j-w has joined #zope3-dev | 13:06 | |
*** viorc has joined #zope3-dev | 13:09 | |
*** tarek has joined #zope3-dev | 13:12 | |
*** dunny has quit IRC | 13:16 | |
Cripps | morning Phil, projekt01, and everyone else who's kicking around. | 13:22 |
*** niemeyer has joined #zope3-dev | 13:23 | |
dennis__ | hi cripps | 13:26 |
projekt01 | Cripps, good afternoon | 13:27 |
*** benji has joined #zope3-dev | 13:29 | |
*** MJ is now known as MJ|lunch | 13:37 | |
*** viorc has quit IRC | 13:41 | |
*** baijum has joined #zope3-dev | 13:49 | |
Cripps | how is everyone doing? | 13:53 |
*** __gotcha has joined #zope3-dev | 13:57 | |
*** Aiste has joined #zope3-dev | 14:01 | |
*** rocky|away is now known as rocky | 14: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 |
Cripps | dennis__: good, now you'll be able to help me when I need that ;) | 14:12 |
dennis__ | hah! | 14:12 |
*** benji has quit IRC | 14:21 | |
*** jodok has joined #zope3-dev | 14:23 | |
*** tarek has quit IRC | 14:29 | |
*** MJ|lunch is now known as MJ | 14:32 | |
*** schwendinger has joined #zope3-dev | 14:36 | |
*** Theuni has joined #zope3-dev | 14:38 | |
*** xbeanx has quit IRC | 14:38 | |
*** mgedmin has joined #zope3-dev | 14:38 | |
*** xbeanx has joined #zope3-dev | 14:43 | |
*** jsadjohnson has joined #zope3-dev | 14:46 | |
*** romanofski has quit IRC | 14:46 | |
*** Theuni_ has quit IRC | 14:46 | |
*** dobee has quit IRC | 14:51 | |
*** jsadjohnson has left #zope3-dev | 14:52 | |
*** grahal has joined #zope3-dev | 15:01 | |
*** dobee has joined #zope3-dev | 15: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-dev | 15:18 | |
*** tarek has joined #zope3-dev | 15: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 setup.py requirements, it pulls the zope eggs | 15:27 |
benji | afd__: 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 |
baijum | benji, afd__, that is Zope3.buildout it is not working yet, AFAIK | 15:36 |
afd__ | ok | 15:37 |
afd__ | kind of sucks thought to have packages in both locations, though, the eggs and the zope source tree | 15:37 |
*** stub has quit IRC | 15:38 | |
baijum | afd__, but you can run your Z3 app only using eggs and buildout now | 15: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 |
baijum | afd__, no need of Zope 3 check out with latest recipe | 15:39 |
baijum | http://svn.zope.org/zc.zope3recipes/ | 15:40 |
afd__ | baijum: thanks! :) | 15:40 |
*** mgedmin has quit IRC | 15:41 | |
baijum | afd__, np | 15:41 |
baijum | May be these example are useful : http://baijum81.livejournal.com/19795.html | 15:42 |
baijum | http://svn.zope.org/z3c.formdemo/ | 15:42 |
*** jsadjohnson_ has joined #zope3-dev | 15:46 | |
*** jrc2e has joined #zope3-dev | 15:48 | |
* baijum reading http://piktipi.wordpress.com/2007/06/04/natea-future-of-zope-by-tres-seaver-dzug-conference-2007/ | 15:48 | |
* baijum interesting Prognostication: "In two years, Zope3 will no longer be installable as an application" | 15:49 | |
*** schwendinger has quit IRC | 15:51 | |
afd__ | thanks | 15:51 |
*** Newfie2007 has joined #zope3-dev | 15:52 | |
*** schwendinger has joined #zope3-dev | 15:54 | |
*** jsadjohnson_ has quit IRC | 15:54 | |
*** jsadjohnson_ has joined #zope3-dev | 15:54 | |
*** dobee_ has joined #zope3-dev | 15:57 | |
*** dobee has quit IRC | 15:57 | |
*** alga has joined #zope3-dev | 15:57 | |
*** jsadjohnson has joined #zope3-dev | 16:04 | |
*** aa_ has joined #zope3-dev | 16:18 | |
*** jsadjohnson_ has quit IRC | 16:20 | |
natea|piktipi | what is the story for workflow in Zope 3? | 16:24 |
*** baijum has quit IRC | 16:25 | |
*** xenru has joined #zope3-dev | 16:26 | |
*** natea|piktipi has quit IRC | 16:34 | |
xbeanx | I'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 zope.app.intid.interfaces.IIntIds>, '') | 16:36 |
xbeanx | any idea what is going on here? | 16:36 |
ccomb | is it registered? | 16:38 |
xbeanx | I can't even create it... | 16:39 |
xbeanx | I click add, it asks for a name, I enter one, and it throws that error... | 16:39 |
xbeanx | I created a catalog fine and registered that.. The next step is to create the unique id utility, but no go. | 16:40 |
ccomb | i think the catalog should be created after the intid | 16:41 |
ccomb | because it needs it | 16:41 |
xbeanx | k, I'll try that ccomb | 16:42 |
xbeanx | interestg, I get the same error when I try to delete the catalog | 16:42 |
ccomb | unregister it first | 16:42 |
ccomb | then add the intid | 16:42 |
ccomb | register the intid, then register the catalog | 16:43 |
xbeanx | hah, thanks ccomb... | 16:44 |
xbeanx | works now | 16:44 |
xbeanx | the book suggests making the catalog first, perhaps I should mention this to Phil | 16:44 |
ccomb | the right order is for registering rather than creating | 16:45 |
*** El-Rolando has joined #zope3-dev | 16:45 | |
ccomb | but the error should be more explicit | 16:46 |
afd__ | I get this traceback when trying to run zope with runzope with the zc.zope3recipes:app recipe http://zope3.pastey.net/52767 - buildout.cfg included | 16:46 |
afd__ | any idea what I should do? | 16:46 |
*** natea|piktipi has joined #zope3-dev | 16:52 | |
*** zez_zez has joined #zope3-dev | 16:53 | |
*** reco has joined #zope3-dev | 16:54 | |
*** nerdalert has joined #zope3-dev | 16:55 | |
ccomb | BTW, does rotterdam work well with ie7 ? | 16:55 |
*** jsadjohnson_ has joined #zope3-dev | 16:55 | |
*** schwendinger_ has joined #zope3-dev | 17:01 | |
*** schwendinger has quit IRC | 17:01 | |
*** mgedmin has joined #zope3-dev | 17:02 | |
xbeanx | never tried.. | 17:05 |
*** jsadjohnson has quit IRC | 17:10 | |
*** jsadjohnson has joined #zope3-dev | 17:10 | |
*** whit has joined #zope3-dev | 17:13 | |
*** zagy has quit IRC | 17:15 | |
aa_ | hi, how can I get a list of container items in the navigation sidebar | 17:15 |
*** zagy has joined #zope3-dev | 17:16 | |
*** jsadjohnson_ has quit IRC | 17:17 | |
aa_ | I get the Contents tab | 17:18 |
*** sorindregan has quit IRC | 17:18 | |
aa_ | also, how do I affect the Name value in the item list? | 17:19 |
*** philiKON has quit IRC | 17:24 | |
afd__ | aa_: look up the info in localhost:8080/++apidoc++ in the zcml section, browser namespace, addMenuItem | 17:26 |
afd__ | z3c.formdemo doesn't work as buildout, I get the same twisted related error | 17:26 |
aa_ | afd__: ok, thanks | 17:28 |
aa_ | afd__: I was just there actually | 17: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 thingy | 17: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 z3 | 17: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 zope.org) deals with how to customize the zope skin | 17:33 |
aa_ | ok thanks | 17:33 |
bigkevmcd | it's changed bit since then...probably better to look at the source for one of the current skins | 17:33 |
*** xenru_ has joined #zope3-dev | 17:36 | |
aa_ | ok | 17:36 |
*** xenru has quit IRC | 17:37 | |
*** jodok has quit IRC | 17: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 authentication | 17:48 |
afd__ | it's not possible to logout unless you close the browser | 17:48 |
*** dobee_ has quit IRC | 17:49 | |
afd__ | the other option is to configure the PAU with a session credentials plugin, which will extract the authentication credentials from the session | 17:49 |
afd__ | but it might be too advanced for you, at this point | 17:49 |
afd__ | unless you find a tutorial on the web or faq entry | 17:49 |
*** dobee has joined #zope3-dev | 17:50 | |
aa_ | I am drowning | 17:50 |
aa_ | :) | 17:50 |
aa_ | well, I can make basic content types, so I think I should concentrate on that until I understand things a bit better | 17:51 |
*** schwendinger_ has quit IRC | 17:52 | |
*** philiKON has joined #zope3-dev | 17:55 | |
*** dobee has quit IRC | 17:56 | |
*** pandres has joined #zope3-dev | 17:57 | |
*** schwendinger has joined #zope3-dev | 17:57 | |
*** jukart has quit IRC | 18:14 | |
*** ghendi has quit IRC | 18:15 | |
*** srichter has joined #zope3-dev | 18:19 | |
*** ChanServ sets mode: +o srichter | 18:19 | |
*** wreutz has quit IRC | 18:20 | |
*** afd__ has quit IRC | 18:23 | |
ccomb | aa_: changing the auth method is not very complicated : | 18:29 |
ccomb | http://www.mail-archive.com/zope3-users@zope.org/msg05338.html | 18:29 |
ccomb | then you can logout by visiting logout.html | 18:29 |
*** j-w has quit IRC | 18:33 | |
*** El-Rolando has left #zope3-dev | 18:33 | |
*** jodok has joined #zope3-dev | 18:39 | |
*** norro has joined #zope3-dev | 18:41 | |
*** MJ has quit IRC | 18:43 | |
*** jrc2e_ has joined #zope3-dev | 18:49 | |
*** schwendinger has quit IRC | 18:54 | |
*** ka-jod has quit IRC | 18:58 | |
*** jkakar has quit IRC | 18:59 | |
*** harobed has quit IRC | 19:03 | |
*** jrc2e has quit IRC | 19:06 | |
*** jrc2e has joined #zope3-dev | 19:06 | |
*** alecm has joined #zope3-dev | 19:08 | |
*** philiKON has quit IRC | 19:08 | |
*** jrc2e_ has quit IRC | 19:10 | |
*** pandres has left #zope3-dev | 19:12 | |
*** pandres has joined #zope3-dev | 19:21 | |
*** jkakar_ has joined #zope3-dev | 19:26 | |
*** pandres has left #zope3-dev | 19:28 | |
*** BjornT has quit IRC | 19:29 | |
*** __gotcha has quit IRC | 19:30 | |
*** projekt01 has left #zope3-dev | 19:30 | |
*** Aiste has quit IRC | 19:34 | |
*** jfroche has quit IRC | 19:34 | |
*** natea|piktipi has quit IRC | 19:48 | |
*** natea|piktipi has joined #zope3-dev | 19:49 | |
*** natea|piktipi has quit IRC | 19:51 | |
Cripps | I have a function pasted here: http://www.pastebin.ca/544881 ... 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 with | 20:06 |
Cripps | for 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-dev | 20:07 | |
Cripps | the 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-dev | 20:08 | |
Cripps | I guess that's more of a python question than a zope question. | 20:10 |
*** markup_ is now known as ksmith99 | 20:12 | |
mgedmin | ah, 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 Idea | 20: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 faule | 20:14 |
mgedmin | er, s/faule/value/ | 20:14 |
mgedmin | how did I manage to mistype that? | 20:14 |
nerdalert | skill? | 20:14 |
Cripps | the f and v are right next to each other on a qwerty keyboard ;) | 20:14 |
nerdalert | yeah, I avoid using mutable objects as default arguments | 20:15 |
Cripps | mgedmin: 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 |
Cripps | I can try removing the default value and see how things go from there. | 20:15 |
mgedmin | yes it does | 20:15 |
mgedmin | all your objects share the same list | 20:16 |
nerdalert | Cripps: if you can put that in a doctest, you can probably get it to work | 20:16 |
Cripps | mgedmin: oh, so if there's a default value they all share the same list? | 20:16 |
*** jkakar_ is now known as jkakar | 20:16 | |
Cripps | else, they each have their own? | 20:16 |
mgedmin | else the default value is None | 20:19 |
mgedmin | add a __init__ and inside it set self.users = [yourdefault] | 20:20 |
Cripps | mgedmin: ahhh. k. | 20:20 |
*** RaFromBRC has joined #zope3-dev | 20:21 | |
* mgedmin was talking about your content class | 20:21 | |
Cripps | I caught that :) | 20:21 |
*** jodok has quit IRC | 20: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 |
mgedmin | I don't know about existing howtos, but I could blog about it | 20:26 |
*** reco has quit IRC | 20:27 | |
dennis__ | blogs like yours are really helpful | 20:27 |
Cripps | agreed. | 20:27 |
Cripps | mgedmin: yep. Those eimple modifications made everything work like magic :) | 20:28 |
Cripps | thanks :) | 20:28 |
*** xenru_ has quit IRC | 20:29 | |
*** reco has joined #zope3-dev | 20:31 | |
*** sm is now known as sm-afk | 20:36 | |
Cripps | brb ... coffee run. | 20:37 |
*** b52laptop has joined #zope3-dev | 20:37 | |
lisppaste6 | mgedmin pasted "Blog draft: Custom traversal in Zope 3" at http://paste.lisp.org/display/42347 | 20:40 |
mgedmin | dennis__: ^^ | 20:40 |
mgedmin | I'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 IRC | 20:43 | |
*** philiKON has joined #zope3-dev | 20:44 | |
*** jrc2e has quit IRC | 20:44 | |
*** jrc2e has joined #zope3-dev | 20:45 | |
*** ignas has quit IRC | 20:54 | |
dennis__ | whoa thats fast | 20:55 |
dennis__ | i have to run now but i will try it in a few hrs! | 20:55 |
dennis__ | thank you! | 20:55 |
nerdalert | mgedmin: btw, I just found that paste incredibly helpful, so thanks! =D | 20:59 |
*** alga has quit IRC | 21:00 | |
*** alga has joined #zope3-dev | 21:00 | |
*** jodok has joined #zope3-dev | 21:07 | |
*** sm-afk is now known as sm | 21:10 | |
*** naro has joined #zope3-dev | 21:10 | |
*** schwendinger has joined #zope3-dev | 21:22 | |
*** jodok has quit IRC | 21:23 | |
*** sm has quit IRC | 21:29 | |
*** sm has joined #zope3-dev | 21:31 | |
*** schwendinger has quit IRC | 21:33 | |
*** schwendinger has joined #zope3-dev | 21:35 | |
*** dobee has quit IRC | 21:40 | |
*** tarek has quit IRC | 21:40 | |
*** whit is now known as whit|lunch | 21:52 | |
*** wreutz has joined #zope3-dev | 21:56 | |
*** wreutz has quit IRC | 21:58 | |
*** norro has quit IRC | 21:58 | |
*** rocky is now known as rocky|away | 22:00 | |
*** dunny has joined #zope3-dev | 22:03 | |
*** xbeanx has quit IRC | 22:03 | |
*** jodok has joined #zope3-dev | 22:05 | |
*** dobee has joined #zope3-dev | 22:05 | |
*** tarek has joined #zope3-dev | 22:18 | |
*** whit|lunch is now known as whit | 22:21 | |
benji | Theuni: 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 IRC | 22:26 | |
*** pcardune has quit IRC | 22:30 | |
*** sm has left #zope3-dev | 22:32 | |
*** sm has joined #zope3-dev | 22:32 | |
*** mgedmin has quit IRC | 22:49 | |
*** dobee has quit IRC | 22:52 | |
*** jfroche has joined #zope3-dev | 22:57 | |
*** dobee has joined #zope3-dev | 23:04 | |
*** jfroche_ has joined #zope3-dev | 23:07 | |
*** alga has quit IRC | 23:07 | |
*** jfroche has quit IRC | 23:08 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:16 | |
*** dobee has quit IRC | 23:16 | |
*** jfroche_ has quit IRC | 23:22 | |
*** ksmith99 has left #zope3-dev | 23:25 | |
*** dobee has joined #zope3-dev | 23:35 | |
*** d2m has quit IRC | 23:41 | |
*** tarek has left #zope3-dev | 23:42 | |
*** bigkevmcd has quit IRC | 23:51 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!