Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-23 Thread Paul Winkler
nts: "before I get started, I'm going to give myself convenient access to the stuff I need." You could also argue that we need a non-US-centric currency formatter, and I agree; but I say again that we need it everywhere and not only via some special syntax in ZPT. -- Paul Winkler ht

Re: [Zope-dev] TALES idea: tuple unpacking

2003-07-23 Thread Paul Winkler
sequence of dictionaries like {'user': some_user, 'files': (file1, file2...)} Then your zpt could look like: user goes here file goes here -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's TWINKLY-GIANT WOMAN! (random

[Zope-dev] WebDAV interoperability event

2003-07-16 Thread Paul Winkler
I just stumbled across this... I think it would be really cool if there was a zope presence. http://www.webdav.org/other/interop03/ -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PORPOISE MADE OF BUTTER! (random hero from isometric.spaceninj

Re: [Zope-dev] Patching object class

2003-06-20 Thread Paul Winkler
er hack could I do ? The idea being that I don't want to > recreate all the objects. You might not have a choice. A conversion script might take a while to run and your ZODB might get a bit more bloated, but otherwise, it'll work fine. -- Paul Winkler http://www.slinkp.

Re: [Zope-dev] funky side-effects, possible bug in HTTPRequest.py

2003-06-20 Thread Paul Winkler
ng that can easily waste hours of debug time. I was just saying to Andy McKay yesterday that sometimes I think zope 2 is designed around the principle of greatest consternation rather than the principle of least suprise. Case in point. -- Paul Winkler http://www.slinkp.com Look! Up in the sky!

[Zope-dev] Versions: should they die?

2003-06-04 Thread Paul Winkler
versions basically do not work as advertised, leading in various cases to zodb corruption or work that can't be saved. There are other security issues that Oliver Bleutgen raised privately which I won't state here. Comments? Could we get at least some warnings in the ZMI before 2

Re: [Zope-dev] Zope + Jabber?

2003-03-31 Thread Paul Winkler
d, unlike some other frameworks i could mention ;) http://www.twistedmatrix.com -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's BLIND HEADPHONE! (random hero from isometric.spaceninja.com) ___ Zope-Dev maillist - [EMAIL PROTECTED] h

[Zope-dev] Re: [Zope3-dev] How (in)secure is Zope?

2003-03-13 Thread Paul Winkler
there are 18000+ user accounts. > > - Users of the site get a "member folder" where they can create > templates, Python scripts, and content within the ZODB. Some > minimal workflow exists, controlling basically whether the user's > content is included in s

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-11 Thread Paul Winkler
stems including the dev boxes, because * we like to have the same environment everywhere for sanity's sake * interactive debugging is very cool and has saved my butt more than once. -- Paul Winkler http://www.slinkp.com Look! Up in the

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-11 Thread Paul Winkler
e? +1. I also use zctl.py debug nearly every day. of course it's just a convenience, but it's an important convenience because nearly every document i can find on debugging Zope says roughly "...and of course you can use ZEO, but that's beyond the scope of this artic

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Paul Winkler
On Mon, Mar 10, 2003 at 10:31:13PM -0500, Fred L. Drake, Jr. wrote: > Detaching, or "daemonizing", will be a separate configuration > parameter from everything else. great, that is exactly what i really want. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It'

Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Paul Winkler
On Tue, Mar 11, 2003 at 12:11:25PM +1100, Adrian van den Dries wrote: > Debug mode needs to be broken out into directives for its real > effects. +L -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's ULTRA PENGUIN! (rando

Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Paul Winkler
? Or does it behave like z2.py and this depends on "debug mode" (booo) ? -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTM

Re: [Zope-dev] Re: [Vote] PEP308 voting began

2003-03-07 Thread Paul Winkler
asy when you can just start by copy / pasting the python expressions into a Script. If they were some new-fangled "if: then: else:" syntax in TAL, you'd have to rewrite from scratch... and we're right back in the mess we got into with DTML: the poor developer is forced to learn

Re: Security internals, was Re: [Zope-dev] LOTS of roles?

2003-03-06 Thread Paul Winkler
it even keeps a cache. !! OMG !!! thank you - for some obscure reason it never would have occurred to me in a million years that LDAPUserFolder already does this. Well, duh. > Huzzah open-source software! Amen! -- Paul Winkler htt

Re: Security internals, was Re: [Zope-dev] LOTS of roles?

2003-03-05 Thread Paul Winkler
On Thu, Mar 06, 2003 at 09:19:37AM +1100, Adrian van den Dries wrote: > On March 5, Paul Winkler wrote: > > I've been trying to understand how to implement dynamic local roles, > > Customise the Folder class and override __ac_local_roles__ with a > method that returns a d

Security internals, was Re: [Zope-dev] LOTS of roles?

2003-03-05 Thread Paul Winkler
them in your app to find out something, but they are not used by the internals to grant or deny access. True? If anybody could confirm or deny any of teh above it would really help me grok what i'm doing here. -- Paul Winkler http://www.slinkp.com __

Re: [Zope-dev] Re: [Vote] PEP308 voting began

2003-03-04 Thread Paul Winkler
On Tue, Mar 04, 2003 at 03:21:57PM -0600, Evan Simpson wrote: > Is this worth a robust implementation, ZPT folks? maybe, but i'd rather first wait and see how the PEP goes. it would suck to have to constantly deal with two totally different flavors of ternary. -- Paul Wink

Re: [Zope-dev] Declaring Dependencies for XML documents (Was: HowTo Improve Cache Coherency for RAM/Disk Cache Manager...?)

2003-03-04 Thread Paul Winkler
make changes on dev servers and push them to production in a big bunch. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Re

Re: [Zope-dev] LOTS of roles?

2003-03-04 Thread Paul Winkler
e, context, cAccessControl.c: /*| def validate(self, accessed, container, name, value, context are you sure it's not BasicUser.allowed() that you mean? there's a comment in there about checking roles manaully rather than with getRolesInContext... -- Paul Winkler http://www.slinkp.com

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. > >

Re: [Zope-dev] LOTS of roles?

2003-02-24 Thread Paul Winkler
l changes in lib/python/AccessControl and there's a few more thousand lines of code in there which I haven't even looked at yet. > exUserFolder has had modifications to allow construction of > authentication sources that override user.getRolesInContext, but none of > its default auth so

Re: [Zope-dev] LOTS of roles?

2003-02-24 Thread Paul Winkler
+ 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 could expand on this suggestion. Thanks! -- Paul Winkler http://www.slinkp.com ___

Re: [Zope-dev] LOTS of roles?

2003-02-24 Thread Paul Winkler
a lot easier. my guess is that in our case, the number of roles would be comparable. 200 sites * 10 tasks = 2000 roles 200 sites * 10 users = 2000 roles -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zo

Re: [Zope-dev] LOTS of roles?

2003-02-22 Thread Paul Winkler
ay need to allow a user to work on two sites *simultaneously* which would not be possible in this model. -- Paul Winkler www.slinkp.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] LOTS of roles?

2003-02-21 Thread Paul Winkler
tions * We have multiple applications, not all in zope, so LDAP is looking attractive. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML enc

Re: [Zope-dev] Re: RDF Musings and TinyTables

2003-02-21 Thread Paul Winkler
ck on the > client side: > > http://www.zope-europe.org/Members/paul/tmp/moztop-pinstripe.png For those of us who are noobs to this discussion, and to RDF in general, can you sum up what I'm looking at? and how this demonstrates RDF benefitting c

Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread Paul Winkler
On Thu, Feb 13, 2003 at 11:14:18AM +1100, Adrian van den Dries wrote: > On February 12, Paul Winkler wrote: > > While we're on the subject - are local roles acquired > > in subfolders? > > Yes, to the point that globals roles are actually redundant, but serve > as an

Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread Paul Winkler
ould file that as a Feature Request bug. +1 -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's JANITORIAL-BROOM-NINJA ANDREA KEG! (random hero from isometric.spaceninja.com) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://ma

[Zope-dev] aq_inContextOf status?

2003-02-11 Thread Paul Winkler
# "portals" is in the app root! , # doesn't aq_inner work??? , # what's this doing here? ] -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE CLAUSTROPHOBIC NOSE! (random hero from isometric.spaceninja.com) __

Re: Bare "except" dangerous to ZODB? was Re: [Zope-dev] Accept-Charset hearders causing 500 internal server error.[correct but not lenient]

2003-02-10 Thread Paul Winkler
on length" errors, 700 "invalid transaction length" errors, and 200 POSKeyErrors in a single FileStorage. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's MALIFEROUS CONTORTIONIST! (random hero from isometric.spaceninja.com)

Bare "except" dangerous to ZODB? was Re: [Zope-dev] Accept-Charset hearders causing 500 internal server error.[correct but not lenient]

2003-02-10 Thread Paul Winkler
ME/Products $ find . -name "*py" -exec grep -H "except:" {} \; | wc -l 133 Great, so there's at least 133 things to examine to see if they could catch a ConflictError. And I only wrote about 15 of those. The rest could be very time-consuming to audit. -- Paul Winkler h

Re: [Zope-dev] Zope Server Control

2003-02-07 Thread Paul Winkler
On Fri, Feb 07, 2003 at 12:41:36PM -0800, Jamie Heilman wrote: > Paul Winkler wrote: > > ... which, FYI is kind of a pain to use with zope prior to > > CVS / 2.7, because zope insists on forking to the background > > unless you run in debug (-D) mode, and daemontools (o

Re: [Zope-dev] Zope Server Control

2003-02-07 Thread Paul Winkler
On Fri, Feb 07, 2003 at 03:16:46PM -0500, Shane Hathaway wrote: > Okay, I added some features to the mockup: > > http://hathaway.freezope.org/Images/controller_snapshot2.png I dig it. (clicking on the mockup buttons) Ungh. Can't seem to make it work. (drool drool) -- Pau

Re: [Zope-dev] Zope Server Control

2003-02-07 Thread Paul Winkler
it. The latter solution "works" but seems rather fragile. Have I mentioned lately that I'm very thankful to the people that are working on decomposing the various behaviours toggled by -D? -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PR

Re: [Zope-dev] Zope Server Control

2003-02-07 Thread Paul Winkler
tributing > to development of such a beast. Oooh! Oooh! One more: build in a window with a python prompt that connects straight in to a ZEO debugging session ( (possibly remotely). -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's BETA CAPTAIN! (random hero from isometr

Re: [Zope-dev] What makes Zope twirl?

2003-02-07 Thread Paul Winkler
On Fri, Feb 07, 2003 at 10:40:31AM +0100, Stefan H. Holek wrote: > This worked great for me: > <http://www.zope.org/Members/4am/debugspinningzope> Oooh, thanks, I'll keep that handy next time! Wish I knew how to trigger the behavior :( -- Paul Winkler http://www.slinkp.com Lo

Re: [Zope-dev] What makes Zope twirl?

2003-02-07 Thread Paul Winkler
pective, I have had exactly 1 spin on a production zope system since Jan 1. My group has had *several* BEA server crashes in the same time. I consider Zope to be much more reliable than BEA. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's LORD ORIGINATOR I LOV

[Zope-dev] What makes Zope twirl?

2003-02-06 Thread Paul Winkler
? WOuld that give me anything useful? * this does not sound like other zope "spins" I have heard of, in which python eats 99% CPU indefinitely due to (probably) an application error. see for example: http://www.zopezen.org/Members/zopista/News_Item.2003-01-28.1025 -- Paul Winkler ht

Re: [Zope-dev] absolute_url: why not publishable?

2003-02-05 Thread Paul Winkler
g is callable via URL. absolute_url is not. Inconsistency is confusing, especially to newbies. if I had the time, I'd go through the API Reference and catalog methods that are callable by URL and methods that are not, and try to make some sense of it. I suspect it would be pretty random

[Zope-dev] absolute_url: why not publishable?

2003-02-05 Thread Paul Winkler
, we do have something like a stupidHttpClient.) - Paul Winkler http://www.slinkp.com Look! Up in the sky! It's HIGHLY TOXIC PIRATE! (random hero from isometric.spaceninja.com) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/m

Re: [Zope-dev] Zope reference counts

2003-01-22 Thread Paul Winkler
On Wed, Jan 22, 2003 at 07:49:11PM +, seb bacon wrote: > Hmm, I thought the GIL pertains only to SMP? The GIL pertains to the python interpreter on any hardware. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PATHETIC LOOKING NOSE MASTICATOR! (cou

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-22 Thread Paul Winkler
> > He posted a patch to lib/python/zdaemon/Daemon.py. > > Nobody said anything about ZEO/start.py. > > You're right. :-( okay, NP... just trying to make sure i understood the discussion. a summary, AFAICT: everybody agrees that splitting up the many things in Zope toggled by deb

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Paul Winkler
bout Zope's debug mode. > > Eh? This started with your suggesting a change to ZEO/start.py, to > which I objected. > > Oh well. What a waste of time. Now I'm lost. He posted a patch to lib/python/zdaemon/Daemon.py. Nobod

Re: [Zope-dev] [PATCH] Forking daemon in debug mode, and new start scripts

2003-01-21 Thread Paul Winkler
gled whether tracebacks were displayed openly (debug mode) or embedded in an html comment. > I'd like to address these problems for Zope 2.7, but I doubt it's going > to be possible in the short term. What he said. :( -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It'

Re: [Zope-dev] AdaptableStorage

2003-01-15 Thread Paul Winkler
ies... finally, a fully really transparent unix filesystem <-> ZODB solution that isn't a half-assed version of either! didn't get into detail but it seems like it should be doable. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE BUT

Re: [Zope-dev] Zope Publishing

2003-01-08 Thread Paul Winkler
ually the site uses only some of them. So when > actually deploying a site, the system should resolve those images and put > the required files. I don't know of any existing tool to do that for zope. You'd have to write your own. -- Paul Winkler http://www.slinkp.com Loo

[Zope-dev] z3 sprint at pycon?

2002-12-20 Thread Paul Winkler
Is anybody planning a zope 3 sprint at pycon? would be a good excuse for me to dive into z3 :) -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's COMPLEX ICE WITICIST! (courtesy of isometric.spaceninja.com) ___ Zope-Dev mai

[Zope-dev] Re: CRITICAL!!!! CVS: Zope/lib/python/OFS - Image.py:1.141.4.3

2002-12-17 Thread Paul Winkler
to be. > > > >Sorry about that. Partly my fault, Andy - you asked me yesterday to verify that you'd checked in everything I'd sent you, and I said yes. There was also a change to lib/python/Products/OFSP/help/Response.py that was part of my fix for #342 as well, did that make it i

<    1   2   3   4