Chris Withers wrote:
If I define the following in an Article class (which subclasses
Posting):
__ac_permissions__ = Posting.__ac_permissions__ + (
('View', ['prev_item','next_item','showSummary','desc_items'],
('Anonymous', 'Manager')),
)
You don't need to concatenate the permissions
Chris Withers wrote:
Okay, Posting has the following list of methods for the 'view'
permission:
['date_posted','body_len','date_created','time_created','attachment','thread_path','index_html','showBody',
Chris Withers wrote:
How should I got about petitioning
for
dtml-var anobject aq_context to become valid syntax?
There's one little (okay, big) problem with this idea: aq_context
strips the security context. In fact, it could be used to confuse the
security machinery.
Let's say I'm Joe
Alvaro Carneiro wrote:
Apache is exiting!
I must be getting tired... at first I thought I read "Apache is
exciting!" :-)
Shane
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
Chris Withers wrote:
Will there be any access to the method/object that is being overridden
from inside the one overriding it? Something like:
'self.__class__.my_method("blah")'
Depends on whether the original method comes from a ZClass or product.
If so, yes. But if it's a regular
Chris Withers wrote:
Shane Hathaway wrote:
Will there be any access to the method/object that is being overridden
from inside the one overriding it? Something like:
'self.__class__.my_method("blah")'
Depends on whether the original method comes from a ZClass
Chris Withers wrote:
Brian Lloyd wrote:
So, how long before this becomes a project and gets finished?
2.2.1 would be great :-))
thanke for the great work,
Chris
Note that third-dot releases are bug-fix only. New features
go into second-dot releases.
D'oh ;-)
Chris Withers wrote:
Shane Hathaway wrote:
After more pondering I decided to throw out the idea for typed
arguments. I was trying to solve a difficult problem with a
roundabout, and in the end more difficult solution.
I thought that's what the following proposal was all about? :S
Chris Withers wrote:
http://www.zope.org/Wikis/zope-dev/MethodGeddon
Just been reading about this and I was wondering how is coming along...
After more pondering I decided to throw out the idea for typed
arguments. I was trying to solve a difficult problem with a
roundabout, and in the
Thomas Weholt wrote:
Hi,
I'm wondering about using ZODB3 and ZCatalog for a CD-indexing project. The
actual cd-roms will seldom change after they've been registered, and I'd
like to have some sort of auto-full-text-search feature.
How does ZODB3 and ZCatalog fit in this picture? I'm NOT
Steve Alexander wrote:
Chris Withers wrote:
So what was causing the original error then?
string.split('basic')[-1] was returning 'basic'.
base64.decodestring('basic') causes an "Incorrect padding" error.
base64.decodestring('basic ') causes an "Incorrect padding" error too.
Steve Alexander wrote:
My question is "why was __getitem__ of HTTPRequest.py designed this
way?".
Is there a good reason that it filters the keys according to membership
of a standard-cgi-keys list, or whether they start with 'HTTP_' ?
Would there be any disadvantage to altering
Oleg Broytmann wrote:
Anyone is working on it? Should I put this into Collector or Tracker?
Already there. The Zope project manager is gone for the week.
Shane
On Mon, 17 Jul 2000, Shane Hathaway wrote:
This is an excellent bug analysis. I suggest that we create a new
Zopistas,
I've added a proposal to the fishbowl. It's a relatively safe change
that would simplify a certain things, but it could break existing code
and I'd like to know what you think. Please comment in the Wiki.
Actually, even if you don't have anything to say you might be able to
learn
Chris Withers wrote:
"Phillip J. Eby" wrote:
Maybe, maybe not. I think perhaps the most compelling argument from
Digital Creations' viewpoint for having an expanded "access" file might be
the simplification of the setup process for customers. And it would also
make it easier to:
Chris Withers wrote:
Shane Hathaway wrote:
I have an idea: the _objects attribute of ObjectManagers could include
a "configurable" flag, which would tell _checkId that the object can be
overridden.
Shane,
Is this what became the ConfigurableInstances thing at:
http://ww
Yves-Eric Martin wrote:
Shane Hathaway [EMAIL PROTECTED] wrote:
You *must* remember to close the connection:
app._p_jar.close()
This is not mentionned in the above document, so I was doing without
so far, and did not run into any problem. Now that I see it, I believe
Chris Withers wrote:
Oleg Broytmann wrote:
Hardlinks are prohibited on directories; and 5 minutes ago you said all
objects are foldersih :)
I'm not sure if my statement applies in this situation... ;-)
Hardlinks are prohibited on directories because it'd cause infinite
loops
Chris McDonough wrote:
Sorry I wasn't clear enough. The Singleton is a design
pattern from the
Gang of Four book that fits this situation well. It is a
class that is
meant to control access to the one and only instance of a global
variable. I was just using that as a frame of
Steve Alexander wrote:
Or... I could alter Shane's BTree Folder product to split it into a
mix-in class and a usable folder class. Would that work, I wonder?
I just tried it and discovered some subtle problems with __getattr__.
It could be the result of TransparentFolders, which is also
Bill Anderson wrote:
I have been thinking, and I think I have got a good idea. So I figured I
woudl toss it out for commentary.
What we need now is a Mountable ZSS Product. This would be kind of a
MountedStorage meets ZEO breed, where you would specify the ZSS
host/port combo, and it could
Steve Alexander wrote:
Chris Withers wrote:
I have an external method called navTree (dtml-tree was too broken to
fix in the time frame :( ) with a spec as follows:
def navTree(self,start):
It's called in some DTML as:
dtml-var "nav_tree(PARENTS[-2])"
which is fine, unless
Chris,
I'm sorry to hear about your challenges. I've had some myself.
I think you're being bitten by a bug which prevented manage_clone from
working in a lot of situations, but is solved in 2.2. The problem was
that when a new object was placed in a container, it didn't get a _p_jar
attribute
Chris Withers wrote:
Monty Taylor wrote:
Make a folder that contains the overridden methods and call things
through the context of that folder.
Neat trick :-)
We love acquisiton, but it won't quite do it :(
The default index_html will get called, unless you put /folder/ on the
end of
"Phillip J. Eby" wrote:
At 09:22 AM 7/10/00 -0400, Shane Hathaway wrote:
The new security machinery actually provides a different way to solve
this problem. Since we now have an execution stack, we can limit that
stack, causing an exception to be thrown rather than letting it
Jim,
Phillip has an idea that could make life simpler for Zope newbies.
This would be intended for the next major Zope release.
"Phillip J. Eby" wrote:
Well, I'm hoping you'll take a look at my Collector suggestion for a new
Zope feature. :) Specifically, extending the "access" file to
Itamar Shtull-Trauring wrote:
I propose a Restricted Creation Interface - when an ObjectManager constructs
it's Add list in manage_main, it first checks with each addable class if
it's instances can be added in this specific ObjectManager.
The place where this is needed most (IMHO) is for
Zopistas,
I had some inspiration today and discovered a simple way to write a
BTreeFolder implementation.
http://www.zope.org/Members/hathawsh/BTreeFolder/
It works better than I thought it would. It allows you to store
thousands (well, I've tested it with only 1536, but I don't know of any
Steve Spicklemire wrote:
I don't know if anyone out there is actually trying to
*use* my ZCVSMixin/ZCVS Folder stuff, but if you are you certainly
want to get the latest release, ZCVSMixin-0.1.1.tgz from
the zope.org site:
http://www.zope.org/Members/sspickle/ZCVSMixin
Hi, Steve.
"Dr. Ross Lazarus" wrote:
The point that I find hard to understand is that namespace in DT_Util
has changed from 2.1.6 as follows
===2.1.6==
class namespace_:
pass
def namespace(self, **kw):
"""Create a tuple consisting of a single instance whos
"Phillip J. Eby" wrote:
At 01:58 PM 6/15/00 +1000, Stuart 'Zen' Bishop wrote:
Its not a problem with ZScheduler, it a problem that no one has written
a plug-in logging system that is good enough for what you are trying to
do. The existing zLOG API is fine (well - it could be better), but
"LEE, Kwan Soo" wrote:
Cool. Now it's more helpful. ... However, sorry to say, I can't read well the titles
of the products. Would you make the grey lighter?
I would also remove the numerous blue bars and just put them at the top
and bottom of each section... but that's just me.
Shane
"Phillip J. Eby" wrote:
At 02:33 PM 6/11/00 -0600, Shane Hathaway wrote:
I believe I have come to understand the basics of ZPatterns and would
like to be sure I understand correctly, as well as help others
understand also.
Bravo! An exquisite introduction to the purpose of ZPatt
Alex Mendez wrote:
Hello, it's the first time I write here and I'm a
newbie at Zope, so maybe I'm asking a stupid
question...
Case is I retrieve from my movie database the value of
the movie from 1 to 5 stars. I would like to repeat
that n times the code img SRC="star.gif" height=15
Anthony Baxter wrote:
I'm curious - could you elaborate on the security issues of this? The
convenience of not having to write an External Method each time you
want to mount or unmount a ZODB is high. :)
Okay, I looked a little more and I see you're not allowing slashes in
the filename.
Adam Karpierz wrote:
It's very, very... great news that Ross Lazarus's multikey
sort patch for dtml-in tag is included in current Zope CVS
and will be included in Zope 2.2.
dtml in "foo" sort=akey,anotherkey
But for me one important thing is very missed.
Possibillity of use
Steve Spicklemire wrote:
Hope that helps It's really shocking just how easy it was
to do this makes me wonder why it hasn't been done already,
and *that* makes me wonder if I'm doing something really dumb
here. ;-) It seems kinda cool to me.
I find that the same phenomenon keeps
501 - 537 of 537 matches
Mail list logo