Mark Hildreth
6a37c1716d
Fixed incorrect grammar in Config.rst
...
Fixed incorrect grammar in "SESSION_REFRESH_EACH_REQUEST" configuration description.
2013-12-24 14:36:28 -05:00
Armin Ronacher
d1d835c023
Added SESSION_REFRESH_EACH_REQUEST config option.
...
This also changes how sessions are being refreshed. With the new
behavior set-cookie is only emitted if the session is modified or if the
session is permanent. Permanent sessions can be set to not refresh
automatically through the SESSION_REFRESH_EACH_REQUEST config key.
This fixes #798 .
2013-07-30 16:43:54 +02:00
Armin Ronacher
77d293cf49
Order JSON keys by default to avoid trashing HTTP caches
2013-06-01 19:24:03 +01:00
Armin Ronacher
3d9055b3b7
Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725
2013-06-01 00:20:00 +01:00
Armin Ronacher
8339cb3508
Added support for unicode json dumping. This fixes #535
2012-10-18 00:48:15 +01: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
Armin Ronacher
3249eeb438
Merge branch 'master' of github.com:mitsuhiko/flask
2012-04-09 15:26:09 +01:00
Armin Ronacher
ab110d8fe5
Documented config changes
2012-04-09 15:24:43 +01: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
Cory Li
e4d9ccd6ec
Changing instance_root to instance_path
2011-11-02 01:45:39 -03:00
Armin Ronacher
396c4bdcc0
Fixed a typo. "Does not" of course
2011-09-25 22:19:20 +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
6d0b3264c2
Mention localhost:5000 being pointless in the docs. It already says that down on the page but not on the key
2011-09-25 19:02:47 +02:00
Armin Ronacher
ccf464189b
Added finer control over the session cookie parameters
2011-08-30 14:36:50 +02:00
Armin Ronacher
314f9201ab
Updated instance path documentation to explain the $PREFIX lookup
2011-08-25 21:16:06 +01:00
Armin Ronacher
f0c089ff6b
Merge branch 'master' of github.com:mitsuhiko/flask
2011-08-25 15:19:13 +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
Priit Laes
713ced603e
Improve configuration docs a bit
2011-08-17 08:38:34 +03:00
Armin Ronacher
0520425055
Fixed a typo
2011-08-10 14:00:57 +02:00
Armin Ronacher
9af75546f0
Mention default locations for instance folders
2011-08-10 13:57:30 +02:00
Armin Ronacher
187cb80dcc
Documented instance root
2011-08-10 13:55:57 +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
7155f11a72
Added HTTP exception trapping. This should fix #294
2011-08-05 12:35:41 +02:00
Armin Ronacher
d38c61f42a
More modules -> blueprints
2011-06-17 21:58:03 +02:00
Armin Ronacher
aaa24fc05a
Merge branch 'master' into blueprints
2011-06-05 09:12:41 +02:00
Simon Sapin
9beee51b0b
Clarify in docs that the SERVER_NAME config can also take a port number.
2011-05-30 21:39:12 +02:00
Armin Ronacher
086ecdb918
Better reraising of exceptions
2011-05-28 15:11:48 +02:00
Armin Ronacher
e71a5ff8de
Started work on new request dispatching. Unittests not yet updated
2011-05-27 20:10:53 +02:00
Sam Anderson
da00160db6
Fixed some small typos in the documentation.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-13 21:14:06 -04:00
Armin Ronacher
8569dfee61
Added a PROPAGATE_EXCEPTIONS flag
2010-11-29 08:57:38 +01:00
Ron DuPlain
6875a057ec
Fixed small typos in docs. Added a cross-ref.
2010-10-07 19:32:07 +08:00
Armin Ronacher
dbb3620792
Fixed an rst error
2010-07-15 21:22:11 +02:00
Armin Ronacher
b1790cca55
Added MAX_CONTENT_LENGTH config key
2010-07-14 10:47:57 +02:00
Armin Ronacher
f8f8463f3a
Documented cookie problem for #80
2010-07-14 02:50:41 +02:00
Armin Ronacher
34fcd19306
Added chapter about fabric based deployments
2010-07-06 16:07:13 +02:00
Armin Ronacher
b7c0e564d4
Added a chapter on configuration options
2010-07-06 14:42:43 +02:00
Armin Ronacher
f195d92447
Added proper subdomain support
2010-06-29 01:13:40 +02:00
Adam Zapletal
24754114fc
Minor config documentation fixes (grammar, etc)
2010-06-28 15:12:33 +08:00
Armin Ronacher
f5fb457657
Added TESTING flag. This fixes #58 .
2010-06-07 00:56:02 +02:00
Armin Ronacher
ce6e4cbd73
0.5 is 0.3 now, why skip numbers?
2010-05-28 01:18:29 +02:00
Armin Ronacher
dfecc86dd3
Ported examples over to new config. documented upgrading
2010-05-27 21:17:25 +02:00
Armin Ronacher
182ee31503
Added chapter about config
2010-05-27 17:42:01 +02:00