Re: [Zope] jcNTUserFolder on 2.2.x

2000-11-30 Thread Michael Bernstein
Toby Dickenson wrote: On Mon, 20 Nov 2000 14:20:41 -0800, "Andy McKay" [EMAIL PROTECTED] wrote: Is there an updated version or product similar to jcNTUserFolder (allowing NT authenitcation in Zope) that works in Zope 2.2.x? Or am I going to have to upgrade jcNTUserFolder? API changes

[Zope] import/export

2000-11-30 Thread jacintha menezes
Hi, Just to try , by using import/export i ported the product to another windows 98 machine.I am able to open the whole folder in the ported machine. The problem is i am not able to add a new record there using the existing script.If write new script to add record to the same table it works .

[Zope] authentication II

2000-11-30 Thread Olaf Zanger
hi everybody, after a long 10h struggle with installing and running zope i found some interesting things. may anybody be able to explain these to me? i run a suse7.0 system with a suse zope installation on 8080. i changed the access file to a new account name. with this account name i can do

Re: [Zope] VHost logs.

2000-11-30 Thread Rob Miller
Jason C. Leach wrote: hi, With Apache in front of zope, do you disable Medusa? No. Apache merely acts as a proxy server. Apache gets a request, passes the request on to Zope, Medusa/Zserver serves up the results back to Apache, which then hands them out to the original requester. And

Re: [Zope] Zope+PostgreSQL

2000-11-30 Thread Stephane Bortzmeyer
On Tuesday 28 November 2000, at 19 h 2, the keyboard of Robert Senger [EMAIL PROTECTED] wrote: The ZPoPyDA module refuses to work properly. Give at least your operating system and the traceback you get (I had good help from the list because I gave the details). ZPyGreSQL works fine for me,

[Zope] How to remove Items from ZPatterns:Rack in the right way ?

2000-11-30 Thread iap_y2fun.com
Hi, I have a question about ZPatterns:Rack. I got 10 items in a Rack and I want to remove those objects. By reading Rack.py , I know that manage_pack can do this for me if getItem(key) return None for those objects. Well, how to return None? One way I found is that: under "Storage" manage_tab,

Re: [Zope] ZCatalog: Query Syntax

2000-11-30 Thread Chris Withers
Chris McDonough wrote: The place to start might be to actually help write some documentation. There is a docs process description at http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess/Documentatio nGuide . This should at least give you an idea of how to proceed. Doug, If you

RE: [Zope] import/export

2000-11-30 Thread Cornelis J. de Brabander
Guessing that you mean a Gadfly table: you need to copy the table you need from the ../var/Gadfly/.. directory to your other machine. hth, cb Cornelis J. de Brabander == Department of Education, Leiden University P.O.Box 9555, NL-2300 RB Leiden +31 71 527

Re: [Zope] VHost logs.

2000-11-30 Thread seb bacon
In a manner of speaking, yes. That is, Apache needs to have correctly configured VirtualHost directives to handle the requests from the outside world appropriately, and Zope needs to have the SiteAccess product installed with correctly configured SiteRoots and access rules. It takes a

Re: [Zope] authentication II

2000-11-30 Thread Hannu Krosing
Olaf Zanger wrote: hi everybody, after a long 10h struggle with installing and running zope i found some interesting things. may anybody be able to explain these to me? i run a suse7.0 system with a suse zope installation on 8080. i changed the access file to a new account name.

Re: [Zope] User mangement

2000-11-30 Thread seb bacon
* Sven B. [EMAIL PROTECTED] [001130 10:34]: Zope has a function "get_valid_userids()". Now my question; How is it possible to get something like (username;role;path)? sven, refer to the ZQR: http://zdp.zope.org/projects/zqr/ZopeQR and look for the section describing the

[Zope] Why GUF or Loginmanager??

2000-11-30 Thread brocken22
Hallo, I'got a fundamental question: Why should you switch from the built-in authentication mechanism to a product like GUF or Login-manager?? Except of the different login interface, I dosn't see any advantage?? Please correct me. What I'm looking for is a product that redirects the

[Zope] User mangement

2000-11-30 Thread Sven B.
Zope has a function "get_valid_userids()". Now my question; How is it possible to get something like (username;role;path)? refer to the ZQR: http://zdp.zope.org/projects/zqr/ZopeQR and look for the section describing the AUTHENTICATED_USER object. Thanks seb, but i need to get

[Zope] MySQL

2000-11-30 Thread K H Subrahmanyan
hi, I want to add MySQL to my ZOPE. Please help me in installing it. Please give the links, necessary information. thanks bye subrahmayan. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] MySQL

2000-11-30 Thread Chris Withers
K H Subrahmanyan wrote: hi, I want to add MySQL to my ZOPE. Please help me in installing it. Please give the links, necessary information. How about actually doing some work for yourself for a change rather than expecting everyone else to do it for you? Chris

[Zope] mysql zope

2000-11-30 Thread Alexander DePauli
Hi Zopistas! we are looking for a method to do a better integration of mysql 3.23.27 with zope 2.2.2. (we are using the Z MySQL database adapter Z MySQL DA 1.1.3.) We have to store data in a mysql database - we canĀ“t use ZODB because we need the data accessible by other programs via ODBC. We

Re: [Zope] Why not normal acl_users?

2000-11-30 Thread Chris Withers
[EMAIL PROTECTED] wrote: Why should you switch from the built-in authentication mechanism to a product like GUF or Login-manager?? When you want to do something that the built in user folder can't, like authenticate against usernames and passwords stored in an SQL table, or and LDAP server,

Re: [Zope] Rookie Question - Syntax

2000-11-30 Thread Stephane Bortzmeyer
On Wednesday 29 November 2000, at 8 h 20, the keyboard of Eric Walstad [EMAIL PROTECTED] wrote: I like to let javascript handle the validation, it lightens the load a little on the server. You still need server-side validation, otherwise, a rogue user can set up a form which will allow

Re: [Zope] Fast Access.

2000-11-30 Thread Stephane Bortzmeyer
On Tuesday 28 November 2000, at 19 h 19, the keyboard of "Jason C. Leach" [EMAIL PROTECTED] wrote: Is there a faster way to access Zope? I find I wate too long for page refreshing and updates. Several are documented. I like the Squid accelerator.

[Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-11-30 Thread Chris Withers
Karim Yaici wrote: Hi guys, I found this article written by someone from Quixote concerning Zope, describing its weaknesses and possible future development http://www.amk.ca/python/writing/why-not-zope.html This guy is quite far up his own arse :-) It's probably more useful to work around

RE: [Zope] VHost logs.

2000-11-30 Thread Seb Bacon
VirtualHost 123.123.123.123 ServerName www.foobar.com RewriteEngine on RewriteRule ^/(.*) https://www.foobar.com/ /VirtualHost of course i actually meant: VirtualHost 123.123.123.123 ServerName www.foobar.com RewriteEngine on RewriteRule ^/(.*)

[Zope] Presentation Object Model

2000-11-30 Thread Chris Withers
Paul Everitt wrote: snip Skinnable and localisable Brian veto'd it, declaring it too ambitious. He's basically waiting for Zope to better figure out how to keep presentation separate from the object model. Been pretty quiet on the lists WRT HiperDOM, which I got the impression was going to

Re: [Zope] Instance within Instance

2000-11-30 Thread Tim Cook
Daryl Stultz wrote: Tim Cook wrote: Daryl, Import the DarylProduct.zexp into your Products folder. The DarylExample.zexp can go anywhere in you Zope tree. As luck would have it, the file did not import into Products (File /usr/local/Zope/lib/python/OFS/CopySupport.py, line 406,

[Zope] login dialog text

2000-11-30 Thread Ragnar Beer
Hi Zopistas! When users connect to a restricted area a dialog box pops up that looks more or less like this: Enter user name for Zope at myhost: User: _ Password: _ Where and how can I change the

Re: [Zope] Why GUF or Loginmanager??

2000-11-30 Thread Oliver Bleutgen
Hallo, I'got a fundamental question: Why should you switch from the built-in authentication mechanism to a product like GUF or Login-manager?? You can choose the storage for your userdata yourself, which may be practical for i.e. - huge user base and/or you also like to store adresses etc.

Re: [Zope] Instance within Instance

2000-11-30 Thread Tim Cook
Daryl Stultz wrote: It DID import into the root folder (I did this purely by accident!) I was then able to recreate the called-for classes and IT WORKED!! I haven't figured out HOW yet but I will. Thanks a lot for the help, and Maybe we COULD say the how is, "because it creates one object(

Re: [Zope] mysql zope

2000-11-30 Thread Steve Spicklemire
Hi Ruediger, You might consider ZPatterns. It allows you to develop applications with ZODB, and then, later, 'easily' switch to other forms of attribute storage for your objects. -steve "Alexander" == Alexander DePauli [EMAIL PROTECTED] writes: Alexander Hi Zopistas! Alexander

Re: [Zope] DC and the PTK?

2000-11-30 Thread Tres Seaver
Dennis Nichols [EMAIL PROTECTED] wrote: At 11/29/00 03:42 PM, ethan mindlace fremen wrote: Dennis Nichols wrote: At 11/28/00 11:34 AM, albert boulanger wrote: Whether to go with portal products from Plumtree or iPlanet. If this implies that you are considering using Zope's PTK, then

[Zope] dtml-tree stuff

2000-11-30 Thread Mike Kelland
I think I may not have asked a specific enough question last time round. I'll try it again. I've been looking through the How-To's and the documentation and the dtml-tree stuff that I have found seems exceedingly cryptic. The closest that I've come to a solution is the following code:

Re: [Zope] login dialog text

2000-11-30 Thread Ragnar Beer
Thanks a lot! Do you know whether it's also possible to set a folder based variable within Zope to allow for different messages when logging into different folders? Ragnar On Thu, 30 Nov 2000, Ragnar Beer wrote: Hi Zopistas! When users connect to a restricted area a dialog box pops up

Re: [Zope] New Zope.org

2000-11-30 Thread Michael Bernstein
emf wrote: Zopatistas! Zope.org is finally living in its new home. Right now, you may be getting zope.org through the old apache, so don't be surprised if it's a tad slow. By late tomorrow, just about everybody's dns should have updated to the new IP address. If you want to know,

RE: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-11-30 Thread Steve Drees
I found this article written by someone from Quixote concerning Zope, describing its weaknesses and possible future development http://www.amk.ca/python/writing/why-not-zope.html No CVS is also a problem, but with the improvements in the History tab and the like, this less of an issue.

Re: [Zope] python methods

2000-11-30 Thread The Doctor What
* Tres Seaver ([EMAIL PROTECTED]) [001130 09:06]: Chris Withers [EMAIL PROTECTED] wrote: 'lambda' is actually a keyword, not a function, and hence works fine in PM0.1.7. 'map()', 'filter()', et al., were deemed to be susceptible to being used in DOS attacks, and hence are not permitted in

RE: [Zope] date in Z Gadfly Database

2000-11-30 Thread Farrell, Troy
Note that Gadfly does not support the DATE datatype. You can use VARCHAR to store a string, or switch to a different database, such as PostgreSQL (my personal preference) or MySQL. The answer to your question is found here: http://www.chordate.com/kwParsing/gadfly.html#table The main Gadfly

Re: [Zope] dtml-tree stuff

2000-11-30 Thread Stuart Foster
I have a similar need and have found the How-To's cryptic also. I too get company1 over and over. Original Message dated 11/30/00, 3:12:00 PM Author: Mike Kelland [EMAIL PROTECTED] Re: [Zope] dtml-tree stuff: I think I may not have asked a specific enough question last time round. I'll try

[Zope] sqlgroup

2000-11-30 Thread Tom Deprez
Hi, Is there a reason why the attribute 'having' doesn't exists? I want to use dtml-sqlgroup having dtml-sqltest ... optional /dtml-sqlgroup this way when the sql-test tag contains nothing, also the having clause is not attached to the query. Why does 'where' exists and 'having' not? Is

Re: [Zope] VHost logs.

2000-11-30 Thread Rob Miller
seb bacon wrote: Rob Miller wrote: In a manner of speaking, yes. That is, Apache needs to have correctly configured VirtualHost directives to handle the requests from the outside world appropriately, and Zope needs to have the SiteAccess product installed with correctly configured

Re: [Zope] Why Not Zope? 'Cos I like to bitch! ;-)

2000-11-30 Thread Cees de Groot
Andy McKay [EMAIL PROTECTED] said: The heavy lifting, logic and anything more should be in python. I won't pretend its particularly easy Zope hurt quite a lot some times, but we got there.. I think this is the biggest problem of Zope. Contrary to Python, Zope makes it /hard/ to do things the

[Zope] Finding PARENTS in an external method.

2000-11-30 Thread Max M
I have an external Method. How do I call PARENTS[-1] from it? in dtml it would be: dtml-in "PARENTS[-1].objectValues('Folder')" I have tried something like: self.PARENTS[-1].objectValues('Folder') I have also checked if PARENTS get passed to the method like: myMethod(self,

Re: [Zope] Finding PARENTS in an external method.

2000-11-30 Thread Andy McKay
PARENTS is part of REQUEST so: def test(self, REQUEST): msg = '' for parent in REQUEST.PARENTS: msg = msg + str(parent.absolute_url()) + 'br' return "%s" % msg Is a convoluted way of listing parents urls... -- Andy McKay, Developer. ActiveState. - Original Message

Re: [Zope-dev] time stamp - concurrent editing

2000-11-30 Thread Ender
"Nai A. Tzeo" wrote: Hello, I'm a zope newbie and was wondering if anyone on the list know how to solve the problem of concurrent editing. I'm using zope as a front end and SQL server as a back end. Basically, I want to be able to edit a record with out having to lock the record so

Re: [Zope-dev] Interfaces: Specify, then implement!

2000-11-30 Thread Chris Withers
Dieter Maurer wrote: If you do change the implementation, then the specification can probably be changed at the same time. IMHO, this is the wrong way round. If the interface doesn't cover what it needs to, update the interface and then make sure all the implementations are updated

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-30 Thread Jim Fulton
Lalo Martins wrote: Well, two betas of OracleStorage in one day, then a month and a half of silence. What's the status? From our perspective, it's what it was then. We built it for a customer who later decided they didn't want it. I'm glad to hear you found it useful. What about the other

[Zope-dev] Re: [Geeks] Re: Interface Meta Data proposal

2000-11-30 Thread Jim Fulton
Guido van Rossum wrote: Is security really a part of an object's interface? I thought this was more of an implementation thing. Good point. Certainly in Unix I can have two things implementing the same interface (e.g. two named pipes) with different security settings (i.e. modes).

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-30 Thread Phillip J. Eby
At 08:10 AM 11/30/00 -0500, Jim Fulton wrote: I don't think Data.fs will go away. I do expect it to be relagated to initial evaluation and development projects. Use of Berkely DB in transactional mode requires a significant andminstration commitment. Log files need to be purged. Backup and

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-30 Thread Jim Fulton
"Phillip J. Eby" wrote: At 08:10 AM 11/30/00 -0500, Jim Fulton wrote: I don't think Data.fs will go away. I do expect it to be relagated to initial evaluation and development projects. Use of Berkely DB in transactional mode requires a significant andminstration commitment. Log files

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-30 Thread Lalo Martins
On Thu, Nov 30, 2000 at 08:10:15AM -0500, Jim Fulton wrote: Lalo Martins wrote: Please help stamp out Data.fs! :-) I don't think Data.fs will go away. I do expect it to be relagated to initial evaluation and development projects. Use of Berkely DB in transactional mode requires a

[Zope-dev] ZUnit - feedback convocation

2000-11-30 Thread Lalo Martins
Hi all I'trying to write a document on ZUnit and Unit Testing in general, following Michel's and Amos' documentation process. I wrote an outline, and now I'm stuck :-) anyone with a few free moments is welcome to take a look and send me some words. Also, anyone very interested in the subject is

[Zope-dev] Return variables from a DTML Method

2000-11-30 Thread bentzion
I want to change some ZClass properties by getting return results from a DTML Method. Something like this: dtml-call "myzclass.propertysheets.get('Basic').manage_changeProperties(dtmlM eth(this(),_))". How do I get the dtmlMeth to return a Mapping? (or should I be doing this a different way?)

Re: [Zope-dev] ZUnit - feedback convocation

2000-11-30 Thread Michel Pelletier
Lalo Martins wrote: Hi all I'trying to write a document on ZUnit and Unit Testing in general, following Michel's and Amos' documentation process. I wrote an outline, and now I'm stuck :-) anyone with a few free moments is welcome to take a look and send me some words. Also, anyone very

[Zope-dev] ZPatterns: using PythonMethods from Skinscript

2000-11-30 Thread Ulrich Eck
hi out there, this is my first posting on this list. Right now I think this is the right place to ask details about ZPatterns. I think a ZPatterns-Mailinglist should be set up, where people like me, working hard to get the "Zen of ZPatterns" can discuss questions related to USING

[Zope-dev] Using LoginManager with SQL and SkinScript

2000-11-30 Thread Dan L. Pierson
I've put up a writeup of a different way to use LoginManager with SQL that I think is a bit more in keeping with the current ZPatterns at: http://www.zope.org/Members/dlpierson/sqlLogin Any comments? (I would have set this up as a formal HowTo, but couldn't find a way to upload the contents.)

[Zope-dev] Custom Unauthorized errors...

2000-11-30 Thread John Eikenberry
With all the work going on related to Zope's authentication system has there been any progress on allowing custom unauthorized errors? I'd refer to the bug id in the collector, but it seems to be down at the moment. I'm planning on using LoginManager which fixes this to a certain extent last I

Re: [Zope-dev] ZPatterns: using PythonMethods from Skinscript

2000-11-30 Thread Phillip J. Eby
At 04:39 PM 11/30/00 +0100, Ulrich Eck wrote: I've a db_sequence specialist who serves the Framework with db_id's for new Records like: May I suggest calling your Specialist "Sequences" or "Counters" since it appears that it returns objects which produce sequential integer values?

Re: [Zope-dev] Return variables from a DTML Method

2000-11-30 Thread Dieter Maurer
[EMAIL PROTECTED] writes: I want to change some ZClass properties by getting return results from a DTML Method. Something like this: dtml-call "myzclass.propertysheets.get('Basic').manage_changeProperties(dtmlM eth(this(),_))". How do I get the dtmlMeth to return a Mapping? (or

Re: [Zope-dev] Return variables from a DTML Method

2000-11-30 Thread Tres Seaver
[EMAIL PROTECTED] asked: I want to change some ZClass properties by getting return results from a DTML Method. Something like this: dtml-call "myzclass.propertysheets.get('Basic').manage_changeProperties(dtmlM eth(this(),_))". How do I get the dtmlMeth to return a Mapping? (or should I be