Commit graph

56 commits

Author SHA1 Message Date
Armin Ronacher
498db01310 Merge branch 'master' of github.com:mitsuhiko/flask 2010-07-25 17:34:55 +02:00
Armin Ronacher
fee5bdafe8 Code cleanup 2010-07-25 17:34:47 +02:00
Ali Afshar
a993a314fe Removed unused import 2010-07-25 23:27:14 +08:00
Armin Ronacher
7680d52f42 Added support for subdomain bound modules 2010-07-23 13:29:21 +01:00
Armin Ronacher
2912ff6f6e Added some whitespace 2010-07-18 20:44:07 +02:00
Armin Ronacher
27d28dcef4 Added Session again to the public API because existing code might import it 2010-07-18 20:43:50 +02:00
Armin Ronacher
405d4492e4 Documented more changes 2010-07-17 15:56:58 +02:00
Armin Ronacher
b6cae028f7 Removed useless instanciation 2010-07-17 15:53:32 +02:00
Armin Ronacher
e5008386b1 Added docs on use_evalex. This fixes #90 2010-07-17 15:41:05 +02:00
Armin Ronacher
a3a72e2d8d Added middlewares to quickstart. This fixes #88 2010-07-17 15:39:24 +02:00
Armin Ronacher
91e9632a37 Moved wsgi_app down to a more logical location 2010-07-17 15:26:35 +02:00
Armin Ronacher
e0712b47c6 Added support for signals 2010-07-17 14:39:28 +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
1202996c63 Fixed a template loading bug 2010-07-15 18:10:26 +02:00
Armin Ronacher
f5b8c08284 endpoint is optional for modules. This fixes #86 2010-07-15 14:35:02 +02:00
Armin Ronacher
b1790cca55 Added MAX_CONTENT_LENGTH config key 2010-07-14 10:47:57 +02:00
Armin Ronacher
85ff63c32e Emit correct date. In theory 2010-07-13 23:52:55 +02:00
Armin Ronacher
aa3d8398fd Config is now available in templates, context processors no longer override keys 2010-07-13 23:30:29 +02:00
Armin Ronacher
ed16ae2183 Always register URL rules. This fixes #81 2010-07-13 23:14:53 +02:00
Armin Ronacher
6e52355eb3 tiny performance improvement 2010-07-12 23:58:43 +02:00
Armin Ronacher
5e1b1030e8 Added support for automagic OPTIONS 2010-07-12 23:04:24 +02:00
Armin Ronacher
a532568680 Merge branch 'master' of github.com:mitsuhiko/flask 2010-07-12 18:05:16 +02:00
Armin Ronacher
d12d73263f Reverse order of execution of post-request handlers. This fixes #82 2010-07-12 18:04:10 +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
florentx
16e4d5a655 Various typos. 2010-07-07 02:09:07 +08:00
Armin Ronacher
0a93c552cc Fixed a template lookup error 2010-07-06 19:24:50 +02:00
Armin Ronacher
77743a5f15 Some documentation improvements 2010-07-06 12:33:39 +02:00
Armin Ronacher
da514b3984 Respect the domain for the session cookie. This fixes #79 2010-07-06 10:42:36 +02:00
Armin Ronacher
77e2fbf249 Added a separate logging module 2010-07-05 10:37:44 +02:00
Armin Ronacher
e5d8202038 Added a docstring 2010-07-05 10:32:06 +02:00
Armin Ronacher
df3f8940c3 Added separate module for testing 2010-07-05 10:31:18 +02: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
f1cde5bbfc Added more versionadded directives 2010-07-04 20:11:54 +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
9e1111c2fb Fixed JSON availability test. This fixes #77 2010-07-04 17:21:13 +02:00
Armin Ronacher
2b00ec4017 Small cleanups 2010-07-04 14:19:17 +02:00
Armin Ronacher
b551f15b22 Restored 2.5 compatibility{ 2010-07-04 14:17:29 +02:00
Armin Ronacher
d67a36cbdb Added a testcase for the improved module support 2010-07-04 14:12:29 +02:00
Armin Ronacher
665fa2a32b More refactoring and moving stuff around 2010-07-04 14:01:56 +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
Armin Ronacher
15012af700 Refactored static folder registration 2010-07-04 12:48:37 +02:00
Armin Ronacher
fedc06c295 dropped pkg_resources 2010-07-04 12:14:00 +02:00
Armin Ronacher
532347d6ad phased out shared data middleware in flask for send_file 2010-07-04 12:06:29 +02:00
Armin Ronacher
d0c6ad7d28 Added support for conditional responses to send_file 2010-07-04 11:56:08 +02:00