Armin Ronacher
817b72d484
Removed deprecated module functionality
11 years ago
Armin Ronacher
e78961c812
Fixed a missing import
11 years ago
Armin Ronacher
52e1c383fa
Make Python 3 happy
11 years ago
Armin Ronacher
6ec83e18dc
Added a workaround for a pypy bug in context managers
11 years ago
Daniel Neuhäuser
52098e1e4f
Happy New Year 2014
11 years ago
Daniel Neuhäuser
a3a2f521f1
Clear exceptions when pushing a context
...
Fixes #882
11 years ago
Armin Ronacher
c889fbc231
Changed interface for `flask.g`
...
This now makes it behave like it did before, it's just an object.
It did however gain ``__contains__`` and ``__iter__`` and I added
a ``get()`` method to fetch an attribute without raising an
error. This fixes #759 .
12 years ago
Armin Ronacher
0676bb8ab5
Added appcontext_pushed and appcontext_popped signals
12 years ago
Armin Ronacher
1b40b3b573
Fixed request context preservation and teardown handler interaction.
12 years ago
Armin Ronacher
f1918093ac
Changed teardown error handling to be more reliable.
12 years ago
Armin Ronacher
ffd9296507
Close request objects if they support closing.
12 years ago
Thomas Waldmann
13cc69911c
fix typos
12 years ago
Armin Ronacher
aecc41deb8
Restore 2.5 support for the time being
12 years ago
Thomas Waldmann
6caaa8a527
automated change using python-modernize: use 'as' in except
12 years ago
Armin Ronacher
097353695e
Added flask.copy_current_request_context which simplies working with greenlets
12 years ago
Armin Ronacher
1949c4a9ab
flask.g is now on the app context and not the request context
12 years ago
Armin Ronacher
3e9f4e254b
Updated a comment that was misleading with recent flask sqlalchemy installations
12 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
Matt Wright
1f3e667b5d
Fix documention for `after_this_request`
13 years ago
Armin Ronacher
086348e2f2
Added after_this_request decorator.
13 years ago
Ron DuPlain
33bae1a8dc
Add Flask.request_globals_class to customize g.
...
Requested by toothr on #pocoo.
13 years ago
Armin Ronacher
bcd00e5070
Fixed a typo
13 years ago
Armin Ronacher
cb54c462b8
Pass exc explicitly to the inner context.
13 years ago
Armin Ronacher
9bed20c07c
Added documentation for appcontext and teardown handlers
13 years ago
Armin Ronacher
0207e90155
Updated docs for the app context.
13 years ago
Armin Ronacher
307d1bc4e5
Added support for basic URL generation without request contexts.
13 years ago
Armin Ronacher
47288231fe
Implemented a separate application context.
13 years ago
Armin Ronacher
a1305973bf
Fixed a typo in a comment
13 years ago
Kyle Wild
8532bd51a7
[docstring] Remove an extra `if` clause to clarify sentence
13 years ago
Kyle Wild
46651659c2
Fix a typo ("is"->"if") in the comments; clarify a bit
13 years ago
Armin Ronacher
7f4c12b335
Break up a circular dependency on shutdown
13 years ago
Armin Ronacher
c6316132b1
Context preserving is now part of Flask and not the test client. This fixes #326
13 years ago
Armin Ronacher
ee8417dac8
Late but 2010 -> 2011 in some files
14 years ago
Armin Ronacher
718ef4d699
Added an XXX to a comment to not miss removing deprecated code later
14 years ago
Michał Bartoszkiewicz
7dcf6cbc31
Don't use deprecated flask.session in flask.ctx.
14 years ago
Armin Ronacher
0fccfe711f
Refactored session interface
14 years ago
Armin Ronacher
ab6bac111c
Made it theoretically possible to hook into request matching
14 years ago
Armin Ronacher
7a08331ac0
Latest iteration of the blueprint code. Far from being done
14 years ago
Armin Ronacher
e71a5ff8de
Started work on new request dispatching. Unittests not yet updated
14 years ago
Armin Ronacher
fbd488678f
Implemented flask.has_request_context()
14 years ago
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>
14 years ago
Armin Ronacher
a3a72e2d8d
Added middlewares to quickstart. This fixes #88
15 years ago
Armin Ronacher
5e1b1030e8
Added support for automagic OPTIONS
15 years ago
Armin Ronacher
df3f8940c3
Added separate module for testing
15 years ago
Armin Ronacher
80eb6cfffc
Switched to relative imports in the package
15 years ago
Armin Ronacher
665fa2a32b
More refactoring and moving stuff around
15 years ago
Armin Ronacher
4f8ee8f129
Added missing comments, fixed setup.py and made tests pass
15 years ago
Justin Quick
c4f64c1c47
working import layout for module
15 years ago