Re: [Zope] Zope 2.2.0a1 permission problems

2000-05-18 Thread Kyler B. Laird
I just installed release 2.2.0a1 on a glibc Linux box, but I keep getting a permission problem when accessing a database query. I have encountered the same problem using ZOracleDA under SPARC Solaris. File /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py, line 602, in

[Zope] dtml-sqltest to support SOUNDEX?

2000-06-16 Thread Kyler B. Laird
I think I've determined that there's no clean way to specify a function to be used on a sqltest variable. I'd like to be able to do something like dtml-sqltest soundex(lname) column="soundex(last_name)" type=nb optional but it doesn't seem possible. I hope that I am missing something.

Re: [Zope] LoginManager UserSources

2000-08-02 Thread Kyler B. Laird
On Wed, 2 Aug 2000 15:13:45 -0400 you wrote: I've gotten it working with Postgres (with crypted passwords no less!) It took me a couple of weeks on and off to finally get that going. Yes, it was painful, especially having no prior experience with GUF (or much experience with Zope, for that

Re: [Zope] Search and replace

2000-11-20 Thread Kyler B. Laird
On Sun, 19 Nov 2000 15:03:46 -0500 you wrote: Is there any way to do a 'search and replace' in a Zope folder (and it's subfolders)? Ha! Funny you'd mention this in this way. I've thought that a search and replace could be used on www.zope.org to help force Zope documenters to use "it's"

Re: [Zope] PoPy

2000-11-20 Thread Kyler B. Laird
On Mon, 30 Oct 2000 10:43:16 +1030 (CST) you wrote: ImportError: ./PoPymodule.so: Undefined symbol "sem_wait" Take a look at the man page for sem_wait(). Take the library/libraries listed there and put them on the configure line for PoPy. In my case (Solaris 2.6), I added

[Zope] user-owned products?

2000-11-25 Thread Kyler B. Laird
Over the last few months I've been getting much more comfortable advocating Zope as our supported Web application environment. I'm *finally* getting around to building my own products, however, and I just realized how limited they appear to be. It *seems* that Zope products are at the

[Zope] manage_addFolder unusable from DTML-call?

2000-11-26 Thread Kyler B. Laird
I have a simple DTML method: dtml-var standard_html_header h2dtml-var title_or_id dtml-var document_title/h2 p This is the dtml-var document_id Document in the dtml-var title_and_id Folder. /p p Welcome, dtml-var

Re: [Zope] manage_addFolder unusable from DTML-call?

2000-11-27 Thread Kyler B. Laird
On Sun, 26 Nov 2000 23:22:17 +0100 (CET) you wrote: When I tried to reproduce your problem (ZopeCVS rather than Zope 2.2.4b1), everything worked as it should -- no Unauthorized exception. Indeed, it works for me using a simple CVS version too. Thank you. --kyler

[Zope] clean way to change AUTHENTICATED_USER?

2000-11-27 Thread Kyler B. Laird
My users need to login with a simple alias ("kyler") which could change. As part of the (PH/X.500) login procedure, I want to set AUTHENTICATED_USER to a better ID ("kyler.b.laird.1"). This will allow the users to continue to change aliases at will without necessitating ownership changes in

Re: [Zope] manage_addFolder unusable from DTML-call?

2000-11-27 Thread Kyler B. Laird
dtml-call "manage_addFolder('Folder', 'my new folder')" Unauthorized I finally got to the bottom of this. I was running into a ZopeSecurityPolicy problem. It wanted to check the roles of the owner of the executable, but I had deleted the root user folder when I created a Login

[Zope] change object ownership from DTML?

2000-11-28 Thread Kyler B. Laird
I'm allowing users to initialize their own folders, but I've run into a problem with ownership. If I simply do manage_addFolder(), the folder is created "unowned". I feel like I've looked everywhere for a clue on how to set the ownership, but I haven't caught it. Surely I'm missing something

[Zope] Why is acl_users Contents hidden?

2000-12-04 Thread Kyler B. Laird
I've been planning on using roles to control access to folders. Unfortunately, I find that if a user doesn't have the "Manage" role, requests to acl_users/manage_workspace will get redirected to acl_users/manage_access and no "Contents" tab will be shown. The user can still go to

[Zope] turning off inheritance

2000-12-13 Thread Kyler B. Laird
I am working on generating a directory from Zope objects. There is a folder full of units (other folders). These units contain people (more folders). Units and people both have contact information stored in their properties. How do I detect if a person has, for example, 'contact_email' set?

Re: [Zope] turning off inheritance

2000-12-13 Thread Kyler B. Laird
On Wed, 13 Dec 2000 19:39:43 +0300 (MSK) you wrote: On Wed, 13 Dec 2000, Kyler B. Laird wrote: Units and people both have contact information stored in their properties. How do I detect if a person has, for example, 'contact_email' set? I've tried dtml-if "_.ha

Re: [Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Kyler B. Laird
On Thu, 28 Dec 2000 12:44:24 -0500 you wrote: It Seems That Zope Likes To Capitalize Just About Every Word It Gets Hold Of. Is There A Good Way To Turn This Off? I Can Think Of Some Kludges, But I'd Like To Avoid Them. How do you mean? Which of the following is a proper noun or acronym?

[Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Kyler B. Laird
It Seems That Zope Likes To Capitalize Just About Every Word It Gets Hold Of. Is There A Good Way To Turn This Off? I Can Think Of Some Kludges, But I'd Like To Avoid Them. Thanks. --kyler ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Kyler B. Laird
On Thu, 28 Dec 2000 13:34:57 -0500 you wrote: AFAIK, there is no routine which capitalizes the words in management tabs. They just all happen to be capitalized literally. Is this what you mean? Yeah, tabs and everywhere else. I was guessing that some routine was responsible because I see

[Zope] date: Are month and day required?

2000-12-31 Thread Kyler B. Laird
We just ran into some strange behavior with date properties. Although hour, minute, second, timezone, ... are not required, day and month seem to be. Is there a way to specify only the year or only the year and month? (The ZQR was referenced, but I didn't find info there.) Thank you.

[Zope] terrible kludge to set password

2001-01-01 Thread Kyler B. Laird
I was unsuccessful at finding any examples of changing a user's password from DTML, but I did see a few requests for such functionality. I bumped around quite awhile today trying to figure out how to do it. I didn't come up with a good way, but I did find something that works. So, although

[Zope] manage_listLocalRoles user entry needed

2001-01-27 Thread Kyler B. Laird
I've read that some people are at least thinking about user management systems that go beyond the "handful of users" systems currently supported by Zope. (I'm working on one today.) As a baby step toward supporting these systems, I propose that manage_listLocalRoles provide a text box for

[Zope-dev] Z SQL: optional isn't?

2000-05-26 Thread Kyler B. Laird
I'd like to build a Z SQL method for *many* people to use to list courses that we offer. I don't want to require that all queries using it understand all of the columns, but I do want to be able to modify the query in many ways. So...after reading

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-27 Thread Kyler B. Laird
On Sat, 27 May 2000 13:07:50 +1000 (EST) you wrote: In your 'Options' box for your ZSQL method, you can specify a default value for arguments if they were not passed: subject:string = '' course_nbr: string = '' Don't know if/where it is documented. I hope it's not documented anywhere; it

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-29 Thread Kyler B. Laird
On Mon, 29 May 2000 21:56:33 +0200 (CEST) you wrote: Error, Bad Request: ['version'] You want to use "default values" in your SQL method argument list. The details are described in "ZSQL/ZSQL.2.5.2.html". What's the URL for this? I'm looking through the pointers from the documentation

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-30 Thread Kyler B. Laird
On Tue, 30 May 2000 17:09:20 +1000 (EST) you wrote: I like the optional attribute. I'd like to see it do more than sit idle in the code. You don't have to do the typechecking in the 'arguments' box if you don't want. eg. in your arguments section: course="" subject="" O.k., it appears

Re: [Zope-dev] manage_workspace = index_html

2001-07-08 Thread Kyler B. Laird
On 15 May 2001 13:23:30 -0600 you wrote: My workspace keeps being redirected to index_html I don't understand it, but I see that netscape navigator doesn't seem to have this problem. But Mozilla and Lynx does! Same situation here. With mozilla, please state the

Re: [Zope-dev] manage_workspace = index_html

2001-07-08 Thread Kyler B. Laird
On Sun, 8 Jul 2001 21:56:51 +0200 you wrote: It's not so bad now, but if Mozilla ever fixes tab handling within textareas, I'm going to want to use it with Zope. if you are really interested in using the tab with mozilla=20 I am. Others are too - here and elsewhere.