From 1ffb8e3cc21603b29ccd78152f82cca7f61a09b1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 16 May 2011 02:11:56 -0400 Subject: - Added API docs for ``pyramid.httpexceptions.abort`` and ``pyramid.httpexceptions.redirect``. - Added "HTTP Exceptions" section to Views narrative chapter including a description of ``pyramid.httpexceptions.abort``; adjusted redirect section to note ``pyramid.httpexceptions.redirect``. - A default exception view for the context ``webob.exc.HTTPException`` (aka ``pyramid.httpexceptions.HTTPException``) is now registered by default. This means that an instance of any exception class imported from ``pyramid.httpexceptions`` (such as ``HTTPFound``) can now be raised from within view code; when raised, this exception view will render the exception to a response. - New functions named ``pyramid.httpexceptions.abort`` and ``pyramid.httpexceptions.redirect`` perform the equivalent of their Pylons brethren when an HTTP exception handler is registered. These functions take advantage of the newly registered exception view for ``webob.exc.HTTPException``. - The Configurator now accepts an additional keyword argument named ``httpexception_view``. By default, this argument is populated with a default exception view function that will be used when an HTTP exception is raised. When ``None`` is passed for this value, an exception view for HTTP exceptions will not be registered. Passing ``None`` returns the behavior of raising an HTTP exception to that of Pyramid 1.0 (the exception will propagate to middleware and to the WSGI server). --- TODO.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0f7d6342c..d85f3b7f0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,10 +4,6 @@ Pyramid TODOs Should-Have ----------- -- Consider adding a default exception view for HTTPException and attendant - ``redirect`` and ``abort`` functions ala Pylons (promised Mike I'd enable - this in 1.1). - - Add narrative docs for wsgiapp and wsgiapp2. Nice-to-Have -- cgit v1.2.3 From 99edc51a3b05309c7f5d98ff96289ec51b1d7660 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 11 Jun 2011 05:35:27 -0400 Subject: - Pyramid now expects Response objects to have a __call__ method which implements the WSGI application interface instead of the three webob attrs status, headerlist and app_iter. Backwards compatibility exists for code which returns response objects that do not have a __call__. - pyramid.response.Response is no longer an exception (and therefore cannot be raised in order to generate a response). - Changed my mind about moving stuff from pyramid.httpexceptions to pyramid.response. The stuff I moved over has been moved back to pyramid.httpexceptions. --- TODO.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d85f3b7f0..04c6e60d7 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,12 @@ Pyramid TODOs ============= +Must-Have +--------- + +- Depend on only __call__ interface or only 3-attr interface in builtin code + that deals with response objects. + Should-Have ----------- -- cgit v1.2.3 From fc048afce7c58a1e794b495b438f4ee76f084b69 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 11 Jun 2011 05:42:43 -0400 Subject: todo --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 04c6e60d7..1a178a23d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,6 +7,11 @@ Must-Have - Depend on only __call__ interface or only 3-attr interface in builtin code that deals with response objects. +- Figure out what to do with ``is_response``. + +- Docs mention ``exception.args[0]`` as a way to get messages; check that + this works. + Should-Have ----------- -- cgit v1.2.3 From f0d77e8f3cec1ff90a2029fe143580fd42cf81aa Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 11 Jun 2011 05:45:15 -0400 Subject: todo --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1a178a23d..4b82208bd 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,8 @@ Pyramid TODOs Must-Have --------- +- To subclass or not subclass http exceptions. + - Depend on only __call__ interface or only 3-attr interface in builtin code that deals with response objects. -- cgit v1.2.3 From d868fff7597c5a05acd1f5c024fc45dde9880413 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 13 Jun 2011 06:17:00 -0400 Subject: - Remove IResponder abstraction in favor of more general IResponse abstraction. - It is now possible to return an arbitrary object from a Pyramid view callable even if a renderer is not used, as long as a suitable adapter to ``pyramid.interfaces.IResponse`` is registered for the type of the returned object. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The Pyramid router now, by default, expects response objects returned from view callables to implement the ``pyramid.interfaces.IResponse`` interface. Unlike the Pyramid 1.0 version of this interface, objects which implement IResponse now must define a ``__call__`` method that accepts ``environ`` and ``start_response``, and which returns an ``app_iter`` iterable, among other things. Previously, it was possible to return any object which had the three WebOb ``app_iter``, ``headerlist``, and ``status`` attributes as a response, so this is a backwards incompatibility. It is possible to get backwards compatibility back by registering an adapter to IResponse from the type of object you're now returning from view callables. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The ``pyramid.interfaces.IResponse`` interface is now much more extensive. Previously it defined only ``app_iter``, ``status`` and ``headerlist``; now it is basically intended to directly mirror the ``webob.Response`` API, which has many methods and attributes. - Documentation changes to support above. --- TODO.txt | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4b82208bd..ca2433d3c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,14 +6,27 @@ Must-Have - To subclass or not subclass http exceptions. -- Depend on only __call__ interface or only 3-attr interface in builtin code - that deals with response objects. +- Flesh out IResponse interface. Attributes Used internally: unicode_body / + body / content_type / charset / cache_expires / headers/ + default_content_type / set_cookie / headerlist / app_iter / status / + __call__. -- Figure out what to do with ``is_response``. +- Deprecate view.is_response? + +- Move is_response to response.py? + +- Make sure registering IResponse adapter for webob.Response doesn't make it + impossible to register an IResponse adapter for an interface that a + webob.Response happens to implement. + +- Run whatsitdoing tests. - Docs mention ``exception.args[0]`` as a way to get messages; check that this works. +- Deprecate response_foo attrs on request at attribute set time rather than + lookup time. + Should-Have ----------- -- cgit v1.2.3 From 3f4f67e76c2e1338377babd983e4071f52235132 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 13 Jun 2011 23:05:38 -0400 Subject: garden --- TODO.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ca2433d3c..9d9bbf1eb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,15 +6,12 @@ Must-Have - To subclass or not subclass http exceptions. -- Flesh out IResponse interface. Attributes Used internally: unicode_body / - body / content_type / charset / cache_expires / headers/ - default_content_type / set_cookie / headerlist / app_iter / status / - __call__. - - Deprecate view.is_response? - Move is_response to response.py? +- Create add_response_adapter Configurator API? + - Make sure registering IResponse adapter for webob.Response doesn't make it impossible to register an IResponse adapter for an interface that a webob.Response happens to implement. -- cgit v1.2.3 From 92099080859976ce78882de477ddc2c01bc880b2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 14 Jun 2011 03:37:08 -0400 Subject: - New method named ``pyramid.request.Request.is_response``. This method should be used instead of the ``pyramid.view.is_response`` function, which has been deprecated. - Deprecated ``pyramid.view.is_response`` function in favor of (newly-added) ``pyramid.request.Request.is_response`` method. Determining if an object is truly a valid response object now requires access to the registry, which is only easily available as a request attribute. The ``pyramid.view.is_response`` function will still work until it is removed, but now may return an incorrect answer under some (very uncommon) circumstances. --- TODO.txt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9d9bbf1eb..27ab9ffb5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,18 +6,6 @@ Must-Have - To subclass or not subclass http exceptions. -- Deprecate view.is_response? - -- Move is_response to response.py? - -- Create add_response_adapter Configurator API? - -- Make sure registering IResponse adapter for webob.Response doesn't make it - impossible to register an IResponse adapter for an interface that a - webob.Response happens to implement. - -- Run whatsitdoing tests. - - Docs mention ``exception.args[0]`` as a way to get messages; check that this works. -- cgit v1.2.3 From cecfc9e459166f3de13141954a61eaa2d6c905f2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 14 Jun 2011 05:29:45 -0400 Subject: garden: --- TODO.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 27ab9ffb5..fb72d42b5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,7 +4,8 @@ Pyramid TODOs Must-Have --------- -- To subclass or not subclass http exceptions. +- Copy exception templates from webob.exc into pyramid.httpexceptions and + ensure they all work. - Docs mention ``exception.args[0]`` as a way to get messages; check that this works. -- cgit v1.2.3 From d0a5f0654e0468f9d50a4c1b98f9d316253ad64d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 19 Jun 2011 20:19:27 -0400 Subject: - 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). --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fb72d42b5..f24b49263 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,8 @@ Pyramid TODOs Must-Have --------- +- Grep for IExceptionResponse, forgot what it does. + - Copy exception templates from webob.exc into pyramid.httpexceptions and ensure they all work. -- cgit v1.2.3 From 4275ebb943e5549ceb51577b2e5b1ae7a3ee5b20 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 19 Jun 2011 21:43:46 -0400 Subject: - Copy exception templates from webob.exc into pyramid.httpexceptions and ensure they all work. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f24b49263..adefbc573 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,9 +6,6 @@ Must-Have - Grep for IExceptionResponse, forgot what it does. -- Copy exception templates from webob.exc into pyramid.httpexceptions and - ensure they all work. - - Docs mention ``exception.args[0]`` as a way to get messages; check that this works. -- cgit v1.2.3 From d69ae60b9a195c7cb72122b59335ba886bfffe50 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 20 Jun 2011 00:37:59 -0400 Subject: - 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. --- TODO.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index adefbc573..8a014a245 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,11 +4,6 @@ Pyramid TODOs Must-Have --------- -- Grep for IExceptionResponse, forgot what it does. - -- Docs mention ``exception.args[0]`` as a way to get messages; check that - this works. - - Deprecate response_foo attrs on request at attribute set time rather than lookup time. -- cgit v1.2.3 From e7e35e87343ce43a8b368076089a95e18aba665f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Jun 2011 17:21:30 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8a014a245..b52ad4eec 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,6 +7,9 @@ Must-Have - Deprecate response_foo attrs on request at attribute set time rather than lookup time. +- Investigate mod_wsgi tutorial to make sure it still works (2 reports say + no; application package not found). + Should-Have ----------- -- cgit v1.2.3 From d8c55c0157b37594a5266ad92b8d203b5f6cb0ca Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 26 Jun 2011 02:59:19 -0400 Subject: - Accessing or setting deprecated response_* attrs on request (e.g. ``response_content_type``) now issues a deprecation warning at access time rather than at rendering time. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b52ad4eec..ba9a72d03 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,9 +4,6 @@ Pyramid TODOs Must-Have --------- -- Deprecate response_foo attrs on request at attribute set time rather than - lookup time. - - Investigate mod_wsgi tutorial to make sure it still works (2 reports say no; application package not found). -- cgit v1.2.3 From 1655257130720a29ba9d1d9c3ee862d1708a02a1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 30 Jun 2011 18:53:39 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ba9a72d03..b15fac342 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,6 +7,8 @@ Must-Have - Investigate mod_wsgi tutorial to make sure it still works (2 reports say no; application package not found). +- Deprecate ``renderer_global_factory`` arg to Configurator and related. + Should-Have ----------- -- cgit v1.2.3 From dc7bcb4b633718267a2509a580faf45efe338630 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 30 Jun 2011 18:56:56 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b15fac342..c74e9e405 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,6 +9,8 @@ Must-Have - Deprecate ``renderer_global_factory`` arg to Configurator and related. +- Maybe add ``add_renderer_globals`` method to Configurator. + Should-Have ----------- -- cgit v1.2.3 From 371a670b02052dcbf42629f228373cae805b0dd3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 1 Jul 2011 01:26:13 -0400 Subject: garden --- TODO.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index c74e9e405..0b83e01a6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,21 +4,21 @@ Pyramid TODOs Must-Have --------- -- Investigate mod_wsgi tutorial to make sure it still works (2 reports say - no; application package not found). - -- Deprecate ``renderer_global_factory`` arg to Configurator and related. - -- Maybe add ``add_renderer_globals`` method to Configurator. +- Github issues fixes. Should-Have ----------- +- Investigate mod_wsgi tutorial to make sure it still works (2 reports say + no; application package not found). + - Add narrative docs for wsgiapp and wsgiapp2. Nice-to-Have ------------ +- Maybe add ``add_renderer_globals`` method to Configurator. + - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). -- cgit v1.2.3 From 0469c3f9ed5f695398003bfcb9609e14cd9c3719 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 4 Jul 2011 00:11:03 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0b83e01a6..fc64163e1 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,6 +9,9 @@ Must-Have Should-Have ----------- +- Make "localizer" a property of request (instead of requiring + "get_localizer(request)"? + - Investigate mod_wsgi tutorial to make sure it still works (2 reports say no; application package not found). -- cgit v1.2.3 From b954816ab2ca43ccd4bc2eb53130b81ad0512996 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 5 Jul 2011 22:41:48 -0400 Subject: garden --- TODO.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fc64163e1..d074b6dac 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,6 +6,12 @@ Must-Have - Github issues fixes. +- add_route discriminator wrong + +- tutorial models.initialize_sql doesn't match scaffold + (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in + tutorial) + Should-Have ----------- -- cgit v1.2.3 From 22a2b3fb6d917b425aa40dee9800f6841de6de64 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 6 Jul 2011 00:32:07 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d074b6dac..d594a4ea3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -12,6 +12,8 @@ Must-Have (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in tutorial) +- Allow views to override http_cache headers. + Should-Have ----------- -- cgit v1.2.3 From c5ab0dd7e83bfedd70bb86a18600b7f36949d62c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 6 Jul 2011 00:37:40 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d594a4ea3..ab0e6da41 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,6 +14,8 @@ Must-Have - Allow views to override http_cache headers. +- request.JSON dictionary? + Should-Have ----------- -- cgit v1.2.3 From 4b105d5853988f846a0ff604e811b436b8a68f50 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 10 Jul 2011 02:16:18 -0400 Subject: garden --- TODO.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ab0e6da41..ee5275952 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,17 +4,14 @@ Pyramid TODOs Must-Have --------- -- Github issues fixes. - - add_route discriminator wrong - tutorial models.initialize_sql doesn't match scaffold (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in tutorial) -- Allow views to override http_cache headers. - -- request.JSON dictionary? +- deprecate request.add_response_callback (or at least review docs, in light + of request.response property). Should-Have ----------- -- cgit v1.2.3 From f9896b60700ea4334f3df0a83f9b291e167b322d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 03:31:08 -0400 Subject: reviewed --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ee5275952..a28ab8800 100644 --- a/TODO.txt +++ b/TODO.txt @@ -10,9 +10,6 @@ Must-Have (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in tutorial) -- deprecate request.add_response_callback (or at least review docs, in light - of request.response property). - Should-Have ----------- -- cgit v1.2.3 From a7ad42ee5d6ba2304423efaf5fd0c207268144f0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 19:05:10 -0400 Subject: nope, it works... just easy to get frustrated and give up --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a28ab8800..637f7e49b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -16,9 +16,6 @@ Should-Have - Make "localizer" a property of request (instead of requiring "get_localizer(request)"? -- Investigate mod_wsgi tutorial to make sure it still works (2 reports say - no; application package not found). - - Add narrative docs for wsgiapp and wsgiapp2. Nice-to-Have -- cgit v1.2.3 From 94ab244f121fa1bf8df57f75fad9da5f5f39c594 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 19:21:11 -0400 Subject: - The ``Configurator.add_route`` method allowed two routes with the same 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. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 637f7e49b..4ff8689ce 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Must-Have --------- -- add_route discriminator wrong - - tutorial models.initialize_sql doesn't match scaffold (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in tutorial) -- cgit v1.2.3 From 9a064ea3fe62ab9c73573b022bc6381d04aa94ee Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 19:25:33 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4ff8689ce..85b11ff06 100644 --- a/TODO.txt +++ b/TODO.txt @@ -16,6 +16,9 @@ Should-Have - Add narrative docs for wsgiapp and wsgiapp2. +- Symlink to current docs at docs.pylonsproject.org/curr and change all + scaffolds to use it instead of docs.pylonsproject.org/dev + Nice-to-Have ------------ -- cgit v1.2.3 From aec6b29b42ad2acf0c9febd884ae9db1316022c5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 19:52:26 -0400 Subject: - The ``pyramid_routesalchemy`` and ``pyramid_alchemy`` scaffolds 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. --- TODO.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 85b11ff06..06eb4d143 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,13 +1,6 @@ Pyramid TODOs ============= -Must-Have ---------- - -- tutorial models.initialize_sql doesn't match scaffold - (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in - tutorial) - Should-Have ----------- -- cgit v1.2.3 From 3d3abc4b253d9248eb973d804ba6f4a0090e5047 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 21:02:02 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 06eb4d143..56fd89584 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,6 +15,8 @@ Should-Have Nice-to-Have ------------ +- Rename all config file values with a ``pyramid.`` prefix. + - Maybe add ``add_renderer_globals`` method to Configurator. - Speed up startup time (defer _bootstrap and registerCommonDirectives() -- cgit v1.2.3 From 60bc3075c005984969f60eb3b768ce7214135514 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 12 Jul 2011 21:06:29 -0400 Subject: garden --- TODO.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 56fd89584..84bd14153 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,12 @@ Pyramid TODOs ============= +Must-Have +--------- + +- Investigate whether we should replace request.response before we invoke an + exception view. + Should-Have ----------- -- cgit v1.2.3 From d05117e9655e3619e66bfef86f40043fbcc61829 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 13 Jul 2011 00:41:59 -0400 Subject: - We now clear ``request.response`` before we invoke an exception view; an exception view will be working with a request.response that has not been touched by any code prior to the exception. --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 84bd14153..56fd89584 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,12 +1,6 @@ Pyramid TODOs ============= -Must-Have ---------- - -- Investigate whether we should replace request.response before we invoke an - exception view. - Should-Have ----------- -- cgit v1.2.3 From e0c5c8eb14ccd916fd49199a96f8e9095e0fb9f0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 16 Jul 2011 20:12:11 -0400 Subject: garden --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 56fd89584..8b49a30b6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,11 @@ Pyramid TODOs ============= +Must-Have +--------- + +- Change paster pviews and paster proutes to use bootstrap. + Should-Have ----------- -- cgit v1.2.3 From 3864eb227947365339bb83bfdd9925224aef7449 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 16 Jul 2011 21:23:20 -0400 Subject: garden --- TODO.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8b49a30b6..56fd89584 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,11 +1,6 @@ Pyramid TODOs ============= -Must-Have ---------- - -- Change paster pviews and paster proutes to use bootstrap. - Should-Have ----------- -- cgit v1.2.3 From d41c8741376124cce271b311b02cf1983cf03d59 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 16 Jul 2011 21:45:37 -0400 Subject: garden --- TODO.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 56fd89584..3a23f3b26 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,9 +24,6 @@ Nice-to-Have - Nicer Mako exceptions in WebError. -- Response.RequestClass should probably be pyramid.request.Request but this - may imply actually subclassing webob.Response - - Better "Extending" chapter. - Try to make test suite pass on IronPython. @@ -69,5 +66,3 @@ Nice-to-Have http://plope.com/pyramid_auth_design_api_postmortem, phasing out the current auth-n-auth abstractions in a backwards compatible way. -- Add doc string for BeforeRender event with more details. - -- cgit v1.2.3 From 39e88a1f2903f840feeff77e572c7bf3efebb875 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 21 Jul 2011 23:08:31 -0400 Subject: - Change all scaffolding templates that point to docs.pylonsproject.org to use ``/projects/pyramid/current`` rather than ``/projects/pyramid/dev``. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 3a23f3b26..14c52fe3d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,9 +9,6 @@ Should-Have - Add narrative docs for wsgiapp and wsgiapp2. -- Symlink to current docs at docs.pylonsproject.org/curr and change all - scaffolds to use it instead of docs.pylonsproject.org/dev - Nice-to-Have ------------ -- cgit v1.2.3 From aca04857400e4e5305d7f533f26dc705f5a85775 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Jul 2011 01:22:58 -0400 Subject: garden --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 14c52fe3d..113dcddee 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,6 +9,10 @@ Should-Have - Add narrative docs for wsgiapp and wsgiapp2. +- Provide a way to set the authentication policy and the authorization policy + during a config.include (they are related, so just exposing the currently + underscored-private _set_auth* methods won't cut it). + Nice-to-Have ------------ -- cgit v1.2.3 From bc116a15f94b92aa0216d86f2e0a32fe53d4c450 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Jul 2011 01:24:56 -0400 Subject: garden --- TODO.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 113dcddee..49f137fa2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -13,11 +13,14 @@ Should-Have during a config.include (they are related, so just exposing the currently underscored-private _set_auth* methods won't cut it). +- Rename all config file values with a ``pyramid.`` prefix. + +- Try to figure out a way to keep "settings" as the original dictionary + passed to the Configurator instead of copying it. + Nice-to-Have ------------ -- Rename all config file values with a ``pyramid.`` prefix. - - Maybe add ``add_renderer_globals`` method to Configurator. - Speed up startup time (defer _bootstrap and registerCommonDirectives() -- cgit v1.2.3 From 73e31c15fd405a8848592800a66ffad547d49e19 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Jul 2011 01:53:44 -0400 Subject: garden; whitespace, comment cleanups --- TODO.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 49f137fa2..8cfac8ceb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -5,7 +5,11 @@ Should-Have ----------- - Make "localizer" a property of request (instead of requiring - "get_localizer(request)"? + "get_localizer(request)" + +- Make ``current_route_url`` a method of request. + +- Create a ``current_route_path`` function and make it a method of request. - Add narrative docs for wsgiapp and wsgiapp2. @@ -18,6 +22,18 @@ Should-Have - Try to figure out a way to keep "settings" as the original dictionary passed to the Configurator instead of copying it. +- Merge aodag's config.include(route_prefix=...) fork. + +- Michael's route group work. + +- Kill off ``bfg.routes`` envvars in router. + +- Provide a ``has_view`` function. + +- Alias the stupid long default session factory name. + +- Fix indirect circular import between router and config. + Nice-to-Have ------------ -- cgit v1.2.3 From d8d14a474ac84a58d3545768fecd3fe1c78219c0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 28 Jul 2011 16:48:47 -0400 Subject: garden --- TODO.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8cfac8ceb..7e2abf2bf 100644 --- a/TODO.txt +++ b/TODO.txt @@ -34,11 +34,15 @@ Should-Have - Fix indirect circular import between router and config. +- Debug option to print view matching decision (e.g. debug_viewlookup or so). + +- Eliminate non-deployment-non-scaffold-related Paste dependencies: + ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or + reimplement both). + Nice-to-Have ------------ -- Maybe add ``add_renderer_globals`` method to Configurator. - - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). @@ -76,13 +80,16 @@ Nice-to-Have - Create a function which performs a recursive request. -- Debug option to print view matching decision. - - Update App engine chapter with less creaky directions. +Probably Bad Ideas +------------------ + - Add functionality that mocks the behavior of ``repoze.browserid``. - Consider implementing the API outlined in http://plope.com/pyramid_auth_design_api_postmortem, phasing out the current auth-n-auth abstractions in a backwards compatible way. +- Maybe add ``add_renderer_globals`` method to Configurator. + -- cgit v1.2.3 From 50d3aaf0fbbed262a49d7c704acf1159002c1558 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 28 Jul 2011 17:15:35 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7e2abf2bf..4e24e1097 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Should-Have ----------- +- Merge https://github.com/Pylons/pyramid/pull/242 (IPython update; requires + test fixes and additional test coverage). + - Make "localizer" a property of request (instead of requiring "get_localizer(request)" -- cgit v1.2.3 From 6624092da587160e5d449af93eca3c0e779dfc55 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 28 Jul 2011 17:16:56 -0400 Subject: garden --- TODO.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4e24e1097..cf5d3c76c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -20,7 +20,8 @@ Should-Have during a config.include (they are related, so just exposing the currently underscored-private _set_auth* methods won't cut it). -- Rename all config file values with a ``pyramid.`` prefix. +- Rename all config file values with a ``pyramid.`` prefix. Preserve bw + compat, though, for older config files. - Try to figure out a way to keep "settings" as the original dictionary passed to the Configurator instead of copying it. -- cgit v1.2.3 From 6aafc53c0ee74c2a568fb4d36f5eaab968126088 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 28 Jul 2011 17:18:26 -0400 Subject: garden --- TODO.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index cf5d3c76c..761abdc58 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,8 +14,6 @@ Should-Have - Create a ``current_route_path`` function and make it a method of request. -- Add narrative docs for wsgiapp and wsgiapp2. - - Provide a way to set the authentication policy and the authorization policy during a config.include (they are related, so just exposing the currently underscored-private _set_auth* methods won't cut it). @@ -28,18 +26,14 @@ Should-Have - Merge aodag's config.include(route_prefix=...) fork. -- Michael's route group work. +- Merge Michael's route group work. - Kill off ``bfg.routes`` envvars in router. -- Provide a ``has_view`` function. - - Alias the stupid long default session factory name. - Fix indirect circular import between router and config. -- Debug option to print view matching decision (e.g. debug_viewlookup or so). - - Eliminate non-deployment-non-scaffold-related Paste dependencies: ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or reimplement both). @@ -47,6 +41,12 @@ Should-Have Nice-to-Have ------------ +- Add narrative docs for wsgiapp and wsgiapp2. + +- Provide a ``has_view`` function. + +- Debug option to print view matching decision (e.g. debug_viewlookup or so). + - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). -- cgit v1.2.3 From 2fcce796cf0caa4e036c3df81667cac4c58fe5b3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 30 Jul 2011 14:47:53 -0400 Subject: garden --- TODO.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 761abdc58..fda59d7b4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -18,9 +18,6 @@ Should-Have during a config.include (they are related, so just exposing the currently underscored-private _set_auth* methods won't cut it). -- Rename all config file values with a ``pyramid.`` prefix. Preserve bw - compat, though, for older config files. - - Try to figure out a way to keep "settings" as the original dictionary passed to the Configurator instead of copying it. @@ -38,6 +35,9 @@ Should-Have ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or reimplement both). +- Use ``pyramid.include`` to add pyramid_debugtoolbar to all scaffolds and + remove weberror. + Nice-to-Have ------------ @@ -50,7 +50,7 @@ Nice-to-Have - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). -- Nicer Mako exceptions in WebError. +- Nicer Mako exceptions in debug toolbar. - Better "Extending" chapter. -- cgit v1.2.3 From dc27f6ccd181f553da1c2ef0debb5ecc355012a9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 31 Jul 2011 03:23:18 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fda59d7b4..ffa40ade1 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,8 @@ Pyramid TODOs Should-Have ----------- +- Add request.exc_info during an exception. + - Merge https://github.com/Pylons/pyramid/pull/242 (IPython update; requires test fixes and additional test coverage). -- cgit v1.2.3 From 95a3791409f4a936c47e7018e75f14fc3b701380 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 31 Jul 2011 03:57:06 -0400 Subject: - A new attribute is available on request objects: ``exc_info``. Its value will be ``None`` until an exception is caught by the Pyramid router, after which it will be the result of ``sys.exc_info()``. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ffa40ade1..fda59d7b4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Should-Have ----------- -- Add request.exc_info during an exception. - - Merge https://github.com/Pylons/pyramid/pull/242 (IPython update; requires test fixes and additional test coverage). -- cgit v1.2.3 From fc406adb99573cc99ef388693c909d5d2de16e19 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 5 Aug 2011 11:57:41 -0400 Subject: - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fda59d7b4..37c79035b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Should-Have ----------- +- Deprecate pyramid.security.view_execution_permitted (it only works for + traversal). + - Merge https://github.com/Pylons/pyramid/pull/242 (IPython update; requires test fixes and additional test coverage). -- cgit v1.2.3 From a8cbf1e49e1020f9c751af8bf645683a3777ec8f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 9 Aug 2011 22:35:58 -0400 Subject: garden --- TODO.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 37c79035b..74e24bf2a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,9 +7,6 @@ Should-Have - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- Merge https://github.com/Pylons/pyramid/pull/242 (IPython update; requires - test fixes and additional test coverage). - - Make "localizer" a property of request (instead of requiring "get_localizer(request)" @@ -17,6 +14,8 @@ Should-Have - Create a ``current_route_path`` function and make it a method of request. +- "static_path" API (omit host and port). + - Provide a way to set the authentication policy and the authorization policy during a config.include (they are related, so just exposing the currently underscored-private _set_auth* methods won't cut it). @@ -38,9 +37,6 @@ Should-Have ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or reimplement both). -- Use ``pyramid.include`` to add pyramid_debugtoolbar to all scaffolds and - remove weberror. - Nice-to-Have ------------ -- cgit v1.2.3 From 82bd0f9930bc19b9806acb7fd3c65c052eef3a28 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 9 Aug 2011 22:38:54 -0400 Subject: garden --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 74e24bf2a..ef36893df 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,11 @@ Pyramid TODOs Should-Have ----------- +- Replace weberror for email-out in all production.ini. + +- Come up with an analogue of repoze.zodbconn that doesn't require a closer + in the pipeline and use it in the ZODB scaffold and tutorial. + - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- cgit v1.2.3 From 0818584847df63dbbe88ac5d1447ffbbb820eb08 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 10 Aug 2011 08:38:16 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ef36893df..42de96a38 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Should-Have ----------- +- BeforeRender event subclasses dict but implements a bunch of shit. Its + repr is currently broken (it always shows empty). Decide what to do. + - Replace weberror for email-out in all production.ini. - Come up with an analogue of repoze.zodbconn that doesn't require a closer -- cgit v1.2.3 From be60d7c6ed3376672bbb32ea3043f59c94c2ce11 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 10 Aug 2011 20:21:08 -0400 Subject: garden --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 42de96a38..53653d573 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,8 @@ Pyramid TODOs Should-Have ----------- +- Document aodag's route prefix stuff. + - BeforeRender event subclasses dict but implements a bunch of shit. Its repr is currently broken (it always shows empty). Decide what to do. @@ -31,8 +33,6 @@ Should-Have - Try to figure out a way to keep "settings" as the original dictionary passed to the Configurator instead of copying it. -- Merge aodag's config.include(route_prefix=...) fork. - - Merge Michael's route group work. - Kill off ``bfg.routes`` envvars in router. -- cgit v1.2.3 From 1f2b49347ec496d0cfd08ac9dba7dbae7e9d1e3e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 10 Aug 2011 21:25:57 -0400 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 53653d573..d059691cd 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Should-Have ----------- -- Document aodag's route prefix stuff. - - BeforeRender event subclasses dict but implements a bunch of shit. Its repr is currently broken (it always shows empty). Decide what to do. -- cgit v1.2.3 From d6a5228e6f3c4569fba9a8fff382120cd233baf0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 12 Aug 2011 05:10:54 -0400 Subject: garden --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d059691cd..8552525df 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,11 @@ Pyramid TODOs Should-Have ----------- +- Make it possible to use tween aliases in explicit tween config? If not, + the tween factories of all add-ons must be APIs. + +- Tween factories that are instances get a weird name. Disallow? + - BeforeRender event subclasses dict but implements a bunch of shit. Its repr is currently broken (it always shows empty). Decide what to do. -- cgit v1.2.3 From dd25a5afd44d3fdc89782d232dfe818245e496cd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 12 Aug 2011 16:52:06 -0400 Subject: garden --- TODO.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8552525df..7c66c85c2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Should-Have ----------- +- Render HTML versions of http exceptions by default for use by debug + toolbar. + - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. @@ -12,7 +15,8 @@ Should-Have - BeforeRender event subclasses dict but implements a bunch of shit. Its repr is currently broken (it always shows empty). Decide what to do. -- Replace weberror for email-out in all production.ini. +- Replace weberror with pyramid_exclog for exception logging/email-out in all + production.ini. - Come up with an analogue of repoze.zodbconn that doesn't require a closer in the pipeline and use it in the ZODB scaffold and tutorial. -- cgit v1.2.3 From 2b08b0e10e257f6417beb76b21b96c673e31a2ab Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 13 Aug 2011 01:58:33 -0400 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7c66c85c2..cb7472474 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,9 +15,6 @@ Should-Have - BeforeRender event subclasses dict but implements a bunch of shit. Its repr is currently broken (it always shows empty). Decide what to do. -- Replace weberror with pyramid_exclog for exception logging/email-out in all - production.ini. - - Come up with an analogue of repoze.zodbconn that doesn't require a closer in the pipeline and use it in the ZODB scaffold and tutorial. -- cgit v1.2.3 From 956c56bd1e80818c1aa98609a6a9f2fdd8f393ae Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 13 Aug 2011 03:58:31 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index cb7472474..91bb528a8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Should-Have ----------- +- Debugging setting for detecting why authenticated_userid(request) might + return None. + - Render HTML versions of http exceptions by default for use by debug toolbar. -- cgit v1.2.3 From 157c29002377b65834a960fd2d59c40bdd43f417 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 13 Aug 2011 06:11:26 -0400 Subject: disallow adding a tween factory which is an instance without passing its globally importable name --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 91bb528a8..d3609604d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -13,8 +13,6 @@ Should-Have - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- Tween factories that are instances get a weird name. Disallow? - - BeforeRender event subclasses dict but implements a bunch of shit. Its repr is currently broken (it always shows empty). Decide what to do. -- cgit v1.2.3 From c55d1e986618d2680f7486d690d6461fe1c67ef7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 13 Aug 2011 15:00:05 -0400 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d3609604d..60c758ef2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,9 +7,6 @@ Should-Have - Debugging setting for detecting why authenticated_userid(request) might return None. -- Render HTML versions of http exceptions by default for use by debug - toolbar. - - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- cgit v1.2.3 From 5c52daef7004a1e43a7c2fc25613e3d92c4b6b8e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 00:53:53 -0400 Subject: - Added the ``pyramid.interfaces.IDict`` interface representing the methods of a dictionary, for documentation purposes only (IMultiDict and IBeforeRender inherit from it). - Previously the ``pyramid.events.BeforeRender`` event *wrapped* a dictionary (it addressed it as its ``_system`` attribute). Now it *is* a dictionary (it inherits from ``dict``), and it's the value that is passed to templates as a top-level dictionary. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 60c758ef2..87dd3fae8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -10,9 +10,6 @@ Should-Have - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- BeforeRender event subclasses dict but implements a bunch of shit. Its - repr is currently broken (it always shows empty). Decide what to do. - - Come up with an analogue of repoze.zodbconn that doesn't require a closer in the pipeline and use it in the ZODB scaffold and tutorial. -- cgit v1.2.3 From b5ffe38cec2ac4bf8aa222204f32be9cca881dec Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 01:19:40 -0400 Subject: - The ``settings`` dictionary now raises a deprecation warning when you attempt to access its values via ``__getattr__`` instead of via ``__getitem__``. --- TODO.txt | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 87dd3fae8..96558e867 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,15 +4,18 @@ Pyramid TODOs Should-Have ----------- -- Debugging setting for detecting why authenticated_userid(request) might - return None. - - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. +- Provide a way to set the authentication policy and the authorization policy + during a config.include (they are related, so just exposing the currently + underscored-private _set_auth* methods won't cut it). + - Come up with an analogue of repoze.zodbconn that doesn't require a closer in the pipeline and use it in the ZODB scaffold and tutorial. +- Merge Michael's route group work. + - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). @@ -25,27 +28,22 @@ Should-Have - "static_path" API (omit host and port). -- Provide a way to set the authentication policy and the authorization policy - during a config.include (they are related, so just exposing the currently - underscored-private _set_auth* methods won't cut it). - -- Try to figure out a way to keep "settings" as the original dictionary - passed to the Configurator instead of copying it. - -- Merge Michael's route group work. - - Kill off ``bfg.routes`` envvars in router. -- Alias the stupid long default session factory name. +- Debugging setting for detecting why authenticated_userid(request) might + return None. -- Fix indirect circular import between router and config. + +Nice-to-Have +------------ - Eliminate non-deployment-non-scaffold-related Paste dependencies: ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or reimplement both). -Nice-to-Have ------------- +- Alias the stupid long default session factory name. + +- Fix indirect circular import between router and config. - Add narrative docs for wsgiapp and wsgiapp2. -- cgit v1.2.3 From 45b780dc74058e8658a3e529cbf12a12cce4bf5a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 01:21:29 -0400 Subject: garden: --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 96558e867..824935799 100644 --- a/TODO.txt +++ b/TODO.txt @@ -37,6 +37,10 @@ Should-Have Nice-to-Have ------------ +- 1.4: turn ``pyramid.settings.Settings`` into a function that returns the + original dict (after ``__getattr__`` deprecation period, it was deprecated + in 1.2). + - Eliminate non-deployment-non-scaffold-related Paste dependencies: ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or reimplement both). -- cgit v1.2.3 From b8a946f9278ead62c38732e7237278adb65303be Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 02:31:16 -0400 Subject: Garden. --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 824935799..f14a16cf0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -37,6 +37,9 @@ Should-Have Nice-to-Have ------------ +- Some sort of API for rendering a view callable object to a response from + within another view callable. + - 1.4: turn ``pyramid.settings.Settings`` into a function that returns the original dict (after ``__getattr__`` deprecation period, it was deprecated in 1.2). -- cgit v1.2.3 From 961f36a6f3a8714a0e063afc53e9a1724b6ecde6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 05:03:12 -0400 Subject: garden --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f14a16cf0..eb450b4b4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,6 +22,10 @@ Should-Have - Make "localizer" a property of request (instead of requiring "get_localizer(request)" +- Fix tutorials that use ``route_url``, ``route_path``, ``resource_url``, + ``static_url``, and ``current_route_url`` functions to use methods of the + request instead. + - Make ``current_route_url`` a method of request. - Create a ``current_route_path`` function and make it a method of request. -- cgit v1.2.3 From 27443561a9b837684af726b1aec2b5a98b22d494 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 21:12:23 -0400 Subject: - ``pyramid.testing.DummyRequest`` now implements the ``add_finished_callback`` and ``add_response_callback`` methods. --- TODO.txt | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index eb450b4b4..60709615f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,32 +11,22 @@ Should-Have during a config.include (they are related, so just exposing the currently underscored-private _set_auth* methods won't cut it). -- Come up with an analogue of repoze.zodbconn that doesn't require a closer - in the pipeline and use it in the ZODB scaffold and tutorial. - - Merge Michael's route group work. - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- Make "localizer" a property of request (instead of requiring - "get_localizer(request)" - -- Fix tutorials that use ``route_url``, ``route_path``, ``resource_url``, - ``static_url``, and ``current_route_url`` functions to use methods of the - request instead. - -- Make ``current_route_url`` a method of request. - -- Create a ``current_route_path`` function and make it a method of request. - -- "static_path" API (omit host and port). - - Kill off ``bfg.routes`` envvars in router. - Debugging setting for detecting why authenticated_userid(request) might return None. +- Make "localizer" a property of request (instead of requiring + "get_localizer(request)"? + +- Create a ``current_route_path`` function and make it a method of request? + +- "static_path" API (omit host and port)? Nice-to-Have ------------ -- cgit v1.2.3 From b2533554bb8816d412615595f4d7947f7779bf47 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 22:44:22 -0400 Subject: - The ZODB wiki tutorial now uses the ``pyramid_zodbconn`` package rather than the ``repoze.zodbconn`` package to provide ZODB integration. - The ZODB scaffold now uses the ``pyramid_zodbconn`` package rather than the ``repoze.zodbconn`` package to provide ZODB integration. --- TODO.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 60709615f..6e908bdee 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,13 @@ Pyramid TODOs Should-Have ----------- +- Name WSGI app "main" instead of pipeline in scaffold configs? + +- Turn off debugtoolbar redirect catcher in scaffolding (makes tutorials + weird). + +- Mention debug toolbar in tutorials. + - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- cgit v1.2.3 From 1a42bd45ad6dd066078d6d4997d33208b1bd0c63 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 15 Aug 2011 03:01:51 -0400 Subject: - New methods of the ``pyramid.config.Configurator`` class: ``set_authentication_policy`` and ``set_authorization_policy``. These are meant to be consumed mostly by add-on authors. --- TODO.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 6e908bdee..76e0784f2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,18 +6,14 @@ Should-Have - Name WSGI app "main" instead of pipeline in scaffold configs? -- Turn off debugtoolbar redirect catcher in scaffolding (makes tutorials - weird). +- Make another release of debug toolbar (has now redirects turned off by + default so tutorials aren't weird). - Mention debug toolbar in tutorials. - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- Provide a way to set the authentication policy and the authorization policy - during a config.include (they are related, so just exposing the currently - underscored-private _set_auth* methods won't cut it). - - Merge Michael's route group work. - Deprecate pyramid.security.view_execution_permitted (it only works for -- cgit v1.2.3 From 9b8d893b7ed7ec61c5e7d17117d852bf0ebfbd43 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 15 Aug 2011 03:12:05 -0400 Subject: remove temp debugging code --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 76e0784f2..43734af67 100644 --- a/TODO.txt +++ b/TODO.txt @@ -19,8 +19,6 @@ Should-Have - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- Kill off ``bfg.routes`` envvars in router. - - Debugging setting for detecting why authenticated_userid(request) might return None. @@ -34,6 +32,8 @@ Should-Have Nice-to-Have ------------ +- Kill off ``bfg.routes`` envvars in router. + - Some sort of API for rendering a view callable object to a response from within another view callable. -- cgit v1.2.3 From 7f8896e42e5ed9eb3c5c599cfb087cb8692b449e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 15 Aug 2011 03:53:38 -0400 Subject: garden --- TODO.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 43734af67..ac7e1671f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,10 @@ Pyramid TODOs Should-Have ----------- +- Consider moving the call to _set_security_policies after the initial + commit, so that authn and authz policies specified by the user in the + constructor override included ones. + - Name WSGI app "main" instead of pipeline in scaffold configs? - Make another release of debug toolbar (has now redirects turned off by @@ -32,6 +36,8 @@ Should-Have Nice-to-Have ------------ +- Turn "config" into a package. + - Kill off ``bfg.routes`` envvars in router. - Some sort of API for rendering a view callable object to a response from -- cgit v1.2.3 From c1624c9684cd65ba714367cc59365101c49d6edc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 16 Aug 2011 00:23:14 -0400 Subject: minor Configurator constructor cleanups and reordering; start coming up with a plan to make the constructor sane --- TODO.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ac7e1671f..2f4dc1b16 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,9 +4,18 @@ Pyramid TODOs Should-Have ----------- -- Consider moving the call to _set_security_policies after the initial - commit, so that authn and authz policies specified by the user in the - constructor override included ones. +- Consider moving the call to _set_security_policies (and like params) after + the initial commit, so that authn and authz policies specified by the user + (and like settings) in the constructor override included ones. Rationale: + I want the configurator to behave like someone did:: + + config = Configurator() + config.set_foo(...) + config.set_bar(..) + + when they do:: + + config = Config(foo=... bar=...) - Name WSGI app "main" instead of pipeline in scaffold configs? -- cgit v1.2.3 From 5ca67cd8805ff557383359d158c94e3703d12c43 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 18 Aug 2011 16:15:51 -0400 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2f4dc1b16..8ded30fea 100644 --- a/TODO.txt +++ b/TODO.txt @@ -19,9 +19,6 @@ Should-Have - Name WSGI app "main" instead of pipeline in scaffold configs? -- Make another release of debug toolbar (has now redirects turned off by - default so tutorials aren't weird). - - Mention debug toolbar in tutorials. - Make it possible to use tween aliases in explicit tween config? If not, -- cgit v1.2.3 From d08bb9f5d36b5dffda0af13ebb45f1c253e85df8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 18 Aug 2011 22:17:48 -0400 Subject: garden --- TODO.txt | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8ded30fea..e06616acf 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,19 +4,6 @@ Pyramid TODOs Should-Have ----------- -- Consider moving the call to _set_security_policies (and like params) after - the initial commit, so that authn and authz policies specified by the user - (and like settings) in the constructor override included ones. Rationale: - I want the configurator to behave like someone did:: - - config = Configurator() - config.set_foo(...) - config.set_bar(..) - - when they do:: - - config = Config(foo=... bar=...) - - Name WSGI app "main" instead of pipeline in scaffold configs? - Mention debug toolbar in tutorials. @@ -24,7 +11,7 @@ Should-Have - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- Merge Michael's route group work. +- Merge Michael's route group work (maybe a 1.3 thing). - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). @@ -42,8 +29,6 @@ Should-Have Nice-to-Have ------------ -- Turn "config" into a package. - - Kill off ``bfg.routes`` envvars in router. - Some sort of API for rendering a view callable object to a response from -- cgit v1.2.3 From cfbbd6d1b6a0b3651b109f819e4b8d2bfe4f1575 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 19 Aug 2011 08:27:20 -0400 Subject: add default renderers eagerly so they can be overridden, get rid of useless warning about ordering, comment about global_registries, no longer have a circular import between config and router --- TODO.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e06616acf..2cf0d5fbb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,8 +11,6 @@ Should-Have - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- Merge Michael's route group work (maybe a 1.3 thing). - - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). @@ -29,6 +27,8 @@ Should-Have Nice-to-Have ------------ +- Merge Michael's route group work (maybe a 1.3 thing). + - Kill off ``bfg.routes`` envvars in router. - Some sort of API for rendering a view callable object to a response from @@ -44,8 +44,6 @@ Nice-to-Have - Alias the stupid long default session factory name. -- Fix indirect circular import between router and config. - - Add narrative docs for wsgiapp and wsgiapp2. - Provide a ``has_view`` function. -- cgit v1.2.3 From 51add887470badc98e0ef0cef34710a752b9baef Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 19 Aug 2011 17:43:33 -0400 Subject: garden --- TODO.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2cf0d5fbb..2c474f289 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,15 +11,6 @@ Should-Have - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- Deprecate pyramid.security.view_execution_permitted (it only works for - traversal). - -- Debugging setting for detecting why authenticated_userid(request) might - return None. - -- Make "localizer" a property of request (instead of requiring - "get_localizer(request)"? - - Create a ``current_route_path`` function and make it a method of request? - "static_path" API (omit host and port)? @@ -27,6 +18,15 @@ Should-Have Nice-to-Have ------------ +- Make "localizer" a property of request (instead of requiring + "get_localizer(request)"? + +- Debugging setting for detecting why authenticated_userid(request) might + return None. + +- Deprecate pyramid.security.view_execution_permitted (it only works for + traversal). + - Merge Michael's route group work (maybe a 1.3 thing). - Kill off ``bfg.routes`` envvars in router. -- cgit v1.2.3 From 12cef0ee3526d7a024b9c328fd75e64565f02519 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 11:34:16 -0400 Subject: - New request methods: ``current_route_url``, ``current_route_path``. - New function in ``pyramid.url``: ``current_route_path``. --- TODO.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2c474f289..9b481becb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,8 +11,6 @@ Should-Have - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- Create a ``current_route_path`` function and make it a method of request? - - "static_path" API (omit host and port)? Nice-to-Have @@ -34,7 +32,7 @@ Nice-to-Have - Some sort of API for rendering a view callable object to a response from within another view callable. -- 1.4: turn ``pyramid.settings.Settings`` into a function that returns the +- 1.5: turn ``pyramid.settings.Settings`` into a function that returns the original dict (after ``__getattr__`` deprecation period, it was deprecated in 1.2). -- cgit v1.2.3 From 5c6963152fcc756a06d2aea80a4e85f1c9bef7ee Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 12:06:19 -0400 Subject: add static_path function to url and static_path method to request --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9b481becb..130d7b1fc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,8 +11,6 @@ Should-Have - Make it possible to use tween aliases in explicit tween config? If not, the tween factories of all add-ons must be APIs. -- "static_path" API (omit host and port)? - Nice-to-Have ------------ -- cgit v1.2.3 From 449287942782a24dbe31a60ca791d677fd0ba003 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 16:45:03 -0400 Subject: - The ``RemoteUserAuthenticationPolicy ``, ``AuthTktAuthenticationPolicy``, and ``SessionAuthenticationPolicy`` constructors now accept an additional keyword argument named ``debug``. By default, this keyword argument is ``False``. When it is ``True``, debug information will be sent to the Pyramid debug logger (usually on stderr) when the ``authenticated_userid`` or ``effective_principals`` method is called on any of these policies. The output produced can be useful when trying to diagnose authentication-related problems. --- TODO.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 130d7b1fc..160e02d47 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,12 +14,11 @@ Should-Have Nice-to-Have ------------ +- _fix_registry should dictify the registry being fixed. + - Make "localizer" a property of request (instead of requiring "get_localizer(request)"? -- Debugging setting for detecting why authenticated_userid(request) might - return None. - - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- cgit v1.2.3 From 1441407805178dda591db3a8ccd931d38baa7f4a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 19:10:42 -0400 Subject: garden --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 160e02d47..ef40c6f74 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,6 +14,11 @@ Should-Have Nice-to-Have ------------ +- Move configuration-related stuff in "static" to config/views, from + "settings" to config/settings, "renderers" to config/rendering, "asset" to + config/assets, and possibly mako/chameleon rendering stuff to + config/rendering. + - _fix_registry should dictify the registry being fixed. - Make "localizer" a property of request (instead of requiring -- cgit v1.2.3 From 712de76db8a93e830844d24ce277b929d8da6412 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 22:32:15 -0400 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ef40c6f74..7ae6a570a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,9 +8,6 @@ Should-Have - Mention debug toolbar in tutorials. -- Make it possible to use tween aliases in explicit tween config? If not, - the tween factories of all add-ons must be APIs. - Nice-to-Have ------------ -- cgit v1.2.3 From 2c9f3c76403b9a70bf0578f44deab11208b5a542 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 23:25:52 -0400 Subject: - Mention debug toolbar in tutorials. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7ae6a570a..426368be5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,8 +6,6 @@ Should-Have - Name WSGI app "main" instead of pipeline in scaffold configs? -- Mention debug toolbar in tutorials. - Nice-to-Have ------------ -- cgit v1.2.3 From cccc9182e145b5ab329beae4fe05f63e1ce76d4b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 23:39:00 -0400 Subject: garden --- TODO.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 426368be5..988975b98 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,15 +24,9 @@ Nice-to-Have - Merge Michael's route group work (maybe a 1.3 thing). -- Kill off ``bfg.routes`` envvars in router. - - Some sort of API for rendering a view callable object to a response from within another view callable. -- 1.5: turn ``pyramid.settings.Settings`` into a function that returns the - original dict (after ``__getattr__`` deprecation period, it was deprecated - in 1.2). - - Eliminate non-deployment-non-scaffold-related Paste dependencies: ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or reimplement both). @@ -48,8 +42,6 @@ Nice-to-Have - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). -- Nicer Mako exceptions in debug toolbar. - - Better "Extending" chapter. - Try to make test suite pass on IronPython. @@ -84,6 +76,15 @@ Nice-to-Have - Update App engine chapter with less creaky directions. +Future +------ + +- 1.5: turn ``pyramid.settings.Settings`` into a function that returns the + original dict (after ``__getattr__`` deprecation period, it was deprecated + in 1.2). + +- 1.3: Kill off ``bfg.routes`` envvars in router. + Probably Bad Ideas ------------------ -- cgit v1.2.3 From 78e4cdd326f69c3b57a0c75fffe41261b6d57c36 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Aug 2011 01:44:47 -0400 Subject: garden --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 988975b98..fcd2c5ea5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -85,6 +85,10 @@ Future - 1.3: Kill off ``bfg.routes`` envvars in router. +- 1.3: Kill off dependencies on Paste for non-deployment-related features. + +- 1.3: use zope.registry rather than zope.component. + Probably Bad Ideas ------------------ -- cgit v1.2.3 From 6413015a8f5f4de675016f33640b483bb0ecb56f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Aug 2011 01:47:33 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fcd2c5ea5..088d20e9f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -89,6 +89,8 @@ Future - 1.3: use zope.registry rather than zope.component. +- 1.3: get rid of zope.configuration dependency. + Probably Bad Ideas ------------------ -- cgit v1.2.3 From 3d338ea5737b7c113b17120b40684e2694cf3fa9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 22 Aug 2011 02:16:55 -0400 Subject: - Use [app:main] instead of a pipeline in all scaffolds and tutorials and narrative docs. - Break out awkward description of PasteDeploy entry points from project chapter into its own Paste chapter. --- TODO.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 088d20e9f..744e97778 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,14 +1,11 @@ Pyramid TODOs ============= -Should-Have ------------ - -- Name WSGI app "main" instead of pipeline in scaffold configs? - Nice-to-Have ------------ +- Flesh out "paste" chapter. + - Move configuration-related stuff in "static" to config/views, from "settings" to config/settings, "renderers" to config/rendering, "asset" to config/assets, and possibly mako/chameleon rendering stuff to -- cgit v1.2.3 From 5f5a7e164f29fa9eb874a153dfbd8c19f4d9117a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 22 Aug 2011 03:35:58 -0400 Subject: - Move the ``Settings`` class from ``pyramid.settings`` to ``pyramid.config.settings``. --- TODO.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 744e97778..dc2d07c5b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,8 +6,7 @@ Nice-to-Have - Flesh out "paste" chapter. -- Move configuration-related stuff in "static" to config/views, from - "settings" to config/settings, "renderers" to config/rendering, "asset" to +- Move config-related stuff from "renderers" to config/rendering, "asset" to config/assets, and possibly mako/chameleon rendering stuff to config/rendering. -- cgit v1.2.3 From 6da01782b8ae6e3367b400cf8a075785f01b9bcc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 22 Aug 2011 03:51:52 -0400 Subject: - Move the ``OverrideProvider``, ``PackageOverrides``, ``DirectoryOverride``, and ``FileOverride`` classes from ``pyramid.asset`` to ``pyramid.config.assets``. --- TODO.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index dc2d07c5b..cba1f5e02 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,9 +6,8 @@ Nice-to-Have - Flesh out "paste" chapter. -- Move config-related stuff from "renderers" to config/rendering, "asset" to - config/assets, and possibly mako/chameleon rendering stuff to - config/rendering. +- Move config-related stuff from "renderers" to config/rendering, and + possibly mako/chameleon rendering stuff to config/rendering. - _fix_registry should dictify the registry being fixed. -- cgit v1.2.3 From 0025e98c245a170d319510b0ba02a1b745d7adc8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 22 Aug 2011 16:16:32 -0400 Subject: garden --- TODO.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index cba1f5e02..29869630d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,16 @@ Pyramid TODOs ============= +Should-Have +----------- + +- Example of using paste prefix middleware to fix https-vs-http when + deploying via proxy: + https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployment/nginx.html#step-2-starting-paster + +- Fix conflict behavior for routes and auth policies (define phases and use + order=). + Nice-to-Have ------------ -- cgit v1.2.3 From b69699f89176b273139eb73e464e21d0121d5540 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 23 Aug 2011 23:55:36 -0400 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 29869630d..b99c23c58 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,9 +8,6 @@ Should-Have deploying via proxy: https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployment/nginx.html#step-2-starting-paster -- Fix conflict behavior for routes and auth policies (define phases and use - order=). - Nice-to-Have ------------ -- cgit v1.2.3 From 512e33aeabe13a9a4947dd0277beb583a9c58790 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 24 Aug 2011 14:48:09 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b99c23c58..7d5b096e5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,6 +11,9 @@ Should-Have Nice-to-Have ------------ +- Add a default-view-config-params decorator that can be applied to a class + which names defaults for method-based view_config decorator options. + - Flesh out "paste" chapter. - Move config-related stuff from "renderers" to config/rendering, and -- cgit v1.2.3 From ae140232c73a7eea50dbe582f9a06e019f0911a5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 27 Aug 2011 04:14:31 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7d5b096e5..9640a4a79 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,6 +11,8 @@ Should-Have Nice-to-Have ------------ +- Expose ``onerror`` callback to venusian scan (requires venusian >=1.0a1). + - Add a default-view-config-params decorator that can be applied to a class which names defaults for method-based view_config decorator options. -- cgit v1.2.3 From fdb5d1f3fae9c4206295d5d620a9cadefec020dd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 27 Aug 2011 23:49:44 -0400 Subject: garden --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9640a4a79..ad2f70641 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,6 +11,10 @@ Should-Have Nice-to-Have ------------ +- Change ``view_config`` to use ``config.with_package`` to recycle renderers + rather than the stream-of-consciousness stuff it does now to create a + renderer and reuse one. + - Expose ``onerror`` callback to venusian scan (requires venusian >=1.0a1). - Add a default-view-config-params decorator that can be applied to a class -- cgit v1.2.3 From 382dc8cb45095963142862ab3ee2c58a4e05eb3b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 28 Aug 2011 06:56:49 -0400 Subject: garden --- TODO.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ad2f70641..9640a4a79 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,10 +11,6 @@ Should-Have Nice-to-Have ------------ -- Change ``view_config`` to use ``config.with_package`` to recycle renderers - rather than the stream-of-consciousness stuff it does now to create a - renderer and reuse one. - - Expose ``onerror`` callback to venusian scan (requires venusian >=1.0a1). - Add a default-view-config-params decorator that can be applied to a class -- cgit v1.2.3 From ec98cbf480a7a931c22f1f622536334494740698 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 29 Aug 2011 12:48:46 -0400 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9640a4a79..85d69e052 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,6 +8,8 @@ Should-Have deploying via proxy: https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployment/nginx.html#step-2-starting-paster +- Allow ``request_method`` predicate to be a list of methods. + Nice-to-Have ------------ -- cgit v1.2.3 From 1aeae3565e07b99e737e6572ac5ba1b1bbf42abb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 31 Aug 2011 01:53:17 -0400 Subject: - Support an ``onerror`` keyword argument to ``pyramid.config.Configurator.scan()``. This onerror keyword argument is passed to ``venusian.Scanner.scan()`` to influence error behavior when an exception is raised during scanning. - Pyramid now requires Venusian 1.0a1 or better to support the ``onerror`` keyword argument to ``pyramid.config.Configurator.scan``. - Move test fixtures around so test_config tests are not looking "up" for fixtures. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 85d69e052..9c939f94a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -13,8 +13,6 @@ Should-Have Nice-to-Have ------------ -- Expose ``onerror`` callback to venusian scan (requires venusian >=1.0a1). - - Add a default-view-config-params decorator that can be applied to a class which names defaults for method-based view_config decorator options. -- cgit v1.2.3 From 49f0829352e52ee3ef7643905e534207210204f6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 31 Aug 2011 03:48:02 -0400 Subject: - The ``request_method`` predicate argument to ``pyramid.config.Configurator.add_view`` and ``pyramid.config.Configurator.add_route`` is now permitted to be a tuple of HTTP method names. Previously it was restricted to being a string representing a single HTTP method name. - Move add_view tests and tween tests to more reasonable places. --- TODO.txt | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9c939f94a..eca625904 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,13 +8,11 @@ Should-Have deploying via proxy: https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployment/nginx.html#step-2-starting-paster -- Allow ``request_method`` predicate to be a list of methods. - Nice-to-Have ------------ -- Add a default-view-config-params decorator that can be applied to a class - which names defaults for method-based view_config decorator options. +- Consider adding exclog to all scaffolds to print tracebacks to the console + while the debug toolbar is enabled. - Flesh out "paste" chapter. @@ -29,8 +27,6 @@ Nice-to-Have - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- Merge Michael's route group work (maybe a 1.3 thing). - - Some sort of API for rendering a view callable object to a response from within another view callable. @@ -92,11 +88,18 @@ Future - 1.3: Kill off ``bfg.routes`` envvars in router. -- 1.3: Kill off dependencies on Paste for non-deployment-related features. +- 1.3/1.4: Kill off dependencies on Paste for non-deployment-related + features. + +- 1.3/1.4: use zope.registry rather than zope.component. + +- 1.3/1.4: get rid of zope.configuration dependency. + +- 1.3: Michael's route group work -- 1.3: use zope.registry rather than zope.component. +- 1.3: Add a default-view-config-params decorator that can be applied to a + class which names defaults for method-based view_config decorator options. -- 1.3: get rid of zope.configuration dependency. Probably Bad Ideas ------------------ -- cgit v1.2.3 From 33516a01875676a4bc80ac939c1130442d07dba2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 31 Aug 2011 04:37:58 -0400 Subject: - Undeprecated ``pyramid.traversal.find_model``, ``pyramid.traversal.model_path``, ``pyramid.traversal.model_path_tuple``, and ``pyramid.url.model_url``, which were all deprecated in Pyramid 1.0. There's just not much cost to keeping them around forever as aliases to their renamed ``resource_*`` prefixed functions. - Undeprecated ``pyramid.view.bfg_view``, which was deprecated in Pyramid 1.0. This is a low-cost alias to ``pyramid.view.view_config`` which we'll just keep around forever. --- TODO.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index eca625904..95bd2b917 100644 --- a/TODO.txt +++ b/TODO.txt @@ -100,6 +100,20 @@ Future - 1.3: Add a default-view-config-params decorator that can be applied to a class which names defaults for method-based view_config decorator options. +- 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions + (render_*) + +- 1.4: Remove ``pyramid.configuration.ConfigurationError`` (deprecated). + +- 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated). + +- 1.3: Remove ``pyramid.renderers.renderer_from_name`` (deprecated). + +- 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. + +- 1.4: Remove ``pyramid.settings.get_settings`` (deprecated). + +- 1.5: Remove all deprecated ``pyramid.testing`` functions. Probably Bad Ideas ------------------ -- cgit v1.2.3 From 09387f5cb04eb08b18c24a41248af0a13648286e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 1 Sep 2011 22:15:08 -0400 Subject: - Added a "Fixing HTTP vs. HTTP When Deploying Behind a Proxy" section to the "Virtual Hosting" chapter. --- TODO.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 95bd2b917..7fcd7ff1c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,13 +1,6 @@ Pyramid TODOs ============= -Should-Have ------------ - -- Example of using paste prefix middleware to fix https-vs-http when - deploying via proxy: - https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/deployment/nginx.html#step-2-starting-paster - Nice-to-Have ------------ -- cgit v1.2.3 From 7c1549608daf2e3a6965320b1ef8362d8b4dd618 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 2 Sep 2011 00:23:23 -0400 Subject: remove; too complex to document here --- TODO.txt | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7fcd7ff1c..f39e640fc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,9 +9,6 @@ Nice-to-Have - Flesh out "paste" chapter. -- Move config-related stuff from "renderers" to config/rendering, and - possibly mako/chameleon rendering stuff to config/rendering. - - _fix_registry should dictify the registry being fixed. - Make "localizer" a property of request (instead of requiring @@ -20,9 +17,6 @@ Nice-to-Have - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- Some sort of API for rendering a view callable object to a response from - within another view callable. - - Eliminate non-deployment-non-scaffold-related Paste dependencies: ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or reimplement both). @@ -31,13 +25,8 @@ Nice-to-Have - Add narrative docs for wsgiapp and wsgiapp2. -- Provide a ``has_view`` function. - - Debug option to print view matching decision (e.g. debug_viewlookup or so). -- Speed up startup time (defer _bootstrap and registerCommonDirectives() - until needed by ZCML, as well as unfound speedups). - - Better "Extending" chapter. - Try to make test suite pass on IronPython. @@ -70,6 +59,11 @@ Nice-to-Have - Create a function which performs a recursive request. +- Some sort of API for rendering a view callable object to a response from + within another view callable. + +- Provide a ``has_view`` function. + - Update App engine chapter with less creaky directions. Future @@ -86,7 +80,8 @@ Future - 1.3/1.4: use zope.registry rather than zope.component. -- 1.3/1.4: get rid of zope.configuration dependency. +- 1.3/1.4: get rid of zope.configuration dependency. This will also speed up + startup time (defer _bootstrap and registerCommonDirectives() until needed). - 1.3: Michael's route group work -- cgit v1.2.3 From 95eab98bc6f98edf3c263e806d2e5b6d58ac6f6f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 2 Sep 2011 12:33:31 -0400 Subject: organize better --- TODO.txt | 60 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 29 insertions(+), 31 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f39e640fc..f17da301c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,29 +7,28 @@ Nice-to-Have - Consider adding exclog to all scaffolds to print tracebacks to the console while the debug toolbar is enabled. -- Flesh out "paste" chapter. +- Add narrative docs for wsgiapp and wsgiapp2. -- _fix_registry should dictify the registry being fixed. +- Better "Extending" chapter. -- Make "localizer" a property of request (instead of requiring - "get_localizer(request)"? +- Flesh out "Paste" narrative docs chapter. -- Deprecate pyramid.security.view_execution_permitted (it only works for - traversal). +- Basic WSGI documentation (pipeline / app / server). -- Eliminate non-deployment-non-scaffold-related Paste dependencies: - ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or - reimplement both). +- Change docs about creating a venusian decorator to not use ZCA. -- Alias the stupid long default session factory name. +- Try to better explain the relationship between a renderer and a template in + the templates chapter and elsewhere. Scan the documentation for reference + to a renderer as *only* view configuration (it's a larger concept now). -- Add narrative docs for wsgiapp and wsgiapp2. +- _fix_registry should dictify the registry being fixed. -- Debug option to print view matching decision (e.g. debug_viewlookup or so). +- Make "localizer" a property of request (instead of requiring + "get_localizer(request)"? -- Better "Extending" chapter. +- Alias the stupid long default session factory name. -- Try to make test suite pass on IronPython. +- Debug option to print view matching decision (e.g. debug_viewlookup or so). - Non-bwcompat use of threadlocals that need to be documented or ameliorated: @@ -43,29 +42,24 @@ Nice-to-Have Configurator.add_translation_dirs: not passed any context but a message, can't credibly be removed. -- Supply ``X-Vhm-Host`` support. - -- Basic WSGI documentation (pipeline / app / server). - -- Change docs about creating a venusian decorator to not use ZCA. - -- Try to better explain the relationship between a renderer and a - template in the templates chapter and elsewhere. Scan the - documentation for reference to a renderer as *only* view - configuration (it's a larger concept now). - -- Create a ``render_view`` that works by using config.derive_view - against an existing view instead of querying the registry. +- Deprecate pyramid.security.view_execution_permitted (it only works for + traversal). - Create a function which performs a recursive request. -- Some sort of API for rendering a view callable object to a response from - within another view callable. +- Create a ``render_view`` that works by using config.derive_view against an + existing view callable instead of querying the registry (some sort of API + for rendering a view callable object to a response from within another view + callable). Possible idea: have config.add_view mark up the + function/method/class like @view_config does, then use the attached info to + derive a view callable whenever called via some API. - Provide a ``has_view`` function. - Update App engine chapter with less creaky directions. +- Introspection features (whatever is needed by Alan/ptah). + Future ------ @@ -75,8 +69,9 @@ Future - 1.3: Kill off ``bfg.routes`` envvars in router. -- 1.3/1.4: Kill off dependencies on Paste for non-deployment-related - features. +- 1.3/1.4: - Eliminate non-deployment-non-scaffold-related Paste dependencies: + ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or + reimplement both). - 1.3/1.4: use zope.registry rather than zope.component. @@ -114,3 +109,6 @@ Probably Bad Ideas - Maybe add ``add_renderer_globals`` method to Configurator. +- Supply ``X-Vhm-Host`` support (probably better to do what paste#prefix + middleware does). + -- cgit v1.2.3 From a7d50d87b447384a30fc2c69eaaef1d974e7562a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 3 Sep 2011 01:20:39 -0400 Subject: garden --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f17da301c..984d04404 100644 --- a/TODO.txt +++ b/TODO.txt @@ -21,6 +21,10 @@ Nice-to-Have the templates chapter and elsewhere. Scan the documentation for reference to a renderer as *only* view configuration (it's a larger concept now). +- Add better docs about what-to-do-when-behind-a-proxy: paste.urlmap ("/foo = + app1" and "domain app1.localhost = app1"), ProxyPreserveHost and the nginx + equivalent, preserving HTTPS URLs. + - _fix_registry should dictify the registry being fixed. - Make "localizer" a property of request (instead of requiring -- cgit v1.2.3 From 25be339daa0448bf64b4dba03c08205b571a1cb0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Sep 2011 00:04:12 -0400 Subject: remove documentation and todo mentions of zope.configuration --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 984d04404..ccb5d3e39 100644 --- a/TODO.txt +++ b/TODO.txt @@ -79,9 +79,6 @@ Future - 1.3/1.4: use zope.registry rather than zope.component. -- 1.3/1.4: get rid of zope.configuration dependency. This will also speed up - startup time (defer _bootstrap and registerCommonDirectives() until needed). - - 1.3: Michael's route group work - 1.3: Add a default-view-config-params decorator that can be applied to a -- cgit v1.2.3 From 2a968254bbaa36333aa8ea6fd80787a7e2ac850d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Sep 2011 00:28:08 -0400 Subject: garden --- TODO.txt | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ccb5d3e39..b57ad9c70 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,12 +1,15 @@ Pyramid TODOs ============= -Nice-to-Have ------------- +Should-Have +----------- - Consider adding exclog to all scaffolds to print tracebacks to the console while the debug toolbar is enabled. +Nice-to-Have +------------ + - Add narrative docs for wsgiapp and wsgiapp2. - Better "Extending" chapter. @@ -67,23 +70,20 @@ Nice-to-Have Future ------ -- 1.5: turn ``pyramid.settings.Settings`` into a function that returns the - original dict (after ``__getattr__`` deprecation period, it was deprecated - in 1.2). +- 1.3: Remove ``pyramid.renderers.renderer_from_name`` (deprecated). - 1.3: Kill off ``bfg.routes`` envvars in router. -- 1.3/1.4: - Eliminate non-deployment-non-scaffold-related Paste dependencies: - ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or - reimplement both). - -- 1.3/1.4: use zope.registry rather than zope.component. - - 1.3: Michael's route group work - 1.3: Add a default-view-config-params decorator that can be applied to a class which names defaults for method-based view_config decorator options. +- 1.3: - Eliminate non-deployment-non-scaffold-related Paste dependency: + ``paste.urlparser.StaticURLParser`` (cutnpaste or reimplement). + +- 1.3: use zope.registry rather than zope.component. + - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions (render_*) @@ -91,14 +91,16 @@ Future - 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated). -- 1.3: Remove ``pyramid.renderers.renderer_from_name`` (deprecated). - -- 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. - - 1.4: Remove ``pyramid.settings.get_settings`` (deprecated). - 1.5: Remove all deprecated ``pyramid.testing`` functions. +- 1.5: turn ``pyramid.settings.Settings`` into a function that returns the + original dict (after ``__getattr__`` deprecation period, it was deprecated + in 1.2). + +- 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. + Probably Bad Ideas ------------------ -- cgit v1.2.3 From 888236b7b50b2469e8ba8fb2de6e1d16007a6276 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Sep 2011 17:03:23 -0400 Subject: garden --- TODO.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b57ad9c70..5305dcc57 100644 --- a/TODO.txt +++ b/TODO.txt @@ -80,7 +80,11 @@ Future class which names defaults for method-based view_config decorator options. - 1.3: - Eliminate non-deployment-non-scaffold-related Paste dependency: - ``paste.urlparser.StaticURLParser`` (cutnpaste or reimplement). + ``paste.urlparser.StaticURLParser`` (cutnpaste or reimplement, possibly + using chrisrossi's happy stuff as a base). paste.urlparser/paste.fileapp + features missing from happy.static: ``wsgi.file_wrapper`` support + (FileApp.get), 'HEAD' method support (FileApp.get), ETAG and if-none-match + support (DataApp.get), handling file permission exceptions (FileApp.get), - 1.3: use zope.registry rather than zope.component. -- cgit v1.2.3 From f2ef797a1514a30e8dbb66e363100ef8c624811b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 13:40:30 -0400 Subject: first cut; still missing features as documented in TODO.txt --- TODO.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5305dcc57..bdc3e036a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -81,10 +81,16 @@ Future - 1.3: - Eliminate non-deployment-non-scaffold-related Paste dependency: ``paste.urlparser.StaticURLParser`` (cutnpaste or reimplement, possibly - using chrisrossi's happy stuff as a base). paste.urlparser/paste.fileapp - features missing from happy.static: ``wsgi.file_wrapper`` support - (FileApp.get), 'HEAD' method support (FileApp.get), ETAG and if-none-match - support (DataApp.get), handling file permission exceptions (FileApp.get), + using chrisrossi's happy stuff as a base). Still need: + + ``wsgi.file_wrapper`` support (FileApp.get) + + 'HEAD' method support (FileApp.get) + + handling file permission exceptions (FileApp.get). + + Features we won't supportL ETAG and if-none-match + support (DataApp.get); replace with if-modified-since handling. - 1.3: use zope.registry rather than zope.component. -- cgit v1.2.3 From fe1548d160ff881f50410709547bbf895733ea10 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 18:30:18 -0400 Subject: dont set explicit date header; we no longer need the request to be passed to FileResponse --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index bdc3e036a..982af67a5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,6 +7,8 @@ Should-Have - Consider adding exclog to all scaffolds to print tracebacks to the console while the debug toolbar is enabled. +- Add cache_max_age=3600 to add_static_view of all scaffolds. + Nice-to-Have ------------ -- cgit v1.2.3 From 0833f63e0b0ca54fd55685767e576e91fd5fb315 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 18:33:18 -0400 Subject: unused imports; garden --- TODO.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 982af67a5..47b6a41aa 100644 --- a/TODO.txt +++ b/TODO.txt @@ -87,11 +87,9 @@ Future ``wsgi.file_wrapper`` support (FileApp.get) - 'HEAD' method support (FileApp.get) - handling file permission exceptions (FileApp.get). - Features we won't supportL ETAG and if-none-match + Features we won't support: ETAG and if-none-match support (DataApp.get); replace with if-modified-since handling. - 1.3: use zope.registry rather than zope.component. -- cgit v1.2.3 From c0235a45697e3498d952ea1f4ffd5a9b60f2a361 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 18:34:29 -0400 Subject: garden --- TODO.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 47b6a41aa..ca67e4883 100644 --- a/TODO.txt +++ b/TODO.txt @@ -85,12 +85,11 @@ Future ``paste.urlparser.StaticURLParser`` (cutnpaste or reimplement, possibly using chrisrossi's happy stuff as a base). Still need: - ``wsgi.file_wrapper`` support (FileApp.get) - handling file permission exceptions (FileApp.get). - Features we won't support: ETAG and if-none-match - support (DataApp.get); replace with if-modified-since handling. + Features we won't support: ETAG and if-none-match support (DataApp.get); + replace with if-modified-since handling, ``wsgi.file_wrapper`` support + (FileApp.get). - 1.3: use zope.registry rather than zope.component. -- cgit v1.2.3 From 1455baef486d063432d326ff8fc0f37509813179 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 21:11:42 -0400 Subject: introduce a _FileIter --- TODO.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ca67e4883..0a4da963d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -83,13 +83,12 @@ Future - 1.3: - Eliminate non-deployment-non-scaffold-related Paste dependency: ``paste.urlparser.StaticURLParser`` (cutnpaste or reimplement, possibly - using chrisrossi's happy stuff as a base). Still need: + using chrisrossi's happy stuff as a base). - handling file permission exceptions (FileApp.get). - - Features we won't support: ETAG and if-none-match support (DataApp.get); - replace with if-modified-since handling, ``wsgi.file_wrapper`` support - (FileApp.get). + Features we no longer support: ETAG and if-none-match support + (DataApp.get); replace with if-modified-since handling, + ``wsgi.file_wrapper`` support (FileApp.get), returning 403 when handling + file permission exceptions (FileApp.get). - 1.3: use zope.registry rather than zope.component. -- cgit v1.2.3 From 315f755fd8c04e90d01c14a97afae8778cf45f05 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 21:18:58 -0400 Subject: garden --- TODO.txt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0a4da963d..4da189bce 100644 --- a/TODO.txt +++ b/TODO.txt @@ -81,15 +81,6 @@ Future - 1.3: Add a default-view-config-params decorator that can be applied to a class which names defaults for method-based view_config decorator options. -- 1.3: - Eliminate non-deployment-non-scaffold-related Paste dependency: - ``paste.urlparser.StaticURLParser`` (cutnpaste or reimplement, possibly - using chrisrossi's happy stuff as a base). - - Features we no longer support: ETAG and if-none-match support - (DataApp.get); replace with if-modified-since handling, - ``wsgi.file_wrapper`` support (FileApp.get), returning 403 when handling - file permission exceptions (FileApp.get). - - 1.3: use zope.registry rather than zope.component. - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions -- cgit v1.2.3 From 8d453f872c2695e7f1699bfa665ea34a437b1e41 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Sep 2011 23:15:16 -0400 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4da189bce..f93222909 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,8 +7,6 @@ Should-Have - Consider adding exclog to all scaffolds to print tracebacks to the console while the debug toolbar is enabled. -- Add cache_max_age=3600 to add_static_view of all scaffolds. - Nice-to-Have ------------ -- cgit v1.2.3 From b01e971f204184e2ede685183d62d390a9081c74 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 8 Sep 2011 03:09:49 -0400 Subject: garden --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f93222909..f078d6dc3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,12 +1,6 @@ Pyramid TODOs ============= -Should-Have ------------ - -- Consider adding exclog to all scaffolds to print tracebacks to the console - while the debug toolbar is enabled. - Nice-to-Have ------------ -- cgit v1.2.3 From 58de14eddd7ca830ae64579554e352c0b122ba6c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 11 Sep 2011 22:20:10 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f078d6dc3..1e155e2be 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Nice-to-Have ------------ +- Have ``remember`` and ``forget`` actually set headers on the response using + a response callback (and return the empty list)? + - Add narrative docs for wsgiapp and wsgiapp2. - Better "Extending" chapter. -- cgit v1.2.3 From c5724cb393b3de6facfe8a587a53a4dafeeb74c6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 11 Oct 2011 07:37:36 -0400 Subject: garden --- TODO.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1e155e2be..8941562e6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,9 +4,6 @@ Pyramid TODOs Nice-to-Have ------------ -- Have ``remember`` and ``forget`` actually set headers on the response using - a response callback (and return the empty list)? - - Add narrative docs for wsgiapp and wsgiapp2. - Better "Extending" chapter. @@ -76,8 +73,6 @@ Future - 1.3: Add a default-view-config-params decorator that can be applied to a class which names defaults for method-based view_config decorator options. -- 1.3: use zope.registry rather than zope.component. - - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions (render_*) @@ -109,3 +104,6 @@ Probably Bad Ideas - Supply ``X-Vhm-Host`` support (probably better to do what paste#prefix middleware does). +- Have ``remember`` and ``forget`` actually set headers on the response using + a response callback (and return the empty list)? + -- cgit v1.2.3 From fc01aeb2bd1032419b1e418dccc671ce59483dce Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 2 Nov 2011 11:42:29 -0700 Subject: whatever --- TODO.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8941562e6..657c8bff4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -106,4 +106,3 @@ Probably Bad Ideas - Have ``remember`` and ``forget`` actually set headers on the response using a response callback (and return the empty list)? - -- cgit v1.2.3 From 592cc1c328d3b0206166fe56cf8b418b7b7104ea Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 11 Nov 2011 14:43:17 -0500 Subject: garden --- TODO.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 657c8bff4..ec9d7ee7f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,13 @@ Pyramid TODOs ============= +Must-Have +--------- + +- Fix ZODB scaffolding to match ZODB tutorial docs (Ken made relocatable). + +- Fix SQLA tutorial (and scaffolding) to match ZODB tutorial. + Nice-to-Have ------------ -- cgit v1.2.3 From 2c44394a496ec2c9caa7362d7e37e5f414c860bd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 11 Nov 2011 14:43:50 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ec9d7ee7f..e3419ad28 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,6 +6,9 @@ Must-Have - Fix ZODB scaffolding to match ZODB tutorial docs (Ken made relocatable). +- Fix ZODB tutorial docs to match ZODB tutorial code (I removed program name + from ``scan``). + - Fix SQLA tutorial (and scaffolding) to match ZODB tutorial. Nice-to-Have -- cgit v1.2.3 From 7d2f14f32942c5a2cc7a30d80e3cbd4716c1ce5c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 12 Nov 2011 19:45:07 -0500 Subject: Fix ZODB scaffolding to match ZODB tutorial docs (Ken made relocatable). --- TODO.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e3419ad28..d3b527f43 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,12 +4,12 @@ Pyramid TODOs Must-Have --------- -- Fix ZODB scaffolding to match ZODB tutorial docs (Ken made relocatable). - - Fix ZODB tutorial docs to match ZODB tutorial code (I removed program name from ``scan``). -- Fix SQLA tutorial (and scaffolding) to match ZODB tutorial. +- Fix SQLA tutorial to match ZODB tutorial. + +- Fix other scaffolds to match ZODB scaffold. Nice-to-Have ------------ -- cgit v1.2.3 From 818f8cab1dff781bbacf94cbabb4bec3825e081e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 12 Nov 2011 20:41:29 -0500 Subject: - The ``alchemy`` scaffold has been removed. - The ``routesalchemy`` scaffold has been renamed ``alchemy``. --- TODO.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d3b527f43..5a030a84c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,7 +9,9 @@ Must-Have - Fix SQLA tutorial to match ZODB tutorial. -- Fix other scaffolds to match ZODB scaffold. +- Fix routesalchemy scaffold to match ZODB scaffold. + +- Remove alchemy scaffold. Nice-to-Have ------------ -- cgit v1.2.3 From 0694f092797ddc4a1821e89e776adb17bc89f52d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 18 Nov 2011 10:03:16 -0500 Subject: - Fix ZODB tutorial docs to match ZODB tutorial code (I removed program name from ``scan``). --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5a030a84c..2a5239629 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,9 +4,6 @@ Pyramid TODOs Must-Have --------- -- Fix ZODB tutorial docs to match ZODB tutorial code (I removed program name - from ``scan``). - - Fix SQLA tutorial to match ZODB tutorial. - Fix routesalchemy scaffold to match ZODB scaffold. -- cgit v1.2.3 From c96ca8631d7899b2fe6770180b066fbec031473d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Nov 2011 13:31:23 -0500 Subject: rejigger alchemy scaffold as per convo with Mike --- TODO.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2a5239629..f13cd5c6c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,9 +6,7 @@ Must-Have - Fix SQLA tutorial to match ZODB tutorial. -- Fix routesalchemy scaffold to match ZODB scaffold. - -- Remove alchemy scaffold. +- Fix SQLA tutorial to match alchemy scaffold. Nice-to-Have ------------ -- cgit v1.2.3 From 8b6f09d965a6e637b795a8268c310c81fcb43a10 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 25 Nov 2011 21:52:11 -0500 Subject: add rudimentary object description code --- TODO.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f13cd5c6c..ed215138e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,6 +8,20 @@ Must-Have - Fix SQLA tutorial to match alchemy scaffold. +- Introspection: + + * More specific filename/lineno info instead of opaque string (or a way to + parse the opaque string into filename/lineno info). + + * categorize() return value ordering not right yet. + + * implement ptweens and proutes based on introspection instead of current + state of affairs. + + * introspection hiding for directives? + + * usage docs. + Nice-to-Have ------------ -- cgit v1.2.3 From 61ae5201544f71971c31d1b2a88daa10191163c0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 25 Nov 2011 22:26:59 -0500 Subject: note suggestions from mike in issue #359 --- TODO.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f13cd5c6c..a3de49e2f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,7 +6,9 @@ Must-Have - Fix SQLA tutorial to match ZODB tutorial. -- Fix SQLA tutorial to match alchemy scaffold. +- Fix SQLA tutorial to match alchemy scaffold. See + https://github.com/Pylons/pyramid/issues/359 for additional suggestions + from Mike. Nice-to-Have ------------ -- cgit v1.2.3 From 8786a5719950900ba7a8390323476076e737ac9e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 26 Nov 2011 12:02:48 -0500 Subject: note --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ed215138e..d13b504ef 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,6 +22,8 @@ Must-Have * usage docs. + * make it possible to disuse introspection? + Nice-to-Have ------------ -- cgit v1.2.3 From e0a909b3782133519b1874651d69bf70d8f3a5ec Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 27 Nov 2011 04:15:32 -0500 Subject: garden --- TODO.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a3de49e2f..f0988d500 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,10 +6,6 @@ Must-Have - Fix SQLA tutorial to match ZODB tutorial. -- Fix SQLA tutorial to match alchemy scaffold. See - https://github.com/Pylons/pyramid/issues/359 for additional suggestions - from Mike. - Nice-to-Have ------------ -- cgit v1.2.3 From fc70f0a570f0f4765878e5a63e78bb1c0f963d4d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 28 Nov 2011 16:45:40 -0500 Subject: garden --- TODO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f0988d500..92ccf75e0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,7 +4,7 @@ Pyramid TODOs Must-Have --------- -- Fix SQLA tutorial to match ZODB tutorial. +- Change starter scaffold to use URL dispatch? Nice-to-Have ------------ -- cgit v1.2.3 From 87f8d21d487a67068347e5f8c18343cd7c12b121 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 29 Nov 2011 09:52:23 -0500 Subject: docs and add more introspection info --- TODO.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d13b504ef..bf1c7773b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,10 +4,6 @@ Pyramid TODOs Must-Have --------- -- Fix SQLA tutorial to match ZODB tutorial. - -- Fix SQLA tutorial to match alchemy scaffold. - - Introspection: * More specific filename/lineno info instead of opaque string (or a way to @@ -24,6 +20,8 @@ Must-Have * make it possible to disuse introspection? +- Give discriminators a nicer repr for conflict reporting? + Nice-to-Have ------------ -- cgit v1.2.3 From 57a0d7765c54031e6ac83881b536712316f22c45 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 30 Nov 2011 12:55:41 -0500 Subject: docs; todo; coverage for Introspector --- TODO.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index bf1c7773b..fbe77789a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,8 +6,9 @@ Must-Have - Introspection: - * More specific filename/lineno info instead of opaque string (or a way to - parse the opaque string into filename/lineno info). + * Narrative docs. + + * Test with pyramid_zcml (wrt action_info / actions.append). * categorize() return value ordering not right yet. -- cgit v1.2.3 From 2cb381ceadc26ebc5cf51c28ecba572a05300d8a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 30 Nov 2011 17:58:44 -0500 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fbe77789a..abcf08dd0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -17,8 +17,6 @@ Must-Have * introspection hiding for directives? - * usage docs. - * make it possible to disuse introspection? - Give discriminators a nicer repr for conflict reporting? -- cgit v1.2.3 From 422bf50d7c3b99ab7c4655f81d373eb5ca29301b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 3 Dec 2011 18:07:15 -0500 Subject: garden --- TODO.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index abcf08dd0..0c6692f09 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,7 +8,9 @@ Must-Have * Narrative docs. - * Test with pyramid_zcml (wrt action_info / actions.append). + * ActionInfo for ZCML actions (begin/end lineno/cols?) + + * Document ActionInfo. * categorize() return value ordering not right yet. -- cgit v1.2.3 From 58c01ff8863971f81db59d437d49fd9e97b59e5c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 3 Dec 2011 19:37:38 -0500 Subject: flesh out categories more --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0c6692f09..0a15d8db0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,6 +8,10 @@ Must-Have * Narrative docs. + * ``default root factory`` category? + + * ``default view mapper`` category? + * ActionInfo for ZCML actions (begin/end lineno/cols?) * Document ActionInfo. -- cgit v1.2.3 From b40fb8b26fe37102b076cd2310ea7a3fe8b79311 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 3 Dec 2011 21:04:24 -0500 Subject: add a noop introspector (allow introspection to be turned off) --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0a15d8db0..4692b073b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -23,8 +23,6 @@ Must-Have * introspection hiding for directives? - * make it possible to disuse introspection? - - Give discriminators a nicer repr for conflict reporting? Nice-to-Have -- cgit v1.2.3 From 7d109d6522353bf5f5f3ca4f29bc2b27542f2ef2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Dec 2011 17:01:04 -0500 Subject: allow config.action to take arbitrary kw args --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4692b073b..1253b9b16 100644 --- a/TODO.txt +++ b/TODO.txt @@ -12,12 +12,6 @@ Must-Have * ``default view mapper`` category? - * ActionInfo for ZCML actions (begin/end lineno/cols?) - - * Document ActionInfo. - - * categorize() return value ordering not right yet. - * implement ptweens and proutes based on introspection instead of current state of affairs. -- cgit v1.2.3 From 4a4ef4f7ac6d94e00b6beb2a97472ed6d7bdddd8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Dec 2011 19:11:14 -0500 Subject: simplify actioninfo interface; fix actioninfos passed as tuple via _info --- TODO.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1253b9b16..baed9e03f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,12 +6,16 @@ Must-Have - Introspection: - * Narrative docs. + * Why do translation directories report weird actioninfo? + + * Review narrative docs. * ``default root factory`` category? * ``default view mapper`` category? + * get rid of "tweens" category (can't sort properly?) + * implement ptweens and proutes based on introspection instead of current state of affairs. -- cgit v1.2.3 From a78b58dd5cf665f7a7aaa18e9e7f6cae3fc7f749 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Dec 2011 19:26:02 -0500 Subject: add_translation_dirs is now an action method --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index baed9e03f..b7ea305c6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,8 +6,6 @@ Must-Have - Introspection: - * Why do translation directories report weird actioninfo? - * Review narrative docs. * ``default root factory`` category? -- cgit v1.2.3 From 8fe02156794c2cac0cbc6961332f9d8bebc1cb90 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 00:12:38 -0500 Subject: the starter scaffold now uses url dispatch; add a minimal section about using another WSGI server; random docs fixes --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index db7a01a14..b7ea305c6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Must-Have --------- -- Change starter scaffold to use URL dispatch? - - Introspection: * Review narrative docs. -- cgit v1.2.3 From 713927b54bf235e2479ddb4f5fcbe3d5c778ea9b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 01:15:16 -0500 Subject: garden --- TODO.txt | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b7ea305c6..311d585a5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -19,15 +19,24 @@ Must-Have * introspection hiding for directives? -- Give discriminators a nicer repr for conflict reporting? + * debug toolbar panel for introspection + +- Release new pyramid_debugtoolbar package that has introspection panel + (already py3 compat released). + +- Release new transaction package (trunk is Py3 compat). + +- Release new pyramid_tm package (trunk is Py3 compat). + +- Release new zope.configuration package (based on chrism-dictactions). + +- Release new pyramid_zcml package (depend on dictactions z.config). Nice-to-Have ------------ - Add narrative docs for wsgiapp and wsgiapp2. -- Better "Extending" chapter. - - Flesh out "Paste" narrative docs chapter. - Basic WSGI documentation (pipeline / app / server). @@ -79,8 +88,6 @@ Nice-to-Have - Update App engine chapter with less creaky directions. -- Introspection features (whatever is needed by Alan/ptah). - Future ------ -- cgit v1.2.3 From d83b3943474d2eb01b0fd8c1be31c50553fd4384 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 01:41:04 -0500 Subject: add whatsnew-1.3; garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 311d585a5..5f396ee37 100644 --- a/TODO.txt +++ b/TODO.txt @@ -32,6 +32,8 @@ Must-Have - Release new pyramid_zcml package (depend on dictactions z.config). +- API for resolving asset specs and dotted names. + Nice-to-Have ------------ -- cgit v1.2.3 From d05e8c4d61b4e3be89c4a6f1370dee138142ae2b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 01:53:47 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5f396ee37..7b473fd97 100644 --- a/TODO.txt +++ b/TODO.txt @@ -34,6 +34,8 @@ Must-Have - API for resolving asset specs and dotted names. +- Test KARL. + Nice-to-Have ------------ -- cgit v1.2.3 From bfc01f58e303d2aa07898b9d939a0f32d7fda3f4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 01:54:43 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7b473fd97..76290fbdb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -36,6 +36,9 @@ Must-Have - Test KARL. +- Fix deployment recipes in cookbook (discourage proxying without changing + server). + Nice-to-Have ------------ -- cgit v1.2.3 From e307fcd13a98ef5b60e6f48c5cebb703c35db31f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 02:09:23 -0500 Subject: - Removed the ``pyramid.renderers.renderer_from_name`` function. It has been deprecated since Pyramid 1.0, and was never an API. --- TODO.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 76290fbdb..1b5d82cc0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -42,6 +42,9 @@ Must-Have Nice-to-Have ------------ +- Add a default-view-config-params decorator that can be applied to a class + which names defaults for method-based view_config decorator options. + - Add narrative docs for wsgiapp and wsgiapp2. - Flesh out "Paste" narrative docs chapter. @@ -98,15 +101,8 @@ Nice-to-Have Future ------ -- 1.3: Remove ``pyramid.renderers.renderer_from_name`` (deprecated). - - 1.3: Kill off ``bfg.routes`` envvars in router. -- 1.3: Michael's route group work - -- 1.3: Add a default-view-config-params decorator that can be applied to a - class which names defaults for method-based view_config decorator options. - - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions (render_*) -- cgit v1.2.3 From f1f6e87e9437193be4a01c883921fc33bf54ad16 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 02:14:42 -0500 Subject: garden --- TODO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1b5d82cc0..84770b8bb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -101,7 +101,7 @@ Nice-to-Have Future ------ -- 1.3: Kill off ``bfg.routes`` envvars in router. +- 1.4: Kill off ``bfg.routes`` envvars in router. - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions (render_*) -- cgit v1.2.3 From 8ee14d7c204d9fd7f1df93b6c0b0f4478405d0d5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Dec 2011 23:04:01 -0500 Subject: garden --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 84770b8bb..809ebf6a4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,14 +24,14 @@ Must-Have - Release new pyramid_debugtoolbar package that has introspection panel (already py3 compat released). -- Release new transaction package (trunk is Py3 compat). - - Release new pyramid_tm package (trunk is Py3 compat). - Release new zope.configuration package (based on chrism-dictactions). - Release new pyramid_zcml package (depend on dictactions z.config). +- Release new zope.sqlalchemy package. + - API for resolving asset specs and dotted names. - Test KARL. -- cgit v1.2.3 From 1e72ca88131c87312032dea693387d81a95022dc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Dec 2011 01:21:20 -0500 Subject: garden --- TODO.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 809ebf6a4..03c283fcf 100644 --- a/TODO.txt +++ b/TODO.txt @@ -19,18 +19,16 @@ Must-Have * introspection hiding for directives? - * debug toolbar panel for introspection + * make debug toolbar panel for introspection look less ugly - Release new pyramid_debugtoolbar package that has introspection panel (already py3 compat released). -- Release new pyramid_tm package (trunk is Py3 compat). - - Release new zope.configuration package (based on chrism-dictactions). - Release new pyramid_zcml package (depend on dictactions z.config). -- Release new zope.sqlalchemy package. +- Release new zope.sqlalchemy package (chrism-py3 branch is py3 compat). - API for resolving asset specs and dotted names. -- cgit v1.2.3 From 8d1bd72b0d0c1227991a7c05e3a916020dd3fad9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Dec 2011 05:20:23 -0500 Subject: garden --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 03c283fcf..45985bde2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,16 +24,10 @@ Must-Have - Release new pyramid_debugtoolbar package that has introspection panel (already py3 compat released). -- Release new zope.configuration package (based on chrism-dictactions). - -- Release new pyramid_zcml package (depend on dictactions z.config). - - Release new zope.sqlalchemy package (chrism-py3 branch is py3 compat). - API for resolving asset specs and dotted names. -- Test KARL. - - Fix deployment recipes in cookbook (discourage proxying without changing server). -- cgit v1.2.3 From 773024bc3295f7bfc7e22d844fe88d9e37e8b0d3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Dec 2011 14:12:09 -0500 Subject: garden --- TODO.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 45985bde2..8090e70fe 100644 --- a/TODO.txt +++ b/TODO.txt @@ -31,9 +31,16 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). +- Fix i18n and extending chapters to mention $venv/bin/python instead of bare + "python". + Nice-to-Have ------------ +- Try "with transaction.manager" in an exception view with SQLA (preempt + homina homina response about how to write "to the database" from within in + an exception view). + - Add a default-view-config-params decorator that can be applied to a class which names defaults for method-based view_config decorator options. -- cgit v1.2.3 From 47038a60325caa8f61d9ce41811366dc496fd2b2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Dec 2011 14:30:26 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8090e70fe..2157d7ec6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -34,6 +34,8 @@ Must-Have - Fix i18n and extending chapters to mention $venv/bin/python instead of bare "python". +- Implement analogue of "paster request"? + Nice-to-Have ------------ -- cgit v1.2.3 From 101e0964d2c51404cdd71a28fad45921858e7191 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 6 Dec 2011 15:34:13 -0500 Subject: garden --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2157d7ec6..a398f7b49 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,8 +24,6 @@ Must-Have - Release new pyramid_debugtoolbar package that has introspection panel (already py3 compat released). -- Release new zope.sqlalchemy package (chrism-py3 branch is py3 compat). - - API for resolving asset specs and dotted names. - Fix deployment recipes in cookbook (discourage proxying without changing @@ -39,6 +37,8 @@ Must-Have Nice-to-Have ------------ +- CherryPy server testing / exploded from CherryPy itself. + - Try "with transaction.manager" in an exception view with SQLA (preempt homina homina response about how to write "to the database" from within in an exception view). -- cgit v1.2.3 From 56df902d0a5bcd29a2b4c3dfafab9a09d6f0c29d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 8 Dec 2011 04:26:15 -0500 Subject: - New APIs: ``pyramid.path.AssetResolver`` and ``pyramid.path.DottedNameResolver``. The former can be used to resolve asset specifications, the latter can be used to resolve dotted names to modules or packages. --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a398f7b49..9404ebb6c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -34,6 +34,8 @@ Must-Have - Implement analogue of "paster request"? +- AssetResolver method to guess relative based on caller? + Nice-to-Have ------------ -- cgit v1.2.3 From 674636494b7e546598ac3adb094c3dca6f6b8c9e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 8 Dec 2011 04:30:01 -0500 Subject: garden --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9404ebb6c..3365b64d2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,8 +24,6 @@ Must-Have - Release new pyramid_debugtoolbar package that has introspection panel (already py3 compat released). -- API for resolving asset specs and dotted names. - - Fix deployment recipes in cookbook (discourage proxying without changing server). @@ -36,6 +34,8 @@ Must-Have - AssetResolver method to guess relative based on caller? +- Review "pyramid.compat" API; trim unnecessary APIs from docs. + Nice-to-Have ------------ -- cgit v1.2.3 From 9ada386372fe1d33d1d059be1a1ad3dc489e893a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 8 Dec 2011 17:24:34 -0500 Subject: garden --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 3365b64d2..58a3a0ed4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -32,10 +32,10 @@ Must-Have - Implement analogue of "paster request"? -- AssetResolver method to guess relative based on caller? - - Review "pyramid.compat" API; trim unnecessary APIs from docs. +- Figure out a way to not invoke git on install (docs/conf.py). + Nice-to-Have ------------ -- cgit v1.2.3 From f3f4f221eae31888240acd2035c4463a17ada2d2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 8 Dec 2011 18:51:29 -0500 Subject: garden --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 58a3a0ed4..0791a1d5a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -30,8 +30,6 @@ Must-Have - Fix i18n and extending chapters to mention $venv/bin/python instead of bare "python". -- Implement analogue of "paster request"? - - Review "pyramid.compat" API; trim unnecessary APIs from docs. - Figure out a way to not invoke git on install (docs/conf.py). @@ -39,6 +37,8 @@ Must-Have Nice-to-Have ------------ +- Implement analogue of "paster request"? + - CherryPy server testing / exploded from CherryPy itself. - Try "with transaction.manager" in an exception view with SQLA (preempt -- cgit v1.2.3 From ce61d63871e554e2ce97953915a5df0b935e16a3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 9 Dec 2011 04:06:54 -0500 Subject: garden --- TODO.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0791a1d5a..443c3aa38 100644 --- a/TODO.txt +++ b/TODO.txt @@ -19,11 +19,6 @@ Must-Have * introspection hiding for directives? - * make debug toolbar panel for introspection look less ugly - -- Release new pyramid_debugtoolbar package that has introspection panel - (already py3 compat released). - - Fix deployment recipes in cookbook (discourage proxying without changing server). -- cgit v1.2.3 From d7e11644f9898393351da13171ae005f0d54115d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 9 Dec 2011 04:21:17 -0500 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 443c3aa38..3db27899f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -27,8 +27,6 @@ Must-Have - Review "pyramid.compat" API; trim unnecessary APIs from docs. -- Figure out a way to not invoke git on install (docs/conf.py). - Nice-to-Have ------------ -- cgit v1.2.3 From dca45cea4e3d968b89dc62234f3d8d8392614da6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 9 Dec 2011 04:36:39 -0500 Subject: fix bare python mentions --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 3db27899f..d682ec346 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,9 +22,6 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). -- Fix i18n and extending chapters to mention $venv/bin/python instead of bare - "python". - - Review "pyramid.compat" API; trim unnecessary APIs from docs. Nice-to-Have -- cgit v1.2.3 From b37ff2253c8c6d934359ba9b96e7fe19f7a356a4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 9 Dec 2011 04:44:41 -0500 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d682ec346..bdb258f04 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,8 +22,6 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). -- Review "pyramid.compat" API; trim unnecessary APIs from docs. - Nice-to-Have ------------ -- cgit v1.2.3 From b0238f6bdc8b957d2c9e7f9d2fc30d0e91dabf15 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 9 Dec 2011 12:32:24 -0500 Subject: canary checkin to see if rtd will update --- TODO.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index bdb258f04..b0d6c95bc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,6 +22,7 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). + Nice-to-Have ------------ -- cgit v1.2.3 From d5861420e9d4c6a3c8b52955e9f28634a6811553 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 15 Dec 2011 18:42:22 -0500 Subject: - Normalized exit values and ``-h`` output for all ``p*`` scripts (``pviews``, ``proutes``, etc). --- TODO.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b0d6c95bc..a5ec323a3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,6 +22,7 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). +- Allow prequest path to have query string variables. Nice-to-Have ------------ -- cgit v1.2.3 From 61d45f9f3d02f0bdf615a2c266e7f4060c833a3e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 16 Dec 2011 00:55:56 -0500 Subject: - Allow prequest path to have query string variables. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a5ec323a3..bdb258f04 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,8 +22,6 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). -- Allow prequest path to have query string variables. - Nice-to-Have ------------ -- cgit v1.2.3 From 8ac9e61e365e28698a36474d8cb3dc15ab358983 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 16 Dec 2011 02:39:13 -0500 Subject: garden --- TODO.txt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a5ec323a3..f04c341e2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,9 +4,13 @@ Pyramid TODOs Must-Have --------- -- Introspection: +- Fix deployment recipes in cookbook (discourage proxying without changing + server). + +Nice-to-Have +------------ - * Review narrative docs. +- Introspection: * ``default root factory`` category? @@ -22,13 +26,6 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). -- Allow prequest path to have query string variables. - -Nice-to-Have ------------- - -- Implement analogue of "paster request"? - - CherryPy server testing / exploded from CherryPy itself. - Try "with transaction.manager" in an exception view with SQLA (preempt -- cgit v1.2.3 From 9a9f7c09bba06e72e603562139ad55d1c2d54588 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 17 Dec 2011 16:30:10 -0500 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f04c341e2..f235713b3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -23,9 +23,6 @@ Nice-to-Have * introspection hiding for directives? -- Fix deployment recipes in cookbook (discourage proxying without changing - server). - - CherryPy server testing / exploded from CherryPy itself. - Try "with transaction.manager" in an exception view with SQLA (preempt -- cgit v1.2.3 From cd422c1674ec408b866aa715843b084cd0c3ff40 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 18 Dec 2011 16:42:40 -0500 Subject: garden --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f235713b3..f31f391d1 100644 --- a/TODO.txt +++ b/TODO.txt @@ -10,6 +10,11 @@ Must-Have Nice-to-Have ------------ +- Modify the urldispatch chapter examples to assume a scan rather than + ``add_view``. + +- Decorator for append_slash_notfound_view_factory? + - Introspection: * ``default root factory`` category? -- cgit v1.2.3 From 2d7d36c7c3d7bd03f18d0cbec411da6bac2b05e2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 30 Dec 2011 19:11:38 -0500 Subject: garden --- TODO.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0aebca6eb..3d11470dd 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,6 +7,13 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). +- Use waitress instead of wsgiref. + +- pyramid.config.util.ActionInfo.__str__ potentially returns Unicode under + Py2, fix. + +- Tests for view names/route patterns that contain Unicode. + Nice-to-Have ------------ -- cgit v1.2.3 From 37f3baaa637ee6184eac5eff31ca787072f0cc2c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 14 Feb 2012 06:59:37 -0500 Subject: garden --- TODO.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 3d11470dd..f1376622d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,8 +7,6 @@ Must-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). -- Use waitress instead of wsgiref. - - pyramid.config.util.ActionInfo.__str__ potentially returns Unicode under Py2, fix. @@ -17,6 +15,8 @@ Must-Have Nice-to-Have ------------ +- Modify view mapper narrative docs to not use pyramid_handlers. + - Modify the urldispatch chapter examples to assume a scan rather than ``add_view``. @@ -38,18 +38,10 @@ Nice-to-Have - Fix deployment recipes in cookbook (discourage proxying without changing server). -Nice-to-Have ------------- - -- CherryPy server testing / exploded from CherryPy itself. - - Try "with transaction.manager" in an exception view with SQLA (preempt homina homina response about how to write "to the database" from within in an exception view). -- Add a default-view-config-params decorator that can be applied to a class - which names defaults for method-based view_config decorator options. - - Add narrative docs for wsgiapp and wsgiapp2. - Flesh out "Paste" narrative docs chapter. -- cgit v1.2.3 From b227b60f5572767aefd0165d7cfc0a58cf546dd7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 14 Feb 2012 07:02:59 -0500 Subject: garden --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f1376622d..1d0dbd620 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,6 +15,10 @@ Must-Have Nice-to-Have ------------ +- Put includes in development.ini on separate lines and fix project.rst to + tell people to comment out only the debugtoolbar include when they want to + disable. + - Modify view mapper narrative docs to not use pyramid_handlers. - Modify the urldispatch chapter examples to assume a scan rather than -- cgit v1.2.3 From 2d5aa5b0e1a2abea9efcb99e8305bea305723130 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Feb 2012 16:17:57 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1d0dbd620..05022cd86 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,6 +15,9 @@ Must-Have Nice-to-Have ------------ +- Replace all mentions of zope.interface.implements with + zope.interface.implementer. + - Put includes in development.ini on separate lines and fix project.rst to tell people to comment out only the debugtoolbar include when they want to disable. -- cgit v1.2.3 From 1ca5b34f17ea889f705c1120a5b8878bff16ec63 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Feb 2012 16:23:59 -0500 Subject: - Replace all mentions of zope.interface.implements with zope.interface.implementer. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 05022cd86..1d0dbd620 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,9 +15,6 @@ Must-Have Nice-to-Have ------------ -- Replace all mentions of zope.interface.implements with - zope.interface.implementer. - - Put includes in development.ini on separate lines and fix project.rst to tell people to comment out only the debugtoolbar include when they want to disable. -- cgit v1.2.3 From 157b1e4c70d3aea96c1fdaede13a48f9235fe779 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Feb 2012 17:13:51 -0500 Subject: garden --- TODO.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1d0dbd620..258e4912c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -10,11 +10,12 @@ Must-Have - pyramid.config.util.ActionInfo.__str__ potentially returns Unicode under Py2, fix. -- Tests for view names/route patterns that contain Unicode. - Nice-to-Have ------------ +- Add set_traverser configurator method and set_resource_url_generator + method. + - Put includes in development.ini on separate lines and fix project.rst to tell people to comment out only the debugtoolbar include when they want to disable. -- cgit v1.2.3 From 11f2b29e749456b710863b989da1f1b1fa5edebb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Feb 2012 17:18:00 -0500 Subject: garden --- TODO.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 258e4912c..75dd2e0c4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,15 +1,6 @@ Pyramid TODOs ============= -Must-Have ---------- - -- Fix deployment recipes in cookbook (discourage proxying without changing - server). - -- pyramid.config.util.ActionInfo.__str__ potentially returns Unicode under - Py2, fix. - Nice-to-Have ------------ @@ -25,7 +16,7 @@ Nice-to-Have - Modify the urldispatch chapter examples to assume a scan rather than ``add_view``. -- Decorator for append_slash_notfound_view_factory? +- Decorator for append_slash_notfound_view_factory. - Introspection: -- cgit v1.2.3 From 748aad47f90136b151be13f477ed6af1caed0493 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Feb 2012 19:09:08 -0500 Subject: - Add ``pyramid.config.Configurator.set_traverser`` API method. See the Hooks narrative documentation section entitled "Changing the Traverser" for more information. This is not a new feature, it just provides an API for adding a traverser without needing to use the ZCA API. --- TODO.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 75dd2e0c4..dfce2e2fb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,7 @@ Pyramid TODOs Nice-to-Have ------------ -- Add set_traverser configurator method and set_resource_url_generator - method. +- Add set_resource_url_generator method. - Put includes in development.ini on separate lines and fix project.rst to tell people to comment out only the debugtoolbar include when they want to -- cgit v1.2.3 From 4786cae2e7a053b01091b5e185102f9c26885b08 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Feb 2012 19:32:46 -0500 Subject: - The system value ``r`` is now supplied to renderers as an alias for ``request``. This means that you can now, for example, in a template, do ``r.route_url(...)`` instead of ``request.route_url(...)``. Fixes #413. --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index dfce2e2fb..8ea5e3591 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Nice-to-Have ------------ +- Fix renderers chapter to better document system values passed to template + renderers. + - Add set_resource_url_generator method. - Put includes in development.ini on separate lines and fix project.rst to -- cgit v1.2.3 From 308ff91bd70b4dc235eaca49ea4025acefcfe0a1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 17 Feb 2012 01:12:14 -0500 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8ea5e3591..ab26a87a8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,8 +7,6 @@ Nice-to-Have - Fix renderers chapter to better document system values passed to template renderers. -- Add set_resource_url_generator method. - - Put includes in development.ini on separate lines and fix project.rst to tell people to comment out only the debugtoolbar include when they want to disable. -- cgit v1.2.3 From 63c969d03564d31a2e1d691c0696e6705e297dbe Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 18 Feb 2012 19:00:16 -0500 Subject: garden --- TODO.txt | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ab26a87a8..c9e7a0b9f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,12 +4,21 @@ Pyramid TODOs Nice-to-Have ------------ +- Create a "mako_renderer_factory_factory" that provides searches in settings + for "mako."-prefixed keys but allows other prefixes to be used to create + different factories that don't use the global mako settings. This would be + useful for the debug toolbar, which can currently be sabotaged by someone + using custom mako configuration settings. + +- Add docs about upgrading between Pyramid versions (e.g. how to see + deprecation warnings). + - Fix renderers chapter to better document system values passed to template renderers. -- Put includes in development.ini on separate lines and fix project.rst to - tell people to comment out only the debugtoolbar include when they want to - disable. +- Put includes in development.ini within scaffolding and tutorials on + separate lines and fix project.rst to tell people to comment out only the + debugtoolbar include when they want to disable. - Modify view mapper narrative docs to not use pyramid_handlers. @@ -20,23 +29,25 @@ Nice-to-Have - Introspection: - * ``default root factory`` category? + * ``default root factory`` category (prevent folks from needing to searh + "root factories" category)? - * ``default view mapper`` category? + * ``default view mapper`` category (prevent folks from needing to search + "view mappers" category)? * get rid of "tweens" category (can't sort properly?) - * implement ptweens and proutes based on introspection instead of current - state of affairs. - - * introspection hiding for directives? + * Introspection hiding for directives for purposes of omitting toolbar + registrations. Maybe toolbar can just use a null introspector? - Fix deployment recipes in cookbook (discourage proxying without changing server). - Try "with transaction.manager" in an exception view with SQLA (preempt homina homina response about how to write "to the database" from within in - an exception view). + an exception view). Note: tried this and couldn't formulate the right + situation where the database could not be written to within an exception + view (but didn't try exhaustively). - Add narrative docs for wsgiapp and wsgiapp2. @@ -44,7 +55,8 @@ Nice-to-Have - Basic WSGI documentation (pipeline / app / server). -- Change docs about creating a venusian decorator to not use ZCA. +- Change docs about creating a venusian decorator to not use ZCA (use + configurator methods instead). - Try to better explain the relationship between a renderer and a template in the templates chapter and elsewhere. Scan the documentation for reference @@ -113,6 +125,8 @@ Future - 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. +- 1.6: Remove IContextURL and TraversalContextURL. + Probably Bad Ideas ------------------ -- cgit v1.2.3 From d21ba4b61e901b27ceae36f29dac23387a8129d5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 19 Feb 2012 11:05:33 -0500 Subject: - Put ``pyramid.includes`` targets within ini files in scaffolds on separate lines in order to be able to tell people to comment out only the ``pyramid_debugtoolbar`` line when they want to disable the toolbar. --- TODO.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index c9e7a0b9f..7a3b17bc5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -16,10 +16,6 @@ Nice-to-Have - Fix renderers chapter to better document system values passed to template renderers. -- Put includes in development.ini within scaffolding and tutorials on - separate lines and fix project.rst to tell people to comment out only the - debugtoolbar include when they want to disable. - - Modify view mapper narrative docs to not use pyramid_handlers. - Modify the urldispatch chapter examples to assume a scan rather than -- cgit v1.2.3 From d679fac8a17d3eaf1cca9a4edaf37b4e56f1d010 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 19 Feb 2012 12:55:35 -0500 Subject: - Create a "MakoRendererFactoryHelper" that provides customizable settings key prefixes. Allows settings prefixes other than "mako." to be used to create different factories that don't use the global mako settings. This will be useful for the debug toolbar, which can currently be sabotaged by someone using custom mako configuration settings. --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7a3b17bc5..90f5f8547 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,12 +4,6 @@ Pyramid TODOs Nice-to-Have ------------ -- Create a "mako_renderer_factory_factory" that provides searches in settings - for "mako."-prefixed keys but allows other prefixes to be used to create - different factories that don't use the global mako settings. This would be - useful for the debug toolbar, which can currently be sabotaged by someone - using custom mako configuration settings. - - Add docs about upgrading between Pyramid versions (e.g. how to see deprecation warnings). -- cgit v1.2.3 From 9ee05af8a4dca28907cd5d6e89799eff01767ee1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 20 Feb 2012 13:27:53 -0500 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 90f5f8547..78c1740d0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -27,9 +27,6 @@ Nice-to-Have * get rid of "tweens" category (can't sort properly?) - * Introspection hiding for directives for purposes of omitting toolbar - registrations. Maybe toolbar can just use a null introspector? - - Fix deployment recipes in cookbook (discourage proxying without changing server). -- cgit v1.2.3 From 56a10086cda6abdd33f5d50f4090c843eadb808d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 20 Feb 2012 13:55:09 -0500 Subject: garden --- TODO.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 78c1740d0..2d811288d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,6 +15,12 @@ Nice-to-Have - Modify the urldispatch chapter examples to assume a scan rather than ``add_view``. +- Context manager for creating a new configurator (replacing + ``with_package``). E.g.:: + + with config.partial(package='bar') as c: + c.add_view(...) + - Decorator for append_slash_notfound_view_factory. - Introspection: -- cgit v1.2.3 From 8fc93b93f21485f0c303ad461ac8070e2bb6dae7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 20 Feb 2012 14:01:38 -0500 Subject: garden --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2d811288d..0143d275e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -21,6 +21,11 @@ Nice-to-Have with config.partial(package='bar') as c: c.add_view(...) + or:: + + with config.partial(introspection=False) as c: + c.add_view(..) + - Decorator for append_slash_notfound_view_factory. - Introspection: -- cgit v1.2.3 From 0db4a157083d51251b4d3f574a1699fc76359c9d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Feb 2012 15:37:50 -0500 Subject: - New API: ``pyramid.config.Configurator.add_notfound_view``. This is a wrapper for ``pyramid.Config.configurator.add_view`` which provides easy append_slash support. It should be preferred over calling ``add_view`` directly with ``context=HTTPNotFound`` as was previously recommended. - New API: ``pyramid.view.notfound_view_config``. This is a decorator constructor like ``pyramid.view.view_config`` that calls ``pyramid.config.Configurator.add_notfound_view`` when scanned. It should be preferred over using ``pyramid.view.view_config`` with ``context=HTTPNotFound`` as was previously recommended. - The older deprecated ``set_notfound_view`` Configurator method is now an alias for the new ``add_notfound_view`` Configurator method. This has the following impact: the ``context`` sent to views with a ``(context, request)`` call signature registered via the deprecated ``add_notfound_view``/``set_notfound_view`` will now be the HTTPNotFound exception object instead of the actual resource context found. Use ``request.context`` to get the actual resource context. It's also recommended to disuse ``set_notfound_view`` in favor of ``add_notfound_view``, despite the aliasing. - The API documentation for ``pyramid.view.append_slash_notfound_view`` and ``pyramid.view.AppendSlashNotFoundViewFactory`` was removed. These names still exist and are still importable, but they are no longer APIs. Use ``pyramid.config.Configurator.add_notfound_view(append_slash=True)`` or ``pyramid.view.notfound_view_config(append_slash=True)`` to get the same behavior. - The ``set_forbidden_view`` method of the Configurator was removed from the documentation. It has been deprecated since Pyramid 1.1. - The AppendSlashNotFoundViewFactory used request.path to match routes. This was wrong because request.path contains the script name, and this would cause it to fail in circumstances where the script name was not empty. It should have used request.path_info, and now does. - Updated the "Registering a Not Found View" section of the "Hooks" chapter, replacing explanations of registering a view using ``add_view`` or ``view_config`` with ones using ``add_notfound_view`` or ``notfound_view_config``. - Updated the "Redirecting to Slash-Appended Routes" section of the "URL Dispatch" chapter, replacing explanations of registering a view using ``add_view`` or ``view_config`` with ones using ``add_notfound_view`` or ``notfound_view_config`` --- TODO.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0143d275e..20a677bea 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,9 +1,17 @@ Pyramid TODOs ============= +Must-Have +--------- + +- Fix scaffolds and tutorials to use notfound_view_config rather than + view_config. + Nice-to-Have ------------ +- Add forbidden_view_config? + - Add docs about upgrading between Pyramid versions (e.g. how to see deprecation warnings). @@ -26,8 +34,6 @@ Nice-to-Have with config.partial(introspection=False) as c: c.add_view(..) -- Decorator for append_slash_notfound_view_factory. - - Introspection: * ``default root factory`` category (prevent folks from needing to searh -- cgit v1.2.3 From 59fa4a30da200b2302545be024d72ee38f8a35d9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Feb 2012 15:59:57 -0500 Subject: whoops --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 20a677bea..56ddc384c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,6 +7,8 @@ Must-Have - Fix scaffolds and tutorials to use notfound_view_config rather than view_config. +- Add __no_permission_required__ to see notfound views. + Nice-to-Have ------------ -- cgit v1.2.3 From 90a4588329fe1fc7a9a1d6f1ae32544499bff0cf Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Feb 2012 17:20:36 -0500 Subject: register notfound views with __no_permission_required__ --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 56ddc384c..20a677bea 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,8 +7,6 @@ Must-Have - Fix scaffolds and tutorials to use notfound_view_config rather than view_config. -- Add __no_permission_required__ to see notfound views. - Nice-to-Have ------------ -- cgit v1.2.3 From b20214d2ad88bfa2864bf39efbef5a5d5b15d872 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Feb 2012 17:23:44 -0500 Subject: not required --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 20a677bea..db1daa2c4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,12 +1,6 @@ Pyramid TODOs ============= -Must-Have ---------- - -- Fix scaffolds and tutorials to use notfound_view_config rather than - view_config. - Nice-to-Have ------------ -- cgit v1.2.3 From a7fe30f0eabd6c6fd3bcc910faa41720a75056de Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Feb 2012 19:24:09 -0500 Subject: - New API: ``pyramid.config.Configurator.add_forbidden_view``. This is a wrapper for ``pyramid.Config.configurator.add_view`` which does the right thing about permissions. It should be preferred over calling ``add_view`` directly with ``context=HTTPForbidden`` as was previously recommended. - New API: ``pyramid.view.forbidden_view_config``. This is a decorator constructor like ``pyramid.view.view_config`` that calls ``pyramid.config.Configurator.add_forbidden_view`` when scanned. It should be preferred over using ``pyramid.view.view_config`` with ``context=HTTPForbidden`` as was previously recommended. - Updated the "Creating a Not Forbidden View" section of the "Hooks" chapter, replacing explanations of registering a view using ``add_view`` or ``view_config`` with ones using ``add_forbidden_view`` or ``forbidden_view_config``. - Updated all tutorials to use ``pyramid.view.forbidden_view_config`` rather than ``pyramid.view.view_config`` with an HTTPForbidden context. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index db1daa2c4..5d96f7c7d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Nice-to-Have ------------ -- Add forbidden_view_config? - - Add docs about upgrading between Pyramid versions (e.g. how to see deprecation warnings). -- cgit v1.2.3 From eb64fca9efa08045133b7b35415ae5d95a8caba1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Feb 2012 19:28:29 -0500 Subject: gardeng --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5d96f7c7d..a58260d1f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Nice-to-Have ------------ +- Expose _FileIter and _FileResponse somehow fbo of + manual-static-view-creators. + - Add docs about upgrading between Pyramid versions (e.g. how to see deprecation warnings). -- cgit v1.2.3 From 6b3cca0d548c0c3bcec62902f5b261df4e7c1d1e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Feb 2012 20:02:03 -0500 Subject: - New APIs: ``pyramid.response.FileResponse`` and ``pyramid.response.FileIter``, for usage in views that must serve files "manually". --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a58260d1f..5d96f7c7d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,9 +4,6 @@ Pyramid TODOs Nice-to-Have ------------ -- Expose _FileIter and _FileResponse somehow fbo of - manual-static-view-creators. - - Add docs about upgrading between Pyramid versions (e.g. how to see deprecation warnings). -- cgit v1.2.3 From f8636ce5fa8685190358fc83cc2b5ebeaefde8b9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 29 Mar 2012 21:01:36 -0400 Subject: bad idea --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5d96f7c7d..7c0695727 100644 --- a/TODO.txt +++ b/TODO.txt @@ -139,3 +139,6 @@ Probably Bad Ideas - Have ``remember`` and ``forget`` actually set headers on the response using a response callback (and return the empty list)? + +- http://pythonguy.wordpress.com/2011/06/22/dynamic-variables-revisited/ + instead of thread locals -- cgit v1.2.3 From d806f9babf869d1eaf0ec19fb6d0b3a14c5ae92d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 5 Apr 2012 17:05:31 -0400 Subject: note --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7c0695727..544ad0b4e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,8 @@ Pyramid TODOs Nice-to-Have ------------ +- Have action methods return their discriminators. + - Add docs about upgrading between Pyramid versions (e.g. how to see deprecation warnings). -- cgit v1.2.3 From 2861f1df38b79f4a1e31b5ac1bd86acd8c25928e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 16 Apr 2012 11:48:14 -0400 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 544ad0b4e..e0fb0fa27 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Nice-to-Have ------------ +- Provide the presumed renderer name to the called view as an attribute of + the request. + - Have action methods return their discriminators. - Add docs about upgrading between Pyramid versions (e.g. how to see -- cgit v1.2.3 From 004882434aa166a58c3b2148322e08ce61ec4cb7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 2 May 2012 23:39:54 -0400 Subject: garden --- TODO.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e0fb0fa27..4b4f48499 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,10 @@ Pyramid TODOs Nice-to-Have ------------ +- config.set_registry_attr (with conflict detection). + +- _fix_registry should dictify the registry being fixed. + - Provide the presumed renderer name to the called view as an attribute of the request. @@ -67,8 +71,6 @@ Nice-to-Have app1" and "domain app1.localhost = app1"), ProxyPreserveHost and the nginx equivalent, preserving HTTPS URLs. -- _fix_registry should dictify the registry being fixed. - - Make "localizer" a property of request (instead of requiring "get_localizer(request)"? @@ -126,6 +128,9 @@ Future - 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. +- 1.5: Maybe? deprecate set_request_property in favor of pointing people at + set_request_method. + - 1.6: Remove IContextURL and TraversalContextURL. Probably Bad Ideas -- cgit v1.2.3 From a0547ef9d05fd6ed724d1c64a57a0063b7f1f87a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 25 Aug 2012 00:30:32 -0400 Subject: garden --- TODO.txt | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4b4f48499..d1209f325 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,17 +24,6 @@ Nice-to-Have - Modify the urldispatch chapter examples to assume a scan rather than ``add_view``. -- Context manager for creating a new configurator (replacing - ``with_package``). E.g.:: - - with config.partial(package='bar') as c: - c.add_view(...) - - or:: - - with config.partial(introspection=False) as c: - c.add_view(..) - - Introspection: * ``default root factory`` category (prevent folks from needing to searh @@ -114,7 +103,7 @@ Future - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions (render_*) -- 1.4: Remove ``pyramid.configuration.ConfigurationError`` (deprecated). +- 1.4: Remove ``pyramid.configuration`` (deprecated). - 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated). @@ -128,7 +117,7 @@ Future - 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. -- 1.5: Maybe? deprecate set_request_property in favor of pointing people at +- 1.6: Maybe? deprecate set_request_property in favor of pointing people at set_request_method. - 1.6: Remove IContextURL and TraversalContextURL. @@ -152,3 +141,15 @@ Probably Bad Ideas - http://pythonguy.wordpress.com/2011/06/22/dynamic-variables-revisited/ instead of thread locals + +- Context manager for creating a new configurator (replacing + ``with_package``). E.g.:: + + with config.partial(package='bar') as c: + c.add_view(...) + + or:: + + with config.partial(introspection=False) as c: + c.add_view(..) + -- cgit v1.2.3 From 25d3ddfd61bcc97ad6e2d5d9c51a71719f18af57 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 13:12:16 -0400 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d1209f325..9c041b6ef 100644 --- a/TODO.txt +++ b/TODO.txt @@ -98,8 +98,6 @@ Nice-to-Have Future ------ -- 1.4: Kill off ``bfg.routes`` envvars in router. - - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions (render_*) -- cgit v1.2.3 From 5eb3635839de5338da1cdec6d24b8b57939b45df Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 14:07:28 -0400 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9c041b6ef..4d896ce8e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -98,9 +98,6 @@ Nice-to-Have Future ------ -- 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions - (render_*) - - 1.4: Remove ``pyramid.configuration`` (deprecated). - 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated). -- cgit v1.2.3 From deaf45b8e2847c5393b2e8fc354c79b52aa9a988 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 14:20:47 -0400 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4d896ce8e..92a9c1284 100644 --- a/TODO.txt +++ b/TODO.txt @@ -98,8 +98,6 @@ Nice-to-Have Future ------ -- 1.4: Remove ``pyramid.configuration`` (deprecated). - - 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated). - 1.4: Remove ``pyramid.settings.get_settings`` (deprecated). -- cgit v1.2.3 From ef2e51792e4f2b970d23186dd883ad4fbf7d0815 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 14:32:00 -0400 Subject: - The ``pyramid.settings.get_settings()`` API was removed. It had been printing a deprecation warning since Pyramid 1.0. If your code depended on this API, use ``pyramid.threadlocal.get_current_registry().settings`` instead or use the ``settings`` attribute of the registry available from the request (``request.registry.settings``). --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 92a9c1284..ad60d73ec 100644 --- a/TODO.txt +++ b/TODO.txt @@ -98,8 +98,6 @@ Nice-to-Have Future ------ -- 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated). - - 1.4: Remove ``pyramid.settings.get_settings`` (deprecated). - 1.5: Remove all deprecated ``pyramid.testing`` functions. -- cgit v1.2.3 From ff6e6731aab4d9fa7ee8cb3a7b36ad4addad2617 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 14:32:34 -0400 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ad60d73ec..7468674b5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -98,8 +98,6 @@ Nice-to-Have Future ------ -- 1.4: Remove ``pyramid.settings.get_settings`` (deprecated). - - 1.5: Remove all deprecated ``pyramid.testing`` functions. - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the -- cgit v1.2.3 From df70a11a268fdedd83d02fd9d29eb8c4d5b2e5e2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 18:37:30 -0400 Subject: dead code, garden --- TODO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7468674b5..7aa12b517 100644 --- a/TODO.txt +++ b/TODO.txt @@ -98,7 +98,7 @@ Nice-to-Have Future ------ -- 1.5: Remove all deprecated ``pyramid.testing`` functions. +- 1.5: remove ``pyramid.view.static``. - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the original dict (after ``__getattr__`` deprecation period, it was deprecated -- cgit v1.2.3 From b6a102e5ec029153b2ffed30cd1b282bf1ccc248 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 21:44:03 -0400 Subject: garden --- TODO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7aa12b517..7e3c0b4d1 100644 --- a/TODO.txt +++ b/TODO.txt @@ -98,7 +98,7 @@ Nice-to-Have Future ------ -- 1.5: remove ``pyramid.view.static``. +- 1.5: remove ``pyramid.view.static`` and ``pyramid.view.is_response``. - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the original dict (after ``__getattr__`` deprecation period, it was deprecated -- cgit v1.2.3 From 023c88b67b907dd3682ef71216245609c9bbdbe1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 23:01:06 -0400 Subject: rename set_request_method to add_request_method. closes #683 --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7e3c0b4d1..627eff7e8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -106,8 +106,8 @@ Future - 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. -- 1.6: Maybe? deprecate set_request_property in favor of pointing people at - set_request_method. +- 1.5: Maybe? deprecate set_request_property in favor of pointing people at + add_request_method, schedule removal for 1.8? - 1.6: Remove IContextURL and TraversalContextURL. -- cgit v1.2.3 From 9ff3b26dcb8ab9e846356d64a18f1ec10440e02e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 13 Sep 2012 03:54:23 -0400 Subject: record idea from Zart about a pyramid app factory entry point for 100% declarative app --- TODO.txt | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 627eff7e8..a13433f54 100644 --- a/TODO.txt +++ b/TODO.txt @@ -95,6 +95,45 @@ Nice-to-Have - Update App engine chapter with less creaky directions. +- Idea from Zart: + + diff --git a/pyramid/paster.py b/pyramid/paster.py + index b0e4d79..b3bd82a 100644 + --- a/pyramid/paster.py + +++ b/pyramid/paster.py + @@ -8,6 +8,7 @@ from paste.deploy import ( + from pyramid.compat import configparser + from logging.config import fileConfig + from pyramid.scripting import prepare + +from pyramid.config import Configurator + + def get_app(config_uri, name=None, loadapp=loadapp): + """ Return the WSGI application named ``name`` in the PasteDeploy + @@ -111,3 +112,10 @@ def bootstrap(config_uri, request=None): + env['app'] = app + return env + + +def make_pyramid_app(global_conf, app=None, **settings): + + """Return pyramid application configured with provided settings""" + + config = Configurator(package='pyramid', settings=settings) + + if app: + + config.include(app) + + app = config.make_wsgi_app() + + return app + diff --git a/setup.py b/setup.py + index 03ebb42..91e0e21 100644 + --- a/setup.py + +++ b/setup.py + @@ -118,6 +118,8 @@ setup(name='pyramid', + [paste.server_runner] + wsgiref = pyramid.scripts.pserve:wsgiref_server_runner + cherrypy = pyramid.scripts.pserve:cherrypy_server_runner + + [paster.app_factory] + + main = pyramid.paster:make_pyramid_app + """ + ) + + Future ------ -- cgit v1.2.3 From 07cb8f0e112642a6a40127232ddc06125a73750e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 15 Sep 2012 18:58:45 -0400 Subject: add pyramid.decorator.reify as an API. Closes #682 --- TODO.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a13433f54..202d1afbb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -143,7 +143,8 @@ Future original dict (after ``__getattr__`` deprecation period, it was deprecated in 1.2). -- 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``. +- 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin`` and code in + renderers module that looks for _response_content_type, et. al. - 1.5: Maybe? deprecate set_request_property in favor of pointing people at add_request_method, schedule removal for 1.8? -- cgit v1.2.3 From 1e59ef41026d9754ac9dc21522dd68edfcaf18d7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 16 Sep 2012 03:37:37 -0400 Subject: garden todo, add docs about exception handling --- TODO.txt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 202d1afbb..1686c27a2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -82,15 +82,6 @@ Nice-to-Have - Deprecate pyramid.security.view_execution_permitted (it only works for traversal). -- Create a function which performs a recursive request. - -- Create a ``render_view`` that works by using config.derive_view against an - existing view callable instead of querying the registry (some sort of API - for rendering a view callable object to a response from within another view - callable). Possible idea: have config.add_view mark up the - function/method/class like @view_config does, then use the attached info to - derive a view callable whenever called via some API. - - Provide a ``has_view`` function. - Update App engine chapter with less creaky directions. -- cgit v1.2.3 From f272f27b106265e9151eabe850ca282f6035a246 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Sep 2012 20:35:12 -0400 Subject: note potential 1.5 removals and remove dead code --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1686c27a2..6787b8a55 100644 --- a/TODO.txt +++ b/TODO.txt @@ -140,6 +140,10 @@ Future - 1.5: Maybe? deprecate set_request_property in favor of pointing people at add_request_method, schedule removal for 1.8? +- 1.5: Remove pyramid.config.rendering set_renderer_globals_factory maybe. + +- 1.5: remove pyramid.config.route _add_view_from_route function. + - 1.6: Remove IContextURL and TraversalContextURL. Probably Bad Ideas -- cgit v1.2.3 From 2c3e04fda933f5faf3f365b22cda8accf79841de Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 2 Nov 2012 21:26:14 -0400 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 6787b8a55..ba0e6a3bc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -13,9 +13,6 @@ Nice-to-Have - Have action methods return their discriminators. -- Add docs about upgrading between Pyramid versions (e.g. how to see - deprecation warnings). - - Fix renderers chapter to better document system values passed to template renderers. -- cgit v1.2.3 From 44d73a4f72d2d822b7772a6596edb6d3720d6598 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 2 Nov 2012 22:23:03 -0400 Subject: garden --- TODO.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ba0e6a3bc..ac5738244 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,8 +6,6 @@ Nice-to-Have - config.set_registry_attr (with conflict detection). -- _fix_registry should dictify the registry being fixed. - - Provide the presumed renderer name to the called view as an attribute of the request. @@ -174,3 +172,5 @@ Probably Bad Ideas with config.partial(introspection=False) as c: c.add_view(..) +- _fix_registry should dictify the registry being fixed. + -- cgit v1.2.3 From ca3df803c9afd04d7dee612e0bf321cc62cf900f Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 4 Nov 2012 12:34:22 -0600 Subject: emit a warning if a user is using the default hashalg to AuthTkt --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ac5738244..af164adc9 100644 --- a/TODO.txt +++ b/TODO.txt @@ -141,6 +141,9 @@ Future - 1.6: Remove IContextURL and TraversalContextURL. +- 1.7: Change ``pyramid.authentication.AuthTktAuthenticationPolicy`` default + ``hashalg`` to ``sha512``. + Probably Bad Ideas ------------------ -- cgit v1.2.3 From 20b1a19653de95e1adfa864a4f9ef6b2522e3409 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Nov 2012 19:02:02 -0500 Subject: garden --- TODO.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index af164adc9..46edd8c6b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Nice-to-Have ------------ -- config.set_registry_attr (with conflict detection). - - Provide the presumed renderer name to the called view as an attribute of the request. @@ -177,3 +175,6 @@ Probably Bad Ideas - _fix_registry should dictify the registry being fixed. +- config.set_registry_attr (with conflict detection)... bad idea because it + won't take effect until after a commit and folks will be confused by that. + -- cgit v1.2.3 From bc527250b318332e275ecb1f547498e36993c680 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 20 Nov 2012 23:01:37 -0500 Subject: garden --- TODO.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 46edd8c6b..7a3561494 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Nice-to-Have ------------ +- config.set_registry_attr with conflict detection... make sure the attr is + added before a commit, but register an action so a conflict can be detected. + - Provide the presumed renderer name to the called view as an attribute of the request. @@ -175,6 +178,3 @@ Probably Bad Ideas - _fix_registry should dictify the registry being fixed. -- config.set_registry_attr (with conflict detection)... bad idea because it - won't take effect until after a commit and folks will be confused by that. - -- cgit v1.2.3 From c70dcb392b07859c7c75ce20ddedc16b961692ea Mon Sep 17 00:00:00 2001 From: Andreas Zeidler Date: Sat, 17 Aug 2013 12:32:04 +0200 Subject: done :) --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7a3561494..46eb33b82 100644 --- a/TODO.txt +++ b/TODO.txt @@ -56,9 +56,6 @@ Nice-to-Have app1" and "domain app1.localhost = app1"), ProxyPreserveHost and the nginx equivalent, preserving HTTPS URLs. -- Make "localizer" a property of request (instead of requiring - "get_localizer(request)"? - - Alias the stupid long default session factory name. - Debug option to print view matching decision (e.g. debug_viewlookup or so). -- cgit v1.2.3 From 6d14fa5f0aa469ecd096d92a787281d3d87776cf Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 8 Sep 2013 21:34:52 -0400 Subject: update --- TODO.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 46eb33b82..9850bd761 100644 --- a/TODO.txt +++ b/TODO.txt @@ -121,22 +121,15 @@ Nice-to-Have Future ------ -- 1.5: remove ``pyramid.view.static`` and ``pyramid.view.is_response``. - - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the original dict (after ``__getattr__`` deprecation period, it was deprecated in 1.2). -- 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin`` and code in - renderers module that looks for _response_content_type, et. al. - - 1.5: Maybe? deprecate set_request_property in favor of pointing people at add_request_method, schedule removal for 1.8? - 1.5: Remove pyramid.config.rendering set_renderer_globals_factory maybe. -- 1.5: remove pyramid.config.route _add_view_from_route function. - - 1.6: Remove IContextURL and TraversalContextURL. - 1.7: Change ``pyramid.authentication.AuthTktAuthenticationPolicy`` default -- cgit v1.2.3 From 72b93ff249c792381f3628b36541a318f8666e6e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 8 Sep 2013 22:53:54 -0400 Subject: garden --- TODO.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9850bd761..ee7391297 100644 --- a/TODO.txt +++ b/TODO.txt @@ -121,14 +121,12 @@ Nice-to-Have Future ------ -- 1.5: turn ``pyramid.settings.Settings`` into a function that returns the - original dict (after ``__getattr__`` deprecation period, it was deprecated - in 1.2). - - 1.5: Maybe? deprecate set_request_property in favor of pointing people at add_request_method, schedule removal for 1.8? -- 1.5: Remove pyramid.config.rendering set_renderer_globals_factory maybe. +- 1.6: turn ``pyramid.settings.Settings`` into a function that returns the + original dict (after ``__getattr__`` deprecation period, it was deprecated + in 1.2). - 1.6: Remove IContextURL and TraversalContextURL. -- cgit v1.2.3 From 26787cf215b9bb6ddc0cce84a777f7c2e3079842 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 8 Sep 2013 23:28:30 -0400 Subject: done --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ee7391297..2aa1dc487 100644 --- a/TODO.txt +++ b/TODO.txt @@ -12,9 +12,6 @@ Nice-to-Have - Have action methods return their discriminators. -- Fix renderers chapter to better document system values passed to template - renderers. - - Modify view mapper narrative docs to not use pyramid_handlers. - Modify the urldispatch chapter examples to assume a scan rather than -- cgit v1.2.3 From ebf4577b5fcd0d579c265b8246095ee9d757592b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 9 Sep 2013 22:03:30 -0400 Subject: garden --- TODO.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2aa1dc487..5b6648abc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -118,9 +118,6 @@ Nice-to-Have Future ------ -- 1.5: Maybe? deprecate set_request_property in favor of pointing people at - add_request_method, schedule removal for 1.8? - - 1.6: turn ``pyramid.settings.Settings`` into a function that returns the original dict (after ``__getattr__`` deprecation period, it was deprecated in 1.2). @@ -130,6 +127,8 @@ Future - 1.7: Change ``pyramid.authentication.AuthTktAuthenticationPolicy`` default ``hashalg`` to ``sha512``. +- 1.8 Remove set_request_property. + Probably Bad Ideas ------------------ -- cgit v1.2.3 From 2204c6a7ca835dc61b35f64c4c18d7d445db0806 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 9 Sep 2013 22:07:16 -0400 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5b6648abc..62b8c39f4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -38,8 +38,6 @@ Nice-to-Have - Add narrative docs for wsgiapp and wsgiapp2. -- Flesh out "Paste" narrative docs chapter. - - Basic WSGI documentation (pipeline / app / server). - Change docs about creating a venusian decorator to not use ZCA (use -- cgit v1.2.3 From 6beffc41634844f3ea3b6152f292d3dbe6b5500c Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 17 Nov 2014 01:29:25 -0600 Subject: note the deprecation in the todo --- TODO.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 62b8c39f4..e738b58d8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -125,7 +125,10 @@ Future - 1.7: Change ``pyramid.authentication.AuthTktAuthenticationPolicy`` default ``hashalg`` to ``sha512``. -- 1.8 Remove set_request_property. +- 1.8: Remove set_request_property. + +- 1.9: Remove extra code enabling ``pyramid.security.remember(principal=...)`` + and force use of ``userid``. Probably Bad Ideas ------------------ -- cgit v1.2.3 From a2680f1909b435af92067de9830ac92c34ba7411 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 29 Oct 2015 17:06:43 -0500 Subject: add a note about userid security issues from #2060 --- TODO.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e738b58d8..837c9d681 100644 --- a/TODO.txt +++ b/TODO.txt @@ -47,11 +47,9 @@ Nice-to-Have the templates chapter and elsewhere. Scan the documentation for reference to a renderer as *only* view configuration (it's a larger concept now). -- Add better docs about what-to-do-when-behind-a-proxy: paste.urlmap ("/foo = +- Add better docs about what-to-do-when-behind-a-proxy: rutter ("/foo = app1" and "domain app1.localhost = app1"), ProxyPreserveHost and the nginx - equivalent, preserving HTTPS URLs. - -- Alias the stupid long default session factory name. + proxy_params, preserving HTTPS URLs. - Debug option to print view matching decision (e.g. debug_viewlookup or so). @@ -163,3 +161,5 @@ Probably Bad Ideas - _fix_registry should dictify the registry being fixed. +- Apply a prefix to the userid principal to avoid poisoning the principal + namespace. See https://github.com/Pylons/pyramid/issues/2060 -- cgit v1.2.3 From 88637857ca84eb74fd318ad1bf8c4464e50ae662 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 14 Apr 2016 11:23:00 -0500 Subject: add a note in the todo about python 3.3 --- TODO.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 837c9d681..ff567bca8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -124,6 +124,7 @@ Future ``hashalg`` to ``sha512``. - 1.8: Remove set_request_property. +- 1.8: Drop Python 3.3 support. - 1.9: Remove extra code enabling ``pyramid.security.remember(principal=...)`` and force use of ``userid``. -- cgit v1.2.3 From 99c1033df773517683fc6ca050c9dfa3248614c2 Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Thu, 14 Apr 2016 21:32:27 -0600 Subject: Remove TODO item --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ff567bca8..797f8acef 100644 --- a/TODO.txt +++ b/TODO.txt @@ -120,9 +120,6 @@ Future - 1.6: Remove IContextURL and TraversalContextURL. -- 1.7: Change ``pyramid.authentication.AuthTktAuthenticationPolicy`` default - ``hashalg`` to ``sha512``. - - 1.8: Remove set_request_property. - 1.8: Drop Python 3.3 support. -- cgit v1.2.3