[Checkins] [zopefoundation/Zope] d643b3: force cookies to be bytes to prevent wrapping byte...

GitHub noreply at github.com
Fri May 18 09:44:38 CEST 2018


  Branch: refs/heads/keep_existing_loggers_pr
  Home:   https://github.com/zopefoundation/Zope
  Commit: d643b3bd93d5abd21bb2a1c0f0b6ce11c2004a01
      https://github.com/zopefoundation/Zope/commit/d643b3bd93d5abd21bb2a1c0f0b6ce11c2004a01
  Author: Philip Bauer <bauer at starzel.de>
  Date:   2018-04-02 (Mon, 02 Apr 2018)

  Changed paths:
    M src/ZPublisher/HTTPResponse.py

  Log Message:
  -----------
  force cookies to be bytes to prevent wrapping bytes as text in py3 (e.g. "b'somevalue'")


  Commit: 47e5ae04760572881f414f2ad9d943dd873b9a86
      https://github.com/zopefoundation/Zope/commit/47e5ae04760572881f414f2ad9d943dd873b9a86
  Author: Philip Bauer <bauer at starzel.de>
  Date:   2018-04-03 (Tue, 03 Apr 2018)

  Changed paths:
    M src/ZPublisher/HTTPResponse.py

  Log Message:
  -----------
  do not turn cookie key to bytes in py3


  Commit: edf7fb1281ff1f19f9d810a97fdd3c94af0c86b3
      https://github.com/zopefoundation/Zope/commit/edf7fb1281ff1f19f9d810a97fdd3c94af0c86b3
  Author: David Glick <david at glicksoftware.com>
  Date:   2018-05-09 (Wed, 09 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/OFS/Cache.py
    M src/OFS/tests/testCache.py
    M tox.ini

  Log Message:
  -----------
  Make sure we only compare ints in ZCacheable_getModTime


  Commit: d15a5457be23e8ccbe29b0b0b6ce251be47bfb9e
      https://github.com/zopefoundation/Zope/commit/d15a5457be23e8ccbe29b0b0b6ce251be47bfb9e
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-05-15 (Tue, 15 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/OFS/Application.py
    M src/OFS/Cache.py
    M versions.cfg

  Log Message:
  -----------
  Merge branch 'master' into fix-ZCacheable_getModTime


  Commit: 941feb070dc80467eb0e509654fce34ff792e38a
      https://github.com/zopefoundation/Zope/commit/941feb070dc80467eb0e509654fce34ff792e38a
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-05-16 (Wed, 16 May 2018)

  Changed paths:
    A .coveragerc
    M .gitignore
    M .travis.yml
    M CHANGES.rst
    M README.rst
    R README.txt
    M buildout.cfg
    M docs/INSTALL-buildout.rst
    M docs/INSTALL-virtualenv.rst
    M docs/WHATSNEW.rst
    M docs/maintenance.rst
    M docs/operation.rst
    M requirements-full.txt
    M setup.py
    M src/OFS/Application.py
    M src/OFS/Cache.py
    M src/OFS/CopySupport.py
    M src/OFS/ObjectManager.py
    M src/OFS/tests/testCopySupport.py
    M src/OFS/tests/testObjectManager.py
    M src/OFS/tests/testProperties.py
    M src/Testing/ZopeTestCase/functional.py
    M src/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
    M src/Testing/ZopeTestCase/zopedoctest/functional.py
    M src/ZPublisher/Converters.py
    M src/ZPublisher/HTTPRequest.py
    M src/ZPublisher/WSGIPublisher.py
    M src/ZPublisher/tests/testHTTPRequest.py
    M src/ZPublisher/tests/test_Converters.py
    M tox.ini
    M versions-prod.cfg
    M versions.cfg

  Log Message:
  -----------
  Merge branch 'master' into fix_cookie_setting


  Commit: f7aff2f499fe474bbacd376c054b2abe079c9162
      https://github.com/zopefoundation/Zope/commit/f7aff2f499fe474bbacd376c054b2abe079c9162
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-05-16 (Wed, 16 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/ZPublisher/HTTPResponse.py

  Log Message:
  -----------
  Accept bytes and text as cookie values.

A cookie value is finally quoted before sending, which needs to be `str` in Python 2 and can be bytes or text in Python 3. In Python 3, a conversion would result in a string representation of bytes.


  Commit: 6c508b9cec2b08753a8f04bcf1d3936fd99303dd
      https://github.com/zopefoundation/Zope/commit/6c508b9cec2b08753a8f04bcf1d3936fd99303dd
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-05-16 (Wed, 16 May 2018)

  Changed paths:
    M src/ZPublisher/tests/testHTTPResponse.py

  Log Message:
  -----------
  Add tests for byte and text handling.


  Commit: 9ef9328fb12b76715f30ff2e4a01e6c0c699c9e9
      https://github.com/zopefoundation/Zope/commit/9ef9328fb12b76715f30ff2e4a01e6c0c699c9e9
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M bootstrap.py

  Log Message:
  -----------
  - update to latest bootstrap from zc.buildout 2.11.4


  Commit: 93ca7526738701971ea183c49c67b5aa9a13fe64
      https://github.com/zopefoundation/Zope/commit/93ca7526738701971ea183c49c67b5aa9a13fe64
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M versions.cfg

  Log Message:
  -----------
  - update to latest zc.buildout


  Commit: 01c556e78b23700eb7958d8a2bf2fb84716d660d
      https://github.com/zopefoundation/Zope/commit/01c556e78b23700eb7958d8a2bf2fb84716d660d
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  - match setuptools version from versions.cfg with tox configuration


  Commit: c3f033eb59ec151f28787fedd743ac3d7cd6bc17
      https://github.com/zopefoundation/Zope/commit/c3f033eb59ec151f28787fedd743ac3d7cd6bc17
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M CHANGES.rst
    M bootstrap.py
    M src/OFS/ObjectManager.py
    M src/OFS/tests/testObjectManager.py
    M src/ZPublisher/WSGIPublisher.py
    M versions.cfg

  Log Message:
  -----------
  Merge branch 'master' into fix-ZCacheable_getModTime


  Commit: 41869523c80081e45f227506c70e593c6cf14c08
      https://github.com/zopefoundation/Zope/commit/41869523c80081e45f227506c70e593c6cf14c08
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/OFS/Cache.py
    M src/OFS/tests/testCache.py

  Log Message:
  -----------
  Merge pull request #273 from zopefoundation/fix-ZCacheable_getModTime

Make sure we only compare ints in ZCacheable_getModTime


  Commit: 016a3f1d66a39d7a847d971ae926681815ccee1d
      https://github.com/zopefoundation/Zope/commit/016a3f1d66a39d7a847d971ae926681815ccee1d
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Zope2/utilities/skel/etc/wsgi.conf.in

  Log Message:
  -----------
  Re-add example section for how to use TemporaryFolder


  Commit: bba6eee800041d54b7ac2fe6414d889f328e0d18
      https://github.com/zopefoundation/Zope/commit/bba6eee800041d54b7ac2fe6414d889f328e0d18
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/App/ProductContext.py
    M src/OFS/Application.py

  Log Message:
  -----------
  Hand Application object to Products through ProductContext

Products receive the ProductContext as the first parameter
to their initialize() method when they are loaded. This context used to
contain a reference to the app until it was removed during Zope 4
preparations. The Application was, however, never exposed through an
API.

Access to the API is necessary for certain products that automatically
add objects to the Application when they are loaded, such as the
Products.Sessions and Products.TemporaryFolder. This used to happen in
OFS.Application in Zope 2, but was moved out when the products became
indepentent.


  Commit: 033c56908f315689b0c2e62bc27d7d506871a750
      https://github.com/zopefoundation/Zope/commit/033c56908f315689b0c2e62bc27d7d506871a750
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/OFS/Application.py

  Log Message:
  -----------
  Fix DeprecationWarning in commit message text

Zope/src/OFS/Application.py:213: DeprecationWarning: Expected text
  transaction.get().note(note)


  Commit: 25f7985a678ccd2ae072b5bd605d06d8d6f99875
      https://github.com/zopefoundation/Zope/commit/25f7985a678ccd2ae072b5bd605d06d8d6f99875
  Author: ‮rekcäH nitraM‮ <spamfaenger at gmx.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/OFS/Application.py

  Log Message:
  -----------
  Merge pull request #278 from zopefoundation/unicode-commit-message

Fix DeprecationWarning in commit message text


  Commit: b14d6c100f629fa80a11007ffde38ba39b13162c
      https://github.com/zopefoundation/Zope/commit/b14d6c100f629fa80a11007ffde38ba39b13162c
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    A src/OFS/tests/applicationproduct/__init__.py
    M src/OFS/tests/testAppInitializer.py

  Log Message:
  -----------
  Add unit test for application initialization in product


  Commit: c4f8c1ba63b93ba05c3260122bce75091c861409
      https://github.com/zopefoundation/Zope/commit/c4f8c1ba63b93ba05c3260122bce75091c861409
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Add changelog entry


  Commit: 76314d05407a4f447de8d9d03243b157fdcdaa15
      https://github.com/zopefoundation/Zope/commit/76314d05407a4f447de8d9d03243b157fdcdaa15
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/tests/testHTTPResponse.py

  Log Message:
  -----------
  Merge pull request #263 from zopefoundation/fix_cookie_setting

Allows bytes and text as cookie values.


  Commit: 89ba0e1058789b4667a1db29192ac94cc7ed5f41
      https://github.com/zopefoundation/Zope/commit/89ba0e1058789b4667a1db29192ac94cc7ed5f41
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Zope2/Startup/datatypes.py
    A src/Zope2/Startup/tests/test_datatypes.py

  Log Message:
  -----------
  Use native strings for ZODB mount points in Python 2

ZODB requires paths and identifiers to be native strings (unicode on
Py3, bytes on Py2). Since the ZConfig parser decodes the config file,
keys and valus in the will consistently be unicode. As a result, the
ZopeDatabase object needs to encode the value back to str/bytes on
Python 2.


  Commit: ba9bee707a310e8cf7d053e540df345baa5ac669
      https://github.com/zopefoundation/Zope/commit/ba9bee707a310e8cf7d053e540df345baa5ac669
  Author: ‮zlohhcuB treboR <robert.buchholz at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/App/ProductContext.py
    M src/OFS/Application.py
    A src/OFS/tests/applicationproduct/__init__.py
    M src/OFS/tests/testAppInitializer.py
    M src/Zope2/utilities/skel/etc/wsgi.conf.in

  Log Message:
  -----------
  Merge pull request #277 from zopefoundation/add_app_to_product_context

Add app to product context


  Commit: e413288411e39182a0a296a17d319b3c7ae2c667
      https://github.com/zopefoundation/Zope/commit/e413288411e39182a0a296a17d319b3c7ae2c667
  Author: ‮zlohhcuB treboR <robert.buchholz at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Zope2/Startup/datatypes.py
    A src/Zope2/Startup/tests/test_datatypes.py

  Log Message:
  -----------
  Merge pull request #281 from zopefoundation/zodb-mount-points-as-native-strings

Use native strings for ZODB mount points in Python 2


  Commit: 49d486aae26eac4649560ced3c7e42a8f4942fab
      https://github.com/zopefoundation/Zope/commit/49d486aae26eac4649560ced3c7e42a8f4942fab
  Author: Philip Bauer <bauer at starzel.de>
  Date:   2018-05-18 (Fri, 18 May 2018)

  Changed paths:
    M CHANGES.rst
    M bootstrap.py
    M src/App/ProductContext.py
    M src/OFS/Application.py
    M src/OFS/Cache.py
    A src/OFS/tests/applicationproduct/__init__.py
    M src/OFS/tests/testAppInitializer.py
    M src/OFS/tests/testCache.py
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/tests/testHTTPResponse.py
    M src/Zope2/Startup/datatypes.py
    A src/Zope2/Startup/tests/test_datatypes.py
    M src/Zope2/utilities/skel/etc/wsgi.conf.in
    M tox.ini
    M versions.cfg

  Log Message:
  -----------
  Merge branch 'master' into keep_existing_loggers_pr


Compare: https://github.com/zopefoundation/Zope/compare/655ad5fc82d4...49d486aae26e
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list