| Age | Commit message (Collapse) | Author |
|
testing dependency.
- Pyramid now depends on a ``zope.interface`` version greater than or equal
to 3.8.0.
|
|
|
|
See https://github.com/Pylons/pyramid/issues/276.
Closes #276.
|
|
|
|
an "include". See https://github.com/Pylons/pyramid/issues/266 .
|
|
|
|
|
|
|
|
from UTF-8 to Unicode before checking whether a segment matches literally
one of ``.``, the empty string, or ``..`` in case there's some sneaky way
someone might tunnel those strings via UTF-8 that don't match the literals
before decoded.
|
|
|
|
|
|
|
|
translations (``de``) would not work properly when using a localizer. See
https://github.com/Pylons/pyramid/issues/263
Closes #263.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
when registering routes in certain circumstances. See
https://github.com/Pylons/pyramid/issues/260
Closes #260.
|
|
|
|
|
|
"Virtual Hosting" chapter.
|
|
``pyramid.traversal.model_path``, ``pyramid.traversal.model_path_tuple``,
and ``pyramid.url.model_url``, which were all deprecated in Pyramid 1.0.
There's just not much cost to keeping them around forever as aliases to
their renamed ``resource_*`` prefixed functions.
- Undeprecated ``pyramid.view.bfg_view``, which was deprecated in Pyramid
1.0. This is a low-cost alias to ``pyramid.view.view_config`` which we'll
just keep around forever.
|
|
``pyramid.config.Configurator.add_view`` and
``pyramid.config.Configurator.add_route`` is now permitted to be a tuple of
HTTP method names. Previously it was restricted to being a string
representing a single HTTP method name.
- Move add_view tests and tween tests to more reasonable places.
|
|
``pyramid.config.Configurator.scan()``. This onerror keyword argument is
passed to ``venusian.Scanner.scan()`` to influence error behavior when
an exception is raised during scanning.
- Pyramid now requires Venusian 1.0a1 or better to support the ``onerror``
keyword argument to ``pyramid.config.Configurator.scan``.
- Move test fixtures around so test_config tests are not looking "up"
for fixtures.
|
|
|
|
``__getattr__`` was called upon it. However, there are legitimate
situations in which ``__getattr__`` is called on arbitrary objects
(e.g. ``hasattr``). Now, the ``settings`` object only emits the warning
upon successful lookup.
|
|
``pyramid.url.static_url`` when passed a caller-package relative path due
to a refactoring.
Closes #258.
|
|
manufacturing a new renderer helper (cleanup).
|
|
|
|
|
|
Configurator constructor unconditionally registered one that would be
treated as if it were "the word of the user".
|
|
|
|
constructor, eagerly register and commit the default renderer set. This
permits the overriding of the default renderers, which was broken in 1.2a1
without a commit directly after Configurator construction.
|
|
|
|
|
|
|
|
and ``FileOverride`` classes from ``pyramid.asset`` to
``pyramid.config.assets``.
|
|
``pyramid.config.settings``.
|
|
``pyramid.config.views``.
|
|
|
|
and ``SessionAuthenticationPolicy`` constructors now accept an additional
keyword argument named ``debug``. By default, this keyword argument is
``False``. When it is ``True``, debug information will be sent to the
Pyramid debug logger (usually on stderr) when the ``authenticated_userid``
or ``effective_principals`` method is called on any of these policies. The
output produced can be useful when trying to diagnose
authentication-related problems.
|
|
``pyramid.request.Request.static_path``, ``pyramid.url.static_url``, and
``pyramid.url.static_path``) now accept an asbolute filename as a "path"
argument. This will generate a URL to an asset as long as the filename is
in a directory which was previously registered as a static view.
Previously, trying to generate a URL to an asset using an absolute file
path would raise a ValueError.
|
|
|
|
- New function in ``pyramid.url``: ``current_route_path``.
|
|
``pyramid.mako_templating.MakoRenderingException``
|