Commit Graph

43 Commits

Author SHA1 Message Date
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
Armin Ronacher 9f6bc93e4d Fixed XSS problem by escaping all slashes in JSON.
This also probes simplejson first to figure out if it escapes slashes
which it did in earlier versions.
2010-04-20 15:12:16 +02:00
Armin Ronacher 9f0b2429d6 The testsuite skips JSON tests now is not available and runs the example
tests as well.
2010-04-20 10:51:36 +02:00
Armin Ronacher 95750b3287 Documented some routing converter possibilities. 2010-04-19 23:49:02 +02:00
unknown 3088a9371e Make it easier to associate a rule, endpoint and view_function
This resolves http://github.com/mitsuhiko/flask/issues/issue/11
2010-04-20 01:33:12 +08:00
Armin Ronacher ade490514d Fixed a security problem caused by changed simplejson semantics.
Notice: this was never in a release version of Flask.
2010-04-19 18:51:04 +02:00
Armin Ronacher 6e2be6a0b3 Added JSON Support and started working on jQuery docs 2010-04-19 15:39:07 +02:00
Armin Ronacher 190059c8f0 Added support for macro pulling and documented certain design decisions. 2010-04-18 15:44:06 +02:00
Armin Ronacher 5310fc3822 Session falls back to a dummy object now if secret_key is missing.
This makes it possible to still read-only access the empty session but
requires the secret key to be set for write access.  The error message
raised explains that.  This closes #10.
2010-04-17 14:10:47 +02:00
Armin Ronacher fb2d2e446b request_init -> before_request and request_shutdown -> after_request
This fixes #9.
2010-04-16 11:03:16 +02:00
Armin Ronacher ca520fb7e4 Static files are active in the WSGI app now, not just the server. 2010-04-14 14:11:00 +02:00
Armin Ronacher 08f1f0dc32 Added more Flask tests 2010-04-14 02:42:12 +02:00