[Checkins] [zopefoundation/Zope] f9d6ab: Allow unicode in object ids.

GitHub noreply at github.com
Thu May 17 11:06:50 CEST 2018


  Branch: refs/heads/fix-ZCacheable_getModTime
  Home:   https://github.com/zopefoundation/Zope
  Commit: f9d6ab12caf109a1dcc924c725c54985e1c3d47d
      https://github.com/zopefoundation/Zope/commit/f9d6ab12caf109a1dcc924c725c54985e1c3d47d
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/OFS/ObjectManager.py
    M src/OFS/tests/testObjectManager.py

  Log Message:
  -----------
  Allow unicode in object ids.

We only want to restrict the use of non-printable characters in object ids. General unicode characters are fine.


  Commit: 6c15c7148c83db108c72043fb065b06bfbcf076a
      https://github.com/zopefoundation/Zope/commit/6c15c7148c83db108c72043fb065b06bfbcf076a
  Author: Steffen Allner <sa at gocept.com>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/ZPublisher/WSGIPublisher.py

  Log Message:
  -----------
  Handle unicodes in url path.

As the WSGI standard defines paths as latin-1 encoded strings we have to deal with it here.


  Commit: 87bfbe9f74f80dbe69d83ebc0d425b683bc0a061
      https://github.com/zopefoundation/Zope/commit/87bfbe9f74f80dbe69d83ebc0d425b683bc0a061
  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 MANIFEST.in
    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/conf.py
    M docs/maintenance.rst
    M docs/operation.rst
    M docs/zdgbook/ObjectPublishing.rst
    M docs/zdgbook/Security.rst
    M docs/zdgbook/examples/PollImplementation.py
    M docs/zope2book/SearchingZCatalog.rst
    M requirements-full.txt
    M setup.cfg
    M setup.py
    M sources.cfg
    M src/App/Common.py
    M src/App/ProductContext.py
    M src/App/ZApplication.py
    M src/App/config.py
    M src/App/dtml/menu.dtml
    M src/App/tests/test_ApplicationManager.py
    M src/App/tests/test_class_init.py
    M src/App/version_txt.py
    M src/OFS/Application.py
    M src/OFS/Cache.py
    M src/OFS/CopySupport.py
    M src/OFS/FindSupport.py
    M src/OFS/Moniker.py
    M src/OFS/ObjectManager.py
    M src/OFS/SimpleItem.py
    M src/OFS/Traversable.py
    A src/OFS/dtml/properties.dtml
    A src/OFS/dtml/propertyType.dtml
    A src/OFS/dtml/propertysheets.dtml
    M src/OFS/dtml/renameForm.dtml
    M src/OFS/misc_.py
    M src/OFS/tests/testAppInitializer.py
    M src/OFS/tests/testApplication.py
    M src/OFS/tests/testCopySupport.py
    M src/OFS/tests/testCopySupportEvents.py
    M src/OFS/tests/testCopySupportHooks.py
    M src/OFS/tests/testProperties.py
    M src/OFS/tests/testTraverse.py
    M src/OFS/tests/test_DTMLDocument.py
    M src/OFS/tests/test_DTMLMethod.py
    M src/OFS/tests/test_metaconfigure.py
    M src/Products/Five/browser/adding.py
    M src/Products/Five/browser/configure.zcml
    M src/Products/Five/browser/metaconfigure.py
    M src/Products/Five/browser/tests/pages.py
    M src/Products/Five/browser/tests/test_decode.py
    M src/Products/Five/browser/tests/test_metaconfigure.py
    M src/Products/Five/browser/tests/test_pages.py
    M src/Products/Five/viewlet/tests.py
    M src/Products/PageTemplates/Expressions.py
    M src/Products/PageTemplates/expression.py
    M src/Products/PageTemplates/tests/testExpressions.py
    M src/Products/PageTemplates/tests/testZopePageTemplate.py
    A src/Products/SiteAccess/VirtualHostMonster.py
    A src/Products/SiteAccess/__init__.py
    A src/Products/SiteAccess/configure.zcml
    A src/Products/SiteAccess/tests/__init__.py
    A src/Products/SiteAccess/tests/testVirtualHostMonster.py
    A src/Products/SiteAccess/www/VirtualHostMonster.dtml
    A src/Products/SiteAccess/www/manage_edit.dtml
    M src/Shared/DC/Scripts/Bindings.py
    M src/Shared/DC/Scripts/Signature.py
    M src/Testing/ZopeTestCase/functional.py
    M src/Testing/ZopeTestCase/layer.py
    M src/Testing/ZopeTestCase/placeless.py
    M src/Testing/ZopeTestCase/sandbox.py
    M src/Testing/ZopeTestCase/testBaseTestCase.py
    M src/Testing/ZopeTestCase/testPlaceless.py
    M src/Testing/ZopeTestCase/warnhook.py
    M src/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
    M src/Testing/ZopeTestCase/zopedoctest/functional.py
    M src/Testing/tests/test_testbrowser.py
    M src/ZPublisher/BeforeTraverse.py
    M src/ZPublisher/Converters.py
    M src/ZPublisher/HTTPRequest.py
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/WSGIPublisher.py
    M src/ZPublisher/httpexceptions.py
    M src/ZPublisher/tests/testHTTPRequest.py
    M src/ZPublisher/tests/testHTTPResponse.py
    M src/ZPublisher/tests/test_Converters.py
    M src/ZPublisher/tests/test_WSGIPublisher.py
    M src/ZPublisher/tests/test_mapply.py
    M src/ZPublisher/tests/test_pubevents.py
    M src/ZTUtils/Tree.py
    M src/ZTUtils/Zope.py
    M src/ZTUtils/tests/testTree.py
    A src/Zope2/App/tests/normal_zope3_page_template.pt
    A src/Zope2/App/tests/test_safe_formatter.py
    A src/Zope2/App/tests/using_format_zope3_page_template.pt
    M src/Zope2/Startup/datatypes.py
    M src/Zope2/Startup/handlers.py
    M src/Zope2/Startup/starter.py
    A src/Zope2/Startup/tests/test_handlers.py
    M src/Zope2/Startup/wsgischema.xml
    M src/Zope2/Startup/zopectl.py
    M src/Zope2/utilities/skel/etc/zope.ini.in
    R src/ofs/dtml/properties.dtml
    R src/ofs/dtml/propertyType.dtml
    R src/ofs/dtml/propertysheets.dtml
    M tox.ini
    M util.py
    M versions-prod.cfg
    M versions.cfg

  Log Message:
  -----------
  Merge branch 'master' into unicode-object-id


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

  Changed paths:
    M src/OFS/ObjectManager.py
    M src/OFS/tests/testObjectManager.py

  Log Message:
  -----------
  Do not allow angle brackets and ampersand.

These result in an id as  TaintedString which is not supported by `hasattr`.


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

  Changed paths:
    M src/OFS/tests/testObjectManager.py

  Log Message:
  -----------
  Refactor to keep the test more readable.


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

  Changed paths:
    M src/OFS/tests/testObjectManager.py

  Log Message:
  -----------
  Be more defensive by only relying on `six.PY2`.


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

  Changed paths:
    M src/OFS/ObjectManager.py
    M src/OFS/tests/testObjectManager.py
    M src/ZPublisher/WSGIPublisher.py

  Log Message:
  -----------
  Merge pull request #181 from zopefoundation/unicode-object-id

Handle unicode object ids.


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

  Changed paths:
    M CHANGES.rst

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


  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


Compare: https://github.com/zopefoundation/Zope/compare/d15a5457be23...c3f033eb59ec
      **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