Skip to content
Newer
Older
100644 113 lines (68 sloc) 3.63 KB
0511437 @mcdonc not BFG no mo
mcdonc authored
1 Pyramid TODOs
2 =============
69364d6 @tseaver Tidying
tseaver authored
3
2a96825 @mcdonc garden
mcdonc authored
4 Nice-to-Have
5 ------------
6
58de14e @mcdonc garden
mcdonc authored
7 - Have ``remember`` and ``forget`` actually set headers on the response using
8 a response callback (and return the empty list)?
9
95eab98 @mcdonc organize better
mcdonc authored
10 - Add narrative docs for wsgiapp and wsgiapp2.
3d338ea @mcdonc - Use [app:main] instead of a pipeline in all scaffolds and tutorials
mcdonc authored
11
95eab98 @mcdonc organize better
mcdonc authored
12 - Better "Extending" chapter.
4492879 @mcdonc - The ``RemoteUserAuthenticationPolicy ``, ``AuthTktAuthenticationPol…
mcdonc authored
13
95eab98 @mcdonc organize better
mcdonc authored
14 - Flesh out "Paste" narrative docs chapter.
51add88 @mcdonc garden
mcdonc authored
15
95eab98 @mcdonc organize better
mcdonc authored
16 - Basic WSGI documentation (pipeline / app / server).
51add88 @mcdonc garden
mcdonc authored
17
95eab98 @mcdonc organize better
mcdonc authored
18 - Change docs about creating a venusian decorator to not use ZCA.
d8d14a4 @mcdonc garden
mcdonc authored
19
95eab98 @mcdonc organize better
mcdonc authored
20 - Try to better explain the relationship between a renderer and a template in
21 the templates chapter and elsewhere. Scan the documentation for reference
22 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
23
a7d50d8 @mcdonc garden
mcdonc authored
24 - Add better docs about what-to-do-when-behind-a-proxy: paste.urlmap ("/foo =
25 app1" and "domain app1.localhost = app1"), ProxyPreserveHost and the nginx
26 equivalent, preserving HTTPS URLs.
27
95eab98 @mcdonc organize better
mcdonc authored
28 - _fix_registry should dictify the registry being fixed.
6aafc53 @mcdonc garden
mcdonc authored
29
95eab98 @mcdonc organize better
mcdonc authored
30 - Make "localizer" a property of request (instead of requiring
31 "get_localizer(request)"?
6aafc53 @mcdonc garden
mcdonc authored
32
95eab98 @mcdonc organize better
mcdonc authored
33 - Alias the stupid long default session factory name.
d1432f4 @mcdonc - Reconcile "extending an existing application" chapter with existenc…
mcdonc authored
34
95eab98 @mcdonc organize better
mcdonc authored
35 - Debug option to print view matching decision (e.g. debug_viewlookup or so).
94a5271 @mcdonc gardening, add twophase todo
mcdonc authored
36
f765a6d @mcdonc reprioritize
mcdonc authored
37 - Non-bwcompat use of threadlocals that need to be documented or ameliorated:
38
39 security.principals_allowed_by_permission
40
41 resource.OverrideProvider._get_overrides: can't credibly be removed,
42 because it stores an overrideprovider as a module-scope global.
43
44 traversal.traverse: this API is a stepchild, and needs to be changed.
45
46 Configurator.add_translation_dirs: not passed any context but a message,
47 can't credibly be removed.
48
95eab98 @mcdonc organize better
mcdonc authored
49 - Deprecate pyramid.security.view_execution_permitted (it only works for
50 traversal).
f077653 - A ``repoze.bfg.events.subscriber`` decorator was added. This
Chris McDonough authored
51
52 - Create a function which performs a recursive request.
53
95eab98 @mcdonc organize better
mcdonc authored
54 - Create a ``render_view`` that works by using config.derive_view against an
55 existing view callable instead of querying the registry (some sort of API
56 for rendering a view callable object to a response from within another view
57 callable). Possible idea: have config.add_view mark up the
58 function/method/class like @view_config does, then use the attached info to
59 derive a view callable whenever called via some API.
7c15496 @mcdonc remove; too complex to document here
mcdonc authored
60
61 - Provide a ``has_view`` function.
62
485ef69 @mcdonc gardening
mcdonc authored
63 - Update App engine chapter with less creaky directions.
5efc45b @mcdonc add notes about shedding threadlocals
mcdonc authored
64
95eab98 @mcdonc organize better
mcdonc authored
65 - Introspection features (whatever is needed by Alan/ptah).
66
f21398e @mcdonc test
mcdonc authored
67
cccc918 @mcdonc garden
mcdonc authored
68 Future
69 ------
70
2a96825 @mcdonc garden
mcdonc authored
71 - 1.3: Remove ``pyramid.renderers.renderer_from_name`` (deprecated).
cccc918 @mcdonc garden
mcdonc authored
72
73 - 1.3: Kill off ``bfg.routes`` envvars in router.
74
49f0829 @mcdonc - The ``request_method`` predicate argument to
mcdonc authored
75 - 1.3: Michael's route group work
78e4cdd @mcdonc garden
mcdonc authored
76
49f0829 @mcdonc - The ``request_method`` predicate argument to
mcdonc authored
77 - 1.3: Add a default-view-config-params decorator that can be applied to a
78 class which names defaults for method-based view_config decorator options.
78e4cdd @mcdonc garden
mcdonc authored
79
2a96825 @mcdonc garden
mcdonc authored
80 - 1.3: use zope.registry rather than zope.component.
81
33516a0 @mcdonc - Undeprecated ``pyramid.traversal.find_model``,
mcdonc authored
82 - 1.4: Remove ``chameleon_text`` / ``chameleon_zpt`` deprecated functions
83 (render_*)
84
85 - 1.4: Remove ``pyramid.configuration.ConfigurationError`` (deprecated).
86
87 - 1.4: Remove ``pyramid.paster.PyramidTemplate`` (deprecated).
88
89 - 1.4: Remove ``pyramid.settings.get_settings`` (deprecated).
90
91 - 1.5: Remove all deprecated ``pyramid.testing`` functions.
6413015 @mcdonc garden
mcdonc authored
92
2a96825 @mcdonc garden
mcdonc authored
93 - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the
94 original dict (after ``__getattr__`` deprecation period, it was deprecated
95 in 1.2).
96
97 - 1.5: Remove ``pyramid.requests.DeprecatedRequestMethodsMixin``.
98
d8d14a4 @mcdonc garden
mcdonc authored
99 Probably Bad Ideas
100 ------------------
101
485ef69 @mcdonc gardening
mcdonc authored
102 - Add functionality that mocks the behavior of ``repoze.browserid``.
76d7eb6 @mcdonc - Internal: ZCML directives no longer call get_current_registry() if …
mcdonc authored
103
5f3fc07 @mcdonc garden
mcdonc authored
104 - Consider implementing the API outlined in
105 http://plope.com/pyramid_auth_design_api_postmortem, phasing out the
106 current auth-n-auth abstractions in a backwards compatible way.
107
d8d14a4 @mcdonc garden
mcdonc authored
108 - Maybe add ``add_renderer_globals`` method to Configurator.
109
95eab98 @mcdonc organize better
mcdonc authored
110 - Supply ``X-Vhm-Host`` support (probably better to do what paste#prefix
111 middleware does).
112
Something went wrong with that request. Please try again.