[Zope] Zope log rotation

2000-05-19 Thread Dan L. Pierson
Chien-pin Wang writes: Dear All: Quick question about Zope admin. Can zope automatically rotate its access log? Thanks. I use logrotate on Linux for this. Unfortunately I have to use the before and after config options to stop zserver before and restart it after -- otherwise

[Zope] Good news for Zope/Mozilla efforts!

2000-05-24 Thread Dan L. Pierson
Looks like we really will be seeing Python support in Mozilla one of these days! Soon? http://www.newsalert.com/bin/story?StoryId=CosTtWbKbytaXodG ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] syndication??

2000-05-25 Thread Dan L. Pierson
Chris Withers writes: Webmaster wrote: The concept is simple enough, but I just don't know how I could do the same thing in Zope. I am setting up a system where daily articles can be entered weeks in advance and will only appear on the web site when the date matches their "go live

[Zope] monitoring Zope with daemontools

2000-05-25 Thread Dan L. Pierson
Frank Tegtmeyer writes: About two months ago there was a discussion about monitoring the Zope processes. Someone mentioned daemontools of Daniel J. Bernstein. Because I use daemontools for several other applications I tried it with Zope too. See my article at

RE: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Dan L. Pierson
Brian Lloyd writes: What if we change this to: if a 'content_type' attribute exists, it is used else if the object's id seems to have a file extension (. in the id), try to use guess_content_type else if there is a 'default_content_type' attribute, use that

Re: [Zope] generic user folder 1.2.4

2000-06-09 Thread Dan L. Pierson
Stuart 'Zen' Bishop writes: Error type:KeyError Error Value:Parent_url You will need to post the traceback. Parent_url isn't used in GUF anywhere, so I'm guessing it is another product that is barfing. Oops, I got bitten by this with LoginManager. If it's the same bug, it's a

[Zope] Q: LoginManager and SQL-US?

2000-06-13 Thread Dan L. Pierson
Wilkinson Charlie E writes: 1. Can LoginManager be (easily?) made to meet my specific need? Probably, it includes a GenericUserSource, which is essentially a clone of Generic User Folder (see below). 2. Has anyone done an SQL UserSource yet, or can anyone give me a clue

[Zope] LocalFS cross platform bug

2000-06-15 Thread Dan L. Pierson
If you upload from a browser on a Windows machine to a server running on Linux, the id (and thus the file name) of the new file will be the complete Windows path instead of just the file name. This happens because os.basename on Linux doesn't know how to handle Windows pathname syntax. Here's a

[Zope] Re: LocalFS cross platform bug

2000-06-20 Thread Dan L. Pierson
Jonothan Farr writes: That's a good point. Although, your patch actually does the backslash replacement regardless of whether the drive specification is present. How about this: +drive,rest=os.path.splitdrive(path) +if drive: +path = string.replace(rest,

[Zope] Re: LocalFS w/ annotation data

2000-06-20 Thread Dan L. Pierson
Jonothan Farr writes: That sounds like a mess. LocalDirectory objects are not persistent, they are created each time they are requested. So you'll have nowhere to put your PersistentMappings except in the top-level LocalFS object. Trying to make the LocalDirectories persistent would be

[Zope] LocalFS Documentation

2000-07-13 Thread Dan L. Pierson
Kelvin Cheong writes: Anybody know where I can find out more about LocalFS, I've already read jfarr's How-to's and Product Information. But I still need more on how it works. It helps to pay very careful attention to the help info (in .../Products/LocalFS/methodHelp.dtml if you're not

[Zope] Creating folders in LocalFS

2000-07-17 Thread Dan L. Pierson
Aaron Williamson writes: I have a LocalFS object within a directory, and in the same directory I have a method which I want to use (among other things) to create new folders within the LocalFS object, which is called "pictures." If I try pictures.manage_addFolder(id) the folder gets

[Zope] Your feedback: what should DateTime strftime() behavior be?

2000-07-25 Thread Dan L. Pierson
+1 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )

[Zope] Zope jobs in MA

2000-07-26 Thread Dan L. Pierson
If you're interested in working with Zope in Massachussetts, we're hiring. Look on the Zope jobs board for more info: http://www.zope.org/Members/plewis/job_board/index_html Dan Pierson Chief Technical Officer Control.com, Inc. ___ Zope maillist -

[Zope] dtml-with confusion

2000-08-09 Thread Dan L. Pierson
Chris Withers writes: Can someone explain the difference between: dtml-with "PARENTS[-1]" dtml-with squishdot ...do stuff here... /dtml-with /dtml-with Push the root (PARENTS[-1]) on the namespace stack. Push squishdot on the namespace stack. ...do stuff here... dtml-with

[Zope] EventLogManager1.0

2000-08-16 Thread Dan L. Pierson
Chris McDonough writes: Folks, Available at http://www.zope.org/Members/mcdonc/Products/EventLogManager is my attempt to write a somewhat smarter logging facility for Zope. It supports complex rules processing and configurable targets (syslog and file). It's been tested under Linux

Re: [Zope] re module through the web security

2000-09-06 Thread Dan L. Pierson
Chris Withers writes: Chris McDonough wrote: There's the perception at DC that 're' isn't appropriate for through-the-web usage because it's possible to write and use regex that sends the Python interpreter thread it's operating within into a neverending loop. Sorry. [snip] It

Re: [Zope] re module through the web security

2000-09-07 Thread Dan L. Pierson
Evan Simpson writes: Fear not. In the brand new shiny PythonMethods Product coming soon (really!) to a Zope near you, you will have the ability to say: ModuleSecurityInfo('re').protect('compile', 'Use the "re" module') ...and suddenly anyone to whom you grant 'Use the "re" module'

Re: [Zope] re module through the web security

2000-09-08 Thread Dan L. Pierson
Evan Simpson writes: Ah, but I was sneaky and went and updated it just before posting ;-) You do have to follow a link or two, but it isn't hard to find (any more). Thanks a lot! That'll teach me not to refresh the page when I check back :-) It now answers all my questions.

Re: [Zope] LocalFS manage_addFolder solution?

2000-10-02 Thread Dan L. Pierson
"jensebaer" [EMAIL PROTECTED] writes: __ Folder creation isn't really supported in LocalFS at the moment.  Very low level support is there (module function _save_Folder) but it's not intended to be called

Re: [Zope] Zope Book Beta

2000-11-01 Thread Dan L. Pierson
"Jason Cunliffe" [EMAIL PROTECTED] writes: - Original Message - From: Chris Withers [EMAIL PROTECTED] Kinda tough to check out/read/find mistakes in a book that's only available as a set of html pages that aren't full text searchable This is a really good point. Just as

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a different approach that works for me in early testing. Note that it needs additional work before being turned loose on a live site. Dan Pierson "Mayers, Philip J" [EMAIL PROTECTED] writes: Does it even *work*? Even a

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
"Mayers, Philip J" [EMAIL PROTECTED] writes: Thanks, I'll take a look. Re: LoginManager - After a fast turnaround (confirming my ample faith in Open Source software) Magnus Heino pointed me in the right direction - the dtml methods and SQL objects need to be inside the UserSource folder,

Re: [Zope] LoginManager broken?

2000-12-12 Thread Dan L. Pierson
"Phil Harris" [EMAIL PROTECTED] writes: Phil, Something that bit me when using the howto you referenced. When creating the methods, as soon as the authenticate method is created the LoginManager starts using it, but since the other methods don't yet exist it starts generating errors

[Zope] Re: Zope.org feedback

2001-01-04 Thread Dan L. Pierson
Zachery Bir [EMAIL PROTECTED] writes: URL: http://www.zope.org/Members/dlpierson/sqlLogin Read through and completed the HOWTO for LoginManager with SQL and SkinScript. I have one question: Is there a missing step between creating the ZClass and somehow accessing it in the test folder?

Re: [Zope] LoginManager with SQL and Skinscript: adding properties to propertysheet propertysheet

2001-01-08 Thread Dan L. Pierson
Aaron Payne [EMAIL PROTECTED] writes: I am following Dan Pierson's How-To SQL LoginManager with SQL and Skinscript. I am not able to add properties. You may have noticed my silence on property sheets... At first, I didn't expect to use them, because I expected only members to edit their

Re: [Zope] Editors [OT]

2001-01-25 Thread Dan L. Pierson
Chris Withers [EMAIL PROTECTED] writes: Hmmm... interesting, maybe it's time to find a new editor... My wishlist would be: - Runs nicely on NT4 - Syntax highlighting for Python, C, XML, HTML (and, although this is dreamworld stuff, DTML ;-) - FTP or WebDAV editing built in as standard

[Zope-dev] Subclassing LoginManager

2000-05-19 Thread Dan L. Pierson
OK, time for another Zen fix :-) It looks like I've almost got PTK working with the latest LoginManager. The remaining problem is that the login form doesn't work. I've finally figured out why. PTKBase.MemberFolder.MemberFolderBase.validate is much hairier than

Re: [Zope-dev] Subclassing LoginManager

2000-05-22 Thread Dan L. Pierson
Phillip J. Eby writes: LoginManager will behave just like your outline, if you give it a BasicCookie LoginMethod, and a BasicAuth LoginMethod, in that order. LoginManager does not climb up the acquisition hierarchy, as that is properly the province of ZPublisher to do. It will provide

Re: [Zope-dev] LM and user objects

2000-06-07 Thread Dan L. Pierson
Bill Anderson writes: "Phillip J. Eby" wrote: At 04:03 PM 6/6/00 -0600, Bill Anderson wrote: I am using the deafult UserSource that comes with LM for the moment (one step at a time ;) LM or PTK? LM (Waiting for Dan's changes before trying _any_ LM with PTK ;)

RE: [Zope-dev] LM and user objects

2000-06-07 Thread Dan L. Pierson
Chip Vanek writes: Hi, I also tried to get the patch working with 2.2CVS PTK CVS and had little luck. I also needed to manually apply the patch and worked through the errors until I got a security violation with the PTK. I was no longer in any way able to access any of my test

[Zope-dev] Product Data Storage

2000-06-30 Thread Dan L. Pierson
Andy Dawkins writes: I have decided AGAINST searching the ZODB for instances of ZMailIn because that is just too scary, hideously inefficient and I don't want to go there. Instead I thought of keeping an up-to-date list of where all the current instances where held. My original idea was

Re: [Zope-dev] Unit testing, ZUnit

2000-10-24 Thread Dan L. Pierson
Lalo Martins [EMAIL PROTECTED] writes: Then I figured in the long run a Product isn't the best sollution; instead, fiddling with App/Product* sounds more like it, to allow developers to register tests just like they register classes, ZClass superclasses, _misc and help. Of course, just like

Re: [Zope-dev] Membership and latest LoginManager

2000-11-13 Thread Dan L. Pierson
"Phillip J. Eby" [EMAIL PROTECTED] writes: At 01:37 PM 11/13/00 -0500, Dan L. Pierson wrote: I've been trying to get Membership 0.7.6 working with LoginManager-0-8-8b1 (and it's associated ZPatterns) under Zope 2.2.2 on RedHat 6.2. After probing around it seems that there is

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

Re: [Zope-dev] FTP interface being worked on?

2001-03-18 Thread Dan L. Pierson
--On Saturday, March 17, 2001 08:46:26 PM -0500 Fred Wilson Horch [EMAIL PROTECTED] wrote: I think lossless serialization should be an explicit goal. If a developer doesn't provide specific object serialization methods, then a default method (perhaps XML) should be invoked that is

Re: [Zope-dev] [Announce] API Documentation Fishbowl Project

2001-06-06 Thread Dan L. Pierson
--On Wednesday, June 06, 2001 11:57:06 AM -0400 Paul Everitt [EMAIL PROTECTED] wrote: Hmm, I'm surprised that 2 days has passed with no comment from zope-dev and no comments in the Wiki. I hear constant complaints about lack of a polished API. I expected this post to generate lots of

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Dan L. Pierson
--On Thursday, June 07, 2001 09:34:54 AM -0400 Shane Hathaway [EMAIL PROTECTED] wrote: But I think I have a solution for all of the issues in conflict resolution. If you, or anyone else, is also interested in this, please show support (if only by saying please do this!) :-) I can't work

Re: [Zope-dev] [Announce] API Documentation Fishbowl Project

2001-06-07 Thread Dan L. Pierson
--On Wednesday, June 06, 2001 11:50:43 AM -0700 jimbo [EMAIL PROTECTED] wrote: I hope this helps. I wanted to add my feelings on the whole documentation issue. It seems to me that the whole process caters around developers too much. I have to disagree with you **in the context of this

Re: Re: [Zope-dev] WebDav Bug? -- And some comments on how greatWebDAV is ;-)

2001-09-20 Thread Dan L. Pierson
I agree that Brian's proposal is a good idea. --On Friday, September 21, 2001 08:46:42 AM +0200 Robert Rottermann [EMAIL PROTECTED] wrote: Hi Brian, that proposal sounds very good to me. Could it be enhanced in a way that we can add an add automatic extension when served by webdav. What I

Re: [Zope-dev] REQUEST.AUTHENTICATED_USER question

2002-01-24 Thread Dan L. Pierson
--On Thursday, January 24, 2002 01:35:56 AM -0500 vio [EMAIL PROTECTED] wrote: exUserFolder installed ok, so I'll give it a test drive also. But some hints on debugging LoginMgr would be also appreciated. Personally, I'd stay away from LoginManager. It depends on ZPatterns, a very

RE: [Zope-dev] Speaking of 2.6...

2002-04-17 Thread Dan L. Pierson
--On Wednesday, April 17, 2002 11:48:12 AM -0400 Brian Lloyd [EMAIL PROTECTED] wrote: We've already learned the hard way that the existing SiteRoots and VirtualHostMonsters etc. confuse people. This is partly due to under-documentation, but it is also partly because of the here, we'll

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-02 Thread Dan L. Pierson
--On Thursday, August 01, 2002 10:13:29 PM -0400 Shane Hathaway [EMAIL PROTECTED] wrote: It's really only a theoretical problem. To store the extra data about folderish objects, you can save the data in a hidden file called, for example, .properties. The theoretical problem is that

Re: [Zope-dev] ZSQL/ZODB corruption after upgrade

2003-02-09 Thread Dan L. Pierson
PROTECTED] wrote: Dan L. Pierson wrote at 2003-2-7 13:03 -0500: ... If I open a ZSQL method (any ZSQL method, new or old, inside the area that used to be controlled by LoginManager or not) it seems OK. Using the method works. But if I click on the Advanced tab in the ZMI, I get

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

2003-03-11 Thread Dan L. Pierson
--On Tuesday, March 11, 2003 03:43:33 PM -0500 Guido van Rossum [EMAIL PROTECTED] wrote: On Tue, 2003-03-11 at 15:22, Guido van Rossum wrote: That's why we're including the correct versions of ZODB and ZEO in Zope itself. That's already the case in Zope 2.6. Zope 2.6 doesn't yet include ZEO,

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

2003-03-11 Thread Dan L. Pierson
--On Tuesday, March 11, 2003 02:39:55 PM -0500 Guido van Rossum [EMAIL PROTECTED] wrote: Does this mean that Zope 2.7 will require ZODB 3.2 for ZEO users? Zope 2.7 will *come with* ZODB 3.2 (or later, depending on the timing of the Zope 2.7 release), so I suppose so. ... As an aside, am I the

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

2003-03-11 Thread Dan L. Pierson
We currently rely on two scripts for running our Zopes: 1. A modified version of zctl.py. I originally got it from a moribund wiki on the Zope site. The main changes we've made have been to better separate parameters for Zope clients from parameters for the ZEO server and to run an additional

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Dan L. Pierson
--On Thursday, June 19, 2003 10:07:52 +1000 Adrian van den Dries [EMAIL PROTECTED] wrote: I'd advise against installing Zope library files into site-packages unless you put them in a site-packages subdirectory (like site-packages/zope270 or site-packages/zope271). Otherwise there will be no

Re: [Zope-dev] PythonLibraries Product

2003-09-11 Thread Dan L. Pierson
--On Thursday, September 11, 2003 10:08:23 -0400 Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: Tres Seaver writes: Actually, the restricted case is the one which has the real win; the free-floating library is pretty, but not semanticaally needed. An added argument: a ZPT with its own