Simon Sapin
8017febac4
Don't fail for unicode filenames with send_file(add_etags=True)
14 years ago
Armin Ronacher
db28217574
Fixed a bug, view_args not values
14 years ago
Armin Ronacher
4d6cd1a390
URL building should work in theory
14 years ago
Armin Ronacher
5da1fc2215
Started work on URL value preprocessors
14 years ago
Armin Ronacher
f7e71b518f
Register most stuff only once
14 years ago
Armin Ronacher
7a08331ac0
Latest iteration of the blueprint code. Far from being done
14 years ago
Armin Ronacher
086ecdb918
Better reraising of exceptions
14 years ago
Armin Ronacher
115d31ddbf
More documentation updates
14 years ago
Armin Ronacher
e71a5ff8de
Started work on new request dispatching. Unittests not yet updated
14 years ago
Armin Ronacher
7242abcfb2
Extend the logging from the dynamically set logger class. This fixes #234
14 years ago
Steve Romanow
41952d2b25
respect request charset
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Ron DuPlain
ea77d5e12d
Touch up docs according to user feedback.
14 years ago
Sharoon Thomas
57920a5808
Prevent pop if flashes not in session to avoid modification to session fixes #227
14 years ago
Ron DuPlain
15c937b316
Remove ctx.bind() from doc. It doesn't exist.
14 years ago
Armin Ronacher
017117778e
Document that None skips in query strings. This fixes #224
14 years ago
Armin Ronacher
a4ea3159a2
Better error messages
14 years ago
Armin Ronacher
e774e3a69e
Switch params and example
14 years ago
Armin Ronacher
d8fcd4260e
Whitespace normalization
14 years ago
Simon Sapin
7ed3196e8d
Add safe_join: returns the filename used by send_from_directory.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Rémy Roy
709ecefee1
Updating documentation for app.after_request decorator.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
0ecc686372
Fixed a typo
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
5910ef8a43
Lock loader creation
14 years ago
Armin Ronacher
0da56d7f5c
deprecated init_jinja_globals
14 years ago
Armin Ronacher
4c8c503326
break line
14 years ago
Aaron Kavlie
67581795c4
Improved botched docstring wording for silent failure.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Aaron Kavlie
1a7f579ece
Improved botched docstring wording for silent failure.
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
Armin Ronacher
235369fd61
Removed unnecessary import
14 years ago
Armin Ronacher
34a494713c
Documented some changes in config handling.
14 years ago
Aaron Kavlie
fa9817778c
Test passes.
...
Added test for silent flag; added import of errno so it passed.
14 years ago
Aaron Kavlie
5cc40f4728
silent option added to 'from_pyfile' to mirror 'from_envvar'.
14 years ago
mvantellingen
b3fc9eb36b
Open the session after the request context is pushed on the stack instead of in the constructor. This allows you to access the request context in a custom open_session method.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
00c5b7a937
added create_jinja_loader
14 years ago
Sean Reifschneider
1643e5c391
Fixing a word usage issue in docs.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
0bf777ed81
Do not use Date, use Last-Modified. This fixes #164
14 years ago
mvantellingen
b0ca7e5af1
Implement the endpoint decorator. This allows you to easily map views to endpoints when using the werkzeug routing.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Dag Odenhall
4a45345fc4
Fix typo in send_file docs
...
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
Ivo Danihelka
07688d7b93
Fixed 'schemal' doc typo.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Daniel Gerber
9ae4eba986
fix subdomain for static rule on registering module
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
ed70b42798
Make sure that windows servers do not allow downloading arbitrary files
14 years ago
Armin Ronacher
fb88d9d025
Whitespace nazi was here
14 years ago
Armin Ronacher
4b65c7ed5a
Added the ability to override the test client's class. This fixes #148
14 years ago
Armin Ronacher
8569dfee61
Added a PROPAGATE_EXCEPTIONS flag
14 years ago
Georg Brandl
858806da69
Hint for positioning file pointer correctly before calling send_file().
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Dag Odenhall
d4c44a7d8c
BaseConverter is in werkzeug.routing
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
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