[Zope-dev] Re: [Zope2.8a2] ...to be released by tomorrow....

2005-04-02 Thread yuppie
Hi Tres!
Tres Seaver wrote:
Please try the patch I just checked in:
  http://svn.zope.org/Zope/?rev=29821sortby=dateview=rev
Thanks! This resolves issue #1460. Merged it into the trunk to get it 
into the alpha 2 release, hope that's ok.

There may be additional issues (e.g., Stuart Bishop's checked
__getitem__ use case), but this makes the test script and the CMF work
for me.
I still have a notion that some improvements made on the 2.7 branch are 
not merged into the SVN trunk, e.g.
http://cvs.zope.org/Zope/lib/python/AccessControl/Attic/ZopeGuards.py.diff?r1=1.16.2.3r2=1.16.2.4

Cheers,
Yuppie
___
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: ZPT: defer expression fix

2005-04-02 Thread Christian Heimes
Dieter Maurer wrote:
Maybe, the feature could get documented as well...
An undocumented feature is only half valuable...
+1
Is there anybody out there who can help me with the docs? I need someone 
to translate my english into real and nice english and someone with the 
permissions to update the ZPT docs at zope.org.

Christian
___
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] OS X 10.3.8 + mount_webdav + Zope all on powerbook

2005-04-02 Thread Pavel Zaitsev
Florent Guillaume wrote:
But why oh why are you useing mount_webdav for Zope's files ? In the
best case it would still slow down things immensely.
 

Because I am using vim, which in comparison to cadaver, can be configured
to recognize extensions in from of *_html *_py and *_sql. Because I can 
use grep and find
and other unix tools to locate stuff that i need. Because I am a power 
unix user
and cadaver strips away everything I know about file manipulation.
regards,
pavel
___
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: [Zope2.8a2] ...to be released by tomorrow....

2005-04-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

yuppie wrote:
 Hi Tres!
 
 
 Tres Seaver wrote:
 
 Please try the patch I just checked in:

   http://svn.zope.org/Zope/?rev=29821sortby=dateview=rev
 
 
 Thanks! This resolves issue #1460. Merged it into the trunk to get it
 into the alpha 2 release, hope that's ok.
 
 There may be additional issues (e.g., Stuart Bishop's checked
 __getitem__ use case), but this makes the test script and the CMF work
 for me.
 
 
 I still have a notion that some improvements made on the 2.7 branch are
 not merged into the SVN trunk, e.g.
 http://cvs.zope.org/Zope/lib/python/AccessControl/Attic/ZopeGuards.py.diff?r1=1.16.2.3r2=1.16.2.4

There is some debate here whether those changes (which Jim made only
relunctantly back in January 2004) should be promulgated to 2.8.
We will fold them in after the alpha, if so.


Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  Zope Dealers   http://www.zope.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCTxjaGqWXf00rNCgRAjKKAKCGXAyHBngiB+Q2Fw4HGK4/sv1ZcQCdFq9J
WGDBkybeCWQ9/GgGW9sj4ck=
=HVcX
-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: ZPT: defer expression fix

2005-04-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Heimes wrote:
 Dieter Maurer wrote:
 
 Maybe, the feature could get documented as well...

 An undocumented feature is only half valuable...
 
 
 +1
 
 Is there anybody out there who can help me with the docs? I need someone
 to translate my english into real and nice english and someone with the
 permissions to update the ZPT docs at zope.org.

I'd be glad to help with that, Christian.


Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  Zope Dealers   http://www.zope.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCTxsxGqWXf00rNCgRAlBWAJ0bRNxSl988o6bADBS26kiNfdcRfwCbBSZU
O211nz1gkQeJA6W/99vPhmM=
=UYLo
-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] [ANN] Zope 2.8.0 a2 released

2005-04-02 Thread Andreas Jung
Dear Zope Community,
on behalf of Zope Corporation and all Zope 2 developers and contributors
I am pleased to announce the release of Zope 2.8.0 a2
Zope 2.8.0 a2 can be downloaded from
  http://www.zope.org/Products/Zope/2.8.0a2
The release notes can be found at
  http://www.zope.org/Products/Zope/2.8.0a2/CHANGES.txt
For information on using Python 2.4 with Zope 2.8: see doc/INSTALL.txt
This release is a major step towards Zope 2.8.0 final (scheduled for May
2005) and now includes for the first time the Five framework to make some
Zope 3 technologies available within Zope 2. So you will be able to use Z3
technologies like interfaces, adapters, schemas and views within your Zope
2 installation and have hopefully the best from the Zope 2 and Zope 3 world.
Thanks to all who have worked on this release over the last weeks especially
Martijn, Jim, Tres and Tim.
Andreas Jung
Zope 2 Release Manager

pgp5zTz02HqZm.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] Re: login page problem

2005-04-02 Thread prabuddha ray
Its been very kind of u all to be critical  about a newbie like me.
I'll definitely lookout for those ettiquetes.

My python script error got solved as i missed the silly ' ' in the
response.redirect statemnet.
I set the user and pwd request vars in sesson var.

Tried cookie crumbler and MysqlUserFolder and UserFolder also but they
all need to changed much and my requirements are diffrent.

I'm building a trial govt. site for stores management which was built
previously in ASP.
The login page takes the districtname , username and passwd .
according to the type of user different menus are displayed.

For this i need to have the  districtname , username and passwd 
carried on throughout the session.

my current requirement is to pass the session vars through the python
script which is the action of the login form.

I've gone through the zopebook but dint find much help there.

can u plz tell me where do i get to know about pythopn scripting done
in zope n ZPT examples.

i'm really sorry for my erronous language. please dont overlook theese
humble requests.

On Fri, 1 Apr 2005 23:07:38 +0200, Dieter Maurer [EMAIL PROTECTED] wrote:
 prabuddha ray wrote at 2005-3-30 23:50 -0800:
  ...
 now my problem how n where do i check d pwd n redirect to the next zpt
 or the previous one if its wrong.
 
 Apparently, you need some background reading...
 
 Especially, you need to understand that HTTP is a stateless
 protocol and *EACH* request must somehow perform its own
 authentication. That's why usually login information is
 (somehow) coded in a cookie.
 
 You really should follow the advice to look at an existing
 UserFolder (they are responsible for authentication).
 You may need to adapt/extend an existing UserFolder.
 
 
 -- 
 Dieter
 

-- 
Share the vision of difference with ME
___
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] Re: login page problem

2005-04-02 Thread Cliff Ford
Customisation of the login sequence is quite difficult for Newbies 
because there are lots of different ways to approach the problem - you 
have already tried some. I suspect that trying to match what was done in 
PHP may be part of your problem. It would be helpful to know if your 
lists of users are coming from one source, like a database table, or
multiple sources, like multiple tables or different databases, and 
whether users are unique in each district. From there you decide your 
zope folder structure. It could be like this:

site_home
|__acl_users
|__district1
|__district2
or like this:
site_home
|__district1
||__acl_users
|__district2
||__acl_users
In the second case you would not have to worry about asking the user for 
the district name. In the first case you would get a district name or a 
user defined role for that district from a supplementary data source, 
like a database. A combination of exUserFolder and MySQL would do.

You can get information on the logged in user (Username and Roles) from 
the User object, so you don't need to expicitly use sessions at this 
stage. You should certainly not store passwords - that would be a 
serious breach of confidentiality.

Maybe you should say what you do with the District parameter after the 
user has logged in. Giving advice or examples on ZPT and Python for an 
approach that is probably wrong is just too time-consuming.

Cliff
prabuddha ray wrote:
Its been very kind of u all to be critical  about a newbie like me.
I'll definitely lookout for those ettiquetes.
My python script error got solved as i missed the silly ' ' in the
response.redirect statemnet.
I set the user and pwd request vars in sesson var.
Tried cookie crumbler and MysqlUserFolder and UserFolder also but they
all need to changed much and my requirements are diffrent.
I'm building a trial govt. site for stores management which was built
previously in ASP.
The login page takes the districtname , username and passwd .
according to the type of user different menus are displayed.
For this i need to have the  districtname , username and passwd 
carried on throughout the session.

my current requirement is to pass the session vars through the python
script which is the action of the login form.
I've gone through the zopebook but dint find much help there.
can u plz tell me where do i get to know about pythopn scripting done
in zope n ZPT examples.
i'm really sorry for my erronous language. please dont overlook theese
humble requests.
On Fri, 1 Apr 2005 23:07:38 +0200, Dieter Maurer [EMAIL PROTECTED] wrote:
prabuddha ray wrote at 2005-3-30 23:50 -0800:
...
now my problem how n where do i check d pwd n redirect to the next zpt
or the previous one if its wrong.
Apparently, you need some background reading...
Especially, you need to understand that HTTP is a stateless
protocol and *EACH* request must somehow perform its own
authentication. That's why usually login information is
(somehow) coded in a cookie.
You really should follow the advice to look at an existing
UserFolder (they are responsible for authentication).
You may need to adapt/extend an existing UserFolder.
--
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] ClockServer 0.1 released

2005-04-02 Thread Chris McDonough
This doesn't really do all of what something like Xron does.. it's only
really a clock and you can't use it to schedule methods to run e.g.
every Wednesday at 3pm; instead you can only run things every x
seconds.  But if that's all you need, it's probably a lot simpler to
use than something like Xron.

On Fri, 2005-04-01 at 16:54, Jonathan Cyr wrote:
 Am I getting this this is what Zron should have been?
 
 -Jon
 
 Chris McDonough wrote:
  On Fri, 2005-04-01 at 02:40, Chris Withers wrote:

   Chris McDonough wrote:
   
It works by posing as a medusa server, and injects things that look like
http requests into the publisher every so often.
  
   Isn't that effectively just creating a seperate thread though?
   
  No.  It reuses the thread pool that the publisher already uses.
  
  - C
  
  
  ___
  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 )