[Zope-dev] ZLDAP and replication

2003-02-25 Thread Jean Jordaan
Hi Jeffrey & all I'd just like to check something .. When running LDAP in a master/slave setup, if a client of the slave tries to update the directory, the slave returns a referral (pointing at the master) to the client, and the client has to retry the update at the master. That's steps 3 and 4 i

Re: [Zope-dev] LOTS of roles?

2003-02-25 Thread Paul Winkler
On Tue, Feb 25, 2003 at 11:33:54PM +0100, Dieter Maurer wrote: > Paul Winkler wrote at 2003-2-24 16:27 -0500: > > ... > > > It is easy to optimize this to "u + a" (via a dictionary), > > > then thousands of roles should not be a problem. > > > > would that mean you have to build a (potent

Re: [Zope-dev] Offtopic: it's vs. its

2003-02-25 Thread Guido van Rossum
> I, for one, think that proper grammar in checkins, source code > and wikis is wonderful, and beneficial in the same way as syntax > highlighting in editors. Agreed. > While reading Zope source in the past, I have, a couple of times, > made diffs fixing niggly grammatical issues (I can be compul

Re: [Zope-dev] Offtopic: it's vs. its

2003-02-25 Thread Guido van Rossum
___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )

Re: [Zope-dev] Offtopic: it's vs. its

2003-02-25 Thread Jean Jordaan
> I'm sorry to bring forward the topic of grammar, I, for one, think that proper grammar in checkins, source code and wikis is wonderful, and beneficial in the same way as syntax highlighting in editors. While reading Zope source in the past, I have, a couple of times, made diffs fixing niggly gra

Re: [Zope-dev] Creating a fully stand-alone Zope Page Templates

2003-02-25 Thread Richard Jones
On Wed, 26 Feb 2003 1:53 am, Guido van Rossum wrote: > > Hurm. I can't answer this directly, but I have done the same as you and > > divorced ZPT completely from Zope for Roundup. See http://roundup.sf.net/ > > in the roundup.cgi.[PageTemplates|TAL|ZTUtils] packages. > > I wonder if it would be wor

Re: [Zope-dev] LOTS of roles?

2003-02-25 Thread Dieter Maurer
Paul Winkler wrote at 2003-2-24 16:27 -0500: > ... > > It is easy to optimize this to "u + a" (via a dictionary), > > then thousands of roles should not be a problem. > > would that mean you have to build a (potentially huge) dictionary every > time? I'd greatly appreciate it if you co

Re: [Zope-dev] Creating a fully stand-alone Zope Page Templates

2003-02-25 Thread Richard Jones
On Wed, 26 Feb 2003 1:26 am, Kevin Smith wrote: > This works!! Thank you! Do you keep your Page Templates up-to-date > with Zope's, or is this version going to stay the way it is from now > on? It looks like you did what I was trying to do (i.e. put a wrapper > around the existing code) so that

Re: [Zope-dev] REQUEST.args

2003-02-25 Thread Dieter Maurer
Brian Brinegar wrote at 2003-2-24 16:10 -0500: > After some more poking around, I've simplified the problem. I have a > product I created with a __call__ method: > >def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw): >""" >Call the selected template in the

Re: [Zope-dev] LOTS of roles?

2003-02-25 Thread Florent Guillaume
Leonardo Rochael Almeida <[EMAIL PROTECTED]> wrote: > So I think you need dynamically calculated local roles. This can be > achieved by a user folder that returns a user object that overrides > ".getRolesInContext(object)" to take the location (or any other > attribute, such as an acquired "site")

RE: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread sean . upton
Are you mainly concerned about the http headers in the response, or the response body? If it is just the headers, Squid's log_mime_hdrs feature will log all HTTP headers from both the request and response for you for each request. If nothing else, perhaps it's a start... Sean -Original Mess

Re: [Zope-dev] Creating a fully stand-alone Zope Page Templates

2003-02-25 Thread Guido van Rossum
> Hurm. I can't answer this directly, but I have done the same as you and > divorced ZPT completely from Zope for Roundup. See http://roundup.sf.net/ in > the roundup.cgi.[PageTemplates|TAL|ZTUtils] packages. I wonder if it would be worth our while to make sure that ZPT is separately usable, jus

Re: [Zope-dev] Creating a fully stand-alone Zope Page Templates

2003-02-25 Thread Kevin Smith
This works!! Thank you! Do you keep your Page Templates up-to-date with Zope's, or is this version going to stay the way it is from now on? It looks like you did what I was trying to do (i.e. put a wrapper around the existing code) so that updates only required you to get the newest version

Re: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Toby Dickenson
On Tuesday 25 February 2003 12:08 pm, Romain Slootmaekers wrote: > We need this in our 3th line support, were we want to be able to follow > all ins and outs for singled out user (fi filtered on cookie). > We also need to be able to turn this on/off at runtime. I would do this in the front-end pr

Re: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Romain Slootmaekers
Clemens Robbenhaar wrote: Hi Romain, > Yo, > > searching the zope site and googling yielded too many data and no info, > so I might as well ask it here. > > We are very interested in finding out the exact HTTP Responses that the > zope server pushes towards the client. > > So is ther

[Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Clemens Robbenhaar
Hi Romain, > Yo, > > searching the zope site and googling yielded too many data and no info, > so I might as well ask it here. > > We are very interested in finding out the exact HTTP Responses that the > zope server pushes towards the client. > > So is there a low level hook for lo

Re: [Zope-dev] LOTS of roles?

2003-02-25 Thread Oliver Bleutgen
Paul Winkler wrote: On Mon, Feb 24, 2003 at 12:41:01PM +0100, Oliver Bleutgen wrote: Since your application might not be suited for that scheme, it might be worth throwing out roles altogether. How about creating a role for each user (i.e. user "user_id" get's just the role "user_id", instead of

Re: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Romain Slootmaekers
Andreas Jung wrote: http://hathaway.freezope.org/Software/TCPWatch Apparantly, I forgot to mention this: proxying isn't an option either. You can't just, on the fly, put a proxy between several components in a production setup. Sloot. --On Dienstag, 25. Februar 2003 11:24 +0100 Romain Slootmaek

Re: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Andreas Jung
http://hathaway.freezope.org/Software/TCPWatch --On Dienstag, 25. Februar 2003 11:24 +0100 Romain Slootmaekers <[EMAIL PROTECTED]> wrote: Yo, searching the zope site and googling yielded too many data and no info, so I might as well ask it here. We are very interested in finding out the exact H

[Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Romain Slootmaekers
Yo, searching the zope site and googling yielded too many data and no info, so I might as well ask it here. We are very interested in finding out the exact HTTP Responses that the zope server pushes towards the client. So is there a low level hook for logging the http responses ? We want the e