Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 26, 2012
  1. @mcdonc

    prep for 1.4a3

    mcdonc authored
  2. @mcdonc

    - New ``physical_path`` view predicate. If specified, this value shou…

    mcdonc authored
    …ld be a
    
      string or a tuple representing the physical traversal path of the context
      found via traversal for this predicate to match as true.  For example:
      ``physical_path='/'`` or ``physical_path='/a/b/c'`` or ``physical_path=('',
      'a', 'b', 'c')``.  This is not a path prefix match or a regex, it's a
      whole-path match.  It's useful when you want to always potentially show a
      view when some object is traversed to, but you can't be sure about what kind
      of object it will be, so you can't use the ``context`` predicate.  The
      individual path elements inbetween slash characters or in tuple elements
      should be the Unicode representation of the name of the resource and should
      not be encoded in any way.
Commits on Oct 14, 2012
  1. @mcdonc

    point at policy

    mcdonc authored
  2. @chrisrossi

    Update change log.

    chrisrossi authored
  3. @chrisrossi
  4. @chrisrossi
Commits on Oct 13, 2012
  1. @mcdonc

    mention comments

    mcdonc authored
  2. @mcdonc
  3. @mcdonc

    add docs and changelog note

    mcdonc authored
Commits on Oct 7, 2012
  1. @mcdonc

    - The Configurator ``testing_securitypolicy`` method now returns the …

    mcdonc authored
    …policy
    
      object it creates.
    
    - The Configurator ``testing_securitypolicy`` method accepts two new
      arguments: ``remember_result`` and ``forget_result``.  If supplied, these
      values influence the result of the policy's ``remember`` and ``forget``
      methods, respectively.
    
    - The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a
      ``forgotten`` value on the policy (the value ``True``) when its ``forget``
      method is called.
    
    - The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a
      ``remembered`` value on the policy, which is the value of the ``principal``
      argument it's called with when its ``remember`` method is called.
Commits on Oct 5, 2012
  1. @mcdonc

    garden

    mcdonc authored
Commits on Sep 30, 2012
  1. @mcdonc

    - 1.4a ``pyramid.scripting.prepare`` behaved differently than 1.3 series

    mcdonc authored
      function of same name.  In particular, if passed a request, it would not
      set the ``registry`` attribute of the request like 1.3 did.  A symptom
      would be that passing a request to ``pyramid.paster.bootstrap`` (which uses
      the function) that did not have a ``registry`` attribute could assume that
      the registry would be attached to the request by Pyramid.  This assumption
      could be made in 1.3, but not in 1.4.  The assumption can now be made in
      1.4 too (a registry is attached to a request passed to bootstrap or
      prepare).
Commits on Sep 27, 2012
  1. @mcdonc

    prep for 1.4a2

    mcdonc authored
Commits on Sep 22, 2012
  1. @mcdonc

    - Add ``Base.metadata.bind = engine`` to alchemy template, so that ta…

    mcdonc authored
    …bles
    
      defined imperatively will work.
    
    - update wiki2 SQLA tutorial with the changes required after inserting
      ``Base.metadata.bind = engine`` into the alchemy scaffold.
  2. @mcdonc
  3. @mcdonc

    garden

    mcdonc authored
Commits on Sep 19, 2012
  1. @mcdonc

    garden

    mcdonc authored
  2. @mcdonc

    garden

    mcdonc authored
Commits on Sep 17, 2012
  1. @mcdonc

    change to kick rtd

    mcdonc authored
  2. @mcdonc

    change to kick rtd

    mcdonc authored
  3. @mcdonc

    prep for 1.4a1

    mcdonc authored
Commits on Sep 16, 2012
  1. @mcdonc
  2. @mcdonc

    docs and test

    mcdonc authored
  3. @mcdonc

    add a whatsnew-1.4 document

    mcdonc authored
  4. @mcdonc

    reclassify bug as feature

    mcdonc authored
Commits on Sep 15, 2012
  1. @mcdonc

    merge jinty's testConfig code

    mcdonc authored
  2. @mcdonc
Commits on Sep 13, 2012
  1. @mcdonc
Commits on Sep 11, 2012
  1. @mcdonc

    garden

    mcdonc authored
  2. @mcdonc

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

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

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

    mcdonc authored
      ``pyramid.util.InstancePropertyMixin`` class such as ``set_property``.
Commits on Sep 10, 2012
  1. @mcdonc
Commits on Sep 9, 2012
  1. @mcdonc

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

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

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

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

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

    mcdonc authored
      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.
Something went wrong with that request. Please try again.