]>
git.ipfire.org Git - thirdparty/tornado.git/log
Andrew Rabert [Sat, 20 Aug 2016 15:25:21 +0000 (11:25 -0400)]
Fix typos
Ben Darnell [Sat, 30 Apr 2016 15:50:24 +0000 (17:50 +0200)]
Merge pull request #1704 from thinkerou/master
Add shebang for webspider.py
thinkerou [Sat, 30 Apr 2016 00:28:10 +0000 (08:28 +0800)]
Add shebang for webspider.py
Ben Darnell [Sun, 24 Apr 2016 18:39:10 +0000 (14:39 -0400)]
Merge pull request #1689 from harboecp/master
Avoid uncaught exception when _xsrf argument could not be decoded
Ben Darnell [Sun, 24 Apr 2016 16:43:14 +0000 (12:43 -0400)]
Add type annotations to util.py
Mypy now reports "15% imprecise", down from 25%.
Ben Darnell [Sun, 24 Apr 2016 16:17:21 +0000 (12:17 -0400)]
Add .mypy_cache to gitignore
Ben Darnell [Sun, 24 Apr 2016 14:04:15 +0000 (10:04 -0400)]
Remove some no-longer-necessary mypy workarounds
Made obsolete by python/mypy#1010
Ben Darnell [Sun, 24 Apr 2016 00:11:54 +0000 (20:11 -0400)]
Merge pull request #1699 from bdarnell/header-types
Begin to fix type confusion in HTTPHeaders.
Ben Darnell [Sat, 23 Apr 2016 23:34:23 +0000 (19:34 -0400)]
Begin to fix type confusion in HTTPHeaders.
Values in HTTPHeaders were typed inconsistently: the class itself
assumed that values were of type str, while many callers assumed they
were bytes. Since headers are practically restricted to ascii, this
would work on python 2 but fail when certain combinations were
encountered on python 3 (notably the combination of GzipContentEncoding
with multiple preexisting Vary headers).
This commit adds a test and fixes the bug, and also adds enough type
annotations that mypy was able to report errors in the old incorrect
code.
Fixes #1670
Ben Darnell [Wed, 20 Apr 2016 02:37:15 +0000 (22:37 -0400)]
Merge pull request #1694 from zakkie/fix/doc-string
options.parse_config_file also enable tornado.log.LogFormatter
Akihiro Yamazaki [Tue, 19 Apr 2016 05:41:58 +0000 (14:41 +0900)]
fix Formatter description in docstring
Ben Darnell [Sun, 17 Apr 2016 17:01:41 +0000 (13:01 -0400)]
More type:ignore comments for `mypy --py2`
harboecp [Tue, 12 Apr 2016 13:14:01 +0000 (15:14 +0200)]
Avoid uncaught exception when _xsrf argument could not be decoded.
This is primarily to avoid "TypeError: a bytes-like object is required, not 'NoneType" in "check_xsrf_cookie"
Ben Darnell [Mon, 11 Apr 2016 00:59:58 +0000 (20:59 -0400)]
Add type: ignore comments to make mypy happy
Ben Darnell [Sun, 10 Apr 2016 19:53:45 +0000 (15:53 -0400)]
Fix nearly all flake8 warnings except long lines.
Ben Darnell [Sun, 10 Apr 2016 19:43:51 +0000 (15:43 -0400)]
Remove unused import and obsolete comment
Ben Darnell [Sun, 10 Apr 2016 19:42:50 +0000 (15:42 -0400)]
Run autopep8
Ben Darnell [Sun, 10 Apr 2016 19:41:29 +0000 (15:41 -0400)]
Mass update of dependency versions
Ben Darnell [Sun, 10 Apr 2016 19:27:33 +0000 (15:27 -0400)]
Switch to mypy-friendly conditional imports throughout
Ben Darnell [Sat, 9 Apr 2016 20:50:48 +0000 (16:50 -0400)]
Merge pull request #1648 from zhicheng/master
render() should raise an error when finish() already called
Ben Darnell [Sun, 3 Apr 2016 20:46:03 +0000 (16:46 -0400)]
options: add __file__ to config file parsing
Fixes #1666
Ben Darnell [Fri, 1 Apr 2016 23:28:04 +0000 (19:28 -0400)]
Clarify comment in ioloop
"update" could be read as meaning `dict.update`, so use "modify" instead. (the only actual modification is a removal in `remove_handler`)
Ben Darnell [Thu, 31 Mar 2016 20:57:26 +0000 (16:57 -0400)]
Merge pull request #1678 from JZQT/master
Modify an inappropriate comments for tornado.httpclient.AsyncHTTPClient
JZQT [Thu, 31 Mar 2016 15:30:01 +0000 (23:30 +0800)]
Modify an inappropriate comments for tornado.httpclient.AsyncHTTPClient
Ben Darnell [Thu, 31 Mar 2016 12:27:40 +0000 (08:27 -0400)]
Merge pull request #1677 from CaselIT/patch-1
Added missing % to format a string.
Federico Caselli [Thu, 31 Mar 2016 11:59:31 +0000 (13:59 +0200)]
Added missing % to format a string.
Ben Darnell [Fri, 25 Mar 2016 16:13:36 +0000 (17:13 +0100)]
Merge pull request #1674 from splinterific/patch-1
Updated Facebook permissions
Mark Preston [Fri, 25 Mar 2016 14:08:17 +0000 (14:08 +0000)]
Updated Facebook permissions
A. Jesse Jiryu Davis [Sun, 13 Mar 2016 17:11:05 +0000 (13:11 -0400)]
Merge pull request #1664 from bretsko/master
fixed broken link (anchor)
Oleksandr Bretsko [Sun, 13 Mar 2016 16:59:17 +0000 (11:59 -0500)]
fixed broken link (anchor)
Ben Darnell [Sun, 13 Mar 2016 03:38:52 +0000 (22:38 -0500)]
Merge pull request #1662 from malcm/patch-1
Verifying Facebook Graph API Calls
Martin Malchow [Fri, 11 Mar 2016 13:29:51 +0000 (14:29 +0100)]
fix missing comma
malcm [Fri, 11 Mar 2016 13:11:45 +0000 (14:11 +0100)]
Verifying Facebook Graph API Calls
Verification with appsecret_proof can be used: See https://developers.facebook.com/docs/graph-api/securing-requests
A. Jesse Jiryu Davis [Fri, 4 Mar 2016 02:13:06 +0000 (21:13 -0500)]
Merge branch 'tao12345666333-hotfix-doc-web-current-user'
* tao12345666333-hotfix-doc-web-current-user:
fix tornado/web.py #L1075 current_user docstring example
TaoBeier [Thu, 3 Mar 2016 14:39:36 +0000 (22:39 +0800)]
fix tornado/web.py #L1075 current_user docstring example
The example has unexpected indent.
Zhicheng Wei [Mon, 22 Feb 2016 08:02:01 +0000 (16:02 +0800)]
render() should raise an error when finish() already called
Ben Darnell [Mon, 22 Feb 2016 03:13:15 +0000 (22:13 -0500)]
Merge pull request #1647 from jonathansp/improving-coverage
Add a test for HTTPError.__str__ when it uses httputils.
Jonathan Prates [Fri, 19 Feb 2016 18:52:53 +0000 (16:52 -0200)]
Add a test for HTTPError.__str__ when it uses httputils.
Ben Darnell [Mon, 15 Feb 2016 00:04:27 +0000 (19:04 -0500)]
Fix HTTP1Connection for responses without content-length
Fixes #1598
Ben Darnell [Sun, 14 Feb 2016 19:00:00 +0000 (14:00 -0500)]
Handle non-ascii headers correctly in curl_httpclient.
Fixes #1608
Ben Darnell [Sun, 14 Feb 2016 03:30:50 +0000 (22:30 -0500)]
Document and test `{#!` syntax.
Fixes #1606
Ben Darnell [Sun, 14 Feb 2016 02:49:33 +0000 (21:49 -0500)]
Update docs for re_unescape
Ben Darnell [Sun, 14 Feb 2016 02:43:14 +0000 (21:43 -0500)]
Merge pull request #1619 from afg984/urlspec-reverse-unescape
reverse_url should unescape regex string
Ben Darnell [Sun, 14 Feb 2016 02:15:34 +0000 (21:15 -0500)]
Define `httpclient.HTTPError.__repr__`
This avoids stack overflow in the default `__repr__`.
Fixes #1624
Ben Darnell [Sun, 14 Feb 2016 00:40:49 +0000 (19:40 -0500)]
Add defaults to template.ParseError arguments.
Fixes #1631
Ben Darnell [Sun, 14 Feb 2016 00:11:41 +0000 (19:11 -0500)]
Improve grammar in docs
Fixes #1629
Ben Darnell [Sun, 14 Feb 2016 00:09:07 +0000 (19:09 -0500)]
Improve docs of URLSpec capturing groups
Inspired by https://groups.google.com/d/msg/python-tornado/eQ3wyusHCio/4eVVANYxAAAJ
Ben Darnell [Mon, 8 Feb 2016 01:30:14 +0000 (20:30 -0500)]
Add a test for path arguments in websockets.
Jan van Hellemond [Sat, 6 Feb 2016 14:13:04 +0000 (15:13 +0100)]
Added SVG to compressible mime types
This adds the mime type `image/svg+xml` to the whitelist of compressible mime types for the tornado.web.GZipContentEncoding class.
SVG images are served with the mime type `image/svg+xml`, but are not compressed by the GZipContentEncoding transform. My first thought was to add all mime types ending with `+xml`, but that might need a bit more research.
Ben Darnell [Sat, 16 Jan 2016 22:07:48 +0000 (17:07 -0500)]
Move towards mypy-friendly patterns.
This change eliminates warnings in several of Tornado's lower-level
modules (although there's not much actual type checking yet).
afg [Tue, 5 Jan 2016 16:43:20 +0000 (00:43 +0800)]
re_unescape with a much simpler method; raise TypeError on invalid input
Ben Darnell [Thu, 31 Dec 2015 22:56:58 +0000 (17:56 -0500)]
Merge pull request #1621 from bheesham/dnf
Update hints for popular operating systems.
Ben Darnell [Thu, 31 Dec 2015 22:34:57 +0000 (17:34 -0500)]
Merge pull request #1615 from ColorFuzzy/master
Differentiate HTTPError(599, "Timeout") raised by SimpleAsyncHTTPClient
Ben Darnell [Thu, 31 Dec 2015 18:56:03 +0000 (13:56 -0500)]
Merge pull request #1604 from liaoxiaorong/master
httpclient: raise ValueError if given HTTPRequest and kwargs
Bheesham Persaud [Tue, 29 Dec 2015 22:15:35 +0000 (17:15 -0500)]
Update hints for popular operating systems.
Fedora now uses `dnf`.
afg [Mon, 28 Dec 2015 06:06:56 +0000 (14:06 +0800)]
reverse_url should unescape regex string
liaoxiaorong [Tue, 22 Dec 2015 04:18:38 +0000 (12:18 +0800)]
raise ValueError if supply both a request object and **kwargs
Color Fuzzy [Tue, 22 Dec 2015 03:26:04 +0000 (11:26 +0800)]
replace BlockingResolver with Resolver and update timeout value because of resolve never completes
Color Fuzzy [Tue, 22 Dec 2015 01:44:47 +0000 (09:44 +0800)]
refractor test_connect_timeout with a never finished future
Color Fuzzy [Sat, 19 Dec 2015 19:34:07 +0000 (03:34 +0800)]
add more detailed information to HTTP Timeout error raised by SimpleAsyncHTTPClient
Ben Darnell [Fri, 18 Dec 2015 05:04:03 +0000 (00:04 -0500)]
Merge pull request #1599 from emehrkay/patch-1
Update options.py
liaoxiaorong [Mon, 14 Dec 2015 11:15:03 +0000 (19:15 +0800)]
make kwargs always work in AsyncHTTPClient.fetch()
A. Jesse Jiryu Davis [Tue, 8 Dec 2015 22:34:09 +0000 (17:34 -0500)]
Merge pull request #1600 from dinever/master
Use super() to call super "__init__()"
dinever [Tue, 8 Dec 2015 05:37:43 +0000 (00:37 -0500)]
Use super() to call super "__init__()"
Ben Darnell [Tue, 8 Dec 2015 05:14:38 +0000 (00:14 -0500)]
Fix logging when running tests with twisted installed.
Mark Henderson [Tue, 8 Dec 2015 04:27:47 +0000 (23:27 -0500)]
Update options.py
Updated verbiage.
Mark Henderson [Mon, 7 Dec 2015 21:55:37 +0000 (16:55 -0500)]
Update options.py
Mark Henderson [Mon, 7 Dec 2015 21:35:52 +0000 (16:35 -0500)]
Update options.py
It is unclear in the documentation what tornado.options.parse_config_file does and how it works. I added a little text to the copy that should clarify its purpose.
Ben Darnell [Tue, 24 Nov 2015 10:15:47 +0000 (11:15 +0100)]
Merge pull request #1593 from Hardtack/patch-1
Use super() to call super "__init__()"
GunWoo Choi [Tue, 24 Nov 2015 05:12:07 +0000 (14:12 +0900)]
Use super() to call super "__init__()"
Calling super method by Request.__init__(self) cannot handle MRO properly.
Ben Darnell [Mon, 23 Nov 2015 10:53:44 +0000 (11:53 +0100)]
Merge pull request #1591 from marrrvin/tcp-server-bind-reuse_port
Add reuse_port flag to TCPServer.bind method
Sergey Orlov [Sun, 22 Nov 2015 11:35:04 +0000 (14:35 +0300)]
Add reuse_port flag to TCPServer.bind method
Ben Darnell [Sat, 21 Nov 2015 16:33:02 +0000 (17:33 +0100)]
Merge pull request #1587 from hschachn/patch-1
Missing hint in documentation
A. Jesse Jiryu Davis [Fri, 20 Nov 2015 14:04:29 +0000 (09:04 -0500)]
Merge pull request #1586 from mivade/versionchanged_docfix
Correct version change in Lock docstring
Hermann Schachner [Fri, 20 Nov 2015 12:59:58 +0000 (13:59 +0100)]
Missing hint in documentation
I did not realize that RequestHandler.initialize() is called before every single request.
For me, 'subclass initialization' suggest that this function were called only once for each subclass definition.
(Seems like I am not the only one: http://stackoverflow.com/questions/
15199028 /does-initialize-in-tornado-web-requesthandler-get-called-every-time-for-a-reques)
Michael V. DePalatis [Fri, 20 Nov 2015 11:20:25 +0000 (12:20 +0100)]
Correct version change in Lock docstring
Ben Darnell [Sat, 14 Nov 2015 17:09:03 +0000 (12:09 -0500)]
httpclient: Document that HTTPError is not the only possible error
Ben Darnell [Thu, 12 Nov 2015 01:14:02 +0000 (20:14 -0500)]
Merge pull request #1582 from minrk/free-list-on-fail
CurlAsyncHTTPClient: free_list starvation if setup fails
Min RK [Wed, 11 Nov 2015 13:32:00 +0000 (14:32 +0100)]
test failure to set up curl http requests
ensure that it doesn't starve free curl client list
Min RK [Wed, 11 Nov 2015 12:22:08 +0000 (13:22 +0100)]
CurlAsyncHTTPClient: free_list starvation if setup fails
If `_curl_setup_request` fails,
the failing curl instance would be permanently excluded from free_list,
because `_finish` will never be called.
Once this has happens `max_clients` times,
no future request will ever complete.
Ben Darnell [Sat, 7 Nov 2015 22:23:40 +0000 (17:23 -0500)]
Merge pull request #1579 from felixonmars/monotonic
Add monotonic as an alternative to Monotime
Felix Yan [Sat, 7 Nov 2015 05:53:09 +0000 (13:53 +0800)]
Add monotonic as an alternative to Monotime
Ben Darnell [Sat, 7 Nov 2015 02:09:22 +0000 (21:09 -0500)]
Merge pull request #1578 from bdarnell/streamline-travis
Streamline travis-ci build.
Ben Darnell [Sat, 7 Nov 2015 01:03:18 +0000 (20:03 -0500)]
Streamline travis-ci build.
Instead of running a DEPS=false version of every test, just run one
test environment per version and use a separate virtualenv for basic
tests in the DEPS=false case.
Ben Darnell [Sat, 7 Nov 2015 00:55:34 +0000 (19:55 -0500)]
Merge pull request #1568 from chrisseto/patch-2
Cast start_line.code to an integer
Ben Darnell [Sat, 7 Nov 2015 00:55:18 +0000 (19:55 -0500)]
Merge pull request #1576 from ewang/master
Override __setitem__ in tornado.options
Ben Darnell [Sat, 7 Nov 2015 00:54:48 +0000 (19:54 -0500)]
Merge pull request #1574 from macro/master
Fixes #1573: Use 127.0.0.1 when binding test server socket
Ben Darnell [Sat, 7 Nov 2015 00:52:29 +0000 (19:52 -0500)]
Merge pull request #1477 from bdarnell/drop-26
Drop support for Python 2.6 and 3.2
Ben Darnell [Sun, 25 Oct 2015 15:44:06 +0000 (11:44 -0400)]
Remove the u() function and a few uses the script missed.
Ben Darnell [Sun, 25 Oct 2015 15:25:38 +0000 (11:25 -0400)]
Convert all uses of t.util.u() to real unicode literals.
Ben Darnell [Sun, 25 Oct 2015 15:07:27 +0000 (11:07 -0400)]
Invert fix_unicode_literal to switch back to real literals.
Ben Darnell [Sat, 24 Oct 2015 22:56:07 +0000 (18:56 -0400)]
Drop support for Python 3.2.
Remove python 3.2 support from all test configurations and docs,
but do not actively remove code that exists for 3.2 compatibility.
Ben Darnell [Mon, 3 Aug 2015 14:06:31 +0000 (10:06 -0400)]
Drop Python 2.6 support.
Remove python 2.6 support from all test configurations and docs,
but do not actively remove code that exists for 2.6 compatibility.
Ben Darnell [Fri, 6 Nov 2015 23:52:44 +0000 (18:52 -0500)]
Bump master version number to 4.4.dev1
Ben Darnell [Fri, 6 Nov 2015 20:08:40 +0000 (15:08 -0500)]
Set version number to 4.3
Ben Darnell [Fri, 6 Nov 2015 20:08:06 +0000 (15:08 -0500)]
Rename next.rst to v4.3.0.rst
Ben Darnell [Fri, 6 Nov 2015 02:54:38 +0000 (21:54 -0500)]
Link to the users' guide from the release notes.
Neil Chintomby [Thu, 29 Oct 2015 23:33:30 +0000 (16:33 -0700)]
Use `127.0.0.1` when binding test server socket.
Eric Wang [Wed, 4 Nov 2015 04:56:39 +0000 (20:56 -0800)]
Unset executable bit
Eric Wang [Mon, 2 Nov 2015 22:51:24 +0000 (14:51 -0800)]
Make __getitem__ and __setitem__ mirror behavior of __getattr__ and __setattr__