Commit graph

43 commits

Author SHA1 Message Date
Armin Ronacher
ffd9296507 Close request objects if they support closing. 2013-05-30 12:51:12 +01:00
Thomas Waldmann
13cc69911c fix typos 2013-05-25 22:01:14 +02:00
Armin Ronacher
16df96c552 Merge branch 'master' into sprint-branch 2013-05-23 14:01:33 +01:00
Armin Ronacher
aecc41deb8 Restore 2.5 support for the time being 2013-05-20 09:47:07 +01:00
Thomas Waldmann
6caaa8a527 automated change using python-modernize: use 'as' in except 2013-05-18 16:24:40 +02:00
Armin Ronacher
097353695e Added flask.copy_current_request_context which simplies working with greenlets 2013-05-14 11:00:04 +01: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
3e9f4e254b Updated a comment that was misleading with recent flask sqlalchemy installations 2012-10-08 07:05:32 +02:00
Armin Ronacher
d5218997d9 Added flask.stream_with_context 2012-06-27 15:06:39 +01:00
Armin Ronacher
2e816f554a Merge branch 'master' of github.com:mitsuhiko/flask 2012-06-27 12:25:21 +01:00
Armin Ronacher
43c6a1ede8 Fixed a comment 2012-06-27 12:22:39 +01:00
Armin Ronacher
558750494f Removed unnecessary import 2012-06-27 12:08:01 +01:00
Matt Wright
1f3e667b5d Fix documention for after_this_request 2012-06-18 18:33:17 -03:00
Armin Ronacher
086348e2f2 Added after_this_request decorator. 2012-05-08 13:14:32 +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
Armin Ronacher
bcd00e5070 Fixed a typo 2012-04-09 17:56:37 +01:00
Armin Ronacher
cb54c462b8 Pass exc explicitly to the inner context. 2012-04-09 17:32:37 +01:00
Armin Ronacher
9bed20c07c Added documentation for appcontext and teardown handlers 2012-04-09 17:29:00 +01:00
Armin Ronacher
0207e90155 Updated docs for the app context. 2012-04-09 15:22:36 +01:00
Armin Ronacher
307d1bc4e5 Added support for basic URL generation without request contexts. 2012-04-09 15:04:35 +01:00
Armin Ronacher
47288231fe Implemented a separate application context. 2012-04-09 14:34:12 +01:00
Armin Ronacher
a1305973bf Fixed a typo in a comment 2012-04-09 14:19:13 +01:00
Kyle Wild
8532bd51a7 [docstring] Remove an extra if clause to clarify sentence 2012-01-16 13:42:43 -05:00
Kyle Wild
46651659c2 Fix a typo ("is"->"if") in the comments; clarify a bit 2012-01-16 13:42:43 -05:00
Armin Ronacher
7f4c12b335 Break up a circular dependency on shutdown 2011-11-05 17:43: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
ee8417dac8 Late but 2010 -> 2011 in some files 2011-09-01 16:57:00 +02:00
Armin Ronacher
718ef4d699 Added an XXX to a comment to not miss removing deprecated code later 2011-08-27 00:32:28 +02:00
Michał Bartoszkiewicz
7dcf6cbc31 Don't use deprecated flask.session in flask.ctx. 2011-07-12 21:51:53 +02:00
Armin Ronacher
0fccfe711f Refactored session interface 2011-07-07 11:27:22 +02:00
Armin Ronacher
ab6bac111c Made it theoretically possible to hook into request matching 2011-06-26 21:34:27 +02:00
Armin Ronacher
7a08331ac0 Latest iteration of the blueprint code. Far from being done 2011-05-29 15:54:58 +02:00
Armin Ronacher
e71a5ff8de Started work on new request dispatching. Unittests not yet updated 2011-05-27 20:10:53 +02:00
Armin Ronacher
fbd488678f Implemented flask.has_request_context() 2011-03-14 16:13:58 -04:00
mvantellingen
b3fc9eb36b Open the session after the request context is pushed on the stack instead of in the constructor. This allows you to access the request context in a custom open_session method.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-13 21:24:26 -04:00
Armin Ronacher
a3a72e2d8d Added middlewares to quickstart. This fixes #88 2010-07-17 15:39:24 +02:00
Armin Ronacher
5e1b1030e8 Added support for automagic OPTIONS 2010-07-12 23:04:24 +02:00
Armin Ronacher
df3f8940c3 Added separate module for testing 2010-07-05 10:31:18 +02:00
Armin Ronacher
80eb6cfffc Switched to relative imports in the package 2010-07-04 20:00:23 +02:00
Armin Ronacher
665fa2a32b More refactoring and moving stuff around 2010-07-04 14:01:56 +02:00
Armin Ronacher
4f8ee8f129 Added missing comments, fixed setup.py and made tests pass 2010-07-04 11:35:20 +02:00
Justin Quick
c4f64c1c47 working import layout for module 2010-07-02 15:10:32 -04:00
Justin Quick
d0dc89ea80 in with the new. i have the bits in places where i think they should be, now i just need to work on the import scheme layout 2010-07-02 14:20:58 -04:00