Commit Graph

19 Commits

Author SHA1 Message Date
Armin Ronacher dffb3d091c Removed useless import and adapted tests 2010-05-03 14:39:16 +02:00
Armin Ronacher 75461c1467 Added _external support to url_for 2010-05-02 19:10:44 +02:00
Armin Ronacher 36717b0273 Added support for long running sessions. This closes #16. 2010-04-27 14:32:09 +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 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