Armin Ronacher
|
ef0f626f0a
|
Added flask.views.View.decorators to automatically decorate class based views.
|
2011-08-25 22:09:48 +01:00 |
|
Armin Ronacher
|
485a6c332b
|
Moved testcase for test client context binding to the TestToolsTestCase
|
2011-08-25 20:49:53 +01:00 |
|
Armin Ronacher
|
8dbd71ef8e
|
Added a testcase where SERVER_NAME and APPLICATION_ROOT are not set
|
2011-08-25 20:48:38 +01:00 |
|
Armin Ronacher
|
e853a0f739
|
The test client and test_request_context are now both using the same logic internally for creating the environ. Also they use APPLICATION_ROOT now.
|
2011-08-25 20:47:50 +01:00 |
|
Armin Ronacher
|
f051939d8b
|
Test that we're not leaking a request context in the testsuite, fixed a leak
|
2011-08-25 15:24:10 +01:00 |
|
Armin Ronacher
|
001a5128d8
|
Refactored tests to use a different subclass
|
2011-08-25 15:20:40 +01:00 |
|
Armin Ronacher
|
a5da2c98f3
|
Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
|
2011-08-25 15:18:39 +01:00 |
|
Armin Ronacher
|
c844d02f1c
|
Added the APPLICATION_ROOT configuration variable which is used by session backends.
|
2011-08-25 12:13:55 +01:00 |
|
Armin Ronacher
|
eb9a14e158
|
Split up a test into two
|
2011-08-10 23:40:53 +02:00 |
|
Armin Ronacher
|
b3aaf6d5ca
|
Refactored package finding
|
2011-08-10 23:19:33 +02:00 |
|
Armin Ronacher
|
fb1a6730cf
|
Leave eggs when finding the instance path
|
2011-08-10 18:00:16 +02:00 |
|
Armin Ronacher
|
e328eba97c
|
Corrected prefix detection
|
2011-08-10 17:51:24 +02:00 |
|
Armin Ronacher
|
175d43b2f9
|
Instance paths are now moved into virtualenv/share/appname-instance if installed
|
2011-08-10 17:46:20 +02:00 |
|
Armin Ronacher
|
153ecbc920
|
Implemented instance paths
|
2011-08-10 13:34:58 +02:00 |
|
Armin Ronacher
|
6847329134
|
Flask will now give you an error in debug mode if a post request caused a redirect by the routing system.
|
2011-08-09 14:51:06 +02:00 |
|
Armin Ronacher
|
ce70131975
|
If JSON parsing fails it now issues a BadRequest exception.
|
2011-08-08 21:47:26 +02:00 |
|
Armin Ronacher
|
acac64e36a
|
Don't only catch BadRequest key errors but all bad request errors.
|
2011-08-08 21:46:53 +02:00 |
|
Armin Ronacher
|
02a1317460
|
Added the ability to trigger functions before the first request to the application
|
2011-08-07 12:43:38 +02:00 |
|
Armin Ronacher
|
5500986971
|
Flask in debug mode will now complain if views are attached after the first view was handled.
|
2011-08-07 02:30:34 +02:00 |
|
Armin Ronacher
|
f3db68c8ce
|
Added testcase for the debug behavior and explicit encoding
|
2011-08-05 16:56:43 +02:00 |
|
Armin Ronacher
|
7155f11a72
|
Added HTTP exception trapping. This should fix #294
|
2011-08-05 12:35:41 +02:00 |
|
Armin Ronacher
|
fafcc02f26
|
Added a testcase for 404 errors caused by the routing system
|
2011-08-04 16:44:42 +02:00 |
|
Armin Ronacher
|
c9a2ad2b8d
|
Fixed a bug in list_templates
|
2011-07-16 01:16:29 +02:00 |
|
Armin Ronacher
|
3b31df81ae
|
View functions can opt out of the default OPTIONS implementation
|
2011-07-14 14:18:42 +02:00 |
|
Armin Ronacher
|
bd473c1587
|
Fixed an issue that broke url processors for blueprints. Added testcases
|
2011-07-06 10:16:56 +02:00 |
|
Armin Ronacher
|
a101cfc35b
|
Worked around a werkzeug bug with redirects
|
2011-06-29 18:31:48 +02:00 |
|
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 |
|