Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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