Skip to content
Newer
Older
100644 111 lines (73 sloc) 3.63 KB
0511437 @mcdonc not BFG no mo
mcdonc authored Nov 17, 2010
1 Pyramid TODOs
2 =============
69364d6 @tseaver Tidying
tseaver authored Mar 26, 2010
3
485ef69 @mcdonc gardening
mcdonc authored Nov 17, 2010
4 Must-Have (before 1.0)
5 ----------------------
6
7 - Add a ``handler`` ZCML directive. This implies some slightly dicey
8 refactoring of the configurator to allow it to generate ZCML
94a5271 @mcdonc gardening, add twophase todo
mcdonc authored Nov 20, 2010
9 "discriminators" for views and routes, that could be implemented in terms
10 of "twophase configuration" in "should have" below.
485ef69 @mcdonc gardening
mcdonc authored Nov 18, 2010
11
12 - Provide a .flash API on session object.
13
14 - Use ``@register_view`` instead of ``@view_config`` and change view docs to
15 use "view registration" instead of "view configuration".
16
17 Should-Have
18 -----------
19
165020a @mcdonc gardening
mcdonc authored Nov 18, 2010
20 - Add docs for httpexceptions module for each webob.exc class that inherits
21 from WSGIHTTPException.
22
485ef69 @mcdonc gardening
mcdonc authored Nov 18, 2010
23 - Create a ``docs`` directory for each paster template.
24
25 - Remove "BFG" from Pyramid-specific environ variables.
26
27 - translationdir ZCML directive use of ``path_spec`` should maybe die.
28
29 - Add CRSF token creation/checking machinery (only "should have" vs. "must
30 have" because I'm not sure it belongs in Pyramid.. it definitely must exist
31 in formgen libraries, and *might* belong in Pyramid).
32
33 - Change "Cleaning up After a Request" in the urldispatch chapter to
34 use ``request.add_response_callback``.
35
d15421c @mcdonc garden
mcdonc authored Nov 21, 2010
36 - Twophase configuration (config = Configurator(autocommit=False)). Maybe
37 use ``zope.configuration`` ConfigurationContext as config.registry.ctx and
38 push execution into the configurator.
94a5271 @mcdonc gardening, add twophase todo
mcdonc authored Nov 20, 2010
39
485ef69 @mcdonc gardening
mcdonc authored Nov 18, 2010
40 Nice-to-Have
41 ------------
42
94a5271 @mcdonc gardening, add twophase todo
mcdonc authored Nov 20, 2010
43 - Try to make test suite pass on IronPython.
44
f765a6d @mcdonc reprioritize
mcdonc authored Nov 19, 2010
45 - Non-bwcompat use of threadlocals that need to be documented or ameliorated:
46
47 security.principals_allowed_by_permission
48
49 resource.OverrideProvider._get_overrides: can't credibly be removed,
50 because it stores an overrideprovider as a module-scope global.
51
52 traversal.traverse: this API is a stepchild, and needs to be changed.
53
54 Configurator.add_translation_dirs: not passed any context but a message,
55 can't credibly be removed.
56
69364d6 @tseaver Tidying
tseaver authored Mar 26, 2010
57 - Supply ``X-Vhm-Host`` support.
6fd5e12 Review.
Chris McDonough authored Jan 17, 2010
58
9ec2d64 Merge of andrew-docs branch.
Chris McDonough authored Jan 11, 2010
59 - Basic WSGI documentation (pipeline / app / server).
ff1213e Add "exception views" work contributed primarily by Andrey Popp by me…
Chris McDonough authored Apr 14, 2010
60
0b32608
Chris McDonough authored Apr 25, 2010
61 - Fix message catalog extraction / compilation documentation.
62
84c5ec6 lingering todo items
Chris McDonough authored Jun 23, 2010
63 - Change docs about creating a venusian decorator to not use ZCA.
64
8a444e2 @mcdonc gardening
mcdonc authored Nov 21, 2010
65 - ``decorator=`` parameter to view_config. This would replace the existing
66 _map_view "decorator" if it existed.
a91594a todo gardening
Chris McDonough authored Jul 4, 2010
67
250c021 merge generic_rendering branch
Chris McDonough authored Jul 26, 2010
68 - Try to better explain the relationship between a renderer and a
69 template in the templates chapter and elsewhere. Scan the
70 documentation for reference to a renderer as *only* view
71 configuration (it's a larger concept now).
388f9d4 renderer overhaul intentions
Chris McDonough authored May 24, 2010
72
f077653 - A ``repoze.bfg.events.subscriber`` decorator was added. This
Chris McDonough authored Jul 28, 2010
73 - Create a ``render_view`` that works by using config.derive_view
74 against an existing view instead of querying the registry.
75
76 - Create a function which performs a recursive request.
77
baa6347 todo gardening
Chris McDonough authored Jul 30, 2010
78 - Debug option to print route matching decision.
79
80 - Debug option to print view matching decision.
303c163 todo gardening
Chris McDonough authored Jul 26, 2010
81
3454745 todo gardening
Chris McDonough authored Aug 1, 2010
82 - Script or paster command that prints, for a given URL, the views
83 that might match. Underneath each potentially matching route, list
84 the predicates required. Underneath each route+predicate set, print
85 each view that might match and its predicates. E.g. with the input
86 URL ``/foo``::
87
88 '/foo' (foo_xhr)
89 xhr = True
90 (no view predicates)
91 mypackage.views.MyXHRFooView.__call__
92
93 '/{action}' (action_route)
94 request_method = 'POST'
95 action = '^foo$'
96 mypackage.views.MyView.foo_POST
97 request_method = 'GET'
98 action = '^foo$'
99 mypackage.views.MyView.foo_GET
100
5951ab4 todo gardening.
Chris McDonough authored Aug 26, 2010
101 - Provide a response_cookies attribute on the request for rendered
102 responses that can be used as input to response.set_cookie.
103
6d91915 todo gardening
Chris McDonough authored Aug 26, 2010
104 - Raise an exception when a value in response_headerlist is not a
105 string or decide to encode.
106
485ef69 @mcdonc gardening
mcdonc authored Nov 18, 2010
107 - Update App engine chapter with less creaky directions.
5efc45b @mcdonc add notes about shedding threadlocals
mcdonc authored Nov 11, 2010
108
485ef69 @mcdonc gardening
mcdonc authored Nov 18, 2010
109 - Add functionality that mocks the behavior of ``repoze.browserid``.
76d7eb6 @mcdonc - Internal: ZCML directives no longer call get_current_registry() if …
mcdonc authored Nov 12, 2010
110
Something went wrong with that request. Please try again.