Ron DuPlain
|
d94efc6db6
|
Expose send_file max-age as config value, #433.
Need to add the same hook in a Blueprint, but this is the first such
case where we need app.config in the Blueprint.
|
2012-03-13 16:34:16 -07:00 |
|
James Saryerwinnie
|
075b6b11c8
|
Fix issue 140
This allows for a view function to return something like:
jsonify(error="error msg"), 400
|
2012-03-11 20:45:58 -07:00 |
|
Ron DuPlain
|
56177bcbd1
|
Document app.testing=True for test client, #381.
|
2012-01-17 19:43:11 -05:00 |
|
Ron DuPlain
|
49b77fbc7a
|
Add missing colons to versionadded.
|
2012-01-17 11:38:00 -05:00 |
|
Ron DuPlain
|
19d32cb172
|
Update Flask.run signature, note defaults.
|
2012-01-16 23:33:13 -05:00 |
|
Joe Esposito
|
46e7bc7083
|
In Flask.run, now when the host/port argument is None, it will use its default value.
|
2012-01-16 23:29:24 -05:00 |
|
Ron DuPlain
|
ce4d589d5b
|
Add non-decorator template filter methods.
Suggested by @Poincare on GitHub, on @Reisen's pull request:
https://github.com/mitsuhiko/flask/pull/272
|
2012-01-16 20:16:48 -05:00 |
|
Armin Ronacher
|
d628df6ab6
|
Store session after callbacks. This fixes #351
|
2011-11-20 16:54:40 +01:00 |
|
Armin Ronacher
|
8da8a21b69
|
Moved the conversion thing into the ConfigAttribute.
|
2011-09-25 19:17:50 +02:00 |
|
Armin Ronacher
|
6dccf77546
|
PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310
|
2011-09-25 19:12:41 +02:00 |
|
Armin Ronacher
|
df1dd57045
|
Cleaned up url routing common docs. This fixes #279
|
2011-09-25 18:49:00 +02:00 |
|
Armin Ronacher
|
d2eefe25e7
|
app.name shall be __main__ for console apps
|
2011-09-24 20:25:28 +02:00 |
|
Ron DuPlain
|
90884a78fb
|
Cross-reference debug docs in run docstring.
|
2011-09-18 15:36:08 -04:00 |
|
Simon Sapin
|
907c24e6ff
|
Document the debug param for Flask.run, it is not part of **options given to run_simple.
I am not sure bool() is appropriate.
|
2011-09-18 15:26:29 -04:00 |
|
Ron DuPlain
|
f6798885e6
|
Update create_global_jinja_loader docstring, #321.
|
2011-09-13 21:22:23 -04:00 |
|
Armin Ronacher
|
7d7d810aea
|
Single quotes for consistency
|
2011-09-10 23:20:58 +02:00 |
|
Armin Ronacher
|
f92a275d54
|
Merge branch 'master' of github.com:mitsuhiko/flask
|
2011-09-01 19:51:37 +02:00 |
|
Armin Ronacher
|
ee8417dac8
|
Late but 2010 -> 2011 in some files
|
2011-09-01 16:57:00 +02:00 |
|
Pedro Algarvio
|
a9e09ec50e
|
Merge remote-tracking branch 'mitsuhiko/master'
|
2011-08-31 10:32:59 +01:00 |
|
Armin Ronacher
|
ccf464189b
|
Added finer control over the session cookie parameters
|
2011-08-30 14:36:50 +02:00 |
|
Armin Ronacher
|
23bf2633f6
|
Use the _request_ctx_stack instead of the proxy for consistency with the others.
|
2011-08-29 12:18:25 +02:00 |
|
Armin Ronacher
|
2e4c39199d
|
Refactored logging of internal server errors. Can now be customized
|
2011-08-26 21:30:41 +02:00 |
|
Armin Ronacher
|
b256e9f36c
|
make_default_options_response now tries to use Werkzeug 0.7 functionality before falling back.
|
2011-08-26 14:05:08 +01:00 |
|
Armin Ronacher
|
e853a0f739
|
The test client and test_request_context are now both using the same logic internally for creating the environ. Also they use APPLICATION_ROOT now.
|
2011-08-25 20:47:50 +01:00 |
|
Armin Ronacher
|
a5da2c98f3
|
Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
|
2011-08-25 15:18:39 +01:00 |
|
Armin Ronacher
|
c844d02f1c
|
Added the APPLICATION_ROOT configuration variable which is used by session backends.
|
2011-08-25 12:13:55 +01:00 |
|
Pedro Algarvio
|
04e87a93de
|
Add endpoint parameter documentation to the route decorator.
|
2011-08-25 12:01:41 +01:00 |
|
Pedro Algarvio
|
68ec5a3068
|
Allow passing the endpoint to the route decorators on Flask's application and blueprints.
|
2011-08-25 11:46:05 +01:00 |
|
Armin Ronacher
|
45d963d6da
|
The session interface is new in 0.8 not 0.7
|
2011-08-10 23:50:43 +02:00 |
|
Armin Ronacher
|
b3aaf6d5ca
|
Refactored package finding
|
2011-08-10 23:19:33 +02:00 |
|
Armin Ronacher
|
fb1a6730cf
|
Leave eggs when finding the instance path
|
2011-08-10 18:00:16 +02:00 |
|
Armin Ronacher
|
74f4af59f6
|
Added comments for two branches in the instance detection
|
2011-08-10 17:51:49 +02:00 |
|
Armin Ronacher
|
e328eba97c
|
Corrected prefix detection
|
2011-08-10 17:51:24 +02:00 |
|
Armin Ronacher
|
175d43b2f9
|
Instance paths are now moved into virtualenv/share/appname-instance if installed
|
2011-08-10 17:46:20 +02:00 |
|
Armin Ronacher
|
187cb80dcc
|
Documented instance root
|
2011-08-10 13:55:57 +02:00 |
|
Armin Ronacher
|
153ecbc920
|
Implemented instance paths
|
2011-08-10 13:34:58 +02:00 |
|
Armin Ronacher
|
6847329134
|
Flask will now give you an error in debug mode if a post request caused a redirect by the routing system.
|
2011-08-09 14:51:06 +02:00 |
|
Armin Ronacher
|
acac64e36a
|
Don't only catch BadRequest key errors but all bad request errors.
|
2011-08-08 21:46:53 +02:00 |
|
Armin Ronacher
|
ae00f6d149
|
Tweaked autodoc to skip :internal: methods.
|
2011-08-07 14:15:33 +02:00 |
|
Armin Ronacher
|
02a1317460
|
Added the ability to trigger functions before the first request to the application
|
2011-08-07 12:43:38 +02:00 |
|
Armin Ronacher
|
5500986971
|
Flask in debug mode will now complain if views are attached after the first view was handled.
|
2011-08-07 02:30:34 +02:00 |
|
Armin Ronacher
|
afe5d3cbd4
|
Added a missing versionadded
|
2011-08-05 12:37:57 +02:00 |
|
Armin Ronacher
|
7155f11a72
|
Added HTTP exception trapping. This should fix #294
|
2011-08-05 12:35:41 +02:00 |
|
Armin Ronacher
|
79aa4ac14d
|
Merge branch 'master' of github.com:mitsuhiko/flask
|
2011-07-27 22:34:34 +02:00 |
|
Simon Sapin
|
d5cfcfeba7
|
Intersphinx link fixes.
|
2011-07-23 11:13:30 -07:00 |
|
Armin Ronacher
|
343e678900
|
Fixed a typo in a docstring
|
2011-07-18 23:06:15 +02:00 |
|
Armin Ronacher
|
2866ccda1f
|
Switch to explicit Werkzeug imports
|
2011-07-15 18:03:48 +02:00 |
|
Armin Ronacher
|
76796c326d
|
Documented view function options
|
2011-07-14 14:25:14 +02:00 |
|
Armin Ronacher
|
3b31df81ae
|
View functions can opt out of the default OPTIONS implementation
|
2011-07-14 14:18:42 +02:00 |
|
Armin Ronacher
|
f8b9f4d41c
|
Merge branch 'master' of github.com:mitsuhiko/flask
|
2011-07-13 14:04:42 +02:00 |
|