Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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