Armin Ronacher
|
bb1567dae4
|
Explained why os.getcwd is used for path finding
|
2011-08-27 00:42:06 +02:00 |
|
Armin Ronacher
|
718ef4d699
|
Added an XXX to a comment to not miss removing deprecated code later
|
2011-08-27 00:32:28 +02:00 |
|
Armin Ronacher
|
2e4c39199d
|
Refactored logging of internal server errors. Can now be customized
|
2011-08-26 21:30:41 +02:00 |
|
Armin Ronacher
|
e509d25d32
|
Some more cleanups in how the test runner is invoked
|
2011-08-26 17:35:47 +01:00 |
|
Armin Ronacher
|
367b254c78
|
Make sure that there is a test for subdomain matching with ports
|
2011-08-26 14:51:28 +01:00 |
|
Armin Ronacher
|
67101c8b93
|
Fake signals no better follow the blinker api
|
2011-08-26 14:41:25 +01:00 |
|
Armin Ronacher
|
b256e9f36c
|
make_default_options_response now tries to use Werkzeug 0.7 functionality before falling back.
|
2011-08-26 14:05:08 +01:00 |
|
Armin Ronacher
|
d49221bf2e
|
The test client now properly pops response contexts on __exit__
|
2011-08-26 14:01:46 +01:00 |
|
Armin Ronacher
|
c8ec453d86
|
Require that cookies are enabled in the test client for session transactions
|
2011-08-26 13:47:01 +01:00 |
|
Armin Ronacher
|
5235c3e37e
|
Make BetterLoader() have a better api :)
|
2011-08-26 12:09:55 +01:00 |
|
Armin Ronacher
|
a082a5e0ba
|
Cleanup in the test finder
|
2011-08-26 12:07:49 +01:00 |
|
Armin Ronacher
|
5a49688554
|
Moved loader code into the testsuite and out of the runner
|
2011-08-26 12:02:40 +01:00 |
|
Armin Ronacher
|
fbd6776e68
|
Fixed a bug in the testsuite that caused problems when dots where in directory names
|
2011-08-26 11:48:33 +01:00 |
|
Armin Ronacher
|
fc2caa4b9c
|
Changed assert to self.assert_ where it was still in place
|
2011-08-26 11:43:27 +01:00 |
|
Armin Ronacher
|
3069e2d7f7
|
Fight the generic asserts!
|
2011-08-26 11:38:43 +01:00 |
|
Armin Ronacher
|
4cb6eea8f1
|
Split up testsuite and moved it to flask.testsuite. This fixes #246
|
2011-08-26 11:21:26 +01:00 |
|
Armin Ronacher
|
ef0f626f0a
|
Added flask.views.View.decorators to automatically decorate class based views.
|
2011-08-25 22:09:48 +01:00 |
|
Armin Ronacher
|
8340d3c9f5
|
Updated docstring on make_response
|
2011-08-25 21:49:50 +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 |
|
Pedro Algarvio
|
03a71e0229
|
Deny dot's in blueprint endpoints. Add tests for that too.
|
2011-08-25 17:26:57 +01:00 |
|
Armin Ronacher
|
311ac0f533
|
Ensure that nobody can nest test client invocations
|
2011-08-25 15:33:03 +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 |
|
Pedro Algarvio
|
04e87a93de
|
Add endpoint parameter documentation to the route decorator.
|
2011-08-25 12:01:41 +01:00 |
|
Pedro Algarvio
|
68ec5a3068
|
Allow passing the endpoint to the route decorators on Flask's application and blueprints.
|
2011-08-25 11:46:05 +01:00 |
|
Armin Ronacher
|
45d963d6da
|
The session interface is new in 0.8 not 0.7
|
2011-08-10 23:50:43 +02:00 |
|
Armin Ronacher
|
1d6f86bc87
|
Updated docstring
|
2011-08-10 23:25:33 +02:00 |
|
Armin Ronacher
|
c3844d1102
|
Rename _get_package_path to get_root_path to avoid confusion
|
2011-08-10 23:21:43 +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
|
74f4af59f6
|
Added comments for two branches in the instance detection
|
2011-08-10 17:51:49 +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
|
187cb80dcc
|
Documented instance root
|
2011-08-10 13:55:57 +02:00 |
|
Armin Ronacher
|
153ecbc920
|
Implemented instance paths
|
2011-08-10 13:34:58 +02:00 |
|
Armin Ronacher
|
63876614b6
|
Removed second mention of json. This fixes #290
|
2011-08-09 16:16:04 +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
|
ae00f6d149
|
Tweaked autodoc to skip :internal: methods.
|
2011-08-07 14:15:33 +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
|
ac99cd33a8
|
Better internal method name
|
2011-08-05 21:54:12 +02:00 |
|
Armin Ronacher
|
f3db68c8ce
|
Added testcase for the debug behavior and explicit encoding
|
2011-08-05 16:56:43 +02:00 |
|
Armin Ronacher
|
3400b78db2
|
Only provide that monkeypatch if all files are missing
|
2011-08-05 16:51:45 +02:00 |
|
Armin Ronacher
|
23c1dd8db2
|
Wording fail
|
2011-08-05 16:50:02 +02:00 |
|
Armin Ronacher
|
17a836d49c
|
Better wording
|
2011-08-05 16:47:12 +02:00 |
|
Armin Ronacher
|
2e022cb272
|
Added debughelpers. Flask will now tell you if you forget enctype
|
2011-08-05 16:43:42 +02:00 |
|
Armin Ronacher
|
a69b437af7
|
Cleanup for the json property
|
2011-08-05 12:40:44 +02:00 |
|
Armin Ronacher
|
afe5d3cbd4
|
Added a missing versionadded
|
2011-08-05 12:37:57 +02:00 |
|