Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 134 lines (83 sloc) 4.364 kb
0511437 @mcdonc not BFG no mo
mcdonc authored
1 Pyramid TODOs
2 =============
69364d6 @tseaver Tidying
tseaver authored
3
8ac9e61 @mcdonc garden
mcdonc authored
4 Nice-to-Have
5 ------------
8b6f09d @mcdonc add rudimentary object description code
mcdonc authored
6
4786cae @mcdonc - The system value ``r`` is now supplied to renderers as an alias for
mcdonc authored
7 - Fix renderers chapter to better document system values passed to template
8 renderers.
9
748aad4 @mcdonc - Add ``pyramid.config.Configurator.set_traverser`` API method. See the
mcdonc authored
10 - Add set_resource_url_generator method.
157b1e4 @mcdonc garden
mcdonc authored
11
b227b60 @mcdonc garden
mcdonc authored
12 - Put includes in development.ini on separate lines and fix project.rst to
13 tell people to comment out only the debugtoolbar include when they want to
14 disable.
15
37f3baa @mcdonc garden
mcdonc authored
16 - Modify view mapper narrative docs to not use pyramid_handlers.
17
cd422c1 @mcdonc garden
mcdonc authored
18 - Modify the urldispatch chapter examples to assume a scan rather than
19 ``add_view``.
20
11f2b29 @mcdonc garden
mcdonc authored
21 - Decorator for append_slash_notfound_view_factory.
cd422c1 @mcdonc garden
mcdonc authored
22
8ac9e61 @mcdonc garden
mcdonc authored
23 - Introspection:
57a0d77 @mcdonc docs; todo; coverage for Introspector
mcdonc authored
24
58c01ff @mcdonc flesh out categories more
mcdonc authored
25 * ``default root factory`` category?
26
27 * ``default view mapper`` category?
28
4a4ef4f @mcdonc simplify actioninfo interface; fix actioninfos passed as tuple via _info
mcdonc authored
29 * get rid of "tweens" category (can't sort properly?)
30
8b6f09d @mcdonc add rudimentary object description code
mcdonc authored
31 * implement ptweens and proutes based on introspection instead of current
32 state of affairs.
33
34 * introspection hiding for directives?
35
bfc01f5 @mcdonc garden
mcdonc authored
36 - Fix deployment recipes in cookbook (discourage proxying without changing
37 server).
38
773024b @mcdonc garden
mcdonc authored
39 - Try "with transaction.manager" in an exception view with SQLA (preempt
40 homina homina response about how to write "to the database" from within in
41 an exception view).
42
95eab98 @mcdonc organize better
mcdonc authored
43 - Add narrative docs for wsgiapp and wsgiapp2.
3d338ea @mcdonc - Use [app:main] instead of a pipeline in all scaffolds and tutorials
mcdonc authored
44
95eab98 @mcdonc organize better
mcdonc authored
45 - Flesh out "Paste" narrative docs chapter.
51add88 @mcdonc garden
mcdonc authored
46
95eab98 @mcdonc organize better
mcdonc authored
47 - Basic WSGI documentation (pipeline / app / server).
51add88 @mcdonc garden
mcdonc authored
48
95eab98 @mcdonc organize better
mcdonc authored
49 - Change docs about creating a venusian decorator to not use ZCA.
d8d14a4 @mcdonc garden
mcdonc authored
50
95eab98 @mcdonc organize better
mcdonc authored
51 - Try to better explain the relationship between a renderer and a template in
52 the templates chapter and elsewhere. Scan the documentation for reference
53 to a renderer as *only* view configuration (it's a larger concept now).
b5ffe38 @mcdonc - The ``settings`` dictionary now raises a deprecation warning when you
mcdonc authored
54
a7d50d8 @mcdonc garden
mcdonc authored
55 - Add better docs about what-to-do-when-behind-a-proxy: paste.urlmap ("/foo =
56 app1" and "domain app1.localhost = app1"), ProxyPreserveHost and the nginx
57 equivalent, preserving HTTPS URLs.
58
95eab98 @mcdonc organize better
mcdonc authored
59 - _fix_registry should dictify the registry being fixed.
6aafc53 @mcdonc garden
mcdonc authored
60
95eab98 @mcdonc organize better
mcdonc authored
61 - Make "localizer" a property of request (instead of requiring
62 "get_localizer(request)"?
6aafc53 @mcdonc garden
mcdonc authored
63
95eab98 @mcdonc organize better
mcdonc authored
64 - Alias the stupid long default session factory name.
d1432f4 @mcdonc - Reconcile "extending an existing application" chapter with existence o...
mcdonc authored
65
95eab98 @mcdonc organize better
mcdonc authored
66 - Debug option to print view matching decision (e.g. debug_viewlookup or so).
94a5271 @mcdonc gardening, add twophase todo
mcdonc authored
67
f765a6d @mcdonc reprioritize
mcdonc authored
68 - Non-bwcompat use of threadlocals that need to be documented or ameliorated:
69
70 security.principals_allowed_by_permission
71
72 resource.OverrideProvider._get_overrides: can't credibly be removed,
73 because it stores an overrideprovider as a module-scope global.
74
75 traversal.traverse: this API is a stepchild, and needs to be changed.
76
77 Configurator.add_translation_dirs: not passed any context but a message,
78 can't credibly be removed.
79
95eab98 @mcdonc organize better
mcdonc authored
80 - Deprecate pyramid.security.view_execution_permitted (it only works for
81 traversal).
f077653 - A ``repoze.bfg.events.subscriber`` decorator was added. This
Chris McDonough authored
82
83 - Create a function which performs a recursive request.
84
95eab98 @mcdonc organize better
mcdonc authored
85 - Create a ``render_view`` that works by using config.derive_view against an
86 existing view callable instead of querying the registry (some sort of API
87 for rendering a view callable object to a response from within another view
88 callable). Possible idea: have config.add_view mark up the
89 function/method/class like @view_config does, then use the attached info to
90 derive a view callable whenever called via some API.
7c15496 @mcdonc remove; too complex to document here
mcdonc authored
91
92 - Provide a ``has_view`` function.
93
485ef69 @mcdonc gardening
mcdonc authored
94 - Update App engine chapter with less creaky directions.
5efc45b @mcdonc add notes about shedding threadlocals
mcdonc authored
95
cccc918 @mcdonc garden
mcdonc authored
96 Future
97 ------
98
f1f6e87 @mcdonc garden
mcdonc authored
99 - 1.4: Kill off ``bfg.routes`` envvars in router.
cccc918 @mcdonc garden
mcdonc authored
100
33516a0 @mcdonc - Undeprecated ``pyramid.traversal.find_model``,
mcdonc authored
101 - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions
102 (render_*)
103
104 - 1.4: Remove ``pyramid.configuration.ConfigurationError`` (deprecated).
105
106 - 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated).
107
108 - 1.4: Remove ``pyramid.settings.get_settings`` (deprecated).
109
110 - 1.5: Remove all deprecated ``pyramid.testing`` functions.
6413015 @mcdonc garden
mcdonc authored
111
2a96825 @mcdonc garden
mcdonc authored
112 - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the
113 original dict (after ``__getattr__`` deprecation period, it was deprecated
114 in 1.2).
115
116 - 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``.
117
d8d14a4 @mcdonc garden
mcdonc authored
118 Probably Bad Ideas
119 ------------------
120
485ef69 @mcdonc gardening
mcdonc authored
121 - Add functionality that mocks the behavior of ``repoze.browserid``.
76d7eb6 @mcdonc - Internal: ZCML directives no longer call get_current_registry() if the...
mcdonc authored
122
5f3fc07 @mcdonc garden
mcdonc authored
123 - Consider implementing the API outlined in
124 http://plope.com/pyramid_auth_design_api_postmortem, phasing out the
125 current auth-n-auth abstractions in a backwards compatible way.
126
d8d14a4 @mcdonc garden
mcdonc authored
127 - Maybe add ``add_renderer_globals`` method to Configurator.
128
95eab98 @mcdonc organize better
mcdonc authored
129 - Supply ``X-Vhm-Host`` support (probably better to do what paste#prefix
130 middleware does).
131
c5724cb @mcdonc garden
mcdonc authored
132 - Have ``remember`` and ``forget`` actually set headers on the response using
133 a response callback (and return the empty list)?
Something went wrong with that request. Please try again.