[Zope] generate unique user id, without cookies

2010-01-04 Thread Marko Kruijer
after having some weird issues with Sessions and ZEO usage I've found out part of the problem. It turns out certain browsers (IE6 mostly) save the session ID cookies, but sometimes these disappear. This results in a new _ZopeId being generated and thus the new session is empty. At first i

Re: [Zope] generate unique user id, without cookies

2010-01-04 Thread Jonathan (dev101)
after having some weird issues with Sessions and ZEO usage I've found out part of the problem. It turns out certain browsers (IE6 mostly) save the session ID cookies, but sometimes these disappear. This results in a new _ZopeId being generated and thus the new session is empty. At first i

Re: [Zope] generate unique user id, without cookies

2010-01-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan (dev101) wrote: snip good ideas on debugging cookie problems If you can't get cookies to work then you need to give users unique links (ie. embed their id in an html link) or force the users to log in. For ideas on how to do the

[Zope-Checkins] SVN: Zope/trunk/ Moved Products.Sessions APIs from ``SessionInterfaces`` to ``interfaces``.

2010-01-04 Thread Tres Seaver
Log message for revision 107642: Moved Products.Sessions APIs from ``SessionInterfaces`` to ``interfaces``. - Left behind the old module / names for backwared compatibility. Changed: U Zope/trunk/doc/CHANGES.rst U Zope/trunk/src/Products/Sessions/BrowserIdManager.py U

[Zope-Checkins] SVN: Zope/trunk/doc/CHANGES.rst Typo :)

2010-01-04 Thread Hanno Schlichting
Log message for revision 107679: Typo :) Changed: U Zope/trunk/doc/CHANGES.rst -=- Modified: Zope/trunk/doc/CHANGES.rst === --- Zope/trunk/doc/CHANGES.rst 2010-01-04 23:03:52 UTC (rev 107678) +++ Zope/trunk/doc/CHANGES.rst

[Zope-Checkins] SVN: Zope/branches/2.12/ Fixed possible TypeError while sending multipart emails.

2010-01-04 Thread Maurits van Rees
Log message for revision 107689: Fixed possible TypeError while sending multipart emails. Changed: U Zope/branches/2.12/doc/CHANGES.rst U Zope/branches/2.12/src/Products/MailHost/MailHost.py U Zope/branches/2.12/src/Products/MailHost/tests/testMailHost.py -=- Modified:

Re: [Zope-dev] how to help Martijn (how can we have better discussions?)

2010-01-04 Thread Martijn Faassen
Martin Aspeli wrote: Martijn Faassen wrote: Instead, we had endless debates about whether it was a legitimate concern for the ZTK maintainers. I'm of course still right that it is. I have wonderful and coherent reasons to support my position just like everybody else does who disagrees with

Re: [Zope-dev] patterns for using sphinx with the Zope Toolkit?

2010-01-04 Thread Lennart Regebro
On Mon, Jan 4, 2010 at 00:43, Chris McDonough chr...@plope.com wrote: Yeah.  I haven't thought about this much, so it might be bollocks, but I think something like this is what I'm after: .. code-block-setup:: ... .. code-block:: python   :linenos: .. code-block-teardown::   del

Re: [Zope-dev] windows newslines in doctests

2010-01-04 Thread Chris Withers
Benji York wrote: Manuel uses Python's doctest module for the actual work, but the file reading is done by Manuel itself. I could switch to using universal new line mode, but since I haven't seen an example of a filing test I can't be sure if it'll help or not. Easy way to test: - create a

[Zope-dev] Zope Tests: 6 OK

2010-01-04 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sun Jan 3 12:00:00 2010 UTC to Mon Jan 4 12:00:00 2010 UTC. There were 6 messages: 6 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Sun Jan 3 20:37:53 EST 2010 URL:

[Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
hello, Would any of the pypi owners of zope.app.exception be so kind to upload the 3.6.0 release to the package index? I see this package has been tagged already a while ago. I think this newer version should also be included in the ZTK versions list, as this version will import the correct

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Baiju M
On Mon, Jan 4, 2010 at 6:32 PM, Jan-Wijbrand Kolman janwijbr...@gmail.com wrote: hello, Would any of the pypi owners of zope.app.exception be so kind to upload the 3.6.0 release to the package index? I see this package has been tagged already a while ago. I think this newer version should

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Baiju M mba...@zeomega.com wrote: On Mon, Jan 4, 2010 at 6:32 PM, Jan-Wijbrand Kolman janwijbr...@gmail.com wrote: Would any of the pypi owners of zope.app.exception be so kind to upload the 3.6.0 release to the package index? I see this package has been tagged already a while ago. I think

[Zope-dev] release and upload zope.app.pagetemplate to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
hello, Would any of the owners of zope.app.pagetemplate be so kind to upload (or let me upload) a new version of zope.app.pagetemplate? This will allow me to fix and release zope.app.exception. regards, jw ___ Zope-Dev maillist -

Re: [Zope-dev] release and upload zope.app.pagetemplate to pypi

2010-01-04 Thread Baiju M
On Mon, Jan 4, 2010 at 7:32 PM, Jan-Wijbrand Kolman janwijbr...@gmail.com wrote: hello, Would any of the owners of zope.app.pagetemplate be so kind to upload (or let me upload) a new version of zope.app.pagetemplate? Added jw as owner. Regards, Baiju M

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Jan-Wijbrand Kolman janwijbr...@gmail.com wrote: Baiju M mba...@zeomega.com wrote: $ ./bin/test /opt/baiju/wa/z3hello/eggs/zope.testing-3.8.6-py2.6.egg/zope/testing/ testrunner/debug.py:23: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library

Re: [Zope-dev] release and upload zope.app.pagetemplate to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Baiju M mba...@zeomega.com wrote: On Mon, Jan 4, 2010 at 7:32 PM, Jan-Wijbrand Kolman janwijbr...@gmail.com wrote: hello, Would any of the owners of zope.app.pagetemplate be so kind to upload (or let me upload) a new version of zope.app.pagetemplate? Added jw as owner. Thank you.

Re: [Zope-dev] [Announce] BlueBream: Script to setup a Zope project directory

2010-01-04 Thread Baiju M
On Mon, Jan 4, 2010 at 9:01 PM, Stephan Richter srich...@cosmos.phy.tufts.edu wrote: On Sunday 03 January 2010, Baiju M wrote:           I started a project named BlueBream to create a script to setup a Zope project directory.  BlueBream use ZTK with some additional packages. BlueBream is

Re: [Zope-dev] broken zope.publisher because of new content types in zope.contenttype

2010-01-04 Thread Aaron Lehmann
On Sat, Jan 2, 2010 at 5:17 AM, Roger d...@projekt01.ch wrote: Hi all Since aaron added new mimetypes e.g. application/javascript, the _implicitResult method in zope.publisher.http.py (line 794) is broken because the method checks for text/* content types if unicode is given:    def

Re: [Zope-dev] patterns for using sphinx with the Zope Toolkit?

2010-01-04 Thread Chris McDonough
Benji York wrote: On Sun, Jan 3, 2010 at 6:43 PM, Chris McDonough chr...@plope.com wrote: Yeah. I haven't thought about this much, so it might be bollocks, but I think something like this is what I'm after: .. code-block-setup:: import sys from somepackage.testing import DummyModule

Re: [Zope-dev] [Announce] BlueBream: Script to setup a Zope project directory

2010-01-04 Thread Baiju M
On Mon, Jan 4, 2010 at 10:36 PM, Baiju M mba...@zeomega.com wrote: I hope we will be able make a migration path from Zope 3.4 ZTK to the new released packages. Err. I mean Zope 3.4 KGS Regards, Baiju M ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] how to help Martijn (how can we have better discussions?)

2010-01-04 Thread Martijn Faassen
Martijn Faassen wrote: [snip] So how can we have better discussions? We can have better discussions by helping me. How can you help me? Of course it helps if you agree with me. I realize that's frequently infeasible, but I certainly wouldn't mind. :) If you disagree with me, I'd like

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Martijn Faassen
Martijn Faassen wrote: It seems to be occurring somewhere in the setup of the test layer, but strangely enough the publisher kicks in somewhere. I'm curious why the ZTK tests didn't catch this issue (or now the zopeapp tests). Hm, the zopeapp tests are catching this today. They weren't

[Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Baiju M
Hi All, I am proposing to call Zope 3 - the web frame work as BlueBream. The main use for name is documentation. But the package named bluebream will not provide any part of framework code by itself. All the framework code will be in zope and zope.app namespaces. BTW, the original

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Martijn Faassen faas...@startifact.com wrote: Jan-Wijbrand Kolman wrote: I'm trying to figure out what has changed that could be related to this, but if anyone has a hint for me... I can definitely reproduce the error. It seems to be occurring somewhere in the setup of the test layer,

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Chris McDonough
Strong +1 from me (although my vote is likely not meaningful) Baiju M wrote: Hi All, I am proposing to call Zope 3 - the web frame work as BlueBream. The main use for name is documentation. But the package named bluebream will not provide any part of framework code by itself. All

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Jan Ulrich Hasecke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04.01.10 19:23, Baiju M wrote: Hi All, I am proposing to call Zope 3 - the web frame work as BlueBream. The main use for name is documentation. Coming from marketing I strongly suggest to think twice or better thrice before inventing

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Shane Hathaway
Jan Ulrich Hasecke wrote: On 04.01.10 19:23, Baiju M wrote: Hi All, I am proposing to call Zope 3 - the web frame work as BlueBream. The main use for name is documentation. Coming from marketing I strongly suggest to think twice or better thrice before inventing the next new name

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Lennart Regebro
On Mon, Jan 4, 2010 at 21:44, Shane Hathaway sh...@hathawaymix.org wrote: Well, the name Zope 3 is effectively dead, yet there are still a number of developers who want to work on it and improve it.  Those developers need to rename and regroup.  BlueBream is a clever name and I think it's a

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shane Hathaway wrote: Jan Ulrich Hasecke wrote: On 04.01.10 19:23, Baiju M wrote: Hi All, I am proposing to call Zope 3 - the web frame work as BlueBream. The main use for name is documentation. Coming from marketing I strongly suggest

[Zope-dev] zope.publisher 3.12 broke 25 zope.app packages

2010-01-04 Thread Martijn Faassen
Hi there, 25 zope.app packages are broken due to changes in zope.publisher 3.12. zope.publisher had some components factored out of it into zope.login. I fixed zope.app.exception: it could be fixed by adding the zope.login requirement and adding a zcml include statement. I suspect most,

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: Hi there, So here's my proposed solution for the ZTK shrinking issue: The ZTK branch 'faassen-smaller' contains Hanno's smaller ZTK. Since Zope 2 forked the ZTK in response and continued to make changes to their fork,

Re: [Zope-dev] zope.publisher 3.12 broke 25 zope.app packages

2010-01-04 Thread Martijn Faassen
Hanno Schlichting wrote: On Mon, Jan 4, 2010 at 11:51 PM, Martijn Faassen faas...@startifact.com wrote: Good news, it was only 24 packages, I counted wrong. :) Couldn't you have solved that by updating one underlying package, like zope.app.testing? Most of zope.app generally depends on

Re: [Zope-dev] broken zope.publisher because of new content types in zope.contenttype

2010-01-04 Thread Roger
Hi Aaron Betreff: Re: [Zope-dev] broken zope.publisher because of new content types in zope.contenttype On Sat, Jan 2, 2010 at 5:17 AM, Roger d...@projekt01.ch wrote: Hi all Since aaron added new mimetypes e.g. application/javascript, the _implicitResult method in

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Hermann Himmelbauer
Am Montag 04 Januar 2010 20:16:50 schrieb Jan Ulrich Hasecke: On 04.01.10 19:23, Baiju M wrote: Hi All, I am proposing to call Zope 3 - the web frame work as BlueBream. The main use for name is documentation. Coming from marketing I strongly suggest to think twice or better

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-04 Thread Hermann Himmelbauer
Am Montag 04 Januar 2010 23:10:05 schrieb Tres Seaver: Martijn Faassen wrote: Hi there, So here's my proposed solution for the ZTK shrinking issue: Should the zopeapp set get users (e.g., Baiju's BlueBream takes off, or if another Z3-based app ports to using it), that will make supporting

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Simon Michael
Have you considered just Bream ? ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Tim Hoffman
I got the fish connection straight away. Not sure its a good move. T On Tue, Jan 5, 2010 at 7:43 AM, Hermann Himmelbauer du...@qwer.tk wrote: Am Montag 04 Januar 2010 20:16:50 schrieb Jan Ulrich Hasecke: On 04.01.10 19:23, Baiju M wrote: Hi All, I am proposing to call Zope 3

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Jan Ulrich Hasecke
Am 05.01.2010 um 00:43 schrieb Hermann Himmelbauer: Although I tend to give you right, as probably no one will get the fish connection and therefore a new name has to be raised up, I vote for BlueBream, as this indicates something very new, which frees itself from those endless Zope 3,

Re: [Zope-dev] zope.security dependency on zope.exceptions

2010-01-04 Thread Fabio Tranchitella
* 2010-01-05 08:26, Fabio Tranchitella wrote: While doing it, I'm trying to remove dependencies which are zope-specific, to minimize the overhead for developers who are using the whole zope stack (like me :)). Ehm, I meant who are NOT using the whole zope stack. Fabio

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread robert rottermann
Am 05.01.2010 08:13, schrieb Jan Ulrich Hasecke: Am 05.01.2010 um 00:43 schrieb Hermann Himmelbauer: Although I tend to give you right, as probably no one will get the fish connection and therefore a new name has to be raised up, I vote for BlueBream, as this indicates something very new,