Commit graph

25 commits

Author SHA1 Message Date
Armin Ronacher
bfeee75696 Changed session cookie defaults to work better with google chrome 2013-01-29 19:31:45 +00:00
Armin Ronacher
1949c4a9ab flask.g is now on the app context and not the request context 2012-12-21 11:45:42 +01:00
Armin Ronacher
661ee54bc2 Raise exceptions if a function is overridden by a new endpoint. This fixes #570 2012-10-07 17:12:16 +02:00
Armin Ronacher
4df3bf2058 Implemented experimental JSON based sessions 2012-08-11 02:36:14 +01:00
Armin Ronacher
a9e753f706 Merge pull request #497 from ekoka/master
fix for https://github.com/mitsuhiko/flask/issues/494
2012-06-17 06:24:35 -07:00
Armin Ronacher
086348e2f2 Added after_this_request decorator. 2012-05-08 13:14:32 +01:00
Armin Ronacher
2053d04db0 Improved interface for the URL build error handler 2012-05-08 11:56:11 +01:00
ekoka
12dcba8849 Update flask/testsuite/basic.py 2012-04-24 05:32:52 -03:00
Ron DuPlain
8c8c524ddb Re-raise BuildError with traceback. 2012-04-22 12:51:31 -04:00
Ron DuPlain
bb31188ec3 Add a BuildError hook to url_for, #456. 2012-04-22 12:30:15 -04:00
Armin Ronacher
cf1641e5be Changed the implementation of returning tuples from functions 2012-04-09 15:56:33 +01: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
Ron DuPlain
2e5de98297 Use app.testing=True for asserts in messages test. 2012-01-17 19:33:48 -05:00
Ron DuPlain
676b3a4c13 Check status code in test client or fail silently. 2012-01-16 22:44:06 -05:00
Ron DuPlain
b9907b4969 Expand get_flashed_messages tests.
Ready to pull request #336.
http://github.com/mitsuhiko/flask/pull/336
2012-01-16 22:22:08 -05:00
Armin Ronacher
d628df6ab6 Store session after callbacks. This fixes #351 2011-11-20 16:54:40 +01: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
7331ae3df5 Update the testsuite to not freak out about a change in Werkzeug 0.8 that changed the behavior of misconfigured hosts. 2011-09-03 17:13:01 +02:00
Ron DuPlain
37f9cb9ca6 Import with statement in testsuite, Python 2.5. 2011-09-01 12:35:04 -04:00
Pedro Algarvio
a9e09ec50e Merge remote-tracking branch 'mitsuhiko/master' 2011-08-31 10:32:59 +01:00
Armin Ronacher
ccf464189b Added finer control over the session cookie parameters 2011-08-30 14:36:50 +02:00
Armin Ronacher
367b254c78 Make sure that there is a test for subdomain matching with ports 2011-08-26 14:51:28 +01:00
Armin Ronacher
fc2caa4b9c Changed assert to self.assert_ where it was still in place 2011-08-26 11:43:27 +01:00
Armin Ronacher
3069e2d7f7 Fight the generic asserts! 2011-08-26 11:38:43 +01:00
Armin Ronacher
4cb6eea8f1 Split up testsuite and moved it to flask.testsuite. This fixes #246 2011-08-26 11:21:26 +01:00