Permalink
Commits on Jul 13, 2011
  1. prep for 1.1b2

    mcdonc committed Jul 13, 2011
  2. - Views associated with routes with spaces in the route name may not …

    mcdonc committed Jul 13, 2011
    …have
    
      been looked up correctly when using Pyramid with ``zope.interface`` 3.6.4
      and better.
    
    Closes #232.
  3. - We now clear ``request.response`` before we invoke an exception vie…

    mcdonc committed Jul 13, 2011
    …w; an
    
      exception view will be working with a request.response that has not been
      touched by any code prior to the exception.
  4. garden

    mcdonc committed Jul 13, 2011
  5. garden

    mcdonc committed Jul 13, 2011
  6. clarify

    mcdonc committed Jul 13, 2011
  7. - New environment setting ``PYRAMID_PREVENT_HTTP_CACHE`` and new

    mcdonc committed Jul 13, 2011
      configuration file value ``prevent_http_cache``.  These are synomymous and
      allow you to prevent HTTP cache headers from being set by Pyramid's
      ``http_cache`` machinery globally in a process.  see the "Influencing HTTP
      Caching" section of the "View Configuration" narrative chapter and the
      detailed documentation for this setting in the "Environment Variables and
      Configuration Settings" narrative chapter.
    
    - New documentation section in View Configuration narrative chapter:
      "Influencing HTTP Caching".
Commits on Jul 12, 2011
  1. - The ``pyramid_routesalchemy`` and ``pyramid_alchemy`` scaffolds

    mcdonc committed Jul 12, 2011
      inappropriately used ``DBSession.rollback()`` instead of
      ``transaction.abort()`` in one place.
    
    - Wiki2 (SQLAlchemy + URL Dispatch) tutorial ``models.initialize_sql`` didn't
      match the ``pyramid_routesalchemy`` scaffold function of the same name; it
      didn't get synchronized when it was changed in the scaffold.
  2. garden

    mcdonc committed Jul 12, 2011
  3. - The ``Configurator.add_route`` method allowed two routes with the same

    mcdonc committed Jul 12, 2011
      route to be added without an intermediate ``config.commit()``.  If you now
      receive a ``ConfigurationError`` at startup time that appears to be
      ``add_route`` related, you'll need to either a) ensure that all of your
      route names are unique or b) call ``config.commit()`` before adding a
      second route with the name of a previously added name or c) use a
      Configurator that works in ``autocommit`` mode.
  4. remove unused import

    mcdonc committed Jul 12, 2011
  5. - Previously, If a ``BeforeRender`` event subscriber added a value vi…

    mcdonc committed Jul 12, 2011
    …a the
    
      ``__setitem__`` or ``update`` methods of the event object with a key that
      already existed in the renderer globals dictionary, a ``KeyError`` was
      raised.  With the deprecation of the "add_renderer_globals" feature of the
      configurator, there was no way to override an existing value in the
      renderer globals dictionary that already existed.  Now, the event object
      will overwrite an older value that is already in the globals dictionary
      when its ``__setitem__`` or ``update`` is called (as well as the new
      ``setdefault`` method), just like a plain old dictionary.  As a result, for
      maximum interoperability with other third-party subscribers, if you write
      an event subscriber meant to be used as a BeforeRender subscriber, your
      subscriber code will now need to (using ``.get`` or ``__contains__`` of the
      event object) ensure no value already exists in the renderer globals
      dictionary before setting an overriding value.
  6. reviewed

    mcdonc committed Jul 12, 2011
  7. warn about warnings in 2.7+

    mcdonc committed Jul 12, 2011
  8. fix sample

    mcdonc committed Jul 12, 2011
  9. remove deprecated mechanism to associate views with routes; add descr…

    mcdonc committed Jul 12, 2011
    …iption of scan mechanism
  10. add docs about logging config

    mcdonc committed Jul 12, 2011
  11. add docs about logging config

    mcdonc committed Jul 12, 2011
  12. remove unnecessary clause

    mcdonc committed Jul 12, 2011
  13. simplify

    mcdonc committed Jul 12, 2011
  14. add PyPy

    mcdonc committed Jul 12, 2011
  15. add PyPy

    mcdonc committed Jul 12, 2011
  16. convenience command

    mcdonc committed Jul 12, 2011
  17. bad reference

    mcdonc committed Jul 12, 2011
  18. simplify

    mcdonc committed Jul 12, 2011
  19. we no longer support 24.

    mcdonc committed Jul 12, 2011
Commits on Jul 11, 2011
  1. give request a registry = None clasattr so registry can successfully …

    mcdonc committed Jul 11, 2011
    …be passed as a kwarg to the Request constructor
  2. simplify

    mcdonc committed Jul 11, 2011
  3. simplify wording

    mcdonc committed Jul 11, 2011