Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 2, 2011
  1. @mcdonc

    prep for 1.2a4

    mcdonc authored
  2. @mcdonc
  3. @mcdonc

    - Added a "Fixing HTTP vs. HTTP When Deploying Behind a Proxy" sectio…

    mcdonc authored
    …n to the
    
      "Virtual Hosting" chapter.
Commits on Aug 31, 2011
  1. @mcdonc

    - Undeprecated ``pyramid.traversal.find_model``,

    mcdonc authored
      ``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.
  2. @mcdonc

    - The ``request_method`` predicate argument to

    mcdonc authored
      ``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.
  3. @mcdonc

    - Support an ``onerror`` keyword argument to

    mcdonc authored
      ``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.
Commits on Aug 29, 2011
  1. @mcdonc

    prep for 1.2a3

    mcdonc authored
  2. @mcdonc

    - The ``settings`` object emitted a deprecation warning any time

    mcdonc authored
      ``__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.
  3. @mcdonc

    - Pyramid did not properly generate static URLs using

    mcdonc authored
      ``pyramid.url.static_url`` when passed a caller-package relative path due
      to a refactoring.
    
    Closes #258.
Commits on Aug 28, 2011
  1. @mcdonc

    - Use ``config.with_package`` in view_config decorator rather than

    mcdonc authored
      manufacturing a new renderer helper (cleanup).
Commits on Aug 27, 2011
  1. @mcdonc

    prep for 1.2a2

    mcdonc authored
Commits on Aug 26, 2011
  1. @mcdonc
  2. @mcdonc

    - An include could not set a root factory successfully because the

    mcdonc authored
      Configurator constructor unconditionally registered one that would be
      treated as if it were "the word of the user".
Commits on Aug 25, 2011
  1. @mcdonc

    note change

    mcdonc authored
Commits on Aug 24, 2011
  1. @mcdonc

    - When a ``renderers=`` argument is not specified to the Configurator

    mcdonc authored
      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.
  2. @mcdonc

    prep for 1.2a1

    mcdonc authored
  3. @mcdonc

    add explanations

    mcdonc authored
Commits on Aug 23, 2011
  1. @mcdonc

    add changes

    mcdonc authored
Commits on Aug 22, 2011
  1. @mcdonc

    - Move the ``OverrideProvider``, ``PackageOverrides``, ``DirectoryOve…

    mcdonc authored
    …rride``,
    
      and ``FileOverride`` classes from ``pyramid.asset`` to
      ``pyramid.config.assets``.
  2. @mcdonc

    - Move the ``Settings`` class from ``pyramid.settings`` to

    mcdonc authored
      ``pyramid.config.settings``.
  3. @mcdonc

    - Moved the ``StaticURLInfo`` class from ``pyramid.static`` to

    mcdonc authored
      ``pyramid.config.views``.
  4. @mcdonc

    move 1.1 stuff to HISTORY

    mcdonc authored
Commits on Aug 20, 2011
  1. @mcdonc

    - The ``RemoteUserAuthenticationPolicy ``, ``AuthTktAuthenticationPol…

    mcdonc authored
    …icy``,
    
      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.
  2. @mcdonc

    - The ``pyramid.request.Request.static_url`` API (and its brethren

    mcdonc authored
      ``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.
  3. @mcdonc
  4. @mcdonc

    - New request methods: ``current_route_url``, ``current_route_path``.

    mcdonc authored
    - New function in ``pyramid.url``: ``current_route_path``.
Commits on Aug 19, 2011
  1. @mcdonc

    - Better Mako rendering exceptions via

    mcdonc authored
      ``pyramid.mako_templating.MakoRenderingException``
  2. @mcdonc

    coverage

    mcdonc authored
  3. @mcdonc

    - Pyramid no longer eagerly commits some default configuration statem…

    mcdonc authored
    …ents at
    
      Configurator construction time, which permits values passed in as
      constructor arguments (e.g. ``authentication_policy`` and
      ``authorization_policy``) to override the same settings obtained via an
      "include".
Commits on Aug 16, 2011
  1. @mcdonc

    Garden.

    mcdonc authored
Commits on Aug 15, 2011
  1. @mcdonc
  2. @mcdonc

    - New methods of the ``pyramid.config.Configurator`` class:

    mcdonc authored
      ``set_authentication_policy`` and ``set_authorization_policy``.  These are
      meant to be consumed mostly by add-on authors.
  3. @mcdonc

    - The ZODB wiki tutorial now uses the ``pyramid_zodbconn`` package ra…

    mcdonc authored
    …ther
    
      than the ``repoze.zodbconn`` package to provide ZODB integration.
    
    - The ZODB scaffold now uses the ``pyramid_zodbconn`` package rather than the
      ``repoze.zodbconn`` package to provide ZODB integration.
  4. @mcdonc

    - ``pyramid.testing.DummyRequest`` now implements the

    mcdonc authored
      ``add_finished_callback`` and ``add_response_callback`` methods.
Commits on Aug 14, 2011
  1. @mcdonc

    - All tutorials now use - The ``route_url``, ``route_path``,

    mcdonc authored
      ``resource_url``, ``static_url``, and ``current_route_url`` methods of the
      request rather than the function variants imported from ``pyramid.url``.
Something went wrong with that request. Please try again.