From dbc792498c1c8a3390c1babc1bf742def40e2b46 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 19 Aug 2012 11:26:55 -0400 Subject: Garden. --- CHANGES.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index a9dd18985..abd30c950 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -17,12 +17,15 @@ Bug Fixes during iteration`` exception. It no longer does. See https://github.com/Pylons/pyramid/issues/635 for more information. -- In Mako Templates lookup, check if the uri is already adjusted and bring +- In Mako Templates lookup, cyheck if the uri is already adjusted and bring it back to an asset spec. Normally occurs with inherited templates or included components. https://github.com/Pylons/pyramid/issues/606 https://github.com/Pylons/pyramid/issues/607 +- ``pserve``: don't show --stop-daemon option on Windows. + https://github.com/Pylons/pyramid/pull/661 + Features -------- -- cgit v1.2.3 From b9b4657e79e7e1ed1f0c79bf82c3fe19a0ab5687 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 19 Aug 2012 12:15:27 -0400 Subject: - Undo effects of merging pull #661 because tests wont pass on windows https://github.com/Pylons/pyramid/pull/661 --- CHANGES.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index abd30c950..0291d924a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -23,9 +23,6 @@ Bug Fixes https://github.com/Pylons/pyramid/issues/606 https://github.com/Pylons/pyramid/issues/607 -- ``pserve``: don't show --stop-daemon option on Windows. - https://github.com/Pylons/pyramid/pull/661 - Features -------- -- cgit v1.2.3 From 7853bc001283db8c5b87d026dcc130d1bece8dcc Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Wed, 22 Aug 2012 10:49:18 -0400 Subject: garden --- CHANGES.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 0291d924a..30df788b3 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -17,12 +17,16 @@ Bug Fixes during iteration`` exception. It no longer does. See https://github.com/Pylons/pyramid/issues/635 for more information. -- In Mako Templates lookup, cyheck if the uri is already adjusted and bring +- In Mako Templates lookup, check if the uri is already adjusted and bring it back to an asset spec. Normally occurs with inherited templates or included components. https://github.com/Pylons/pyramid/issues/606 https://github.com/Pylons/pyramid/issues/607 +- In Mako Templates lookup, check for absolute uri (using mako directories) + when mixing up inheritance with asset specs. + https://github.com/Pylons/pyramid/issues/662 + Features -------- -- cgit v1.2.3 From 45b6e192c44ebee124317a90a9a6dcc044407a2a Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 23 Aug 2012 10:31:38 -0500 Subject: added cookie session changes to CHANGES.txt --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 30df788b3..b8747f06c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -109,6 +109,11 @@ Features config = Configurator() config.add_permission('view') +- The ``UnencryptedCookieSessionFactoryConfig`` now accepts + ``signed_serialize`` and ``signed_deserialize`` hooks which may be used + to influence how the sessions are marshalled (by default this is done + with HMAC+pickle). + Deprecations ------------ -- cgit v1.2.3 From 75a8ff4ad0ba8eed13592eb5e7a211da3035e209 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 23 Aug 2012 10:53:04 -0500 Subject: updated CHANGES with accept-header bug fix --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index b8747f06c..e799c8f00 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -27,6 +27,11 @@ Bug Fixes when mixing up inheritance with asset specs. https://github.com/Pylons/pyramid/issues/662 +- HTTP Accept headers were not being normalized causing potentially + conflicting view registrations to go unnoticed. Two views that only + differ in the case ('text/html' vs. 'text/HTML') will now raise an error. + https://github.com/Pylons/pyramid/pull/620 + Features -------- -- cgit v1.2.3 From c9a0331f5f867a1ba3f13565f8c61cfa433bc8fc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Aug 2012 14:03:04 -0400 Subject: garden --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index e799c8f00..d20257679 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -32,6 +32,11 @@ Bug Fixes differ in the case ('text/html' vs. 'text/HTML') will now raise an error. https://github.com/Pylons/pyramid/pull/620 +- Configurator.add_directive now accepts arbitrary callables like partials or + objects implementing ``__call__`` which dont have ``__name__`` and + ``__doc__`` attributes. See https://github.com/Pylons/pyramid/issues/621 + and https://github.com/Pylons/pyramid/pull/647. + Features -------- -- cgit v1.2.3 From 95f766bc7c380797c569da464f1f41d12b05bdbe Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 25 Aug 2012 00:10:46 -0400 Subject: Subscriber predicates: - Add ``add_subscriber_predicate`` method to Configurator. - Allow ``add_subscriber`` and ``subscriber`` venusian decorator to accept ``**predicates`` arguments. - Document subscriber predicate feature. - Share more code between view, route, and subscriber related method wrt predicates. --- CHANGES.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index d20257679..369e9d74d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -40,9 +40,11 @@ Bug Fixes Features -------- -- Third-party custom view and route predicates can now be added for use by - view authors via ``pyramid.config.Configurator.add_view_predicate`` and - ``pyramid.config.Configurator.add_route_predicate``. So, for example, +- Third-party custom view, route, and subscriber predicates can now be added + for use by view authors via + ``pyramid.config.Configurator.add_view_predicate``, + ``pyramid.config.Configurator.add_route_predicate`` and + ``pyramid.config.Configurator.add_subscriber_predicate``. So, for example, doing this:: config.add_view_predicate('abc', my.package.ABCPredicate) @@ -52,8 +54,9 @@ Features @view_config(abc=1) - See "Adding A Third Party View or Route Predicate" in the Hooks chapter for - more information. + Similar features exist for ``add_route``, and ``add_subscriber``. See + "Adding A Third Party View, Route, or Subscriber Predicate" in the Hooks + chapter for more information. Note that changes made to support the above feature now means that only actions registered using the same "order" can conflict with one another. -- cgit v1.2.3 From a9289d95036eb23e973815e529d3db3fea235046 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 26 Aug 2012 15:50:34 -0400 Subject: - Forward-port from 1.3 branch: when registering multiple views with an ``accept`` predicate in a Pyramid application runing under Python 3, you might have received a ``TypeError: unorderable types: function() < function()`` exception. --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 369e9d74d..c414ab74c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -37,6 +37,11 @@ Bug Fixes ``__doc__`` attributes. See https://github.com/Pylons/pyramid/issues/621 and https://github.com/Pylons/pyramid/pull/647. +- Forward-port from 1.3 branch: when registering multiple views with an + ``accept`` predicate in a Pyramid application runing under Python 3, you + might have received a ``TypeError: unorderable types: function() < + function()`` exception. + Features -------- -- cgit v1.2.3