Commit graph

868 commits

Author SHA1 Message Date
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
9070c5c325 Merge branch 'master' of github.com:mitsuhiko/flask 2011-08-25 21:16:27 +01:00
Armin Ronacher
314f9201ab Updated instance path documentation to explain the $PREFIX lookup 2011-08-25 21:16:06 +01:00
Armin Ronacher
e28e146997 Merge pull request #308 from DasIch/patch-1
Typo in documentation
2011-08-25 13:15:31 -07:00
Daniel Neuhäuser
a43f73c75c s/Ify ou/If you/ typo 2011-08-26 10:13:54 +03:00
Armin Ronacher
d3ca55177a Updated the docs and examples to non-failing teardown handlers 2011-08-25 20:56:43 +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
1ea3d4ea53 Updated documentation regarding the session transactions 2011-08-25 16:13:43 +01:00
Armin Ronacher
311ac0f533 Ensure that nobody can nest test client invocations 2011-08-25 15:33:03 +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
f0c089ff6b Merge branch 'master' of github.com:mitsuhiko/flask 2011-08-25 15:19:13 +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
1bca65d72e Merge pull request #267 from LuitvD/patch-1
Missed the -w option in uWSGI deployment docs.
2011-08-24 15:57:32 -07:00
Ron DuPlain
b209cd96f5 Merge pull request #304 from plaes/config-docs
Improve configuration docs a bit
2011-08-17 06:05:57 -07:00
Priit Laes
713ced603e Improve configuration docs a bit 2011-08-17 08:38:34 +03: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
eb9a14e158 Split up a test into two 2011-08-10 23:40:53 +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
0520425055 Fixed a typo 2011-08-10 14:00:57 +02:00
Armin Ronacher
9af75546f0 Mention default locations for instance folders 2011-08-10 13:57:30 +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
92c7bdd2dd Documented Request.headers 2011-08-09 15:16:41 +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
505cd663cd Hopefully fixed release script date parsing thingy. This fixes #299 2011-08-08 01:26:39 +02:00
Armin Ronacher
5b16532000 Extended quickstart docs for the headers 2011-08-07 16:21:58 +02:00
Armin Ronacher
13005d76b9 Improved cookie documentation 2011-08-07 15:23:57 +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
5ca17c86c0 Added a missing colon 2011-08-07 01:51:02 +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