Armin Ronacher
b146d8277a
Added wrapper module around simplejson/json for much simplified customization.
12 years ago
Armin Ronacher
301e244df3
Consistent use of encoding naming
12 years ago
Armin Ronacher
3afcbf160e
Extra safety for safe_join. Does not look exploitable but better safe than sorry. Fixes #501
12 years ago
Armin Ronacher
661ee54bc2
Raise exceptions if a function is overridden by a new endpoint. This fixes #570
12 years ago
Armin Ronacher
f8b6033a3b
Added a workaround for samefile. This fixes #600
12 years ago
Armin Ronacher
c4f2075f4c
tojson no longer escapes script blocks in HTML5 parsers. Fixed #605
12 years ago
Armin Ronacher
3bec75d230
Set the content-length header for sendfile. Fixes #447
12 years ago
Armin Ronacher
de5038f2fb
Added total_seconds() helper for pythons before 2.7
12 years ago
Armin Ronacher
7f87091474
Added a missing exposed import. This fixes #575
12 years ago
Armin Ronacher
f034d8d345
Add @template_test() decorator for creating custom jinja2 tests, like existing @template_filter() for filters. Fixes #332
12 years ago
Armin Ronacher
4f1cb42123
make_test_environ_builder when used with subdomains was not working correctly, now it uses urlparse module for detecting full URL and changing path and base_url correctly
12 years ago
Armin Ronacher
261c4a6aee
Updated documentation for the new sessions
12 years ago
Ryan Macy
7233a3e0a2
Fixed typo occours to occurs
...
Fixed a typo in the docstring of handle_exception. Was occours, now occurs.
13 years ago
Ralph Bean
9ecbd20286
Update flask/templating.py
...
Fixed a typo in the docstring.
13 years ago
Finbarr O'Callaghan
e93447f25e
actually to actual, again, fixed spelling, not grammar
13 years ago
Finbarr O'Callaghan
48f7cdd016
various typo fixes
13 years ago
Armin Ronacher
fe85970665
Various improvements in regards to the itsdangerous usage, bumped to 0.17
13 years ago
Armin Ronacher
c3d38a21c6
Removed json_available hack
13 years ago
Armin Ronacher
3f82d1b68e
Switch to itsdangerous
13 years ago
Armin Ronacher
b879193481
Set current dev version number to 0.10
13 years ago
Armin Ronacher
4df3bf2058
Implemented experimental JSON based sessions
13 years ago
Priit Laes
e3b3e05052
Docs: Fix docstring formatting
13 years ago
Priit Laes
ed1619adad
Docs: Mention SERVER_NAME in the url_for() docstring
13 years ago
Paul McMillan
20a542fc8a
docstring typo
13 years ago
Armin Ronacher
1beb0f2e7f
Fixed a syntax error
13 years ago
Armin Ronacher
d4415dd665
Fixed an rst syntax error
13 years ago
Armin Ronacher
19def9606a
This is 0.8.1
13 years ago
Armin Ronacher
d5218997d9
Added flask.stream_with_context
13 years ago
Armin Ronacher
43c6a1ede8
Fixed a comment
13 years ago
Armin Ronacher
558750494f
Removed unnecessary import
13 years ago
Armin Ronacher
8071f11328
Fixed an issue with the new path finding logic
13 years ago
Matt Wright
1f3e667b5d
Fix documention for `after_this_request`
13 years ago
Armin Ronacher
b04827283e
Removed padded JSON (JSONP) again.
...
The implementation was not clean and generally the needs for padded json
are disappearing now that all browsers support cross site communication
with the regular xmlhttprequest.
13 years ago
Massimo Santini
4b21e2d38c
I think it should check that cache_timeout is not None to allow for a (I hope legale) value of 0 for such parameter.
13 years ago
Marc Abramowitz
447afc3525
Fix failing test: "AssertionError: 'application/javascript' != 'application/json'" in flask/testsuite/helpers.py", line 88
13 years ago
Armin Ronacher
086348e2f2
Added after_this_request decorator.
13 years ago
Armin Ronacher
dbfd406a21
Added required_methods
13 years ago
Armin Ronacher
2053d04db0
Improved interface for the URL build error handler
13 years ago
ekoka
12dcba8849
Update flask/testsuite/basic.py
13 years ago
Ron DuPlain
e78e2a1641
Document example request_globals_class use cases.
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
2262ce4915
Skip template leak test when not CPython2.7, #452 .
13 years ago
Ron DuPlain
148c50abf9
Document url_for BuildError hook.
13 years ago
Ron DuPlain
8c8c524ddb
Re-raise BuildError with traceback.
13 years ago
Ron DuPlain
bb31188ec3
Add a BuildError hook to url_for, #456 .
13 years ago
ekoka
36194697ae
Update flask/app.py
13 years ago
Ron DuPlain
d90f0afe39
Add test for jsonify padded=False, #495 .
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
Sean Vieira
9d09632dbf
Fix spelling.
13 years ago