Commit graph

119 commits

Author SHA1 Message Date
Armin Ronacher
b36d7b3288 Added class based view documentation 2011-06-28 14:24:54 +02:00
Armin Ronacher
dcf21989dc Added class based views 2011-06-28 12:45:49 +02:00
Armin Ronacher
ccd5ced70e Chop of ports for session cookies. This fixes #253 2011-06-27 09:40:45 +02:00
Armin Ronacher
ea7a172077 Test that dotted names work. This fixes #258 2011-06-27 09:20:50 +02:00
Armin Ronacher
37fab78887 Added a migrated moduleapp as blueprint app 2011-06-17 03:39:49 +02:00
Armin Ronacher
e17e74d3a7 Started work on testcases for blueprints 2011-06-17 03:29:40 +02:00
Armin Ronacher
abe1378cae Chnaged a bunch of behavior in blueprints for it to be more flexible. Improved backwards compat. 2011-06-16 23:55:49 +02:00
Armin Ronacher
f5ec9952de Added blueprint specific error handling 2011-06-05 10:27:15 +02:00
Armin Ronacher
7a08331ac0 Latest iteration of the blueprint code. Far from being done 2011-05-29 15:54:58 +02:00
Armin Ronacher
673fa18e6d Merge branch 'new-request-dispatching' into blueprints 2011-05-28 15:14:07 +02:00
Armin Ronacher
ba6bf23e0d Updated tests 2011-05-27 20:12:20 +02:00
Armin Ronacher
e71a5ff8de Started work on new request dispatching. Unittests not yet updated 2011-05-27 20:10:53 +02:00
Armin Ronacher
e3f2dd8f08 Added a test for content length behavior 2011-05-27 15:59:11 +02:00
Armin Ronacher
d90765b026 Added testcase for json encoding parameter support 2011-05-24 16:29:46 +02:00
Armin Ronacher
d8fcd4260e Whitespace normalization 2011-04-18 23:19:59 +02:00
Armin Ronacher
a06cd0a644 Started work on implementing blueprint based template loading 2011-03-19 03:28:39 +01:00
Armin Ronacher
1446614915 Added deprecation warnings for modules 2011-03-18 09:30:56 +01:00
Armin Ronacher
0da56d7f5c deprecated init_jinja_globals 2011-03-18 09:15:28 +01:00
Armin Ronacher
dd75cc9e28 Merge branch 'appdispatch-docs' 2011-03-15 12:07:32 -04:00
Armin Ronacher
97efffad9a Enable deprecation warnings 2011-03-15 11:47:59 -04:00
Armin Ronacher
fbd488678f Implemented flask.has_request_context() 2011-03-14 16:13:58 -04:00
Matt Chisholm
04e70bd5c7 Add teardown_request decorator. Fixes issue #174 2011-03-14 14:28:15 -04:00
Aaron Kavlie
fa9817778c Test passes.
Added test for silent flag; added import of errno so it passed.
2011-03-14 10:41:22 -04:00
Armin Ronacher
00c5b7a937 added create_jinja_loader 2011-02-21 21:56:37 +01:00
mvantellingen
8a73097fe5 Add unittests for the endpoint decorator
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-24 13:49:11 +01:00
Armin Ronacher
99be2ec022 Flask no longer internally depends on rules being added through the add_url_rule function 2011-01-16 17:13:25 +01:00
Armin Ronacher
11c66be80e Added testcase for an issue that may exist on windows 2010-12-23 14:23:33 +01:00
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