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
Armin Ronacher
ca520fb7e4
Static files are active in the WSGI app now, not just the server.
15 years ago
Armin Ronacher
a01e8b49ca
Fixed a documentation error and implemented template context processors.
15 years ago
Armin Ronacher
03148dba6b
Added testing documentation
15 years ago
Armin Ronacher
f2dc38cda6
Added tests for minitwit. Testing with Flask is awesome
15 years ago
Armin Ronacher
05f36c7f7e
Heavily improved documentation
15 years ago
Armin Ronacher
3d719f35f5
Added docs, fixed some bugs I introduced last commit
15 years ago
Armin Ronacher
7d6b8e9ab3
Documented non-decorator uses of registation.
15 years ago
Armin Ronacher
4aa76212d1
Updated documentation. Starting to look pretty good
15 years ago
Armin Ronacher
3b36bef2e6
Improved documentation, added a contextmanager for request binding
15 years ago
Armin Ronacher
4ec7d2a0d8
Started working on documentation.
...
So far just the stable parts :)
15 years ago
Armin Ronacher
33850c0ebd
Initial checkin of stuff that exists so far.
15 years ago