Armin Ronacher
a8f6f7413f
Merge branch '0.10-maintenance'
2014-02-08 17:39:46 +00:00
Armin Ronacher
46c24da016
Make before_first_request a decorator
2014-02-08 17:39:26 +00:00
Armin Ronacher
6075797f13
Added changelog entry
2014-02-08 17:33:42 +00:00
Armin Ronacher
53528ad2c3
Merge branch '0.10-maintenance'
2014-02-08 17:19:11 +00:00
Armin Ronacher
e7c587789a
Fixe a bug in the test client causing url parameters to be removed. This fixes #968
2014-02-08 17:19:00 +00:00
Armin Ronacher
e5bba9deb5
Added support for custom JSON mimetypes
2014-02-08 17:01:13 +00:00
Daniel Neuhäuser
b63a9926dd
Merge branch '0.10-maintenance'
2013-10-16 20:13:19 +02:00
Daniel Neuhäuser
a3a2f521f1
Clear exceptions when pushing a context
...
Fixes #882
2013-10-16 20:12:20 +02:00
Daniel Neuhäuser
2d8a21c732
Merge branch '0.10-maintenance'
2013-08-13 15:58:46 +02:00
Daniel Neuhäuser
94f4360137
Explain is_package AttributeError in find_package
...
When a PEP 302 import hook is used that doesn't implement .is_package()
an AttributeError is raised. This looks like a bug in Flask. This change
fixes that problem in the sense that it explains, that the
AttributeError is intentional.
2013-08-13 15:53:58 +02:00
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 .
2013-07-30 16:43:54 +02:00
Armin Ronacher
1a66a7e110
Added line for 1.0
2013-07-30 16:43:41 +02:00
Daniel Neuhäuser
c02c23ee30
Merge branch '0.10-maintenance'
...
Conflicts:
tox.ini
2013-06-27 16:52:34 +02:00
Daniel Neuhäuser
f88cc2d2f9
Fix broken test_appcontext_signals test case
...
This fixes #781 and ensures that Flask is tested with blinker installed.
2013-06-27 16:49:27 +02:00
augustusdsouza
dda373823b
Fixed a typo
2013-06-15 00:01:34 +05:30
Armin Ronacher
e562acf029
Set release date for 0.10.1
2013-06-14 09:53:40 +01:00
Armin Ronacher
72bbeaf056
Added changelog entry for the method registering fix
2013-06-14 09:41:20 +01:00
Armin Ronacher
58ad83f37c
Added support for bytes in sessions back
2013-06-14 00:24:17 +01:00
Armin Ronacher
c502dfbbfb
Changed |tojson filter to quote single attributes
2013-06-14 00:05:09 +01:00
Armin Ronacher
5886925ff3
Started 0.10 maintenance branch for a bugfix release
2013-06-13 23:36:50 +01:00
Armin Ronacher
3061ab5b7e
Release date is today, codename is Limoncello
2013-06-13 09:35:23 +01:00
Armin Ronacher
964174931d
Added request.get_json().
2013-06-12 16:27:48 +01:00
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 .
2013-06-09 12:06:33 +01:00
Armin Ronacher
62dbe0e1ca
The default run method is now accepting the port from the SERVER_NAME.
2013-06-07 00:46:30 +01:00
Armin Ronacher
0676bb8ab5
Added appcontext_pushed and appcontext_popped signals
2013-06-05 09:53:26 +01:00
Armin Ronacher
ef72b78042
Imply the |safe on tojson in templates and change escaping logic
2013-06-03 12:25:08 +01:00
Armin Ronacher
1b40b3b573
Fixed request context preservation and teardown handler interaction.
2013-06-02 21:47:32 +01:00
Armin Ronacher
77d293cf49
Order JSON keys by default to avoid trashing HTTP caches
2013-06-01 19:24:03 +01:00
Armin Ronacher
3d9055b3b7
Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725
2013-06-01 00:20:00 +01:00
Armin Ronacher
f1918093ac
Changed teardown error handling to be more reliable.
2013-05-30 18:15:17 +01:00
Armin Ronacher
16df96c552
Merge branch 'master' into sprint-branch
2013-05-23 14:01:33 +01:00
Armin Ronacher
4c27f7a8c4
Removed incorrect JSON exception subclasses
2013-05-23 13:59:10 +01:00
Thomas Waldmann
40fad2ece8
document python 2.6 minimum requirement, remove all stuff that refers to 2.5
2013-05-18 17:06:25 +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
0faed95385
Documented new signal message_flashed
2013-04-08 15:49:55 +01:00
Armin Ronacher
bfeee75696
Changed session cookie defaults to work better with google chrome
2013-01-29 19:31:45 +00:00
Armin Ronacher
6bd0080575
Added workaround for Chrome cookies
2013-01-28 15:08:54 +00:00
Armin Ronacher
3b393f89f6
Added template_global, fixes #657
2013-01-27 00:46:19 +00:00
Armin Ronacher
f1537a9d7a
Always trap proxy exceptions
2013-01-21 17:44:32 +00:00
Armin Ronacher
2af0ffaef6
Added proxies to template context
2012-12-21 11:47:27 +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
8339cb3508
Added support for unicode json dumping. This fixes #535
2012-10-18 00:48:15 +01:00
Armin Ronacher
f34c028125
Added template tests and made config a true global
2012-10-08 07:01:49 +02:00
Armin Ronacher
5e88c8184d
Removed deprecated and awkward flask.session module
2012-10-08 06:48:13 +02:00
Armin Ronacher
b146d8277a
Added wrapper module around simplejson/json for much simplified customization.
2012-10-07 23:31:48 +02:00
Armin Ronacher
f701f69947
Documented new error case
2012-10-07 17:13:12 +02:00
Armin Ronacher
c4f2075f4c
tojson no longer escapes script blocks in HTML5 parsers. Fixed #605
2012-10-07 15:33:25 +02:00
Armin Ronacher
3bec75d230
Set the content-length header for sendfile. Fixes #447
2012-10-07 15:24:03 +02:00
Armin Ronacher
c9a7fdf1b0
Documented latest commit in changelog
2012-10-07 12:53:36 +02:00
Armin Ronacher
704d94d7b9
Merge branch 'master' into json-sessions
2012-08-11 02:37:52 +01:00