Petr Zemek
ebab6718f7
Unify the uses of "testsuite" vs "test suite".
...
Use "test suite", which is more prevailing in the source code.
10 years ago
defuz
f88765d504
set TEMPLATE_AUTO_RELOAD default value to None
10 years ago
Gilman Callsen
d425279650
Improve compression by removing whitespace from separators when using jsonify() and JSONIFY_PRETTYPRINT_REGULAR is False.
...
Commit includes Changelog entry and two new tests in test_basic.py.
10 years ago
Matt Wright
986b92203a
Add CHANGES entry and versionchanged entry to docstring
10 years ago
Markus Unterwaditzer
6b3fbb323a
Add changelog entry for #1206
10 years ago
Ivan Ivaschenko
056bd0e6d4
Fix typo in changelog
10 years ago
Markus Unterwaditzer
73ca86587d
Add changelog
10 years ago
Armin Ronacher
c09a4317e4
Record blueprint registration order.
10 years ago
Armin Ronacher
bafc139810
Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
10 years ago
Armin Ronacher
5edc803702
Added a changelog entry for modules.
10 years ago
Armin Ronacher
84ad89ffa4
Always log now, even if debug is off.
10 years ago
Daniel Neuhäuser
aa40b1731e
Add Config.from_mapping
10 years ago
Armin Ronacher
7bb3271f1a
Added changelog entry for click
11 years ago
Daniel Neuhäuser
34871a286e
Switch pypi links to https
...
To which the http version redirects permanently
11 years ago
Armin Ronacher
e46bca4051
Added thread flag to flask run
11 years ago
Armin Ronacher
d4b3d16c14
Better support for namespace packages.
11 years ago
Armin Ronacher
9554844e2a
Added workaround for Python 3.3's frozen loader
11 years ago
Armin Ronacher
696bffc9e9
Updated changelog formatting
11 years ago
Daniel Neuhäuser
06857c9ba5
Add Config.get_namespace to CHANGES
11 years ago
Daniel Neuhäuser
3f8e29b12c
Add Flask.config_class to changelog
11 years ago
Daniel Neuhäuser
97411295e3
Add Config.from_json to changelog
11 years ago
Armin Ronacher
141a5533c9
Documented fix for #879
11 years ago
Armin Ronacher
76e2f9cd03
Fixed send_from_directory not rebasing to the root path. This fixes #921
11 years ago
Armin Ronacher
e67d9a04b2
Fixed a changelog entry
11 years ago
Armin Ronacher
2506c0b9a9
Fixed sending etags for file streams with a name. This fixes #930 .
11 years ago
Armin Ronacher
46c24da016
Make before_first_request a decorator
11 years ago
Armin Ronacher
6075797f13
Added changelog entry
11 years ago
Armin Ronacher
e7c587789a
Fixe a bug in the test client causing url parameters to be removed. This fixes #968
11 years ago
Armin Ronacher
e5bba9deb5
Added support for custom JSON mimetypes
11 years ago
Daniel Neuhäuser
a3a2f521f1
Clear exceptions when pushing a context
...
Fixes #882
11 years ago
defuz
3e485009a8
add TEMPLATES_AUTO_RELOAD option to config
11 years ago
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").
11 years ago
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.
11 years ago
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 .
11 years ago
Armin Ronacher
1a66a7e110
Added line for 1.0
11 years ago
Daniel Neuhäuser
f88cc2d2f9
Fix broken test_appcontext_signals test case
...
This fixes #781 and ensures that Flask is tested with blinker installed.
12 years ago
augustusdsouza
dda373823b
Fixed a typo
12 years ago
Armin Ronacher
e562acf029
Set release date for 0.10.1
12 years ago
Armin Ronacher
72bbeaf056
Added changelog entry for the method registering fix
12 years ago
Armin Ronacher
58ad83f37c
Added support for bytes in sessions back
12 years ago
Armin Ronacher
c502dfbbfb
Changed |tojson filter to quote single attributes
12 years ago
Armin Ronacher
5886925ff3
Started 0.10 maintenance branch for a bugfix release
12 years ago
Armin Ronacher
3061ab5b7e
Release date is today, codename is Limoncello
12 years ago
Armin Ronacher
964174931d
Added request.get_json().
12 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
62dbe0e1ca
The default run method is now accepting the port from the SERVER_NAME.
12 years ago
Armin Ronacher
0676bb8ab5
Added appcontext_pushed and appcontext_popped signals
12 years ago
Armin Ronacher
ef72b78042
Imply the |safe on tojson in templates and change escaping logic
12 years ago
Armin Ronacher
1b40b3b573
Fixed request context preservation and teardown handler interaction.
12 years ago
Armin Ronacher
77d293cf49
Order JSON keys by default to avoid trashing HTTP caches
12 years ago