[Checkins] [zopefoundation/zope.browserpage] f8dedc: Attempted fix for allowed_attributes regression.

Michael Howitz noreply at github.com
Tue Jun 18 08:22:42 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.browserpage
  Commit: f8dedc92a370d55081f56ef4ff3a7de3764edf30
      https://github.com/zopefoundation/zope.browserpage/commit/f8dedc92a370d55081f56ef4ff3a7de3764edf30
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2019-05-27 (Mon, 27 May 2019)

  Changed paths:
    M CHANGES.rst
    M src/zope/browserpage/metaconfigure.py
    M src/zope/browserpage/tests/test_metaconfigure.py

  Log Message:
  -----------
  Attempted fix for allowed_attributes regression.

The simple view mixin caused a regression on allowed_attributes and allowed_interface. This fixes that by explicitly whitelisting those attributes for traversal.


  Commit: 013171f6583c696f5d9a2001a74c1714b6c2bd29
      https://github.com/zopefoundation/zope.browserpage/commit/013171f6583c696f5d9a2001a74c1714b6c2bd29
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2019-05-28 (Tue, 28 May 2019)

  Changed paths:
    M src/zope/browserpage/metaconfigure.py

  Log Message:
  -----------
  Explicitly rebind simple.__call__ when overriding the method for Python 2 support


  Commit: 2ec04ca56754d6348745dc66539e3648dfaa6709
      https://github.com/zopefoundation/zope.browserpage/commit/2ec04ca56754d6348745dc66539e3648dfaa6709
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2019-05-29 (Wed, 29 May 2019)

  Changed paths:
    M src/zope/browserpage/metaconfigure.py

  Log Message:
  -----------
  Simplify allowed_attributes path


  Commit: 7e3711fcc00f435ea8caa5b78b51ff4457e4ff6c
      https://github.com/zopefoundation/zope.browserpage/commit/7e3711fcc00f435ea8caa5b78b51ff4457e4ff6c
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-05-29 (Wed, 29 May 2019)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M setup.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'master' into wilkes/397-allowed-attributes


  Commit: 2d9509389a6539db111fdb98ef1868a00d882ff2
      https://github.com/zopefoundation/zope.browserpage/commit/2d9509389a6539db111fdb98ef1868a00d882ff2
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2019-05-29 (Wed, 29 May 2019)

  Changed paths:
    M src/zope/browserpage/metaconfigure.py

  Log Message:
  -----------
  Simplify allowed_attributes path


  Commit: 28b94dbe1ca042ed95e11eda14ec7fa498d864c5
      https://github.com/zopefoundation/zope.browserpage/commit/28b94dbe1ca042ed95e11eda14ec7fa498d864c5
  Author: Matthew Wilkes <git at matthewwilkes.name>
  Date:   2019-05-29 (Wed, 29 May 2019)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M setup.py
    M src/zope/browserpage/metaconfigure.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'wilkes/397-allowed-attributes' of https://github.com/zopefoundation/zope.browserpage into wilkes/397-allowed-attributes


  Commit: 6ab51664571511cedd1190f7882e8fce1cceaaa7
      https://github.com/zopefoundation/zope.browserpage/commit/6ab51664571511cedd1190f7882e8fce1cceaaa7
  Author: Philip Bauer <bauer at starzel.de>
  Date:   2019-06-15 (Sat, 15 Jun 2019)

  Changed paths:
    M src/zope/browserpage/tests/test_page.py

  Log Message:
  -----------
  I'm just guessing here...


  Commit: dcdda5f3fa0ad4f9f79ce0cf593c33f548f083b5
      https://github.com/zopefoundation/zope.browserpage/commit/dcdda5f3fa0ad4f9f79ce0cf593c33f548f083b5
  Author: Philip Bauer <bauer at starzel.de>
  Date:   2019-06-15 (Sat, 15 Jun 2019)

  Changed paths:
    M src/zope/browserpage/metaconfigure.py
    M src/zope/browserpage/tests/test_metaconfigure.py

  Log Message:
  -----------
  rename _simple_whitelist to _simple__whitelist


  Commit: b5c4fa222c665dfcba2e98faba4240d38e66c0bd
      https://github.com/zopefoundation/zope.browserpage/commit/b5c4fa222c665dfcba2e98faba4240d38e66c0bd
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-06-17 (Mon, 17 Jun 2019)

  Changed paths:
    M .coveragerc
    M src/zope/browserpage/metaconfigure.py
    M src/zope/browserpage/tests/test_metaconfigure.py

  Log Message:
  -----------
  Bring coverage back to 100 %


  Commit: 261a95516c40cc75df484bc1be186443cd8bedb8
      https://github.com/zopefoundation/zope.browserpage/commit/261a95516c40cc75df484bc1be186443cd8bedb8
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-06-17 (Mon, 17 Jun 2019)

  Changed paths:
    M src/zope/browserpage/metaconfigure.py
    M src/zope/browserpage/tests/test_page.py

  Log Message:
  -----------
  Provide a default `__page_attribute__`.

This way `browserDefault` does not die with an AttributeError but
`__call__` will do it.


  Commit: 8472e7c671482725bbe1046e8966afce9f5bf685
      https://github.com/zopefoundation/zope.browserpage/commit/8472e7c671482725bbe1046e8966afce9f5bf685
  Author: Michael Howitz <mh at gocept.com>
  Date:   2019-06-18 (Tue, 18 Jun 2019)

  Changed paths:
    M .coveragerc
    M CHANGES.rst
    M src/zope/browserpage/metaconfigure.py
    M src/zope/browserpage/tests/test_metaconfigure.py
    M src/zope/browserpage/tests/test_page.py

  Log Message:
  -----------
  Merge pull request #7 from zopefoundation/wilkes/397-allowed-attributes

Fix regression in allowed_attributes and allowed_interface


Compare: https://github.com/zopefoundation/zope.browserpage/compare/513918dd173a...8472e7c67148


More information about the checkins mailing list