Permalink
Commits on Sep 12, 2012
  1. sketch out how we might do this

    mcdonc committed Sep 12, 2012
Commits on Sep 11, 2012
  1. garden

    mcdonc committed Sep 11, 2012
  2. coverage

    mcdonc committed Sep 11, 2012
  3. - 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 committed Sep 11, 2012
  4. - ``pyramid.testing.DummyRequest`` now supports methods supplied by the

      ``pyramid.util.InstancePropertyMixin`` class such as ``set_property``.
    mcdonc committed Sep 11, 2012
Commits on Sep 10, 2012
  1. fix for py3

    mcdonc committed Sep 10, 2012
  2. coverage

    mcdonc committed Sep 10, 2012
  3. coverage

    mcdonc committed Sep 10, 2012
  4. coverage for renderers module

    mcdonc committed Sep 10, 2012
  5. garden

    mcdonc committed Sep 10, 2012
Commits on Sep 9, 2012
  1. dead code

    mcdonc committed Sep 9, 2012
  2. dead code, garden

    mcdonc committed Sep 9, 2012
  3. - 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 committed Sep 9, 2012
  4. garden

    mcdonc committed Sep 9, 2012
  5. - 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 committed Sep 9, 2012
  6. - 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 committed Sep 9, 2012
  7. garden

    mcdonc committed Sep 9, 2012
  8. - 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 committed Sep 9, 2012
  9. garden

    mcdonc committed Sep 9, 2012
  10. - 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 committed Sep 9, 2012
  11. garden

    mcdonc committed Sep 9, 2012
  12. - 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 committed Sep 9, 2012
Commits on Sep 8, 2012
  1. 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 committed Sep 8, 2012
  2. simplify tox.ini

    mcdonc committed Sep 8, 2012
Commits on Sep 1, 2012
Commits on Aug 30, 2012
  1. Merge pull request #675 from ronnix/patch-3

    Fixed broken link in docs/narr/testing.rst
    mcdonc committed Aug 30, 2012