Chris McDonough
2012-09-22 3c05fb076c617fa0c8820344135cfe9e028400a8
Merge branch '1.4-branch'
4 files modified
28 ■■■■ changed files
CHANGES.txt 20 ●●●●● patch | view | raw | blame | history
docs/conf.py 4 ●●●● patch | view | raw | blame | history
pyramid/renderers.py 2 ●●● patch | view | raw | blame | history
setup.py 2 ●●● patch | view | raw | blame | history
CHANGES.txt
@@ -1,6 +1,26 @@
Next release
============
Bug Fixes
---------
- When trying to determine Mako defnames and Chameleon macro names in asset
  specifications, take into account that the filename may have a hyphen in
  it.  See https://github.com/Pylons/pyramid/pull/692
Features
--------
- A new ``pyramid.session.check_csrf_token`` convenience function was added.
- A ``check_csrf`` view predicate was added.  For example, you can now do
  ``config.add_view(someview, check_csrf=True)``.  When the predicate is
  checked, if the ``csrf_token`` value in ``request.params`` matches the CSRF
  token in the request's session, the view will be permitted to execute.
  Otherwise, it will not be permitted to execute.
1.4a1 (2012-09-16)
==================
Bug Fixes
---------
docs/conf.py
@@ -81,7 +81,7 @@
# other places throughout the built documents.
#
# The short X.Y version.
version = '1.4dev'
version = '1.4a1'
# The full version, including alpha/beta/rc tags.
release = version
@@ -160,7 +160,7 @@
html_theme = 'pyramid'
html_theme_options = dict(
    github_url='https://github.com/Pylons/pyramid',
    in_progress='true',
#    in_progress='true',
    )
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
pyramid/renderers.py
@@ -437,7 +437,7 @@
            renderer = registry.queryUtility(ITemplateRenderer, name=spec)
            if renderer is None:
                p = re.compile(
                    r'(?P<asset>[\w_.:/]+)'
                    r'(?P<asset>[\w_.:/-]+)'
                    r'(?:\#(?P<defname>[\w_]+))?'
                    r'(\.(?P<ext>.*))'
                    )
setup.py
@@ -68,7 +68,7 @@
    ]
setup(name='pyramid',
      version='1.4dev',
      version='1.4a1',
      description=('The Pyramid web application development framework, a '
                   'Pylons project'),
      long_description=README + '\n\n' +  CHANGES,