Commit Graph

61 Commits

Author SHA1 Message Date
Armin Ronacher 5e1b1030e8 Added support for automagic OPTIONS 2010-07-12 23:04:24 +02:00
Armin Ronacher d12d73263f Reverse order of execution of post-request handlers. This fixes #82 2010-07-12 18:04:10 +02:00
Armin Ronacher 0a93c552cc Fixed a template lookup error 2010-07-06 19:24:50 +02:00
Armin Ronacher da514b3984 Respect the domain for the session cookie. This fixes #79 2010-07-06 10:42:36 +02:00
Armin Ronacher ac13deff40 Re-added support for folder with static files, refactored static file sending 2010-07-05 10:23:35 +02:00
Armin Ronacher 8945a97a42 fixed possible security problem in module branch 2010-07-04 20:36:34 +02:00
Armin Ronacher d67a36cbdb Added a testcase for the improved module support 2010-07-04 14:12:29 +02:00
Armin Ronacher 8798b4b711 Merged in changes from master by hand 2010-07-04 11:25:26 +02:00
Armin Ronacher 81148db5b6 Merged in changes from justquick 2010-07-04 11:20:45 +02:00
Armin Ronacher 7599046d04 Started working on refactoring Jinja integration 2010-07-04 11:16:24 +02:00
Justin Quick 1a69c7d4bf look for json module in the right place. all tests
now pass with the new module layout
2010-07-02 15:11:02 -04:00
Armin Ronacher bcd746e8cf Added another testcase for subdomain support 2010-06-29 01:36:06 +02:00
Armin Ronacher f195d92447 Added proper subdomain support 2010-06-29 01:13:40 +02:00
Armin Ronacher d44b127748 Use a custom logger subclass that uses DEBUG level if in debug mode 2010-06-18 16:53:38 +02:00
Armin Ronacher 9983e84742 Fixed after_request handlers being called twice in some cases and improved logging system 2010-06-03 16:21:23 +02:00
Armin Ronacher bc00fd1e83 Added support for deferred context cleanup. test_client users can now access the context locals after the actual request if the client is used with a with-block. This fixes #59. 2010-06-03 15:26:07 +02:00
Armin Ronacher 33e7f2b990 Invoke after_request on exceptions as well. This fixes #59 2010-06-02 18:04:49 +02:00
Simon Sapin 7a4b608839 Add Module.app_errorhandler, like Flask.errorhandler. 2010-05-31 23:28:58 +08:00
Armin Ronacher 6cb0855e2d Fixed an error reporting bug with flask.Config.from_envvar 2010-05-28 21:37:27 +02:00
Armin Ronacher 672eaf7abf Merge branch 'config-support' of github.com:mitsuhiko/flask into config-support
Conflicts:
	flask.py
	tests/flask_tests.py
2010-05-27 13:34:56 +02:00
Armin Ronacher 35fd6eb22c Use uppercase for config and support any object. 2010-05-27 13:31:36 +02:00
Armin Ronacher 4d16486132 Improved configuration support. 2010-05-27 13:31:35 +02:00
Armin Ronacher ef0dc1800f Added interactive Python docs, fixed part style. 2010-05-24 18:37:48 +02:00
Armin Ronacher c4cac0abc1 Improved configuration support. 2010-05-18 02:36:50 +02:00
Armin Ronacher b26aeba972 Fixed a testcase 2010-05-18 01:41:42 +02:00
Armin Ronacher ea5e654e9e Added a documentation chapter about logging 2010-05-17 22:46:35 +02:00
Armin Ronacher e7f67e1333 Added logging support. 2010-05-17 16:06:30 +02:00
Armin Ronacher 35ed617fe4 Added support for flashing categories.
This fixes #35.
2010-05-17 00:37:55 +02:00
Armin Ronacher 9fa4f94ad8 Merge branch 'master' into module-support
Conflicts:
	CHANGES
	docs/_themes
	tests/flask_tests.py
2010-05-12 01:04:35 +02:00
Armin Ronacher 2d87e9bc37 Added support for send_file 2010-05-10 11:27:42 +02:00
Armin Ronacher 745638e774 Added missing decorators for module wide context processors.
This fixes #25.
2010-05-04 11:51:07 +02:00
Armin Ronacher a921aef6c4 Fixed late binding of url_prefix. This fixes #29. 2010-05-04 11:41:54 +02:00
Armin Ronacher 720bede150 Merge branch 'master' into module-support 2010-05-03 20:04:38 +02:00
florentx 67fc465262 Fix typo, remove useless import, limit lines to 79 columns. 2010-05-04 02:03:20 +08:00
Armin Ronacher 9da5795d79 Merge branch 'master' into module-support 2010-05-03 20:00:42 +02:00
Armin Ronacher dffb3d091c Removed useless import and adapted tests 2010-05-03 14:39:16 +02:00
Armin Ronacher 36f659b82b Merge branch 'master' into module-support
Conflicts:
	flask.py
2010-05-02 19:12:00 +02:00
Armin Ronacher 75461c1467 Added _external support to url_for 2010-05-02 19:10:44 +02:00
Armin Ronacher eeb0e94951 Fixed merging confict 2010-05-02 12:09:31 +02:00
Armin Ronacher 36717b0273 Added support for long running sessions. This closes #16. 2010-04-27 14:32:09 +02:00
Armin Ronacher 36e24299e3 Merge branch 'master' into module-support 2010-04-25 14:54:33 +02:00
Sebastien Estienne 4395e9493c add tests for template_filter using a real template 2010-04-25 20:51:27 +08:00
Sebastien Estienne 5c9ef2c44d the template_filter now expects the parentheses 2010-04-25 20:51:27 +08:00
Sebastien Estienne a9bb965b6d add a decorator to add custom template filter 2010-04-25 20:51:26 +08:00
Armin Ronacher 5144d3b65a Merge branch 'master' into module-support 2010-04-24 17:47:24 +02:00
Armin Ronacher 67f4b0f315 Modules are now instanciated with the package name.
This makes it possible to load resources from the folder the module is
located in.
2010-04-24 17:07:16 +02:00
Armin Ronacher 5c52fe980e Added request/response processing based on modules. 2010-04-23 17:10:22 +02:00
Armin Ronacher e0148a00c0 Basic module support is working, but does not look very nice. 2010-04-23 17:01:20 +02:00
Armin Ronacher a862ead5f2 Warn on None responses. 2010-04-23 16:30:04 +02:00
florentx dbe0df756b Use setdefault() because it sets session.modified correctly. 2010-04-21 16:36:20 +08:00