Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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