]>
git.ipfire.org Git - thirdparty/tornado.git/log
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.
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__
Chris Seto [Mon, 26 Oct 2015 05:23:50 +0000 (01:23 -0400)]
Cast start_line.code to an integer
Allows use of http.client.HTTPStatus in self.write_status
'%s' % http.client.OK == 'HTTPStatus.OK'
'%d' % http.client.OK == '200'
Ben Darnell [Sun, 25 Oct 2015 17:52:25 +0000 (13:52 -0400)]
Make "headers too large" test understand 431 response code.
Ben Darnell [Sun, 25 Oct 2015 16:59:00 +0000 (12:59 -0400)]
Mark another test as http/1 only
Ben Darnell [Sun, 25 Oct 2015 15:20:10 +0000 (11:20 -0400)]
Re-run our custom fixers to normalize future imports
Ben Darnell [Sun, 25 Oct 2015 01:13:44 +0000 (21:13 -0400)]
Fix firewall prompts when running tests.
Ben Darnell [Sat, 24 Oct 2015 23:07:59 +0000 (19:07 -0400)]
Rewrite prerequisites section of index.rst.
Remove redundant parts of README; link to tornadoweb.org instead.
Ben Darnell [Sat, 24 Oct 2015 22:03:48 +0000 (18:03 -0400)]
Set version number to 4.3b2
Ben Darnell [Sat, 24 Oct 2015 17:53:26 +0000 (13:53 -0400)]
Find 'httponly' case-insensitively
Ben Darnell [Sat, 24 Oct 2015 17:18:37 +0000 (13:18 -0400)]
Update tests and docs for recent changes
fernando [Sat, 17 Oct 2015 14:24:23 +0000 (09:24 -0500)]
Added xsrf_cookie_kwargs to control xsrf cookie settings
Ben Darnell [Sat, 24 Oct 2015 16:00:18 +0000 (12:00 -0400)]
Merge pull request #1558 from maartenbreddels/patch-1
Return HTTPServer in Application.listen
Ben Darnell [Sat, 24 Oct 2015 14:32:27 +0000 (10:32 -0400)]
Merge pull request #1563 from szweep/response_hdrs_fix
Check for Content-Length and Transfer-Encoding
Ben Darnell [Sat, 24 Oct 2015 14:22:51 +0000 (10:22 -0400)]
Merge pull request #1567 from bdarnell/root-static-path-test
Make test_root_static_path more robust.
Ben Darnell [Sat, 24 Oct 2015 13:57:16 +0000 (09:57 -0400)]
Make test_root_static_path more robust.
Always convert `__file__` to an absolute path (this is already
guaranteed in Python 3.4+, but in older versions it would sometimes be
relative). Encode the path so the test can pass when run from a
directory containing spaces or other special characters.
Fixes #1565
szweep [Fri, 23 Oct 2015 16:23:09 +0000 (12:23 -0400)]
Restrict header check to SimpleAsyncHTTPClient
szweep [Fri, 23 Oct 2015 14:24:35 +0000 (10:24 -0400)]
Check for Content-Length and Transfer-Encoding
If an HTTP response contains both Content-Length and
Transfer-Encoding headers, flag this as an error as
per RFC 7230, Section 3.3.3#3. Also added a unit test
to validate the code.
Ben Darnell [Tue, 20 Oct 2015 15:58:08 +0000 (11:58 -0400)]
Merge pull request #1560 from pathcl/master
PEP8 fix docs/conf.py:91:1: E122 continuation line missing indentation
Luis San Martin [Tue, 20 Oct 2015 15:28:52 +0000 (12:28 -0300)]
PEP8 fix docs/conf.py:91:1: E122 continuation line missing indentation or outdented
Maarten Breddels [Mon, 19 Oct 2015 15:24:55 +0000 (17:24 +0200)]
Return HTTPServer in Application.listen
For unittesting I start and stop the server in setUp and tearDown. If I use Application.listen I don't have a reference to the HTTPServer and cannot close the socket. Binding it to the same address the next time will result in a address in use error. If the server is returned, calling close on it will allow the address/port to be reused.
Ben Darnell [Sun, 18 Oct 2015 22:11:02 +0000 (00:11 +0200)]
Set version number to 4.3b1
Ben Darnell [Sun, 18 Oct 2015 22:03:33 +0000 (00:03 +0200)]
Update next-release notes
Ben Darnell [Sun, 18 Oct 2015 21:50:41 +0000 (23:50 +0200)]
Merge pull request #1557 from bdarnell/backports-abc-singledispatch
Make singledispatch and backports_abc mandatory dependencies.
Ben Darnell [Sun, 18 Oct 2015 21:08:00 +0000 (23:08 +0200)]
Fix singledispatch for asyncio on py26.
Disable singledispatch tests for twisted on py26 because it doesn't
work.
Ben Darnell [Sun, 18 Oct 2015 20:34:47 +0000 (22:34 +0200)]
Make singledispatch and backports_abc mandatory dependencies.
I anticipate confusion around the differing behavior based on whether or
not these packages are installed, so it's better to just make them
mandatory (except on app engine).
Ben Darnell [Sun, 18 Oct 2015 19:47:37 +0000 (21:47 +0200)]
Slight update to bit-rotted test.
Currently failing because tornaduv doesn't support the new 4.2
make_current features.
Ben Darnell [Sun, 18 Oct 2015 19:39:43 +0000 (21:39 +0200)]
Fix tests in the app engine sandbox
Ben Darnell [Sun, 18 Oct 2015 13:44:27 +0000 (15:44 +0200)]
Merge pull request #1553 from xbao/fix-gcc-warning
Add void to empty function parameter
Xiao Bao Clark [Fri, 16 Oct 2015 11:50:24 +0000 (22:50 +1100)]
Add void to empty function parameter
This fixes the gcc warning:
tornado/speedups.c:49:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
initspeedups() {
^
Ben Darnell [Tue, 13 Oct 2015 21:34:58 +0000 (23:34 +0200)]
Merge pull request #1550 from ajdavis/gen_test-native-coroutines
Update gen_test for native coroutines.
A. Jesse Jiryu Davis [Mon, 12 Oct 2015 17:45:15 +0000 (13:45 -0400)]
Update gen_test for native coroutines.