Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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