From a1f768cc766516e81f295c7ad507305e526a740e Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Mon, 12 Aug 2013 20:50:55 +0200 Subject: Allow explicit cookie domain setting. This is useful as an escape hatch when dealing with enviroments where no normal rules apply. --- CHANGES.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index e9533ab48..2e1a2efd4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -49,9 +49,13 @@ Features ``pyramid.config.Configurator.add_static_view``. This allows externally-hosted static URLs to be generated based on the current protocol. -- The ``AuthTktAuthenticationPolicy`` has a new ``parent_domain`` option to - set the authentication cookie as a wildcard cookie on the parent domain. This - is useful if you have multiple sites sharing the same domain. +- The ``AuthTktAuthenticationPolicy`` has two new options to configure its + domain usage: + * ``parent_domain``: if set the authentication cookie is set on + the parent domain. This is useful if you have multiple sites sharing the + same domain. + * ``domain``: if provided the cookie is always set for this domain, bypassing + all usual logic. - The ``AuthTktAuthenticationPolicy`` now supports IPv6 addresses when using the ``include_ip=True`` option. This is possibly incompatible with -- cgit v1.2.3 From 0f1bc5286f772d2001bbcab8235bf5f7805b7634 Mon Sep 17 00:00:00 2001 From: Jonathan Villemaire-Krajden Date: Tue, 13 Aug 2013 13:10:47 -0400 Subject: Updated CHANGES Fixes 1040. --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index e9533ab48..1b4c3492c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -168,6 +168,9 @@ Bug Fixes - The ``alchemy`` scaffold would break when the database was MySQL during tables creation. See https://github.com/Pylons/pyramid/pull/1049 +- The route ``current_route_url`` method now attaches the query string to the URL by default. See + https://github.com/Pylons/pyramid/issues/1040 + 1.4 (2012-12-18) ================ @@ -205,6 +208,8 @@ Backwards Incompatibilities similar way to the changes described to ``_depth`` above. This argument remains undocumented, but might be used in the wild by some insane person. +- Modified the ``current_route_url`` method in pyramid.Request. The method previously returned the URL without the query string by default, it now does attach the query string unless it is overriden. + 1.4b1 (2012-11-21) ================== -- cgit v1.2.3 From 33e0fe18037d99312d8d4d966a8e01baffc2e62d Mon Sep 17 00:00:00 2001 From: Jonathan Villemaire-Krajden Date: Tue, 13 Aug 2013 13:25:17 -0400 Subject: Fixes to documentation, added change to what's new. --- CHANGES.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 1b4c3492c..42b3e7546 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -168,9 +168,14 @@ Bug Fixes - The ``alchemy`` scaffold would break when the database was MySQL during tables creation. See https://github.com/Pylons/pyramid/pull/1049 -- The route ``current_route_url`` method now attaches the query string to the URL by default. See +- The ``current_route_url`` method now attaches the query string to the URL by default. See https://github.com/Pylons/pyramid/issues/1040 +Backwards Incompatibilities +--------------------------- + +- Modified the ``current_route_url`` method in pyramid.Request. The method previously returned the URL without the query string by default, it now does attach the query string unless it is overriden. + 1.4 (2012-12-18) ================ @@ -208,8 +213,6 @@ Backwards Incompatibilities similar way to the changes described to ``_depth`` above. This argument remains undocumented, but might be used in the wild by some insane person. -- Modified the ``current_route_url`` method in pyramid.Request. The method previously returned the URL without the query string by default, it now does attach the query string unless it is overriden. - 1.4b1 (2012-11-21) ================== -- cgit v1.2.3 From 6a4a3413756a94f5e7ebbe7720788f28ca280a72 Mon Sep 17 00:00:00 2001 From: Jonathan Villemaire-Krajden Date: Tue, 13 Aug 2013 14:01:25 -0400 Subject: Fixed documentation width, signed contributors agreement and added a test for duplicate query strings. --- CHANGES.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 42b3e7546..0479e3011 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -168,13 +168,16 @@ Bug Fixes - The ``alchemy`` scaffold would break when the database was MySQL during tables creation. See https://github.com/Pylons/pyramid/pull/1049 -- The ``current_route_url`` method now attaches the query string to the URL by default. See +- The ``current_route_url`` method now attaches the query string to the URL by + default. See https://github.com/Pylons/pyramid/issues/1040 Backwards Incompatibilities --------------------------- -- Modified the ``current_route_url`` method in pyramid.Request. The method previously returned the URL without the query string by default, it now does attach the query string unless it is overriden. +- Modified the ``current_route_url`` method in pyramid.Request. The method + previously returned the URL without the query string by default, it now does + attach the query string unless it is overriden. 1.4 (2012-12-18) ================ -- cgit v1.2.3 From 24c932646ace774d39341bc52cfa01ef84eeede5 Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Wed, 14 Aug 2013 00:04:46 -0400 Subject: added bug fix to changes --- CHANGES.txt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 0479e3011..84f3aaf54 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -133,6 +133,10 @@ Features Bug Fixes --------- +- Fixed a Mako renderer bug returning a tuple with a previous defname value +in some circumstances. See https://github.com/Pylons/pyramid/issues/1037 for +more information. + - Make the ``pyramid.config.assets.PackageOverrides`` object implement the API for ``__loader__`` objects specified in PEP 302. Proxies to the ``__loader__`` set by the importer, if present; otherwise, raises @@ -270,7 +274,7 @@ Features @subscriber(SomeOtherEvent) def asubscriber(event): pass - + And you wanted to use a subscriber predicate:: @subscriber([SomeEvent, SomeContextType], mypredicate=True) @@ -344,7 +348,7 @@ Features @subscriber([SomeContextType, SomeEvent]) def asubscriber(event): - # bzzt! you'll be getting the context here as ``event``, and it'll + # bzzt! you'll be getting the context here as ``event``, and it'll # be useless Existing multiple-argument subscribers continue to work without issue, so you @@ -614,7 +618,7 @@ Bug Fixes 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) +- 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 @@ -833,13 +837,13 @@ Backwards Incompatibilities * ``registerAdapter``, use ``pyramid.config.Configurator.registry.registerAdapter`` instead. - * ``registerSubscriber``, use + * ``registerSubscriber``, use ``pyramid.config.Configurator.add_subscriber`` instead. - * ``registerRoute``, use + * ``registerRoute``, use ``pyramid.config.Configurator.add_route`` instead. - * ``registerSettings``, use + * ``registerSettings``, use ``pyramid.config.Configurator.add_settings`` instead. - In Pyramid 1.3 and previous, the ``__call__`` method of a Response object -- cgit v1.2.3 From 3de54e3009f624f3c3dabe531fbcc25483368fe4 Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Wed, 14 Aug 2013 00:10:03 -0400 Subject: fixed line indentation --- CHANGES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 84f3aaf54..76522695a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -134,8 +134,8 @@ Bug Fixes --------- - Fixed a Mako renderer bug returning a tuple with a previous defname value -in some circumstances. See https://github.com/Pylons/pyramid/issues/1037 for -more information. + in some circumstances. See https://github.com/Pylons/pyramid/issues/1037 + for more information. - Make the ``pyramid.config.assets.PackageOverrides`` object implement the API for ``__loader__`` objects specified in PEP 302. Proxies to the -- cgit v1.2.3 From 3ea7883a5822fb1279aa2dbad54ba77fa2c6db8f Mon Sep 17 00:00:00 2001 From: Tom Lazar Date: Thu, 15 Aug 2013 12:12:49 +0200 Subject: Add reference to the pull requests Conflicts: CHANGES.txt --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index f98de6c29..53724fdcb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -56,6 +56,9 @@ Features same domain. * ``domain``: if provided the cookie is always set for this domain, bypassing all usual logic. + See https://github.com/Pylons/pyramid/pull/1028, + https://github.com/Pylons/pyramid/pull/1072 and + https://github.com/Pylons/pyramid/pull/1078. - The ``AuthTktAuthenticationPolicy`` now supports IPv6 addresses when using the ``include_ip=True`` option. This is possibly incompatible with -- cgit v1.2.3 From d6e8b86723d8601df924ec31205f016b86778b98 Mon Sep 17 00:00:00 2001 From: Tom Lazar Date: Thu, 15 Aug 2013 16:43:46 +0200 Subject: Make ``pserve.cherrypy_server_runner`` Python 3 compatible. Closes https://github.com/Pylons/pyramid/issues/718 --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 53724fdcb..679f8ed4a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -183,6 +183,9 @@ Bug Fixes default. See https://github.com/Pylons/pyramid/issues/1040 +- Make ``pserve.cherrypy_server_runner`` Python 3 compatible. See + https://github.com/Pylons/pyramid/issues/718 + Backwards Incompatibilities --------------------------- -- cgit v1.2.3 From 58c5fefd37109fe7f27ca77a3d0896cc4b8e0470 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 15 Aug 2013 21:57:48 +0200 Subject: fix some rST issues --- CHANGES.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 679f8ed4a..48efad6d4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -51,11 +51,13 @@ Features - The ``AuthTktAuthenticationPolicy`` has two new options to configure its domain usage: + * ``parent_domain``: if set the authentication cookie is set on the parent domain. This is useful if you have multiple sites sharing the same domain. * ``domain``: if provided the cookie is always set for this domain, bypassing - all usual logic. + all usual logic. + See https://github.com/Pylons/pyramid/pull/1028, https://github.com/Pylons/pyramid/pull/1072 and https://github.com/Pylons/pyramid/pull/1078. -- cgit v1.2.3 From c614ffc153135eb14d77472a46c20af7c6f6ed91 Mon Sep 17 00:00:00 2001 From: Andreas Zeidler Date: Sat, 17 Aug 2013 11:48:58 +0200 Subject: add ``localizer`` property to the request (refs #508) --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 48efad6d4..b805a12a0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Next Release Features -------- +- Add ``localizer`` property (reified) to the request. + See https://github.com/Pylons/pyramid/issues/508. + - Add ``pdistreport`` script, which prints the Python version in use, the Pyramid version in use, and the version number and location of all Python distributions currently installed. -- cgit v1.2.3