*** tomus has quit IRC | 00:03 | |
*** dobee has joined #zope3-dev | 00:10 | |
*** jsadjohnson has quit IRC | 00:11 | |
*** yielder has quit IRC | 00:16 | |
*** dobee has quit IRC | 00:20 | |
*** norro has quit IRC | 00:42 | |
*** dunny has joined #zope3-dev | 00:57 | |
*** jsadjohnson has joined #zope3-dev | 00:59 | |
*** dunny has joined #zope3-dev | 01:00 | |
*** timte has quit IRC | 01:25 | |
*** foxmjay has quit IRC | 01:36 | |
*** foxmjay has joined #zope3-dev | 01:39 | |
*** foxmjay has quit IRC | 01:47 | |
*** Ariel_Calzada has joined #zope3-dev | 01:51 | |
*** rcrafton has joined #zope3-dev | 02:35 | |
*** Ariel_Calzada has quit IRC | 02:59 | |
*** Ariel_Calzada has joined #zope3-dev | 03:01 | |
*** b52GM has quit IRC | 03:35 | |
*** b52laptop has quit IRC | 04:17 | |
*** huajie has joined #zope3-dev | 04:20 | |
*** Ariel_Calzada has quit IRC | 04:30 | |
*** Ariel_Calzada has joined #zope3-dev | 04:30 | |
*** rcrafton has quit IRC | 05:00 | |
*** jsadjohnson has quit IRC | 05:16 | |
*** jsadjohnson has joined #zope3-dev | 05:20 | |
*** ktwilight has joined #zope3-dev | 05:51 | |
*** ktwilight_ has quit IRC | 05:53 | |
*** bao has joined #zope3-dev | 05:56 | |
*** yutakashino has joined #zope3-dev | 06:19 | |
*** yutakashino has quit IRC | 06:19 | |
*** yutakashino has joined #zope3-dev | 06:20 | |
*** yutakashino has left #zope3-dev | 06:20 | |
*** Ariel_Calzada has quit IRC | 06:26 | |
*** jsadjohnson has quit IRC | 06:27 | |
*** philiKON_ has joined #zope3-dev | 07:16 | |
*** philiKON has quit IRC | 07:24 | |
*** bao has left #zope3-dev | 07:39 | |
*** alecm has joined #zope3-dev | 07:40 | |
*** alecm has quit IRC | 07:41 | |
*** alecm has joined #zope3-dev | 07:42 | |
*** alecm has quit IRC | 08:06 | |
*** cursor has joined #zope3-dev | 08:13 | |
*** greenman has quit IRC | 08:14 | |
*** benji has quit IRC | 08:29 | |
*** sorin has joined #zope3-dev | 08:44 | |
*** sorin is now known as sorindregan | 08:44 | |
*** zagy has joined #zope3-dev | 08:47 | |
*** zagy has joined #zope3-dev | 08:48 | |
*** naro has joined #zope3-dev | 08:50 | |
*** agroszer has joined #zope3-dev | 09:08 | |
*** povbot has joined #zope3-dev | 09:19 | |
*** afd has joined #zope3-dev | 09:30 | |
*** dunny has quit IRC | 09:31 | |
*** romanofski has joined #zope3-dev | 09:42 | |
*** dobee has joined #zope3-dev | 09:42 | |
romanofski | moin :) | 09:43 |
---|---|---|
*** jodok has joined #zope3-dev | 09:50 | |
*** cursor has quit IRC | 10:07 | |
*** yvl has joined #zope3-dev | 10:07 | |
*** cursor has joined #zope3-dev | 10:10 | |
*** huajie has quit IRC | 10:16 | |
*** huajie has joined #zope3-dev | 10:16 | |
*** stub has joined #zope3-dev | 10:22 | |
*** jfroche has joined #zope3-dev | 10:22 | |
*** greenman has joined #zope3-dev | 10:24 | |
*** timte has joined #zope3-dev | 10:24 | |
*** lisppaste6 has quit IRC | 10:30 | |
*** lisppaste6 has joined #zope3-dev | 10:35 | |
*** jukart has joined #zope3-dev | 10:37 | |
*** stub has quit IRC | 10:45 | |
*** projekt01 has joined #zope3-dev | 11:12 | |
*** bigkev has joined #zope3-dev | 11:26 | |
*** bigkev is now known as bigkevmcd | 11:27 | |
*** ccomb has joined #zope3-dev | 11:37 | |
*** MJ has joined #zope3-dev | 11:44 | |
*** projet01_ has joined #zope3-dev | 12:00 | |
*** dunny has joined #zope3-dev | 12:15 | |
*** projekt01 has quit IRC | 12:16 | |
*** norro has joined #zope3-dev | 12:18 | |
*** b52laptop has joined #zope3-dev | 12:28 | |
*** ignas has joined #zope3-dev | 12:32 | |
*** jodok has quit IRC | 12:35 | |
*** dunny_ has joined #zope3-dev | 12:40 | |
*** norro has quit IRC | 12:44 | |
agroszer | projet01_: ayt? | 12:45 |
*** kleist has joined #zope3-dev | 12:48 | |
*** deo has joined #zope3-dev | 12:56 | |
*** mgedmin has joined #zope3-dev | 12:58 | |
*** srichter has quit IRC | 12:58 | |
*** dunny has quit IRC | 12:59 | |
*** ferrafox has joined #zope3-dev | 13:00 | |
*** ferrafox has joined #zope3-dev | 13:01 | |
*** markusleist has joined #zope3-dev | 13:01 | |
*** romanofski has quit IRC | 13:18 | |
*** dunny_ has quit IRC | 13:21 | |
*** romanofski has joined #zope3-dev | 13:29 | |
*** b52lap has joined #zope3-dev | 13:34 | |
*** b52laptop has quit IRC | 13:35 | |
*** greenman has quit IRC | 14:00 | |
*** Newfie2007 has joined #zope3-dev | 14:06 | |
*** zagy has quit IRC | 14:12 | |
*** arnarl_ has joined #zope3-dev | 14:14 | |
*** zagy has joined #zope3-dev | 14:15 | |
*** reco has joined #zope3-dev | 14:17 | |
*** zagy has quit IRC | 14:18 | |
*** zagy has joined #zope3-dev | 14:23 | |
*** huajie has quit IRC | 14:27 | |
*** MJ is now known as MJ|lunch | 14:29 | |
*** jodok has joined #zope3-dev | 14:30 | |
*** goschtl has joined #zope3-dev | 14:32 | |
*** jodok has left #zope3-dev | 14:34 | |
*** jinty has joined #zope3-dev | 14:36 | |
*** jsadjohnson has joined #zope3-dev | 14:43 | |
arnarl_ | Do I need to run removeSecurityProxy if I wish to store a reference to another persistent object? Ie will ZODB correctly persist a security proxy? | 14:45 |
*** anne-laure has joined #zope3-dev | 14:46 | |
*** anne-laure has quit IRC | 14:46 | |
agroszer | arnarl_: ZODB won't persist a proxied object | 14:50 |
arnarl_ | agroszer: thnx | 14:50 |
agroszer | welcome | 14:51 |
arnarl_ | how do I re-add a security-proxy for objects I return in a method? | 14:51 |
agroszer | the easyest way is when you return it from a proxied objects method | 14:53 |
agroszer | something like | 14:53 |
agroszer | container[key]=unproxied | 14:54 |
agroszer | proxied=container[key] | 14:54 |
*** projet01_ is now known as projekt01 | 14:54 | |
projekt01 | agroszer, Hi | 14:55 |
arnarl_ | hmm, that probably won't work for what I need. Can I find examples of the wrapping in the containment code? | 14:55 |
agroszer | hi projekt01 | 14:55 |
projekt01 | Saw your mail | 14:55 |
agroszer | projekt01: "hat sich erledigt", David just responded | 14:56 |
agroszer | arnarl_: I don't know (yet) a better way | 14:57 |
projekt01 | cool, hope to see you over there | 14:58 |
agroszer | let's cross the fingers | 14:58 |
arnarl_ | agroszer: k, thnx :-) | 14:59 |
projekt01 | agroszer, cross, cross | 15:00 |
*** zagy_ has joined #zope3-dev | 15:00 | |
*** zagy has quit IRC | 15:01 | |
*** rcrafton has joined #zope3-dev | 15:05 | |
*** zagy has joined #zope3-dev | 15:07 | |
*** zagy_ has quit IRC | 15:07 | |
*** Ariel_Calzada has joined #zope3-dev | 15:11 | |
*** replicant is now known as hazmat | 15:14 | |
*** ChanServ sets mode: +o hazmat | 15:14 | |
*** niemeyer has joined #zope3-dev | 15:18 | |
*** benji has joined #zope3-dev | 15:24 | |
*** MJ|lunch is now known as MJ | 15:33 | |
*** reco has quit IRC | 15:40 | |
arnarl_ | will an identity-test work across security-proxies if I have two different security-proxy-objects for the same persistent object? | 15:54 |
arnarl_ | >>> objecta is object | 15:54 |
arnarl_ | >>> objecta is objectb | 15:54 |
mgedmin | arnarl_: most likely not | 15:55 |
mgedmin | IIRC zope.security has a helper function for comparing the identity of a proxied object | 15:55 |
mgedmin | ah, no, it only has a zope.security.proxy.isinstance | 15:56 |
*** ktwilight has quit IRC | 16:02 | |
*** ktwilight has joined #zope3-dev | 16:03 | |
*** ferrafox has quit IRC | 16:10 | |
*** cursor has quit IRC | 16:15 | |
*** ghendi has joined #zope3-dev | 16:17 | |
*** ferrafox has joined #zope3-dev | 16:19 | |
*** J1m has joined #zope3-dev | 16:28 | |
*** cbcunc has joined #zope3-dev | 16:36 | |
*** jodok has joined #zope3-dev | 16:42 | |
*** jodok has quit IRC | 16:43 | |
*** CrippsFX has quit IRC | 16:47 | |
*** jodok has joined #zope3-dev | 16:53 | |
*** netshade has joined #zope3-dev | 16:58 | |
*** CrippsFX has joined #zope3-dev | 16:58 | |
CrippsFX | morning fellas. | 16:58 |
*** nerdalert has joined #zope3-dev | 16:58 | |
*** jinty has quit IRC | 16:59 | |
*** jinty has joined #zope3-dev | 17:00 | |
*** grahal has joined #zope3-dev | 17:07 | |
*** jinty has quit IRC | 17:23 | |
*** ghendi has quit IRC | 17:23 | |
*** sorindregan has quit IRC | 17:26 | |
*** ferrafox_ has joined #zope3-dev | 17:32 | |
ignas | so apparently Zope3.4 is not going to be available in Ubuntu gutsy, does anyone have any ideas which Zope3 version should i target if i want my software to work in gutsy+1? | 17:36 |
timte | do you mean out of the box? if not, any python/zope version is installable in any (almost) version of any (almost) distribution | 17:38 |
ignas | i mean out of the box | 17:38 |
ignas | as in if i want my software to be installable as a debian package | 17:38 |
ignas | i need Zope3 i depend on released as a debian package too | 17:39 |
CrippsFX | ignas: well, won't 3.3 be available on gutsy then, if it's already available in edgy? | 17:44 |
ignas | CrippsFX: yes, but schooltool depends on 3.4 | 17:44 |
CrippsFX | ignas: ahhh ... schooltool. | 17:45 |
ignas | so i don't want to jump to the next version too early again | 17:45 |
ignas | and am wondering whether anyone knows what are the plans for gutsy+1 | 17:45 |
CrippsFX | I've no idea ... I'm not really involved in the packaging side of things. | 17:45 |
*** ferrafox__ has joined #zope3-dev | 17:46 | |
CrippsFX | now here I've got a *crazy* question ... how would I go about overriding the principals.zcml configuration locally? | 17:47 |
ignas | localAuthenticationUtility? | 17:47 |
ignas | what do you mean by locally? | 17:47 |
*** markusleist has quit IRC | 17:48 | |
CrippsFX | ignas: well, I want to do it programatically, so that when somebody downloads my svn code and plops it into their zope instance, they'll only have to create a package-configure file (at the most) | 17:48 |
CrippsFX | and by locally, I mean I want my app to override the instance's principals.zcml | 17:48 |
ignas | CrippsFX: emm, and then what? | 17:49 |
ignas | so you want to override locally or globally? | 17:49 |
ignas | locally means - only valid when looking at your application object | 17:49 |
CrippsFX | ignas: locally. | 17:49 |
ignas | globally - your new users/principals are valid when looking at the zmi views for all other applications/objects | 17:50 |
*** ferrafox has quit IRC | 17:50 | |
ignas | so you need an object added event subsciber that would make your application a site | 17:50 |
ignas | and add all the required local authentication utilities to it | 17:50 |
ignas | probably | 17:50 |
CrippsFX | ignas: my app already has the site stuff ... I sort of figured I would use the default authentication machinery ... the only thing I want to change about it is the principals. | 17:51 |
ignas | you see - it's the authentication utility that decides what is and what is not a principal | 17:52 |
*** jodok has quit IRC | 17:53 | |
CrippsFX | ignas ... yeah ... what's going on though, is that I have created an application level principals.zcml, but the only issue it's having is that things like <AuthenticatedUser .../> are already defined by the instance's principals.zcml | 17:53 |
ignas | you can't override them locally | 17:54 |
ignas | these are principals used by the global authentication utility | 17:54 |
CrippsFX | oh. | 17:54 |
ignas | so if you will override them or add more of them | 17:54 |
ignas | they will work application wide | 17:55 |
CrippsFX | I see. | 17:55 |
ignas | it's all in the code | 17:55 |
*** jfroche has quit IRC | 17:55 | |
ignas | look at PrincipalRegistry | 17:55 |
ignas | i think it's the one used by default | 17:55 |
philiKON_ | yes, that's the global IAuthentication utility | 17:55 |
CrippsFX | there is a default local authentication utility that uses pretty much the same machinery as the global authentication utility, correct? | 17:56 |
ignas | getPrincipals is the method that list all the principals | 17:56 |
philiKON_ | CrippsFX: not really | 17:56 |
CrippsFX | philiKON_: oh, damn. | 17:56 |
*** alecm has joined #zope3-dev | 17:56 | |
philiKON_ | the glboal one is pretty simple | 17:56 |
philiKON_ | it's filled thru zcml | 17:56 |
philiKON_ | (e.g. in principals.zcml) | 17:56 |
philiKON_ | and it only handles basicauth | 17:56 |
philiKON_ | the local one is PAU | 17:56 |
philiKON_ | RTFB :) | 17:56 |
CrippsFX | hahaha. yeah, have been :P | 17:56 |
CrippsFX | that's chapter 22 :P | 17:57 |
philiKON_ | then read it again :). i didn't write it just so i can quote it again in irc | 17:57 |
*** kleist has quit IRC | 17:57 | |
CrippsFX | philiKON_: I'll read through the chapter another couple of times. If I have another question about how the machinery works I'll come back and ask again ;) | 17:58 |
*** jodok has joined #zope3-dev | 17:59 | |
ignas | no, wrong answer! | 18:00 |
ignas | you will go and read the code ;) | 18:00 |
CrippsFX | "luke, read the source!" | 18:00 |
CrippsFX | :P | 18:00 |
*** ferrafox__ is now known as ferrafox | 18:00 | |
mgedmin | I think the correct quotation is "Use the Source, Luke" | 18:01 |
CrippsFX | mgedmin: it's been years since I've watched the movie, I can't be expected to remember everything ;) | 18:02 |
ignas | blasphemy! | 18:02 |
*** hazmat has quit IRC | 18:02 | |
*** ferrafox_ has quit IRC | 18:02 | |
* CrippsFX wanders off to read before he causes more trouble | 18:02 | |
*** nathany has joined #zope3-dev | 18:05 | |
*** hazmat has joined #zope3-dev | 18:08 | |
*** ChanServ sets mode: +o hazmat | 18:08 | |
*** ignas has quit IRC | 18:08 | |
*** yvl has quit IRC | 18:14 | |
*** projekt01 has quit IRC | 18:16 | |
*** arnarl_ has quit IRC | 18:17 | |
CrippsFX | philiKON_: the only realy problem I have with the way your book approaches the PAU and principal management is that the PAU has to be added through the Site manager AddMenu ... I'm looking for a way to do this all programatically. | 18:18 |
*** nathany_ has joined #zope3-dev | 18:18 | |
philiKON_ | folder['mypau'] = PluggableAuthenticationUtility() | 18:18 |
philiKON_ | i believe, though, that my book does explain how to set up a PAU programmatically | 18:19 |
CrippsFX | philiKON_: it goes through the addmenu for the PAU in the beginning of the chapter, and then goes through all the steps required to effectively use the PAU ... the steps to use it are done programatically, but the addition of the utility is not. | 18:20 |
CrippsFX | folder['mypau']=PluggableAuthenticationUtility() adds the pau to the site where folder[] *is* the site (or potential site), correct? | 18:21 |
philiKON_ | yup | 18:21 |
philiKON_ | then you also need to register it as a utility | 18:21 |
philiKON_ | site.getSiteManager.registerUtility(pau) | 18:21 |
* mgedmin thinks there's a couple of parens missing in philiKON_'s last utterance | 18:22 | |
CrippsFX | philiKON_: kk. Thanks. | 18:22 |
philiKON_ | site.getSiteManager().registerUtility(pau) | 18:22 |
CrippsFX | haha | 18:22 |
philiKON_ | look at how to set up a local utility | 18:22 |
philiKON_ | programmatically | 18:22 |
philiKON_ | a few chapters earlier | 18:22 |
CrippsFX | yeah, that's in the sites chapter. | 18:23 |
CrippsFX | k. | 18:23 |
* CrippsFX is off again. | 18:23 | |
*** tjs has quit IRC | 18:37 | |
*** nathany_ has quit IRC | 18:42 | |
*** pbugni has joined #zope3-dev | 18:49 | |
instantfoo | "where " | 18:50 |
instantfoo | folder[] *is* the site (or potential site), correct? | 18:50 |
instantfoo | hmm, shouldn't you add it to the folder's site manager? | 18:50 |
instantfoo | and not folder['pau'] | 18:50 |
instantfoo | so.. folder.getSiteManager()['mypau'] = pau | 18:51 |
instantfoo | philiKON_: :) | 18:52 |
philiKON_ | you can do that too | 18:52 |
philiKON_ | it doesnt' really matter where you place the pau | 18:52 |
philiKON_ | as long as you register it with the site manager as a utility | 18:52 |
instantfoo | right | 18:53 |
*** jodok has quit IRC | 18:59 | |
*** timte has quit IRC | 19:00 | |
CrippsFX | so for me it would probably be better to do it the way instantfoo prescribed since we're going to have menus based on the contents of folder[] | 19:00 |
CrippsFX | and I can do that in the setSiteManager() method of my site, right after the manager is set. | 19:01 |
*** ferrafox has quit IRC | 19:04 | |
*** ferrafox_ has joined #zope3-dev | 19:04 | |
*** zagy_ has joined #zope3-dev | 19:08 | |
*** zagy has quit IRC | 19:09 | |
*** MJ has quit IRC | 19:13 | |
*** jsadjohnson has quit IRC | 19:31 | |
*** cursor has joined #zope3-dev | 19:33 | |
*** romanofski has quit IRC | 19:37 | |
*** ferrafox_ is now known as ferrafox | 19:37 | |
*** goschtl has quit IRC | 19:39 | |
*** alecm has quit IRC | 19:43 | |
naro | I'd like to store uploaded image in annotation of the object. I want to use formlib. What field/widget should I use? I need to display file-upload widget, post-process uploaded data and store them in the annotation. | 19:44 |
*** alecm has joined #zope3-dev | 19:44 | |
*** zagy_ has quit IRC | 19:45 | |
*** zagy has joined #zope3-dev | 19:46 | |
*** alecm has quit IRC | 19:48 | |
CrippsFX | hm ... I'm having some interesting behaviour in trying to add the PAU ... the traceback is located here: http://www.pastebin.ca/672501 ... what happens is: site.getSiteManager().['mypau']=PluggableAuthentication();site.getSiteManager().registerUtility(site.getSiteManager()['mypau']); and I get a traceback, but when I check the siteManager, 'mypau' is present in the manager; I'd like to know if the behaviour of mypau will be affected by this | 19:54 |
CrippsFX | , and/or how I can fix the error. I'm using PluggableAuthentication() from zope.app.authentication.PluggableAuthentication (there is no PluggableAuthenticationUtility()) | 19:54 |
*** wiggy has left #zope3-dev | 19:56 | |
*** markusleist has joined #zope3-dev | 19:57 | |
philiKON_ | CrippsFX: registerUtility(pau, IAuthentication) | 19:57 |
*** jsadjohnson has joined #zope3-dev | 19:57 | |
*** ferrafox has quit IRC | 19:57 | |
*** bigkevmcd has quit IRC | 19:58 | |
CrippsFX | philiKON_: ah. thanks. | 20:03 |
* CrippsFX is a dumbass | 20:03 | |
*** dobee has quit IRC | 20:08 | |
*** Ariel_Calzada has quit IRC | 20:14 | |
*** jap has quit IRC | 20:21 | |
*** jsadjohnson has quit IRC | 20:21 | |
*** naro has quit IRC | 20:21 | |
*** nouri has quit IRC | 20:21 | |
*** jsadjohnson has joined #zope3-dev | 20:22 | |
*** naro has joined #zope3-dev | 20:22 | |
*** nouri has joined #zope3-dev | 20:22 | |
*** jap has joined #zope3-dev | 20:22 | |
CrippsFX | philiKON_: in your book you cover using http basic-auth (which uses Session Credentials) ... I'm wondering about "Zope Realm Basic-Auth" ... does that behave like the Global Authentication Utility that a Zope instance uses by default? | 20:26 |
philiKON_ | your first sentence m akes no sense | 20:26 |
philiKON_ | yes otherwise | 20:27 |
CrippsFX | sorry ... I was just stating that I wondering about an alternative to the authentication type you covereed in chapter 22 of your book. | 20:27 |
CrippsFX | *covered even. | 20:28 |
CrippsFX | okay. Thank you. | 20:28 |
philiKON_ | i have no idea what you're talking about | 20:28 |
philiKON_ | you're welcome :) | 20:28 |
CrippsFX | that's okay, you've answered my question anyways ;) | 20:28 |
*** deo has quit IRC | 20:28 | |
*** deo has joined #zope3-dev | 20:29 | |
instantfoo | hehe :) | 20:30 |
*** alecm has joined #zope3-dev | 20:30 | |
instantfoo | CrippsFX: what you get as default with Z3 is HTTP Basic auth, and in ch22 a session credential plug-in is explained | 20:34 |
instantfoo | mkay? | 20:34 |
CrippsFX | instantfoo: yep, got it :) | 20:34 |
instantfoo | but there is also a cookie-credential which has a session credential plugin mixin :) | 20:36 |
philiKON_ | it just inherits from session credentials for convenience | 20:37 |
philiKON_ | it's not a mixin in that sense | 20:37 |
philiKON_ | the actual functionality is cookies | 20:37 |
instantfoo | right | 20:37 |
philiKON_ | instead of sessions | 20:37 |
instantfoo | this might be a bit confusing to readers :) | 20:37 |
CrippsFX | I think Imma want to use the session-credential without the cookie-credential ... that way I don't have to worry about the security issues, and when the demo is over, I can just extend the plugin. | 20:37 |
CrippsFX | yeah ... the authentication sections are a bit confusing for anybody who wants to do something different than cookie-based authentication ;) | 20:38 |
*** dunny has joined #zope3-dev | 20:39 | |
*** deo has joined #zope3-dev | 20:39 | |
philiKON_ | CrippsFX: if you write me an email outlining what confused you and what you think is missing from the section, i'll be happy to consider it in a future ed | 20:40 |
CrippsFX | philiKON_: awesome. When I figure out *precisely* what I'm doing, I'll send you that email. | 20:40 |
philiKON_ | sure | 20:40 |
*** spython has joined #zope3-dev | 20:41 | |
*** jukart has quit IRC | 20:41 | |
spython | weee :) | 20:43 |
*** alga has joined #zope3-dev | 20:47 | |
CrippsFX | philiKON_: one example of a "confusing bit" (I guess), is: if I'm using sessions instead of cookies, will the login form (as specified on pg. 422 of the book) automagically use sessions, and will there be any other changes required in, say, example 22.3.1? | 20:48 |
*** cursor has quit IRC | 20:48 | |
philiKON_ | yes and no | 20:49 |
philiKON_ | yes, the login form will automatically use sessions | 20:49 |
philiKON_ | that's because the login form is a separate component from the credentials plugin | 20:49 |
philiKON_ | the credentials plugin (whichever it is) will simply call the login form | 20:49 |
philiKON_ | and then get the data out of it | 20:49 |
philiKON_ | the login form doesn't care (and doesnt know) what the credentials method is | 20:50 |
philiKON_ | i think this should be clear | 20:50 |
CrippsFX | I see. So, there should already be an existing "SessionCredentialsEditForm" out there? | 20:50 |
philiKON_ | i'll have to check the text again | 20:50 |
philiKON_ | no | 20:50 |
philiKON_ | sure, zope3 has an existing login form | 20:50 |
philiKON_ | but you can always supply your own one | 20:50 |
philiKON_ | as far as example 22.3.1 is concerned | 20:51 |
CrippsFX | ach so ... I see where I went wrong on that. | 20:51 |
philiKON_ | i thought i made it very clear that credential and authentircator plugins work separately | 20:51 |
philiKON_ | 22.3.1 is an authenticator plugin | 20:51 |
philiKON_ | it doesn't care which credentials plugin was used | 20:51 |
CrippsFX | 22.3.1 just deals with the authentication, not the credentials. | 20:51 |
philiKON_ | this should be clear | 20:51 |
philiKON_ | right | 20:51 |
philiKON_ | that's what i meant | 20:51 |
CrippsFX | yes ... got it now :) | 20:51 |
philiKON_ | anyway, please read the text again and see if that isn't clear | 20:52 |
philiKON_ | \ | 20:52 |
philiKON_ | if it's not, please write that email :) | 20:52 |
philiKON_ | otherwise i will forget | 20:52 |
spython | philiKON_: you get paid by the hour? :D | 20:52 |
CrippsFX | will do. | 20:52 |
philiKON_ | spython: normally i do. why? | 20:52 |
spython | for teaching zope @irc ;) | 20:53 |
philiKON_ | heh | 20:53 |
CrippsFX | because today you're really getting extra time by answering my questions ;) | 20:53 |
philiKON_ | well, i told CrippsFX to RTFB several times now | 20:53 |
philiKON_ | but he won't listen :) | 20:53 |
CrippsFX | :P | 20:53 |
spython | :D | 20:53 |
CrippsFX | yeah, I'm a real arsehole like that. | 20:53 |
spython | i got the book now | 20:53 |
spython | it rules | 20:53 |
*** romanofski has joined #zope3-dev | 20:54 | |
CrippsFX | it does. My comprehension just isn't working well today since I haven't really eaten anything at all .... | 20:54 |
*** jsadjohnson has quit IRC | 20:54 | |
CrippsFX | ... and it's still an hour before quitting time ... I think I'll go grab more red bull. | 20:54 |
spython | you work with zope? | 20:56 |
CrippsFX | yep, I work with zope ... and I'm merely a university student ;) | 20:57 |
spython | :) | 20:59 |
*** jodok has joined #zope3-dev | 21:03 | |
*** Nederhoed has joined #zope3-dev | 21:04 | |
CrippsFX | spython: yeah, it's a pretty sweet job for me ... although I'm cutting down to 19 hrs/week when classes start again | 21:05 |
CrippsFX | ..and I have my own office, phone, and 2 computers @ work ;) | 21:05 |
CrippsFX | bbl ... gotta help lug a shitload of monitors upstairs. | 21:11 |
Nederhoed | good luck | 21:12 |
*** b52lap has quit IRC | 21:27 | |
*** mgedmin has quit IRC | 21:30 | |
CrippsFX | so to get site.getSiteManager['pau'] to use the Session Credentials plugin, I *should* do: site.getSiteManager()['mypau']['session'] = zope.app.authentication.session.SessionCredentialsPlugin(); correct? | 21:31 |
*** bigkevmcd has joined #zope3-dev | 21:32 | |
*** dobee has joined #zope3-dev | 21:34 | |
instantfoo | CrippsFX: yes, you should to that :) | 21:37 |
CrippsFX | instantfoo: and it should be registered via site.getSiteManager().registerUtility(session, ?); | 21:37 |
CrippsFX | (session, ICredentialsPlugin) ? | 21:38 |
instantfoo | yeah, i think it was something named like that :) | 21:38 |
*** benji has quit IRC | 21:39 | |
CrippsFX | I hope it's the right now ;) | 21:39 |
CrippsFX | *one | 21:39 |
instantfoo | btw, what editor you use? | 21:39 |
CrippsFX | instantfoo: vim all the way :P | 21:40 |
instantfoo | good, then you *need* to generate ctags for the zope source :) | 21:40 |
CrippsFX | I've never really used ctags before. | 21:41 |
CrippsFX | instantfoo: do you know of a good how to to set them up for the zope source? | 21:41 |
instantfoo | hmm i could guide you :) | 21:43 |
CrippsFX | instantfoo: :) ... I'll download ctags first, then I'll ask you what comes next :) | 21:44 |
instantfoo | it comes with vim | 21:44 |
CrippsFX | instantfoo: alright. Guide me then :) | 21:44 |
instantfoo | cd <zopedir>/lib | 21:45 |
instantfoo | ctags -R python | 21:45 |
instantfoo | ..i think | 21:45 |
instantfoo | you should have a "tags" file there with a bunch of stuff | 21:45 |
instantfoo | put that file somewhere in ~/.vim/ | 21:46 |
instantfoo | you might want to name it zope3.tags or something.. | 21:47 |
instantfoo | CrippsFX: ping | 21:47 |
CrippsFX | alright. had to create ~/.vim, but it's there now | 21:47 |
instantfoo | great | 21:47 |
CrippsFX | do I have to add anything to my ~/.vimrc ? | 21:48 |
instantfoo | now you should put "set tags=~/.vim/zope.tags" in vimrc.. | 21:48 |
CrippsFX | kk. | 21:48 |
instantfoo | zope3.tags or whatever you named it | 21:48 |
instantfoo | hmm, this is only relevant for python so maybe this is better in vimrc: | 21:49 |
instantfoo | au FileType python set tags=~/.vim/tags/zope.tags | 21:49 |
*** srichter has joined #zope3-dev | 21:49 | |
instantfoo | :) | 21:49 |
CrippsFX | kk. | 21:49 |
instantfoo | now open up some python file | 21:49 |
instantfoo | positionyour cursor on a class name or whatever.. and press <C-]> | 21:50 |
CrippsFX | no tags found ... I'll have to double check the filename :P | 21:52 |
CrippsFX | instantfoo: E429: File "/home/acripps/.vim/python/zope/app/security/permission.py" does not exist | 21:54 |
instantfoo | what name was your cursor on? | 21:54 |
*** alga has quit IRC | 21:54 | |
CrippsFX | I had double quotes around the location of the tags file, so I removed them. That error is what I get now. | 21:55 |
*** afd__ has joined #zope3-dev | 21:55 | |
instantfoo | what's your line in vimrc? | 21:56 |
instantfoo | paste it as it is please :) | 21:56 |
CrippsFX | au FileType python set tags=~/.vim/zope3.tags | 21:56 |
CrippsFX | instantfoo: the tags file uses relative links. | 21:56 |
*** afd has quit IRC | 21:56 | |
instantfoo | oh | 21:57 |
CrippsFX | instantfoo: so, from ~/.vim I ran "ctags -r /opt/Zope/lib/python" and then renamed that file to zope3.tags :) | 21:57 |
instantfoo | and it works now? | 21:57 |
CrippsFX | instantfoo: thanks :) | 21:57 |
CrippsFX | yep, it works now. | 21:58 |
instantfoo | btw.. <C-T> jumps back if you jumped to a file | 21:58 |
instantfoo | <C-W>] opens up a tag match in a new window | 21:59 |
CrippsFX | cool.Thanks. I'll have to find a ctags cheatsheet now ... | 21:59 |
instantfoo | g] shows a list of matches of the current position, good if there are several | 22:00 |
CrippsFX | oop ... 4:30 ... hometime ... which is good ... because I need to eat and take a nap. | 22:00 |
instantfoo | alright …] | 22:00 |
instantfoo | ops | 22:00 |
instantfoo | :) | 22:00 |
CrippsFX | thanks for the help. I'll see you guys in the morning. | 22:00 |
instantfoo | cya | 22:01 |
*** timte has joined #zope3-dev | 22:03 | |
*** alga has joined #zope3-dev | 22:06 | |
*** jinty has joined #zope3-dev | 22:08 | |
*** afd__ has quit IRC | 22:13 | |
*** afd has joined #zope3-dev | 22:14 | |
*** zagy has quit IRC | 22:17 | |
*** jinty has quit IRC | 22:23 | |
*** jinty has joined #zope3-dev | 22:30 | |
*** alga has quit IRC | 22:34 | |
*** benji has joined #zope3-dev | 22:35 | |
*** agroszer has quit IRC | 22:40 | |
*** dobee has quit IRC | 22:48 | |
*** jinty has quit IRC | 22:50 | |
*** naro has left #zope3-dev | 22:52 | |
*** dobee has joined #zope3-dev | 23:07 | |
benji | oh no! The zope3-dev PEP 8 naming infection has spread to Python 3000: http://mail.python.org/pipermail/python-3000/2007-August/009962.html | 23:12 |
*** afd has quit IRC | 23:13 | |
benji | Luckily the Dictator straightened things out http://mail.python.org/pipermail/python-3000/2007-August/009964.html | 23:13 |
philiKON_ | hum, christian heimes | 23:14 |
philiKON_ | haven't heard from him in ages | 23:14 |
instantfoo | :) | 23:14 |
*** greenman has joined #zope3-dev | 23:14 | |
*** philiKON_ has quit IRC | 23:25 | |
*** philiKON has joined #zope3-dev | 23:26 | |
*** ccomb has quit IRC | 23:31 | |
*** hazmat has quit IRC | 23:40 | |
*** b52laptop has joined #zope3-dev | 23:41 | |
*** grahal has quit IRC | 23:47 | |
*** dobee has quit IRC | 23:55 | |
*** jinty has joined #zope3-dev | 23:57 | |
*** Nederhoed has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!