[Checkins] [zopefoundation/Zope] 23f094: Restore `HTTPResponse.redirect` behaviour of not r...

GitHub noreply at github.com
Fri May 5 22:10:54 CEST 2017


  Branch: refs/heads/py3
  Home:   https://github.com/zopefoundation/Zope
  Commit: 23f094f2be3b348835cc839b7b19a3988fff8f30
      https://github.com/zopefoundation/Zope/commit/23f094f2be3b348835cc839b7b19a3988fff8f30
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-05 (Fri, 05 May 2017)

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

  Log Message:
  -----------
  Restore `HTTPResponse.redirect` behaviour of not raising an exception. (#114)

This should fix testbrowser related failures that suddenly saw
Redirect exceptions being raised, rather than the redirects just
being followed. This refs #106.


  Commit: 94dcb9664f9d801664e4e546dab6d23ec693dcbb
      https://github.com/zopefoundation/Zope/commit/94dcb9664f9d801664e4e546dab6d23ec693dcbb
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/WSGIPublisher.py
    M src/ZPublisher/tests/test_WSGIPublisher.py

  Log Message:
  -----------
  Restore a `_unauthorized` hook on the response object. (#112)

* Restore a `_unauthorized` hook on the response object.

This is used as a hook by PluggableAuthService.

* Also call `_unauthorized` if application code raised Unauthorized.

Rather than raising an Unauthorized HTTP exception, we have to trust
and use the possibly modified response instance. This means you can
not register exception views for Unauthorized, same as in Zope 2.13.

* Add changelog entry.


  Commit: 9789d9baf1de278ac49c64da6eb5a8a2804fe682
      https://github.com/zopefoundation/Zope/commit/9789d9baf1de278ac49c64da6eb5a8a2804fe682
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M requirements-full.txt
    M versions-prod.cfg

  Log Message:
  -----------
  Use releases of dependencies.


  Commit: eaf223acaf7d63c6acb817178cbeceb0e2260b9e
      https://github.com/zopefoundation/Zope/commit/eaf223acaf7d63c6acb817178cbeceb0e2260b9e
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M CHANGES.rst
    M requirements-full.txt
    M src/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
    M src/Testing/tests/test_testbrowser.py
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/WSGIPublisher.py
    M src/ZPublisher/tests/test_WSGIPublisher.py
    M versions-prod.cfg

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into py3


  Commit: 9074a43921965ee1e396a3ee68b1b49043a26278
      https://github.com/zopefoundation/Zope/commit/9074a43921965ee1e396a3ee68b1b49043a26278
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M buildout.cfg

  Log Message:
  -----------
  Remove auto-checkout of released dependencies.


  Commit: fdffea6dde0e08e464f06dff549db6db4446c9f6
      https://github.com/zopefoundation/Zope/commit/fdffea6dde0e08e464f06dff549db6db4446c9f6
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/OFS/tests/event.txt
    M src/Products/Five/browser/tests/pages.txt
    M src/Products/Five/browser/tests/pages_ftest.txt
    M src/Products/Five/browser/tests/provider.txt
    M src/Products/Five/browser/tests/resource_ftest.txt
    M src/Products/Five/browser/tests/skin.txt
    M src/Products/Five/browser/tests/test_defaultview.py
    M src/Products/Five/browser/tests/test_pages.py
    M src/Products/Five/browser/tests/test_traversable.py
    M src/Products/Five/browser/tests/test_zope3security.py
    M src/Products/Five/component/makesite.txt
    M src/Products/Five/viewlet/README.txt
    M src/Testing/ZopeTestCase/zopedoctest/ZopeDocTest.txt
    M src/ZPublisher/tests/testBeforeTraverse.py

  Log Message:
  -----------
  Turn print statements in doctests into function calls.


Compare: https://github.com/zopefoundation/Zope/compare/68d1fab7cfb0...fdffea6dde0e


More information about the checkins mailing list