Commit graph

1369 commits

Author SHA1 Message Date
Paulo Poiati
b2aae044ca Flash messages signals
If we send a signal when a template is rendered why not when a message
is flashed? One real world use case is in tests, this signal should make
flash messages expectation easier to implement.
2013-02-28 01:19:52 -03:00
Armin Ronacher
bfeee75696 Changed session cookie defaults to work better with google chrome 2013-01-29 19:31:45 +00:00
Armin Ronacher
6bd0080575 Added workaround for Chrome cookies 2013-01-28 15:08:54 +00:00
Armin Ronacher
6ab569b0e3 Added note on teardown in debug mode. Fixes #661 2013-01-27 00:56:01 +00:00
Armin Ronacher
3b393f89f6 Added template_global, fixes #657 2013-01-27 00:46:19 +00:00
Armin Ronacher
05f162329d Added celery pattern 2013-01-27 00:38:25 +00:00
Kenneth Reitz
3fdcefbcda Merge pull request #625 from soulseekah/master
Use sqlite3.Row factory in Flaskr (#588)
2013-01-24 20:22:02 -08:00
Kenneth Reitz
17fc38c397 Merge pull request #617 from tony/jquery-example-iteration1
jQuery example: submit on enter, focus field on load, ajax to callback function, " to '.
2013-01-24 20:21:31 -08:00
Kenneth Reitz
777c0c56b5 Merge pull request #630 from untitaker/doc_fix_appctx
Fix #623
2013-01-24 20:13:30 -08:00
Kenneth Reitz
1e14783abd Merge pull request #665 from trungly/deferred_callbacks_fix
Update docs/patterns/deferredcallbacks.rst
2013-01-24 19:02:30 -08:00
Kenneth Reitz
94a9b9665b Merge pull request #660 from baijum/docs
WSGI specification has finalized for Python 3
2013-01-24 19:01:43 -08:00
Kenneth Reitz
b975dd4667 Merge pull request #667 from maxcountryman/secure-url-for
adding `_scheme` parameter to `url_for`
2013-01-24 18:57:45 -08:00
Kenneth Reitz
6fa449de00 Merge pull request #669 from schneems/master
update README to markdown
2013-01-24 18:55:21 -08:00
schneems
fb6dee3639 update README to markdown 2013-01-24 17:52:16 -06:00
Max Countryman
b5069d07a2 adding _scheme parameter to url_for
In order to better facilitate generation of URLs that make use of an HTTPS URL
scheme this patch adds a parameter with this specific purpose in mind. To
achieve this we explicitly pass in a param, `_scheme='https'`, and then set the
`url_scheme` attribute of our `MapAdapter` instance appropriately.

Importantly, `_external=True` must be set in order for this to work properly.
As such, failure to do so results in a `ValueError` being raised.
2013-01-21 16:18:46 -08:00
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
Trung Ly
b4fc4412e8 Update docs/patterns/deferredcallbacks.rst
fix example code in Deferred Callback docs: don't set response upon executing callback
2013-01-14 14:53:06 -08:00
Markus Unterwaditzer
2b30900e2c Fix #623 2013-01-11 16:52:38 +01:00
Baiju Muthukadan
7a3d74f19f WSGI specification has finalized for Python 3
Mention Python 3.x is not supported
2013-01-04 14:40:08 +05:30
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
Gennady Kovshenin
82b29c09ac Use sqlite3.Row factory in Flaskr
As pointed out in issue #588 sqlite3.Row should be used instead of
using casting to dict(). Also altered the "Easy Querying" Patterns
example to include the more correct way to return rows as dicts.
Did not touch Tutorial examples ("Views"), as these are not up to
date with the current Flaskr code, and the "Show Entries" section
points out the "Easy Querying" section on how to convert to a
dict().
2012-11-05 06:00:46 +06: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
Tony Narlock
af76dd0fd4 Highlight first field on page load, enter sends submit request, double quote to single quote. Submission focuses first field again 2012-10-19 12:20:37 -04: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