Commits on Jun 22, 2011
  1. @mcdonc

    prep for 1.1a2

    mcdonc committed Jun 22, 2011
  2. @mcdonc

    garden

    mcdonc committed Jun 22, 2011
  3. @mcdonc

    leave undefined

    mcdonc committed Jun 22, 2011
  4. @mcdonc

    take robert forkels advice

    mcdonc committed Jun 22, 2011
  5. @mcdonc

    - If multiple specs were provided in a single call to

      ``config.add_translation_dirs``, the directories were inserted into the
      beginning of the directory list in the wrong order: they were inserted in
      the reverse of the order they were provided in the ``*specs`` list (items
      later in the list trumped ones earlier in the list).  This is now fixed.
    
      Note however, that later calls to ``config.add_translation_dirs`` continue
      to insert directories into the beginning of the list of translation
      directories created by earlier calls.  This means that the same translation
      found in a directory added via ``add_translation_dirs`` later in the
      configuration process will be found before one added earlier via a separate
      call to ``add_translation_dirs`` in the configuration process.
    mcdonc committed Jun 22, 2011
  6. @mcdonc
  7. @mcdonc

    suggestions from sluggo

    mcdonc committed Jun 22, 2011
  8. @cguardia

    fix typo

    cguardia committed Jun 21, 2011
Commits on Jun 21, 2011
  1. @mcdonc

    changes suggested by sluggo

    mcdonc committed Jun 21, 2011
  2. @mcdonc

    garden

    mcdonc committed Jun 21, 2011
  3. @mcdonc
  4. @mcdonc

    Merge pull request #215 from mmerickel/fix.template_deprecation

    Fixed a bw-compat issue with PyramidTemplate being moved.
    mcdonc committed Jun 21, 2011
  5. @mmerickel
  6. @mcdonc

    avoid some getattrs

    mcdonc committed Jun 21, 2011
  7. @mcdonc
  8. @mcdonc

    - The pyramid Router attempted to set a value into the key

      ``environ['repoze.bfg.message']`` when it caught a view-related exception
      for backwards compatibility with :mod:`repoze.bfg` during error handling.
      It did this by using code that looked like so::
    
                        # "why" is an exception object
                        try:
                            msg = why[0]
                        except:
                            msg = ''
    
                        environ['repoze.bfg.message'] = msg
    
      Use of the value ``environ['repoze.bfg.message']`` was docs-deprecated in
      Pyramid 1.0.  Our standing policy is to not remove features after a
      deprecation for two full major releases, so this code was originally slated
      to be removed in Pyramid 1.2.  However, computing the
      ``repoze.bfg.message`` value was the source of at least one bug found in
      the wild (#199), and there isn't a
      foolproof way to both preserve backwards compatibility and to fix the bug.
      Therefore, the code which sets the value has been removed in this release.
      Code in exception views which relies on this value's presence in the
      environment should now use the ``exception`` attribute of the request
      (e.g. ``request.exception[0]``) to retrieve the message instead of relying
      on ``request.environ['repoze.bfg.message']``.
    
    Closes #199.
    mcdonc committed Jun 21, 2011
Commits on Jun 20, 2011
  1. @cguardia
  2. @cguardia

    typo

    cguardia committed Jun 20, 2011
  3. @cguardia

    Removed superfluous word

    cguardia committed Jun 20, 2011
  4. @mcdonc

    prep for 1.1a1

    mcdonc committed Jun 20, 2011
  5. @mcdonc

    bring whatsnew up to date

    mcdonc committed Jun 20, 2011
  6. @mcdonc

    bring whatsnew up to date

    mcdonc committed Jun 20, 2011
  7. @mcdonc
  8. @mcdonc

    - Register the default exception view for context of

      webob.exc.WSGIHTTPException (convenience).
    
    - Use ``exc.message`` in docs rather than ``exc.args[0]`` now that
      we control this.
    mcdonc committed Jun 20, 2011
  9. @mcdonc
  10. @mcdonc

    - Copy exception templates from webob.exc into pyramid.httpexceptions…

    … and
    
      ensure they all work.
    mcdonc committed Jun 19, 2011
  11. @mcdonc
  12. @mcdonc

    coverage

    mcdonc committed Jun 19, 2011
  13. @mcdonc

    - Base exception response content type again on accept header.

    - The ``pyramid.httpexceptions`` classes named ``HTTPFound``,
      ``HTTPMultipleChoices``, ``HTTPMovedPermanently``, ``HTTPSeeOther``,
      ``HTTPUseProxy``, and ``HTTPTemporaryRedirect`` now accept ``location`` as
      their first positional argument rather than ``detail``.  This means that
      you can do, e.g. ``return pyramid.httpexceptions.HTTPFound('http://foo')``
      rather than ``return
      pyramid.httpexceptions.HTTPFound(location='http//foo')`` (the latter will
      of course continue to work).
    mcdonc committed Jun 19, 2011
Commits on Jun 19, 2011
  1. @mcdonc
  2. @mcdonc
  3. @mcdonc

    fix rendering

    mcdonc committed Jun 18, 2011
Commits on Jun 14, 2011
  1. @mcdonc

    we no longer support 2.4

    mcdonc committed Jun 14, 2011
  2. @mcdonc

    merge httpexception-utils branch

    mcdonc committed Jun 14, 2011
  3. @mcdonc

    garden:

    mcdonc committed Jun 14, 2011