Commit graph

153 commits

Author SHA1 Message Date
Armin Ronacher
3bec75d230 Set the content-length header for sendfile. Fixes #447 2012-10-07 15:24:03 +02:00
Armin Ronacher
c9a7fdf1b0 Documented latest commit in changelog 2012-10-07 12:53:36 +02:00
Armin Ronacher
704d94d7b9 Merge branch 'master' into json-sessions 2012-08-11 02:37:52 +01:00
Armin Ronacher
43f41201e9 Merge branch 'master' of github.com:mitsuhiko/flask 2012-08-11 02:37:43 +01:00
Armin Ronacher
ee28dcf2cf Added changelog entry for 0.10 2012-08-11 02:36:29 +01:00
Armin Ronacher
4df3bf2058 Implemented experimental JSON based sessions 2012-08-11 02:36:14 +01:00
esaurito
d8e5a37d8a Fixed codename 2012-07-02 00:38:27 +03:00
Laurens Van Houtven
56f5224ef7 CHANGES: July 1th should be July 1st 2012-07-01 19:31:53 +03:00
Armin Ronacher
ee3e251f9e Updated CHANGES 2012-07-01 12:12:36 +01:00
Armin Ronacher
bea5858411 Merge branch '0.8-maintenance' and push to 0.9 2012-07-01 12:10:50 +01:00
Armin Ronacher
19def9606a This is 0.8.1 2012-07-01 12:08:38 +01:00
Armin Ronacher
d5218997d9 Added flask.stream_with_context 2012-06-27 15:06:39 +01:00
Armin Ronacher
086348e2f2 Added after_this_request decorator. 2012-05-08 13:14:32 +01:00
Armin Ronacher
dbfd406a21 Added required_methods 2012-05-08 12:51:26 +01:00
Ron DuPlain
33bae1a8dc Add Flask.request_globals_class to customize g.
Requested by toothr on #pocoo.
2012-04-24 02:00:47 -04:00
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.
2012-04-24 01:48:05 -04:00
Ron DuPlain
a3cb2a3382 Use American English for "behavior" in docs.
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
2012-04-19 11:51:38 -04:00
Armin Ronacher
cf1641e5be Changed the implementation of returning tuples from functions 2012-04-09 15:56:33 +01:00
Armin Ronacher
3249eeb438 Merge branch 'master' of github.com:mitsuhiko/flask 2012-04-09 15:26:09 +01:00
Armin Ronacher
0207e90155 Updated docs for the app context. 2012-04-09 15:22:36 +01:00
Ron DuPlain
f43003967e Merge pull request #439 from aisipos/jsonexceptions
Add new exceptions module, to implement JSONHttpException and JSONBadRequest.
2012-04-01 08:42:39 -07:00
Ron DuPlain
0eb75b317b Add notes on mutable values & sessions.
Using notes in 8445f0d939
2012-04-01 11:33:42 -04:00
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
Ron DuPlain
146088d580 Expand docs on send_file option hook, #433. 2012-03-13 14:37:48 -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
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. 2012-03-08 16:41:39 -05:00
Ron DuPlain
fdad6713eb Add updates to render_template to CHANGES, #409. 2012-02-24 09:33:11 -05:00
FND
4aebc267bc Hyphenate "class-based"
makes it more readable
2012-01-31 13:54:52 +01:00
Ron DuPlain
234ac198cb Add updated Flask.run to CHANGES. 2012-01-16 23:38:36 -05:00
Ron DuPlain
81010bf7af Add get_flashed_messages to CHANGES, expand docs. 2012-01-16 23:10:21 -05:00
Ron DuPlain
96f7beba46 Document recent changes. 2012-01-16 20:53:20 -05:00
ThomasWaldmann
e2cb8d2ef1 fixed typo, quote "with" statement 2012-01-16 13:42:43 -05:00
Armin Ronacher
d628df6ab6 Store session after callbacks. This fixes #351 2011-11-20 16:54:40 +01:00
Armin Ronacher
7f4c12b335 Break up a circular dependency on shutdown 2011-11-05 17:43:40 +01:00
Armin Ronacher
11c7b1df23 Merge branch 'master' of github.com:mitsuhiko/flask 2011-11-04 02:46:44 +01:00
Armin Ronacher
f52e7a9dc9 Added support for _method to url_for() 2011-11-04 02:46:22 +01:00
Simon Sapin
4ab97047de Typo fix 2011-10-13 11:49:51 +03:00
Armin Ronacher
61a95196ac Changed logic for debug level log settings 2011-10-11 19:09:37 -07:00
Armin Ronacher
1759d8e4d8 Added support for anchor link generation. 2011-10-06 10:57:03 -04:00
Armin Ronacher
d04c9a61e3 Merge branch '0.8-maintenance' 2011-10-02 01:09:36 +02:00
Armin Ronacher
0dd9dc37b6 Fixed an issue with an unused module for Python 2.5 (flask.session) 2011-10-02 01:08:54 +02:00
Armin Ronacher
766522cb58 Prepare for an 0.8.1 release 2011-10-02 01:06:22 +02:00
Armin Ronacher
3765cc2e9e This is 0.9-dev 2011-09-29 23:36:57 +02:00
Armin Ronacher
585ff1db3d This will be Rakija 2011-09-29 23:33:46 +02:00
Armin Ronacher
c6316132b1 Context preserving is now part of Flask and not the test client. This fixes #326 2011-09-24 20:27:38 +02:00
Armin Ronacher
1e6c5f0975 Documented flask.ext. 2011-09-18 12:51:10 +02:00
Armin Ronacher
32c7e43dda Simplified HEAD handling for method views 2011-09-17 19:39:10 +02:00
Armin Ronacher
ccf464189b Added finer control over the session cookie parameters 2011-08-30 14:36:50 +02:00
Armin Ronacher
d49221bf2e The test client now properly pops response contexts on __exit__ 2011-08-26 14:01:46 +01:00
Armin Ronacher
ef0f626f0a Added flask.views.View.decorators to automatically decorate class based views. 2011-08-25 22:09:48 +01:00