Armin Ronacher
086348e2f2
Added after_this_request decorator.
13 years ago
Armin Ronacher
dbfd406a21
Added required_methods
13 years ago
Ron DuPlain
33bae1a8dc
Add Flask.request_globals_class to customize g.
...
Requested by toothr on #pocoo.
13 years ago
Ron DuPlain
26da6a5365
Use default send_file max-age consistently.
...
Prior to this commit, the send_file max-age hook and config were only
used for the static file handler. Now they are used when calling
helpers.send_file directly.
13 years ago
Ron DuPlain
a3cb2a3382
Use American English for "behavior" in docs.
...
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
13 years ago
Armin Ronacher
cf1641e5be
Changed the implementation of returning tuples from functions
13 years ago
Armin Ronacher
0207e90155
Updated docs for the app context.
13 years ago
Ron DuPlain
0eb75b317b
Add notes on mutable values & sessions.
...
Using notes in 8445f0d939
13 years ago
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.
13 years ago
Ron DuPlain
146088d580
Expand docs on send_file option hook, #433 .
13 years ago
James Saryerwinnie
075b6b11c8
Fix issue 140
...
This allows for a view function to return something like:
jsonify(error="error msg"), 400
13 years ago
Jeffrey Finkelstein
9711fd4020
On JSON requests, the JSON response should have Content-Type: application/json and the body of the response should be a JSON object.
13 years ago
Ron DuPlain
fdad6713eb
Add updates to render_template to CHANGES, #409 .
13 years ago
FND
4aebc267bc
Hyphenate "class-based"
...
makes it more readable
13 years ago
Ron DuPlain
234ac198cb
Add updated Flask.run to CHANGES.
13 years ago
Ron DuPlain
81010bf7af
Add get_flashed_messages to CHANGES, expand docs.
13 years ago
Ron DuPlain
96f7beba46
Document recent changes.
13 years ago
ThomasWaldmann
e2cb8d2ef1
fixed typo, quote "with" statement
13 years ago
Armin Ronacher
d628df6ab6
Store session after callbacks. This fixes #351
13 years ago
Armin Ronacher
7f4c12b335
Break up a circular dependency on shutdown
13 years ago
Armin Ronacher
f52e7a9dc9
Added support for _method to url_for()
13 years ago
Simon Sapin
4ab97047de
Typo fix
13 years ago
Armin Ronacher
61a95196ac
Changed logic for debug level log settings
13 years ago
Armin Ronacher
1759d8e4d8
Added support for anchor link generation.
13 years ago
Armin Ronacher
0dd9dc37b6
Fixed an issue with an unused module for Python 2.5 (flask.session)
13 years ago
Armin Ronacher
766522cb58
Prepare for an 0.8.1 release
13 years ago
Armin Ronacher
3765cc2e9e
This is 0.9-dev
13 years ago
Armin Ronacher
585ff1db3d
This will be Rakija
13 years ago
Armin Ronacher
c6316132b1
Context preserving is now part of Flask and not the test client. This fixes #326
13 years ago
Armin Ronacher
1e6c5f0975
Documented flask.ext.
13 years ago
Armin Ronacher
32c7e43dda
Simplified HEAD handling for method views
13 years ago
Armin Ronacher
ccf464189b
Added finer control over the session cookie parameters
14 years ago
Armin Ronacher
d49221bf2e
The test client now properly pops response contexts on __exit__
14 years ago
Armin Ronacher
ef0f626f0a
Added flask.views.View.decorators to automatically decorate class based views.
14 years ago
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.
14 years ago
Armin Ronacher
a5da2c98f3
Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
14 years ago
Armin Ronacher
c844d02f1c
Added the APPLICATION_ROOT configuration variable which is used by session backends.
14 years ago
Armin Ronacher
187cb80dcc
Documented instance root
14 years ago
Armin Ronacher
153ecbc920
Implemented instance paths
14 years ago
Armin Ronacher
ce70131975
If JSON parsing fails it now issues a BadRequest exception.
14 years ago
Armin Ronacher
02a1317460
Added the ability to trigger functions before the first request to the application
14 years ago
Armin Ronacher
5500986971
Flask in debug mode will now complain if views are attached after the first view was handled.
14 years ago
Armin Ronacher
2e022cb272
Added debughelpers. Flask will now tell you if you forget enctype
14 years ago
Armin Ronacher
7155f11a72
Added HTTP exception trapping. This should fix #294
14 years ago
Armin Ronacher
c9a2ad2b8d
Fixed a bug in list_templates
14 years ago
Armin Ronacher
3b31df81ae
View functions can opt out of the default OPTIONS implementation
14 years ago
Armin Ronacher
5cbfbd229d
Documented a change in the session system
14 years ago
Armin Ronacher
0fccfe711f
Refactored session interface
14 years ago
Armin Ronacher
1a61b12dbf
Added a row for Flask 0.8 to the changelog
14 years ago
Armin Ronacher
1c05f47c3b
Forgot to cherry-pick the release date for 0.7.1 in master
14 years ago