From 98b0afb7bbf4e58cfeaa7a2e970b35069751284a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 23 Dec 2010 12:54:46 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 3a32322f8..0ee458254 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,6 +24,8 @@ Should-Have - ``decorator=`` parameter to view_config. This would replace the existing _map_view "decorator" if it existed. +- Static (URL-generation only) routes. + Nice-to-Have ------------ -- cgit v1.2.3 From 8a93b2c92240cd77c32d5ad725b4db7a17693e65 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 15:24:19 -0500 Subject: problems identified by Mike --- TODO.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0ee458254..d5524c8af 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,6 +8,15 @@ Must-Have (before 1.0) - Consider deprecations for ``model`` and ``resource`` APIs. +- Fix add_static_view docs to mention: static views cannot be served from the + root, that "name" really means "prefix", and that a non-URL prefix can be a + path with slashes in it. + +- Add an example of serving a static asset from the root using a view. + +- Add an example of using a cascade to serve static assets from the root. + + Should-Have ----------- @@ -26,6 +35,9 @@ Should-Have - Static (URL-generation only) routes. +- Provide a response_set_cookie method on the request for rendered responses + that can be used as input to response.set_cookie? + Nice-to-Have ------------ @@ -82,9 +94,6 @@ Nice-to-Have action = '^foo$' mypackage.views.MyView.foo_GET -- Provide a response_cookies attribute on the request for rendered - responses that can be used as input to response.set_cookie. - - Raise an exception when a value in response_headerlist is not a string or decide to encode. -- cgit v1.2.3 From c9320849bfe10b07a294033c99f0b45733d6f79b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 15:31:30 -0500 Subject: garden --- TODO.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d5524c8af..d73583cab 100644 --- a/TODO.txt +++ b/TODO.txt @@ -16,6 +16,7 @@ Must-Have (before 1.0) - Add an example of using a cascade to serve static assets from the root. +- Explore static file return from handler action using wsgiapp2 + fileapp. Should-Have ----------- -- cgit v1.2.3 From c5acd0807c9cda79ed5ee36ec98474d607922e05 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 15:39:07 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d73583cab..8771cdd42 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,6 +14,9 @@ Must-Have (before 1.0) - Add an example of serving a static asset from the root using a view. +- Add an example of serving a static asset using a view by setting + response.app_iter and the response content-type/content-disposition. + - Add an example of using a cascade to serve static assets from the root. - Explore static file return from handler action using wsgiapp2 + fileapp. -- cgit v1.2.3 From 83efb21867545b0e2084be1fa7aa33f02b211cd3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 16:20:35 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8771cdd42..546ae8f1b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -21,6 +21,9 @@ Must-Have (before 1.0) - Explore static file return from handler action using wsgiapp2 + fileapp. +- Document ``config.add_route('catchall', '/*subpath', + view=static_view('some:asset/spec'))`` + Should-Have ----------- -- cgit v1.2.3 From 8fdcf54bee2cf9609bf4a6a2a0e13a9632ad295b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 16:23:54 -0500 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 546ae8f1b..e3c2e5f6c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,7 +22,8 @@ Must-Have (before 1.0) - Explore static file return from handler action using wsgiapp2 + fileapp. - Document ``config.add_route('catchall', '/*subpath', - view=static_view('some:asset/spec'))`` + view=pyramid.views.static('some:asset/spec'))``, and explain that + ``static`` requires ``subpath``. Should-Have ----------- -- cgit v1.2.3 From 10fd8fe6bc26a7241542353032540cd4415ee9cc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 17:09:32 -0500 Subject: - Added "Advanced Configuration" narrative chapter which documents how to deal with configuration conflicts, two-phase configuration, ``include`` and ``commit``. --- TODO.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e3c2e5f6c..077e23012 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,7 +4,8 @@ Pyramid TODOs Must-Have (before 1.0) ---------------------- -- Narrative docs for ``Configurator.include`` and ``Configurator.commit``. +- Reconcile "extending an existing application" chapter with existence of + "advanced configuration" chapter. - Consider deprecations for ``model`` and ``resource`` APIs. -- cgit v1.2.3 From dc475bf58829bae6e377c95a0e457c491923b60f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 18:08:56 -0500 Subject: garden --- TODO.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 077e23012..f0b1e8b58 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,11 +4,16 @@ Pyramid TODOs Must-Have (before 1.0) ---------------------- +- Write a "Whats New" (delta from BFG 1.3) + - Reconcile "extending an existing application" chapter with existence of "advanced configuration" chapter. - Consider deprecations for ``model`` and ``resource`` APIs. +Should-Have +----------- + - Fix add_static_view docs to mention: static views cannot be served from the root, that "name" really means "prefix", and that a non-URL prefix can be a path with slashes in it. @@ -26,14 +31,10 @@ Must-Have (before 1.0) view=pyramid.views.static('some:asset/spec'))``, and explain that ``static`` requires ``subpath``. -Should-Have ------------ +- Static (URL-generation only) routes. - Add narrative docs for wsgiapp and wsgiapp2. -- Add docs for httpexceptions module for each webob.exc class that inherits - from WSGIHTTPException. - - translationdir ZCML directive use of ``path_spec`` should maybe die. - Change "Cleaning up After a Request" in the urldispatch chapter to @@ -42,8 +43,6 @@ Should-Have - ``decorator=`` parameter to view_config. This would replace the existing _map_view "decorator" if it existed. -- Static (URL-generation only) routes. - - Provide a response_set_cookie method on the request for rendered responses that can be used as input to response.set_cookie? -- cgit v1.2.3 From 56db9ebbb2443f213cc38911c83de24a5abbb111 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 22:26:16 -0500 Subject: - Changed "Static Assets" narrative chapter: clarify that ``name`` represents a prefix unless it's a URL, added an example of a root-relative static view fallback for URL dispatch, added an example of creating a simple view that returns the body of a file. --- TODO.txt | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f0b1e8b58..a220d78aa 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,23 +14,10 @@ Must-Have (before 1.0) Should-Have ----------- -- Fix add_static_view docs to mention: static views cannot be served from the - root, that "name" really means "prefix", and that a non-URL prefix can be a - path with slashes in it. - -- Add an example of serving a static asset from the root using a view. - -- Add an example of serving a static asset using a view by setting - response.app_iter and the response content-type/content-disposition. - - Add an example of using a cascade to serve static assets from the root. - Explore static file return from handler action using wsgiapp2 + fileapp. -- Document ``config.add_route('catchall', '/*subpath', - view=pyramid.views.static('some:asset/spec'))``, and explain that - ``static`` requires ``subpath``. - - Static (URL-generation only) routes. - Add narrative docs for wsgiapp and wsgiapp2. -- cgit v1.2.3 From e36332bcaab8cf6062fda72f4411c8cd5cfe1e4b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 24 Dec 2010 22:31:54 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a220d78aa..d6e10cd3c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,6 +14,8 @@ Must-Have (before 1.0) Should-Have ----------- +- Add notes about renderer response attrs to request docs. + - Add an example of using a cascade to serve static assets from the root. - Explore static file return from handler action using wsgiapp2 + fileapp. -- cgit v1.2.3 From d1432f4f3c48106252b292f19442bf591c554fa5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 27 Dec 2010 00:57:34 -0500 Subject: - Reconcile "extending an existing application" chapter with existence of "advanced configuration" chapter. --- TODO.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d6e10cd3c..f81c78387 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,9 +6,6 @@ Must-Have (before 1.0) - Write a "Whats New" (delta from BFG 1.3) -- Reconcile "extending an existing application" chapter with existence of - "advanced configuration" chapter. - - Consider deprecations for ``model`` and ``resource`` APIs. Should-Have @@ -38,6 +35,8 @@ Should-Have Nice-to-Have ------------ +- Better "Extending" chapter. + - Try to make test suite pass on IronPython. - Non-bwcompat use of threadlocals that need to be documented or ameliorated: -- cgit v1.2.3 From ae4a242a4f161f8cbc95d6e66ad67ec6d1dd2ada Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 29 Dec 2010 02:15:41 -0500 Subject: garden --- TODO.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f81c78387..ada3c4c2a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,6 +8,12 @@ Must-Have (before 1.0) - Consider deprecations for ``model`` and ``resource`` APIs. +- Re-make testing.setUp() and testing.tearDown() the canonical APIs for test + configuration. + +- ``decorator=`` parameter to view_config. This would replace the existing + _map_view "decorator" if it existed (Rob needs). + Should-Have ----------- @@ -26,9 +32,6 @@ Should-Have - Change "Cleaning up After a Request" in the urldispatch chapter to use ``request.add_response_callback``. -- ``decorator=`` parameter to view_config. This would replace the existing - _map_view "decorator" if it existed. - - Provide a response_set_cookie method on the request for rendered responses that can be used as input to response.set_cookie? -- cgit v1.2.3 From 95c9f6f331bd3294699969ae399045891c0dc6ad Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 30 Dec 2010 02:07:36 -0500 Subject: - The "view derivation" code is now factored into a set of classes rather than a large number of standalone functions (a side effect of the ``view_mapper`` refactoring). - The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view`` method, which is used by the default view mapper (a side effect of the ``view_mapper`` refactoring). - The object passed as ``renderer`` to the "view deriver" is now an instance of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side effect of ``view_mapper`` refactoring). --- TODO.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ada3c4c2a..5acc923a1 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,8 +11,10 @@ Must-Have (before 1.0) - Re-make testing.setUp() and testing.tearDown() the canonical APIs for test configuration. -- ``decorator=`` parameter to view_config. This would replace the existing - _map_view "decorator" if it existed (Rob needs). +- Document ``decorator=`` and ``view_mapper`` parameters to add_view. + +- Allow ``decorator=`` and ``view_mapper=`` to be passed via ZCML and the + ``view_config`` decorator. Should-Have ----------- -- cgit v1.2.3 From 80aa770ad2230f01611eb6f49080321faf77d9fe Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 2 Jan 2011 04:08:18 -0500 Subject: - add a ``add_view_mapper`` API to Configurator. This API allows you to add a named implementation of a ``pyramid.interfaces.IViewMapperFactory`` interface. Its name can be passed as a ``view_mapper`` argument to ``config.add_view``. A view mapper allows objects that are meant to be used as view callables to have an arbitrary argument list and an arbitrary result. This feature will be used by Pyramid extension developers, not by "civilians". - New constructor argument to Configurator: ``default_view_mapper``. Useful to create systems that have view callables with alternate default calling conventions. - ``view_mapper`` argument to ``add_view`` should now be a view mapper *name* rather than an implementation. - Add ``view_mapper`` argument to ``view_config`` decorator constructor. - Remove (non-API) function of config.py named _map_view. - Fix docstring for ``decorator`` argument to add_view. - Factor invocation of view mapper into a viewderiver method. - Promote view rendering and decorating into viewderiver, out of view mapper. - Make requestonly into a function rather than a method of the default view mapper. --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5acc923a1..99944874c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -16,6 +16,10 @@ Must-Have (before 1.0) - Allow ``decorator=`` and ``view_mapper=`` to be passed via ZCML and the ``view_config`` decorator. +- Document ``Configurator.add_view_mapper``. + +- Consider the ability to defer the choice of view mapper. + Should-Have ----------- -- cgit v1.2.3 From c35a792f38cf29ec5358b8236a41f935dd8969cc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 2 Jan 2011 04:49:17 -0500 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 99944874c..5b8429d4d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -18,7 +18,11 @@ Must-Have (before 1.0) - Document ``Configurator.add_view_mapper``. -- Consider the ability to defer the choice of view mapper. +- Consider the ability to defer the choice of view mapper and/or renderer + (note that we could also just suggest that people use a default renderer + instead). + +- ZCML directive for view mapper (or just use "utility", but it's not eager). Should-Have ----------- -- cgit v1.2.3 From d54c521adb087540e9954ac4f266fe699b5f648d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 2 Jan 2011 15:33:20 -0500 Subject: suggestion from raydeo --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5b8429d4d..2414658d2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -27,6 +27,10 @@ Must-Have (before 1.0) Should-Have ----------- +- Convert paster template and tutorial HTML templates to use + ``request.static_url('{{package}}:static/foo.css') rather than + ``${request.application_url}/static/foo.css``. + - Add notes about renderer response attrs to request docs. - Add an example of using a cascade to serve static assets from the root. -- cgit v1.2.3 From 405fcc2b4a5c6d3ab3d0680a216e48528e5aaf1a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 2 Jan 2011 16:55:11 -0500 Subject: add todo for current_route_url --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2414658d2..4c9429625 100644 --- a/TODO.txt +++ b/TODO.txt @@ -27,6 +27,8 @@ Must-Have (before 1.0) Should-Have ----------- +- ``current_route_url`` function. https://gist.github.com/762842 + - Convert paster template and tutorial HTML templates to use ``request.static_url('{{package}}:static/foo.css') rather than ``${request.application_url}/static/foo.css``. -- cgit v1.2.3 From 57cc5b77e7e1e1a9ef20902ff50e747a66ee3d13 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 2 Jan 2011 20:20:17 -0500 Subject: garden --- TODO.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4c9429625..d87db1480 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,16 +11,15 @@ Must-Have (before 1.0) - Re-make testing.setUp() and testing.tearDown() the canonical APIs for test configuration. -- Document ``decorator=`` and ``view_mapper`` parameters to add_view. +- Document ``decorator=`` and ``view_mapper`` parameters to add_view and + ``@view_config``. -- Allow ``decorator=`` and ``view_mapper=`` to be passed via ZCML and the - ``view_config`` decorator. +- Allow ``decorator=`` and ``view_mapper=`` to be passed via ZCML. -- Document ``Configurator.add_view_mapper``. +- Document ``Configurator.set_view_mapper``. -- Consider the ability to defer the choice of view mapper and/or renderer - (note that we could also just suggest that people use a default renderer - instead). +- Document ``__view_mapper__`` attribute for view callable view mapper + preference. - ZCML directive for view mapper (or just use "utility", but it's not eager). -- cgit v1.2.3 From 4f729f40369c0c1d4b1d48db3c9dee520f94a255 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 2 Jan 2011 23:34:29 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d87db1480..1badf9b2a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -23,6 +23,9 @@ Must-Have (before 1.0) - ZCML directive for view mapper (or just use "utility", but it's not eager). +- Decide whether ``self.decorated_view(view)`` is in the right place in the + view deriver chain. + Should-Have ----------- -- cgit v1.2.3 From af9935209396d741ca6ec90c82b0a984e1d3b27f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 2 Jan 2011 23:53:52 -0500 Subject: typo: --- TODO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1badf9b2a..e7ac216e7 100644 --- a/TODO.txt +++ b/TODO.txt @@ -32,7 +32,7 @@ Should-Have - ``current_route_url`` function. https://gist.github.com/762842 - Convert paster template and tutorial HTML templates to use - ``request.static_url('{{package}}:static/foo.css') rather than + ``request.static_url('{{package}}:static/foo.css')`` rather than ``${request.application_url}/static/foo.css``. - Add notes about renderer response attrs to request docs. -- cgit v1.2.3 From f8b6d2982292fe323008ad5af394786015206922 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 3 Jan 2011 00:12:36 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e7ac216e7..5c04bec6f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -26,6 +26,8 @@ Must-Have (before 1.0) - Decide whether ``self.decorated_view(view)`` is in the right place in the view deriver chain. +- API docs for ``pyramid.views.action``. + Should-Have ----------- -- cgit v1.2.3 From 070a798934bd39223fad37471e8e2168d78909a2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 3 Jan 2011 02:35:27 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5c04bec6f..0b2bacce2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -28,6 +28,9 @@ Must-Have (before 1.0) - API docs for ``pyramid.views.action``. +- Use a commit veto when configuring repoze.tm2 in paster templates for + non-1X, 2X, or 3X responses. + Should-Have ----------- -- cgit v1.2.3 From 5653d13e554433adf34fd81b2c6593a54e7c4ea1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 3 Jan 2011 03:10:15 -0500 Subject: - Add a new API ``pyramid.url.current_route_url``, which computes a URL based on the "current" route (if any) and its matchdict values. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0b2bacce2..15ce6ef05 100644 --- a/TODO.txt +++ b/TODO.txt @@ -34,8 +34,6 @@ Must-Have (before 1.0) Should-Have ----------- -- ``current_route_url`` function. https://gist.github.com/762842 - - Convert paster template and tutorial HTML templates to use ``request.static_url('{{package}}:static/foo.css')`` rather than ``${request.application_url}/static/foo.css``. -- cgit v1.2.3 From 21013ca63c8b1ce1c7d5ff277dd08922110576f2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 3 Jan 2011 22:27:30 -0500 Subject: done --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 15ce6ef05..517b085f9 100644 --- a/TODO.txt +++ b/TODO.txt @@ -23,9 +23,6 @@ Must-Have (before 1.0) - ZCML directive for view mapper (or just use "utility", but it's not eager). -- Decide whether ``self.decorated_view(view)`` is in the right place in the - view deriver chain. - - API docs for ``pyramid.views.action``. - Use a commit veto when configuring repoze.tm2 in paster templates for -- cgit v1.2.3 From 6ed4127f19bf2fdf88151d1893fba047423537a8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 4 Jan 2011 00:00:55 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 517b085f9..a84b26ff2 100644 --- a/TODO.txt +++ b/TODO.txt @@ -31,6 +31,8 @@ Must-Have (before 1.0) Should-Have ----------- +- Add a session attribute to DummyRequest. + - Convert paster template and tutorial HTML templates to use ``request.static_url('{{package}}:static/foo.css')`` rather than ``${request.application_url}/static/foo.css``. -- cgit v1.2.3 From 1ab17ae1555e799f0efe6bb03866f17b6c8fe1b6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 7 Jan 2011 15:59:50 -0500 Subject: garden --- TODO.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a84b26ff2..938c5607a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -28,6 +28,12 @@ Must-Have (before 1.0) - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. +- Make ``get_csrf_token`` call ``new_csrf_token`` (session timeout is + probably fine for the token). + +- Consider passing two callables to CallbackAuthenticationPolicy: one for + validating/obtaining the userid, the other for returning groups. + Should-Have ----------- -- cgit v1.2.3 From 0b0e74764fa0f2a3d6daa8f8ce70112419ea6981 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 7 Jan 2011 22:53:05 -0500 Subject: - Allow ``decorator`` and ``mapper`` arguments to view ZCML directive. - Document ``decorator`` and ``mapper`` arguments in various places. --- TODO.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 938c5607a..fb1b95e9b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,15 +11,10 @@ Must-Have (before 1.0) - Re-make testing.setUp() and testing.tearDown() the canonical APIs for test configuration. -- Document ``decorator=`` and ``view_mapper`` parameters to add_view and - ``@view_config``. - -- Allow ``decorator=`` and ``view_mapper=`` to be passed via ZCML. - - Document ``Configurator.set_view_mapper``. -- Document ``__view_mapper__`` attribute for view callable view mapper - preference. +- Document ``__view_mapper__`` attribute and ``mapper`` argument to view + configuration for view callable view mapper preference. - ZCML directive for view mapper (or just use "utility", but it's not eager). -- cgit v1.2.3 From c5e83c3285b12a4f08547fa5cdafcb9fbeb044e9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 7 Jan 2011 23:47:46 -0500 Subject: - Document ``Configurator.set_view_mapper``. - Document ``__view_mapper__`` attribute and ``mapper`` argument to view configuration for view callable view mapper preference. --- TODO.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fb1b95e9b..a7cdd43a5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,13 +11,6 @@ Must-Have (before 1.0) - Re-make testing.setUp() and testing.tearDown() the canonical APIs for test configuration. -- Document ``Configurator.set_view_mapper``. - -- Document ``__view_mapper__`` attribute and ``mapper`` argument to view - configuration for view callable view mapper preference. - -- ZCML directive for view mapper (or just use "utility", but it's not eager). - - API docs for ``pyramid.views.action``. - Use a commit veto when configuring repoze.tm2 in paster templates for -- cgit v1.2.3 From b8bba60697c3397518b35e4f775464e863c0aded Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 7 Jan 2011 23:49:39 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a7cdd43a5..a61da36b8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,6 +22,8 @@ Must-Have (before 1.0) - Consider passing two callables to CallbackAuthenticationPolicy: one for validating/obtaining the userid, the other for returning groups. +- Add docs for ``__action_decorator__`` attr of handler. + Should-Have ----------- -- cgit v1.2.3 From 14f863d9b5c323303155c79901f22c5d0e1dbe69 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 8 Jan 2011 00:02:41 -0500 Subject: - ``pyramid.interfaces.ISession.get_csrf_token`` now mandates that an implementation should return a *new* token if one doesn't already exist in the session (previously it would return None). The internal sessioning implementation has been changed. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index a61da36b8..745b4abe4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -16,9 +16,6 @@ Must-Have (before 1.0) - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. -- Make ``get_csrf_token`` call ``new_csrf_token`` (session timeout is - probably fine for the token). - - Consider passing two callables to CallbackAuthenticationPolicy: one for validating/obtaining the userid, the other for returning groups. -- cgit v1.2.3 From 471493d58d108c2f1d45694bc7b021b1790f9174 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 8 Jan 2011 00:45:52 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 745b4abe4..81c571682 100644 --- a/TODO.txt +++ b/TODO.txt @@ -21,6 +21,8 @@ Must-Have (before 1.0) - Add docs for ``__action_decorator__`` attr of handler. +- Document the ``request.override_renderer`` attribute. + Should-Have ----------- -- cgit v1.2.3 From 5f8e02714d1f059b0ef91525300e8fe2fac4aa97 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 8 Jan 2011 03:04:51 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 81c571682..3615d9c1d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -23,6 +23,8 @@ Must-Have (before 1.0) - Document the ``request.override_renderer`` attribute. +- Figure out how to slim the herd of paster templates. + Should-Have ----------- -- cgit v1.2.3 From b98a15d9847874571d7770e3bfe0a9bf4996fe7a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Jan 2011 00:53:48 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 3615d9c1d..8cd9b3350 100644 --- a/TODO.txt +++ b/TODO.txt @@ -25,6 +25,8 @@ Must-Have (before 1.0) - Figure out how to slim the herd of paster templates. +- Explain i18n in Mako and Jinja2. + Should-Have ----------- -- cgit v1.2.3 From 75ca58c3c0029b77f0166cf16341ea5470548318 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Jan 2011 12:45:05 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 8cd9b3350..52bb7b64c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -57,6 +57,9 @@ Should-Have Nice-to-Have ------------ +- ``config.meta`` classmethod which adds a new method to the Configurator + class. + - Better "Extending" chapter. - Try to make test suite pass on IronPython. -- cgit v1.2.3 From 51f25b3de8f4d4ca326f2bc9f9aa93b33d3179df Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Jan 2011 19:52:18 -0500 Subject: garden --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 52bb7b64c..7b60238bf 100644 --- a/TODO.txt +++ b/TODO.txt @@ -30,12 +30,6 @@ Must-Have (before 1.0) Should-Have ----------- -- Add a session attribute to DummyRequest. - -- Convert paster template and tutorial HTML templates to use - ``request.static_url('{{package}}:static/foo.css')`` rather than - ``${request.application_url}/static/foo.css``. - - Add notes about renderer response attrs to request docs. - Add an example of using a cascade to serve static assets from the root. -- cgit v1.2.3 From 4c929e4b78cc1ecc561e1d46caea610979b5b094 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Jan 2011 22:32:14 -0500 Subject: garden --- TODO.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7b60238bf..57ab4612a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -27,6 +27,8 @@ Must-Have (before 1.0) - Explain i18n in Mako and Jinja2. +- Turn Forbidden into a 403. + Should-Have ----------- @@ -51,6 +53,9 @@ Should-Have Nice-to-Have ------------ +- Make it possible to get at ACLDenied data from Forbidden response in + exceptionview. + - ``config.meta`` classmethod which adds a new method to the Configurator class. -- cgit v1.2.3 From 04f1b2f9eb306f1a8f1201654465a3f1d3e2087e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Jan 2011 23:39:36 -0500 Subject: garden --- TODO.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 57ab4612a..b91838efa 100644 --- a/TODO.txt +++ b/TODO.txt @@ -29,6 +29,10 @@ Must-Have (before 1.0) - Turn Forbidden into a 403. +- @action decorator uses ``name`` for the method name; consider whether this + will be confused with ``name`` of ``view_config`` which means something + else. + Should-Have ----------- -- cgit v1.2.3 From 57d300f292b87b67163399db9377fb2920621bd3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Jan 2011 23:40:41 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b91838efa..5f68974b5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -33,6 +33,9 @@ Must-Have (before 1.0) will be confused with ``name`` of ``view_config`` which means something else. +- Consider adding a default exception view for HTTPException and attendant + ``redirect`` and ``abort`` functions ala Pylons. + Should-Have ----------- -- cgit v1.2.3 From f52d595bd1cef5cb97d440c8ba1b1a9850ec8f4b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 12 Jan 2011 02:36:10 -0500 Subject: Features -------- - ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` have been undeprecated. They are now the canonical setup and teardown APIs for test configuration, replacing "direct" creation of a Configurator. This is a change designed to provide a facade that will protect against any future Configurator deprecations. Paster Templates ---------------- - All paster templates now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand" within their ``tests.py`` module, as per decision in features above. Documentation ------------- - The wiki and wiki2 tutorials now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand", as per decision in features above. - The "Testing" narrative chapter now explains ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` instead of Configurator creation and ``Configurator.begin()`` and ``Configurator.end()``. --- TODO.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5f68974b5..c8e2a327f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,10 +8,9 @@ Must-Have (before 1.0) - Consider deprecations for ``model`` and ``resource`` APIs. -- Re-make testing.setUp() and testing.tearDown() the canonical APIs for test - configuration. - -- API docs for ``pyramid.views.action``. +- API docs for ``pyramid.views.action``. (also, @action decorator uses + ``name`` for the method name; consider whether this will be confused with + ``name`` of ``view_config`` which means something else) - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. @@ -29,10 +28,6 @@ Must-Have (before 1.0) - Turn Forbidden into a 403. -- @action decorator uses ``name`` for the method name; consider whether this - will be confused with ``name`` of ``view_config`` which means something - else. - - Consider adding a default exception view for HTTPException and attendant ``redirect`` and ``abort`` functions ala Pylons. -- cgit v1.2.3 From 6a790b32db3ff52e568222fd2cbf1437dcfa09b6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 12 Jan 2011 02:55:31 -0500 Subject: - Document the ``request.override_renderer`` attribute within the narrative "Renderers" chapter in a section named "Overriding A Renderer at Runtime". --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index c8e2a327f..ecc37708a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -20,8 +20,6 @@ Must-Have (before 1.0) - Add docs for ``__action_decorator__`` attr of handler. -- Document the ``request.override_renderer`` attribute. - - Figure out how to slim the herd of paster templates. - Explain i18n in Mako and Jinja2. -- cgit v1.2.3 From 5f3fc07d44a02d26231208d7bbb9cf2f6d57e244 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 12 Jan 2011 02:58:26 -0500 Subject: garden --- TODO.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ecc37708a..dd0f8cff8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,9 +15,6 @@ Must-Have (before 1.0) - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. -- Consider passing two callables to CallbackAuthenticationPolicy: one for - validating/obtaining the userid, the other for returning groups. - - Add docs for ``__action_decorator__`` attr of handler. - Figure out how to slim the herd of paster templates. @@ -29,6 +26,8 @@ Must-Have (before 1.0) - Consider adding a default exception view for HTTPException and attendant ``redirect`` and ``abort`` functions ala Pylons. +- Fix too-long template lines in tutorials for PDF renderings. + Should-Have ----------- @@ -121,3 +120,7 @@ Nice-to-Have - 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. + -- cgit v1.2.3 From 2061883531b7f5d11e606c7bdab850e328cb5e38 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 12 Jan 2011 03:38:16 -0500 Subject: - Deprecation warnings related to import of the following API functions were added: ``pyramid.traversal.find_model``, ``pyramid.traversal.model_path``, ``pyramid.traversal.model_path_tuple``, ``pyramid.url.model_url``. The instructions emitted by the deprecation warnings instruct the developer to change these method spellings to their ``resource`` equivalents. This is a consequence of the mass concept rename of "model" to "resource" performed in 1.0a7. --- TODO.txt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index dd0f8cff8..30dd66164 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,17 +6,15 @@ Must-Have (before 1.0) - Write a "Whats New" (delta from BFG 1.3) -- Consider deprecations for ``model`` and ``resource`` APIs. - - API docs for ``pyramid.views.action``. (also, @action decorator uses ``name`` for the method name; consider whether this will be confused with ``name`` of ``view_config`` which means something else) +- Add docs for ``__action_decorator__`` attr of handler. + - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. -- Add docs for ``__action_decorator__`` attr of handler. - - Figure out how to slim the herd of paster templates. - Explain i18n in Mako and Jinja2. @@ -49,14 +47,14 @@ Should-Have - Provide a response_set_cookie method on the request for rendered responses that can be used as input to response.set_cookie? -Nice-to-Have ------------- - - Make it possible to get at ACLDenied data from Forbidden response in exceptionview. -- ``config.meta`` classmethod which adds a new method to the Configurator - class. +- ``config.meta`` or ``config.extend`` classmethod which adds a new method + ("directive") to the Configurator class. + +Nice-to-Have +------------ - Better "Extending" chapter. -- cgit v1.2.3 From 13d0e133ec4385ba80d7a3c183a2312b542e3e52 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 12 Jan 2011 05:26:19 -0500 Subject: garden --- TODO.txt | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 30dd66164..55932362b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -15,20 +15,37 @@ Must-Have (before 1.0) - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. -- Figure out how to slim the herd of paster templates. +- Figure out how to slim the herd of paster templates. Related: + https://github.com/Pylons/pyramid/issues#issue/40, + https://github.com/Pylons/pyramid/issues#issue/42, + https://github.com/Pylons/pyramid/issues#issue/44, + https://github.com/Pylons/pyramid/issues#issue/94 +, https://github.com/Pylons/pyramid/issues#issue/95 -- Explain i18n in Mako and Jinja2. +- Explain how to use i18n localization in Mako and Jinja2. -- Turn Forbidden into a 403. - -- Consider adding a default exception view for HTTPException and attendant - ``redirect`` and ``abort`` functions ala Pylons. +- Turn Forbidden status code into a 403 (it's currently a 401, which is for + bw compat, but is misleading). - Fix too-long template lines in tutorials for PDF renderings. +- Bug in URL dispatch pattern matching: + https://github.com/Pylons/pyramid/issues#issue/90 + +- Allow ``pyramid.security.remember`` to accept a list of tokens for use when + there's an ``auth_tkt`` authentication policy: + https://github.com/Pylons/pyramid/issues#issue/81 and + https://github.com/Pylons/pyramid/issues#issue/78 + +- Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see + also https://github.com/Pylons/pyramid/issues#issue/19). + Should-Have ----------- +- Consider adding a default exception view for HTTPException and attendant + ``redirect`` and ``abort`` functions ala Pylons. + - Add notes about renderer response attrs to request docs. - Add an example of using a cascade to serve static assets from the root. -- cgit v1.2.3 From 38dddeab91707908e7ee5c18ef76c73338081fcc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 14 Jan 2011 15:15:08 -0500 Subject: garden --- TODO.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 55932362b..d055a8bd8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -40,6 +40,28 @@ Must-Have (before 1.0) - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see also https://github.com/Pylons/pyramid/issues#issue/19). +- Deprecate ``@bfg_view``. + +- Reversing (context, request) in function view callable arglist produces + incomprehensible traceback:: + + def aview(request, context): + return {} + + if __name__ == '__main__': + from pyramid.config import Configurator + from paste.httpserver import serve + c = Configurator() + c.add_view(aview, renderer='__main__:foo.pt') + serve(c.make_wsgi_app()) + + File "/home/chrism/projects/pyramid/pyramid/config.py", line 2981, in map_nonclass + ronly = requestonly(view, self.attr) + File "/home/chrism/projects/pyramid/pyramid/config.py", line 3071, in requestonly + if len(args) - len(defaults) == 1: + zope.configuration.config.ConfigurationExecutionError: : object of type 'NoneType' has no len() in: + ('reversed.py', 14, '', "c.add_view(aview, renderer='__main__:foo.pt')") + Should-Have ----------- -- cgit v1.2.3 From 8c3c02a98f800bacb32eb205fd242ffc406a13c5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 16 Jan 2011 16:24:13 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index d055a8bd8..0455d673e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -62,6 +62,9 @@ Must-Have (before 1.0) zope.configuration.config.ConfigurationExecutionError: : object of type 'NoneType' has no len() in: ('reversed.py', 14, '', "c.add_view(aview, renderer='__main__:foo.pt')") +- Fix misleading conflict error reports for static views ala + http://cluebin.appspot.com/pasted/7242843 + Should-Have ----------- -- cgit v1.2.3 From 1386dbaeb27765ba4838b26cd8ad6f3e4104f7de Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 16 Jan 2011 16:39:44 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0455d673e..7a2c1d365 100644 --- a/TODO.txt +++ b/TODO.txt @@ -65,6 +65,8 @@ Must-Have (before 1.0) - Fix misleading conflict error reports for static views ala http://cluebin.appspot.com/pasted/7242843 +- Document ``add_directive``. + Should-Have ----------- -- cgit v1.2.3 From 0712d99207d71c48df2b91052554d96ca686316c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 18 Jan 2011 22:14:11 -0500 Subject: garden --- TODO.txt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7a2c1d365..9d6f71499 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,12 +6,6 @@ Must-Have (before 1.0) - Write a "Whats New" (delta from BFG 1.3) -- API docs for ``pyramid.views.action``. (also, @action decorator uses - ``name`` for the method name; consider whether this will be confused with - ``name`` of ``view_config`` which means something else) - -- Add docs for ``__action_decorator__`` attr of handler. - - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. @@ -29,9 +23,6 @@ Must-Have (before 1.0) - Fix too-long template lines in tutorials for PDF renderings. -- Bug in URL dispatch pattern matching: - https://github.com/Pylons/pyramid/issues#issue/90 - - Allow ``pyramid.security.remember`` to accept a list of tokens for use when there's an ``auth_tkt`` authentication policy: https://github.com/Pylons/pyramid/issues#issue/81 and -- cgit v1.2.3 From 48bccbe4ff7351d823a471005effea1afc06bb4f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 18 Jan 2011 23:35:25 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 9d6f71499..bcc7ae2e3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -58,6 +58,8 @@ Must-Have (before 1.0) - Document ``add_directive``. +- Add example for ``__action_decorator__`` to pyramid_handler docs. + Should-Have ----------- -- cgit v1.2.3 From a0535390b93d59ef77b96431df732e74240236a0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 02:06:36 -0500 Subject: - When a ``pyramid.exceptions.Forbidden`` error is raised, its status code now ``403 Forbidden``. It was previously ``401 Unauthorized``, for backwards compatibility purposes with ``repoze.bfg``. This change will cause problems for users of Pyramid with ``repoze.who``, which intercepts ``401 Unauthorized`` by default, but allows ``403 Forbidden`` to pass through. Those deployments will need to configure ``repoze.who`` to also react to ``403 Forbidden``. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index bcc7ae2e3..12eed59da 100644 --- a/TODO.txt +++ b/TODO.txt @@ -18,9 +18,6 @@ Must-Have (before 1.0) - Explain how to use i18n localization in Mako and Jinja2. -- Turn Forbidden status code into a 403 (it's currently a 401, which is for - bw compat, but is misleading). - - Fix too-long template lines in tutorials for PDF renderings. - Allow ``pyramid.security.remember`` to accept a list of tokens for use when -- cgit v1.2.3 From 2d4aea1798ac8d3834eca2338b7fea87cb64707a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 02:32:18 -0500 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 12eed59da..90206a466 100644 --- a/TODO.txt +++ b/TODO.txt @@ -16,7 +16,11 @@ Must-Have (before 1.0) https://github.com/Pylons/pyramid/issues#issue/94 , https://github.com/Pylons/pyramid/issues#issue/95 -- Explain how to use i18n localization in Mako and Jinja2. +- Explain how to use i18n localization in Mako and Jinja2. See also - + http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and + https://github.com/Pylons/pyramid_jinja2/pull/14 (pyramid_jinja2 i18n), as + well as - + http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/ - Fix too-long template lines in tutorials for PDF renderings. -- cgit v1.2.3 From ccd31f25d572a37cb2f79c01fc085fe20f336f7e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 04:04:19 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 90206a466..a8e0f45ca 100644 --- a/TODO.txt +++ b/TODO.txt @@ -61,6 +61,8 @@ Must-Have (before 1.0) - Add example for ``__action_decorator__`` to pyramid_handler docs. +- Figure out what to do with "Forms" chapter in narr docs. + Should-Have ----------- -- cgit v1.2.3 From cf0c36c429e29aa8d83f63324f8730a36ca8212e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 12:30:32 -0500 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 a8e0f45ca..b43edbb21 100644 --- a/TODO.txt +++ b/TODO.txt @@ -66,6 +66,8 @@ Must-Have (before 1.0) Should-Have ----------- +- Nicer Mako exceptions in WebError. + - Consider adding a default exception view for HTTPException and attendant ``redirect`` and ``abort`` functions ala Pylons. @@ -90,9 +92,6 @@ Should-Have - Make it possible to get at ACLDenied data from Forbidden response in exceptionview. -- ``config.meta`` or ``config.extend`` classmethod which adds a new method - ("directive") to the Configurator class. - Nice-to-Have ------------ -- cgit v1.2.3 From 7276fbfa3b350a4e857237f2daa452f29ff9b255 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 13:29:12 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b43edbb21..ef4fa7bfe 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,6 +6,9 @@ Must-Have (before 1.0) - Write a "Whats New" (delta from BFG 1.3) +- Fix deprecated example showing ``chameleon_zpt`` API call in testing + narrative chapter. + - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. -- cgit v1.2.3 From 9904b3546478e3299e41d8552370e722dfbd08d4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 19:43:45 -0500 Subject: - Fix deprecated example showing ``chameleon_zpt`` API call in testing narrative chapter. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ef4fa7bfe..b43edbb21 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,9 +6,6 @@ Must-Have (before 1.0) - Write a "Whats New" (delta from BFG 1.3) -- Fix deprecated example showing ``chameleon_zpt`` API call in testing - narrative chapter. - - Use a commit veto when configuring repoze.tm2 in paster templates for non-1X, 2X, or 3X responses. -- cgit v1.2.3 From 24e9cd4d235cd693a30248592fe5257002cb339b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 19:50:09 -0500 Subject: garden --- TODO.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b43edbb21..75dc5199f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,11 +24,6 @@ Must-Have (before 1.0) - Fix too-long template lines in tutorials for PDF renderings. -- Allow ``pyramid.security.remember`` to accept a list of tokens for use when - there's an ``auth_tkt`` authentication policy: - https://github.com/Pylons/pyramid/issues#issue/81 and - https://github.com/Pylons/pyramid/issues#issue/78 - - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see also https://github.com/Pylons/pyramid/issues#issue/19). -- cgit v1.2.3 From 607d756e962dce912134e075dbcc5f11a91987f0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 21:34:19 -0500 Subject: - The ``pyramid_zodb``, ``pyramid_routesalchemy`` and ``pyramid_alchemy`` paster templates now use a default "commit veto" hook when configuring the ``repoze.tm2`` transaction manager in ``development.ini``. This prevents a transaction from being committed when the response status code is within the 400 or 500 ranges. See also http://docs.repoze.org/tm2/#using-a-commit-veto. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 75dc5199f..e34c2fe55 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,9 +6,6 @@ Must-Have (before 1.0) - Write a "Whats New" (delta from BFG 1.3) -- Use a commit veto when configuring repoze.tm2 in paster templates for - non-1X, 2X, or 3X responses. - - Figure out how to slim the herd of paster templates. Related: https://github.com/Pylons/pyramid/issues#issue/40, https://github.com/Pylons/pyramid/issues#issue/42, -- cgit v1.2.3 From de82542c49788de070657a1cf96181e6071956da Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 21:37:49 -0500 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e34c2fe55..84c3aa4f7 100644 --- a/TODO.txt +++ b/TODO.txt @@ -19,8 +19,6 @@ Must-Have (before 1.0) well as - http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/ -- Fix too-long template lines in tutorials for PDF renderings. - - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see also https://github.com/Pylons/pyramid/issues#issue/19). -- cgit v1.2.3 From 4ceb43711fbd8d753a8dfb0254db7866e3603b64 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 21:38:29 -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 84c3aa4f7..09ca50585 100644 --- a/TODO.txt +++ b/TODO.txt @@ -44,9 +44,6 @@ Must-Have (before 1.0) zope.configuration.config.ConfigurationExecutionError: : object of type 'NoneType' has no len() in: ('reversed.py', 14, '', "c.add_view(aview, renderer='__main__:foo.pt')") -- Fix misleading conflict error reports for static views ala - http://cluebin.appspot.com/pasted/7242843 - - Document ``add_directive``. - Add example for ``__action_decorator__`` to pyramid_handler docs. @@ -56,6 +53,9 @@ Must-Have (before 1.0) Should-Have ----------- +- Fix misleading conflict error reports for static views ala + http://cluebin.appspot.com/pasted/7242843 + - Nicer Mako exceptions in WebError. - Consider adding a default exception view for HTTPException and attendant -- cgit v1.2.3 From 5f47801ae33d89a0ac87d9d227639d60aed23ff1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 22:00:43 -0500 Subject: - Using the ``pyramid.view.bfg_view`` alias for ``pyramid.view.view_config`` (a backwards compatibility shim) now issues a deprecation warning. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 09ca50585..5b78e2a74 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,8 +22,6 @@ Must-Have (before 1.0) - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see also https://github.com/Pylons/pyramid/issues#issue/19). -- Deprecate ``@bfg_view``. - - Reversing (context, request) in function view callable arglist produces incomprehensible traceback:: -- cgit v1.2.3 From 14e91bfd4af61251853b73aad33ff47c237339aa Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 22:27:06 -0500 Subject: - Added "Adding Methods to the Configurator via ``add_directive``" section to Advanced Configuration narrative chapter. --- TODO.txt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 5b78e2a74..80e700c00 100644 --- a/TODO.txt +++ b/TODO.txt @@ -22,6 +22,13 @@ Must-Have (before 1.0) - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see also https://github.com/Pylons/pyramid/issues#issue/19). +- Add example for ``__action_decorator__`` to pyramid_handler docs. + +- Figure out what to do with "Forms" chapter in narr docs. + +Should-Have +----------- + - Reversing (context, request) in function view callable arglist produces incomprehensible traceback:: @@ -42,15 +49,6 @@ Must-Have (before 1.0) zope.configuration.config.ConfigurationExecutionError: : object of type 'NoneType' has no len() in: ('reversed.py', 14, '', "c.add_view(aview, renderer='__main__:foo.pt')") -- Document ``add_directive``. - -- Add example for ``__action_decorator__`` to pyramid_handler docs. - -- Figure out what to do with "Forms" chapter in narr docs. - -Should-Have ------------ - - Fix misleading conflict error reports for static views ala http://cluebin.appspot.com/pasted/7242843 -- cgit v1.2.3 From 6e664d765220ac0fc4c97117b11454cc934a0d3c Mon Sep 17 00:00:00 2001 From: Blaise Laflamme Date: Wed, 19 Jan 2011 23:55:15 -0500 Subject: Gardening --- TODO.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 80e700c00..63988e9eb 100644 --- a/TODO.txt +++ b/TODO.txt @@ -10,8 +10,7 @@ Must-Have (before 1.0) https://github.com/Pylons/pyramid/issues#issue/40, https://github.com/Pylons/pyramid/issues#issue/42, https://github.com/Pylons/pyramid/issues#issue/44, - https://github.com/Pylons/pyramid/issues#issue/94 -, https://github.com/Pylons/pyramid/issues#issue/95 + https://github.com/Pylons/pyramid/issues#issue/95 - Explain how to use i18n localization in Mako and Jinja2. See also - http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and -- cgit v1.2.3 From bf96bec71ec99bb79ac41f21b14c135cef7f1451 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 20 Jan 2011 16:38:27 -0500 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 63988e9eb..77a48d4ef 100644 --- a/TODO.txt +++ b/TODO.txt @@ -21,8 +21,6 @@ Must-Have (before 1.0) - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see also https://github.com/Pylons/pyramid/issues#issue/19). -- Add example for ``__action_decorator__`` to pyramid_handler docs. - - Figure out what to do with "Forms" chapter in narr docs. Should-Have -- cgit v1.2.3 From de7b17b6f6b72d4db73bc19aa403f150536c1a6b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 20 Jan 2011 16:41:40 -0500 Subject: garden --- TODO.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 77a48d4ef..c06fa573f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,7 +9,6 @@ Must-Have (before 1.0) - Figure out how to slim the herd of paster templates. Related: https://github.com/Pylons/pyramid/issues#issue/40, https://github.com/Pylons/pyramid/issues#issue/42, - https://github.com/Pylons/pyramid/issues#issue/44, https://github.com/Pylons/pyramid/issues#issue/95 - Explain how to use i18n localization in Mako and Jinja2. See also - -- cgit v1.2.3 From 019ece12d8f9ddf99eef548295a702e32c8fc64e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 20 Jan 2011 22:12:58 -0500 Subject: garden --- TODO.txt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index c06fa573f..96786dd5a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,10 +6,12 @@ Must-Have (before 1.0) - Write a "Whats New" (delta from BFG 1.3) -- Figure out how to slim the herd of paster templates. Related: - https://github.com/Pylons/pyramid/issues#issue/40, - https://github.com/Pylons/pyramid/issues#issue/42, - https://github.com/Pylons/pyramid/issues#issue/95 +- Figure out how/if to slim the herd of paster templates. + +- Document paster template platform compatibility: + https://github.com/Pylons/pyramid/issues#issue/41 + +- MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95 - Explain how to use i18n localization in Mako and Jinja2. See also - http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and @@ -22,9 +24,15 @@ Must-Have (before 1.0) - Figure out what to do with "Forms" chapter in narr docs. +- Fix tutorials and project section to deal with inclusion of production.ini + and logging changes to development.ini. + Should-Have ----------- +- Speed up startup time (defer _bootstrap and registerCommonDirectives() + until needed by ZCML, as well as unfound speedups). + - Reversing (context, request) in function view callable arglist produces incomprehensible traceback:: -- cgit v1.2.3 From a9688fb087d41d08c5bc1f645765bec6b79d71d0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 20 Jan 2011 23:51:24 -0500 Subject: add first cut of whatsnew document --- TODO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 96786dd5a..7f4f23fdc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,7 +4,7 @@ Pyramid TODOs Must-Have (before 1.0) ---------------------- -- Write a "Whats New" (delta from BFG 1.3) +- Polish "Whats New" document. - Figure out how/if to slim the herd of paster templates. -- cgit v1.2.3 From d5d1f0f750b944b453ac52a97d180b46fd65f915 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 01:52:09 -0500 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7f4f23fdc..c267c3ea1 100644 --- a/TODO.txt +++ b/TODO.txt @@ -24,9 +24,6 @@ Must-Have (before 1.0) - Figure out what to do with "Forms" chapter in narr docs. -- Fix tutorials and project section to deal with inclusion of production.ini - and logging changes to development.ini. - Should-Have ----------- -- cgit v1.2.3 From 72ad3374afb491d652e2a22951b09ca399c8d0c5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 02:01:18 -0500 Subject: - Add docs for ``add_finished_callback``, ``add_response_callback``, ``route_path``, ``route_url``, and ``static_url`` methods to ``pyramid.request.Request`` API docs. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index c267c3ea1..89301e526 100644 --- a/TODO.txt +++ b/TODO.txt @@ -19,9 +19,6 @@ Must-Have (before 1.0) well as - http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/ -- Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see - also https://github.com/Pylons/pyramid/issues#issue/19). - - Figure out what to do with "Forms" chapter in narr docs. Should-Have -- cgit v1.2.3 From e74e0cb16cc3bb3593e8b0757c513fab037e4cb7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 02:28:00 -0500 Subject: garden: --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 89301e526..863cb9bff 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,9 +8,6 @@ Must-Have (before 1.0) - Figure out how/if to slim the herd of paster templates. -- Document paster template platform compatibility: - https://github.com/Pylons/pyramid/issues#issue/41 - - MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95 - Explain how to use i18n localization in Mako and Jinja2. See also - -- cgit v1.2.3 From 6f1e7a19e6a9779ef1ab46cef584255c0ac7d471 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 02:28:36 -0500 Subject: garden --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 863cb9bff..aedd774d7 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,8 +6,6 @@ Must-Have (before 1.0) - Polish "Whats New" document. -- Figure out how/if to slim the herd of paster templates. - - MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95 - Explain how to use i18n localization in Mako and Jinja2. See also - -- cgit v1.2.3 From ddf07e7f1486b195bc337a3035f6852980a4d3d7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 02:43:02 -0500 Subject: - Add (minimal) documentation about using I18N within Mako templates to "Internationalization and Localization" narrative chapter. --- TODO.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index aedd774d7..2babd5bc8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -8,17 +8,20 @@ Must-Have (before 1.0) - MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95 -- Explain how to use i18n localization in Mako and Jinja2. See also - - http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and - https://github.com/Pylons/pyramid_jinja2/pull/14 (pyramid_jinja2 i18n), as - well as - - http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/ +- Explain how to use i18n localization in Mako better. Currently we just + link to + http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/, + but I've asked Alexandre if we can include his text in the documentation. - Figure out what to do with "Forms" chapter in narr docs. Should-Have ----------- +- I18N support for pyramid_jinja2. See also - + http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and + https://github.com/Pylons/pyramid_jinja2/pull/14 + - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). -- cgit v1.2.3 From c88d441533c46c80d3e08572013973446308ebd5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 04:04:45 -0500 Subject: - Added "What's New in Pyramid 1.0" chapter to HTML rendering of documentation. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2babd5bc8..ac549e14e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,8 +4,6 @@ Pyramid TODOs Must-Have (before 1.0) ---------------------- -- Polish "Whats New" document. - - MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95 - Explain how to use i18n localization in Mako better. Currently we just -- cgit v1.2.3 From beff12f0668f2f3b17fb07a65c09bc3e7af7cd0b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 04:21:56 -0500 Subject: Incorporate suggestions from https://github.com/Pylons/pyramid/issues/#issue/57 --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ac549e14e..7b4a38635 100644 --- a/TODO.txt +++ b/TODO.txt @@ -13,6 +13,9 @@ Must-Have (before 1.0) - Figure out what to do with "Forms" chapter in narr docs. +- Actually explain ``{foo:}`` formatting and purpose in URL dispatch + patterns within URL dispatch chapter. + Should-Have ----------- -- cgit v1.2.3 From 77049562f0cb6769cc18af5c41b13aa97653a4a3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 04:43:21 -0500 Subject: - Move content of "Forms" chapter back to "Views" chapter; I can't think of a better place to put it. --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 7b4a38635..fbeb22e61 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,8 +11,6 @@ Must-Have (before 1.0) http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/, but I've asked Alexandre if we can include his text in the documentation. -- Figure out what to do with "Forms" chapter in narr docs. - - Actually explain ``{foo:}`` formatting and purpose in URL dispatch patterns within URL dispatch chapter. -- cgit v1.2.3 From d151e6a30c9391916161149dee420fdc7f82463e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 04:44:40 -0500 Subject: wording --- TODO.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index fbeb22e61..b224ffb9e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,15 +4,16 @@ Pyramid TODOs Must-Have (before 1.0) ---------------------- -- MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95 +- Add MANIFEST.in to each paster template? See + https://github.com/Pylons/pyramid/issues#issue/95 - Explain how to use i18n localization in Mako better. Currently we just link to http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/, but I've asked Alexandre if we can include his text in the documentation. -- Actually explain ``{foo:}`` formatting and purpose in URL dispatch - patterns within URL dispatch chapter. +- Explain ``{foo:}`` pattern formatting and purpose better in + within URL dispatch chapter. Should-Have ----------- -- cgit v1.2.3 From 37ee43f015eaaf11388489a520d344236f89bff0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 13:03:50 -0500 Subject: garden --- TODO.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index b224ffb9e..31e4a4dc0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,11 +7,6 @@ Must-Have (before 1.0) - Add MANIFEST.in to each paster template? See https://github.com/Pylons/pyramid/issues#issue/95 -- Explain how to use i18n localization in Mako better. Currently we just - link to - http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/, - but I've asked Alexandre if we can include his text in the documentation. - - Explain ``{foo:}`` pattern formatting and purpose better in within URL dispatch chapter. -- cgit v1.2.3 From 47442fb154eae5c6cd71a54e9b4aeee484e1c38b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 20:05:09 -0500 Subject: - Add a ``MANIFEST.in`` file to each paster template. See https://github.com/Pylons/pyramid/issues#issue/95 Closes issue #95. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 31e4a4dc0..c8f8bf2e7 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,9 +4,6 @@ Pyramid TODOs Must-Have (before 1.0) ---------------------- -- Add MANIFEST.in to each paster template? See - https://github.com/Pylons/pyramid/issues#issue/95 - - Explain ``{foo:}`` pattern formatting and purpose better in within URL dispatch chapter. -- cgit v1.2.3 From 65f203e7290fdc9905896334ca87f5d34667d961 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 21 Jan 2011 21:47:53 -0500 Subject: - Minimally explain usage of custom regular expressions in URL dispatch replacement markers within URL Dispatch chapter. --- TODO.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index c8f8bf2e7..1dbf1419d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,12 +1,6 @@ Pyramid TODOs ============= -Must-Have (before 1.0) ----------------------- - -- Explain ``{foo:}`` pattern formatting and purpose better in - within URL dispatch chapter. - Should-Have ----------- -- cgit v1.2.3 From 9d3bd823a3f3bf8333e022c6965ba7d0280a5d7f Mon Sep 17 00:00:00 2001 From: Ben Bangert Date: Mon, 24 Jan 2011 10:08:20 -0800 Subject: Add todo item for BeforeRender docs. --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 1dbf1419d..956d8b81c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -129,3 +129,5 @@ 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 63c1e06f6609a619d503db0704c7c1ed1e12939b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 25 Jan 2011 14:59:52 -0500 Subject: gardening --- TODO.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 956d8b81c..4aabf7b63 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,17 @@ Pyramid TODOs ============= +Before Release +-------------- + +- Consider per-form_id CSRF instead of per-session global CSRF token. + +- Use © instead of copyright symbol in paster templates / tutorials for + the benefit of folks who cutnpaste and save to a non-UTF8 format. + +- https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it + possible to render a static site from a static dir). + Should-Have ----------- -- cgit v1.2.3 From bd330cfc22555ce0026b92d40091d0745b60e36c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 25 Jan 2011 23:00:44 -0500 Subject: - Use © instead of copyright symbol in paster templates / tutorial templates for the benefit of folks who cutnpaste and save to a non-UTF8 format. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4aabf7b63..258528039 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,9 +6,6 @@ Before Release - Consider per-form_id CSRF instead of per-session global CSRF token. -- Use © instead of copyright symbol in paster templates / tutorials for - the benefit of folks who cutnpaste and save to a non-UTF8 format. - - https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it possible to render a static site from a static dir). -- cgit v1.2.3 From 4a8df774e942340bc80311de6e4127167c75a029 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 28 Jan 2011 23:40:19 -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 258528039..4164e4e1b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -9,6 +9,9 @@ Before Release - https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it possible to render a static site from a static dir). +- Change "Cleaning up After a Request" in the urldispatch chapter to + use ``request.add_response_callback``. + Should-Have ----------- @@ -59,9 +62,6 @@ Should-Have - translationdir ZCML directive use of ``path_spec`` should maybe die. -- Change "Cleaning up After a Request" in the urldispatch chapter to - use ``request.add_response_callback``. - - Provide a response_set_cookie method on the request for rendered responses that can be used as input to response.set_cookie? -- cgit v1.2.3 From 215a3fecf2b6c23f1d9b1447dcff667c623944d6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 29 Jan 2011 00:22:54 -0500 Subject: garden --- TODO.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 4164e4e1b..6c9696fc0 100644 --- a/TODO.txt +++ b/TODO.txt @@ -12,6 +12,8 @@ Before Release - Change "Cleaning up After a Request" in the urldispatch chapter to use ``request.add_response_callback``. +- ``repoze.retry`` in ZODB template. + Should-Have ----------- -- cgit v1.2.3 From 9afa52f0783d77b19e6ff0a509c5d556950a8a46 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 29 Jan 2011 02:34:40 -0500 Subject: - Added ``egg:repoze.retry#retry`` middleware to the WSGI pipeline in ZODB templates (retry ZODB conflict errors which occur in normal operations). --- TODO.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 6c9696fc0..750bbf56f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,19 +4,17 @@ Pyramid TODOs Before Release -------------- -- Consider per-form_id CSRF instead of per-session global CSRF token. - - https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it possible to render a static site from a static dir). - Change "Cleaning up After a Request" in the urldispatch chapter to use ``request.add_response_callback``. -- ``repoze.retry`` in ZODB template. - Should-Have ----------- +- Consider per-form_id CSRF instead of per-session global CSRF token. + - I18N support for pyramid_jinja2. See also - http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and https://github.com/Pylons/pyramid_jinja2/pull/14 -- cgit v1.2.3 From eac19863562e6ad0658ccc15c84637cd79ea8d7c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 29 Jan 2011 02:50:19 -0500 Subject: - Changed "Cleaning up After a Request" section in the URL Dispatch chapter to use ``request.add_finished_callback`` instead of jamming an object with a ``__del__`` into the WSGI environment. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 750bbf56f..bd63d1609 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,9 +7,6 @@ Before Release - https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it possible to render a static site from a static dir). -- Change "Cleaning up After a Request" in the urldispatch chapter to - use ``request.add_response_callback``. - Should-Have ----------- -- cgit v1.2.3 From 699da1dc1582538dbd817e53fbc51333a0d525cf Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 30 Jan 2011 19:06:35 -0500 Subject: defer --- TODO.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index bd63d1609..2727cd4f9 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,15 +1,12 @@ Pyramid TODOs ============= -Before Release --------------- +Should-Have +----------- - https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it possible to render a static site from a static dir). -Should-Have ------------ - - Consider per-form_id CSRF instead of per-session global CSRF token. - I18N support for pyramid_jinja2. See also - -- cgit v1.2.3 From e3323f6db5571ecff0c327e4dd28ba8e1d5bfdb2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 1 Feb 2011 18:51:28 -0500 Subject: garden --- TODO.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 2727cd4f9..ffd95a426 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,6 +4,9 @@ Pyramid TODOs Should-Have ----------- +- Move newrequest send event into inner try block in router so exceptions + generated by newrequest subscribers can serve as exception view gotos. + - https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it possible to render a static site from a static dir). -- cgit v1.2.3 From b9cbd0e090505a45633809de948c58359d48d35c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Mar 2011 04:24:34 -0400 Subject: note promise --- TODO.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ffd95a426..5a88c9102 100644 --- a/TODO.txt +++ b/TODO.txt @@ -45,7 +45,8 @@ Should-Have - Nicer Mako exceptions in WebError. - Consider adding a default exception view for HTTPException and attendant - ``redirect`` and ``abort`` functions ala Pylons. + ``redirect`` and ``abort`` functions ala Pylons (promised Mike I'd enable + this in 1.1). - Add notes about renderer response attrs to request docs. -- cgit v1.2.3