[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Prep for 2.8.8 release: Update to ZODB 3.4.4, ZopeX3 3.0.2.

2006-07-14 Thread Tres Seaver
Log message for revision 69131:
  Prep for 2.8.8 release:  Update to ZODB 3.4.4, ZopeX3 3.0.2.
  

Changed:
  U   Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
  U   Zope/branches/Zope-2_8-branch/inst/versions.py
  _U  Zope/branches/Zope-2_8-branch/lib/python/

-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt   2006-07-14 20:51:26 UTC 
(rev 69130)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt   2006-07-14 21:39:24 UTC 
(rev 69131)
@@ -4,32 +4,19 @@
   Change information for previous versions of Zope can be found in the
   file HISTORY.txt.
 
-  To-do
+  Zope 2.8.8 (2006/07/14)
 
-   - Add cyclic-garbage collection support to C extension classes,
- especially to acquisition wrappers.
-
- N.B:  ExtensionClassType already declares that it supports GC
- (via the Py_TPFLAGS_HAVE_GC flag), but does not appear to conform
- to the rules for such a type laid out in the Python docs:
- http://docs.python.org/api/supporting-cycle-detection.html
-
-  after Zope 2.8.7 (unreleased)
-
 Bugs fixed
 
-  - reStructuredText/ZReST: setting raw_enabled to 0 for security
-reasons
-
   - OFS Application: Removed deprecation warnings added in Zope 2.8.5.
 The warning period starts in Zope 2.9.0.
 
   - Collector #2136: Map ResourceLockedError to the correct response code.
 
   - Collector #2016: DemoStorage couldn't wrap base storages without
- an '_oid' attribute.
+an '_oid' attribute (fixed in ZODB 3.4.4).
 
-  - Collector #2116: sequence.sort() did not work properly
+  - Collector #2116: sequence.sort() did not work properly for
 locale related comparison methods
 
   - Collector 2077: fixed problem with ACTUAL_URL and SiteRoot
@@ -42,15 +29,15 @@
 
 Other Changes
 
-  - Disabled docutils file inclusion completely, rather than trying
-to jigger it via configuration settings.
+  - Updated to ZopeX3 3.0.2.
 
-  Zope 2.8.7 (2007/05/29)
+  - Updated to ZODB 3.4.4.
 
-Features added:
-
-  - ZODB 3.4.3
+  - Disabled docutils / ReST file inclusion completely, rather than
+trying to jigger it via configuration settings.
 
+  Zope 2.8.7 (2006/05/29)
+
 Bugs fixed
 
   - Collector #1429: Fix name/value traversal of ZSQL methods (backport
@@ -80,7 +67,10 @@
 
   - OFS.PropertyManager: Provided missing security declarations.
 
+Other Changes
 
+  - Updated to ZODB 3.4.3.
+
   Zope 2.8.6 (2006/02/25)
 
 Bugs Fixed

Modified: Zope/branches/Zope-2_8-branch/inst/versions.py
===
--- Zope/branches/Zope-2_8-branch/inst/versions.py  2006-07-14 20:51:26 UTC 
(rev 69130)
+++ Zope/branches/Zope-2_8-branch/inst/versions.py  2006-07-14 21:39:24 UTC 
(rev 69131)
@@ -1,5 +1,5 @@
 ZOPE_MAJOR_VERSION  = '2.8'
-ZOPE_MINOR_VERSION  = '7'
+ZOPE_MINOR_VERSION  = '8'
 ZOPE_BRANCH_NAME= '$Name$'[6:] or 'no-branch'
 
 # always start prerelease branches with '0' to avoid upgrade


Property changes on: Zope/branches/Zope-2_8-branch/lib/python
___
Name: svn:externals
   - zope   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope
ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3
BTrees -r 68674 
svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/BTrees
Persistence-r 68674 
svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/Persistence
persistent -r 68674 
svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/persistent
ThreadedAsync  -r 68674 
svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/ThreadedAsync
transaction-r 68674 
svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/transaction
ZEO-r 68674 svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/ZEO
ZODB   -r 68674 svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/ZODB
ZopeUndo   -r 68674 
svn://svn.zope.org/repos/main/ZODB/branches/3.4/src/ZopeUndo
zdaemonsvn://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1

   + zope   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.2-Zope-2.8/src/zope
ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3
BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/BTrees
Persistencesvn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/Persistence
persistent svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/persistent
ThreadedAsync  svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/ThreadedAsync
transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/transaction
ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/ZEO
ZODB   svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/ZODB
ZopeUndo   

[Zope-Checkins] SVN: Zope/tags/2-8-8/ Tag 2.8.8 release.

2006-07-14 Thread Tres Seaver
Log message for revision 69132:
  Tag 2.8.8 release.
  

Changed:
  A   Zope/tags/2-8-8/

-=-
Copied: Zope/tags/2-8-8 (from rev 69131, Zope/branches/Zope-2_8-branch)

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Overlooked ZODB externals.

2006-07-14 Thread Tres Seaver
Log message for revision 69133:
  Overlooked ZODB externals.

Changed:
  _U  Zope/branches/Zope-2_8-branch/doc/
  _U  Zope/branches/Zope-2_8-branch/utilities/

-=-

Property changes on: Zope/branches/Zope-2_8-branch/doc
___
Name: svn:externals
   - ZEO  svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/doc/ZEO

   + ZEO  svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/doc/ZEO



Property changes on: Zope/branches/Zope-2_8-branch/utilities
___
Name: svn:externals
   - ZODBTools  svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/scripts

   + ZODBTools  svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/scripts


___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/tags/2-8-8/ Forward port overlooked externals.

2006-07-14 Thread Tres Seaver
Log message for revision 69134:
  Forward port overlooked externals.

Changed:
  _U  Zope/tags/2-8-8/doc/
  _U  Zope/tags/2-8-8/utilities/

-=-

Property changes on: Zope/tags/2-8-8/doc
___
Name: svn:externals
   - ZEO  svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/doc/ZEO

   + ZEO  svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/doc/ZEO



Property changes on: Zope/tags/2-8-8/utilities
___
Name: svn:externals
   - ZODBTools  svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/scripts

   + ZODBTools  svn://svn.zope.org/repos/main/ZODB/tags/3.4.4/src/scripts


___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


Re: [Zope-dev] ZClasses and Versioning

2006-07-14 Thread Dieter Maurer
Christopher Lozinski wrote at 2006-7-13 19:38 -0700:
 ...
And that is why I am not quite able to describe what it means to upgrade 
ZClasses and versionning.  I know what I need to do, and I can do it 
really fast on Zope 2, but I am quite lost when it comes to Zope 3.  

Thus, apparently, you want to implement something like ZClass'es
in Zope 3 land.

When I understand right, then Jim would not like to see
ZClass'es directly in Zope 3 but rather something similar
build on top of persistent modules.

You can search the mailing list archives to locate the relevant
messages. After this preliminary work, you would need to contact Jim to
get more details about the road he envisaged.

I fear some good Zope 3 knowledge would be a requirement, though...



-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope 2.9.4

2006-07-14 Thread Andreas Jung
If there are no objections, I plan to release Zope 2.9.4 in about one week 
(likely next Thu or Fri).


Andreas

pgpqAxZg6JrTS.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] ZClasses and Versioning

2006-07-14 Thread Christopher Lozinski





When I understand right, then Jim would not like to see
ZClass'es directly in Zope 3 but rather something similar
build on top of persistent modules.

That makes sense to me.  Make a through the web editor of Zope 3. 



But what do I do with my Zope 2 application?   ZClasses break with Zope 2.8.

Perhaps I could dig through the mailing list and find the details about 
why Zope 2.8 breaks ZClasses.


Perhaps I could fix it, so that ZClasses could work on 2.8.

I am not the only one who has a Zope 2 application, and is having 
difficulty following the migration path.  Lots of people are using 
relational databases with Zope 2, and are not planning on moving forward.


I do not see a path from here to there.

As the line from the song goes.

I think your plans don't include me.

Regards
Chris



___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] ZClasses and Versioning

2006-07-14 Thread Dieter Maurer
Christopher Lozinski wrote at 2006-7-14 11:59 -0700:
 ...
But what do I do with my Zope 2 application?   ZClasses break with Zope 2.8.

I do not think so.

  They broke for a little while (during the beta release) but then were
  fixed by Jim.


At least we are using ZClasses (with Zope 2.8.1) and do not observe
problems.



-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Zope 2.9.4

2006-07-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Jung wrote:
 If there are no objections, I plan to release Zope 2.9.4 in about one
 week (likely next Thu or Fri).

Even sooner would be fine with me.  I plan to release a 2.8.8 this
weekend with the changes for the ReST fix (I already released a 2.7.9).

Note that the 2.9 branch depends at the moment on unreleased ZODB
changes (for a fix to issue #2016) and that there is a sizable set of
changes on the 3.2 branch after 3.2.1, at least some of which might be
important for Zope2.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEt/gS+gerLs4ltQ4RAti/AJ9YTcGB/e3UXvqRn9SW3UxYq30SEwCgoYRY
8/+qvoX+IOAVQPBRqByTwjc=
=4tr0
-END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Zope 2.9.4

2006-07-14 Thread Philipp von Weitershausen
Tres Seaver wrote:
 Andreas Jung wrote:
 If there are no objections, I plan to release Zope 2.9.4 in about one
 week (likely next Thu or Fri).
 
 Even sooner would be fine with me.  I plan to release a 2.8.8 this
 weekend with the changes for the ReST fix (I already released a 2.7.9).
 
 Note that the 2.9 branch depends at the moment on unreleased ZODB
 changes (for a fix to issue #2016) and that there is a sizable set of
 changes on the 3.2 branch after 3.2.1, at least some of which might be
 important for Zope2.

Ok. Let's get a Zope 3.2.2 out first, then. It should probably happen
anyways because of the docutils thing, right?

Also, Alec Mitchell backported the new traversal behaviour (attributes,
views, acquired junk) to Five 1.3. So we should probably also include a
new Five 1.3.x release as well. I would expect that that would make a
few people happy...

Philipp

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope] Inavlid Refernce Counts in Temporary Storage

2006-07-14 Thread Philip Kilner
Hi Dieter,

Dieter Maurer wrote:
 You may see a bug in the pack implementation for TemporaryStorage.
 

Aha - well, my Zope version is 2.8.6 - I'll dig to see if this version
is affected.

 Few people will probably try to pack a TemporaryStorage...
 Are you shure to need it?
 

No, not as such - I'm having problems with Conflict Errors, when I try
to store variables in the session.

The system has not changed in any way  that I can see is relevant, and
is not under heavy load (10 users accessing the pages in question), so
I was trying to examine the behaviour of the temporary storage and
satisfy myself that is was healthy.

From what you say, it may be that this error is entirely down to the
pack bug, so I'm back to trying to figure out how to troubleshoot the
conflict error.


-- 

Regards,

PhilK

Human language continually changes, innit.
- Stephen Juan
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Importing a site with missing products

2006-07-14 Thread Dale Strickland-Clark
I decided to install mxODBC but there isn't one for my combination of Zope and 
Python versions so I'm now off on an unplanned upgrade trail...bum!

Thanks for the help.

On Thursday 13 July 2006 22:47, Dieter Maurer wrote:
 Dale Strickland-Clark wrote at 2006-7-13 09:48 +0100:
 I need to duplicate (for testing) a site currently running on Windows on
  to Linux.
 
 This isn't a big deal. I've done the reverse direction without grief.
 
 However, on this occasion, I want to change the database connector from MS
  SQL Server to (mxodbc) to PostgreSQL (zpsycopgda) .
 
 Having exported the live site, I am unable to import it again in the test
 environment because of the following errors:

 You can only import a zexp when all modules and classes referenced in the
 zexp are available in the importing instance.

 What you want to do is not possible.


 Your options:

   *  Install ZmxODBC in the destination instance (I can run under Linux,
 too)

   *  Install ZPsycopgDA in the source instance, change
  your DA's to use ZPsycopgDA.

   *  Export and import

   *  maybe, change your DAs back to the previous state.

-- 
Dale Strickland-Clark
Riverhall Systems Ltd - www.riverhall.co.uk
London UK
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Creating and displaying lists

2006-07-14 Thread larrymcdonnell






Hi Jonathon,

I will adjust my code. I have written some Python code but very simple tasks and would like to do more.I don't program that often. I work for a school system in Connecticut. So if you have an example of what your are talking about I am willing to try it. 

Thanks again,

Larry
-- Original message from "Jonathan" [EMAIL PROTECTED]: --   - Original Message -  From: [EMAIL PROTECTED]  To: zope@zope.org  Sent: Thursday, July 13, 2006 4:03 PM  Subject: [Zope] Creating and displaying lists   I need to collect a list of student id numbers from one table so I can take  this list, find them in another table, and display their names so their  teachers can give them a score.   I still like to use DTML but I do not know if I have the sequence-number in  the proper format. This is what I have been playing with:  <
BR> "> ,  I think there is some confusion here. You should break this into 2 sections  (and it would be much easier in a python script), but if you want to use  dtml...   The first section should build the list you are trying to display in the  SELECT statement. It looks like you are trying to create a list of 'tuples'  where each tuple consists of (id, lastname, firstname). I don't know where  your data is coming from, but you could do something like:   # creates an empty list# add one  tuple (record) to the listAfter you have built your list test it by displaying it:  studentList to see if you have the right data in your list.   You can then proceed to the next section where you are building your SELECT  statements (warning: not tested and very ugly dtml)   "   ,  "_['sequence-item'][2]"   hth  Good LuckJonathan  




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Creating and displaying lists

2006-07-14 Thread Jonathan
There is a chapter in the Zope Book called 'Advanced Zope Scripting' which 
gives some good examples.  You can also find useful python scripts at 
www.zopelabs.com



Jonathan



- Original Message - 
From: [EMAIL PROTECTED]

To: Jonathan ; zope@zope.org
Sent: Friday, July 14, 2006 9:30 AM
Subject: Re: [Zope] Creating and displaying lists


Hi Jonathon,

I will adjust my code. I have written some Python code but very simple tasks 
and would like to do more. I don't program that often. I work for a school 
system in Connecticut. So if you have an example of what your are talking 
about I am willing to try it.


Thanks again,

Larry

-- Original message from Jonathan 
[EMAIL PROTECTED]: -- 





- Original Message - 
From: [EMAIL PROTECTED]

To: zope@zope.org
Sent: Thursday, July 13, 2006 4:03 PM
Subject: [Zope] Creating and displaying lists

I need to collect a list of student id numbers from one table so I can 
take

this list, find them in another table, and display their names so their
teachers can give them a score.

I still like to use DTML but I do not know if I have the sequence-number 
in

the proper format. This is what I have been playing with:




 BR

   ,




I think there is some confusion here. You should break this into 2 
sections

(and it would be much easier in a python script), but if you want to use
dtml...

The first section should build the list you are trying to display in the
SELECT statement. It looks like you are trying to create a list of 
'tuples'

where each tuple consists of (id, lastname, firstname). I don't know where
your data is coming from, but you could do something like:

# creates an empty list


# add one
tuple (record) to the list


After you have built your list test it by displaying it:  studentList to 
see if you have the right data in your list.


You can then proceed to the next section where you are building your 
SELECT

statements (warning: not tested and very ugly dtml)

   ,  _['sequence-item'][2]   


hth  Good Luck


Jonathan


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Alternate Forms of Authentication

2006-07-14 Thread Benjamin Menking




Hello all,

Just getting into Zope and loving it! I do have a question about the
basic authentication that Zope uses... I have a login page (ZPT) and
would love for Zope to display that page instead of the basic auth
dialog when it determines it needs to authenticate.

Is this possible? Is there a Product that
does this?

I have looked at the PluggableAuth and
related Products but they either don't seem to do what I want or I
can't find enough text to determine what would fit my needs.


Thanks!

-- 

Ben Menking
IT Security Consulting
(864) 420-5603
(864) 751-1638 fax

IT and Business Solutions


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2.9.3/2.9.1 On Suse 10.1 box version

2006-07-14 Thread Jeremy Smith

Howdy--

I just ran into this same problem. After much poking around, it turned
out that the source of the problem was that the zlib module for Python
had not been compiled because I didn't have the zlib development stuff
(in zlib-devel on RH and similar, not sure about Suse) installed.
Installing zlib-devel, then recompiling Python from source solved the
problem.

Best,

Jeremy.

[EMAIL PROTECTED] wrote:


Date: Wed, 5 Jul 2006 20:51:28 +0200
From: [EMAIL PROTECTED]
Subject: Re: [Zope] Zope 2.9.3/2.9.1 On Suse 10.1 box version
To: [EMAIL PROTECTED]
Cc: zope@zope.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

Ofer Weisglass wrote at 2006-7-5 01:38 +0300:
 


...
I updated the python to the last version and this is what I get after the
zope installation was over with no errors (already created instance,
username and password)

Traceback (most recent call last):
...
   setImplementation(C)
 File /usr/software/zope/lib/python/AccessControl/Implementation.py,
line 51, in setImplementation
   from AccessControl import ImplC as impl
 File /usr/software/zope/lib/python/AccessControl/ImplC.py, line 30, in ?
   from ImplPython import RestrictedDTML, SecurityManager,
ZopeSecurityPolicy
ImportError: No module named ImplPython
   



This looks like a missing installation step (generation of the
C-extensions did not happen).

Recheck the installation instructions and try again.



-- Dieter




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Alternate Forms of Authentication

2006-07-14 Thread Josef Meile

Hi Benjamin

Just getting into Zope and loving it!  I do have a question about the 
basic authentication that Zope uses... I have a login page (ZPT) and 
would love for Zope to display that page instead of the basic auth 
dialog when it determines it needs to authenticate.


Is this possible?  Is there a Product that does this?

Yes, you can use the CookieCrumbler Product and customize its login forms.

Regards
Josef

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito

Garito escribió:

Hi all!

Please, look at this code:

def __bobo_traverse__(self, REQUEST, name):
   obj = getattr(self, name, None)
   if obj is not None: return obj
   else:
   obj = self.Dame(name)
   if obj is not None: return obj
   else:
   if 'Parametros' in self.REQUEST: 
self.REQUEST['Parametros'] = self.REQUEST['Parametros'] + [name]

   else: self.REQUEST['Parametros'] = [name]
   return self

self.Dame is a function that seeks for an object with the name name

I wonder why I can do this on a Page Template:

tal:b tal:replace='python: here.Texto' /

Where Texto is a adquired property, but not this:

tal:b tal:replace='here/Texto' /

because zope raises an unauthorized error

How can I solve this point?

Thanks!


Anyone can tell me what is happening here?

--
Mis Cosas
http://blogs.sistes.net/Garito


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 3 clues for getting started

2006-07-14 Thread Dale Strickland-Clark
We're considering Zope 3 for some new sites and for re-factoring some existing 
projects.

Initially, we want to use it as an authentication engine for the existing 
sites and then then it will control the new sites as they come online.

This is early stages  (I haven't managed to install Zope 3 yet) so we have 
some reading to do but I wonder if I could get some answers to a couple of 
simple questions:

1. I assume the Zope 3 authentication engine is at least as capable as the 
Zope 2 one in that you can assign roles to users and require roles for a page 
to display?

2. Is it possible to keep the users' passwords in clear text so they can be 
emailed if the user requests it?

3. Where is the API documented that we call to check if a user/password 
combination is valid?

4. Where is the rest of Zope 3 documented? I've found this 
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage/Zope3Book
 
but it doesn't seem complete.

Thanks for any help.
-- 
Dale Strickland-Clark
Riverhall Systems Ltd - www.riverhall.co.uk
London UK
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Andreas Jung



--On 14. Juli 2006 17:17:51 +0200 Garito [EMAIL PROTECTED] wrote:


Garito escribió:



Anyone can tell me what is happening here?



The Zope mailing list is not a helpdesk with a guaranteed response time.
No need to grouch!

-aj

pgpnF2JmaCweW.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope performance experiences

2006-07-14 Thread Sinang, Danny



Dear 
All,

Can anyone share 
their experiences on Zope's performance, what your hardware / Zope configs are, 
and how you plan to scale ?

Regards,
Danny


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope performance experiences

2006-07-14 Thread Andreas Jung



--On 14. Juli 2006 23:24:11 +0800 Sinang, Danny [EMAIL PROTECTED] 
wrote:



Dear All,

Can anyone share their experiences on Zope's performance, what your
hardware / Zope configs are, and how you plan to scale ?


This question is like I wanna buy car. Which one should I buy.

Everything depends on very much on your application and usecase. For 
scaling: use ZEO...


-aj



pgpcCHGA7pLrq.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito

Andreas Jung escribió:



--On 14. Juli 2006 17:17:51 +0200 Garito [EMAIL PROTECTED] wrote:


Garito escribió:



Anyone can tell me what is happening here?



The Zope mailing list is not a helpdesk with a guaranteed response time.
No need to grouch!

-aj

Sorry I don't pretend to be rude!

--
Mis Cosas
http://blogs.sistes.net/Garito


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope performance experiences

2006-07-14 Thread Jonathan


snip
- Original Message - 
From: Sinang, Danny

To: zope@zope.org
Sent: Friday, July 14, 2006 11:24 AM
Subject: [Zope] Zope performance experiences

Can anyone share their experiences on Zope's performance, what your hardware 
/ Zope configs are, and how you plan to scale ?

/snip


I just did some load testing for a new app I am building, so i have some 
figures:


Setup:

Application Server
  - zope 2.9.2
  - centOS 4.3 (linux)
  - AMD Athlon 64 3000+ (1.8 Ghz)
  - 1Mb RAM (PC3200 DDR 400Mhz)

Database Server
  - zope 2.9.2 (but only using zeo server)
  - mysql 4.1
  - centOS 4.3 (linux)
  - VIA Cyrix CPU (1Ghz)
  - 1Mb RAM (ECC 400Mhz)


Load testing was done using http_load utility.  Apache front-end web server 
was turned off (I didn't want Apache  its caching to impact the load 
testing). Load testing was done on an internal LAN.


Test #1 - retrieval of static web page (application server gets web page 
from zeo server running on database server); results:


   750 fetches, 50 max parallel
   3382 mean bytes/connection
   186.86 fetches/sec
   631981 bytes/sec
   msecs/connect:
   mean 0.414
   max  7.523
   min 0.174
   msecs/first-response:
   mean 258.394
   max  277.709
   min 114.296


Test #2 - retrieval of a dynamic page (data collected via an external method 
and displayed via dtml). Data collection required 5 separate ZCatalog 
searches and 1 SQL search (all searches performed by Database server); 
results:


   750 fetches, 50 max parallel
   8223.2 mean bytes/connection
   12.84 fetches/sec
   105593 bytes/sec
   msecs/connect:
   mean 1.616
   max  46.725
   min 0.17
   msecs/first-response:
   mean 3768.18
   max  4339.11
   min 365.858

cpu monitoring during the load test indicated that the Application Server 
was running at 80-85% utilization and the Database Server cpu was running at 
27-31% utilization.



Test #3 - retrieval of a dynamic page (data collected/generated via an 
external method and displayed via dtml). Data collection consisted of 1 zodb 
object access (to obtain property fields), 2 SQL searches and the generation 
of a customized image (using PIL, the image was temporarily stored in a 
temporary_folder); results:


   750 fetches, 50 max parallel
   2287.93 mean bytes/connection
   26.554 fetches/sec
   60753 bytes/sec
   msecs/connect:
   mean 0.425
   max  1.544
   min 0.168
   msecs/first-response:
   mean 1782.18
   max  7685.95
   min 78.514


Final system configuration will consist of a front-end load balancer 
(linux-based), several application servers and several database servers. 
There is some good info on scalable networks here: 
http://www.linuxvirtualserver.org/



hth

Jonathan 


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 3 clues for getting started

2006-07-14 Thread Martijn Pieters

On 7/14/06, Dale Strickland-Clark [EMAIL PROTECTED] wrote:

1. I assume the Zope 3 authentication engine is at least as capable as the
Zope 2 one in that you can assign roles to users and require roles for a page
to display?


Yes


2. Is it possible to keep the users' passwords in clear text so they can be
emailed if the user requests it?


Yes


3. Where is the API documented that we call to check if a user/password
combination is valid?


Within Zope3 itself; you get a full-featured API browser built in. The
pluggable auth interfaces can be looked up there.


4. Where is the rest of Zope 3 documented? I've found this
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage/Zope3Book
but it doesn't seem complete.


There are two books on Zope 3 for sale, one by Stephan RIchter and and
one by Philipp von Weitershausen. Both are somewhat behind the times
as Zope 3 has evolved rapidlly.

--
Martijn Pieters
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope performance experiences

2006-07-14 Thread Jake
My experience is this:

- Red Hat Enterprise Linux ES 2.1
- AMD Athlon 64 3200+ 2.0 GHz
- 2 GB Ram / 36GB RAID 1
- Zope 2.7.8 / Plone 2.1.2 w/ boat load of products (8+)
- Peak day: 42,112 pages, 193,566 hits, 1.10 GB of bandwidth and the
server did just fine averaging 86.88% idle (sar command in unix)

The server also has Apache, mail, ftp and some Java running on it.

Jake
___
http://www.ZopeZone.com


On Fri, July 14, 2006 11:24 am, Sinang, Danny said:
 Dear All,

 Can anyone share their experiences on Zope's performance, what your
 hardware / Zope configs are, and how you plan to scale ?

 Regards,
 Danny


 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Dieter Maurer
Garito wrote at 2006-7-14 07:04 +0200:
 ...
def __bobo_traverse__(self, REQUEST, name):
obj = getattr(self, name, None)
 ...
I wonder why I can do this on a Page Template:

tal:b tal:replace='python: here.Texto' /

Where Texto is a adquired property, but not this:

tal:b tal:replace='here/Texto' /

because zope raises an unauthorized error

How can I solve this point?

You can wait for the next Zope release (2.10) where this is fixed.

The reason: security for __bobo_traverse__ is much stricter
than for attribute lookup:

   In the latter case, the security machinery knows that the value
   was obtained by attribute lookup and can apply the security
   declarations of the accessed object.

   In the former case, the security machinery does not know
   which object was really accessed and therefore refuses
   to look at the accessed object. This often leads to
   an Unauthorized.

The hack in Zope 2.10 checks in this case whether the value
could as well have been obtained by attribute lookup and
then checks along this route.


If waiting is not an option for you, you can also backport
the fix to your Zope version.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Alec Mitchell

On 7/14/06, Dieter Maurer [EMAIL PROTECTED] wrote:

Garito wrote at 2006-7-14 07:04 +0200:
 ...
def __bobo_traverse__(self, REQUEST, name):
obj = getattr(self, name, None)
 ...
I wonder why I can do this on a Page Template:

tal:b tal:replace='python: here.Texto' /

Where Texto is a adquired property, but not this:

tal:b tal:replace='here/Texto' /

because zope raises an unauthorized error

How can I solve this point?

You can wait for the next Zope release (2.10) where this is fixed.

The reason: security for __bobo_traverse__ is much stricter
than for attribute lookup:

  In the latter case, the security machinery knows that the value
  was obtained by attribute lookup and can apply the security
  declarations of the accessed object.

  In the former case, the security machinery does not know
  which object was really accessed and therefore refuses
  to look at the accessed object. This often leads to
  an Unauthorized.

The hack in Zope 2.10 checks in this case whether the value
could as well have been obtained by attribute lookup and
then checks along this route.


If waiting is not an option for you, you can also backport
the fix to your Zope version.


Hm, if this is the issue, the fix should already be in Zope 2.9.3 and 2.8.7

Alec
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito

Dieter Maurer escribió:

Garito wrote at 2006-7-14 07:04 +0200:
  

...
def __bobo_traverse__(self, REQUEST, name):
   obj = getattr(self, name, None)
...
I wonder why I can do this on a Page Template:

tal:b tal:replace='python: here.Texto' /

Where Texto is a adquired property, but not this:

tal:b tal:replace='here/Texto' /

because zope raises an unauthorized error

How can I solve this point?



You can wait for the next Zope release (2.10) where this is fixed.

The reason: security for __bobo_traverse__ is much stricter
than for attribute lookup:

   In the latter case, the security machinery knows that the value
   was obtained by attribute lookup and can apply the security
   declarations of the accessed object.

   In the former case, the security machinery does not know
   which object was really accessed and therefore refuses
   to look at the accessed object. This often leads to
   an Unauthorized.

The hack in Zope 2.10 checks in this case whether the value
could as well have been obtained by attribute lookup and
then checks along this route.


If waiting is not an option for you, you can also backport
the fix to your Zope version.



  

Hi Dieter!
In fact all my work depends on this question (this is the reason behind 
my nervous. Sorry again Andreas and the rest of people)


Do you know how can I find information to backport the fix?

--
Mis Cosas
http://blogs.sistes.net/Garito


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito

Dieter Maurer escribió:

Garito wrote at 2006-7-14 07:04 +0200:
  

...
def __bobo_traverse__(self, REQUEST, name):
   obj = getattr(self, name, None)
...
I wonder why I can do this on a Page Template:

tal:b tal:replace='python: here.Texto' /

Where Texto is a adquired property, but not this:

tal:b tal:replace='here/Texto' /

because zope raises an unauthorized error

How can I solve this point?



You can wait for the next Zope release (2.10) where this is fixed.

The reason: security for __bobo_traverse__ is much stricter
than for attribute lookup:

   In the latter case, the security machinery knows that the value
   was obtained by attribute lookup and can apply the security
   declarations of the accessed object.

   In the former case, the security machinery does not know
   which object was really accessed and therefore refuses
   to look at the accessed object. This often leads to
   an Unauthorized.

The hack in Zope 2.10 checks in this case whether the value
could as well have been obtained by attribute lookup and
then checks along this route.


If waiting is not an option for you, you can also backport
the fix to your Zope version.



  

Do you refer this Collector?

http://www.zope.org/Collectors/Zope/2072

--
Mis Cosas
http://blogs.sistes.net/Garito


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcing the release of Zope version 2.8.8

2006-07-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Zope 2.8.8 Released

  On behalf of Zope Corporation and the Zope community I am pleased
  to announce the release of Zope 2.8.8.  You can download the sources
  from http://www.zope.org/Products/Zope/2.8.8/;,
  http://www.zope.org/Products/Zope/2.8.8

  This bugfix release corrects the information exposure vulnerability
  addressed in the 2007/07/05 Hotfix.,
  http://www.zope.org/Products/Zope/Hotfix-2006-07-05
  You may remove that hotvix product from your instances after upgrading
  to this version of Zope.

New features of Zope 2.8.x

   - ZODB 3.4 with MVCC (multi version concurrency control) support.
 MVCC solves nearly every problem with ZODB read-conflict errors
 which is very important for high-traffic Zope sites.

   - Extension Classes were rewritten as Python new-style classes making
 all features of Python new-style classes available in Zope
 objects. This includes support for cyclic garbage collection.

   - Integration of Zope 3 technologies through Five
 (see http://codespeak.net/z3/five/)

More Information

  For more information on what is new in this release, see the
  CHANGES.txt files for the release:

http://www.zope.org/Products/Zope/2.8.8/CHANGES.txt;,
 http://www.zope.org/Products/Zope/2.8.8/CHANGES.txt

  See also:

   http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/OverView;
http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/OverView

  For more information on the available Zope releases, guidance for
  selecting the right distribution and installation instructions,
  please see:

   http://www.plope.com/Books/2_7Edition/InstallingZope.stx;,
http://www.plope.com/Books/2_7Edition/InstallingZope.stx

Reporting Bugs

  Please report all the bugs you have found to the Zope bugtracker:

   http://collector.zope.org/Zope;,
http://collector.zope.org/Zope

Supported Python versions

  At this time the only **supported** and **recommended** Python
  versions are 2.3.4 and 2.3.5.

  Using Python 2.4.X is **not supported** and **not recommended** at
  this time. Python 2.4.X will be supported when a security audit takes
  place.  This means that you are using Python 2.4 + Zope 2.8 at **your
  own risk**.  This warning also applies to binary packages that install
  Zope packages together with a system wide Python 2.4 installation
  (e.g. Fedora, SuSE...).  Such installations are in general not
  supported. In addition there some third-party products and Python
  packages that don't work with Python 2.4 and can cause trouble when
  using Python 2.4.


- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEuB0F+gerLs4ltQ4RAqO8AJ9ge1c1RDyOaZl7zoLr5aZcMCLI/wCfSbD3
xGCnKstYw313BIOeJ/QMzDs=
=5LeI
-END PGP SIGNATURE-

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Alec Mitchell

On 7/14/06, Garito [EMAIL PROTECTED] wrote:

Garito escribió:
 Dieter Maurer escribió:
 Garito wrote at 2006-7-14 07:04 +0200:

 ...
 def __bobo_traverse__(self, REQUEST, name):
obj = getattr(self, name, None)
 ...
 I wonder why I can do this on a Page Template:

 tal:b tal:replace='python: here.Texto' /

 Where Texto is a adquired property, but not this:

 tal:b tal:replace='here/Texto' /

 because zope raises an unauthorized error

 How can I solve this point?


 You can wait for the next Zope release (2.10) where this is fixed.

 The reason: security for __bobo_traverse__ is much stricter
 than for attribute lookup:

In the latter case, the security machinery knows that the value
was obtained by attribute lookup and can apply the security
declarations of the accessed object.

In the former case, the security machinery does not know
which object was really accessed and therefore refuses
to look at the accessed object. This often leads to
an Unauthorized.

 The hack in Zope 2.10 checks in this case whether the value
 could as well have been obtained by attribute lookup and
 then checks along this route.


 If waiting is not an option for you, you can also backport
 the fix to your Zope version.




 Do you refer this Collector?

 http://www.zope.org/Collectors/Zope/2072

I use Zope 2.9.2


Use 2.9.3 and watch your problem disappear (hopefully).

Alec
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )