]>
git.ipfire.org Git - thirdparty/tornado.git/log
Ben Darnell [Fri, 3 Jul 2015 22:35:26 +0000 (18:35 -0400)]
Merge pull request #1460 from ianmackinnon/feature-google-oauth-user-data
Add Google OAuth2 user info request.
Ian Mackinnon [Thu, 2 Jul 2015 11:57:04 +0000 (13:57 +0200)]
Fix unicode syntax for Python 3.
Ian Mackinnon [Thu, 2 Jul 2015 11:36:20 +0000 (13:36 +0200)]
Add Google OAuth2 user info request.
Ben Darnell [Wed, 1 Jul 2015 22:33:43 +0000 (18:33 -0400)]
Update outdated comment.
Ben Darnell [Sun, 28 Jun 2015 20:41:46 +0000 (16:41 -0400)]
Introduce OAuth2Mixin.oauth2_request.
This method can serve as a general replacement for methods like
FacebookGraphMixin.facebook_request.
Update docs for GoogleOAuth2Mixin.get_authenticated_user to indicate
that only the tokens are returned, not other user information.
Add some basic tests for GoogleOAuth2Mixin.
This commit incorporates code from FanFani4 in #1212 and
kippandrew in #1454.
Ben Darnell [Sun, 21 Jun 2015 18:08:21 +0000 (14:08 -0400)]
Document StaticFileHandler's default_filename option.
Ben Darnell [Sun, 21 Jun 2015 17:57:28 +0000 (13:57 -0400)]
Clear __package__ in script run by autoreload CLI.
This prevents imports from incorrectly being interpreted as
relative to the 'tornado package, which would make the standard
'platform' module unimportable.
See bdarnell/plop#21
Ben Darnell [Thu, 11 Jun 2015 04:05:36 +0000 (00:05 -0400)]
Support Python 3.5 async/await native coroutines.
Requires changes to be included in 3.5b3.
Ben Darnell [Sat, 6 Jun 2015 19:40:21 +0000 (15:40 -0400)]
Get the tests passing under Python 3.5b2
Ben Darnell [Sat, 6 Jun 2015 19:39:56 +0000 (15:39 -0400)]
Bump version number to 4.3.dev1
Ben Darnell [Wed, 27 May 2015 01:46:05 +0000 (21:46 -0400)]
Set version number to 4.2.0
Ben Darnell [Wed, 27 May 2015 01:44:02 +0000 (21:44 -0400)]
Clarify release notes about create_default_context.
Encourage use of SSLContext on the server side.
Ben Darnell [Mon, 25 May 2015 14:24:22 +0000 (10:24 -0400)]
Merge pull request #1446 from nero-luci/patch-1
[httputil.py] Word correction
Cornel Punga [Mon, 25 May 2015 07:44:11 +0000 (10:44 +0300)]
[httputil.py] Word correction
Ben Darnell [Wed, 20 May 2015 01:46:21 +0000 (21:46 -0400)]
Disable twisted's test_process on python 3.
The new twisted 15.2.0 has some failures in this test that appear to be
interactions between the two package's test suites rather than a problem
in the integration itself, so just disable the tests for now.
Ben Darnell [Sun, 10 May 2015 17:16:50 +0000 (13:16 -0400)]
Fix title of 4.2 release notes page
Ben Darnell [Sun, 10 May 2015 17:12:52 +0000 (13:12 -0400)]
Add missing release notes file.
Ben Darnell [Sun, 10 May 2015 17:08:59 +0000 (13:08 -0400)]
Set version number to 4.2b1
Ben Darnell [Sun, 10 May 2015 02:28:35 +0000 (22:28 -0400)]
Update release notes
Ben Darnell [Sun, 10 May 2015 01:55:00 +0000 (21:55 -0400)]
Document RequestHandler.patch.
Add an example for overriding SUPPORTED_METHODS.
Ben Darnell [Fri, 8 May 2015 03:03:27 +0000 (23:03 -0400)]
Merge pull request #1436 from alunduil/add-dcos-to-sdist
add docs recursively to MANIFEST.in
Alex Brandt [Sun, 3 May 2015 14:45:20 +0000 (09:45 -0500)]
add docs recursively to MANIFEST.in
When packaging tornado for Gentoo I found the documentation was not
available in the sdist provided on pypi. This adds the documentation so
that users can choose to install it locally.
Ben Darnell [Wed, 6 May 2015 05:16:30 +0000 (22:16 -0700)]
Remove weak reference from WaitIterator.
This reference is the only thing holding the asynchronous "stack"
together in some cases, so making it weak could allow coroutines
to be garbage collected while running. This was mainly a problem
on Python 3.4, which is much better at garbage collecting generators
than older versions.
Fixes #1429.
Ben Darnell [Wed, 6 May 2015 05:14:05 +0000 (22:14 -0700)]
Echo the received websocket close code.
Fixes #1377.
Ben Darnell [Wed, 6 May 2015 05:04:09 +0000 (22:04 -0700)]
Document (ignored) timeout argument to Future methods.
Closes #1435.
Ben Darnell [Wed, 29 Apr 2015 01:12:09 +0000 (21:12 -0400)]
Merge pull request #1432 from szweep/unescape_fix
Modify xhtml_unescape to handle hex numeric refs
szweep [Thu, 23 Apr 2015 18:33:17 +0000 (14:33 -0400)]
Modify xhtml_unescape to handle hex numeric refs
While the existing code handles references like   properly,
it doesn't handle the valid case where the number is specified
in hex. For example 'foo bar', 'foo bar' and 'foo bar'
should all decode to 'foo bar'. The changes in escape.py check
for the 'x' and decode appropriately. Also added unit tests for
unescaping strings with numeric references.
Ben Darnell [Fri, 24 Apr 2015 14:01:30 +0000 (10:01 -0400)]
Merge pull request #1431 from ajdavis/changelog-event-fix
More detail about porting from toro.Event.
Ben Darnell [Fri, 24 Apr 2015 13:51:15 +0000 (09:51 -0400)]
Merge pull request #1430 from ajdavis/spelling
Spelling.
A. Jesse Jiryu Davis [Fri, 24 Apr 2015 13:32:34 +0000 (09:32 -0400)]
More detail about porting from toro.Event.
A. Jesse Jiryu Davis [Fri, 24 Apr 2015 13:25:39 +0000 (09:25 -0400)]
Spelling.
Ben Darnell [Sun, 19 Apr 2015 17:18:46 +0000 (13:18 -0400)]
Make HTTPHeaders compatible with copy.copy and copy.deepcopy.
Ben Darnell [Sun, 19 Apr 2015 16:53:54 +0000 (12:53 -0400)]
Merge pull request #1399 from martinhoefling/master
Cookie secret key versioning support
Ben Darnell [Sun, 19 Apr 2015 16:37:43 +0000 (12:37 -0400)]
More doc updates.
Ben Darnell [Sun, 19 Apr 2015 16:05:29 +0000 (12:05 -0400)]
Update release notes
Ben Darnell [Sun, 19 Apr 2015 15:27:41 +0000 (11:27 -0400)]
Merge pull request #1423 from ajdavis/changelog-locks-and-queues
Document Lock, notes for porting from Toro.
Ben Darnell [Sun, 19 Apr 2015 15:22:13 +0000 (11:22 -0400)]
Merge pull request #1422 from ajdavis/timeouts-not-deadlines
Timeouts not deadlines.
Martin Hoefling [Sun, 19 Apr 2015 13:23:45 +0000 (15:23 +0200)]
Merge branch 'master' of https://github.com/tornadoweb/tornado
Martin Hoefling [Sun, 19 Apr 2015 13:13:51 +0000 (15:13 +0200)]
Documentation for key versioning added
Martin Hoefling [Sun, 19 Apr 2015 12:47:18 +0000 (14:47 +0200)]
Key versioning: review comments addressed
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 03:10:56 +0000 (23:10 -0400)]
Notes for porting from Toro to Tornado.
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 03:04:13 +0000 (23:04 -0400)]
Document the Lock class.
Ben Darnell [Sun, 19 Apr 2015 02:54:31 +0000 (22:54 -0400)]
Delay shutdown of the IOLoop in sync HTTPClient test.
This appears to cause spurious logs in HTTP/2 tests.
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 02:43:56 +0000 (22:43 -0400)]
Replace 'deadline' with 'timeout' for Lock.acquire.
A. Jesse Jiryu Davis [Sun, 19 Apr 2015 02:40:34 +0000 (22:40 -0400)]
Condition.wait examples should show timeout, not deadline.
Ben Darnell [Sat, 18 Apr 2015 23:19:00 +0000 (19:19 -0400)]
Fix WaitIterator when no hard reference is kept.
Closes #1397.
Ben Darnell [Sat, 18 Apr 2015 22:53:38 +0000 (18:53 -0400)]
Clean up and document run_on_executor kwargs change.
Ben Darnell [Sat, 18 Apr 2015 22:41:53 +0000 (18:41 -0400)]
Merge pull request #1406 from legnaleurc/run_on_executor
Add arguments to run_on_executor
Ben Darnell [Sat, 18 Apr 2015 22:15:14 +0000 (18:15 -0400)]
Fix exception handling in CurlAsyncHTTPClient._process_queue.
Previously it would allow exceptions to escape, which worked only if
_process_queue were called by fetch_impl instead of
_finish_pending_requests.
Closes #1413.
Ben Darnell [Sat, 18 Apr 2015 18:12:44 +0000 (14:12 -0400)]
Add raise_error behavior to Subprocess.wait_for_exit.
Closes #1205.
Ben Darnell [Sat, 18 Apr 2015 17:52:14 +0000 (13:52 -0400)]
Merge pull request #1419 from kippandrew/fix-client-max-body
Add max_body_size parameter to SimpleHTTPClient
Ben Darnell [Sat, 18 Apr 2015 16:21:10 +0000 (12:21 -0400)]
Use the correct expression for detecting the presence of asyncio.
Ben Darnell [Sat, 18 Apr 2015 16:06:40 +0000 (12:06 -0400)]
Fix typo in travis.yml
Ben Darnell [Sat, 18 Apr 2015 16:00:31 +0000 (12:00 -0400)]
Add AsyncIOLoop to travis.yml
Ben Darnell [Sat, 18 Apr 2015 15:57:22 +0000 (11:57 -0400)]
Add **kwargs to IOLoop initializers.
This makes them compatible with the new make_current argument.
Add additional delay in test_streaming_until_close_future
for compatibility with AsyncIOLoop.
Ben Darnell [Fri, 17 Apr 2015 14:29:38 +0000 (10:29 -0400)]
Merge pull request #1421 from ajdavis/spider-example
Add a web spider example to demonstrate Queue.
A. Jesse Jiryu Davis [Fri, 17 Apr 2015 14:04:35 +0000 (10:04 -0400)]
Remove unnecessary "start-file" markup.
A. Jesse Jiryu Davis [Wed, 15 Apr 2015 01:29:23 +0000 (21:29 -0400)]
Remove redundant description of web-spider demo.
A. Jesse Jiryu Davis [Wed, 15 Apr 2015 01:24:42 +0000 (21:24 -0400)]
Add a web spider example to demonstrate Queue.
Andy Kipp [Tue, 14 Apr 2015 15:27:55 +0000 (11:27 -0400)]
Fix for python 3
Andy Kipp [Tue, 14 Apr 2015 14:18:54 +0000 (10:18 -0400)]
Send max_body_size to HTTP1Connection
Ben Darnell [Mon, 13 Apr 2015 19:25:43 +0000 (20:25 +0100)]
Merge pull request #1417 from ajdavis/locks-doctests
Move doctests from locks.rst to locks.py.
A. Jesse Jiryu Davis [Sun, 12 Apr 2015 21:16:08 +0000 (17:16 -0400)]
Move doctests from locks.rst to locks.py docstrings.
For consistency with queues doctests.
Ben Darnell [Sun, 12 Apr 2015 20:19:31 +0000 (21:19 +0100)]
Merge pull request #1416 from ajdavis/reliable-queues-doctest
reliable-queues-doctest
A. Jesse Jiryu Davis [Sun, 12 Apr 2015 17:28:46 +0000 (13:28 -0400)]
Reliable Semaphore doctest.
100ms sleep doesn't always order the test output on Travis slaves.
Ben Darnell [Fri, 10 Apr 2015 16:46:56 +0000 (17:46 +0100)]
Merge pull request #1409 from ajdavis/document-queues
Document queues.
Ben Darnell [Fri, 10 Apr 2015 16:46:47 +0000 (17:46 +0100)]
Merge pull request #1408 from ajdavis/doc-bounded-sem
Document locks.BoundedSemaphore.
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 04:01:58 +0000 (00:01 -0400)]
Remove redundant doctest of BoundedSemaphore.release.
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 03:58:17 +0000 (23:58 -0400)]
Move doctests from queues.rst to queues.py.
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 03:50:12 +0000 (23:50 -0400)]
Add "autoclass" for PriorityQueue and LifoQueue.
A. Jesse Jiryu Davis [Fri, 10 Apr 2015 03:43:55 +0000 (23:43 -0400)]
Use autoexception for QueueFull/Empty docs.
Ben Darnell [Thu, 9 Apr 2015 02:10:04 +0000 (22:10 -0400)]
Merge pull request #1412 from abhinav/master
Allow the same future multiple times in `multi_future`
Ben Darnell [Wed, 8 Apr 2015 03:53:29 +0000 (23:53 -0400)]
Merge pull request #1411 from Liuchang0812/fix-format
use key-word "super" replace hard code
Abhinav Gupta [Tue, 7 Apr 2015 18:57:45 +0000 (11:57 -0700)]
Allow the same future multiple times in `multi_future`
This prevents failures in cases like the following:
f = <some future>
yield [f, f]
whu_liuchang [Sun, 5 Apr 2015 12:04:50 +0000 (20:04 +0800)]
Update blog.py
use recommended style
A. Jesse Jiryu Davis [Sat, 4 Apr 2015 13:08:22 +0000 (09:08 -0400)]
Document queues.
A. Jesse Jiryu Davis [Sat, 4 Apr 2015 12:39:11 +0000 (08:39 -0400)]
Document locks.BoundedSemaphore.
Ben Darnell [Fri, 3 Apr 2015 17:52:49 +0000 (13:52 -0400)]
Merge pull request #1405 from scipetr/patch-1
Fixed autoreload for Python 3
Wei-Cheng Pan [Thu, 2 Apr 2015 14:22:36 +0000 (23:22 +0900)]
Add testcases.
Evgeniy Dobrohvalov [Thu, 2 Apr 2015 13:49:36 +0000 (16:49 +0300)]
Fixed autoreload for Python 3
Changed th system module values check to return a list.
In Python 3 it returns a dict_view which could occassionally produce
a runtime error of "dictionary changed size during iteration".
Wei-Cheng Pan [Tue, 31 Mar 2015 10:15:49 +0000 (18:15 +0800)]
Allow clients to specify attrs in decorator.
Clients can specify `executor` and `io_loop` attribute name in
`run_on_executor` decorator.
Ben Darnell [Tue, 31 Mar 2015 03:30:56 +0000 (23:30 -0400)]
Merge pull request #1401 from ajdavis/document-semaphore
Document locks.Semaphore.
A. Jesse Jiryu Davis [Tue, 31 Mar 2015 02:41:05 +0000 (22:41 -0400)]
Document locks.Semaphore.
Ben Darnell [Mon, 30 Mar 2015 03:22:55 +0000 (23:22 -0400)]
Use more consistent language in exception logs.
Ben Darnell [Mon, 30 Mar 2015 00:55:28 +0000 (20:55 -0400)]
Clean up some more tests that fail or log with HTTP/2.
Ben Darnell [Sun, 29 Mar 2015 20:22:26 +0000 (16:22 -0400)]
Add make_current keyword argument to IOLoop constructor.
This allows applications to create an IOLoop to be started in another
thread without making it current in the originating thread.
Update docs to use IOLoop.current() in place of IOLoop.instance() when
starting the loop.
Closes #1390.
Ben Darnell [Sun, 29 Mar 2015 18:17:36 +0000 (14:17 -0400)]
Add a quiet_exceptions argument to gen.Multi and gen.multi_future.
Closes #1378.
Ben Darnell [Sun, 29 Mar 2015 18:04:46 +0000 (14:04 -0400)]
gen.multi_future and gen.Multi log any exceptions after the first.
They were already logged when the Future was GC'd, but this is
cleaner and more reliable than the destructor hook.
See #1378.
Ben Darnell [Sun, 29 Mar 2015 16:55:21 +0000 (12:55 -0400)]
Update next-release notes
Ben Darnell [Sun, 29 Mar 2015 16:05:30 +0000 (12:05 -0400)]
Remove the deprecated/obsolete auth mixins.
Both Google's OpenID service and FriendFeed are slated to shut down
before the next release of Tornado, and FacebookMixin has been
deprecated in favor of OAuth 2.0 for a long time.
Ben Darnell [Sun, 29 Mar 2015 15:47:32 +0000 (11:47 -0400)]
Merge remote-tracking branch 'origin/stable'
Ben Darnell [Sun, 29 Mar 2015 15:45:50 +0000 (11:45 -0400)]
Replace blog demo's google login with a simple email/password scheme.
Martin Hoefling [Sun, 29 Mar 2015 15:00:59 +0000 (17:00 +0200)]
Cookie secret key versioning support
Ben Darnell [Sat, 28 Mar 2015 19:27:56 +0000 (15:27 -0400)]
Add a docker-based environment for running the blog demo.
Ben Darnell [Sat, 28 Mar 2015 16:43:09 +0000 (12:43 -0400)]
Remove GoogleMixin auth demo.
GoogleMixin is going away, and the remaining auth varieties are covered
by the facebook and twitter demos.
Ben Darnell [Sat, 28 Mar 2015 16:34:14 +0000 (12:34 -0400)]
Remove authentication from chat demo.
Google OpenID authentication is shutting down soon and its replacement
requires app registration, so it's better to make this demo like the
websocket one to show off long-polling concepts without auth-related
complexity.
Ben Darnell [Sat, 28 Mar 2015 15:14:21 +0000 (11:14 -0400)]
Merge pull request #1398 from ajdavis/event-doc
Document locks.Event.
A. Jesse Jiryu Davis [Sat, 28 Mar 2015 10:02:32 +0000 (06:02 -0400)]
Clarify event.wait's blocking behavior.
A. Jesse Jiryu Davis [Fri, 27 Mar 2015 10:20:40 +0000 (06:20 -0400)]
More concise locks examples.
A. Jesse Jiryu Davis [Fri, 27 Mar 2015 10:17:31 +0000 (06:17 -0400)]
Document locks.Event.