Skip to content
Newer
Older
100644 142 lines (90 sloc) 4.58 KB
0511437 @mcdonc not BFG no mo
mcdonc authored Nov 17, 2010
1 Pyramid TODOs
2 =============
69364d6 @tseaver Tidying
tseaver authored Mar 26, 2010
3
8ac9e61 @mcdonc garden
mcdonc authored Dec 16, 2011
4 Nice-to-Have
5 ------------
8b6f09d @mcdonc add rudimentary object description code
mcdonc authored Nov 25, 2011
6
63c969d @mcdonc garden
mcdonc authored Feb 18, 2012
7 - Add docs about upgrading between Pyramid versions (e.g. how to see
8 deprecation warnings).
9
4786cae @mcdonc - The system value ``r`` is now supplied to renderers as an alias for
mcdonc authored Feb 15, 2012
10 - Fix renderers chapter to better document system values passed to template
11 renderers.
12
37f3baa @mcdonc garden
mcdonc authored Feb 14, 2012
13 - Modify view mapper narrative docs to not use pyramid_handlers.
14
cd422c1 @mcdonc garden
mcdonc authored Dec 18, 2011
15 - Modify the urldispatch chapter examples to assume a scan rather than
16 ``add_view``.
17
56a1008 @mcdonc garden
mcdonc authored Feb 20, 2012
18 - Context manager for creating a new configurator (replacing
19 ``with_package``). E.g.::
20
21 with config.partial(package='bar') as c:
22 c.add_view(...)
23
8fc93b9 @mcdonc garden
mcdonc authored Feb 20, 2012
24 or::
25
26 with config.partial(introspection=False) as c:
27 c.add_view(..)
28
8ac9e61 @mcdonc garden
mcdonc authored Dec 16, 2011
29 - Introspection:
57a0d77 @mcdonc docs; todo; coverage for Introspector
mcdonc authored Nov 30, 2011
30
63c969d @mcdonc garden
mcdonc authored Feb 19, 2012
31 * ``default root factory`` category (prevent folks from needing to searh
32 "root factories" category)?
58c01ff @mcdonc flesh out categories more
mcdonc authored Dec 3, 2011
33
63c969d @mcdonc garden
mcdonc authored Feb 19, 2012
34 * ``default view mapper`` category (prevent folks from needing to search
35 "view mappers" category)?
58c01ff @mcdonc flesh out categories more
mcdonc authored Dec 4, 2011
36
4a4ef4f @mcdonc simplify actioninfo interface; fix actioninfos passed as tuple via _info
mcdonc authored Dec 4, 2011
37 * get rid of "tweens" category (can't sort properly?)
38
bfc01f5 @mcdonc garden
mcdonc authored Dec 5, 2011
39 - Fix deployment recipes in cookbook (discourage proxying without changing
40 server).
41
773024b @mcdonc garden
mcdonc authored Dec 6, 2011
42 - Try "with transaction.manager" in an exception view with SQLA (preempt
43 homina homina response about how to write "to the database" from within in
63c969d @mcdonc garden
mcdonc authored Feb 19, 2012
44 an exception view). Note: tried this and couldn't formulate the right
45 situation where the database could not be written to within an exception
46 view (but didn't try exhaustively).
773024b @mcdonc garden
mcdonc authored Dec 6, 2011
47
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
48 - Add narrative docs for wsgiapp and wsgiapp2.
3d338ea @mcdonc - Use [app:main] instead of a pipeline in all scaffolds and tutorials
mcdonc authored Aug 22, 2011
49
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
50 - Flesh out "Paste" narrative docs chapter.
51add88 @mcdonc garden
mcdonc authored Aug 19, 2011
51
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
52 - Basic WSGI documentation (pipeline / app / server).
51add88 @mcdonc garden
mcdonc authored Aug 19, 2011
53
63c969d @mcdonc garden
mcdonc authored Feb 19, 2012
54 - Change docs about creating a venusian decorator to not use ZCA (use
55 configurator methods instead).
d8d14a4 @mcdonc garden
mcdonc authored Jul 28, 2011
56
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
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 Aug 14, 2011
60
a7d50d8 @mcdonc garden
mcdonc authored Sep 3, 2011
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 Sep 2, 2011
65 - _fix_registry should dictify the registry being fixed.
6aafc53 @mcdonc garden
mcdonc authored Jul 28, 2011
66
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
67 - Make "localizer" a property of request (instead of requiring
68 "get_localizer(request)"?
6aafc53 @mcdonc garden
mcdonc authored Jul 28, 2011
69
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
70 - Alias the stupid long default session factory name.
d1432f4 @mcdonc - Reconcile "extending an existing application" chapter with existenc…
mcdonc authored Dec 27, 2010
71
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
72 - Debug option to print view matching decision (e.g. debug_viewlookup or so).
94a5271 @mcdonc gardening, add twophase todo
mcdonc authored Nov 20, 2010
73
f765a6d @mcdonc reprioritize
mcdonc authored Nov 19, 2010
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 Sep 2, 2011
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 Jul 28, 2010
88
89 - Create a function which performs a recursive request.
90
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
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 Sep 2, 2011
97
98 - Provide a ``has_view`` function.
99
485ef69 @mcdonc gardening
mcdonc authored Nov 17, 2010
100 - Update App engine chapter with less creaky directions.
5efc45b @mcdonc add notes about shedding threadlocals
mcdonc authored Nov 11, 2010
101
cccc918 @mcdonc garden
mcdonc authored Aug 20, 2011
102 Future
103 ------
104
f1f6e87 @mcdonc garden
mcdonc authored Dec 5, 2011
105 - 1.4: Kill off ``bfg.routes`` envvars in router.
cccc918 @mcdonc garden
mcdonc authored Aug 21, 2011
106
33516a0 @mcdonc - Undeprecated ``pyramid.traversal.find_model``,
mcdonc authored Aug 31, 2011
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 Aug 21, 2011
117
2a96825 @mcdonc garden
mcdonc authored Sep 5, 2011
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
63c969d @mcdonc garden
mcdonc authored Feb 19, 2012
124 - 1.6: Remove IContextURL and TraversalContextURL.
125
d8d14a4 @mcdonc garden
mcdonc authored Jul 28, 2011
126 Probably Bad Ideas
127 ------------------
128
485ef69 @mcdonc gardening
mcdonc authored Nov 18, 2010
129 - Add functionality that mocks the behavior of ``repoze.browserid``.
76d7eb6 @mcdonc - Internal: ZCML directives no longer call get_current_registry() if …
mcdonc authored Nov 12, 2010
130
5f3fc07 @mcdonc garden
mcdonc authored Jan 12, 2011
131 - Consider implementing the API outlined in
132 http://plope.com/pyramid_auth_design_api_postmortem, phasing out the
133 current auth-n-auth abstractions in a backwards compatible way.
134
d8d14a4 @mcdonc garden
mcdonc authored Jul 28, 2011
135 - Maybe add ``add_renderer_globals`` method to Configurator.
136
95eab98 @mcdonc organize better
mcdonc authored Sep 2, 2011
137 - Supply ``X-Vhm-Host`` support (probably better to do what paste#prefix
138 middleware does).
139
c5724cb @mcdonc garden
mcdonc authored Oct 11, 2011
140 - Have ``remember`` and ``forget`` actually set headers on the response using
141 a response callback (and return the empty list)?
Something went wrong with that request. Please try again.