From 3283ef07b21a0095f665f719212f74a190a5bcff Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Dec 2010 12:19: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 f90c52538..68b807f0c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,6 +11,8 @@ Must-Have (before 1.0) Should-Have ----------- +- Add narrative docs for wsgiapp and wsgiapp2. + - Add docs for httpexceptions module for each webob.exc class that inherits from WSGIHTTPException. -- cgit v1.2.3 From 5801195412d2c809182304d09cc2860c61c6cc93 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Dec 2010 17:28:17 -0500 Subject: garden --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 68b807f0c..0e8a935da 100644 --- a/TODO.txt +++ b/TODO.txt @@ -31,9 +31,6 @@ Should-Have Nice-to-Have ------------ -- Use ``@register_view`` instead of ``@view_config`` and change view docs to - use "view registration" instead of "view configuration". - - 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 319793d9b3d127ba2a9245713ef4f01b32918e95 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 22 Dec 2010 18:27:07 -0500 Subject: - Added CSRF token generation, as described in the narrative chapter entitled "Preventing Cross-Site Request Forgery Attacks". --- TODO.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0e8a935da..3a32322f8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -18,10 +18,6 @@ Should-Have - translationdir ZCML directive use of ``path_spec`` should maybe die. -- Add CRSF token creation/checking machinery (only "should have" vs. "must - have" because I'm not sure it belongs in Pyramid.. it definitely must exist - in formgen libraries, and *might* belong in Pyramid). - - Change "Cleaning up After a Request" in the urldispatch chapter to use ``request.add_response_callback``. -- cgit v1.2.3 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