Armin Ronacher
f80e1d3b5a
Added note on send_file security.
15 years ago
Armin Ronacher
2d87e9bc37
Added support for send_file
15 years ago
Armin Ronacher
745638e774
Added missing decorators for module wide context processors.
...
This fixes #25 .
15 years ago
Armin Ronacher
a921aef6c4
Fixed late binding of url_prefix. This fixes #29 .
15 years ago
florentx
67fc465262
Fix typo, remove useless import, limit lines to 79 columns.
15 years ago
Armin Ronacher
dffb3d091c
Removed useless import and adapted tests
15 years ago
Armin Ronacher
9248a7baca
None responses fail properly now. This fixes #24
15 years ago
Armin Ronacher
75461c1467
Added _external support to url_for
15 years ago
Armin Ronacher
f1603d33f2
Docs mention query args now. This fixes #20
15 years ago
Armin Ronacher
36717b0273
Added support for long running sessions. This closes #16 .
15 years ago
Sebastien Estienne
5c9ef2c44d
the template_filter now expects the parentheses
15 years ago
Sebastien Estienne
a9bb965b6d
add a decorator to add custom template filter
15 years ago
Armin Ronacher
0da39c76e3
More documentation updates :)
15 years ago
Armin Ronacher
c0a9f5d0c4
Documentation update for the flask module support.
15 years ago
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.
15 years ago
Armin Ronacher
2f181e1949
Removed unused package_name attribute
15 years ago
Armin Ronacher
5c52fe980e
Added request/response processing based on modules.
15 years ago
Armin Ronacher
e0148a00c0
Basic module support is working, but does not look very nice.
15 years ago
Armin Ronacher
444e642531
extended URL generation
15 years ago
Armin Ronacher
a862ead5f2
Warn on None responses.
15 years ago
Armin Ronacher
88f671aaae
Another try for #12
15 years ago
florentx
dbe0df756b
Use setdefault() because it sets session.modified correctly.
15 years ago
florentx
3eacc1d068
Use a tuple to store _flashes, and simplify the flask.Request class.
15 years ago
florentx
f014ce29a7
Fix a doc oversight, and revert 5876a8fd
.
15 years ago
florentx
b6e7330539
Use setdefault() because it sets session.modified correctly.
15 years ago
florentx
7cf5a9bf6e
Use a tuple to store _flashes, and simplify the flask.Request class.
15 years ago
florentx
9d340ad747
Fix a doc oversight, and revert 5876a8fd
.
15 years ago
Armin Ronacher
00f87f679c
flask uses 127.0.0.1 as host by default now. stupid chrome.
15 years ago
Armin Ronacher
af3b73f70d
Tiny refactoring
15 years ago
florentx
75057bb411
Slightly faster _tojson_filter.
15 years ago
florentx
3c821a0fa4
Fix typos and remove unused import.
15 years ago
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.
15 years ago
Armin Ronacher
3a1e518657
Fixed typo and added AUTHORS file and license text to docs.
15 years ago
Armin Ronacher
715f64d2af
Some more documentation updates.
15 years ago
Armin Ronacher
06ec917dde
Only escape backslashes if they follow "<" in JSON dumping for
...
templates.
15 years ago
Armin Ronacher
95750b3287
Documented some routing converter possibilities.
15 years ago
cgrinds
5acc491c94
Refactored the @route decorator to use the new add_url_rule method.
...
Tagged add_url_rule with versionadded of 0.2
15 years ago
unknown
3088a9371e
Make it easier to associate a rule, endpoint and view_function
...
This resolves http://github.com/mitsuhiko/flask/issues/issue/11
15 years ago
Armin Ronacher
ade490514d
Fixed a security problem caused by changed simplejson semantics.
...
Notice: this was never in a release version of Flask.
15 years ago
Armin Ronacher
6e2be6a0b3
Added JSON Support and started working on jQuery docs
15 years ago
Armin Ronacher
0770f5c637
Removed two unused imports.
15 years ago
Armin Ronacher
190059c8f0
Added support for macro pulling and documented certain design decisions.
15 years ago
Armin Ronacher
63593d281b
removed unused import
15 years ago
Armin Ronacher
0b9c2b5eb1
removed refactoring leftover
15 years ago
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 .
15 years ago
Armin Ronacher
fb2d2e446b
request_init -> before_request and request_shutdown -> after_request
...
This fixes #9 .
15 years ago
Armin Ronacher
7b5015010b
Preserve the request context in debug mode.
...
This makes it possible to access request information in the interactive
debugger. Closes #8 .
15 years ago
Armin Ronacher
40e0024d7b
Added screenshot of the debugger to Flask docs. Flask now runs from the
...
shell again.
15 years ago
Armin Ronacher
1d8432ebfd
Can't believe I forgot that future import.
15 years ago
Armin Ronacher
2d9bb69272
Flask now runs without the presence of pkg_resources as well.
15 years ago