Armin Ronacher
f2f806285d
Merge pull request #232 from sharoonthomas/master
...
Fixes Issue #227 where pop causes the session to be modified.
2011-05-24 07:41:27 -07:00
Armin Ronacher
7242abcfb2
Extend the logging from the dynamically set logger class. This fixes #234
2011-05-24 16:34:41 +02:00
Armin Ronacher
9c00f8b787
Merge branch 'master' of github.com:mitsuhiko/flask
2011-05-24 16:31:46 +02:00
Steve Romanow
41952d2b25
respect request charset
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-05-24 16:24:24 +02:00
Ron DuPlain
ea77d5e12d
Touch up docs according to user feedback.
2011-05-19 09:14:53 -04:00
Sharoon Thomas
57920a5808
Prevent pop if flashes not in session to avoid modification to session fixes #227
2011-05-17 11:41:12 -04:00
Ron DuPlain
15c937b316
Remove ctx.bind() from doc. It doesn't exist.
2011-05-01 16:36:51 -04:00
Armin Ronacher
017117778e
Document that None skips in query strings. This fixes #224
2011-04-25 16:02:35 +02:00
Armin Ronacher
e774e3a69e
Switch params and example
2011-04-18 23:20:24 +02:00
Armin Ronacher
d8fcd4260e
Whitespace normalization
2011-04-18 23:19:59 +02:00
Simon Sapin
7ed3196e8d
Add safe_join: returns the filename used by send_from_directory.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-04-18 16:48:12 +02:00
Rémy Roy
709ecefee1
Updating documentation for app.after_request decorator.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-04-18 16:39:33 +02:00
Armin Ronacher
0ecc686372
Fixed a typo
2011-04-17 19:03:06 +02:00
Armin Ronacher
4c8c503326
break line
2011-03-18 09:00:24 +01:00
Aaron Kavlie
67581795c4
Improved botched docstring wording for silent failure.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-15 12:19:05 -04:00
Armin Ronacher
fbd488678f
Implemented flask.has_request_context()
2011-03-14 16:13:58 -04:00
Matt Chisholm
04e70bd5c7
Add teardown_request decorator. Fixes issue #174
2011-03-14 14:28:15 -04:00
Armin Ronacher
235369fd61
Removed unnecessary import
2011-03-14 14:21:44 -04:00
Armin Ronacher
34a494713c
Documented some changes in config handling.
2011-03-14 14:21:28 -04:00
Aaron Kavlie
fa9817778c
Test passes.
...
Added test for silent flag; added import of errno so it passed.
2011-03-14 10:41:22 -04:00
Aaron Kavlie
5cc40f4728
silent option added to 'from_pyfile' to mirror 'from_envvar'.
2011-03-14 10:36:33 -04:00
mvantellingen
b3fc9eb36b
Open the session after the request context is pushed on the stack instead of in the constructor. This allows you to access the request context in a custom open_session method.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-13 21:24:26 -04:00
Armin Ronacher
00c5b7a937
added create_jinja_loader
2011-02-21 21:56:37 +01:00
Sean Reifschneider
1643e5c391
Fixing a word usage issue in docs.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-02-17 22:37:23 +01:00
Armin Ronacher
0bf777ed81
Do not use Date, use Last-Modified. This fixes #164
2011-02-05 17:41:02 +01:00
mvantellingen
b0ca7e5af1
Implement the endpoint decorator. This allows you to easily map views to endpoints when using the werkzeug routing.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-24 13:49:11 +01:00
Dag Odenhall
4a45345fc4
Fix typo in send_file docs
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-20 16:45:49 +01:00
Armin Ronacher
99be2ec022
Flask no longer internally depends on rules being added through the add_url_rule function
2011-01-16 17:13:25 +01:00
Ivo Danihelka
07688d7b93
Fixed 'schemal' doc typo.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-16 14:29:56 +01:00
Daniel Gerber
9ae4eba986
fix subdomain for static rule on registering module
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-08 00:51:16 +01:00
Armin Ronacher
ed70b42798
Make sure that windows servers do not allow downloading arbitrary files
2010-12-23 14:15:18 +01:00
Armin Ronacher
fb88d9d025
Whitespace nazi was here
2010-12-07 22:08:46 +01:00
Armin Ronacher
4b65c7ed5a
Added the ability to override the test client's class. This fixes #148
2010-12-06 03:16:13 +01:00
Armin Ronacher
8569dfee61
Added a PROPAGATE_EXCEPTIONS flag
2010-11-29 08:57:38 +01:00
Georg Brandl
858806da69
Hint for positioning file pointer correctly before calling send_file().
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-11-08 18:29:09 +01:00
Dag Odenhall
d4c44a7d8c
BaseConverter is in werkzeug.routing
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-25 17:49:37 +02:00
Pedro Algarvio
a327452540
Better handling for test_request_context don't just append the port.
...
Also implemented a proper initial environment to use with
`Flask.test_app()` based on the application's configuration.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-22 18:19:21 +03:00
Pedro Algarvio
88883aa6db
Fix for Flask's ticket 126. A proper environment is now built to use
...
with `test_request_context()`.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-22 15:36:47 +03:00
Jeff Weber
405c2992f8
Updated from_pyfile so its dynamic module creation uses the imp module instead of type.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-19 09:09:58 +02:00
Armin Ronacher
1e4e578d73
Added the extensions dictionary on the application
2010-09-12 13:18:08 -07:00
Armin Ronacher
eb67242e1c
Fixed a typo in a docstring in app.py
2010-09-10 11:01:58 -07:00
Heungsub Lee
6fca662c84
Fix the 108th issue.
2010-08-20 17:09:19 +08:00
Armin Ronacher
a3a843999b
normpath is now used before loading templates
2010-08-09 15:16:02 +02:00
Armin Ronacher
fda14678c0
Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104
2010-08-07 13:36:39 +02:00
Armin Ronacher
faa1c71e45
Request local objects now fail properly with a RuntimeError. This fixes #105
2010-08-07 13:02:53 +02:00
jgraeme
549af62290
Fix some typos in the docstrings
2010-08-03 18:07:41 +08:00
Armin Ronacher
138faab121
Merge branch 'master' of github.com:mitsuhiko/flask
2010-07-30 00:03:25 +02:00
Armin Ronacher
778e44e39e
Improved error message for configuration files
2010-07-30 00:03:06 +02:00
Stephane Wirtel
801918603c
Remove an unused function
2010-07-30 05:55:10 +08:00
Armin Ronacher
952967fcab
In 0.7, make_default_options_response is a public API
2010-07-28 01:39:25 +02:00