Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread Steve Alexander
Steve Alexander wrote: When I write a product that allows users to edit executable content, I have an extra responsibility to collaborate with the new security model. I reckon that it is up to the ZWiki product to change ownership appropriately if the page is edited. The zope security

[Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
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

Re: [Zope-dev] Server Side Trojan Issue really dead?

2000-08-07 Thread KevinL
Steve Alexander wrote: However... the zope security system could help with this. Here's an ill thought out idea for your consideration :-) Have a function that takes two sets of permissions, and returns the intersection of these sets. Then, use some sort of local permissions combination

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
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 or product. If

Re: [Zope-dev] Acquisition Confusion :S

2000-08-07 Thread Chris Withers
Evan Simpson wrote: So, is the working below now correct? (I feel like I'm back in School doing maths ;-) Yes. Cool :-) Where is the order of simplification defined? In the Acquisition machinery, which simplifies upwards because that's the way it constructs the wrappers. okay...

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Chris Withers
Shane Hathaway wrote: Will it re-appear when the replacement is deleted? That could be confusing... No, and I think it's really not confusing, since it's quite a strange and rare thing to set __replaceable__=ObjectManager.REPLACEABLE on a normal instance. :-/ Very true :-) Think of

RE: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Brian Lloyd
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. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Steve Alexander
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. I agree with this policy in principle.

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
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 ;-)

Re: [Zope-dev] Acquisition Confusion :S

2000-08-07 Thread Steve Alexander
Chris Withers wrote: Steve Alexander said he was going to have a think, but I haven't heard anything since he mentioned it... I'll have to start running a Kibo-bot soon :-) I've got as far as defining the difference between the two acquisition behaviours. Warning: The following goes into

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Chris Withers
Shane Hathaway wrote: but Brian and Jim have stated before that should the need arise, releasing a second-dot version can happen at any time. That sounds promising :-) OTOH __replaceable__ support has just been checked into the trunk and if you're working from the CVS repository, just do a

[Zope] Python Method question

2000-08-07 Thread entropia
I hava a question regards Python Method: How can I import a Python Method from a Product module? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] (OT) Re: [Zope] sybase - hmmm

2000-08-07 Thread Bill Anderson
Andrew Kenneth Milton wrote: +[ Dr. Ross Lazarus ]- | I know that zope runs on everything else, but how do we reconcile the | DC/Sybase partnership announced late last year [ snip... ] | We're becoming a sybase/zope/linux dependent

[Zope] Where to find ducument of ZODB

2000-08-07 Thread iap_y2fun.com
Is there anyone can tell me how to "alter table" in Zope? and where to find a tutorial or manualof ZODB. I am new to POS , Is there any stuff that will give me a senerio of working with POS, such as ZODB. Thanks a lot. Iap, Singaun

[Zope] is this possible?

2000-08-07 Thread boogie
is it possible to use zope to run a demo program written in c++, online in a html environment? If it is possible, than how do you do this? thanks, boogie. [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Installing ZOPE on a Digital platform

2000-08-07 Thread Alexandru Cucereanu
Dear Sirs, I would like to know if it is possible to install and to use ZOPE on a DEC 2100 A 500 MPR system. The operating system is Compaq(Digital) TrueUnix 4.04E the RDBMS is Oracle 8.05 and we use Apache 1.3.3. Please indicate me an Internet address(URL) to download theproduct and the

[Zope] FTP into Zope.org?

2000-08-07 Thread Chris Withers
Hi, Are the FTP ports into Zope for www.zope.org and dev.zope.org open? If so, what are they? Here's hoping... Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] Caching How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-07 Thread Toby Dickenson
has anybody had bad experience with caching when using ie? i've done as For caching, IE is one of the better behaved browsers Check the content of your "Temporary Internet Files" directory - this will show when the cached documents expire. You might find you need to manually purge your

Re: [Zope] XMLRPC returns error sometimes

2000-08-07 Thread Toby Dickenson
On Sun, 6 Aug 2000 11:56:35 -0400 , Chris McDonough [EMAIL PROTECTED] wrote: Only strings, integers, floats, "booleans", dictionaries, tuples, lists, and special "datetime", base64, and fault objects can be passed via XML-RPC. Anything else is too complex. The spec at

[Zope] [ANN]: ZMailIn 0.3.0 Now Available

2000-08-07 Thread Andy Dawkins
ZMailIn 0.3.0 is now available here: http://www.zope.org/Members/NIP/ZMailIn/ Major Revisions: -- Global ZCatalog to index ZMailIn instances. -- Support for Multi-Mime type emails. -- Customisable Message handling via DTML-Methods. -- CatalogAware + Folderish. Cheers -Andy

[Zope] Format problem?

2000-08-07 Thread Marko MARKOVIC
hi all, when I do a insert with a ZSQLMethod in my database, in the SQLMethod I use for a field fmt=newline_to_br. Now, when I want edit this field and put the value in a textarea, I get the caracter br, but I don't want this. How can i do to hide this br when i read this field? $Regards MM

[Zope] Changing user pwds

2000-08-07 Thread Aaron Williamson
Hello, I created a form to allow users to change their own passwords. I hate the idea of giving them all "Manage Users" permissions, but ok whatever. But "acl_users.manage_users('Change', REQUEST, RESPONSE)" won't work unless the user has "View Management Screens" permissions. Not only

[Zope] Sth wrong with ZCatalog?

2000-08-07 Thread Marcin Kasperski
I have some strange problem with ZCatalog: after clicking 'Find items to catalog' I get Zope error: Error Type: IndexError Error Value: list index out of range Traceback (innermost last): File /opt/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File

[Zope] ZPatterns Question

2000-08-07 Thread RC Compaan
I created a ZClass called "Product" with Dataskin as baseclass. I also added a specialist called ProductManager containing a default rack. Under storage for the rack I selected the newly created Product ZClass. My product ZClass needs to query both a RDBMS and the ZODB for attributevalues. At

[Zope] ZClass authorization problem (You are not authorized to access manage_changeProperties)

2000-08-07 Thread Gaspard, Bradley S
I have created a new ZClass which contains a dtml method that first clones an object and then edits it's properties: dtml-with manage_clone(News, REQUEST['new_id'], REQUEST)" dtml-call manage_changeProperties( title=REQUEST['new_title'], blah blah

RE: [Zope] Python Method question

2000-08-07 Thread Chris McDonough
Do you mean you want to use a Python Method (in the sense of a methodish object instantiated from Evan Simpson's Python Method Product) from a Python Product? You *should* be able to call it by getting a hold of it through acquisition or by otherwise getting a hold of an object in the ZODB and

[Zope] threading

2000-08-07 Thread Nicholas Lo
Just a simple question. According to Amos' How-To: Thread Safety in Zope 2, what is mutable global or shared variables?? What is the scope of such global variables? Zope wide? module wide? If global variable is not permitted, how can I approach thread programming in Zope? Without global

[Zope] Zope is slow on a windows 2000 server

2000-08-07 Thread Meeting Maker Webmaster
Hello, I've been using Zope on a Linux box without any problem this last month. I now have to move the Zope server to it's final location, which is a Windows 2000 server (it's not my choice ;-( I am trying to get the user authenticated based on his IP address to allow everybody on the subnet

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Martijn Pieters
On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic Internet Solutions wrote: I am writing a python product and want to display a GIF file in some of the manage_pages. It is not meant to be the "icon" property of the class, just an image to be included in DTML. I included it

[Zope] QuickStart

2000-08-07 Thread Chris Withers
Hi, Small niggle... Isn't it time the QuickStart bit the dust? It's quite strange seeing references to Principia and Acqueduct in Zope 2.2 ;-) Doesn't the Tutorial replace this quite comfortably? Just a thought, Chris ___ Zope maillist - [EMAIL

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Performance.net Strategic Internet Solutions
- Original Message - From: "Martijn Pieters" [EMAIL PROTECTED] To: "Performance.net Strategic Internet Solutions" [EMAIL PROTECTED] Cc: "ZOPE Mailing List" [EMAIL PROTECTED] Sent: Monday, August 07, 2000 12:19 PM Subject: Re: [Zope] Accessing .gif on disk with Python Product? On Mon,

[Zope] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney

2000-08-07 Thread Administrator
Send Zope maillist submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Martijn Pieters
On Mon, Aug 07, 2000 at 01:12:03PM -0300, Performance.net Strategic Internet Solutions wrote: On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic Internet Solutions wrote: I am writing a python product and want to display a GIF file in some of the manage_pages. It is

[Zope] Previous Message

2000-08-07 Thread Tom Deprez
Hi all, Please, forget my previous message! Next question : Is there an easier way for writing the following? dtml-let position=sequence-item dtml-var expr="position+1"/dtml-var count-CENTRE_NO dtml-let This gives the sequence order of every record on the total amount of retrieved records.

[Zope] Re: ZODB documents

2000-08-07 Thread Carlos de la Guardia
There is an old how-to at: http://www.zope.org/Members/michel/HowTos/ZODB-How-To There is also a slide presentation at: http://www.zope.org/Members/jim/zodbhtml/zodb.htm ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Kevin Howe
Right you are, here's how I solved it: # __init.py__ for myProduct misc_={ 'chooserIcon': ImageFile('images/chooserIcon.gif',globals()), } # DTML file img src="dtml-var absolute_url/misc_/myProduct/chooserIcon" border=0 Thanks! Kevin - Original Message - From: "Martijn Pieters"

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Martijn Pieters
On Mon, Aug 07, 2000 at 01:38:56PM -0300, Kevin Howe wrote: Right you are, here's how I solved it: # __init.py__ for myProduct misc_={ 'chooserIcon': ImageFile('images/chooserIcon.gif',globals()), } # DTML file img src="dtml-var absolute_url/misc_/myProduct/chooserIcon"

[Zope] (no subject)

2000-08-07 Thread Casey Duncan
Simon Coles writes: We have binary files stored in Zope, for example Word documents (but could be any of a variety of document types). We would like to be able to index and search the contents of these files using ZCatalog. So if a Word file contains the word "Fred", then any search

Re: [Zope] Previous Message

2000-08-07 Thread Chris Withers
Tom Deprez wrote: dtml-let position=sequence-item dtml-var expr="position+1"/dtml-var count-CENTRE_NO dtml-let how about: dtml-var "_.getitem('sequence-index',0)+1"/dtml-var count-CENTRE_NO cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Zope installations wordwide

2000-08-07 Thread arno . gross
Are there any figures about the installtions of zope in Germany, Europe and the world? Is there a list of Zope sites? Arno Gross email: [EMAIL PROTECTED]

[Zope] Authentification with the SAM of NT (Security Account Manager)

2000-08-07 Thread Vincent
Hi, Does anyone know if Zope allows authentification of a user with the SAM (Security Account Manager) of Windows NT ? I mean : - The user types his login/password - and then, zope asks the SAM if this user does exists (or not). Thanks. Vincent

RE: [Zope] Authentification with the SAM of NT (Security Account Manager)

2000-08-07 Thread Chris McDonough
First, there is no such work as authentification. :-) OK, now that I got that off my chest, take a look at jcNTUserFolder (http://www.zope.org/Members/jephte/jcNTUserFolder), smbUserFolder (http://www.zope.org/Members/mcdonc/smbUserFolder), and Tres Seaver's Integrating Login Manager with SMB

[Zope] Success! ZPoPyDA 0.6.1 works!

2000-08-07 Thread Stephen Nosal
First, I would like to say thanks to everyone, who gave me a hand with this, especially [EMAIL PROTECTED] I learned a lot, and I am more comfortable with my system than ever. Below is a little note and question for Federico, who provided the patch that got the whole thing going again. Thanks

[Zope] PTK Member-Folder Object Properties (phew!)

2000-08-07 Thread David Riggs
For each member in the Portal ToolKit, a folder is created in the folder 'Members', i.e: ZopeRoot/Portal/Members/member_name I've created a ZClass called Customize that has several properties, and I've added an instance of Customize (and called each instance Customize) in each member's folder.

[Zope] Can't add objects

2000-08-07 Thread Maarten Engelen
I've installed Zope on an account at a hosting company. Zope runs perfect, but I can't add any new objects. I can edit existing object without any problems, but adding is impossible because of the 500 error which the server gives. Does someone have any idea what could cause this problem?

Re: [Zope] Newbie question: referring to dtml-call documents

2000-08-07 Thread Dieter Maurer
David Loeffler writes: whenever I try to get hold of this with anything like dtml-var "_[objId].getProperty(dest)" (objId is the id of the document) it simply redirects ... "_[xxx]" executes (calls) the retrieved object, if possible. In your case, execution calls

Re: [Zope] Changing user pwds

2000-08-07 Thread Dieter Maurer
Aaron Williamson writes: I created a form to allow users to change their own passwords. I hate the idea of giving them all "Manage Users" permissions, but ok whatever. But "acl_users.manage_users('Change', REQUEST, RESPONSE)" won't work unless the user has "View Management Screens"

Re: [Zope] Zope is slow on a windows 2000 server

2000-08-07 Thread Meeting Maker Webmaster
Hello again, At 15:20 07.08.2000 +, Meeting Maker Webmaster wrote: I am trying to get the user authenticated based on his IP address to allow everybody on the subnet we are here to access the Zope server, but not other IPs. This works fine except it is really slow (about 5 seconds to go to

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Evan Simpson
From: Martijn Pieters [EMAIL PROTECTED] misc_ is a root level object. Using absolute_url you are acquiring it into your Instance URL, which is not necessary (and will hamper off-server caching). Use dtml-SCRIPT_NAME; instead (which will give you the absolute url of the root object in all

[Zope] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney

2000-08-07 Thread Administrator
Send Zope maillist submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Chris Withers
Martijn Pieters wrote: On Mon, Aug 07, 2000 at 04:23:36PM -0400, Evan Simpson wrote: From: Martijn Pieters [EMAIL PROTECTED] misc_ is a root level object. Using absolute_url you are acquiring it into your Instance URL, which is not necessary (and will hamper off-server caching). Use

[Zope] string to objectname conversion ?

2000-08-07 Thread Gijs Reulen
Hi I would like to list all objects in a folder. No problem there. However, I want to use the function/method universely so I need to pass the name of the target folder; as a string is the only way I can think of (formatted as a url). I tried several things in DTML and studies the DTML Ref, the

[Zope] SQL Query - DTML Form with populated values - SQL update example??

2000-08-07 Thread Bill Broadley
I'm fairly new to Zope. I have various view, search, and insert into a SQL database (MySQL) working. I'm having a problem connecting all the pieces for an update. Does someone have an example (with DTML or similiar source) that demonstrates the following: 1. A search field for record id, or

[Zope] RE: string to objectname conversion ?

2000-08-07 Thread Gijs Reulen
Ok, I am very sorry to have cluthered this list. What can I say ? I am definitely not up to Zen yet, because I was thinking in a very old fashioned way :-( The question and the answer were the same message; the example Method I gave works perfectly when called for whatever object thanks to the

[Zope] Re: (OT) Re: sybase - hmmm

2000-08-07 Thread Bill Anderson
Andrew Kenneth Milton wrote: +[ Bill Anderson ]- | Andrew Kenneth Milton wrote: | | +[ Dr. Ross Lazarus ]- | | I know that zope runs on everything else, but how do we reconcile the | |

Re: [Zope] string to objectname conversion ?

2000-08-07 Thread Curtis Maloney
On Tue, 08 Aug 2000, Gijs Reulen wrote: Hi I would like to list all objects in a folder. No problem there. However, I want to use the function/method universely so I need to pass the name of the target folder; as a string is the only way I can think of (formatted as a url). I tried several

[Zope] sync?

2000-08-07 Thread nicklo
Another simple question.How to use the Synchronized class from the Sync module?As far as I know, Sync is a .so file.Nicholas Lo Nicholas LoTechnical Director Silicon Creation Limited18/F, Tower IIMetroPlazaKwai Fong, NTHong Kong Tel : 7111 9350Fax : 2610 2225

[Zope] How can you get Zope console messages running as NT service?

2000-08-07 Thread Matthew Wilbert
This must be in the archives someplace, but searching didn't turn it up. I'm running ZServer as an NT service, and I'd like to be able to see the usual console debug messages that I would get if I were running it from a command window, but I don't know how. I tried setting the -D flag in the

[Zope] threading cont ...

2000-08-07 Thread Nicholas Lo
First, thanks to Dieter :) Well, I have written a simple test products, which I have attached to this message as a .tgz file. This product does vert little things. When B1 is pressed, two new threads will start, one will update column of the database table, while the other will prompt the