Skip to content
This repository

Sep 16, 2012

  1. Chris McDonough

    add a whatsnew-1.4 document

    mcdonc authored
  2. Chris McDonough

    reclassify bug as feature

    mcdonc authored

Sep 15, 2012

  1. Chris McDonough

    merge jinty's testConfig code

    mcdonc authored
  2. Chris McDonough

    add pyramid.decorator.reify as an API. Closes #682

    mcdonc authored

Sep 13, 2012

  1. Chris McDonough

    add upgrading chapter, make docs render again

    mcdonc authored

Sep 11, 2012

  1. Chris McDonough

    garden

    mcdonc authored
  2. Chris McDonough

    - Request properties and methods added via ``config.set_request_prope…

    …rty`` or
    
      ``config.add_request_method`` are now available to tweens.
    
    - Request properties and methods added via ``config.set_request_property`` or
      ``config.add_request_method`` are now available in the request object
      returned from ``pyramid.paster.bootstrap``.
    
    Related partially to issue #520 and issue #538 and issue #596, although it doesn't actually allow us to close any of them, because we still don't issue a newrequest event when bootstrap is used.
    mcdonc authored
  3. Chris McDonough

    - ``pyramid.testing.DummyRequest`` now supports methods supplied by the

      ``pyramid.util.InstancePropertyMixin`` class such as ``set_property``.
    mcdonc authored

Sep 10, 2012

  1. Chris McDonough

    rename set_request_method to add_request_method. closes #683

    mcdonc authored

Sep 09, 2012

  1. Chris McDonough

    - These APIs from the ``pyramid.testing`` module were removed. They have

      been printing deprecation warnings since Pyramid 1.0:
    
      * ``registerDummySecurityPolicy``, use
        ``pyramid.config.Configurator.testing_securitypolicy`` instead.
    
      * ``registerResources`` (aka ``registerModels``, use
        ``pyramid.config.Configurator.testing_resources`` instead.
    
      * ``registerEventListener``, use
        ``pyramid.config.Configurator.testing_add_subscriber`` instead.
    
      * ``registerTemplateRenderer`` (aka `registerDummyRenderer``), use
        ``pyramid.config.Configurator.testing_add_template`` instead.
    
      * ``registerView``, use ``pyramid.config.Configurator.add_view`` instead.
    
      * ``registerUtility``, use
        ``pyramid.config.Configurator.registry.registerUtility`` instead.
    
      * ``registerAdapter``, use
        ``pyramid.config.Configurator.registry.registerAdapter`` instead.
    
      * ``registerSubscriber``, use
        ``pyramid.config.Configurator.add_subscriber`` instead.
    
      * ``registerRoute``, use
        ``pyramid.config.Configurator.add_route`` instead.
    
      * ``registerSettings``, use
        ``pyramid.config.Configurator.add_settings`` instead.
    mcdonc authored
  2. Chris McDonough

    - The ``pyramid.settings.get_settings()`` API was removed. It had been

      printing a deprecation warning since Pyramid 1.0.  If your code depended on
      this API, use ``pyramid.threadlocal.get_current_registry().settings``
      instead or use the ``settings`` attribute of the registry available from
      the request (``request.registry.settings``).
    mcdonc authored
  3. Chris McDonough

    - The ``pyramid.paster.PyramidTemplate`` API was removed. It had been

      deprecated since Pyramid 1.1 and issued a warning on import.  If your code
      depended on this, adjust your code to import
      ``pyramid.scaffolds.PyramidTemplate`` instead.
    mcdonc authored
  4. Chris McDonough

    - The ``pyramid.configuration`` module was removed. It had been depre…

    …cated
    
      since Pyramid 1.0 and printed a deprecation warning upon its use.  Use
      ``pyramid.config`` instead.
    mcdonc authored
  5. Chris McDonough

    - The functions from ``pyramid.chameleon_zpt`` and ``pyramid.chameleo…

    …n_text``
    
      named ``get_renderer``, ``get_template``, ``render_template``, and
      ``render_template_to_response`` have been removed.  These have issued a
      deprecation warning upon import since Pyramid 1.0.  Use
      ``pyramid.renderers.get_renderer()``,
      ``pyramid.renderers.get_renderer().implementation()``,
      ``pyramid.renderers.render()`` or ``pyramid.renderers.render_to_response``
      respectively instead of these functions.
    mcdonc authored
  6. Chris McDonough

    Merge branch 'master' into feature.14removedeprecations

    mcdonc authored
  7. Chris McDonough

    garden

    mcdonc authored
  8. Chris McDonough

    - It is no longer possible to pass an environ dictionary directly to

      ``pyramid.traversal.ResourceTreeTraverser.__call__`` (aka
      ``ModelGraphTraverser.__call__``).  Instead, you must pass a request
      object.  Passing an environment instead of a request has generated a
      deprecation warning since Pyramid 1.1.
    
    - Pyramid will no longer work properly if you use the
      ``webob.request.LegacyRequest`` as a request factory.  Instances of the
      LegacyRequest class have a ``request.path_info`` which return a string.
      This Pyramid release assumes that ``request.path_info`` will
      unconditionally be Unicode.
    
    - Pyramid now requires WebOb 1.2b3+ (the prior Pyramid release only relied on
      1.2dev+).  This is to ensure that we obtain a version of WebOb that returns
      ``request.path_info`` as text.
    mcdonc authored

Sep 08, 2012

  1. Chris McDonough

    trivial change to poke jenkins (im in on an untrusted network and can…

    …t use the jenkins web ui because we dont have https access to it)
    mcdonc authored

Aug 29, 2012

  1. Chris McDonough

    Merge branch 'master' of github.com:Pylons/pyramid

    mcdonc authored
  2. Chris McDonough

    garden

    mcdonc authored

Aug 26, 2012

  1. Chris McDonough

    - Forward-port from 1.3 branch: when registering multiple views with an

      ``accept`` predicate in a Pyramid application runing under Python 3, you
      might have received a ``TypeError: unorderable types: function() <
      function()`` exception.
    mcdonc authored

Aug 25, 2012

  1. Chris McDonough

    Subscriber predicates:

    - Add ``add_subscriber_predicate`` method to Configurator.
    
    - Allow ``add_subscriber`` and ``subscriber`` venusian decorator to accept ``**predicates`` arguments.
    
    - Document subscriber predicate feature.
    
    - Share more code between view, route, and subscriber related method wrt predicates.
    mcdonc authored

Aug 24, 2012

  1. Chris McDonough

    garden

    mcdonc authored

Aug 23, 2012

  1. Michael Merickel

    updated CHANGES with accept-header bug fix

    mmerickel authored
  2. Michael Merickel

    added cookie session changes to CHANGES.txt

    mmerickel authored

Aug 22, 2012

  1. Blaise Laflamme

    garden

    blaflamme authored

Aug 19, 2012

  1. Chris McDonough

    - Undo effects of merging pull #661 because tests wont pass on windows

    mcdonc authored
  2. Chris McDonough

    Garden.

    mcdonc authored

Aug 16, 2012

  1. Chris McDonough

    readd set_request_property to docs (just so when people run across it…

    … in in-the-wild code they're not totally confused); we'll remove it later
    mcdonc authored
  2. Michael Merickel

    docs-deprecated set_request_property

    mmerickel authored
  3. Chris McDonough

    - An ``add_permission`` directive method was added to the Configurato…

    …r. This
    
      directive registers a free-standing permission introspectable into the
      Pyramid introspection system.  Frameworks built atop Pyramid can thus use
      the the ``permissions`` introspectable category data to build a
      comprehensive list of permissions supported by a running system.  Before
      this method was added, permissions were already registered in this
      introspectable category as a side effect of naming them in an ``add_view``
      call, this method just makes it possible to arrange for a permission to be
      put into the ``permissions`` introspectable category without naming it
      along with an associated view.  Here's an example of usage of
      ``add_permission``::
    
          config = Configurator()
          config.add_permission('view')
    mcdonc authored

Aug 07, 2012

  1. Chris McDonough

    note conflict behavior change

    mcdonc authored

Aug 06, 2012

  1. Chris McDonough

    Merge branch 'feature.metaviewpredicates'

    mcdonc authored
  2. Chris McDonough

    add docs for third-party view predicates

    mcdonc authored

Aug 03, 2012

  1. Blaise Laflamme

    added entry to changes.txt for mako fix

    blaflamme authored
Something went wrong with that request. Please try again.