Armin Ronacher
a921aef6c4
Fixed late binding of url_prefix. This fixes #29 .
2010-05-04 11:41:54 +02:00
Armin Ronacher
720bede150
Merge branch 'master' into module-support
2010-05-03 20:04:38 +02:00
florentx
67fc465262
Fix typo, remove useless import, limit lines to 79 columns.
2010-05-04 02:03:20 +08:00
Armin Ronacher
9da5795d79
Merge branch 'master' into module-support
2010-05-03 20:00:42 +02:00
Armin Ronacher
dffb3d091c
Removed useless import and adapted tests
2010-05-03 14:39:16 +02:00
Armin Ronacher
ce53d10236
Merge branch 'master' into module-support
2010-05-03 13:08:00 +02:00
Armin Ronacher
9248a7baca
None responses fail properly now. This fixes #24
2010-05-03 13:07:30 +02:00
Armin Ronacher
36f659b82b
Merge branch 'master' into module-support
...
Conflicts:
flask.py
2010-05-02 19:12:00 +02:00
Armin Ronacher
75461c1467
Added _external support to url_for
2010-05-02 19:10:44 +02:00
Armin Ronacher
eeb0e94951
Fixed merging confict
2010-05-02 12:09:31 +02:00
Armin Ronacher
f1603d33f2
Docs mention query args now. This fixes #20
2010-05-02 11:36:42 +02:00
Armin Ronacher
36717b0273
Added support for long running sessions. This closes #16 .
2010-04-27 14:32:09 +02:00
Armin Ronacher
36e24299e3
Merge branch 'master' into module-support
2010-04-25 14:54:33 +02:00
Sebastien Estienne
5c9ef2c44d
the template_filter now expects the parentheses
2010-04-25 20:51:27 +08:00
Sebastien Estienne
a9bb965b6d
add a decorator to add custom template filter
2010-04-25 20:51:26 +08:00
Armin Ronacher
0da39c76e3
More documentation updates :)
2010-04-24 18:30:38 +02:00
Armin Ronacher
5144d3b65a
Merge branch 'master' into module-support
2010-04-24 17:47:24 +02:00
Armin Ronacher
c0a9f5d0c4
Documentation update for the flask module support.
2010-04-24 17:35:25 +02:00
Armin Ronacher
67f4b0f315
Modules are now instanciated with the package name.
...
This makes it possible to load resources from the folder the module is
located in.
2010-04-24 17:07:16 +02:00
Armin Ronacher
2f181e1949
Removed unused package_name attribute
2010-04-23 17:16:59 +02:00
Armin Ronacher
5c52fe980e
Added request/response processing based on modules.
2010-04-23 17:10:22 +02:00
Armin Ronacher
e0148a00c0
Basic module support is working, but does not look very nice.
2010-04-23 17:01:20 +02:00
Armin Ronacher
444e642531
extended URL generation
2010-04-23 16:44:49 +02:00
Armin Ronacher
a862ead5f2
Warn on None responses.
2010-04-23 16:30:04 +02:00
Armin Ronacher
88f671aaae
Another try for #12
2010-04-23 16:04:54 +02:00
florentx
dbe0df756b
Use setdefault() because it sets session.modified correctly.
2010-04-21 16:36:20 +08:00
florentx
3eacc1d068
Use a tuple to store _flashes, and simplify the flask.Request class.
2010-04-21 16:36:19 +08:00
florentx
f014ce29a7
Fix a doc oversight, and revert 5876a8fd
.
2010-04-21 16:36:19 +08:00
Armin Ronacher
00f87f679c
flask uses 127.0.0.1 as host by default now. stupid chrome.
2010-04-20 21:44:52 +02:00
Armin Ronacher
af3b73f70d
Tiny refactoring
2010-04-20 19:03:18 +02:00
florentx
75057bb411
Slightly faster _tojson_filter.
2010-04-20 18:44:54 +02:00
florentx
3c821a0fa4
Fix typos and remove unused import.
2010-04-20 18:40:58 +02:00
Armin Ronacher
9f6bc93e4d
Fixed XSS problem by escaping all slashes in JSON.
...
This also probes simplejson first to figure out if it escapes slashes
which it did in earlier versions.
2010-04-20 15:12:16 +02:00
Armin Ronacher
3a1e518657
Fixed typo and added AUTHORS file and license text to docs.
2010-04-20 13:29:54 +02:00
Armin Ronacher
715f64d2af
Some more documentation updates.
2010-04-20 13:01:10 +02:00
Armin Ronacher
06ec917dde
Only escape backslashes if they follow "<" in JSON dumping for
...
templates.
2010-04-19 23:54:38 +02:00
Armin Ronacher
95750b3287
Documented some routing converter possibilities.
2010-04-19 23:49:02 +02:00
cgrinds
5acc491c94
Refactored the @route decorator to use the new add_url_rule method.
...
Tagged add_url_rule with versionadded of 0.2
2010-04-20 01:33:12 +08:00
unknown
3088a9371e
Make it easier to associate a rule, endpoint and view_function
...
This resolves http://github.com/mitsuhiko/flask/issues/issue/11
2010-04-20 01:33:12 +08:00
Armin Ronacher
ade490514d
Fixed a security problem caused by changed simplejson semantics.
...
Notice: this was never in a release version of Flask.
2010-04-19 18:51:04 +02:00
Armin Ronacher
6e2be6a0b3
Added JSON Support and started working on jQuery docs
2010-04-19 15:39:07 +02:00
Armin Ronacher
0770f5c637
Removed two unused imports.
2010-04-18 23:37:03 +02:00
Armin Ronacher
190059c8f0
Added support for macro pulling and documented certain design decisions.
2010-04-18 15:44:06 +02:00
Armin Ronacher
63593d281b
removed unused import
2010-04-18 14:39:27 +02:00
Armin Ronacher
0b9c2b5eb1
removed refactoring leftover
2010-04-17 14:32:52 +02:00
Armin Ronacher
5310fc3822
Session falls back to a dummy object now if secret_key is missing.
...
This makes it possible to still read-only access the empty session but
requires the secret key to be set for write access. The error message
raised explains that. This closes #10 .
2010-04-17 14:10:47 +02:00
Armin Ronacher
fb2d2e446b
request_init -> before_request and request_shutdown -> after_request
...
This fixes #9 .
2010-04-16 11:03:16 +02:00
Armin Ronacher
7b5015010b
Preserve the request context in debug mode.
...
This makes it possible to access request information in the interactive
debugger. Closes #8 .
2010-04-16 02:27:37 +02:00
Armin Ronacher
40e0024d7b
Added screenshot of the debugger to Flask docs. Flask now runs from the
...
shell again.
2010-04-16 02:14:54 +02:00
Armin Ronacher
1d8432ebfd
Can't believe I forgot that future import.
2010-04-14 17:08:38 +02:00