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
Armin Ronacher
164067920b
Updated examples to work with pypy which has a incomplete sqlite3 in 1.4. Also disable a euc-kr test that does not work on pypy
14 years ago
Armin Ronacher
8569dfee61
Added a PROPAGATE_EXCEPTIONS flag
14 years ago
Pedro Algarvio
a327452540
Better handling for `test_request_context` don't just append the port.
...
Also implemented a proper initial environment to use with
`Flask.test_app()` based on the application's configuration.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Pedro Algarvio
88883aa6db
Fix for Flask's ticket 126. A proper environment is now built to use
...
with `test_request_context()`.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
2a73bbc436
Added testcase. This fixes #108
14 years ago
Armin Ronacher
9a21c34bb6
Added another testcase
14 years ago
Armin Ronacher
a3a843999b
normpath is now used before loading templates
14 years ago
Armin Ronacher
fda14678c0
Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104
14 years ago
Armin Ronacher
faa1c71e45
Request local objects now fail properly with a RuntimeError. This fixes #105
14 years ago
Armin Ronacher
c9002569c9
Various pyflakes fixes
14 years ago
Armin Ronacher
778e44e39e
Improved error message for configuration files
15 years ago
Armin Ronacher
dbf55de7e8
Fixed an issue where the default `OPTIONS` response was
...
not exposing all valid methods in the `Allow` header.
This fixes #97
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
15 years ago
Armin Ronacher
7680d52f42
Added support for subdomain bound modules
15 years ago
Armin Ronacher
b49afa21ad
Removed temp subscription contextmanager in blinker tests to support upcoming api improvements better
15 years ago
Armin Ronacher
c5b1755317
Added testcase for modified URL encodings
15 years ago
Armin Ronacher
e0712b47c6
Added support for signals
15 years ago
Armin Ronacher
6fc1492357
Added make_response
15 years ago
Armin Ronacher
f5b8c08284
endpoint is optional for modules. This fixes #86
15 years ago
Armin Ronacher
85ff63c32e
Emit correct date. In theory
15 years ago
Armin Ronacher
aa3d8398fd
Config is now available in templates, context processors no longer override keys
15 years ago
Armin Ronacher
5e1b1030e8
Added support for automagic OPTIONS
15 years ago
Armin Ronacher
d12d73263f
Reverse order of execution of post-request handlers. This fixes #82
15 years ago
Armin Ronacher
0a93c552cc
Fixed a template lookup error
15 years ago
Armin Ronacher
da514b3984
Respect the domain for the session cookie. This fixes #79
15 years ago
Armin Ronacher
ac13deff40
Re-added support for folder with static files, refactored static file sending
15 years ago
Armin Ronacher
8945a97a42
fixed possible security problem in module branch
15 years ago
Armin Ronacher
d67a36cbdb
Added a testcase for the improved module support
15 years ago
Armin Ronacher
8798b4b711
Merged in changes from master by hand
15 years ago
Armin Ronacher
7599046d04
Started working on refactoring Jinja integration
15 years ago
Justin Quick
1a69c7d4bf
look for json module in the right place. all tests
...
now pass with the new module layout
15 years ago
Armin Ronacher
bcd746e8cf
Added another testcase for subdomain support
15 years ago
Armin Ronacher
f195d92447
Added proper subdomain support
15 years ago
Armin Ronacher
d44b127748
Use a custom logger subclass that uses DEBUG level if in debug mode
15 years ago
Armin Ronacher
9983e84742
Fixed after_request handlers being called twice in some cases and improved logging system
15 years ago
Armin Ronacher
bc00fd1e83
Added support for deferred context cleanup. test_client users can now access the context locals after the actual request if the client is used with a with-block. This fixes #59 .
15 years ago
Armin Ronacher
33e7f2b990
Invoke after_request on exceptions as well. This fixes #59
15 years ago
Simon Sapin
7a4b608839
Add Module.app_errorhandler, like Flask.errorhandler.
15 years ago
Armin Ronacher
6cb0855e2d
Fixed an error reporting bug with flask.Config.from_envvar
15 years ago
Armin Ronacher
35fd6eb22c
Use uppercase for config and support any object.
15 years ago
Armin Ronacher
4d16486132
Improved configuration support.
15 years ago
Armin Ronacher
ef0dc1800f
Added interactive Python docs, fixed part style.
15 years ago
Armin Ronacher
c4cac0abc1
Improved configuration support.
15 years ago
Armin Ronacher
b26aeba972
Fixed a testcase
15 years ago
Armin Ronacher
ea5e654e9e
Added a documentation chapter about logging
15 years ago
Armin Ronacher
e7f67e1333
Added logging support.
15 years ago
Armin Ronacher
35ed617fe4
Added support for flashing categories.
...
This fixes #35 .
15 years ago
Armin Ronacher
2d87e9bc37
Added support for send_file
15 years ago