From f765a6d0a32e8548f6188a792da88526c9115e98 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 19 Nov 2010 23:43:02 -0500 Subject: reprioritize --- TODO.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ab2b521ae..f1db6f758 100644 --- a/TODO.txt +++ b/TODO.txt @@ -35,18 +35,6 @@ Must-Have (before 1.0) the parameter names (e.g. 'url' instead of 'db_string') is still probably a good idea -- Non-bwcompat use of threadlocals that need to be documented or ameliorated: - - security.principals_allowed_by_permission - - resource.OverrideProvider._get_overrides: can't credibly be removed, - because it stores an overrideprovider as a module-scope global. - - traversal.traverse: this API is a stepchild, and needs to be changed. - - Configurator.add_translation_dirs: not passed any context but a message, - can't credibly be removed. - - Better ``config.add_handler`` documentation. - Fix DottedNameResolver to not convert ImportError to ConfigurationError if @@ -77,6 +65,18 @@ Should-Have Nice-to-Have ------------ +- Non-bwcompat use of threadlocals that need to be documented or ameliorated: + + security.principals_allowed_by_permission + + resource.OverrideProvider._get_overrides: can't credibly be removed, + because it stores an overrideprovider as a module-scope global. + + traversal.traverse: this API is a stepchild, and needs to be changed. + + 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). -- cgit v1.2.3 From 35ce2adb609bfb3db346bc8cc937d13a0d2dddcd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Nov 2010 13:52:03 -0500 Subject: - Fix configurator to not convert ``ImportError`` to ``ConfigurationError`` if the import that failed was unrelated to the import requested via a dotted name when resolving dotted names (such as view dotted names). --- TODO.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index f1db6f758..e1692695c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -37,10 +37,6 @@ Must-Have (before 1.0) - Better ``config.add_handler`` documentation. -- Fix DottedNameResolver to not convert ImportError to ConfigurationError if - the import that failed was unrelated to the import requested via a dotted - name. - Should-Have ----------- -- cgit v1.2.3 From 94a527194b22fdd11263d94bf7be19f524a0141e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Nov 2010 16:35:40 -0500 Subject: gardening, add twophase todo --- TODO.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index e1692695c..479b20c3a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,7 +6,8 @@ Must-Have (before 1.0) - Add a ``handler`` ZCML directive. This implies some slightly dicey refactoring of the configurator to allow it to generate ZCML - "discriminators" for views and routes. + "discriminators" for views and routes, that could be implemented in terms + of "twophase configuration" in "should have" below. - Provide a .flash API on session object. @@ -40,8 +41,6 @@ Must-Have (before 1.0) Should-Have ----------- -- Try to make test suite pass on IronPython. - - Add docs for httpexceptions module for each webob.exc class that inherits from WSGIHTTPException. @@ -58,9 +57,13 @@ Should-Have - Change "Cleaning up After a Request" in the urldispatch chapter to use ``request.add_response_callback``. +- Twophase configuration (config = Configurator(autocommit=False)) + Nice-to-Have ------------ +- Try to make test suite pass on IronPython. + - Non-bwcompat use of threadlocals that need to be documented or ameliorated: security.principals_allowed_by_permission -- cgit v1.2.3 From 8a444e2013d4d97cc718119c7456ed8d32e7521d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 13:37:09 -0500 Subject: gardening --- TODO.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 479b20c3a..0ed31a312 100644 --- a/TODO.txt +++ b/TODO.txt @@ -84,7 +84,8 @@ Nice-to-Have - Change docs about creating a venusian decorator to not use ZCA. -- ``decorator=`` parameter to bfg_view. +- ``decorator=`` parameter to view_config. This would replace the existing + _map_view "decorator" if it existed. - Try to better explain the relationship between a renderer and a template in the templates chapter and elsewhere. Scan the -- cgit v1.2.3 From 5369c85e1153fadbc2db22975c30bd1050e28d7a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 17:52:52 -0500 Subject: gardening --- TODO.txt | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 0ed31a312..aee7d09da 100644 --- a/TODO.txt +++ b/TODO.txt @@ -17,25 +17,6 @@ Must-Have (before 1.0) - Use ``@register_view`` instead of ``@view_config`` and change view docs to use "view registration" instead of "view configuration". -- SQLAlchemy idiomatics: - - mcdonc: those paster templates all look pretty good... the - only thing i'd consider is adjusting your config variable names to match - exactly what sqlalchemy uses as parameter names, see here: - http://www.sqlalchemy.org/docs/core/engines.html - - mcdonc: especially in the pylons_sqla ini file, where the db - initialization is mixed in w/ the app config... - - ... i'd use "sqlalchemy.PARAMETER" for all of the sqla - settings, so it could easily be handed to engine_from_config w/o any need - to parse by hand - - mcdonc: in the other ini files, where sqlalchemy is given its - own part, the "sqlalchemy." prefix probably isn't necessary, but matching - the parameter names (e.g. 'url' instead of 'db_string') is still probably - a good idea - - Better ``config.add_handler`` documentation. Should-Have -- cgit v1.2.3 From 76e48bbbde9891aa98205d4f9fd8c47d15a7f0eb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 21:48:00 -0500 Subject: - Make default renderer work (renderer factory registered with no name, which is active for every view unless the view names a specific renderer). --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index aee7d09da..41ea2c9e4 100644 --- a/TODO.txt +++ b/TODO.txt @@ -11,9 +11,6 @@ Must-Have (before 1.0) - Provide a .flash API on session object. -- Make default renderer work (renderer registered with no name, which is - active for every view unless the view names a specific renderer). - - Use ``@register_view`` instead of ``@view_config`` and change view docs to use "view registration" instead of "view configuration". -- cgit v1.2.3 From d15421c6a06e411d4ab7af3739440d5fa7556945 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 21:49:08 -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 41ea2c9e4..ea7989d39 100644 --- a/TODO.txt +++ b/TODO.txt @@ -35,7 +35,9 @@ Should-Have - Change "Cleaning up After a Request" in the urldispatch chapter to use ``request.add_response_callback``. -- Twophase configuration (config = Configurator(autocommit=False)) +- Twophase configuration (config = Configurator(autocommit=False)). Maybe + use ``zope.configuration`` ConfigurationContext as config.registry.ctx and + push execution into the configurator. Nice-to-Have ------------ -- cgit v1.2.3 From 00fb8b0d7b5dbbf44d28b9af538dc81a58550f67 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 22:23:44 -0500 Subject: add link in add_handler method to handlers chapter --- TODO.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ea7989d39..4319e3cca 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,8 +14,6 @@ Must-Have (before 1.0) - Use ``@register_view`` instead of ``@view_config`` and change view docs to use "view registration" instead of "view configuration". -- Better ``config.add_handler`` documentation. - Should-Have ----------- -- cgit v1.2.3