- 19 Jan, 2017 1 commit
-
-
Hanno Schlichting authored
-
- 18 Jan, 2017 2 commits
-
-
Maurits van Rees authored
In functional doc tests you can apparently have a test case that has no runTest method. Until now the Testing package added a dummy runTest method in that case, and set it to None. But when this dummy runTest method gets called, you get an error: Error in test runTest (Testing.ZopeTestCase.ZopeTestCase.FunctionalTestCase) Traceback (most recent call last): File ".../lib/python2.7/unittest/case.py", line 329, in run testMethod() TypeError: 'NoneType' object is not callable Simply importing Testing.ZopeTestCase.FunctionalTestCase in a new test file may be enough to trigger this. So this has something to do with the order in which tests are found. I fixed it by making the dummy runTest method callable.
-
Tres Seaver authored
Apply plonehotfix 20170717 [master]
-
- 17 Jan, 2017 2 commits
-
-
Maurits van Rees authored
This applies PloneHotfix20170117.
-
Maurits van Rees authored
-
- 27 Dec, 2016 2 commits
-
-
Maurits van Rees authored
Patch zope.interface to remove docstrings and avoid publishing.
-
Maurits van Rees authored
From Products.PloneHotfix20161129. Moved patch_persistent to the new 'patches' folder.
-
- 21 Dec, 2016 3 commits
-
-
Tres Seaver authored
Don't copy items the user is not allowed to view. [master]
-
Maurits van Rees authored
-
Maurits van Rees authored
-
- 08 Dec, 2016 1 commit
-
-
Maurits van Rees authored
From Products.PloneHotfix20161129.
-
- 30 Oct, 2016 6 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
- 26 Oct, 2016 2 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
This reverts part of commit dbb476e6.
-
- 23 Oct, 2016 3 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
This removes the mechanize dependency.
-
Hanno Schlichting authored
-
- 30 Sep, 2016 1 commit
-
-
Michael Howitz authored
* Add a hint to the next step. * Add a hint how to create content for the default page. * There will be no 2.x version after 2.7.
-
- 23 Sep, 2016 1 commit
-
-
Hanno Schlichting authored
-
- 15 Sep, 2016 2 commits
-
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
As described in the definition document by the ietf: https://tools.ietf.org/html/draft-west-first-party-cookies-07 "The 'SameSite' attribute allows servers to assert that a cookie ought not to be sent along with cross-site requests. This assertion allows user agents to mitigate the risk of cross-origin information leakage, and provides some protection against cross-site request forgery attacks."
-
- 13 Sep, 2016 2 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
- 12 Sep, 2016 3 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
- 09 Sep, 2016 5 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
- 08 Sep, 2016 4 commits
-
-
Hanno Schlichting authored
Remove unused klass_args argument and avoid aborting transactions if none is active. The publisher should always commit or abort the transaction, so the Cleanup instance in `REQUEST._hold` shouldn't need to abort anything. This gets rids of debug log messages, where each request opens and aborts a secondary transaction.
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
Split a common base class out of them and move ZServer specific logic onto HTTPResponse without impacting WSGIResponse. Also change the error generating methods on WSGIResponse to raise exceptions rather than returning responses. It's the publishers job to turn them into responses and now they get treated in the same way as when they get raised directly.
-