| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-04-12 | omg how embarrassing, forgot to run tests before merging the request ↵ | Chris McDonough | |
| subclass fix branch | |||
| 2015-04-12 | add change note related to #1529 | Chris McDonough | |
| 2015-04-12 | Merge branch 'bertjwregeer-bug/request_subclassing' | Chris McDonough | |
| 2015-04-12 | merge master back into this PR branch | Chris McDonough | |
| 2015-04-06 | Merge branch 'fix.view-lookup' | Chris McDonough | |
| 2015-04-06 | change excview_tween to use _call_view instead of adapters.lookup; ↵ | Chris McDonough | |
| parameterize _call_view and _find_views to cope | |||
| 2015-04-06 | add comment about not changing view_execution_permitted use of .lookup for ↵ | Chris McDonough | |
| view finding | |||
| 2015-04-06 | convert render_view_to_response to use _call_view | Chris McDonough | |
| 2015-04-06 | break out _call_view into separate importable callable for use in scripts | Chris McDonough | |
| 2015-04-06 | use _find_views instead of lookup in proutes | Chris McDonough | |
| 2015-04-06 | unused imports | Chris McDonough | |
| 2015-04-06 | use _find_views in pviews | Chris McDonough | |
| 2015-04-03 | no need to iter() the result | Chris McDonough | |
| 2015-04-03 | Merge branch 'master' of github.com:Pylons/pyramid | Chris McDonough | |
| 2015-04-03 | cache view lookups; see #1557 | Chris McDonough | |
| 2015-04-02 | Merge branch 'master' of github.com:Pylons/pyramid | Chris McDonough | |
| 2015-03-30 | Merge pull request #1622 from stevepiercy/master | Steve Piercy | |
| remove italics from internal references | |||
| 2015-03-30 | remove italics from internal references | Steve Piercy | |
| 2015-03-26 | fix out of date match_param docs | Michael Merickel | |
| 2015-03-25 | Merge pull request #1619 from stevepiercy/master | Steve Piercy | |
| Add a badge and link for latest documentation to complement master | |||
| 2015-03-25 | Add a badge and link for latest documentation to complement master | Steve Piercy | |
| 2015-03-21 | Merge pull request #1615 from stevepiercy/master | Steve Piercy | |
| update pylons sphinx theme on master branch, too | |||
| 2015-03-21 | update pylons sphinx theme on master branch, too | Steve Piercy | |
| 2015-03-15 | be more specific about the append_slash feature addition | Chris McDonough | |
| 2015-03-15 | Merge branch 'dstufft-custom-append-slash-redirect' | Chris McDonough | |
| 2015-03-15 | Merge branch 'master' of github.com:Pylons/pyramid | Chris McDonough | |
| 2015-03-15 | add docs to notfound_view_config decorator code, expand docs to inlcude an ↵ | Chris McDonough | |
| example | |||
| 2015-03-15 | Merge branch 'custom-append-slash-redirect' of ↵ | Chris McDonough | |
| https://github.com/dstufft/pyramid into dstufft-custom-append-slash-redirect | |||
| 2015-03-15 | Add myself to CONTRIBUTORS.txt | Donald Stufft | |
| 2015-03-15 | Allow passing a custom redirect class for appending slashes | Donald Stufft | |
| 2015-03-13 | Merge pull request #1607 from ledmonster/fix-forbidden_view_config-comment | Tres Seaver | |
| fix comment in forbidden_view_config | |||
| 2015-03-13 | fix comment in forbidden_view_config | Junya Hayashi | |
| 2015-03-13 | Update code example | Steve Piercy | |
| Modify `lines` to include closing parens in source and update corresponding `emphasize-lines`. Closes #1606. | |||
| 2015-03-11 | fix merge conflicts after merging master to fix.view-lookup branch; do the ↵ | Chris McDonough | |
| merge to see diffs more clearly | |||
| 2015-03-08 | Merge branch 'master' of github.com:Pylons/pyramid | Chris McDonough | |
| 2015-03-05 | Merge pull request #1471 from Pylons/feature.py3-coverage | Michael Merickel | |
| update tox/travis to check code coverage on py3 | |||
| 2015-03-05 | Merge pull request #1575 from Pylons/fix.shared-view-renderer | Michael Merickel | |
| clone a new RendererHelper per request | |||
| 2015-03-05 | add clone to the IRendererInfo interface | Michael Merickel | |
| 2015-03-05 | Merge branch 'master' into fix.shared-view-renderer | Michael Merickel | |
| 2015-02-24 | Merge pull request #1592 from davisagli/fix.reloader-non-tty | Michael Merickel | |
| only reset terminal echo flag if stdin is a tty | |||
| 2015-02-24 | update changelog | David Glick | |
| 2015-02-24 | only reset terminal echo flag if stdin is a tty | David Glick | |
| 2015-02-22 | remove tuple creation from inner loop | Michael Merickel | |
| 2015-02-22 | ignore new .eggs folder created by "setup.py test" deps | Michael Merickel | |
| 2015-02-22 | Merge pull request #1563 from Pylons/fix.idempotent-render-to-response | Michael Merickel | |
| update render_to_response to prevent renderers from mutating request.response | |||
| 2015-02-20 | dump xunit for py2/py3 targets | Michael Merickel | |
| 2015-02-20 | split out targets for py2-cover and py3-cover and add docs building | Michael Merickel | |
| 2015-02-20 | Merge branch 'master' into feature.py3-coverage | Michael Merickel | |
| 2015-02-19 | Merge pull request #1587 from msabramo/fix_asset_override_with_package | Michael Merickel | |
| Fix asset override with package | |||
| 2015-02-19 | Fix asset override with package | Marc Abramowitz | |
| `AssetsConfiguratorMixin.override_asset` does: ```python __import__(override_package) to_package = sys.modules[override_package] override_source = PackageAssetSource(to_package, override_prefix) ``` so it's assuming that the `package` argument to `PackageAssetSource.__init__` takes a module object. But then `PackageAssetSource` had a bunch of methods that did stuff like: - `pkg_resources.resource_exists(self.package, path)` - `pkg_resources.resource_filename(self.package, path)` - `pkg_resources.resource_stream(self.package, path)` and all these `pkg_resources` functions need their `package_or_requirement` argument to be a **string**; not a module - see https://pythonhosted.org/setuptools/pkg_resources.html#basic-resource-access, which says: > the `package_or_requirement argument` may be either a Python package/module > name (e.g. `foo.bar`) or a `Requirement` instance. This causes errors when overriding assets -- e.g.: I am using Kotti and Kotti has this code (https://github.com/Kotti/Kotti/blob/master/kotti/__init__.py#L251): ```python for override in [a.strip() for a in settings['kotti.asset_overrides'].split() if a.strip()]: config.override_asset(to_override='kotti', override_with=override) ``` A Kotti add-on called kotti_navigation does this (https://github.com/Kotti/kotti_navigation/blob/master/kotti_navigation/__init__.py#L12): ```python settings['kotti.asset_overrides'] += ' kotti_navigation:kotti-overrides/' ``` The above code is all legit as far as I can tell and it works fine in pyramid 1.5.2, but it fails with pyramid master with the following: ```pytb File "/Users/marca/python/virtualenvs/kotti_inventorysvc/lib/python2.7/site-packages/pkg_resources.py", line 959, in resource_filename self, resource_name File "/Users/marca/dev/git-repos/pyramid/pyramid/config/assets.py", line 31, in get_resource_filename filename = overrides.get_filename(resource_name) File "/Users/marca/dev/git-repos/pyramid/pyramid/config/assets.py", line 125, in get_filename result = source.get_filename(path) File "/Users/marca/dev/git-repos/pyramid/pyramid/config/assets.py", line 224, in get_filename if pkg_resources.resource_exists(self.package, path): File "/Users/marca/python/virtualenvs/kotti_inventorysvc/lib/python2.7/site-packages/pkg_resources.py", line 948, in resource_exists return get_provider(package_or_requirement).has_resource(resource_name) File "/Users/marca/python/virtualenvs/kotti_inventorysvc/lib/python2.7/site-packages/pkg_resources.py", line 225, in get_provider __import__(moduleOrReq) TypeError: __import__() argument 1 must be string, not module ``` This was a little tricky to resolve because the `override_asset` function wants to pass a module object to `PackageAssetSource.__init__`, but there are a number of tests in `pyramid/tests/test_config/test_assets.py` that assume that it takes a string. So I ended up making it legal to pass either one, so that I don't have to change as much calling code. See https://github.com/Kotti/kotti_navigation/issues/13 | |||
