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.
|
13 years ago |
Pedro Algarvio
|
03a71e0229
|
Deny dot's in blueprint endpoints. Add tests for that too.
|
13 years ago |
Armin Ronacher
|
f051939d8b
|
Test that we're not leaking a request context in the testsuite, fixed a leak
|
13 years ago |
Armin Ronacher
|
001a5128d8
|
Refactored tests to use a different subclass
|
13 years ago |
Armin Ronacher
|
a5da2c98f3
|
Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
|
13 years ago |
Armin Ronacher
|
c844d02f1c
|
Added the APPLICATION_ROOT configuration variable which is used by session backends.
|
13 years ago |
Pedro Algarvio
|
68ec5a3068
|
Allow passing the endpoint to the route decorators on Flask's `application` and `blueprints`.
|
13 years ago |
Armin Ronacher
|
eb9a14e158
|
Split up a test into two
|
13 years ago |
Armin Ronacher
|
b3aaf6d5ca
|
Refactored package finding
|
13 years ago |
Armin Ronacher
|
fb1a6730cf
|
Leave eggs when finding the instance path
|
13 years ago |
Armin Ronacher
|
e328eba97c
|
Corrected prefix detection
|
13 years ago |
Armin Ronacher
|
175d43b2f9
|
Instance paths are now moved into virtualenv/share/appname-instance if installed
|
13 years ago |
Armin Ronacher
|
153ecbc920
|
Implemented instance paths
|
13 years ago |
Armin Ronacher
|
6847329134
|
Flask will now give you an error in debug mode if a post request caused a redirect by the routing system.
|
13 years ago |
Armin Ronacher
|
ce70131975
|
If JSON parsing fails it now issues a BadRequest exception.
|
13 years ago |
Armin Ronacher
|
acac64e36a
|
Don't only catch BadRequest key errors but all bad request errors.
|
13 years ago |
Armin Ronacher
|
02a1317460
|
Added the ability to trigger functions before the first request to the application
|
13 years ago |
Armin Ronacher
|
5500986971
|
Flask in debug mode will now complain if views are attached after the first view was handled.
|
13 years ago |
Armin Ronacher
|
f3db68c8ce
|
Added testcase for the debug behavior and explicit encoding
|
13 years ago |
Armin Ronacher
|
7155f11a72
|
Added HTTP exception trapping. This should fix #294
|
13 years ago |
Armin Ronacher
|
fafcc02f26
|
Added a testcase for 404 errors caused by the routing system
|
13 years ago |
Armin Ronacher
|
c9a2ad2b8d
|
Fixed a bug in list_templates
|
14 years ago |
Armin Ronacher
|
3b31df81ae
|
View functions can opt out of the default OPTIONS implementation
|
14 years ago |
Armin Ronacher
|
bd473c1587
|
Fixed an issue that broke url processors for blueprints. Added testcases
|
14 years ago |
Armin Ronacher
|
a101cfc35b
|
Worked around a werkzeug bug with redirects
|
14 years ago |
Armin Ronacher
|
b36d7b3288
|
Added class based view documentation
|
14 years ago |
Armin Ronacher
|
dcf21989dc
|
Added class based views
|
14 years ago |
Armin Ronacher
|
ccd5ced70e
|
Chop of ports for session cookies. This fixes #253
|
14 years ago |
Armin Ronacher
|
ea7a172077
|
Test that dotted names work. This fixes #258
|
14 years ago |
Armin Ronacher
|
37fab78887
|
Added a migrated moduleapp as blueprint app
|
14 years ago |
Armin Ronacher
|
e17e74d3a7
|
Started work on testcases for blueprints
|
14 years ago |
Armin Ronacher
|
abe1378cae
|
Chnaged a bunch of behavior in blueprints for it to be more flexible. Improved backwards compat.
|
14 years ago |
Armin Ronacher
|
f5ec9952de
|
Added blueprint specific error handling
|
14 years ago |
Armin Ronacher
|
7a08331ac0
|
Latest iteration of the blueprint code. Far from being done
|
14 years ago |
Armin Ronacher
|
ba6bf23e0d
|
Updated tests
|
14 years ago |
Armin Ronacher
|
e71a5ff8de
|
Started work on new request dispatching. Unittests not yet updated
|
14 years ago |
Armin Ronacher
|
e3f2dd8f08
|
Added a test for content length behavior
|
14 years ago |
Armin Ronacher
|
d90765b026
|
Added testcase for json encoding parameter support
|
14 years ago |
Armin Ronacher
|
d8fcd4260e
|
Whitespace normalization
|
14 years ago |
Armin Ronacher
|
a06cd0a644
|
Started work on implementing blueprint based template loading
|
14 years ago |
Armin Ronacher
|
1446614915
|
Added deprecation warnings for modules
|
14 years ago |
Armin Ronacher
|
0da56d7f5c
|
deprecated init_jinja_globals
|
14 years ago |
Armin Ronacher
|
97efffad9a
|
Enable deprecation warnings
|
14 years ago |
Armin Ronacher
|
fbd488678f
|
Implemented flask.has_request_context()
|
14 years ago |
Matt Chisholm
|
04e70bd5c7
|
Add teardown_request decorator. Fixes issue #174
|
14 years ago |
Aaron Kavlie
|
fa9817778c
|
Test passes.
Added test for silent flag; added import of errno so it passed.
|
14 years ago |
Armin Ronacher
|
00c5b7a937
|
added create_jinja_loader
|
14 years ago |
mvantellingen
|
8a73097fe5
|
Add unittests for the endpoint decorator
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
|
14 years ago |
Armin Ronacher
|
99be2ec022
|
Flask no longer internally depends on rules being added through the add_url_rule function
|
14 years ago |
Armin Ronacher
|
11c66be80e
|
Added testcase for an issue that may exist on windows
|
14 years ago |