summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Preparing release 4.2.14.2.1Jason Madden2017-11-302-2/+2
|
* Fix link in changelog.Jason Madden2017-11-301-1/+1
|
* Merge pull request #49 from zopefoundation/issue48Jason Madden2017-11-305-12/+45
|\ | | | | Fix default values for Permission's title and description in Py2
| * Fix default values for Permission's title and description in Py2issue48Jason Madden2017-11-305-12/+45
|/ | | | | | | | | | And test this. This applies to both the class and the ZCML directive. Also adjust IPermission to use NativeStringLine for ``id``, since that's what ZCML has always been creating (it uses an Id, which subclasses NativeStringLine), and what's typically written in source code. Test that the permissions created from ZCML are valid with this change.
* Use SVG icon for TravisMarius Gedminas2017-10-051-1/+1
|
* Build and upload Windows wheels in AppveyorMarius Gedminas2017-09-211-9/+24
| | | | Fixes #46.
* Back to development: 4.2.1Jason Madden2017-09-202-1/+7
|
* Preparing release 4.2.04.2.0Jason Madden2017-09-202-2/+2
|
* Convert 'untrustedpython' to a proper extra using python_versionJason Madden2017-09-201-10/+19
|
* Merge pull request #43 from zopefoundation/docsJason Madden2017-09-1529-968/+1353
|\ | | | | General documentation cleanup/update, and document issubclass issue
| * Fix manifest.inJason Madden2017-09-151-0/+8
| |
| * Consistent capitalization of ID in docstrings and fields (except one case ↵Jason Madden2017-09-158-15/+15
| | | | | | | | | | | | where it was a i18n messageid). TIL that sphinx.ext.doctest has IGNORE_EXCEPTION_DETAIL set by default.
| * Expand the proxy issues section on isinstance.Jason Madden2017-09-151-0/+86
| |
| * Document proxy.__class__ troubles with isinstance/issubclassdocsJason Madden2017-09-143-1/+105
| | | | | | | | | | | | | | | | And suggest workarounds, in a prominent new section about proxy troubles. Link to this from everywhere we talk about proxies. Fixes #26
| * Split narr.rst into parts and make the example more correct.Jason Madden2017-09-145-493/+508
| | | | | | | | | | | | It's not doctested so it isn't fully guaranteed to be correct, but it was relying on conpects that don't exist anymore (simpleinteraction, and the ISecurityPolicy having the checkPermission() method).
| * Fix some of the outdated info in hacking.rstJason Madden2017-09-141-75/+51
| |
| * ZCML doc cleanupJason Madden2017-09-141-45/+48
| |
| * Docs for testing.pyJason Madden2017-09-143-8/+29
| |
| * Cross refs for simplepolicies.pyJason Madden2017-09-142-6/+12
| |
| * Cross-refs and cleanups for proxy.py/rstJason Madden2017-09-143-9/+27
| |
| * Cross-refs and cleanups for permission.py/rstJason Madden2017-09-142-11/+26
| |
| * Doc cross-refs and cleanup for management.rst/pyJason Madden2017-09-142-16/+23
| |
| * Doc cleanup for decorator.rstJason Madden2017-09-142-30/+24
| |
| * cross-refs and cleanups for checker and adapter.Jason Madden2017-09-148-91/+188
| |
| * cross-references and interface cleanups for interfaces.py/rstJason Madden2017-09-142-179/+214
|/
* Merge pull request #42 from zopefoundation/public_permission_constJason Madden2017-09-1311-42/+48
|\ | | | | Promote the constant for zope.Public from metaconfigure.py to interfaces.py
| * Promote the constant for zope.Public from metaconfigure.py to interfaces.pypublic_permission_constJason Madden2017-09-1311-42/+48
|/ | | | | | | | | And use it consistently throughout this package. On Python 2, sometimes we were comparing the string with unicode and sometimes with str. Now its consistent. This is a start to addressing #6
* Merge pull request #41 from zopefoundation/issue40Jason Madden2017-09-1327-1225/+1011
|\ | | | | Reach 100% coverage
| * Remove commented code from test_checker.pyJason Madden2017-09-136-99/+85
| | | | | | | | | | | | Also run all remaining tests on all Python versions. Trivial trailing/keyword arg whitespace cleanups.
| * Use zope.proxy 4.3.0 so that tests pass on Py3.issue40Jason Madden2017-09-132-12/+4
| |
| * 100% coverage for testing.pyJason Madden2017-09-126-48/+66
| |
| * 100% coverage for checker.py. Minor whitespace cleanups.Jason Madden2017-09-121-58/+67
| |
| * 100% coverage for proxy.pyJason Madden2017-09-123-8/+87
| | | | | | | | | | | | - The implementation of __getattribute__/__getattr__ now behaves like C and will not call a target's version of those functions more than once if they raise an AttributeError.
| * Consistently use the correct base for super calls.Jason Madden2017-09-121-26/+26
| |
| * Coverage for get/setslice, length_hint, and comparison methods in proxy.pyJason Madden2017-09-124-23/+141
| |
| * 100% coverage for test_location.pyJason Madden2017-09-121-10/+1
| | | | | | | | zope.location is a hard test dependency, no need for conditional logic.
| * 100% coverage for test_proxy.pyJason Madden2017-09-121-133/+76
| | | | | | | | | | - Modern assert methods - Unify some py2/py3 tests that just depended on a method name.
| * 100% coverage for test_checker.pyJason Madden2017-09-122-261/+276
| | | | | | | | | | | | - Modern assert methods - Whitespace cleanup - A whole test class was being skipped because of a duplicate name.
| * 100% coverage for test_adapter.pyJason Madden2017-09-121-145/+83
| | | | | | | | | | | | - Use dict comprehensions - Use moddern self.assertIs - Unify external imports
| * 100% for test_permission.pyJason Madden2017-09-121-52/+8
| |
| * Badges and fixes for README and CHANGES.Jason Madden2017-09-112-55/+63
| |
| * Remove unused and broken zope.security.setup.Jason Madden2017-09-112-20/+2
| |
| * Remove unused internal files from tests/Jason Madden2017-09-116-162/+7
| |
| * 100% coverage of test_zcml_functest.pyJason Madden2017-09-111-127/+33
|/ | | | We have hard test dependencies, we don't need to be conditional.
* Merge pull request #38 from zopefoundation/issue19Jason Madden2017-09-112-15/+24
|\ | | | | Document behaviour of ParanoidSecurityPolicy when there are no participations
| * Document behaviour of ParanoidSecurityPolicy when there are no participationsissue19Jason Madden2017-09-112-15/+24
| | | | | | | | | | | | Add an explicit test for this case. Fixes #19.
* | Merge pull request #39 from zopefoundation/issue33bJason Madden2017-09-112-47/+76
|\ \ | |/ |/| Use features and an optional_build_ext
| * Use features and an optional_build_extissue33bJason Madden2017-09-112-47/+76
|/ | | | | | | | | Just like zope.interface (copied from there). Fixes #33. This should eliminate any chance of polluting (local) wheel caches if PURE_PYTHON happens to be defined.
* Merge pull request #37 from zopefoundation/issue35Jason Madden2017-09-113-0/+5
|\ | | | | call PyObject_GC_UnTrack() in tp_dealloc()
| * call PyObject_GC_UnTrack() in tp_dealloc()KIMURA Chikahiro2017-09-113-0/+5
| | | | | | | | | | | | | | | | | | see the following sites for details: * https://bugs.python.org/issue31095 * https://github.com/python/cpython/pull/2974 Fixes #35.