Armin Ronacher
|
5a49688554
|
Moved loader code into the testsuite and out of the runner
|
14 years ago |
Armin Ronacher
|
fbd6776e68
|
Fixed a bug in the testsuite that caused problems when dots where in directory names
|
14 years ago |
Armin Ronacher
|
fc2caa4b9c
|
Changed assert to self.assert_ where it was still in place
|
14 years ago |
Armin Ronacher
|
3069e2d7f7
|
Fight the generic asserts!
|
14 years ago |
Armin Ronacher
|
4cb6eea8f1
|
Split up testsuite and moved it to flask.testsuite. This fixes #246
|
14 years ago |
Armin Ronacher
|
ef0f626f0a
|
Added flask.views.View.decorators to automatically decorate class based views.
|
14 years ago |
Armin Ronacher
|
8340d3c9f5
|
Updated docstring on make_response
|
14 years ago |
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.
|
14 years ago |
Pedro Algarvio
|
03a71e0229
|
Deny dot's in blueprint endpoints. Add tests for that too.
|
14 years ago |
Armin Ronacher
|
311ac0f533
|
Ensure that nobody can nest test client invocations
|
14 years ago |
Armin Ronacher
|
a5da2c98f3
|
Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
|
14 years ago |
Armin Ronacher
|
c844d02f1c
|
Added the APPLICATION_ROOT configuration variable which is used by session backends.
|
14 years ago |
Pedro Algarvio
|
04e87a93de
|
Add endpoint parameter documentation to the route decorator.
|
14 years ago |
Pedro Algarvio
|
68ec5a3068
|
Allow passing the endpoint to the route decorators on Flask's `application` and `blueprints`.
|
14 years ago |
Armin Ronacher
|
45d963d6da
|
The session interface is new in 0.8 not 0.7
|
14 years ago |
Armin Ronacher
|
1d6f86bc87
|
Updated docstring
|
14 years ago |
Armin Ronacher
|
c3844d1102
|
Rename _get_package_path to get_root_path to avoid confusion
|
14 years ago |
Armin Ronacher
|
b3aaf6d5ca
|
Refactored package finding
|
14 years ago |
Armin Ronacher
|
fb1a6730cf
|
Leave eggs when finding the instance path
|
14 years ago |
Armin Ronacher
|
74f4af59f6
|
Added comments for two branches in the instance detection
|
14 years ago |
Armin Ronacher
|
e328eba97c
|
Corrected prefix detection
|
14 years ago |
Armin Ronacher
|
175d43b2f9
|
Instance paths are now moved into virtualenv/share/appname-instance if installed
|
14 years ago |
Armin Ronacher
|
187cb80dcc
|
Documented instance root
|
14 years ago |
Armin Ronacher
|
153ecbc920
|
Implemented instance paths
|
14 years ago |
Armin Ronacher
|
63876614b6
|
Removed second mention of json. This fixes #290
|
14 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.
|
14 years ago |
Armin Ronacher
|
ce70131975
|
If JSON parsing fails it now issues a BadRequest exception.
|
14 years ago |
Armin Ronacher
|
acac64e36a
|
Don't only catch BadRequest key errors but all bad request errors.
|
14 years ago |
Armin Ronacher
|
ae00f6d149
|
Tweaked autodoc to skip :internal: methods.
|
14 years ago |
Armin Ronacher
|
02a1317460
|
Added the ability to trigger functions before the first request to the application
|
14 years ago |
Armin Ronacher
|
5500986971
|
Flask in debug mode will now complain if views are attached after the first view was handled.
|
14 years ago |
Armin Ronacher
|
ac99cd33a8
|
Better internal method name
|
14 years ago |
Armin Ronacher
|
f3db68c8ce
|
Added testcase for the debug behavior and explicit encoding
|
14 years ago |
Armin Ronacher
|
3400b78db2
|
Only provide that monkeypatch if all files are missing
|
14 years ago |
Armin Ronacher
|
23c1dd8db2
|
Wording fail
|
14 years ago |
Armin Ronacher
|
17a836d49c
|
Better wording
|
14 years ago |
Armin Ronacher
|
2e022cb272
|
Added debughelpers. Flask will now tell you if you forget enctype
|
14 years ago |
Armin Ronacher
|
a69b437af7
|
Cleanup for the json property
|
14 years ago |
Armin Ronacher
|
afe5d3cbd4
|
Added a missing versionadded
|
14 years ago |
Armin Ronacher
|
7155f11a72
|
Added HTTP exception trapping. This should fix #294
|
14 years ago |
Armin Ronacher
|
eba2f70c6b
|
Clarified a sentence that no longer made sense with the new docs on request objects.
|
14 years ago |
Simon Sapin
|
d5cfcfeba7
|
Intersphinx link fixes.
|
14 years ago |
Dan Callahan
|
290925e133
|
Minor documentation typo / grammar fixes
|
14 years ago |
Armin Ronacher
|
343e678900
|
Fixed a typo in a docstring
|
14 years ago |
Armin Ronacher
|
c9a2ad2b8d
|
Fixed a bug in list_templates
|
14 years ago |
Armin Ronacher
|
2866ccda1f
|
Switch to explicit Werkzeug imports
|
14 years ago |
Armin Ronacher
|
76796c326d
|
Documented view function options
|
14 years ago |
Armin Ronacher
|
3b31df81ae
|
View functions can opt out of the default OPTIONS implementation
|
14 years ago |
Armin Ronacher
|
9d899cd63e
|
Fixed a typo. This closes #278
|
14 years ago |
Michał Bartoszkiewicz
|
7dcf6cbc31
|
Don't use deprecated flask.session in flask.ctx.
|
14 years ago |