Commit graph

92 commits

Author SHA1 Message Date
Armin Ronacher
164067920b Updated examples to work with pypy which has a incomplete sqlite3 in 1.4. Also disable a euc-kr test that does not work on pypy 2010-12-01 17:22:55 +01:00
Armin Ronacher
8569dfee61 Added a PROPAGATE_EXCEPTIONS flag 2010-11-29 08:57:38 +01:00
Pedro Algarvio
a327452540 Better handling for test_request_context don't just append the port.
Also implemented a proper initial environment to use with
`Flask.test_app()` based on the application's configuration.

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-22 18:19:21 +03:00
Pedro Algarvio
88883aa6db Fix for Flask's ticket 126. A proper environment is now built to use
with `test_request_context()`.

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-22 15:36:47 +03:00
Armin Ronacher
1d2a308c20 merged 2010-10-19 09:09:55 +02:00
Armin Ronacher
2a73bbc436 Added testcase. This fixes #108 2010-08-20 11:16:18 +02:00
Armin Ronacher
9a21c34bb6 Added another testcase 2010-08-10 22:55:40 +02:00
Armin Ronacher
a3a843999b normpath is now used before loading templates 2010-08-09 15:16:02 +02:00
Armin Ronacher
fda14678c0 Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104 2010-08-07 13:36:39 +02:00
Armin Ronacher
faa1c71e45 Request local objects now fail properly with a RuntimeError. This fixes #105 2010-08-07 13:02:53 +02:00
Armin Ronacher
c9002569c9 Various pyflakes fixes 2010-08-03 12:15:15 +02:00
Armin Ronacher
778e44e39e Improved error message for configuration files 2010-07-30 00:03:06 +02:00
Armin Ronacher
8e7d29176a Merge branch 'master' of github.com:mitsuhiko/flask 2010-07-28 01:28:31 +02:00
Armin Ronacher
dbf55de7e8 Fixed an issue where the default OPTIONS response was
not exposing all valid methods in the `Allow` header.

This fixes #97

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-07-28 01:28:00 +02:00
Ronny Pfannschmidt
4cd5201cdd use custom tox file named tox-flask-test.ini, dont delete the real tox.ini 2010-07-28 05:34:04 +08:00
Armin Ronacher
6aeb6a09af Added standard dep on py because some extensions might use py.test and the default available version is on the wrong python path 2010-07-26 02:52:05 +02:00
Armin Ronacher
8bd8b014a8 Small fixes in the extension tester 2010-07-26 02:30:52 +02:00
Armin Ronacher
140fc45ebd Added another workaround. the extension tester is now a pile of hacks 2010-07-26 00:59:41 +02:00
Armin Ronacher
63a37b75ac Improved extension test runner 2010-07-26 00:36:09 +02:00
Armin Ronacher
d455135338 Added a workaround for py.test 2010-07-25 23:46:24 +02:00
Armin Ronacher
3a80ecc660 Improved script for automatic extension testing 2010-07-25 17:33:45 +02:00
Armin Ronacher
f4bfae622b Added flaskext tester 2010-07-23 15:41:39 +01:00
Armin Ronacher
7680d52f42 Added support for subdomain bound modules 2010-07-23 13:29:21 +01:00
Armin Ronacher
b49afa21ad Removed temp subscription contextmanager in blinker tests to support upcoming api improvements better 2010-07-20 15:09:51 +01:00
Armin Ronacher
c5b1755317 Added testcase for modified URL encodings 2010-07-20 13:48:13 +01:00
Armin Ronacher
e0712b47c6 Added support for signals 2010-07-17 14:39:28 +02:00
Armin Ronacher
a59dfe4a77 Added missing template 2010-07-17 14:02:02 +02:00
Armin Ronacher
6fc1492357 Added make_response 2010-07-17 11:36:16 +02:00
Armin Ronacher
f5b8c08284 endpoint is optional for modules. This fixes #86 2010-07-15 14:35:02 +02:00
Armin Ronacher
85ff63c32e Emit correct date. In theory 2010-07-13 23:52:55 +02:00
Armin Ronacher
aa3d8398fd Config is now available in templates, context processors no longer override keys 2010-07-13 23:30:29 +02:00
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