Armin Ronacher
61d3bbf1d2
Fixed last commit and added test
2013-01-21 17:55:07 +00:00
Armin Ronacher
f1537a9d7a
Always trap proxy exceptions
2013-01-21 17:44:32 +00:00
Kenneth Reitz
ff2e8449ff
2013
2012-12-31 18:00:58 -05:00
Kenneth Reitz
e3e4f4c2b8
2013
2012-12-31 17:55:39 -05:00
Armin Ronacher
ab3d9d12c6
Merge pull request #655 from oliversong/master
...
SQLite doesn't recognize data type "string"
2012-12-27 07:23:30 -08:00
Armin Ronacher
e101655820
Merge pull request #649 from erikrose/doc-typos
...
Fix a typo in the deferred-callbacks docs.
2012-12-27 07:22:25 -08:00
Armin Ronacher
dfdbc00eaf
Merge pull request #653 from methane/patch-1
...
docs/extensiondev: Use `current_app` instead of `self.app`
2012-12-27 07:22:05 -08:00
Armin Ronacher
7ec45c2d02
Merge pull request #654 from untitaker/print_in_cgi2
...
Fixing my own pull request #647
2012-12-27 07:20:39 -08:00
oliversong
cc82feb084
Changing string to text in schema files
2012-12-26 00:05:18 -05:00
Armin Ronacher
2af0ffaef6
Added proxies to template context
2012-12-21 11:47:27 +01:00
Armin Ronacher
1949c4a9ab
flask.g is now on the app context and not the request context
2012-12-21 11:45:42 +01:00
Markus Unterwaditzer
c549e583c4
Fixing my own pull request #647
...
Wrote "stdin" instead of "stdout".
2012-12-19 15:49:13 +01:00
Armin Ronacher
61d43c7f12
Removed unnecessary end-tags and fixed some broken html
2012-12-19 15:46:18 +01:00
INADA Naoki
be0b5196bf
Update docs/extensiondev.rst
...
Use `current_app` instead of `self.app`.
2012-12-13 19:03:54 +09:00
Kenneth Reitz
823bebf13a
Merge pull request #636 from ghost/patch-1
...
Ended your paragraph tag.
2012-12-12 16:18:25 -08:00
Kenneth Reitz
813149677d
Merge pull request #647 from untitaker/print_in_cgi
...
Added hint about print statements in CGI.
2012-12-12 16:06:18 -08:00
Erik Rose
a319516518
Fix a typo in the deferred-callbacks docs.
2012-12-11 14:11:27 -08:00
Markus Unterwaditzer
160aa80781
Added hint about print statements in CGI.
...
Fix #646
2012-12-10 21:56:49 +01:00
Iyra Gaura
be1ed33271
Ended your paragraph tag.
2012-11-17 18:13:14 +00:00
Kenneth Reitz
fedc96c0b9
Merge pull request #609 from MostAwesomeDude/master
...
docs/deploying/wsgi-standalone: Add Twisted Web.
2012-11-15 18:37:35 -08:00
Kenneth Reitz
2fabc65505
Merge pull request #624 from soulseekah/patch-1
...
missing ' in templating example
2012-11-15 17:58:36 -08:00
Kenneth Reitz
4515b838ea
Merge pull request #634 from maxcountryman/master
...
correcting typo
2012-11-15 17:56:45 -08:00
Max Countryman
b6dac3812f
really fixing it this time
2012-11-12 17:00:51 -08:00
Max Countryman
30a51f2573
correcting typo
2012-11-12 16:58:38 -08:00
Kenneth Reitz
692a5c2588
Merge pull request #626 from maxcountryman/patch-1
...
correcting typo
2012-11-05 15:51:04 -08:00
Max Countryman
caefb67ccd
correcting typo
2012-11-05 15:31:07 -08:00
soulseekah
3c54f30c2b
missing ' in example
...
Results in SyntaxError: EOL while scanning string literal
2012-11-03 18:06:23 +06:00
Armin Ronacher
2b885ce4dc
Added better error reporting for unicode errors in sessions
2012-10-30 14:47:17 +00:00
Armin Ronacher
8339cb3508
Added support for unicode json dumping. This fixes #535
2012-10-18 00:48:15 +01:00
Armin Ronacher
5583fe8acf
Merge pull request #613 from untitaker/issue611
...
Fix #611
2012-10-17 16:37:16 -07:00
Armin Ronacher
f06c80a215
Merge pull request #614 from mizhi/master
...
Minor fix to views.py testsuite.
2012-10-17 16:36:48 -07:00
Mitchell Peabody
275f830c83
There was a duplicated call to url_adapter.build(...)
...
try:
rv = url_adapter.build(endpoint, values, method=method,
force_external=external)
except BuildError, error:
# We need to inject the values again so that the app callback can
# deal with that sort of stuff.
values['_external'] = external
values['_anchor'] = anchor
values['_method'] = method
return appctx.app.handle_url_build_error(error, endpoint, values)
rv = url_adapter.build(endpoint, values, method=method,
force_external=external)
If no exception was raised for url_adapter.build(...) then the same method call
would be made after the try...except block. This is unnecessary.
2012-10-17 11:56:39 -04:00
Mitchell Peabody
a15c6c569a
The builder on github is using python 2.5, the views.py testsuite uses the with
...
statement, and thus flask/testsuite/views.py requires
from __future__ import with_statement
at the beginning.
2012-10-16 16:57:57 -04:00
Markus Unterwaditzer
7ee40e9348
Fix #611
...
Minor but confusing typo in tutorial.
2012-10-16 21:56:51 +02:00
Corbin Simpson
f6a5a7a0cc
docs/deploying/wsgi-standalone: Add Twisted Web.
...
I've been meaning to do this for quite some time, but I never got around to
it. Hopefully this is neutral and useful enough to be included in the main
docs.
2012-10-11 14:05:01 -07:00
Armin Ronacher
c2e5799879
Updated examples to new sqlite patterns and added new section to appcontext docs
2012-10-09 14:02:32 -05:00
Armin Ronacher
3e9f4e254b
Updated a comment that was misleading with recent flask sqlalchemy installations
2012-10-08 07:05:32 +02:00
Armin Ronacher
f34c028125
Added template tests and made config a true global
2012-10-08 07:01:49 +02:00
Armin Ronacher
5e88c8184d
Removed deprecated and awkward flask.session module
2012-10-08 06:48:13 +02:00
Armin Ronacher
05c6502cbd
Let json.* work even without app on the stack and added tests
2012-10-07 23:41:41 +02:00
Armin Ronacher
b146d8277a
Added wrapper module around simplejson/json for much simplified customization.
2012-10-07 23:31:48 +02:00
Armin Ronacher
301e244df3
Consistent use of encoding naming
2012-10-07 22:59:52 +02:00
Armin Ronacher
3afcbf160e
Extra safety for safe_join. Does not look exploitable but better safe than sorry. Fixes #501
2012-10-07 22:58:41 +02:00
Armin Ronacher
f701f69947
Documented new error case
2012-10-07 17:13:12 +02:00
Armin Ronacher
661ee54bc2
Raise exceptions if a function is overridden by a new endpoint. This fixes #570
2012-10-07 17:12:16 +02:00
Armin Ronacher
e2b3f07d7c
Stop the joinspam
2012-10-07 16:16:21 +02:00
Armin Ronacher
6e4015d624
Removed tox file
2012-10-07 16:08:13 +02:00
Armin Ronacher
b6f37c40f8
Updated travis config for notifications
2012-10-07 16:08:00 +02:00
Armin Ronacher
f8b6033a3b
Added a workaround for samefile. This fixes #600
2012-10-07 16:04:31 +02:00
Armin Ronacher
3c1d7758d5
Removed dev tag from setup.cfg. Fixes #596
2012-10-07 15:58:21 +02:00