Re: [Zope] Zope 5.3 and webdav

2021-11-29 Thread Jürgen Gmach via Zope
Hi Giampiero,

last year I wrote down a couple of notes on how to set up Zope with WebDAV:
https://jugmac00.github.io/til/how-to-access-via-webdav/

Maybe that helps.

Cheers,
Jürgen


Am Mo., 29. Nov. 2021 um 18:45 Uhr schrieb Giampiero Benvenuti <
giampiero.benven...@chiaroscuro.com>:

> Hello everyone,
>
>
> I was reading the zope.conf file of zope5.3 and it looks like webdav is
> supported.
> Does it need ZServer for that? I thoght ZServer wasnt supported any longer.
>
> Thanks for your tips.
>
> —giampiero
>
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope-dev )
>

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


Re: [Zope] Zope 5.3 and webdav

2021-11-29 Thread Jens Vagelpohl via Zope
It does. not require ZServer. Take a look at 
https://zope.readthedocs.io/en/latest/operation.html#zope-configuration-reference
 „webdav-source-port“

jens


> On 29. Nov 2021, at 18:45, Giampiero Benvenuti 
>  wrote:
> 
> Hello everyone,
> 
> 
> I was reading the zope.conf file of zope5.3 and it looks like webdav is 
> supported.
> Does it need ZServer for that? I thoght ZServer wasnt supported any longer.
> 
> Thanks for your tips.

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


[Zope] Zope 5.3 and webdav

2021-11-29 Thread Giampiero Benvenuti
Hello everyone,


I was reading the zope.conf file of zope5.3 and it looks like webdav is 
supported.
Does it need ZServer for that? I thoght ZServer wasnt supported any longer.

Thanks for your tips.

—giampiero

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


[Zope] Zope 4.6.3 and 5.3 released with a security fix

2021-07-31 Thread Jens Vagelpohl via Zope
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6.3 and 5.3.

This bugfix release solves a few minor issues and contains a security fix. For 
the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

These releases contain a security fix that prevents remote code execution 
through Script (Python) objects. You are only at risk if all of the following 
are true:

- You use Python 3 for your Zope deployment (Zope 4 on Python 2 is not affected)
- You run Zope 4 below version 4.6.3 or Zope 5 below version 5.3
- You have installed the optional Products.PythonScripts add-on package
- You allow untrusted non-admin users to add or edit Script (Python) objects

By default, untrusted non-admin users cannot add or edit Script (Python) 
objects, only “Manager” users can. Enabling this level of access for untrusted 
users would be a very unusual configuration and it is highly unlikely any site 
administrator would do so to begin with.

The related security advisories with full details are published here:

- https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr
- 
https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.3 or 5.3 
into an existing Plone setup without testing. The PloneHotfix packages ensures 
that the Zope changes don’t interfere with Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP

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


[Zope-Annce] Zope 4.6.3 and 5.3 released with a security fix

2021-07-31 Thread Jens Vagelpohl via Zope-Announce
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6.3 and 5.3.

This bugfix release solves a few minor issues and contains a security fix. For 
the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

These releases contain a security fix that prevents remote code execution 
through Script (Python) objects. You are only at risk if all of the following 
are true:

- You use Python 3 for your Zope deployment (Zope 4 on Python 2 is not affected)
- You run Zope 4 below version 4.6.3 or Zope 5 below version 5.3
- You have installed the optional Products.PythonScripts add-on package
- You allow untrusted non-admin users to add or edit Script (Python) objects

By default, untrusted non-admin users cannot add or edit Script (Python) 
objects, only “Manager” users can. Enabling this level of access for untrusted 
users would be a very unusual configuration and it is highly unlikely any site 
administrator would do so to begin with.

The related security advisories with full details are published here:

- https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr
- 
https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.3 or 5.3 
into an existing Plone setup without testing. The PloneHotfix packages ensures 
that the Zope changes don’t interfere with Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] A basic question I couldn't fine the answer on google

2021-07-19 Thread Jens Vagelpohl via Zope
Hi Giampiero,

How you upgrade depends on how you installed the Zope instance in the first 
place. You don’t provide much information but it seems you have two separate 
installs now, one with Zope 5.1.2 and one with 5.2.1? It’s safe to copy the 
Data.fs between these installations, yes. Make sure you shut down Zope 
instances before copying the file, though.

jens


> On 19. Jul 2021, at 12:37 , Giampiero Benvenuti 
>  wrote:
> 
> Hi there,
> 
> let’s say, I want to upgrade from zope5.1.2 to zope 5.2.1
> Should I just replace the zope5.2.1 Data.fs with the zope5.1.2 one?
> 
> Or, if this sound silly, how would you do it?
> 
> Thank You,
> 
> —giampiero


signature.asc
Description: Message signed with OpenPGP

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


[Zope] A basic question I couldn't fine the answer on google

2021-07-19 Thread Giampiero Benvenuti
Hi there,

let’s say, I want to upgrade from zope5.1.2 to zope 5.2.1
Should I just replace the zope5.2.1 Data.fs with the zope5.1.2 one?

Or, if this sound silly, how would you do it?

Thank You,

—giampiero

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


[Zope] Zope 4.6.2 released

2021-06-27 Thread Jens Vagelpohl via Zope
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.6.2.

This bugfix release backports the stricter path expression traversal code from 
Zope 5. For the full list of changes see the change log at 
https://zope.readthedocs.io/en/4.x/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.2 into 
an existing Plone setup without testing. The traversal changes in Zope break 
some Plone add-ons that relied on the old traversal behavior. 
PloneHotfix20210518 ensures support for those Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP

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


[Zope-Annce] Zope 4.6.2 released

2021-06-27 Thread Jens Vagelpohl via Zope-Announce
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.6.2.

This bugfix release backports the stricter path expression traversal code from 
Zope 5. For the full list of changes see the change log at 
https://zope.readthedocs.io/en/4.x/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.2 into 
an existing Plone setup without testing. The traversal changes in Zope break 
some Plone add-ons that relied on the old traversal behavior. 
PloneHotfix20210518 ensures support for those Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 4.6.1 and 5.2.1 released with an important security fix

2021-06-08 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6.1 and 5.2.1.

This bugfix release solves a few minor issues and also contains an important 
security fix, see below. For the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

NOTE: These releases contain an expanded security fix that prevents remote code 
execution through TAL expressions. The first iteration of the security fix in 
Zope 4.6 and 5.2 did not catch all cases of unauthorized TAL path expression 
traversal. Just like the first fix, you will only ever be at risk if you allow 
untrusted users to add or edit Zope Page Template objects, which is a very 
unusual non-standard site configuration. For more details, see the security 
advisory at 
https://github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6. 
A CVE has been requested through GitHub.

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.1 or 
5.2.1 into an existing Plone setup without testing. The security changes in 
Zope break some Plone add-ons that relied on the old insecure traversal 
behavior. PloneHotfix20210518 ensures support for those Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP

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


[Zope-Annce] Zope 4.6.1 and 5.2.1 released with an important security fix

2021-06-08 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6.1 and 5.2.1.

This bugfix release solves a few minor issues and also contains an important 
security fix, see below. For the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

NOTE: These releases contain an expanded security fix that prevents remote code 
execution through TAL expressions. The first iteration of the security fix in 
Zope 4.6 and 5.2 did not catch all cases of unauthorized TAL path expression 
traversal. Just like the first fix, you will only ever be at risk if you allow 
untrusted users to add or edit Zope Page Template objects, which is a very 
unusual non-standard site configuration. For more details, see the security 
advisory at 
https://github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6. 
A CVE has been requested through GitHub.

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.1 or 
5.2.1 into an existing Plone setup without testing. The security changes in 
Zope break some Plone add-ons that relied on the old insecure traversal 
behavior. PloneHotfix20210518 ensures support for those Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jürgen Gmach
Hi Jens,

thank you for the quick response, the clarifcation and your continued 
committment for the Zope eco-system.

Jürgen


Von: Zope  im Auftrag von Jens Vagelpohl 
Gesendet: Freitag, 21. Mai 2021 12:47
An: zope-annou...@zope.org ; zope@zope.org Users 

Betreff: Re: [Zope] Zope 4.6 and 5.2 released with an important security fix

Hi Jürgen,

Zope and Plone are still two different projects. The Plone developers published 
a hotfix product that fixes everything they believe needed to be fixed. I 
looked at items that apply to plain Zope and made the required changes in Zope.

So anyone using plain Zope can install the latest update and they are safe. As 
a plain Zope developer I cannot comment on or make recommendations regarding a 
Plone hotfix, and Zope itself will never require a Plone add-on or hotfix. I 
don’t have any control over how the Plone release managers communicate these 
fixes, either. People who do not use Plone are advised to stick to published 
Zope updates.

jens



> On 21. May 2021, at 12:25 , Jürgen Gmach  wrote:
>
> Thank you very much for the fix and the new release.
>
> As a user of plain Zope, and having already applied PloneHotfix20210518, I 
> wonder whether I need or should deinstall the hotfix now.
>
> e.g. the hotfix also touched xmlrpc, which this new release does not.
>
> Or let me rephrase my question.
>
> What is the current recommended way to mitigate the announced vulnerabilities 
> for a plain Zope setup?
>
> Install the just released Zope version and the hotfix? Or just the latest 
> Zope version?
>
> Thank you!
> Von: Zope  im Auftrag von Jens Vagelpohl 
> 
> Gesendet: Freitag, 21. Mai 2021 11:12
> An: zope-annou...@zope.org ; zope@zope.org Users 
> 
> Betreff: [Zope] Zope 4.6 and 5.2 released with an important security fix
>
> On behalf of Zope developer community I am pleased to announce the releases 
> of Zope 4.6 and 5.2.
>
> This bugfix release solves a few minor issues and also contains an important 
> security fix, see below. For the full list of changes see the change logs 
> athttps://zope.readthedocs.io/en/4.x/changes.html#id1 
> andhttps://zope.readthedocs.io/en/latest/changes.html#id1
>
> Installation instructions can be found at 
> https://zope.readthedocs.io/en/4.x/INSTALL.html and 
> https://zope.readthedocs.io/en/latest/INSTALL.html.
>
> NOTE: These releases contain a security fix that prevents remote code 
> execution through TAL expressions. You will only be at risk if you allow 
> untrusted people to add or edit Zope Page Template objects. For more details, 
> see the security advisory 
> athttps://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36.
>  A CVE has been requested through GitHub.
>
> NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
> PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. 
> The security changes in Zope break some Plone add-ons that relied on the old 
> insecure traversal behavior. PloneHotfix20210518 ensures support for those 
> Plone add-ons.
>
> Jens Vagelpohl
>
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )


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


Re: [Zope] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jens Vagelpohl
Hi Jürgen,

Zope and Plone are still two different projects. The Plone developers published 
a hotfix product that fixes everything they believe needed to be fixed. I 
looked at items that apply to plain Zope and made the required changes in Zope.

So anyone using plain Zope can install the latest update and they are safe. As 
a plain Zope developer I cannot comment on or make recommendations regarding a 
Plone hotfix, and Zope itself will never require a Plone add-on or hotfix. I 
don’t have any control over how the Plone release managers communicate these 
fixes, either. People who do not use Plone are advised to stick to published 
Zope updates.

jens



> On 21. May 2021, at 12:25 , Jürgen Gmach  wrote:
> 
> Thank you very much for the fix and the new release.
> 
> As a user of plain Zope, and having already applied PloneHotfix20210518, I 
> wonder whether I need or should deinstall the hotfix now.
> 
> e.g. the hotfix also touched xmlrpc, which this new release does not.
> 
> Or let me rephrase my question.
> 
> What is the current recommended way to mitigate the announced vulnerabilities 
> for a plain Zope setup?
> 
> Install the just released Zope version and the hotfix? Or just the latest 
> Zope version?
> 
> Thank you!
> Von: Zope  im Auftrag von Jens Vagelpohl 
> 
> Gesendet: Freitag, 21. Mai 2021 11:12
> An: zope-annou...@zope.org ; zope@zope.org Users 
> 
> Betreff: [Zope] Zope 4.6 and 5.2 released with an important security fix
> 
> On behalf of Zope developer community I am pleased to announce the releases 
> of Zope 4.6 and 5.2.
> 
> This bugfix release solves a few minor issues and also contains an important 
> security fix, see below. For the full list of changes see the change logs 
> athttps://zope.readthedocs.io/en/4.x/changes.html#id1 
> andhttps://zope.readthedocs.io/en/latest/changes.html#id1
> 
> Installation instructions can be found at 
> https://zope.readthedocs.io/en/4.x/INSTALL.html and 
> https://zope.readthedocs.io/en/latest/INSTALL.html.
> 
> NOTE: These releases contain a security fix that prevents remote code 
> execution through TAL expressions. You will only be at risk if you allow 
> untrusted people to add or edit Zope Page Template objects. For more details, 
> see the security advisory 
> athttps://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36.
>  A CVE has been requested through GitHub.
> 
> NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
> PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. 
> The security changes in Zope break some Plone add-ons that relied on the old 
> insecure traversal behavior. PloneHotfix20210518 ensures support for those 
> Plone add-ons.
> 
> Jens Vagelpohl
> 
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )



signature.asc
Description: Message signed with OpenPGP

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


Re: [Zope-Annce] [Zope] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jens Vagelpohl
Hi Jürgen,

Zope and Plone are still two different projects. The Plone developers published 
a hotfix product that fixes everything they believe needed to be fixed. I 
looked at items that apply to plain Zope and made the required changes in Zope.

So anyone using plain Zope can install the latest update and they are safe. As 
a plain Zope developer I cannot comment on or make recommendations regarding a 
Plone hotfix, and Zope itself will never require a Plone add-on or hotfix. I 
don’t have any control over how the Plone release managers communicate these 
fixes, either. People who do not use Plone are advised to stick to published 
Zope updates.

jens



> On 21. May 2021, at 12:25 , Jürgen Gmach  wrote:
> 
> Thank you very much for the fix and the new release.
> 
> As a user of plain Zope, and having already applied PloneHotfix20210518, I 
> wonder whether I need or should deinstall the hotfix now.
> 
> e.g. the hotfix also touched xmlrpc, which this new release does not.
> 
> Or let me rephrase my question.
> 
> What is the current recommended way to mitigate the announced vulnerabilities 
> for a plain Zope setup?
> 
> Install the just released Zope version and the hotfix? Or just the latest 
> Zope version?
> 
> Thank you!
> Von: Zope  im Auftrag von Jens Vagelpohl 
> 
> Gesendet: Freitag, 21. Mai 2021 11:12
> An: zope-announce@zope.org ; z...@zope.org Users 
> 
> Betreff: [Zope] Zope 4.6 and 5.2 released with an important security fix
> 
> On behalf of Zope developer community I am pleased to announce the releases 
> of Zope 4.6 and 5.2.
> 
> This bugfix release solves a few minor issues and also contains an important 
> security fix, see below. For the full list of changes see the change logs 
> athttps://zope.readthedocs.io/en/4.x/changes.html#id1 
> andhttps://zope.readthedocs.io/en/latest/changes.html#id1
> 
> Installation instructions can be found at 
> https://zope.readthedocs.io/en/4.x/INSTALL.html and 
> https://zope.readthedocs.io/en/latest/INSTALL.html.
> 
> NOTE: These releases contain a security fix that prevents remote code 
> execution through TAL expressions. You will only be at risk if you allow 
> untrusted people to add or edit Zope Page Template objects. For more details, 
> see the security advisory 
> athttps://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36.
>  A CVE has been requested through GitHub.
> 
> NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
> PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. 
> The security changes in Zope break some Plone add-ons that relied on the old 
> insecure traversal behavior. PloneHotfix20210518 ensures support for those 
> Plone add-ons.
> 
> Jens Vagelpohl
> 
> ___
> Zope maillist  -  z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jürgen Gmach
Thank you very much for the fix and the new release.

As a user of plain Zope, and having already applied PloneHotfix20210518, I 
wonder whether I need or should deinstall the hotfix now.

e.g. the hotfix also touched xmlrpc, which this new release does not.

Or let me rephrase my question.

What is the current recommended way to mitigate the announced vulnerabilities 
for a plain Zope setup?

Install the just released Zope version and the hotfix? Or just the latest Zope 
version?

Thank you!

Von: Zope  im Auftrag von Jens Vagelpohl 
Gesendet: Freitag, 21. Mai 2021 11:12
An: zope-annou...@zope.org ; zope@zope.org Users 

Betreff: [Zope] Zope 4.6 and 5.2 released with an important security fix

On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6 and 5.2.

This bugfix release solves a few minor issues and also contains an important 
security fix, see below. For the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

NOTE: These releases contain a security fix that prevents remote code execution 
through TAL expressions. You will only be at risk if you allow untrusted people 
to add or edit Zope Page Template objects. For more details, see the security 
advisory at 
https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36. 
A CVE has been requested through GitHub.

NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. The 
security changes in Zope break some Plone add-ons that relied on the old 
insecure traversal behavior. PloneHotfix20210518 ensures support for those 
Plone add-ons.

Jens Vagelpohl

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


[Zope-Annce] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6 and 5.2.

This bugfix release solves a few minor issues and also contains an important 
security fix, see below. For the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

NOTE: These releases contain a security fix that prevents remote code execution 
through TAL expressions. You will only be at risk if you allow untrusted people 
to add or edit Zope Page Template objects. For more details, see the security 
advisory at 
https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36. 
A CVE has been requested through GitHub.

NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. The 
security changes in Zope break some Plone add-ons that relied on the old 
insecure traversal behavior. PloneHotfix20210518 ensures support for those 
Plone add-ons.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6 and 5.2.

This bugfix release solves a few minor issues and also contains an important 
security fix, see below. For the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

NOTE: These releases contain a security fix that prevents remote code execution 
through TAL expressions. You will only be at risk if you allow untrusted people 
to add or edit Zope Page Template objects. For more details, see the security 
advisory at 
https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36. 
A CVE has been requested through GitHub.

NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. The 
security changes in Zope break some Plone add-ons that relied on the old 
insecure traversal behavior. PloneHotfix20210518 ensures support for those 
Plone add-ons.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP

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


Re: [Zope] Two or three things about Zope 5

2021-05-07 Thread Jens Vagelpohl
Hi Giampiero,

The warning messages are due to virtualenv creating a folder “lib” and a link 
“lib64” that links to “lib”. Both these library paths are put onto sys.path, so 
to Zope it looks like there are two distinct locations containing the same Zope 
products.

Installing Zope products into a virtual environment with pip isn’t very common. 
Most users and most developers/maintainers use zc.buildout to create Zope 
instances with buildout recipe plone.recipe.zope2instance. See 
https://zope.readthedocs.io/en/latest/INSTALL.html#installing-zope-with-zc-buildout

jens


> On 7. May 2021, at 11:15 , Giampiero Benvenuti 
>  wrote:
> 
> Thank You Jürgen and Thank You Jens!
> 
> ok, with your infos I start  to see some light.
> The error management makes sense now.
> 
> Also, the settings for the timezone are now very clear.
> I also realised I can do something like DateTime('Europe/Rome’). It can be 
> useful when you have multiple sites in one Zope instance in different time 
> zones. (is it a good school?)
> 
> Ok, some baby steps are done, Now I will get to the session "black magic”.
> 
> Oh, one more thing: when I start zope in this way:
> /Applications/zope512/bin/runwsgi /Applications/zope512/etc/zope.ini 2>&1 &
> without the -v, zope is running disattached from the terminal but I get 
> warnings like:
> 
> WARNING [Application:390][MainThread] Duplicate Product name: After loading 
> Product 'BTreeFolder2' from 
> '/apps/zope512/zope/lib64/python3.6/site-packages/Products', I skipped the 
> one in '/apps/zope512/zope/lib/python3.6/site-packages/Products’.
> The same Warning for all the Products I installed with pip: bin/pip install…
> 
> From the terminal I also get all the errors printouts (even if Zope is 
> disattached).
> 
> Thanks again guys,
> 
> —giampiero
> 
>> On 6 May 2021, at 17:51 45, Jens Vagelpohl  wrote:
>> 
>> Hi Giampiero,
>> 
>> 1. Hiding the original exception is done by the waitress WSGI server Zope 
>> uses, not Zope itself. Allowing tracebacks to show in the browser leads to 
>> an information disclosure vulnerability. You can use the expose_tracebacks 
>> argument to waitress by adding it to your WSGI configuration .ini file in 
>> the section for the server:
>> 
>> [server:main]
>> ...
>> expose_tracebacks = True.
>> 
>> Don’t do this for a production site, though. The “minimalistic” error page 
>> is there for security reasons.
>> 
>> 2. As Jürgen mentioned, 
>> https://zope.readthedocs.io/en/latest/zopebook/Sessions.html#alternative-server-side-session-backends-for-zope-4
>>  has more information about using sessions in Zope.
>> 
>> 3. Instead of doing a separate EXPORT in your shell when starting Zope you 
>> can edit your Zope configuration file and add an environment section like 
>> this:
>> 
>> 
>>   TZ Europe/Rome
>> 
>> 
>> jens
>> 
>> 
>> 
>>> On 4. May 2021, at 16:24 , Giampiero Benvenuti 
>>>  wrote:
>>> 
>>> Hi there,
>>> 
>>> first of all, I want to thanks all the people who works on the project “5”.
>>> Second, please bear with me while I try to communicate my failures with the 
>>> "5”.
>>> I was able to install zope5.1.2 on my mac and also on opalstack.com with 
>>> the help of Sean. It looks great! The Chameleon Editor works fine and so 
>>> almost all the products I would need.
>>> So far, the only issues I have with it are the errors expressions and the 
>>> Session Data Manager.
>>> 1. When in some script I do some typo like “reuest” instead or “request” I 
>>> get the error “Internal Server Error The server encountered an unexpected 
>>> internal server error (generated by waitress)”
>>> Question: can I have a better and less “minimalistic” error expressions, 
>>> something more “friendly”?
>>> 2. Yeah! Session Data Manager: "Sessioning is currently disabled because 
>>> the session data container path setting is invalid. Please enter the path 
>>> to a valid session data container object.”. What can I do bout it?
>>> 3. Sorry, I forgot about this: zone time. In zope 2.xx I used to set the 
>>> local/zone time in this way: in instance/bin/runzope: export 
>>> TZ=Europe/Rome. How do I fix it in zope5?
>>> 
>>> Thanks you all for your work and help,
>>> 
>>> —giampiero
>>> 
>>> ___
>>> Zope maillist  -  Zope@zope.org
>>> https://mail.zope.org/mailman/listinfo/zope
>>> **   No cross posts or HTML enco

Re: [Zope] Two or three things about Zope 5

2021-05-07 Thread Giampiero Benvenuti
Thank You Jürgen and Thank You Jens!

ok, with your infos I start  to see some light.
The error management makes sense now.

Also, the settings for the timezone are now very clear.
I also realised I can do something like DateTime('Europe/Rome’). It can be 
useful when you have multiple sites in one Zope instance in different time 
zones. (is it a good school?)

Ok, some baby steps are done, Now I will get to the session "black magic”.

Oh, one more thing: when I start zope in this way:
 /Applications/zope512/bin/runwsgi /Applications/zope512/etc/zope.ini 2>&1 &
without the -v, zope is running disattached from the terminal but I get 
warnings like: 

WARNING [Application:390][MainThread] Duplicate Product name: After loading 
Product 'BTreeFolder2' from 
'/apps/zope512/zope/lib64/python3.6/site-packages/Products', I skipped the one 
in '/apps/zope512/zope/lib/python3.6/site-packages/Products’.
The same Warning for all the Products I installed with pip: bin/pip install…

From the terminal I also get all the errors printouts (even if Zope is 
disattached).

Thanks again guys,

—giampiero

> On 6 May 2021, at 17:51 45, Jens Vagelpohl  wrote:
> 
> Hi Giampiero,
> 
> 1. Hiding the original exception is done by the waitress WSGI server Zope 
> uses, not Zope itself. Allowing tracebacks to show in the browser leads to an 
> information disclosure vulnerability. You can use the expose_tracebacks 
> argument to waitress by adding it to your WSGI configuration .ini file in the 
> section for the server:
> 
> [server:main]
> ...
> expose_tracebacks = True.
> 
> Don’t do this for a production site, though. The “minimalistic” error page is 
> there for security reasons.
> 
> 2. As Jürgen mentioned, 
> https://zope.readthedocs.io/en/latest/zopebook/Sessions.html#alternative-server-side-session-backends-for-zope-4
>  has more information about using sessions in Zope.
> 
> 3. Instead of doing a separate EXPORT in your shell when starting Zope you 
> can edit your Zope configuration file and add an environment section like 
> this:
> 
> 
>TZ Europe/Rome
> 
> 
> jens
> 
> 
> 
>> On 4. May 2021, at 16:24 , Giampiero Benvenuti 
>>  wrote:
>> 
>> Hi there,
>> 
>> first of all, I want to thanks all the people who works on the project “5”.
>> Second, please bear with me while I try to communicate my failures with the 
>> "5”.
>> I was able to install zope5.1.2 on my mac and also on opalstack.com with the 
>> help of Sean. It looks great! The Chameleon Editor works fine and so almost 
>> all the products I would need.
>> So far, the only issues I have with it are the errors expressions and the 
>> Session Data Manager.
>> 1. When in some script I do some typo like “reuest” instead or “request” I 
>> get the error “Internal Server Error The server encountered an unexpected 
>> internal server error (generated by waitress)”
>> Question: can I have a better and less “minimalistic” error expressions, 
>> something more “friendly”?
>> 2. Yeah! Session Data Manager: "Sessioning is currently disabled because the 
>> session data container path setting is invalid. Please enter the path to a 
>> valid session data container object.”. What can I do bout it?
>> 3. Sorry, I forgot about this: zone time. In zope 2.xx I used to set the 
>> local/zone time in this way: in instance/bin/runzope: export TZ=Europe/Rome. 
>> How do I fix it in zope5?
>> 
>> Thanks you all for your work and help,
>> 
>> —giampiero
>> 
>> ___
>> Zope maillist  -  Zope@zope.org
>> https://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>> https://mail.zope.org/mailman/listinfo/zope-announce
>> https://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
> _______
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )


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


Re: [Zope] Two or three things about Zope 5

2021-05-06 Thread Jens Vagelpohl
Hi Giampiero,

1. Hiding the original exception is done by the waitress WSGI server Zope uses, 
not Zope itself. Allowing tracebacks to show in the browser leads to an 
information disclosure vulnerability. You can use the expose_tracebacks 
argument to waitress by adding it to your WSGI configuration .ini file in the 
section for the server:

[server:main]
...
expose_tracebacks = True.

Don’t do this for a production site, though. The “minimalistic” error page is 
there for security reasons.

2. As Jürgen mentioned, 
https://zope.readthedocs.io/en/latest/zopebook/Sessions.html#alternative-server-side-session-backends-for-zope-4
 has more information about using sessions in Zope.

3. Instead of doing a separate EXPORT in your shell when starting Zope you can 
edit your Zope configuration file and add an environment section like this:


TZ Europe/Rome


jens



> On 4. May 2021, at 16:24 , Giampiero Benvenuti 
>  wrote:
> 
> Hi there,
> 
> first of all, I want to thanks all the people who works on the project “5”.
> Second, please bear with me while I try to communicate my failures with the 
> "5”.
> I was able to install zope5.1.2 on my mac and also on opalstack.com with the 
> help of Sean. It looks great! The Chameleon Editor works fine and so almost 
> all the products I would need.
> So far, the only issues I have with it are the errors expressions and the 
> Session Data Manager.
> 1. When in some script I do some typo like “reuest” instead or “request” I 
> get the error “Internal Server Error The server encountered an unexpected 
> internal server error (generated by waitress)”
> Question: can I have a better and less “minimalistic” error expressions, 
> something more “friendly”?
> 2. Yeah! Session Data Manager: "Sessioning is currently disabled because the 
> session data container path setting is invalid. Please enter the path to a 
> valid session data container object.”. What can I do bout it?
> 3. Sorry, I forgot about this: zone time. In zope 2.xx I used to set the 
> local/zone time in this way: in instance/bin/runzope: export TZ=Europe/Rome. 
> How do I fix it in zope5?
> 
> Thanks you all for your work and help,
> 
> —giampiero
> 
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )



signature.asc
Description: Message signed with OpenPGP

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


Re: [Zope] Two or three things about Zope 5

2021-05-04 Thread Jürgen Gmach
Hi Giampiero,

generally this mailing list is very low traffic.

When you have questions, the community https://community.plone.org/ is the best 
way to go.

If you face bugs or you want new features, then the issue trackers at 
https://github.com/zopefoundation is the right address.

>1. When in some script I do some typo like “reuest” instead or “request” I get 
>the error “Internal Server Error The server encountered an unexpected internal 
>server error
> (generated by waitress)”

Please have a look at the complete traceback (in your log or in your terminal 
when you start Zope in foreground modus), and determine where the error 
happens, and then report the error at above mentioned GitHub projects. Maybe 
you meant https://github.com/zopefoundation/Products.PythonScripts ? I am not 
sure from your description.

> 2. Yeah! Session Data Manager: "Sessioning is currently disabled because the 
> session data container path setting is invalid. Please enter the path to a 
> valid session data
> container object.”. What can I do bout it?

Exactly what is written  You need to set the path to a valid session data 
container.

I use cookie based session, so I am not very firm with this topic. I remember 
there was some discussion about temporarystorage and sessions make problems, so 
the default session mechanism is no longer the default. Maybe you find some 
more information in the release notes of Zope 4 ( 
https://github.com/zopefoundation/Zope/blob/4.x/CHANGES.rst )

Oh, here is some good information: 
https://zope.readthedocs.io/en/latest/zopebook/Sessions.html#alternative-server-side-session-backends-for-zope-4

> 3. Sorry, I forgot about this: zone time. In zope 2.xx I used to set the 
> local/zone time in this way: in instance/bin/runzope: export TZ=Europe/Rome. 
> How do I fix it in zope5?

I use a os.environ['TZ'] = 'Europe/Berlin' in my buildout.cfg and this seems to 
do the trick.

Best,
Jürgen

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


[Zope] Two or three things about Zope 5

2021-05-04 Thread Giampiero Benvenuti
Hi there,

first of all, I want to thanks all the people who works on the project “5”.
Second, please bear with me while I try to communicate my failures with the "5”.
I was able to install zope5.1.2 on my mac and also on opalstack.com with the 
help of Sean. It looks great! The Chameleon Editor works fine and so almost all 
the products I would need.
So far, the only issues I have with it are the errors expressions and the 
Session Data Manager.
1. When in some script I do some typo like “reuest” instead or “request” I get 
the error “Internal Server Error The server encountered an unexpected internal 
server error (generated by waitress)”
Question: can I have a better and less “minimalistic” error expressions, 
something more “friendly”?
2. Yeah! Session Data Manager: "Sessioning is currently disabled because the 
session data container path setting is invalid. Please enter the path to a 
valid session data container object.”. What can I do bout it?
3. Sorry, I forgot about this: zone time. In zope 2.xx I used to set the 
local/zone time in this way: in instance/bin/runzope: export TZ=Europe/Rome. 
How do I fix it in zope5?

Thanks you all for your work and help,

—giampiero

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


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-30 Thread Jürgen Gmach
Hi Jesús,

> I am getting ready to migrate to Zope 4, and checking products I depends
> massively on ExtFile/ExtImage. I wonder about the support of that
> product or something similar.

I also inherited a Zope app, and successfully migrated it to Zope 4/5.

I guess I do not have to tell you the general way how to migrate an app to 
Python 3 (pyupgrade, six...).

So, some Zope specifics.

Zope 4 is a transition version, between Zope 2 (Python 2) and Zope 5 (Python 
3), as Zope 4 both supports Python 2 and 3.

As you already did, it is important to catalog all your used plugins and check 
whether they are still supported, can be replaced by core functionality or 
another plugin, or even need to be ported to Zope 4.

My inherited legacy app even had two similar plugins to your ExtFile one, 
namely ExternalFile and LocalFS - both have no successors.

I could replace LocalFS entirely with Zope core functionality, in this case 
with resourceDirectory ( 
https://docs.plone.org/adapt-and-extend/theming/templates_css/resourcefolders.html
 ).

ExternalFile was rewritten from scratch, and now is only like 20 lines, which 
read a file from the file system and just return it to the browser.

So, no clue whether one or the other solution would fit your usecase.


When you want to work on the migration yourself, have a look at the docs...

https://zope.readthedocs.io/en/latest/migrations/zope4/index.html#

Generally, it is best to upgrade to the latest version 2 of Zope, first, before 
trying to update to Zope 4.

Michael, one of the core maintainers, gave a talk at EuroPython about a 
successful Zope migraton: https://www.youtube.com/watch?v=O-xSmvQwPHY

https://community.plone.org
Just for completion, if you need commercial support, you can post here: 
https://community.plone.org/c/jobs/38


And as already mentioned, https://community.plone.org is a good place to ask 
questions. This mailing list is super low volume.

Best,
Jürgen
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-30 Thread Jens Vagelpohl
Hi Jesus,

> On 29. Mar 2021, at 19:45 , Jesus Cea  wrote:
> 
> On 29/3/21 18:04, Jens Vagelpohl wrote:
>> I don’t know anything about ExtFile/ExtImage specifically, the only 
>> reference I was able to find is from old.zope.org and no one has touched it 
>> since 2007. It looks like there is no support.
> 
> Now the problem is... licensing. The project seems dead for 15 years but I 
> don't see a license files in <https://old.zope.org/Members/shh/ExtFile/>. The 
> readme says ZPL, but not version is listed. Is ZPL still a thing?
> 
> The original old code in <https://old.zope.org/Members/MacGregor/ExtFile/> 
> seems to have a MIT-like license.

The last release (2.0.2) claims that the license is a ZPL, which is definitely 
“still a thing”. All 350+ packages in the zopefoundation GitHub organization 
are licensed under the ZPL, which is still an OSI-certified open source 
license. The current version is 2.1.

The main issue I see in ExtFile is the lack of documentation how the license 
and copyright switch was done. In order to be considered for inclusion in the 
zopefoundation organization projects - if that’s your goal - some proof like a 
written statement of agreement to the license and copyright change from Gregor 
would be mandatory, and then written proof that Stefan Holek agrees to transfer 
copyright to the Plone Foundation. The rest, like the lack of an actual license 
file, is cosmetics and easily fixed.

If those hurdles are too high no one can prevent you from creating a private 
fork and distributing it yourself, as long as you abide by the existing 
copyright and licensing provisions.

jens




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-29 Thread Jesus Cea

On 29/3/21 18:04, Jens Vagelpohl wrote:

I don’t know anything about ExtFile/ExtImage specifically, the only reference I 
was able to find is from old.zope.org and no one has touched it since 2007. It 
looks like there is no support.


Now the problem is... licensing. The project seems dead for 15 years but 
I don't see a license files in 
<https://old.zope.org/Members/shh/ExtFile/>. The readme says ZPL, but 
not version is listed. Is ZPL still a thing?


The original old code in 
<https://old.zope.org/Members/MacGregor/ExtFile/> seems to have a 
MIT-like license.



The product will need to be repackaged as an egg or wheel first, otherwise you 
won’t be able to start any real compatibility testing. Zope 4 does not allow 
you to just unzip a product inside a products folder anymore

Most products only need minor modifications once they are repackaged. How to do 
this repackaging is a general Python packaging question, I suggest you just 
look at Zope products that are compatible, e.g. 
https://github.com/zopefoundation/Products.PluginRegistry, to get an idea.


That is useful. Thanks.


Zope products are hosted where all other Python packages are hosted: pypi.org.


Understood.

--
Jesús Cea Avión _/_/  _/_/_/
_/_/_/

j...@jcea.es - https://www.jcea.es/_/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz



OpenPGP_signature
Description: OpenPGP digital signature
_______
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-29 Thread Jens Vagelpohl


> On 29. Mar 2021, at 17:52 , Jürgen Gmach  wrote:
> 
> 
> Most Zope plugins are hosted now at https://github.com/zopefoundation


To prevent confusion: Code and collaboration tools for development are hosted 
on github.com. The installable packages are hosted on pypi.org.

jens




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-29 Thread Jens Vagelpohl
Hi Jesus,

I don’t know anything about ExtFile/ExtImage specifically, the only reference I 
was able to find is from old.zope.org and no one has touched it since 2007. It 
looks like there is no support.

The product will need to be repackaged as an egg or wheel first, otherwise you 
won’t be able to start any real compatibility testing. Zope 4 does not allow 
you to just unzip a product inside a products folder anymore.

Most products only need minor modifications once they are repackaged. How to do 
this repackaging is a general Python packaging question, I suggest you just 
look at Zope products that are compatible, e.g. 
https://github.com/zopefoundation/Products.PluginRegistry, to get an idea.

Zope products are hosted where all other Python packages are hosted: pypi.org.

jens


> On 29. Mar 2021, at 17:04 , Jesus Cea  wrote:
> 
> Signed PGP part
> I am getting ready to migrate to Zope 4, and checking products I depends 
> massively on ExtFile/ExtImage. I wonder about the support of that product or 
> something similar.
> 
> Where are third-party Zope products hosted nowadays?
> 
> If this product is not supported/abandoned in Zope 4/5, would be people 
> interested in a fork maintained by me?
> 
> Could I ask here questions about "the modern way" of writing products for 
> current Zope? If not, who/where should I ask?
> 
> Thanks.
> 
> --
> Jesús Cea Avión _/_/  _/_/_/_/_/_/
> j...@jcea.es - https://www.jcea.es/_/_/_/_/  _/_/_/_/  _/_/
> Twitter: @jcea_/_/_/_/  _/_/_/_/_/
> jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
> "Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> 
> 
> 



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-29 Thread Jürgen Gmach
Hey Jesus,

I will write a more extensive e-mail tomorrow, but as a starter...

Most Zope plugins are hosted now at https://github.com/zopefoundation

The best place to ask questions about Zope is the discussion board at 
https://community.plone.org/

Best,
Jürgen



Von: Zope  im Auftrag von Jesus Cea 
Gesendet: Montag, 29. März 2021 17:04
An: zope@zope.org Users 
Betreff: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

I am getting ready to migrate to Zope 4, and checking products I depends
massively on ExtFile/ExtImage. I wonder about the support of that
product or something similar.

Where are third-party Zope products hosted nowadays?

If this product is not supported/abandoned in Zope 4/5, would be people
interested in a fork maintained by me?

Could I ask here questions about "the modern way" of writing products
for current Zope? If not, who/where should I ask?

Thanks.

--
Jesús Cea Avión _/_/  _/_/_/_/_/_/
j...@jcea.es - https://www.jcea.es/_/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

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


[Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-29 Thread Jesus Cea
I am getting ready to migrate to Zope 4, and checking products I depends 
massively on ExtFile/ExtImage. I wonder about the support of that 
product or something similar.


Where are third-party Zope products hosted nowadays?

If this product is not supported/abandoned in Zope 4/5, would be people 
interested in a fork maintained by me?


Could I ask here questions about "the modern way" of writing products 
for current Zope? If not, who/where should I ask?


Thanks.

--
Jesús Cea Avión _/_/  _/_/_/_/_/_/
j...@jcea.es - https://www.jcea.es/_/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz



OpenPGP_signature
Description: OpenPGP digital signature
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 4.5.5 and 5.1.2 released

2021-03-02 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.5.5 and 5.1.2.

This bugfix release solves a few minor issues and improves security checking 
for some types of XML-RPC requests. For the full list of changes see the change 
logs at https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Zope 4.5.5 and 5.1.2 released

2021-03-02 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.5.5 and 5.1.2.

This bugfix release solves a few minor issues and improves security checking 
for some types of XML-RPC requests. For the full list of changes see the change 
logs at https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Two low-impact security issues in Products.PluggableAuthService

2021-02-26 Thread Jens Vagelpohl
Hi all,

Two low-impact security issues have been identified in 
Products.PluggableAuthService:

- an information disclosure issue involving the ZODB Role Manager plugin. See 
https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p75f-g7gx-2r7p
 for details.

- an open redirect issue in the Cookie Auth Helper. See 
https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p44j-xrqg-4xrr
 for details.

Both issues are mitigated by updating to Products.PluggableAuthService version 
2.6.1 or higher. The Plone release managers will apply this update with Plone 
bugfix releases they are planning to publish within the next few days.

jens




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Two low-impact security issues in Products.PluggableAuthService

2021-02-26 Thread Jens Vagelpohl
Hi all,

Two low-impact security issues have been identified in 
Products.PluggableAuthService:

- an information disclosure issue involving the ZODB Role Manager plugin. See 
https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p75f-g7gx-2r7p
 for details.

- an open redirect issue in the Cookie Auth Helper. See 
https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p44j-xrqg-4xrr
 for details.

Both issues are mitigated by updating to Products.PluggableAuthService version 
2.6.1 or higher. The Plone release managers will apply this update with Plone 
bugfix releases they are planning to publish within the next few days.

jens




signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 4.5.4 and 5.1.1 released

2021-02-10 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.5.4 and 5.1.1.

This bugfix release solves a few minor issues and updates the shipped versions 
of bootstrap, jQuery and Font Awesome to their latest releases. For the full 
list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Zope 4.5.4 and 5.1.1 released

2021-02-10 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.5.4 and 5.1.1.

This bugfix release solves a few minor issues and updates the shipped versions 
of bootstrap, jQuery and Font Awesome to their latest releases. For the full 
list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Zope 4.5.3 released

2020-11-16 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.5.3.

This bugfix release solves an issue introduced in version 4.5.2 for 
installations running under Python 2. For the full list of changes see the 
change log at https://zope.readthedocs.io/en/4.x/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Zope 5.1 released

2020-11-12 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the release of 
Zope 5.1.

This release solves a few small page template related issues and brings back 
the ZMI “Debug Information” Control Panel page. For the full list of changes 
see the change log at https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/latest/INSTALL.html

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Zope 4.5.2 released

2020-11-12 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.5.2.

This bugfix release solves a few small page template related issues and brings 
back the ZMI “Debug Information” Control Panel page. For the full list of 
changes see the change log at 
https://zope.readthedocs.io/en/4.x/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope 5.0 released

2020-10-08 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 5.0!

This release
- drops support for Python 2.7 and 3.5
- drops support for `ZServer`
- adds support for the newly released Python 3.9

Although this release is a major one, it should be possible to use it without 
any changes if the following preconditions are met:
- Your project runs on the latest Zope 4 release on Python 3.6+ and does not 
use ZServer.
- Neither your tests nor running your Zope instance shows DeprecationWarnings.


Additionally this release contains some minor features and bug fixes which have 
been backported to Zope 4 where possible.

As Zope 5 is now released, Zope 4 is put into bugfix mode until 2021-12-31.
(See the roadmap for details: 
https://zope.readthedocs.io/en/latest/roadmap.html)


For details about this release see the what’s-new-section and the change log:
- https://zope.readthedocs.io/en/latest/news.html#what-s-new-in-zope-5
- https://zope.readthedocs.io/en/latest/changes.html#id1

To install the new version see 
https://zope.readthedocs.io/en/latest/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 5.0 released

2020-10-08 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 5.0!

This release
- drops support for Python 2.7 and 3.5
- drops support for `ZServer`
- adds support for the newly released Python 3.9

Although this release is a major one, it should be possible to use it without 
any changes if the following preconditions are met:
- Your project runs on the latest Zope 4 release on Python 3.6+ and does not 
use ZServer.
- Neither your tests nor running your Zope instance shows DeprecationWarnings.


Additionally this release contains some minor features and bug fixes which have 
been backported to Zope 4 where possible.

As Zope 5 is now released, Zope 4 is put into bugfix mode until 2021-12-31.
(See the roadmap for details: 
https://zope.readthedocs.io/en/latest/roadmap.html)


For details about this release see the what’s-new-section and the change log:
- https://zope.readthedocs.io/en/latest/news.html#what-s-new-in-zope-5
- https://zope.readthedocs.io/en/latest/changes.html#id1

To install the new version see 
https://zope.readthedocs.io/en/latest/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Tutorial for zope4

2020-10-01 Thread Jürgen Gmach
Hi Miguel,

as you already noticed, a lot has changed in the last couple of years.

A couple of thoughts:

update
---
We have pretty good migration documentation, see here
https://zope.readthedocs.io/en/latest/migrations/index.html

db connections
-
I only make light use of zsqlmethod myself, but I cannot recall I had to change 
anything to make it work with Zope 4.

templates
---
Right, Chameleon is the way to go - if you need a transition time, you can (but 
you should NOT) use the old template engine, see here
https://jugmac00.github.io/blog/three-ways-to-get-into-trouble-or-welcome-back-pagetemplateengine/

tutorials
-
I am sorry. There are no uptodate tutorials I know of.

The best bet is to try to follow the existing tutorials, and when something 
does not work try to find out what is wrong and how to fix it, ideally update 
the documenation with a pull request, or if struggling, asking some detailed 
questions.


As of where to get help.
--

This list is pretty much only used to announce new releases - there are no more 
discussions here.

The best place to ask general questions is the https://community.plone.org/ 
forum - tag your questions with "Zope".

If you find a bug or want a new feature, you can use the github repositories of 
the Zope projects.

Best,
Jürgen

P.S.: One of the maintainers (icemac) hold a nice talk about migrating a huge 
Zope project to Python 3.

https://blog.gocept.com/2020/09/03/presentation-we-have-nearly-one-million-lines-of-python-2-code-in-production-and-now/
[https://gocept.files.wordpress.com/2020/08/snake-601832_1280.jpg?w=1200]<https://blog.gocept.com/2020/09/03/presentation-we-have-nearly-one-million-lines-of-python-2-code-in-production-and-now/>
Presentation: We have nearly one million lines of Python 2 code in production — 
and now? – gocept 
blog<https://blog.gocept.com/2020/09/03/presentation-we-have-nearly-one-million-lines-of-python-2-code-in-production-and-now/>
Still running Python 2 code in production is like steering a ship without radar 
in thick fog: You don’t know, which obstacle you will hit next. But there are 
ways to see the sun again – even for large code bases. This presentation 
contains a discussion of the possible ways and a success story. I…
blog.gocept.com


Von: Zope  im Auftrag von Miguel Beltran R. 

Gesendet: Dienstag, 29. September 2020 18:17
An: zope@zope.org 
Betreff: [Zope] Tutorial for zope4

Good morning list,Glad to be here again in the list and community

I used zope many years ago until version 2.13 and I want to update to the new 
version 4/5 but I have found that the Zope Book is not so useful to me as 
before.

I used to do me little systems all in the ZMI using pagetemplate, zsql method, 
postgresql, zserver, etc.

-Zserver was replaced in favor of waitress, no problem.
-pagetemplate is almost the same, but now use chameleon engine, no problem.
-zsqlmethod is not installed by default, I installed it using pip. The 
recommendation is to use zope.sqlalchemy. I dont know sqlalchemy and how to use 
it with zope 4/5. help here
-I tried to find the postgresql connector to zope 4 in pypi without success, 
even the ODBC connector I could not find it. how do I connect to a database?

Also, I saw that the Plone foundation have now the rights of Zope foundation. I 
wish them the best for his work.

do someone can recomend me a zope 4 tutorial for dummys?

--

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
_______
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Tutorial for zope4

2020-09-30 Thread Michael Howitz
Hi Miguel,

Am 29.09.2020 um 18:17 schrieb Miguel Beltran R. :
[…]
> -zsqlmethod is not installed by default, I installed it using pip. The 
> recommendation is to use zope.sqlalchemy. I dont know sqlalchemy and how to 
> use it with zope 4/5. help here

Maybe https://github.com/perfact/ZPsycopgDA would work for you for the database 
access.


Mit freundlichen Grüßen
--
Michael Howitz · m...@gocept.com · Software-Entwickler
gocept gmbh & co. kg · Leipziger Straße 70 · 06108 Halle (Saale) · Germany
http://gocept.com · Tel +49 345 1229889-8
Zope, Python, Pyramid, Plone · Beratung und Entwicklung



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Tutorial for zope4

2020-09-29 Thread Miguel Beltran R.
Good morning list,Glad to be here again in the list and community

I used zope many years ago until version 2.13 and I want to update to the
new version 4/5 but I have found that the Zope Book is not so useful to me
as before.

I used to do me little systems all in the ZMI using pagetemplate, zsql
method, postgresql, zserver, etc.

-Zserver was replaced in favor of waitress, no problem.
-pagetemplate is almost the same, but now use chameleon engine, no problem.
-zsqlmethod is not installed by default, I installed it using pip. The
recommendation is to use zope.sqlalchemy. I dont know sqlalchemy and how to
use it with zope 4/5. help here
-I tried to find the postgresql connector to zope 4 in pypi without
success, even the ODBC connector I could not find it. how do I connect to a
database?

Also, I saw that the Plone foundation have now the rights of Zope
foundation. I wish them the best for his work.

do someone can recomend me a zope 4 tutorial for dummys?

-- 

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 4.4.2 released

2020-06-16 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.4.3.

The 4.4.3 release contains mostly bug fixes and little improvements in error 
handling.
For details of the changes see 
https://zope.readthedocs.io/en/4.x/changes.html#id1

To install the new version see https://zope.readthedocs.io/en/4.x/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope 4.4.2 released

2020-06-16 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.4.3.

The 4.4.3 release contains mostly bug fixes and little improvements in error 
handling.
For details of the changes see 
https://zope.readthedocs.io/en/4.x/changes.html#id1

To install the new version see https://zope.readthedocs.io/en/4.x/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope 4.4.2 released

2020-04-30 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.4.2.
(Version 4.4.1 was a faulty release, sorry.)

The 4.4.2 release contains mostly a bug fixes the most important is:

* Fix HEAD requests on registered views.

For details of the changes see 
https://zope.readthedocs.io/en/4.x/changes.html#id2

To install the new version see https://zope.readthedocs.io/en/4.x/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 4.4.2 released

2020-04-30 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.4.2.
(Version 4.4.1 was a faulty release, sorry.)

The 4.4.2 release contains mostly a bug fixes the most important is:

* Fix HEAD requests on registered views.

For details of the changes see 
https://zope.readthedocs.io/en/4.x/changes.html#id2

To install the new version see https://zope.readthedocs.io/en/4.x/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope-Annce] [Zope] Developing 'products' for zope 4 and 5

2020-04-22 Thread Michael Howitz
Am 21.04.2020 um 14:45 schrieb Jürgen Gmach :
[…]
> I suggest you try to follow the migration documentation ( 
> https://zope.readthedocs.io/en/latest/migrations/zope4/index.html ).

The first step would be to get your installation to run on Zope 2.13. There are 
already several changes in-between since Zope 2.10. Maybe you even have to 
upgrade to some minor versions in-between (2.11, 2.12) to be able to migrate 
your database and code to a recent Zope 2 version before trying to migrate to 
Zope 4+.

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Developing 'products' for zope 4 and 5

2020-04-22 Thread Michael Howitz
Am 21.04.2020 um 14:45 schrieb Jürgen Gmach :
[…]
> I suggest you try to follow the migration documentation ( 
> https://zope.readthedocs.io/en/latest/migrations/zope4/index.html ).

The first step would be to get your installation to run on Zope 2.13. There are 
already several changes in-between since Zope 2.10. Maybe you even have to 
upgrade to some minor versions in-between (2.11, 2.12) to be able to migrate 
your database and code to a recent Zope 2 version before trying to migrate to 
Zope 4+.

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Developing 'products' for zope 4 and 5

2020-04-21 Thread Jürgen Gmach
Hi Kees,

in general the development for Zope 2 (latest version) and Zope 4 / 5 is not 
that much different. You have to read through the update notes. e.g. Chameleon 
is the new default template engine, some globals are no longer available, moved 
imports and so on.

As you correctly noted, the documentation is not completely up to date. There 
is just a lack of man power.

I suggest you try to follow the migration documentation ( 
https://zope.readthedocs.io/en/latest/migrations/zope4/index.html ).

If you encounter any problems, and you are able to solve them - report them 
back or update the documentation

If you cannot solve the problems yourself, don't hesitate to ask.

I recommend the https://community.plone.org/ forum - but try to ask some 
specialized questions - there is no "Zope 5 developer documentation" out there 
and just hidden from you.

You can also have a look at migrated products / packages.

If your application is a commercial one, you could hire someone to do the 
migration for you.

If the Python 3 thing is your problem, there is plenty of documentation out 
there, also from the Plone community:
https://docs.plone.org/manage/upgrading/version_specific_migration/upgrade_to_python3.html

By the way - these mailing lists are usually not used for those kind of 
questions, but almost only for announcements of new releases.

Best,
Jürgen


Von: Zope  im Auftrag von Kees de Brabander 

Gesendet: Dienstag, 21. April 2020 12:22
An: zope-annou...@zope.org ; zope-dev 
; zope@zope.org Users 
Betreff: [Zope] Developing 'products' for zope 4 and 5

Hi,
I am trying to catch up with the innovation that zope has undergone (I still 
have an instance running under zope 2.10.9).
Is there any more extensive documentation on how to develop ‘products’ for zope 
4 and 5. In the Zope Developer’s Guide the chapter on Zope products simply 
starts with the remark that the document is currently being reviewed.
best, cb
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Developing 'products' for zope 4 and 5

2020-04-21 Thread Kees de Brabander
Hi,
I am trying to catch up with the innovation that zope has undergone (I still 
have an instance running under zope 2.10.9).
Is there any more extensive documentation on how to develop ‘products’ for zope 
4 and 5. In the Zope Developer’s Guide the chapter on Zope products simply 
starts with the remark that the document is currently being reviewed.
best, cb
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 5.0a1 released

2020-02-28 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
the first alpha release of the Zope 5 series: 5.0a1

Zope 5 drops support for

* Python 2.7, it supports Python 3.5 up to 3.8
* ZServer, it is now WSGI only

To migrate to Zope 5: first migrate to the lastest Zope 4 release.
If your code runs on the WSGI stack without showing deprecations warnings it 
should also be able to run on Zope 5, too, without changes.

All other changes (besides these non-backwards compatible ones) have been back 
ported to Zope 4.x.
(We will keep doing so until the final Zope 5 release.)


For details of the changes see 
https://zope.readthedocs.io/en/latest/changes.html#a1-2020-02-28

To install the new version see 
https://zope.readthedocs.io/en/latest/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope 5.0a1 released

2020-02-28 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
the first alpha release of the Zope 5 series: 5.0a1

Zope 5 drops support for

* Python 2.7, it supports Python 3.5 up to 3.8
* ZServer, it is now WSGI only

To migrate to Zope 5: first migrate to the lastest Zope 4 release.
If your code runs on the WSGI stack without showing deprecations warnings it 
should also be able to run on Zope 5, too, without changes.

All other changes (besides these non-backwards compatible ones) have been back 
ported to Zope 4.x.
(We will keep doing so until the final Zope 5 release.)


For details of the changes see 
https://zope.readthedocs.io/en/latest/changes.html#a1-2020-02-28

To install the new version see 
https://zope.readthedocs.io/en/latest/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] [Zope-Annce] Announcement: Zope2 2.13.30 released

2020-02-14 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the
release of Zope2 2.13.30.

This release contains two security related fixes and no new features.

See details at
https://github.com/zopefoundation/Zope/blob/2.13/doc/CHANGES.rst#21330-2020-02-14

To install the new version see the instructions for
either zc.buildout: https://zope.readthedocs.io/en/2.13/INSTALL-buildout.html
or virtualenv: https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope2 2.13.30 released

2020-02-14 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the
release of Zope2 2.13.30.

This release contains two security related fixes and no new features.

See details at
https://github.com/zopefoundation/Zope/blob/2.13/doc/CHANGES.rst#21330-2020-02-14

To install the new version see the instructions for
either zc.buildout: https://zope.readthedocs.io/en/2.13/INSTALL-buildout.html
or virtualenv: https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] [Security issue] SQL injection in DTML or in connection objects

2020-02-12 Thread Michael Howitz
On behalf of the Plone security team I am announcing this security issue in 
Zope also here:

CVE Identifier: CVE-2020-7939
Type: SQL injection
Severity: 4.9 – MEDIUM
Affected Zope versions:
 * Zope 2 older than 2.13.30 (2.13.30 is not yet released)
 * Zope 4 older than 4.2

For details see 
https://plone.org/security/hotfix/20200121/sql-injection-in-dtml-or-in-connection-objects

To fix the issue use the Hotfix provided at 
https://plone.org/security/hotfix/20200121 (version 1.1 or newer)
or upgrade to Zope 4.2+.
There is no released Zope 2.13 version, yet, which includes the fix. (I hope it 
will can released soon.)

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] [Security issue] SQL injection in DTML or in connection objects

2020-02-12 Thread Michael Howitz
On behalf of the Plone security team I am announcing this security issue in 
Zope also here:

CVE Identifier: CVE-2020-7939
Type: SQL injection
Severity: 4.9 – MEDIUM
Affected Zope versions:
 * Zope 2 older than 2.13.30 (2.13.30 is not yet released)
 * Zope 4 older than 4.2

For details see 
https://plone.org/security/hotfix/20200121/sql-injection-in-dtml-or-in-connection-objects

To fix the issue use the Hotfix provided at 
https://plone.org/security/hotfix/20200121 (version 1.1 or newer)
or upgrade to Zope 4.2+.
There is no released Zope 2.13 version, yet, which includes the fix. (I hope it 
will can released soon.)

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4 migration

2019-12-13 Thread Michael Brunnbauer

Hello Michael,

thanks. I'll install Products.TemporaryFolder to avoid the warnings but will 
replace /temp_folder with a normal folder as recommended by the maintainers
of the Sessions product. Now let's see how the more complicated setups cope
with Zope 4 - LOL.

Regards,

Michael Brunnbauer

On Fri, Dec 13, 2019 at 07:46:29AM +0100, Michael Howitz wrote:
> Am 12.12.2019 um 10:22 schrieb Michael Brunnbauer :
> [???]
> > Thank you very much for your help. I have some reservations about installing
> > Products.TemporaryFolder.
> 
> You seem only to need ZODBMountPoint. But maybe you do not use server side 
> sessions so you can live without TemporaryFolder which needs ZODBMountPoint 
> to mount the temporary folder.
> There is https://github.com/zopefoundation/Products.TemporaryFolder/issues/12 
> to extract ZODBMountPoint into its own package. Feel free to comment there if 
> you actually need ZODBMountPoint without TemporaryFolder.
> 
> > See here:
> > 
> > https://pypi.org/project/Products.Sessions/
> > 
> > "The default session support under Zope 2 relied on Products.TemporaryFolder
> >  for storing session data, which in turn used the tempstorage package.
> >  tempstorage is no longer recommended because it has unfixed and possibly
> >  unfixable issues under Zope 4 that lead to corrupted temporary storages.???
> 
> This is only the case when using tempstorage, a RAM based storage 
> implementation.
> You could also configure an additional ZODB for the server side session data 
> and mount it instead of using Products.TemporaryFolder.
> This makes server side sessions persistent between restarts.
> 
> > Also, for me this means installing 8 Products after installing Zope with 
> > pip:
> > Sessions, ExternalMethod, PythonScripts, ZSQLMethods, ZMySQLDA, MailHost,
> > TemporaryFolder, SiteErrorLog.
> 
> That???s right, some Products were part of Zope2 or install dependencies.
> Zope 4 is a but more lightweight. So you have to install the Products you 
> need.
> 
> > Would the standard zc.buildout install already contain some of those?
> 
> No, you have to add them to buildout.cfg.
> 
> > I somehow got attached to the pip way over the years but maybe I should
> > really switch.
> 
> If you know how to use pip: It???s okay to use it.
> I personally find Buildout more convenient.
> 
> --
> Mit freundlichen Grüßen
> Michael Howitz
> 



-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail bru...@netestate.de
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel


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


Re: [Zope] Zope 4 migration

2019-12-12 Thread Michael Howitz
Am 12.12.2019 um 10:22 schrieb Michael Brunnbauer :
[…]
> Thank you very much for your help. I have some reservations about installing
> Products.TemporaryFolder.

You seem only to need ZODBMountPoint. But maybe you do not use server side 
sessions so you can live without TemporaryFolder which needs ZODBMountPoint to 
mount the temporary folder.
There is https://github.com/zopefoundation/Products.TemporaryFolder/issues/12 
to extract ZODBMountPoint into its own package. Feel free to comment there if 
you actually need ZODBMountPoint without TemporaryFolder.

> See here:
> 
> https://pypi.org/project/Products.Sessions/
> 
> "The default session support under Zope 2 relied on Products.TemporaryFolder
>  for storing session data, which in turn used the tempstorage package.
>  tempstorage is no longer recommended because it has unfixed and possibly
>  unfixable issues under Zope 4 that lead to corrupted temporary storages.“

This is only the case when using tempstorage, a RAM based storage 
implementation.
You could also configure an additional ZODB for the server side session data 
and mount it instead of using Products.TemporaryFolder.
This makes server side sessions persistent between restarts.

> Also, for me this means installing 8 Products after installing Zope with pip:
> Sessions, ExternalMethod, PythonScripts, ZSQLMethods, ZMySQLDA, MailHost,
> TemporaryFolder, SiteErrorLog.

That’s right, some Products were part of Zope2 or install dependencies.
Zope 4 is a but more lightweight. So you have to install the Products you need.

> Would the standard zc.buildout install already contain some of those?

No, you have to add them to buildout.cfg.

> I somehow got attached to the pip way over the years but maybe I should
> really switch.

If you know how to use pip: It’s okay to use it.
I personally find Buildout more convenient.

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4 migration

2019-12-12 Thread Michael Brunnbauer

Hello Michael,

On Thu, Dec 12, 2019 at 07:42:21AM +0100, Michael Howitz wrote:
> This means you have to install some packages (how to do this depends on your 
> installation variant.)
> 
> ZODBMountPoint.MountedObject lives in the package Products.TemporaryFolder.
> The SiteErrorLog lives in Products.SiteErrorLog.

Thank you very much for your help. I have some reservations about installing
Products.TemporaryFolder. See here:

 https://pypi.org/project/Products.Sessions/

 "The default session support under Zope 2 relied on Products.TemporaryFolder
  for storing session data, which in turn used the tempstorage package. 
  tempstorage is no longer recommended because it has unfixed and possibly 
  unfixable issues under Zope 4 that lead to corrupted temporary storages."

Also, for me this means installing 8 Products after installing Zope with pip:
Sessions, ExternalMethod, PythonScripts, ZSQLMethods, ZMySQLDA, MailHost,
TemporaryFolder, SiteErrorLog.

Would the standard zc.buildout install already contain some of those?
I somehow got attached to the pip way over the years but maybe I should
really switch.

> The documentation says to use virtualenv instead of venv on Python 2.7, see
> https://zope.readthedocs.io/en/4.x/INSTALL.html#built-in-standard-buildout-configuration

Can't remember seeing that note yesterday :-) In any case - thanks!

Regards,

Michael Brunnbauer

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail bru...@netestate.de
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel


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


Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Howitz
Am 11.12.2019 um 14:03 schrieb Michael Brunnbauer :
[…]
> I did not mention zodbupdate, only zodbverify. Should I use zodbupdate
> even in the step from Zope 2 to 4 with Python 2?

Best practice is to follow the upgrade steps described in the documentation.
Do not experiment with other ways unless you exactly know what you are doing.
If you have questions or the described way does not work, post to this list or 
open an issue in https://github.com/zopefoundation/Zope/issues.

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Howitz
Hi Michael,

Am 11.12.2019 um 12:42 schrieb Michael Brunnbauer :
[…]
> I have started looking into Zope 4. The recommended way to install it is to
> use zc.buildout:
> 
> python3.7 -m venv .
> bin/pip install -U pip zc.buildout
> bin/buildout
> 
> Python 2 does not have a venv module and the recommended way to migrate is to
> first migrate to Zope 4 with Python 2.

That’s right. See https://zope.readthedocs.io/en/4.x/zope4/migration/index.html 
for detailed information.

> Does the buildout thing work with Python 2?

The documentation says to use virtualenv instead of venv on Python 2.7, see
https://zope.readthedocs.io/en/4.x/INSTALL.html#built-in-standard-buildout-configuration

> I managed to install Zope 4 using pip and get an instance running with
> runwsgi. Now I am wondering how to stop it? How am I supposed to stop a
> running instance? There seems to be no command and no option in the GUI.

When using plain Zope Ctrl-C on the command line should be enough.
There is no button in the UI any more because the web server is no longer part 
of Zope itself. Instead you are able to use a WSGI server of your choice.
See https://zope.readthedocs.io/en/4.x/wsgi.html#choosing-wsgi-server-software 
for recommandations and example configurations.

--
Mit herzlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Howitz
Am 11.12.2019 um 13:44 schrieb Michael Brunnbauer :
[…]
> It works but zodbverify seems to complain about more than it should:
> 
> Found 4 records that could not be loaded.
> Exceptions and how often they happened:
> ImportError: No module named ZODBMountPoint.MountedObject: 1
> ImportError: No module named SiteErrorLog.SiteErrorLog: 2
> ImportError: No module named Product: 1

This means you have to install some packages (how to do this depends on your 
installation variant.)

ZODBMountPoint.MountedObject lives in the package Products.TemporaryFolder.
The SiteErrorLog lives in Products.SiteErrorLog.


--
Mit herzlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
_______
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer

Hello Jürgen,

On Wed, Dec 11, 2019 at 12:47:13PM +, Jürgen Gmach wrote:
> So, how did you start Zope?

../4.1.3/bin/runwsgi -v etc/zope.ini

(my instance home is outside the virtual environment I installed Zope in)

I suppose I can send a signal to runwsgi to shut it down properly but which one?

> As an advice - this list ist extremely low traffic, and I do not know how 
> many Zope developers still read it.

OK. What's the scope of this list? Am I also off topic?

> There are two places where you usually get answers

I'll try it there for further questions.

> or concerning your other question about zodbupdate at 
> https://github.com/zopefoundation/zodbupdate

I did not mention zodbupdate, only zodbverify. Should I use zodbupdate
even in the step from Zope 2 to 4 with Python 2?

Regards,

Michael Brunnbauer

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail bru...@netestate.de
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel


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


Re: [Zope] Zope 4 migration

2019-12-11 Thread Jürgen Gmach
Hi Michael,

we are all in the same boat with migrating old projects.

Although there is some pain, I am very happy that Zope is kept alive. Imagine 
you had to rewrite all Zope based applications from scratch.

There was an enormous effort from both the Zope and the Plone community to port 
it to Python 3.

In Python 2 you would use the `virtualenv` command to create a virtual 
environment
https://virtualenv.pypa.io/en/latest/

And yes, you can deploy Zope on Python 2 with buildout - that's how I run my 
app currently.

>I managed to install Zope 4 using pip and get an instance running with
>runwsgi. Now I am wondering how to stop it? How am I supposed to stop a
>running instance? There seems to be no command and no option in the GUI.

So, how did you start Zope?


As an advice - this list ist extremely low traffic, and I do not know how many 
Zope developers still read it.

There are two places where you usually get answers:
Either visit the Plone forum https://community.plone.org/ -> tag your question 
with "Zope"
or directly ask a question at github, for Zope e.g. 
https://github.com/zopefoundation/Zope
or concerning your other question about zodbupdate at 
https://github.com/zopefoundation/zodbupdate

I'd go for the community forum first (except you think you found a bug).

Best,
Jürgen
_______
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer

hi all,

u disregard that one - the ZMI is at /manage of course :-)

It works but zodbverify seems to complain about more than it should:

 Found 4 records that could not be loaded.
 Exceptions and how often they happened:
 ImportError: No module named ZODBMountPoint.MountedObject: 1
 ImportError: No module named SiteErrorLog.SiteErrorLog: 2
 ImportError: No module named Product: 1

Regards,

Michael Brunnbauer

On Wed, Dec 11, 2019 at 01:18:20PM +0100, Michael Brunnbauer wrote:
> 
> hi all,
> 
> I made a first test with Zope 4 under Python 2 and my old ZODB. I followed
> the instruction to delete all objects in the Products folder and pack the ZODB
> with Zope 2:
> 
>  
> https://zope.readthedocs.io/en/latest/migrations/zope4/zodb.html#delete-zodb-objects-that-no-longer-exist-under-zope-4
> 
> Then I shut down the old Zope and copied the Data.fs* files to Zope 4. 
> Now on calling http://hostname:8080 in my browser (the ZMI), I get:
> 
>  Error Type: KeyError
>  Error Value: zope_quick_start
> 
> Am I missing something here? My old Zope is still 2.13.27 and not 2.13.29 but
> I can't find anything in the Changelog hinting that this could be relevant.
> 
> Regards,
> 
> Michael Brunnbauer
> 
> On Wed, Dec 11, 2019 at 12:42:04PM +0100, Michael Brunnbauer wrote:
> > 
> > hi all,
> > 
> > Python 2 is nearing end of life and the next weeks will be a horrible time
> > of migration and swearing for me. I will simply abandon many old 
> > projects and websites but there is still a lot to do.
> > 
> > I have started looking into Zope 4. The recommended way to install it is to
> > use zc.buildout:
> > 
> >  python3.7 -m venv .
> >  bin/pip install -U pip zc.buildout
> >  bin/buildout
> > 
> > Python 2 does not have a venv module and the recommended way to migrate is 
> > to
> > first migrate to Zope 4 with Python 2. Does the buildout thing work with
> > Python 2?
> > 
> > I managed to install Zope 4 using pip and get an instance running with
> > runwsgi. Now I am wondering how to stop it? How am I supposed to stop a
> > running instance? There seems to be no command and no option in the GUI.
> > 
> > Regards,
> > 
> > Michael Brunnbauer
> > 
> > -- 
> > ++  Michael Brunnbauer
> > ++  netEstate GmbH
> > ++  Geisenhausener Straße 11a
> > ++  81379 München
> > ++  Tel +49 89 32 19 77 80
> > ++  Fax +49 89 32 19 77 89 
> > ++  E-Mail bru...@netestate.de
> > ++  https://www.netestate.de/
> > ++
> > ++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
> > ++  USt-IdNr. DE221033342
> > ++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
> > ++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
> 
> 
> 
> -- 
> ++  Michael Brunnbauer
> ++  netEstate GmbH
> ++  Geisenhausener Straße 11a
> ++  81379 München
> ++  Tel +49 89 32 19 77 80
> ++  Fax +49 89 32 19 77 89 
> ++  E-Mail bru...@netestate.de
> ++  https://www.netestate.de/
> ++
> ++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
> ++  USt-IdNr. DE221033342
> ++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
> ++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel



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


-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail bru...@netestate.de
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel


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


Re: [Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer

hi all,

I made a first test with Zope 4 under Python 2 and my old ZODB. I followed
the instruction to delete all objects in the Products folder and pack the ZODB
with Zope 2:

 
https://zope.readthedocs.io/en/latest/migrations/zope4/zodb.html#delete-zodb-objects-that-no-longer-exist-under-zope-4

Then I shut down the old Zope and copied the Data.fs* files to Zope 4. 
Now on calling http://hostname:8080 in my browser (the ZMI), I get:

 Error Type: KeyError
 Error Value: zope_quick_start

Am I missing something here? My old Zope is still 2.13.27 and not 2.13.29 but
I can't find anything in the Changelog hinting that this could be relevant.

Regards,

Michael Brunnbauer

On Wed, Dec 11, 2019 at 12:42:04PM +0100, Michael Brunnbauer wrote:
> 
> hi all,
> 
> Python 2 is nearing end of life and the next weeks will be a horrible time
> of migration and swearing for me. I will simply abandon many old 
> projects and websites but there is still a lot to do.
> 
> I have started looking into Zope 4. The recommended way to install it is to
> use zc.buildout:
> 
>  python3.7 -m venv .
>  bin/pip install -U pip zc.buildout
>  bin/buildout
> 
> Python 2 does not have a venv module and the recommended way to migrate is to
> first migrate to Zope 4 with Python 2. Does the buildout thing work with
> Python 2?
> 
> I managed to install Zope 4 using pip and get an instance running with
> runwsgi. Now I am wondering how to stop it? How am I supposed to stop a
> running instance? There seems to be no command and no option in the GUI.
> 
> Regards,
> 
> Michael Brunnbauer
> 
> -- 
> ++  Michael Brunnbauer
> ++  netEstate GmbH
> ++  Geisenhausener Straße 11a
> ++  81379 München
> ++  Tel +49 89 32 19 77 80
> ++  Fax +49 89 32 19 77 89 
> ++  E-Mail bru...@netestate.de
> ++  https://www.netestate.de/
> ++
> ++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
> ++  USt-IdNr. DE221033342
> ++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
> ++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel



-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail bru...@netestate.de
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel


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


[Zope] Zope 4 migration

2019-12-11 Thread Michael Brunnbauer

hi all,

Python 2 is nearing end of life and the next weeks will be a horrible time
of migration and swearing for me. I will simply abandon many old 
projects and websites but there is still a lot to do.

I have started looking into Zope 4. The recommended way to install it is to
use zc.buildout:

 python3.7 -m venv .
 bin/pip install -U pip zc.buildout
 bin/buildout

Python 2 does not have a venv module and the recommended way to migrate is to
first migrate to Zope 4 with Python 2. Does the buildout thing work with
Python 2?

I managed to install Zope 4 using pip and get an instance running with
runwsgi. Now I am wondering how to stop it? How am I supposed to stop a
running instance? There seems to be no command and no option in the GUI.

Regards,

Michael Brunnbauer

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail bru...@netestate.de
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel


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


[Zope] Announcement: Zope 4.1.2 released

2019-09-04 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.1.2.

This release is the last one before opening the master branch for Zope 5 
development.
(Zope 5 means dropping Python 2.7 support, thus only supporting Python 3.)

The 4.1.2 release contains only a few changes like:

* resurrect the ZMI History tab and functionality


For details of the changes see 
https://zope.readthedocs.io/en/latest/changes.html#id1

To install the new version see 
https://zope.readthedocs.io/en/latest/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope 4.1.2 released

2019-09-04 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.1.2.

This release is the last one before opening the master branch for Zope 5 
development.
(Zope 5 means dropping Python 2.7 support, thus only supporting Python 3.)

The 4.1.2 release contains only a few changes like:

* resurrect the ZMI History tab and functionality


For details of the changes see 
https://zope.readthedocs.io/en/latest/changes.html#id1

To install the new version see 
https://zope.readthedocs.io/en/latest/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 4.1.1 released

2019-07-02 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.1.1.

It is a bugfix release with the following changes:

* fixed the ZMI for non-root deployments.
* document the zope.conf parameters directly from its schema
* update to more current dependencies

For details of the changes see
https://zope.readthedocs.io/en/latest/changes.html#id1


To install the new version see
https://zope.readthedocs.io/en/latest/INSTALL.html

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope2.13.29 issue: WARNING Application Duplicate Product name: After loading Product...

2019-06-19 Thread Michael Howitz
Hi Giampiero,

Am 18.06.2019 um 11:30 schrieb Giampiero Benvenuti 
:
> Hello everybody,
> 
> I just installed zope2.13.29 following the instruction here:
> https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html
> 
> when I ./bin/zopectl fg
> I get:
> WARNING Application Duplicate Product name: After loading Product * from 
> /home/giampiero/zope2.13.29/local/lib/python2.7/site-packages/Products,  I 
> skipped the one in 
> '/home/giampiero/zope2.13.29/lib/python2.7/site-packages/Products
> 
> It’s a fact that all the products are installed in both directories:
> zope2.13.29/local/lib/python2.7/site-packages/Products
> and
> zope2.13.29/lib/python2.7/site-packages/Products
> 
> How should I go with it? Should I leave it as it is, or should I do something 
> about it? If so what would you recommend?

Currently it looks a bit messed up. (Not sure how you got there, the 
installation documentation does not seem to mention „local“.)
I’d suggest to delete either zope2.13.29/local or zope2.13.29/lib as this 
probably will confuse you in the future when changing or updating packages.

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 4.0 successful installation- still missing editing features

2019-06-19 Thread Jürgen Gmach

Hi Giampiero,


Am I missing something? Do I have any other alternative of editing the
files trough ZMI?


while I would generally recommend a separate development and production 
environment, if you want to edit files on a server, you can always ssh 
into the server and use an editor like vim.


Also, VS Code supports remote development, that is you run VS Code on 
your local desktop or laptop and you can edit the code on the server, 
see

https://code.visualstudio.com/docs/remote/remote-overview

Best,
--
Jürgen Gmach . juergen.gm...@apis.de . +49 9482 941545
APIS Informationstechnologien GmbH . https://www.apis.de
Gewerbepark A 13, 93086 Wörth/Donau . Deutschland
Sitz der GmbH: Wörth/Donau, Amtsgericht Regensburg (HRB 6684)
Geschäftsführer: Julia Anna Dietz, Jürgen Eilers, Peter Rosenbeck
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 4.1 released

2019-06-19 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.1.

It is a combined release containing features and bug fixes, such as:

* bring back ZODB packing to the ZMI
* optionally control the use of Zope’s built-in XML-RPC support for POST 
requests with Content-Type text/xml via the registration of a 
ZPublisher.interfaces.IXmlrpcChecker utility
* `allowed_attributes` and `allowed_interface` work again for BrowserViews.
* fix missing Paste distribution on installation using pip
* prevent encoding issues in existing DTML Method and DTML Document objects.
* update and fix the documentation
* many bug fixes.

For details of the changes see 
https://zope.readthedocs.io/en/latest/changes.html#id1

To install the new version see 
https://zope.readthedocs.io/en/latest/INSTALL.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] zope2.13.29 issue: WARNING Application Duplicate Product name: After loading Product...

2019-06-18 Thread Giampiero Benvenuti
Hello everybody,

I just installed zope2.13.29 following the instruction here:
https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html

when I ./bin/zopectl fg
I get: 
WARNING Application Duplicate Product name: After loading Product * from 
/home/giampiero/zope2.13.29/local/lib/python2.7/site-packages/Products,  I 
skipped the one in 
'/home/giampiero/zope2.13.29/lib/python2.7/site-packages/Products

It’s a fact that all the products are installed in both directories: 
zope2.13.29/local/lib/python2.7/site-packages/Products
and 
zope2.13.29/lib/python2.7/site-packages/Products

How should I go with it? Should I leave it as it is, or should I do something 
about it? If so what would you recommend?

Thanks so much in advance for your help.

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


Re: [Zope] Zope 4.0 successful installation- still missing editing features

2019-06-17 Thread Michael Howitz
Hi Giampiero,

Am 17.06.2019 um 14:49 schrieb Giampiero Benvenuti 
:
[…]
> Am I missing something? Do I have any other alternative of editing the files 
> trough ZMI?

The bad news is: Currently Zope 4 on Python 3 neither supports WebDAV nor FTP 
but the ZMI got a nicer editor for text areas which contain program code.

Currently the Plone Community is working on porting ZServer to Python 3 (see 
https://github.com/zopefoundation/ZServer/issues/16).
This might bring back both.

The feature request for FTP and/or WebDAV in Zope is tracked here: 
https://github.com/zopefoundation/Zope/issues/649

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 4.0 successful installation- still missing editing features

2019-06-17 Thread Giampiero Benvenuti
Hi there,

I’m very happy with my new installation of zope4.0. /python3
The only glitch found was with the paste module.
That was easy to take care of with /bin/pip install paste.

Installing other products was very smooth:
/bin/pip install Products.PythonScripts
/bin/pip install Products.ZMySQLDA
/bin/pip install Products.ExternalMethod
/bin/pip install Pillow

Now, the only missing part of the puzzle is a tool to make it easier the 
editing of the files, python script, page templates etc... 

How can I take care of this issue?
Reading the documentation, I found that is not possible to access the files 
trough webdav, ftp or external editor because I would need ZServer and ZServer 
doesn't work with python3.

Am I missing something? Do I have any other alternative of editing the files 
trough ZMI?

All my bests to all of you and thanks for your help.


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


Re: [Zope] Zone 4 issue: The 'Paste' distribution was not found and is required by the application

2019-06-17 Thread Michael Howitz
Am 14.06.2019 um 17:12 schrieb Giampiero Benvenuti 
:
> Thanks Jens & Alberto,
> 
> you right, I guess the paste version was not up to date:

Hm,

the problem smells like https://github.com/zopefoundation/Zope/issues/452
and Paste is actually missing from requirements-full.txt

Last time I was not able to reproduce the issue.
But today it was possible.
So I am going to reopen the issue.

Paste is needed because `etc/zope.ini` uses egg:Paste#translogger


> 
> ./bin/pip install paste
> Collecting paste
>  Using cached 
> https://files.pythonhosted.org/packages/fc/8e/287533a1515f2e9eaf34be06f35e8f170d0cb625a2ada2c5e41c0b9ae1e5/Paste-3.0.8-py2.py3-none-any.whl
> Requirement already satisfied: six>=1.4.0 in ./lib/python3.6/site-packages 
> (from paste) (1.12.0)
> Installing collected packages: paste
> Successfully installed paste-3.0.8
> 
> ./bin/runwsgi -v etc/zope.ini
> Starting server in PID 3172.
> Serving on http://localhost:8080
> 
> 
> Zope4.0 it’s now up and running!
> 
>> On 14 Jun 2019, at 16:34 48, Jens Vagelpohl  wrote:
>> 
>> You can run “bin/pip install Paste” in the virtualenv.
>> 
>> jens
>> 
>> 
>> 
>>> On 14. Jun 2019, at 13:46 , Giampiero Benvenuti 
>>>  wrote:
>>> 
>>> Hello,
>>> 
>>> I was wondering if somebody run into this error, and how should I take care 
>>> of it:
>>> 
>>> python3.6 -m venv zope4.0
>>> cd zope4.0
>>> bin/pip install -r 
>>> https://zopefoundation.github.io/Zope/releases/4.0/requirements-full.txt
>>> bin/mkwsgiinstance -d .
>>> bin/runwsgi -v etc/zope.ini
>>> 
>>> Error:
>>> File 
>>> "/Applications/zope4.0/lib/python3.6/site-packages/pkg_resources/__init__.py",
>>>  line 778, in resolve
>>> raise DistributionNotFound(req, requirers)
>>> pkg_resources.DistributionNotFound: The 'Paste' distribution was not found 
>>> and is required by the application
>>> 
>>> Any idea?
>>> 
>>> Thanks so much,
>>> 
>>> Giampiero
>>> ___
>>> Zope maillist  -  Zope@zope.org
>>> https://mail.zope.org/mailman/listinfo/zope
>>> **   No cross posts or HTML encoding!  **
>>> (Related lists -
>>> https://mail.zope.org/mailman/listinfo/zope-announce
>>> https://mail.zope.org/mailman/listinfo/zope-dev )
>> 
>> ___
>> Zope maillist  -  Zope@zope.org
>> https://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>> https://mail.zope.org/mailman/listinfo/zope-announce
>> https://mail.zope.org/mailman/listinfo/zope-dev )
> 
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )

--
Mit herzlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Announcement: Zope 4.0-final released

2019-06-14 Thread Jens Vagelpohl
No. You will need to do extensive testing of your application  

jens


> On Jun 14, 2019, at 16:50, Jesus Cea  wrote:
> 
>> On 10/5/19 14:48, Michael Howitz wrote:
>> On behalf of Zope developer community I am happy to announce the
>> final release of Zope 4.
> 
> Great!.
> 
> Am I supposed to be able to just upgrade a Zope 2.13.29 deployment to
> 4.0 without with little if any worries? I will use python 2.7 for now.
> 
> My plan is:
> 
> Python 2.7 + Zope 2 -> Python 2.7 + zope 4 -> (future) -> Python 3
> 
> Is that sensible?.
> 
> -- 
> Jesús Cea Avión _/_/  _/_/_/_/_/_/
> j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
> Twitter: @jcea_/_/_/_/  _/_/_/_/_/
> jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
> "Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> 
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )

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


Re: [Zope] Zone 4 issue: The 'Paste' distribution was not found and is required by the application

2019-06-14 Thread Giampiero Benvenuti
Thanks Jens & Alberto,

you right, I guess the paste version was not up to date:

./bin/pip install paste
Collecting paste
  Using cached 
https://files.pythonhosted.org/packages/fc/8e/287533a1515f2e9eaf34be06f35e8f170d0cb625a2ada2c5e41c0b9ae1e5/Paste-3.0.8-py2.py3-none-any.whl
Requirement already satisfied: six>=1.4.0 in ./lib/python3.6/site-packages 
(from paste) (1.12.0)
Installing collected packages: paste
Successfully installed paste-3.0.8

./bin/runwsgi -v etc/zope.ini
Starting server in PID 3172.
Serving on http://localhost:8080


Zope4.0 it’s now up and running!

> On 14 Jun 2019, at 16:34 48, Jens Vagelpohl  wrote:
> 
> You can run “bin/pip install Paste” in the virtualenv.
> 
> jens
> 
> 
> 
>> On 14. Jun 2019, at 13:46 , Giampiero Benvenuti 
>>  wrote:
>> 
>> Hello,
>> 
>> I was wondering if somebody run into this error, and how should I take care 
>> of it:
>> 
>> python3.6 -m venv zope4.0
>> cd zope4.0
>> bin/pip install -r 
>> https://zopefoundation.github.io/Zope/releases/4.0/requirements-full.txt
>> bin/mkwsgiinstance -d .
>> bin/runwsgi -v etc/zope.ini
>> 
>> Error:
>> File 
>> "/Applications/zope4.0/lib/python3.6/site-packages/pkg_resources/__init__.py",
>>  line 778, in resolve
>>  raise DistributionNotFound(req, requirers)
>> pkg_resources.DistributionNotFound: The 'Paste' distribution was not found 
>> and is required by the application
>> 
>> Any idea?
>> 
>> Thanks so much,
>> 
>> Giampiero
>> ___
>> Zope maillist  -  Zope@zope.org
>> https://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>> https://mail.zope.org/mailman/listinfo/zope-announce
>> https://mail.zope.org/mailman/listinfo/zope-dev )
> 
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )

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


Re: [Zope] Announcement: Zope 4.0-final released

2019-06-14 Thread Jesus Cea
On 10/5/19 14:48, Michael Howitz wrote:
> On behalf of Zope developer community I am happy to announce the
> final release of Zope 4.

Great!.

Am I supposed to be able to just upgrade a Zope 2.13.29 deployment to
4.0 without with little if any worries? I will use python 2.7 for now.

My plan is:

Python 2.7 + Zope 2 -> Python 2.7 + zope 4 -> (future) -> Python 3

Is that sensible?.

-- 
Jesús Cea Avión _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz



signature.asc
Description: OpenPGP digital signature
_______
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zone 4 issue: The 'Paste' distribution was not found and is required by the application

2019-06-14 Thread Jens Vagelpohl
You can run “bin/pip install Paste” in the virtualenv.

jens



> On 14. Jun 2019, at 13:46 , Giampiero Benvenuti 
>  wrote:
> 
> Hello,
> 
> I was wondering if somebody run into this error, and how should I take care 
> of it:
> 
> python3.6 -m venv zope4.0
> cd zope4.0
> bin/pip install -r 
> https://zopefoundation.github.io/Zope/releases/4.0/requirements-full.txt
> bin/mkwsgiinstance -d .
> bin/runwsgi -v etc/zope.ini
> 
> Error:
> File 
> "/Applications/zope4.0/lib/python3.6/site-packages/pkg_resources/__init__.py",
>  line 778, in resolve
>   raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'Paste' distribution was not found 
> and is required by the application
> 
> Any idea?
> 
> Thanks so much,
> 
> Giampiero
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zone 4 issue: The 'Paste' distribution was not found and is required by the application

2019-06-14 Thread Giampiero Benvenuti
Hello,

I was wondering if somebody run into this error, and how should I take care of 
it:

python3.6 -m venv zope4.0
cd zope4.0
bin/pip install -r 
https://zopefoundation.github.io/Zope/releases/4.0/requirements-full.txt
bin/mkwsgiinstance -d .
bin/runwsgi -v etc/zope.ini

Error:
  File 
"/Applications/zope4.0/lib/python3.6/site-packages/pkg_resources/__init__.py", 
line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Paste' distribution was not found and 
is required by the application

Any idea?

Thanks so much,

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


Re: [Zope] Change "/manage" name of URL for accessing ZMI

2019-06-10 Thread Michael Howitz
Am 08.06.2019 um 18:19 schrieb Christophe Petit :
> Hello,
> 
> is there a way to change the name 'manage' in URL (like 
> "http://localhost:8080/manage;) that is currently used for access of ZMI on 
> Zope3
> and replace it by another chosen name ?

The short answer is: no.

The longer one is: `/manage` is a path used in Zope 2 and Zope 4, but not in 
Zope 3.
It is baked into the application server.

You might use a front side proxy (like Apache or nginx) to use a different path 
to point to `/manage`.
If you only want to restrict access to the ZMI see the Plone documentation for 
details.
https://docs.plone.org/manage/deploying/production/securitybestpractices.html#lock-down-access-to-your-management-components

If you are actually using Zope 3 you might re-register the view to another name 
while using a custom skin layer.

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Change "/manage" name of URL for accessing ZMI

2019-06-08 Thread Christophe Petit
Hello,

is there a way to change the name 'manage' in URL (like
"http://localhost:8080/manage ") that is currently used for access of
ZMI on
Zope3
and replace it by another chosen name ?

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


Re: [Zope] Announcement: Zope 4.0-final released

2019-05-10 Thread Jürgen Gmach

Am 2019-05-10 14:48, schrieb Michael Howitz:

To install the new version see the instructions for
either zc.buildout: 
http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
or virtualenv/pip: 
http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html

or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


There is a new URL for the installation documentation:
https://zope.readthedocs.io/en/latest/INSTALL.html

--
Jürgen Gmach . juergen.gm...@apis.de . +49 9482 941545
APIS Informationstechnologien GmbH . https://www.apis.de
Gewerbepark A 13, 93086 Wörth/Donau . Deutschland
Sitz der GmbH: Wörth/Donau, Amtsgericht Regensburg (HRB 6684)
Geschäftsführer: Julia Anna Dietz, Jürgen Eilers, Peter Rosenbeck
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Announcement: Zope 4.0-final released

2019-05-10 Thread Jens Vagelpohl

> On 10. May 2019, at 7:48 , Michael Howitz  wrote:
> 
> 
> To install the new version see the instructions for
> either zc.buildout: http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
> or virtualenv/pip: 
> http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html
> or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


CORRECTION: The installation documentation is at 
https://zope.readthedocs.io/en/latest/INSTALL.html


jens





signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 4.0-final released

2019-05-10 Thread Michael Howitz
On behalf of Zope developer community I am happy to announce the
final release of Zope 4.

This release contains:

* no breaking changes since 4.0b10
* some features (e. g. the resurrection of the ZMI interfaces tab) and
* many bug fixes.
* the happiness of being final now

For details of the changes see
https://zope.readthedocs.io/en/latest/changes.html#id1


Thank you everyone who helped to bring Zope such a long way behind the
border into the Python 3 wonderland.
See https://blog.gocept.com/2019/05/10/celebration-zope-4-final-release/
for some more details.


To install the new version see the instructions for
either zc.buildout: http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
or virtualenv/pip: http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html
or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope 4.0-final released

2019-05-10 Thread Michael Howitz
On behalf of Zope developer community I am happy to announce the
final release of Zope 4.

This release contains:

* no breaking changes since 4.0b10
* some features (e. g. the resurrection of the ZMI interfaces tab) and
* many bug fixes.
* the happiness of being final now

For details of the changes see
https://zope.readthedocs.io/en/latest/changes.html#id1


Thank you everyone who helped to bring Zope such a long way behind the
border into the Python 3 wonderland.
See https://blog.gocept.com/2019/05/10/celebration-zope-4-final-release/
for some more details.


To install the new version see the instructions for
either zc.buildout: http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
or virtualenv/pip: http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html
or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 4.0b10 released

2019-03-08 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the
release of Zope 4.0b10.

This release contains:

* no breaking changes
* some features (e. g. supporting standard_error_message again) and
* many bug fixes.

For details of the changes see
https://github.com/zopefoundation/Zope/blob/master/CHANGES.rst#40b10-2019-03-08


To install the new version see the instructions for
either zc.buildout: http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
or virtualenv/pip: http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html
or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope 4.0b10 released

2019-03-08 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the
release of Zope 4.0b10.

This release contains:

* no breaking changes
* some features (e. g. supporting standard_error_message again) and
* many bug fixes.

For details of the changes see
https://github.com/zopefoundation/Zope/blob/master/CHANGES.rst#40b10-2019-03-08


To install the new version see the instructions for
either zc.buildout: http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
or virtualenv/pip: http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html
or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


--
Mit freundlichen Grüßen
Michael Howitz


signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Plans for Zope 2 after Python 2.7 deadline

2019-02-14 Thread Michael Howitz
Hi Jesus,

Am 13.02.2019 um 00:27 schrieb Jesus Cea :
> With less than a year away until Python 2.7 becomes "deadware", I wonder
> about the plan.

I am currently maintaining the Zope releases, so the plan currently looks like 
the following:

* Zope 2.13 gets security fixes and maybe contributed bugfixes as long as there 
is a Plone version which supports it.
  The last Plone version supporting Zope 2.13 is Plone 5.1. Currently the last 
two major releases of Plone are officially supported.
  So with the final release of Plone 7 there is no more need for Zope 2.13 
support. (Plone 5.2 is going to its beta stage now.)

* Zope 4 is the successor of Zope 2.13 supporting both Python 2.7 and Python 3.
  I plan to have a final release this year. Zope 4 is already stable enough to 
use it. union.cms is running live on Zope 4.0b8 for a quite large installation.

* Zope 4 will not be a long-term supported release. We are planning to start 
working on Zope 5 in 2020. Zope 5 will drop Python 2 support and deprecated 
functions and imports.
  This means the code in Zope which is currently needed to support Python 2 
will be removed, so it actually cannot be run on Python 2 at all.

* So Zope 4 is the release to should jump on to get the train to Zope 5 and to 
al long-term supported release running on Python 3.

I think a should write this thoughts into a blog post, maybe this will reach a 
broader audience.

--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Announcement: Zope2 2.13.29 released

2019-02-14 Thread Michael Howitz
Hi Jesus,

Am 13.02.2019 um 00:40 schrieb Jesus Cea :
> In <https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html> there
> are references to Zope2 2.13.28. Those should be changed to "Zope2- version>", like in the buildout documentation.
> 
> Zope2 2.13.29 working fine here, so far.

Thank you for bringing this up.
It was fixed in https://github.com/zopefoundation/Zope/pull/500.


--
Mit freundlichen Grüßen
Michael Howitz



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Plans for Zope 2 after Python 2.7 deadline

2019-02-13 Thread Jürgen Gmach

Hi Jesus,

maybe you are not aware of it, but Zope 4 runs both on Python 2.7 and 
3.4+.


So, the recommended upgrade path would be something like this:
- update to the latest 2.13 version
- update to Zope 4 on Python 2
- update to Zope 4 on Python 3 (which makes ZODB conversion necessary)

I do not think there are fixed dates when support for old versions get 
dropped - ususally the Zope support is coupled to the Plone support - so 
if any supported Plone version needs a special Zope version, Zope gets 
supported.


You are definitely not on your own. There are Zope 4 sprints hosted by 
gocept (Halle/Saale, Germany), where you could take part, both 
contribute and learn about what to do. The next one is in May.

https://twitter.com/gocept/status/1082200091199524864

Also, if you cannot do the upgrade yourself, there are some companies 
out there which can do that for you.


There is quite some information out there about upgrade paths for Python 
software in general, but also especially for the Zope/Plone context 
(blog of gocept.net, starzel.de, https://zope.readthedocs.io/en/latest/


There are only so and so many Zope developers out there, so I would not 
bet on a long term maintenance of 2.13.


--
Jürgen Gmach . juergen.gm...@apis.de . +49 9482 941545
APIS Informationstechnologien GmbH . https://www.apis.de
Gewerbepark A 13, 93086 Wörth/Donau . Deutschland
Sitz der GmbH: Wörth/Donau, Amtsgericht Regensburg (HRB 6684)
Geschäftsführer: Julia Anna Dietz, Jürgen Eilers, Peter Rosenbeck
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Plans for Zope 2 after Python 2.7 deadline

2019-02-12 Thread Simon Michael

On 2/12/19 3:27 PM, Jesus Cea wrote:

With less than a year away until Python 2.7 becomes "deadware", I wonder
about the plan.

I am using Zope 2.13 under Python 2.7. Huge sites with ZODB sizes in the
multi gigabyte range. A handful of custom classes I could rewrite in
Python 3 if needed.

Is there any best practices I should be aware/follow to survive after
Python 2.7 demise?. How long will be Zope2 2.13 be alive after that?.
What about migration plans to Zope 4?

Of course, I know that Python 2.7 interpreter will not suddenly die 1st
January 2020. Just wondering if there is a ZOPE roadmap migration or if
it will be a procedure each of us will need to overcome alone.

Thanks for like 22 years of great service, so far :). That is very
appreciated, whatever happens.



Hear hear!

Zope2 still running merrily at http://zwiki.org , for what it's worth. 
(Zope 2.13.5, python 2.6.6)


Best,
-Simon


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


[Zope] Plans for Zope 2 after Python 2.7 deadline

2019-02-12 Thread Jesus Cea
With less than a year away until Python 2.7 becomes "deadware", I wonder
about the plan.

I am using Zope 2.13 under Python 2.7. Huge sites with ZODB sizes in the
multi gigabyte range. A handful of custom classes I could rewrite in
Python 3 if needed.

Is there any best practices I should be aware/follow to survive after
Python 2.7 demise?. How long will be Zope2 2.13 be alive after that?.
What about migration plans to Zope 4?

Of course, I know that Python 2.7 interpreter will not suddenly die 1st
January 2020. Just wondering if there is a ZOPE roadmap migration or if
it will be a procedure each of us will need to overcome alone.

Thanks for like 22 years of great service, so far :). That is very
appreciated, whatever happens.

Thanks.

-- 
Jesús Cea Avión _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz



signature.asc
Description: OpenPGP digital signature
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Announcement: Zope2 2.13.29 released

2019-02-12 Thread Jesus Cea
On 9/2/19 19:04, Michael Howitz wrote:
> On behalf of Zope developer community I am pleased to announce the
> release of Zope2 2.13.29.

Thanks for your work. Much appreciated.
> To install the new version see the instructions for
> either zc.buildout: https://zope.readthedocs.io/en/2.13/INSTALL-buildout.html
> or virtualenv: https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html

In <https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html> there
are references to Zope2 2.13.28. Those should be changed to "Zope2-", like in the buildout documentation.

Zope2 2.13.29 working fine here, so far.

Thanks!.

-- 
Jesús Cea Avión _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz



signature.asc
Description: OpenPGP digital signature
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope2 2.13.29 released

2019-02-09 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the
release of Zope2 2.13.29.

This release contains a security related fix and two new features.
Additionally it drops support for Python 2.6. This means it is no longer tested 
from now on.

See details at
https://github.com/zopefoundation/Zope/blob/2.13/doc/CHANGES.rst#21329-2019-02-09

To install the new version see the instructions for
either zc.buildout: https://zope.readthedocs.io/en/2.13/INSTALL-buildout.html
or virtualenv: https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html


--
Mit herzlichen Grüßen
Michael Howitz




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Announcement: Zope2 2.13.29 released

2019-02-09 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the
release of Zope2 2.13.29.

This release contains a security related fix and two new features.
Additionally it drops support for Python 2.6. This means it is no longer tested 
from now on.

See details at
https://github.com/zopefoundation/Zope/blob/2.13/doc/CHANGES.rst#21329-2019-02-09

To install the new version see the instructions for
either zc.buildout: https://zope.readthedocs.io/en/2.13/INSTALL-buildout.html
or virtualenv: https://zope.readthedocs.io/en/2.13/INSTALL-virtualenv.html


--
Mit herzlichen Grüßen
Michael Howitz




signature.asc
Description: Message signed with OpenPGP
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Announcement: Zope 4.0b9 released

2019-02-09 Thread Michael Howitz
On behalf of Zope developer community I am pleased to announce the
release of Zope 4.0b9.

This release contains two breaking changes:

* Remove support for `management_page_charset`
* Remove support for Bobo Call Interface

It adds preliminary support for Python 3.8. as of 3.8.0a1 is now released.
Additionally some bugs regarding ZMI, umlauts in URLs etc. were fixed.


For details of the changes see
https://github.com/zopefoundation/Zope/blob/master/CHANGES.rst#40b9-2019-02-09


To install the new version see the instructions for
either zc.buildout: http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
or virtualenv/pip: http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html
or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


--
Mit freundlichen Grüßen
Michael Howitz




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


  1   2   3   4   5   6   7   8   9   10   >