Armin Ronacher
8340d3c9f5
Updated docstring on make_response
2011-08-25 21:49:50 +01: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
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
Dan Callahan
290925e133
Minor documentation typo / grammar fixes
2011-07-19 16:42:11 -05:00
Armin Ronacher
2866ccda1f
Switch to explicit Werkzeug imports
2011-07-15 18:03:48 +02:00
Ron DuPlain
57d9a2a118
Import with statement in helpers.py, #264 .
2011-06-28 12:00:06 -04:00
Armin Ronacher
1e7577578f
Expanded url_for docstring for blueprints
2011-06-27 09:30:27 +02:00
Armin Ronacher
2d946b96a1
Merge branch 'master' into blueprints
2011-06-25 12:26:13 +02:00
Armin Ronacher
abe1378cae
Chnaged a bunch of behavior in blueprints for it to be more flexible. Improved backwards compat.
2011-06-16 23:55:49 +02:00
Armin Ronacher
6dae36f94d
Started work on an upgrade script for blueprints
2011-06-05 13:19:28 +02:00
Simon Sapin
8017febac4
Don't fail for unicode filenames with send_file(add_etags=True)
2011-05-30 15:06:32 +02:00
Armin Ronacher
4d6cd1a390
URL building should work in theory
2011-05-29 19:56:16 +02:00
Armin Ronacher
7a08331ac0
Latest iteration of the blueprint code. Far from being done
2011-05-29 15:54:58 +02:00
Armin Ronacher
673fa18e6d
Merge branch 'new-request-dispatching' into blueprints
2011-05-28 15:14:07 +02:00
Sharoon Thomas
57920a5808
Prevent pop if flashes not in session to avoid modification to session fixes #227
2011-05-17 11:41:12 -04:00
Armin Ronacher
017117778e
Document that None skips in query strings. This fixes #224
2011-04-25 16:02:35 +02:00
Armin Ronacher
e774e3a69e
Switch params and example
2011-04-18 23:20:24 +02:00
Armin Ronacher
d8fcd4260e
Whitespace normalization
2011-04-18 23:19:59 +02:00
Simon Sapin
7ed3196e8d
Add safe_join: returns the filename used by send_from_directory.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-04-18 16:48:12 +02:00
Armin Ronacher
0ecc686372
Fixed a typo
2011-04-17 19:03:06 +02:00
Armin Ronacher
5910ef8a43
Lock loader creation
2011-03-18 09:16:33 +01:00
Armin Ronacher
0da56d7f5c
deprecated init_jinja_globals
2011-03-18 09:15:28 +01:00
Armin Ronacher
0bf777ed81
Do not use Date, use Last-Modified. This fixes #164
2011-02-05 17:41:02 +01:00
Dag Odenhall
4a45345fc4
Fix typo in send_file docs
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-20 16:45:49 +01:00
Ivo Danihelka
07688d7b93
Fixed 'schemal' doc typo.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-16 14:29:56 +01:00
Armin Ronacher
ed70b42798
Make sure that windows servers do not allow downloading arbitrary files
2010-12-23 14:15:18 +01:00
Georg Brandl
858806da69
Hint for positioning file pointer correctly before calling send_file().
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-11-08 18:29:09 +01:00
Armin Ronacher
fda14678c0
Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104
2010-08-07 13:36:39 +02:00
jgraeme
549af62290
Fix some typos in the docstrings
2010-08-03 18:07:41 +08:00
Stephane Wirtel
801918603c
Remove an unused function
2010-07-30 05:55:10 +08:00
Armin Ronacher
fee5bdafe8
Code cleanup
2010-07-25 17:34:47 +02:00
Armin Ronacher
90b8df3e4c
Fixed paren in docstring
2010-07-17 13:10:50 +02:00
Armin Ronacher
6fc1492357
Added make_response
2010-07-17 11:36:16 +02:00
Armin Ronacher
f5b8c08284
endpoint is optional for modules. This fixes #86
2010-07-15 14:35:02 +02:00
Armin Ronacher
85ff63c32e
Emit correct date. In theory
2010-07-13 23:52:55 +02:00
Armin Ronacher
ed16ae2183
Always register URL rules. This fixes #81
2010-07-13 23:14:53 +02:00
Armin Ronacher
5e1b1030e8
Added support for automagic OPTIONS
2010-07-12 23:04:24 +02:00
Thomas Schranz
0198313a22
added workaround for json on Google AppEngine
...
Google AppEngine unfortunately does not offer json/simplejson where
we would expect it to be, but since they do offer django and django
comes with simplejson as a frozen dependency, we can import it
from there.
prior art:
http://github.com/facebook/python-sdk/blob/master/src/facebook.py#L50
2010-07-08 00:19:12 +08:00
Armin Ronacher
c34b03e9a6
Documented send_from_directory
2010-07-05 10:25:51 +02:00
Armin Ronacher
ac13deff40
Re-added support for folder with static files, refactored static file sending
2010-07-05 10:23:35 +02:00
Armin Ronacher
b7109865a3
Removed circular dependency by going over a proxy. This is the better solution anyway
2010-07-04 22:57:49 +02:00
Armin Ronacher
8945a97a42
fixed possible security problem in module branch
2010-07-04 20:36:34 +02:00
Armin Ronacher
51a89bf35e
Restored 2.5 compatibility and actual fix for the json problem
2010-07-04 20:07:03 +02:00
Armin Ronacher
80eb6cfffc
Switched to relative imports in the package
2010-07-04 20:00:23 +02:00
Armin Ronacher
2b00ec4017
Small cleanups
2010-07-04 14:19:17 +02:00
Armin Ronacher
a3c9494f67
Moved templating stuff into a separate module
2010-07-04 13:49:58 +02:00
Armin Ronacher
a38dcd5e2b
Added support for loading templates from modules
2010-07-04 13:42:00 +02:00