Commit graph

232 commits

Author SHA1 Message Date
Petr Zemek
a11febd5b7 Unify the uses of "testsuite" vs "test suite".
Use "test suite", which is more prevailing in the source code.
2014-10-27 11:31:01 +01:00
Gilman Callsen
6f0c3533c7 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.
2014-10-21 19:11:06 +02:00
Matt Wright
9b1bb78272 Add CHANGES entry and versionchanged entry to docstring 2014-10-20 21:21:30 +02:00
Markus Unterwaditzer
4ef9ceaa08 Add changelog entry for #1206 2014-10-19 19:54:41 +02:00
Ivan Ivaschenko
f0f327d62a Fix typo in changelog 2014-09-20 10:41:46 +04:00
Markus Unterwaditzer
604683fe6a Add changelog 2014-09-12 21:55:49 +02:00
Armin Ronacher
53329aa047 Record blueprint registration order. 2014-09-03 20:12:06 +02:00
Armin Ronacher
98620f73ab Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded. 2014-09-03 17:57:51 +02:00
Armin Ronacher
cd932bcf0a Added a changelog entry for modules. 2014-08-27 01:13:25 +02:00
Armin Ronacher
5fa07f8d68 Always log now, even if debug is off. 2014-08-27 01:08:19 +02:00
Daniel Neuhäuser
1a4d856578 Add Config.from_mapping 2014-07-27 13:09:14 +02:00
Armin Ronacher
506ba917fe Merge branch 'pr/839' 2014-05-07 21:53:59 +02:00
Armin Ronacher
334024dd97 Merge branch 'master' of github.com:mitsuhiko/flask 2014-04-28 13:29:31 +02:00
Armin Ronacher
eddb515cc1 Added changelog entry for click 2014-04-28 13:27:07 +02:00
Daniel Neuhäuser
8399008e91 Switch pypi links to https
To which the http version redirects permanently
2014-04-26 01:30:28 +02:00
Armin Ronacher
47c8d8724e Added thread flag to flask run 2014-04-21 16:39:22 +02:00
Armin Ronacher
b86c09b578 Better support for namespace packages. 2014-04-11 19:59:54 +02:00
Armin Ronacher
b26cda6fc8 Added workaround for Python 3.3's frozen loader 2014-04-11 13:31:17 +02:00
Armin Ronacher
2c4bb56c07 Updated changelog formatting 2014-04-11 13:28:38 +02:00
Kenneth Reitz
421ee4341e 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
f5e0c2fbbb Add Config.get_namespace to CHANGES 2014-03-13 20:23:43 +01:00
Daniel Neuhäuser
a12d0d2fa5 Add Flask.config_class to changelog 2014-02-20 19:15:42 +01:00
Daniel Neuhäuser
34c6e1127d Add Config.from_json to changelog 2014-02-12 23:53:51 +01:00
Armin Ronacher
24ef69411c 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
542282dfe5 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
31bf18e82a 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
19205a0c02 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
68056622dc 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