[Zope-dev] Zope Tests: 5 OK

2008-05-11 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sat May 10 11:00:00 2008 UTC to Sun May 11 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Sat May 10 20:55:31 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009530.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Tests
Date: Sat May 10 20:57:03 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009531.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Tests
Date: Sat May 10 20:58:33 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009532.html

Subject: OK : Zope-2.11 Python-2.4.4 : Linux
From: Zope Tests
Date: Sat May 10 21:00:03 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009533.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Tests
Date: Sat May 10 21:01:33 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009534.html

___
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] BrowserIdManager help!

2008-05-11 Thread Miles

Hi,

I am attempting to integrate a zope site with some other applications.

I'm trying to get another application to set the _ZopeId browser/session 
cookie, so that users can move between the two with a single login.


This requires me to reproduce the code below, so a valid broser Id is 
returned:


(from Products.Sessions.BrowserIdManager 505:512)

def getB64TStamp(
b2a=binascii.b2a_base64,gmtime=time.gmtime, time=time.time,
b64_trans=b64_trans, split=string.split,
TimeStamp=TimeStamp.TimeStamp, translate=string.translate
):
t=time()
ts=split(b2a(`TimeStamp(*gmtime(t)[:5]+(t%60,))`)[:-1],'=')[0]
return translate(ts, b64_trans)

Unfortunately, I don't know any C, and the TimeStamp function is only 
available in C.  I'm hoping someone can spare a few minutes to explain 
how this function could be coded in python so I can understand it, and 
produce a non-python function to return valid browser ids.


I hope that makes sense!

Thanks

Miles

___
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] first attempt to use RELSTORAGE

2008-05-11 Thread Stefan H. Holek
There is a buldout-friendly version of RS now. A sample buildout.cfg  
file has been posted to zodb-dev:

http://mail.zope.org/pipermail/zodb-dev/2008-April/011828.html

HTH,
Stefan


On 9. Mai 2008, at 18:05, David Bear wrote:


Any adivce?


--
Anything that, in happening, causes something else to happen,
causes something else to happen.  --Douglas Adams


___
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 )