summaryrefslogtreecommitdiff
path: root/TODO.txt
diff options
context:
space:
mode:
Diffstat (limited to 'TODO.txt')
-rw-r--r--TODO.txt66
1 files changed, 51 insertions, 15 deletions
diff --git a/TODO.txt b/TODO.txt
index 81c571682..7f4f23fdc 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,33 +4,62 @@ Pyramid TODOs
Must-Have (before 1.0)
----------------------
-- Write a "Whats New" (delta from BFG 1.3)
+- Polish "Whats New" document.
-- Consider deprecations for ``model`` and ``resource`` APIs.
+- Figure out how/if to slim the herd of paster templates.
-- Re-make testing.setUp() and testing.tearDown() the canonical APIs for test
- configuration.
+- Document paster template platform compatibility:
+ https://github.com/Pylons/pyramid/issues#issue/41
-- API docs for ``pyramid.views.action``.
+- MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95
-- Use a commit veto when configuring repoze.tm2 in paster templates for
- non-1X, 2X, or 3X responses.
+- 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/
-- Consider passing two callables to CallbackAuthenticationPolicy: one for
- validating/obtaining the userid, the other for returning groups.
+- Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see
+ also https://github.com/Pylons/pyramid/issues#issue/19).
-- Add docs for ``__action_decorator__`` attr of handler.
+- Figure out what to do with "Forms" chapter in narr docs.
-- Document the ``request.override_renderer`` attribute.
+- Fix tutorials and project section to deal with inclusion of production.ini
+ and logging changes to development.ini.
Should-Have
-----------
-- Add a session attribute to DummyRequest.
+- Speed up startup time (defer _bootstrap and registerCommonDirectives()
+ until needed by ZCML, as well as unfound speedups).
-- Convert paster template and tutorial HTML templates to use
- ``request.static_url('{{package}}:static/foo.css')`` rather than
- ``${request.application_url}/static/foo.css``.
+- 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: <type 'exceptions.TypeError'>: object of type 'NoneType' has no len() in:
+ ('reversed.py', 14, '<module>', "c.add_view(aview, renderer='__main__:foo.pt')")
+
+- 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
+ ``redirect`` and ``abort`` functions ala Pylons.
- Add notes about renderer response attrs to request docs.
@@ -50,6 +79,9 @@ Should-Have
- Provide a response_set_cookie method on the request for rendered responses
that can be used as input to response.set_cookie?
+- Make it possible to get at ACLDenied data from Forbidden response in
+ exceptionview.
+
Nice-to-Have
------------
@@ -115,3 +147,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.
+