Armin Ronacher
c09a4317e4
Record blueprint registration order.
2014-09-03 20:12:06 +02:00
Armin Ronacher
bafc139810
Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
2014-09-03 17:57:51 +02:00
Armin Ronacher
5edc803702
Added a changelog entry for modules.
2014-08-27 01:13:25 +02:00
Armin Ronacher
84ad89ffa4
Always log now, even if debug is off.
2014-08-27 01:08:19 +02:00
Daniel Neuhäuser
aa40b1731e
Add Config.from_mapping
2014-07-27 13:09:14 +02:00
Armin Ronacher
5693b9d730
Merge branch 'pr/839'
2014-05-07 21:53:59 +02:00
Armin Ronacher
67e4d3ee63
Merge branch 'master' of github.com:mitsuhiko/flask
2014-04-28 13:29:31 +02:00
Armin Ronacher
7bb3271f1a
Added changelog entry for click
2014-04-28 13:27:07 +02:00
Daniel Neuhäuser
34871a286e
Switch pypi links to https
...
To which the http version redirects permanently
2014-04-26 01:30:28 +02:00
Armin Ronacher
e46bca4051
Added thread flag to flask run
2014-04-21 16:39:22 +02:00
Armin Ronacher
d4b3d16c14
Better support for namespace packages.
2014-04-11 19:59:54 +02:00
Armin Ronacher
9554844e2a
Added workaround for Python 3.3's frozen loader
2014-04-11 13:31:17 +02:00
Armin Ronacher
696bffc9e9
Updated changelog formatting
2014-04-11 13:28:38 +02:00
Kenneth Reitz
7f5b6c692d
Merge pull request #876 from defuz/templates-auto-reload
...
Add TEMPLATES_AUTO_RELOAD config key
2014-03-21 16:43:20 -04:00
Daniel Neuhäuser
06857c9ba5
Add Config.get_namespace to CHANGES
2014-03-13 20:23:43 +01:00
Daniel Neuhäuser
3f8e29b12c
Add Flask.config_class to changelog
2014-02-20 19:15:42 +01:00
Daniel Neuhäuser
97411295e3
Add Config.from_json to changelog
2014-02-12 23:53:51 +01:00
Armin Ronacher
a9503580d2
Merge branch '0.10-maintenance'
2014-02-09 13:27:05 +00:00
Armin Ronacher
141a5533c9
Documented fix for #879
2014-02-09 13:26:32 +00:00
Armin Ronacher
9298d89aed
Merge branch '0.10-maintenance'
2014-02-09 13:14:26 +00:00
Armin Ronacher
76e2f9cd03
Fixed send_from_directory not rebasing to the root path. This fixes #921
2014-02-09 13:01:54 +00:00
Armin Ronacher
23d9b33e92
Merge branch '0.10-maintenance'
2014-02-08 22:30:00 +00:00
Armin Ronacher
e67d9a04b2
Fixed a changelog entry
2014-02-08 17:46:02 +00:00
Armin Ronacher
2506c0b9a9
Fixed sending etags for file streams with a name. This fixes #930 .
2014-02-08 17:45:27 +00:00
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
defuz
3e485009a8
add TEMPLATES_AUTO_RELOAD option to config
2013-09-30 21:06:49 +03:00
Daniel Richman
3d67736e09
Check error handlers for specific classes first
...
This allows adding error handlers like this:
@app.errorhandler(werkzeug.exceptions.Forbidden)
And subclassing HTTPExceptions:
class ForbiddenBecauseReason(Forbidden): pass
@app.errorhandler(ForbiddenBecauseReason)
def error1(): return "Forbidden because reason", 403
@app.errorhandler(403)
def error2(): return "Forbidden", 403
... the idea being, that a flask extension might want to raise an
exception, with the default behaviour of creating a HTTP error page,
but still allowing the user to add a view/handler specific to that
exception (e.g., "Forbidden because you are not in the right group").
2013-09-21 21:16:24 +00: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