David Lord
2efb565fbc
mention that session signature checks max age
...
add expiration to cookie security docs
closes #2422
7 years ago
David Lord
66b1b752da
simplify logging configuration
...
single default handler and formatter
don't remove handlers
configure level once using setLevel
document logging
reorganize logging tests
7 years ago
David Lord
01e2d80660
one more secret key in docs
7 years ago
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
7 years ago
trirpi
bfc2ee7dfd
removed bug in memory sqlite uri
8 years ago
David Lord
01d2f725d3
formatting
...
[ci skip]
8 years ago
tristan fisher
53ff054fd3
Fixes grammar and phrasing on envvar how-to
8 years ago
tristan fisher
067686b471
Add basic how-to on using envvars for config
8 years ago
David Lord
045dccaefb
make debugging bad key errors easier
...
* TRAP_BAD_REQUEST_ERRORS is enabled by default in debug mode
* BadRequestKeyError has the key in the description in debug mode
closes #382
8 years ago
David Lord
abf54c8182
fix some config names in new doc
8 years ago
David Lord
60feecc26c
reformat config from table to linkable sections
8 years ago
Larivact
2995366dde
Clarify APPLICATION_ROOT #1714
8 years ago
Hsiaoming Yang
a7f1a21c12
Don't rely on X-Requested-With for pretty print json response ( #2193 )
...
* Don't rely on X-Requested-With for pretty print json response
* Fix test cases for pretty print json patch
* Fix gramma error in docs for pretty print json config
* Add changelog for JSONIFY_PRETTYPRINT_REGULAR
8 years ago
Grey Li
c43560777a
Add tips for debug config with flask cli ( #2196 )
...
* Add tips for debug config with flask cli
`app.debug` and `app.config['DEBUG']` are not compatible with the `flask` script.
* Grammar fix
* Grammar fix
8 years ago
Jannis Leidel
4cf4229355
Fix rST rendering of env var ( #2085 )
...
This was broken in ad011bc32d (diff-fd40cf2be7711772de9d8316da038cceR263)
8 years ago
Josh Soref
6e6c3a4636
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
8 years ago
Jason Brazeal
d88c08e56f
improved documentation for config.from_object ( #1870 )
9 years ago
ThiefMaster
c5900a1adf
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
9 years ago
Steven Loria
2bf477cfea
Add JSONIFY_MIMETYPE configuration variable ( #1728 )
...
Allow jsonify responses' mimetype to be configured
9 years ago
bagratte
9a80fe691d
minor revision of documentation.
9 years ago
Daniel Thul
2faf245876
Fix typo.
9 years ago
Timo Furrer
d526932a09
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
9 years ago
defuz
974e144843
docs: remove unnecessary colons
10 years ago
defuz
ad011bc32d
docs: ``DEBUG``, ``SERVER_NAME``, ``PATH_INFO``
10 years ago
defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
10 years ago
defuz
8284217593
docs: ``True``, ``False`` and ``None``
10 years ago
Ivan Ivaschenko
6a6acfbb09
Using double-backticks: ``None``
10 years ago
defuz
76f3d6b45e
improve TEMPLATE_AUTO_RELOAD docs
10 years ago
defuz
f88765d504
set TEMPLATE_AUTO_RELOAD default value to None
10 years ago
Armin Ronacher
bafc139810
Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
10 years ago
Armin Ronacher
84ad89ffa4
Always log now, even if debug is off.
10 years ago
lord63
e429e47a96
Correct the mistakes.
10 years ago
Nico Revin
22219f51e5
Update doclinks
...
Fix redirects and broken links
10 years ago
lord63
02e7bec21c
Fix typos in config.rst
10 years ago
lord63
7777b06809
Fix a typo in config.rst
10 years ago
Mark Hildreth
6a37c1716d
Fixed incorrect grammar in Config.rst
...
Fixed incorrect grammar in "SESSION_REFRESH_EACH_REQUEST" configuration description.
11 years ago
defuz
3e485009a8
add TEMPLATES_AUTO_RELOAD option to config
11 years ago
defuz
475b0c1cd9
fix typo (jsonfiy)
11 years ago
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 .
11 years ago
Armin Ronacher
77d293cf49
Order JSON keys by default to avoid trashing HTTP caches
12 years ago
Armin Ronacher
3d9055b3b7
Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725
12 years ago
Armin Ronacher
8339cb3508
Added support for unicode json dumping. This fixes #535
12 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
Armin Ronacher
ab110d8fe5
Documented config changes
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
Cory Li
e4d9ccd6ec
Changing instance_root to instance_path
13 years ago
Armin Ronacher
396c4bdcc0
Fixed a typo. "Does not" of course
13 years ago
Armin Ronacher
6dccf77546
PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310
13 years ago
Armin Ronacher
6d0b3264c2
Mention localhost:5000 being pointless in the docs. It already says that down on the page but not on the key
13 years ago
Armin Ronacher
ccf464189b
Added finer control over the session cookie parameters
13 years ago