Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 513 lines (497 sloc) 29.082 kB
722eaa1 [svn] Added Thomas's patch to the 0.9 trunk as well as a CHANGELOG.
bbangert authored
1 Pylons Changelog
2 =================
3
4255880 [svn] o changelog r2286
pjenvey authored
4 0.9.6rc2 (**svn**)
5 * Projects now include a MANIFEST.in file: it directs distutils to recursively
6 include all files in the project's public/ and templates/ dir. This fixes
7 these dirs not being included in dists unless they were checked into an RCS
8 recognized by setuptools. This is at the expense of dists now globbing all
9 files in those dirs (even those not checked into your RCS).
10 * Fixed the validate decorator not setting c.form_errors in certain
11 circumstances. Thanks max. Fixes #286.
745495b [svn] Updated CHANGELOG and README
thejimmyg authored
12 * email_to lines commented out in development.ini and test.ini files to avoid
13 emails being sent to a non-existent address by mistake. If an error occurs it
14 is logged but no email is sent unless email_to is specified.
15 * [paste.app_factory] entry points changed to point to the actual make_app()
16 function to make it simpler for someone to work out how Pylons works (tests
4255880 [svn] o changelog r2286
pjenvey authored
17 updated accordingly too).
745495b [svn] Updated CHANGELOG and README
thejimmyg authored
18 * All use of the ez_setup module is now tested by an ImportError to make Pylons
19 compatible with Buildout. Note: Tags and releases should be made using an svn
20 export and an svn add to ensure a real copy of the ez_setup module is
21 included and not just an svn:external so that the module is tied to time of
22 the release.
23 * More full-featured README.txt included.
cd3f954 [svn] * Updated beaker_cache to cache global response cookies/status/…
bbangert authored
24 * Updated beaker_cache to cache global response cookies/status/headers.
25 Fixes #280.
6b94a11 [svn] * Fixed missing abort name import in restrict rest decorator. F…
bbangert authored
26 * Fixed missing abort name import in restrict rest decorator. Fixes #281.
ba25c53 [svn] * Added cheetah as a supported template language for template_e…
bbangert authored
27 * Added cheetah as a supported template language for template_engine option.
4255880 [svn] o changelog r2286
pjenvey authored
28 * Fixed public/ and templates/ directories not being created with paster
29 create.
30
31 0.9.6rc1 (July 15, 2007)
9374283 [svn] * Fixed cookie header addition to use add instead of append. Th…
bbangert authored
32 * Fixed cookie header addition to use add instead of append. Thanks to
33 anonymous patcher. Fixes #268, again.
34 * Added ability to pass _code option to specify the status code type for
35 redirect_to.
36 * Fixed redirect_to to not copy all headers into redirect for old _response
37 usage. Fixes #268.
745495b [svn] Updated CHANGELOG and README
thejimmyg authored
38 * WARNING: By default, the Pylons request object now returns unicode
d050d47 [svn] o provide backwards compat. for pylons.config.request/response_…
pjenvey authored
39 parameter (pylons.GET/POST/params) values (and assumes those parameters
40 were sent to Pylons as utf-8). Unicode parameters can cause major
41 problems if your application is not setup to handle unicode. To disable
42 unicode parameters (0.9.5 default behavior), add the following to your
43 load_environment function (0.9.6 syntax):
44
84cccd9 [svn] environment.py uses the config shorthand
pjenvey authored
45 config['request_options']['charset'] = None
d050d47 [svn] o provide backwards compat. for pylons.config.request/response_…
pjenvey authored
46
47 or, if still using the deprecated pre-0.9.6 pylons.config syntax, add:
48
49 request_settings = pylons.config.request_defaults.copy()
50 request_settings['charset'] = None
51 return pylons.config.Config(tmpl_options, map, paths,
52 request_settings=request_settings)
53
54 * WARNING: Template names beginning with a / (or the OS's path separator)
55 will now result in the name not having the separator's replaced with '.'s
56 for the template engine. This shouldn't affect most projects as they usually
57 assume a dot notation will be used with dot notation template engines (Kid,
58 Genshi, etc.). This change allows template engines that can take filename
59 paths to function properly. Fixes #233.
60 * WARNING: The pylons.util.get_prefix(environ) function is deprecated. Please
61 use:
62 environ.get('SCRIPT_NAME', '')
63 instead (the get_prefix function is used in the default ErrorController).
64 Fixes #243.
5f1a0d4 [svn] changelog r2129
pjenvey authored
65 * WARNING: The paths dictionary's 'root_path' has moved to the less
66 redundant 'root'.
2084a00 [svn] comment out missing background images
pjenvey authored
67 * Fixed the Error Documents/EvalException css referencing non-existent images.
68 Thanks Shannon -jj Behrens. Fixes #238.
69 * Added ability to pass _code option to specify the status code type for
70 redirect_to.
71 * Fixed redirect_to to not copy all headers into redirect for old _response
72 usage. Fixes #268.
d050d47 [svn] o provide backwards compat. for pylons.config.request/response_…
pjenvey authored
73 * Added logging statements throughout Pylons code, added logging setup to
74 default template. Fixes #98.
7e39eb1 [svn] * Refactored global response to be setup in wsgiapp along with …
bbangert authored
75 * Refactored global response to be setup in wsgiapp along with the other
76 globals. Updated WSGIController to copy in global response headers and
77 cookies into a WSGI app's output.
62dc7fd [svn] there's no need for a controller's self.response in __after__ -…
pjenvey authored
78 * Added global pylons.response object. Thanks Shannon -jj Behrens and Damjan
79 Georgievski. Fixes #268 and #201.
d7e4575 [svn] * Updated default project template files for new configuration …
bbangert authored
80 * Updated default project template files for new configuration layout. Options
81 to handle config now just in environment.py, and middleware.py handling just
ad2d9f0 [svn] Updating changelog for fix reference.
bbangert authored
82 middleware. Fixes #203.
d7e4575 [svn] * Updated default project template files for new configuration …
bbangert authored
83 * Removing mako tests, as its now the default. Default test changed from
84 Myghty to Mako.
85 * Changing default templating to mako.
7e6c7a6 [svn] o cleanup authenticate_form and the decorators.secure module
pjenvey authored
86 * Added the https decorator. It requires an action to be loaded via
87 https. Patch by ido. Fixes #241.
a1d0a79 [svn] * Added upgrade instructions, and posted a copy on the wiki. Fi…
bbangert authored
88 * Added upgrade instructions, and posted a copy on the wiki. Fixes #230.
d56208e [svn] * Added deprecation warnings for usage of the Pylons Controller…
bbangert authored
89 * Added deprecation warnings for usage of the Pylons Controller class, all
90 controllers should inherit from WSGIController instead. Fixes #239.
91 * Removed deprecated attach_locals function from Controller class.
5ce9386 [svn] Added an authenticate_form decorator for use with WebHelpers' s…
pjenvey authored
92 * Added an authenticate_form decorator for use with WebHelpers'
93 secure_form_tag functions for preventing CSRF attacks. Original patch
94 by David Turner. Fixes #157.
a86c1ca [svn] changelog 2035
pjenvey authored
95 * Fix Buffet's include_pylons_variables not being upheld. Thanks Jonathan
96 LaCour.
8c8ccd2 [svn] validate now accepts extra keyword arguments (**htmlfill_kwargs…
pjenvey authored
97 * The validate decorator now accepts extra keyword arguments (**htmlfill_kwargs)
98 to pass along to formencode's htmlfill.render function.
842e275 [svn] * Removed POST-only restriction on validate decorator, now hand…
bbangert authored
99 * Removed POST-only restriction on validate decorator, now handles GET
100 requests. No form arg required during a GET request, which will run the
ff5666a [svn] @validate only sets up c.form_errors now
pjenvey authored
101 current action with c.form_errors set to the errors. Fixes #246.
f128cbc [svn] * Added PylonsConfig, which gets accessed as pylons.config dict…
bbangert authored
102 * Added PylonsConfig, which gets accessed as pylons.config dict. Contains
103 all the merged ini options, in addition to the Config options such as
7269a20 [svn] o config's pylons.map -> routes.map
pjenvey authored
104 'routes.map', 'pylons.paths', 'buffet.template_options', etc. Check the
f128cbc [svn] * Added PylonsConfig, which gets accessed as pylons.config dict…
bbangert authored
105 pylons.config docs on PylonsConfig for dict keys populated by it.
106 * Split up resolution stages in wsgiapp, so that controller lookup is a
107 separate function making it easier to subclass. PylonsApp now takes a
108 base_wsgi_app argument which is then used for the BaseWSGIApp instead of the
109 one from wsgiapp.py.
110 * Added mako template render tests.
75a95fd [svn] * Added storage of the action func used to handle a call, for l…
bbangert authored
111 * Added storage of the action func used to handle a call, for later code that
112 might need a reference to the action that originally handled the request.
113 Fixes #253.
9352eac [svn] * Updated config object to optionally take a single merged conf…
bbangert authored
114 * Updated config object to optionally take a single merged conf dict, updated
115 project templates to pass around the single merged conf dict.
116 * Changed project template to use new Beaker session keys.
fc9b9a8 [svn] * Changed default routing for raw template matching to not unic…
bbangert authored
117 * Changed default routing for raw template matching to not unicode decode the
118 route argument. Fixes #242.
c1ec93a [svn] catch any exceptions raised by template engine entry points and…
pjenvey authored
119 * Catch any exceptions raised by template engine entry points and emit a
120 warning instead of crashing. Thanks markbradley. Fixes #249
848092c [svn] validate decorator fixes:
pjenvey authored
121 * Fixed the validate decorator not working with formencode's
122 CompoundValidators when variable_decode=False. Fixes #209.
123 * Fixed the validate decorator failing with a KeyError when no value is
124 specified to validate against for separate validators (as opposed to a
125 schema). Reported by Graham Stratton.
743a858 [svn] fixed paster shell not merging app_conf and global_conf into th…
pjenvey authored
126 * Fixed paster shell not merging app_conf and global_conf into the main CONFIG
127 dict namespace. Original patch by David Smith. Fixes #244.
35b2a40 [svn] * Added logging to decorators. Refs #98.
bbangert authored
128 * Added logging to decorators. Refs #98.
e3dd0a1 [svn] Use the correct import for minimal template projects in paster …
pjenvey authored
129 * Fixed paster restcontroller to test for lib.base and only add that import
130 statement when its present. This fixes the restcontroller template when used
131 with minimal Pylons project templates. Fixes #237.
5f756d3 [svn] hardcode the Pylons specific EvalException media at /_debug/med…
pjenvey authored
132 * Fixed the EvalException debugger showing broken links and buttons when the
133 app's ErrorController was broken (such as when BaseController's __before__
134 raises an exception). Suggested by Ian Bicking. Fixes #228.
dfb2a19 [svn] o support passing a 'template_engine' keyword arg to paster cre…
pjenvey authored
135 * paster create now accepts a 'template_engine' option to setup the new
136 project's default template engine. E.g. to create a new project that
137 uses Genshi by default, use:
138 paster create --template=pylons mygenshiproj template_engine=genshi
139 Suggested by Ian Bicking. Fixes #141.
97e53ea [svn] o fixed the validate decorator triggering the following error with
pjenvey authored
140 * Fixed the validate decorator triggering the following error with
141 FormEncode>=0.7 and non-ascii rendered form content:
142 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10:
143 ordinal not in range(128) the form was passed in as an encoded string, but
144 some data or error messages were unicode strings; the form should be passed
145 in as a unicode string
146 Reported by Christoph Haas.
622acb3 [svn] o make the response object available for __after__ via self.res…
pjenvey authored
147 * HTTPExceptions are now converted to Response objects (for __after__),
148 making the httpexceptions middleware no longer required.
6d91f02 [svn] * Added Warning to jsonify to warn about cross-site attacks whe…
bbangert authored
149 * Added Warning to jsonify to warn about cross-site attacks when returning
150 a list as the outer-most element to jsonify. Fixes #232.
31c5295 [svn] * Fixed beaker_cache decorator to take optional keyword argumen…
bbangert authored
151 * Fixed beaker_cache decorator to take optional keyword arguments intended
152 for the backend cache container (such as url for memcached).
8eccecb [svn] assume lib.base exists (not a minimal template) when any except…
pjenvey authored
153 * Fixed paster controller assuming the minimal template was in use when
154 the lib.base module existed but raised an exception.
23cc16c [svn] * Fixed bug in XMLRPC Controller not setting proper Content-Typ…
bbangert authored
155 * Fixed bug in XMLRPC Controller not setting proper Content-Type. Fixes #236.
81901ea [svn] add the -d option to paster shell for disabling IPython
pjenvey authored
156 * Added the '-d' ('--disable-ipython') option to paster shell for
157 disabling IPython.
e77a6c6 [svn] allow creation of controllers named 'setup' via paster controller
pjenvey authored
158 * Allow creation of controllers named 'setup' via paster controller.
159 Reported by Matt Good.
de1f95e [svn] Update changelog regarding pylons.database in r2149
dds authored
160 * Added support for generic arguments to SQLAlchemy's create_engine of
161 the form sqlalchemy.* from the PasteDeploy config file.
b1a97de [svn] including the paster shell fix as part of 0.9.5
pjenvey authored
162
163 0.9.5 (Apr 11th, 2007)
8f2d28b [svn] fixed Python 2.3 compatibility in paster shell: dict.update onl…
pjenvey authored
164 * Fixed a Python 2.3 incompatibility with paster shell, causing the
165 Exception:
166 File "Pylons-0.9.5-py2.3.egg/pylons/commands.py", line 357, in command
167 locs.update([(name, getattr(base, name)) for name in base_public])
168 AttributeError: keys
b4e70d2 [svn] don't assume the first package listed in top_level.txt is the b…
pjenvey authored
169 * Fixed paster shell breaking for projects where the base package was not
170 the first package listed in top_level.txt. Patch from Alberto Valverde.
171 Fixes #229.
d2f7ed8 [svn] * Fixed doc references to config['app_conf']. Fixes #116.
bbangert authored
172 * Fixed doc references to config['app_conf']. Fixes #116.
83aa7a7 [svn] * Changed `get_engine_conf` to properly evaluate sqlalchemy ech…
bbangert authored
173 * Changed `get_engine_conf` to properly evaluate sqlalchemy echo statement
174 when its 'debug'. Fixes #226.
188cce6 [svn] o allow passing extra keyword args to sqlalchemy.create_engine …
pjenvey authored
175 * make_session and create_engine now accept keyword arguments to pass to
176 SQLAlchemy's create_engine.
177 * make_session now accepts the keyword argument 'session_kwargs' to pass
178 to SQLAlchemy's create_session.
fead55f [svn] * Fixed _inspect_call to call function with keyword arguments i…
bbangert authored
179 * Fixed _inspect_call to call function with keyword arguments instead of list
180 args. Corrects issue with action defaults that caused the value for the
181 latter args to be in the wrong spots. Spotted by Topher. Fixes #223.
654fa4c [svn] added the allow_none option (passed to xmlrpc.dumps) to XMLRPCC…
pjenvey authored
182 * Added the allow_none option (passed to xmlrpc.dumps) to XMLRPCController.
183 Suggested by Jaroslaw Zabiello.
0dae8e7 [svn] * Updated XMLRPC Controller with patch for name lookup and addi…
bbangert authored
184 * Updated XMLRPC Controller with patch for name lookup and additional unit
185 tests for the patch. Fixes #216.
874c420 [svn] * Updated docs for validate decorator to more clearly illustrat…
bbangert authored
186 * Updated docs for validate decorator to more clearly illustrate what the
187 post_only args apply to. Fixes #221.
628d012 [svn] Fixing prior commit message, r1910 actually fixes #218.
bbangert authored
188 * Added ability to return strings in the WSGIController. Fixes #218.
67dbe72 [svn] * Added lazy i18n translation functions. Patch from David Smith…
bbangert authored
189 * Added lazy i18n translation functions. Patch from David Smith. Fixes #181.
cffbd33 [svn] * Added fix for XMLRPCController system.methodHelp function and…
bbangert authored
190 * Added fix for XMLRPCController system.methodHelp function and unit test.
191 Patch and unit test submitted by Graham Higgins.
c474d0c [svn] * Fixed bug in validate decorator with new UnicodeMultiDict res…
bbangert authored
192 * Fixed bug in validate decorator with new UnicodeMultiDict response content
193 not properly retaining form content as unicode for formencode's htmlfill.
d84ea6c [svn] * Fixed bug in XMLRPC Controller with xmlrpclib Faults not bein…
bbangert authored
194 * Fixed bug in XMLRPC Controller with xmlrpclib Faults not being properly
195 transformed into a WSGI response within the controller.
f6d2d33 [svn] changelog r1872
pjenvey authored
196 * WARNING: Pylons now requires the decorator module: it no longer packages
197 it as pylons.decorator. Code relying on the pylons.decorator.decorator
198 function will trigger a deprecation warning and should be changed to use
199 decorator.decorator.
674c859 [svn] o pylons.h was deprecated in 0.9.3: more formally deprecate it …
pjenvey authored
200 * WARNING: pylons.h was deprecated for using projects' lib.helpers module
201 directly in 0.9.3. pylons.h is now formally deprecated (emits
202 DeprecationWarnings). Projects still accessing pylons.h must change the
203 following import:
204 from pylons import h
205 to:
206 import MYPROJ.lib.helpers as h
207 * pylons.jsonify and pylons.Controller references have been deprecated
208 (they are misplaced references). They continue to be available at
209 pylons.decorators.jsonify and pylons.controllers.Controller, as they always
210 have been.
39a7315 [svn] * Updated templating Buffet to recognize format parameter and p…
bbangert authored
211 * Updated templating Buffet to recognize format parameter and properly pass it
212 to the template engine.
b260034 [svn] * Updated LICENSE for new year and to indicate license covering…
bbangert authored
213 * Updated LICENSE for new year and to indicate license covering templates
214 generated. Fixes #188.
bc94fa5 [svn] Added instructions for changing a custom to use new variable na…
thejimmyg authored
215 * Interactive debugger now supports Mako. After r1780 if you are using a
216 custom theme you will need to change '%(myghty_data)s' to
217 '%(template_data)s' in your template. If you are using JavaScript the tab
218 id is now "template_data".
a9f0cc9 [svn] * Fixed bug in WSGIController with private function attempts no…
bbangert authored
219 * Fixed bug in WSGIController with private function attempts not returning a
220 valid WSGI response.
221 * Added full unit test coverage of cache decorator.
bc98d6a [svn] * Adding messages binary file, enabling i18n unit tests. Updati…
bbangert authored
222 * Adding messages binary file, enabling i18n unit tests. Updating pylons.i18n
223 to import LanguageError. Fixes #193.
73b6261 [svn] * Adding i18n tests, not active yet as they're waiting on a bin…
bbangert authored
224 * Adding i18n tests, not active yet as they're waiting on a binary file from a
225 patch. Refs #193.
bdbc4c0 [svn] * Updated tests so that they now work with nose, removing py.te…
bbangert authored
226 * Updated tests so that they now work with nose, removing py.test requirement.
7009d39 [svn] * Switching config setup to load keys into main config dict wit…
bbangert authored
227 * Switching config setup to load keys into main config dict with app_conf and
228 global_conf keys set for any code looking for those keys. Fixes #116.
2480337 [svn] added PylonsInstaller for new project's paste.app_install entry…
pjenvey authored
229 * PylonsInstaller is now the default paste.app_install entry point for new
230 projects: this makes Cheetah no longer required for the paster make-config
231 command. (Thanks Alexander Schremmer, Ian Bicking)
755b276 [svn] * Added custom redirect_to function in pylons.helpers that will…
bbangert authored
232 * Added custom redirect_to function in pylons.helpers that will take an
233 optional _response arg to pull headers and cookies out for preservation
234 during a redirect. Fixes #136.
f331db1 [svn] * Changed config.Config.__init__ to take all options as keyword…
bbangert authored
235 * Changed config.Config.__init__ to take all options as keyword args so
236 unused args can be skipped. Fixes #162.
f9dd2f6 [svn] changelog for r1758
pjenvey authored
237 * The request object can now automatically decode GET/POST/params vars to
238 unicode, when its charset attribute is set.
239 * Added a new request_settings keyword arg to Config's constructor. Allows
240 setting the default charset and errors values of of the request object.
241 * Deprecated Config constructor's default_charset keyword arg. Use Config's
242 response_settings keyword arg instead.
55d2b38 [svn] * Fixed paster controller to test for lib.base and only add tha…
bbangert authored
243 * Fixed paster controller to test for lib.base and only add that import
244 statement when its present. This fixes the controller template when used with
245 minimal Pylons project templates. Fixes #140 and fixes #139.
92f1890 [svn] fixed the paster shell error: KeyError: 'pylons.routes_dict' wh…
pjenvey authored
246 * Fixed the paster shell error: KeyError: 'pylons.routes_dict' when calling
247 app.get and app.post.
e04d3c2 [svn] fixed paster shell not working on projects with names containin…
pjenvey authored
248 * Fixed paster shell not working on projects with names containing hyphens.
b904659 [svn] fixed the config directive 'sqlalchemy.echo' set to False being…
pjenvey authored
249 * Fixed the config directive 'sqlalchemy.echo' set to False being interpreted
250 as True. Patch by Alex Conrad.
2ddf5f1 [svn] fixed paster shell not restoring CONFIG['global_conf']
pjenvey authored
251 * Fixed paster shell not restoring CONFIG['global_conf'].
b904659 [svn] fixed the config directive 'sqlalchemy.echo' set to False being…
pjenvey authored
252
fe10131 [svn] Auto-update of version strings
bbangert authored
253 0.9.4.1 (Jan. 5th, 2007)
a28d75c [svn] * Added restcontroller command that generates a RESTful control…
bbangert authored
254 * Added restcontroller command that generates a RESTful controller template
255 and provides the appropriate map.resource command to add. Suggested by
256 Matthew Scott.
65efd92 [svn] o fixed the SQLObject PackageHub breaking with:
pjenvey authored
257 * Fixed SQLObject pylons.database.PackageHub error:
258 exceptions.NameError: global name 'CONFIG' is not defined
259 * Fixed pylons.database.session_context not working outside of requests
260 (such as in websetup.py).
6bd88a1 [svn] * Updated template options config to take template options for …
bbangert authored
261 * Updated template options config to take template options for multiple
262 engines for less binding to Myghty.
bea95f8 [svn] fixed paster shell incorrectly importing the the tuple (model,)…
pjenvey authored
263 * Fixed paster shell incorrectly importing the the tuple (model,) as the
264 model object.
265
b0c70c8 [svn] Adding release date to changelog for 0.9.4.
bbangert authored
266 0.9.4 (Dec. 29th, 2006)
3c74a3b [svn] warning on lang_extract/_compile removal
pjenvey authored
267 * WARNING: Removed the lang_extract and lang_compile commands. They used
268 pygettext.py and its associated msgfmt.py, which lacked the ability to
269 extract ngettext style function calls and had issues with unicode strings.
270 The new I18NToolBox project aims to provide this functionality (and more)
271 via the gettext command line utilities. http://i18ntoolbox.ufsoft.org
42c86e0 [svn] changelog for r1629
pjenvey authored
272 * All Pylons special objects are now available within paster shell (not just
273 h and g).
da5ab6e [svn] warning about myghty's allow_globals changing, requiring deleti…
pjenvey authored
274 * WARNING: Myghty's allow_globals config var has changed, causing the
275 following when running pre-compiled templates:
276 Error(TypeError): do_run_component() takes exactly 13 non-keyword
277 arguments (5 given)
278 Delete the compiled Myghty templates directory (specified by cache_dir or
279 myghty_data_dir in the config file) to resolve the error.
069acf1 [svn] * Changed i18n functions in templates to use proxy objects so t…
bbangert authored
280 * Changed i18n functions in templates to use proxy objects so that using
281 set_lang in a template works right. Fixes #153.
319fe11 [svn] now allowing any template plugin to overwrite global PYLONS_VAR…
pjenvey authored
282 * Now allowing any template plugin to overwrite global PYLONS_VARS (such as c,
283 g), not just pylonsmyghty.
2bb1ec2 [svn] * Adding SQLAlchemy support to the database.py file. Saves the …
bbangert authored
284 * Adding SQLAlchemy support to the database.py file. Saves the session engine
285 to g to maintain it during the apps lifetime. Uses SessionContext plugin for
286 management of the current session.
b98d29c [svn] * Updated config object so that init_app can take an optional t…
bbangert authored
287 * Updated config object so that init_app can take an optional template engine
288 argument to declare the default template engine.
e57a528 [svn] * Updated Myghty plugin to use extra_vars_func when passed in.
bbangert authored
289 * Updated Myghty plugin to use extra_vars_func when passed in.
290 * Fixed Buffet to use extra_vars_func properly.
ac2e8b8 [svn] when validate fails with variable_decode=True, pass the origina…
pjenvey authored
291 * Fixed the validate decorator when there are validation errors and
292 variable_decode=True: now passing the original params to htmlfill.render
293 instead of the varable_decode'd version. Patch by FlimFlamMan.
9ca6924 [svn] added N_ (gettext_noop). importing it into the template global …
pjenvey authored
294 * Added ungettext function for use with pluralized i18n, and the N_ function
295 (gettext_noop) to mark global strings for translation. Added ungettext, N_
296 and translator objects to be globals for templates. Refs #126.
2e8d133 [svn] o added helpers.gettext and _ now references ugettext
pjenvey authored
297 * WARNING: The localization function '_' now uses ugettext (returns unicode
298 strings) instead of gettext. To preserve the old behavior, append the
299 following line to your project's lib.base and lib.helpers imports:
300 from pylons.helpers import gettext as _
6ee2a9e [svn] enabling StackedObjectProxies (Pylons special objects) to be av…
pjenvey authored
301 * Pylons special objects are now available within the interactive debugger
302 (deprecating _attach_locals).
421ad69 [svn] Added setup-app run before unit tests run so that webapp has pr…
bbangert authored
303 * Added setup-app run before unit tests run so that webapp has proper setup
304 tasks handled. Fixes #113.
c725ce4 [svn] Added paste.deploy.CONFIG setup to middleware.py, websetup.py a…
bbangert authored
305 * Added paste.deploy.CONFIG setup to middleware.py, websetup.py and testing
306 files in the Pylons project templates. Closes #112.
dabc338 [svn] Added security policy doc to index for use as Pylons security p…
bbangert authored
307 * Added security policy doc to index for use as Pylons security policy.
308 Closes #91.
3efa902 [svn] Improve repr(c)
ianb authored
309 * Improved the repr() of the c context object to show attributes.
fca73c4 [svn] Set environ['testing_variables'] whenever they are present
ianb authored
310 * Set environ['paste.testing_variables'] whenever that key is available, not
311 just in testing mode.
645a262 [svn] Added capability to have an action be a generator function.
bbangert authored
312 * Added capability to have an action be a generator function.
66ecf53 [svn] * Added introspection capability to XMLRPCController and signat…
bbangert authored
313 * Added introspection capability to XMLRPCController and signature checking.
9088b1f [svn] Updated Controller to use additional arg lookup scheme so that …
bbangert authored
314 * Updated Controller to use additional arg lookup scheme so that the source of
315 the function args for _inspect_call can be easily overridden.
316 * Updated RPCController, renamed to XMLRPCController. XMLRPCController now
317 functions properly and will automatically return proper xmlrpc responses.
50a2bc3 [svn] * Added test configuration ini file to default template. Closes…
bbangert authored
318 * Added test configuration ini file to default template. Closes #114.
0064fd0 [svn] Fixed problem with getattr(SOClass, '_connection', None) failin…
ianb authored
319 * Fixed problem with pylons.database.PackageHub.__get__ raising errors
320 other than AttributeError when the database isn't configured. Added
321 new UnconfiguredConnectionError exception, instead of just KeyError
322 or TypeError (depending on what part of the configuration failed).
7ff73c8 [svn] Fixed default g init, since bare object has no init method. Rep…
bbangert authored
323 * Fixed default g init, since bare object has no init method. Reported by Ian
324 Bicking.
1bdcbf6 [svn] * Fixed issue with SQLObject method override having wrong name.…
bbangert authored
325 * Fixed issue with SQLObject method override having wrong name. Reported by
326 climbus with patch. Fixes #133.
627fa05 [svn] o moved gettext translation functions and set/get_lang into pyl…
pjenvey authored
327 * Moved log function to pylons.helpers and translation functions to
328 pylons.i18n. using pylons.util purely for Pylons internal util functions.
3b59a4f [svn] re-added 0.9 - 0.9.2 legacy support/warnings
pjenvey authored
329 * WARNING: Removed 0.8.x legacy code and backwards compatibility functions.
5ba3157 [svn] * PylonsApp now has option to not use Routes middleware, defaul…
bbangert authored
330 * PylonsApp now has option to not use Routes middleware, default resolving
331 uses new wsgi.org routing_args spec.
6aa12da [svn] Refactored routes dispatching to use new Routes middleware.
bbangert authored
332 * Refactored routes dispatching to use new Routes middleware.
a22a068 [svn] updated wording on paster shell command changes
pjenvey authored
333 * Fixed paster shell command to properly acquire mapper object without
334 relying on the template being configured in a specific manner.
c0e088e [svn] Added pool_connections argument to PackageHub, which can be use…
ianb authored
335 * Added keyword argument pool_connection to
336 pylons.database.PackageHub; if set to false then SQLObject connections
337 won't use pooled database connections (a new connection will be
338 opened for each request).
47853ea [svn] * Fixed paster shell command to properly acquire globals obj an…
bbangert authored
339
340 0.9.3 (Nov 1st, 2006)
efd10bc [svn] * Updated project template to support full_stack option to make…
bbangert authored
341 * Updated project template to support full_stack option to make it easier to
342 use Pylons apps within larger WSGI stacks.
b11e64d [svn] * Added deprecation warnings to legacy objects and for 1.0 func…
bbangert authored
343 * Added deprecation warnings to legacy objects and for 1.0 functionality that
344 will change.
078b4c0 [svn] * Added cache decorator and Cheetah template functional tests. …
bbangert authored
345 * Added cache decorator and Cheetah template functional tests. Patch and unit
346 tests provided by Climbus.
a33aa2b [svn] o changelog for r1479 (thanks Alex Conrad)
pjenvey authored
347 * Fixed readline support in the stock interactive console paster shell.
348 Reported by Alex Conrad.
6aeeec2 [svn] ensuring __after__ is called after actions raise HTTPExceptions…
pjenvey authored
349 * A controller's __after__ method will now be called after actions invoke
350 redirect_to (or raise any HTTPException). Reported by David Turner.
56f323a [svn] Updating changelog for r1472.
bbangert authored
351 * Fixed config to use myghty_data_dir instead of cache_dir setting if its
352 set as well. Reported by Shannon -jj Behrens.
6cfbb62 [svn] * Added traceback hiding so that more of the traceback relating…
bbangert authored
353 * Added traceback hiding so that more of the traceback relating to Pylons code
354 is removed from the default traceback making it easier to focus on the code
355 in an app that actually caused the problem. Closes #119.
5bfdd2e [svn] * Added ability to use '_' translation method directly from tem…
bbangert authored
356 * Added ability to use '_' translation method directly from templates and in
357 the controller without having to use it under h._.
a6a5738 [svn] * Added 's' and 'l' Myghty escaping flags to default project te…
bbangert authored
358 * Added 's' and 'l' Myghty escaping flags to default project templates.
359 Suggested by Jamie Wilkinson. Closes #110.
ee73230 [svn] * Fixed SCGI bug with QUERY_STRING test when WSGI states it doe…
bbangert authored
360 * Fixed SCGI bug with QUERY_STRING test when WSGI states it doesn't have to
361 exist. Reported by Riklaunim.
7cee6e1 [svn] * Added pylons_minimal template, prone to fine-tuning.
bbangert authored
362 * Added pylons_minimal template, prone to fine-tuning.
c58b6ae [svn] * Added option for PylonsApp to take a globals object to avoid …
bbangert authored
363 * Added option for PylonsApp to take a globals object to avoid checking a
364 hardcoded path for a Globals object.
d59df67 [svn] Moving main project template to a more descriptive naming scheme.
bbangert authored
365 * Removed old Helpers legacy object entirely, replaced pylons.h with proper
366 StackedObjectProxy. Cleaned up PylonsApp and PylonsBaseApp to accept a
367 helpers reference so that Pylons can be ignorant of where the helpers came
368 from.
f69b973 [svn] * Fixed bug with lang app_conf option being set improperly. Rep…
bbangert authored
369 * Fixed bug with lang app_conf option being set improperly. Reported
370 by Laurent.
3e12133 [svn] * Fixed pylons.h to work proper with new and old-style helper i…
bbangert authored
371 * Fixed pylons.h to work proper with new and old-style helper imports.
54f08a8 [svn] changelog for r1404 (fixed always passing disable_unicode=False)
pjenvey authored
372 * Fixed render functions always passing disable_unicode=False to Myghty.
370659d [svn] Updating trunk for 0.9.3dev.
bbangert authored
373
17b46f8 [svn] Tagging changelog for release.
bbangert authored
374 0.9.2 (Sept. 7th, 2006)
0b5e6a1 [svn] * Fixed problem with dashes in controller names, resolves #107.
bbangert authored
375 * Fixed problem with dashes in controller names, resolves #107.
0f55e61 [svn] * Updated default ini file to use localhost from address. Refs …
bbangert authored
376 * Updated default ini file to use localhost from address. Refs #104.
38e85fa [svn] * Updated default development.ini to use a single cache_dir set…
bbangert authored
377 * Updated default development.ini to use a single cache_dir setting which
378 is the base dir that cache files, session files, and template caching will
379 be saved in. Config object now looks to cache_dir setting properly for
380 Myghty templates. Fixes #104.
5486d1f [svn] * Updated default template controller to provide better example…
bbangert authored
381 * Updated default template controller to provide better example of directly
382 serving Myghty templates.
4b95ecb [svn] fixed legacy (0.8) controller methods' **ARGS (also m.request_a…
pjenvey authored
383 * Fixed legacy (0.8) controller methods' **ARGS (also m.request_args and
384 pylons.params) to be of the expected mixed dictionary instead of MultiDict.
0d925e7 [svn] fixed _attach_locals not attaching g and cache objects
pjenvey authored
385 * Fixed _attach_locals not attaching g and cache objects.
55901a0 [svn] * Added g object to the shell. Works as long as the Pylons app …
bbangert authored
386 * Added g object to the shell. Works as long as the Pylons app can respond
387 to a path of '/'. The pylons.g variable will also be setup properly for
388 use in the shell.
a6fa2ab [svn] * Myghty template options are now passed properly to the templa…
bbangert authored
389 * Myghty template options are now passed properly to the template creation, and
390 allow_globals now works to add Myghty template globals.
c36e297 [svn] * Re-organized helpers, switched Helpers class to use static me…
bbangert authored
391 * Re-organized helpers, switched Helpers class to use static methods to reduce
392 code duplication.
7ce592c [svn] * Helpers cleanup:
bbangert authored
393 * Helpers cleanup:
394 - Old-style Helper object uses StackedObjectProxy just like the new
395 scheme, thus avoiding possible WSGI stack issues.
396 - New project templates use new-style Helpers scheme.
397 - Updated wsgiapp to utilize new Helpers cleanup style. The 'h' object
398 is now friendlier to use, and maps directly to a projects lib.helpers
399 file. No more wacky Helpers object proxying to it.
400 - Added translator global to __init__.py for use with new Helpers cleanup.
401 - Copied Helpers function methods directly into util so they can be used
402 stand-alone.
370437d [svn] deprecating h.lang for the new helpers setup does not support it
pjenvey authored
403 - Deprecated h.lang (for h.set_lang/h.get_lang)
d2fc09f [svn] o moved the 'default_charset' option from PylonsApp's constructor
pjenvey authored
404 * Moved the 'default_charset' option from PylonsApp's constructor to
405 Config's.
3140209 [svn] * Added 'error' controller route to the top of the Pylons templ…
bbangert authored
406 * Added 'error' controller route to the top of the Pylons template to avoid
407 the common issue people discover when removing the generic default route.
37413f2 [svn] * Changing validate decorator to have variable_decode option, w…
bbangert authored
408 * Changing validate decorator to have variable_decode option, which will
409 also run formencode's variable_decode function over the form input.
d64b6dd [svn] * Switched to using Context obj classes instead of RequestLocal…
bbangert authored
410 * Switched to using Context obj classes instead of RequestLocal which is
411 being phased out.
f117754 [svn] changelog for r1272
pjenvey authored
412 * Added an 'encode_variables' option to the validate decorator.
65efeca [svn] * Switched all current_obj calls to _current_obj to avoid trigg…
bbangert authored
413 * Switched all current_obj calls to _current_obj to avoid triggering
414 deprecation warnings.
d2fc09f [svn] o moved the 'default_charset' option from PylonsApp's constructor
pjenvey authored
415 * Added is_xhr to Request object in Paste.
65efeca [svn] * Switched all current_obj calls to _current_obj to avoid trigg…
bbangert authored
416 * Bumping up dependency to latest Paste.
7aa5e3e [svn] * Switching back to prior controller import check, throwing a m…
bbangert authored
417 * Switching back to prior controller import check, throwing a more detailed
418 error with a suggest fix should the user really want a URL with that name
419 in it. (refs #67)
2e6f25e [svn] * Fixes bug with prior fix for #67. Wasn't properly testing the…
bbangert authored
420 * Fixes bug with prior fix for #67. Wasn't properly testing the full package
421 name to include the current project which would incorrectly restrict
422 valid controller names (refs #67).
0c53316 [svn] * Fixed '_method_' checking to test in a more efficient manner.
bbangert authored
423 * Fixed '_method_' checking to test in a more efficient manner.
40c1144 [svn] * Added deprecation warning for legacy mode activation. Not nec…
bbangert authored
424 * Added deprecation warning for legacy mode activation. Not necessary to
425 update multiple files, as all of legacy mode is enabled via the Legacy
426 WSGI app. Fixes #89.
eb16765 [svn] Fixed controller command to check controller name and refuse to…
bbangert authored
427 * Fixed controller command to check controller name and refuse to create
428 controllers that have name clashes with existing modules that could be
429 imported. Reported (with patch) by Chuck Adams. Fixes #67.
9f5a191 [svn] Added capability for 'c' object to throw an exception when an a…
bbangert authored
430 * Added capability for 'c' object to throw an exception when an attribute
431 is used that doesn't exist. Closes #84.
14c27de [svn] Changelog update for last commit.
bbangert authored
432 * Fix for endless error document call when an error document controller
433 wants to throw a error that the error_mapper catches.
434
435 0.9.1 (August 11th, 2006)
00de724 [svn] * Fixed __all__ export typo in templating.py. Added example of …
bbangert authored
436 * Fixed __all__ export typo in templating.py. Added example of render
437 with a template.
5814fb1 [svn] Fixed issue with set_lang not using proper CONFIG var.
bbangert authored
438 * Fixed issue with set_lang not using proper CONFIG var.
0c7f13c [svn] * Minor tweaks to update docs in pylons.helpers and move remain…
bbangert authored
439 * Minor tweaks to update docs in pylons.helpers and move remaining legacy
440 code into legacy module. Updated wsgiapp to refer to new locations of
441 legacy compatibility objects.
9988e72 [svn] only displaying PylonsEvalException's full traceback button whe…
pjenvey authored
442 * The interactive debugger's 'full traceback' link is now only displayed
443 when the full traceback differs from the regular (includes hidden
444 frames).
c294834 [svn] o fixed the full traceback button bottom border (the pylons ora…
pjenvey authored
445 * Providing an optional text version of exception tracebacks and the
446 associated extra data within the interactive debugger.
5974ff5 [svn] changelog entry for r1168
pjenvey authored
447 * The 'Debug at: http://hostname/_debug/view/XXXXX' URLs now display the
448 interactive debugger properly skinned.
25b5f90 [svn] * Fixed issue in PasteScript with new controller sub-directorie…
bbangert authored
449 * Fixed issue in PasteScript with new controller sub-directories lacking a
450 __init__.py file. This fixes an import error when using the controller.
451 PasteScript dependency updated to fixed version. Reported by Artur Lew.
001d10e [svn] Removed lowercasing of the module name during resolver import.
bbangert authored
452 * Removed lowercasing of the module name during resolver import.
25b5f90 [svn] * Fixed issue in PasteScript with new controller sub-directorie…
bbangert authored
453 * Removed [full] recommendation from docs.
382ddc9 [svn] Updated version for trunk to 0.9.1. Updated trunk docs.
bbangert authored
454
455 0.9 (July 28th, 2006)
a2579c1 [svn] config file option 'debug' now defaults to false when undefined
pjenvey authored
456 * config file option 'debug' now defaults to false when undefined
f9c3dbb [svn] Removed the components directory from the pylons template since…
thejimmyg authored
457 * Removed the components directory from the template
3c16e8f [svn] How about a comprimise, a default of 127.0.0.1 so that people w…
thejimmyg authored
458 * Updated paste.errordocuments support
9f7a309 [svn] Fix for multi-word controller names such that front_page /
bbangert authored
459 * Fix for multi-word controller names such that front_page /
460 FrontPageController can be used as a controller name. Patch contributed
461 by Timo Mihaljov.
b602050 [svn] * Cleaned up imports in wsgiapp and new project to better refle…
bbangert authored
462 * Cleaned up imports in wsgiapp and new project to better reflect where
463 things really come from.
464 * Removed unnecessary myghty usage from wsgiapp for url unescaping, now
465 uses urllib as the myghty function did.
e62857e [svn] * Removing 'response' to import, sticking with Response as its …
bbangert authored
466 * Removing 'response' to import, sticking with Response as its more
467 consistent with the fact that Response is a class/factory and not an
468 instance like request, and the other lower-case objects.
469 * Added redirect_to under pylons.helpers, and added import from helpers
470 directly into lib/base.py for use in controllers.
b602050 [svn] * Cleaned up imports in wsgiapp and new project to better refle…
bbangert authored
471 * Consolidated legacy objects into legacy module.
42fa496 [svn] * Adding abort method that raises the appropriate exception for…
bbangert authored
472 * Adding abort method that raises the appropriate exception for the status
473 code.
474 * Removing form_fill, obsolete by the validate decorator.
eed9e99 [svn] Relocated 'params' object to only be setup for legacy mode.
bbangert authored
475 * Relocated 'params' object to only take effect in legacy mode.
33c7b02 [svn] Updated Pylons template to use WSGIController as the new defaul…
bbangert authored
476 * Updated Pylons template to use WSGIController as the new default Controller.
9f290bd [svn] * Altered the wsgi dispatch to examine the controller, and inst…
bbangert authored
477 * Altered the wsgi dispatch to examine the controller, and instantiate it if
478 it's just a class. Otherwise, if the controller is a subclass of Controller
479 but not of WSGIController, it assumes its an older Controller class that
480 may return a WSGIResponse, and calls it appropriately.
481 * Dispatch now fixes up environ to move 'path_info' Route var into the WSGI
482 PATH_INFO, and the rest is pushed into SCRIPT_NAME. This is for use with
483 other WSGI apps under controller mount points.
484 * Added WSGIController which takes a normal WSGI interface call and returns
485 the appropriate WSGI response.
66e87c7 [svn] Added automatic copying of Route variables declared in an actio…
bbangert authored
486 * Added automatic copying of Route variables declared in an action's
487 function definition to the 'c' object.
2923cc1 [svn] added middleware that automatically intercepts requests for Web…
pjenvey authored
488 * WebHelpers' .js files are now automatically published under the
489 '/javascripts/' URL path. Individual WebHelpers' .js files can be
490 overridden by other .js files inside the project's 'public/javascripts'
491 directory
83b6806 [svn] Adding more unit tests for various aspects, for unknown reason …
bbangert authored
492 * Added exception toss when a template engine doesn't exist.
09adf9c [svn] Updating changelog for 0.9
bbangert authored
493 * Added alias option to Buffet to support aliasing more template engines
494 to other engine names
495 * Buffet enhancements to support caching of any template with any template
496 engine
497 * All render commands processed through Buffet
498 * Backwards compatibility 'm' object for use with legacy projects
cb2efcd [svn] Fixed error traceback, brought in line with latest Paste EvalEx…
bbangert authored
499 * Added use of Beaker middleware for session and caching functionality
500 * Fixed error traceback and updated template to use proper error images and
501 stylesheets.
722eaa1 [svn] Added Thomas's patch to the 0.9 trunk as well as a CHANGELOG.
bbangert authored
502
cb2efcd [svn] Fixed error traceback, brought in line with latest Paste EvalEx…
bbangert authored
503 0.8.2 (**dev**)
722eaa1 [svn] Added Thomas's patch to the 0.9 trunk as well as a CHANGELOG.
bbangert authored
504 * Fixed default controller to allow for actions with - in them. The - will be
505 replaced with an underscore, while the original action name in the mapper
506 dict is unchanged. Patch by Thomas Sidwick.
cb2efcd [svn] Fixed error traceback, brought in line with latest Paste EvalEx…
bbangert authored
507
508 0.8.1 (May 10th, 2006)
509 * Added REST decorators and re-arranged decorator layout to support more styles
510 of decorators for future expansion.
511 * Fixed dependency requirement bug that had Pylons locked to simplejson 1.1
512 even though a newer version was out.
Something went wrong with that request. Please try again.