Skip to content

Commit

Permalink
Use https for all links to github.
Browse files Browse the repository at this point in the history
Github redirects everything to https anyway, so the links might as well
start out secure.
  • Loading branch information
bdarnell committed Jun 4, 2012
1 parent 72e1330 commit 0b432be
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 39 deletions.
8 changes: 4 additions & 4 deletions website/sphinx/overview.rst
Expand Up @@ -11,7 +11,7 @@ application is written using a web framework that looks a bit like
but with additional tools and optimizations to take advantage of the
non-blocking web server and tools.

`Tornado <http://github.com/facebook/tornado>`_ is an open source
`Tornado <https://github.com/facebook/tornado>`_ is an open source
version of this web server and some of the tools we use most often at
FriendFeed. The framework is distinct from most mainstream web server
frameworks (and certainly most Python frameworks) because it is
Expand Down Expand Up @@ -192,7 +192,7 @@ There are three ways to return an error from a `RequestHandler`:
The default error page includes a stack trace in debug mode and a one-line
description of the error (e.g. "500: Internal Server Error") otherwise.
To produce a custom error page, override `RequestHandler.write_error`.
This method may produce output normally via methods such as
This method may produce output normally via methods such as
`~RequestHandler.write` and `~RequestHandler.render`. If the error was
caused by an exception, an ``exc_info`` triple will be passed as a keyword
argument (note that this exception is not guaranteed to be the current
Expand All @@ -203,7 +203,7 @@ In Tornado 2.0 and earlier, custom error pages were implemented by overriding
``RequestHandler.get_error_html``, which returned the error page as a string
instead of calling the normal output methods (and had slightly different
semantics for exceptions). This method is still supported, but it is
deprecated and applications are encouraged to switch to
deprecated and applications are encouraged to switch to
`RequestHandler.write_error`.

Redirection
Expand Down Expand Up @@ -239,7 +239,7 @@ website:
application = tornado.wsgi.WSGIApplication([
(r"/([a-z]*)", ContentHandler),
(r"/static/tornado-0.2.tar.gz", tornado.web.RedirectHandler,
dict(url="http://github.com/downloads/facebook/tornado/tornado-0.2.tar.gz")),
dict(url="https://github.com/downloads/facebook/tornado/tornado-0.2.tar.gz")),
], **settings)

The default ``RedirectHandler`` status code is
Expand Down
12 changes: 6 additions & 6 deletions website/sphinx/releases/v1.0.0.rst
Expand Up @@ -3,15 +3,15 @@ What's new in Tornado 1.0

July 22, 2010
-------------

::

We are pleased to announce the release of Tornado 1.0, available
from
http://github.com/downloads/facebook/tornado/tornado-1.0.tar.gz.
https://github.com/downloads/facebook/tornado/tornado-1.0.tar.gz.
There have been many changes since version 0.2; here are some of
the highlights:

New features:
* Improved support for running other WSGI applications in a
Tornado server (tested with Django and CherryPy)
Expand Down Expand Up @@ -41,7 +41,7 @@ July 22, 2010
* Improved logging configuration in tornado.options.
* UIModule.html_body() can be used to return html to be inserted
at the end of the document body.

Backwards-incompatible changes:
* RequestHandler.get_error_html() now receives the exception
object as a keyword argument if the error was caused by an
Expand All @@ -54,8 +54,8 @@ July 22, 2010
from the path now have %-escapes decoded, for consistency with
the processing that was already done with other query
parameters.

Many thanks to everyone who contributed patches, bug reports, and
feedback that went into this release!

-Ben
12 changes: 6 additions & 6 deletions website/sphinx/releases/v1.1.0.rst
Expand Up @@ -5,10 +5,10 @@ Sep 7, 2010
-----------

::

We are pleased to announce the release of Tornado 1.1, available from
http://github.com/downloads/facebook/tornado/tornado-1.1.tar.gz
https://github.com/downloads/facebook/tornado/tornado-1.1.tar.gz

Changes in this release:
* RequestHandler.async_callback and related functions in other classes
are no longer needed in most cases (although it's harmless to continue
Expand All @@ -35,7 +35,7 @@ Sep 7, 2010
* The httpclient module now supports HTTP proxies.
* When HTTPServer is run in SSL mode, the SSL handshake is now non-blocking.
* Many smaller bug fixes and documentation updates

Backwards-compatibility notes:
* While most users of Tornado should not have to deal with the stack_context
module directly, users of worker thread pools and similar constructs may
Expand All @@ -46,8 +46,8 @@ Sep 7, 2010
cannot be completed under the new module. This applies only to the
initial authorization process; once an authorized token is issued that
token works with either version.

Many thanks to everyone who contributed patches, bug reports, and feedback
that went into this release!

-Ben
10 changes: 5 additions & 5 deletions website/sphinx/releases/v1.1.1.rst
Expand Up @@ -5,18 +5,18 @@ Feb 8, 2011
-----------

::

Tornado 1.1.1 is a BACKWARDS-INCOMPATIBLE security update that fixes an
XSRF vulnerability. It is available at
http://github.com/downloads/facebook/tornado/tornado-1.1.1.tar.gz
https://github.com/downloads/facebook/tornado/tornado-1.1.1.tar.gz

This is a backwards-incompatible change. Applications that previously
relied on a blanket exception for XMLHTTPRequest may need to be modified
to explicitly include the XSRF token when making ajax requests.

The tornado chat demo application demonstrates one way of adding this
token (specifically the function postJSON in demos/chat/static/chat.js).

More information about this change and its justification can be found at
http://www.djangoproject.com/weblog/2011/feb/08/security/
http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails
14 changes: 7 additions & 7 deletions website/sphinx/releases/v1.2.0.rst
Expand Up @@ -5,10 +5,10 @@ Feb 20, 2011
------------

::

We are pleased to announce the release of Tornado 1.2, available from
http://github.com/downloads/facebook/tornado/tornado-1.2.tar.gz
https://github.com/downloads/facebook/tornado/tornado-1.2.tar.gz

Backwards compatibility notes:
* This release includes the backwards-incompatible security change from
version 1.1.1. Users upgrading from 1.1 or earlier should read the
Expand All @@ -19,7 +19,7 @@ Feb 20, 2011
https://github.com/facebook/tornado/commit/7a7e24143e77481d140fb5579bc67e4c45cbcfad
* When XSRF tokens are used, the token must also be present on PUT and
DELETE requests (anything but GET and HEAD)

New features:
* A new HTTP client implementation is available in the module
tornado.simple_httpclient. This HTTP client does not depend on pycurl.
Expand Down Expand Up @@ -61,7 +61,7 @@ Feb 20, 2011
* FacebookGraphMixin.get_authenticated_user now accepts a new
parameter 'extra_fields' which may be used to request additional
information about the user

Bug fixes:
* auth: Fixed KeyError with Facebook offline_access
* auth: Uses request.uri instead of request.path as the default redirect
Expand Down Expand Up @@ -100,8 +100,8 @@ Feb 20, 2011
root path
* websocket: Now works over SSL
* websocket: Improved compatibility with proxies

Many thanks to everyone who contributed patches, bug reports, and feedback
that went into this release!

-Ben
8 changes: 4 additions & 4 deletions website/sphinx/releases/v1.2.1.rst
Expand Up @@ -5,16 +5,16 @@ Mar 3, 2011
-----------

::

We are pleased to announce the release of Tornado 1.2.1, available from
http://github.com/downloads/facebook/tornado/tornado-1.2.1.tar.gz
https://github.com/downloads/facebook/tornado/tornado-1.2.1.tar.gz

This release contains only two small changes relative to version 1.2:
* FacebookGraphMixin has been updated to work with a recent change to the
Facebook API.
* Running "setup.py install" will no longer attempt to automatically
install pycurl. This wasn't working well on platforms where the best way
to install pycurl is via something like apt-get instead of easy_install.

This is an important upgrade if you are using FacebookGraphMixin, but
otherwise it can be safely ignored.
10 changes: 5 additions & 5 deletions website/templates/index.html
Expand Up @@ -8,7 +8,7 @@ <h2>Upgrading from Tornado 1.x</h2>

<p>Tornado 2.0 introduces several potentially backwards-incompatible changes,
including in particular automatic escaping of template output. Users
who are upgrading from Tornado 1.x should see the
who are upgrading from Tornado 1.x should see the
<a href="/documentation/releases/v2.0.0.html">release notes</a> for
information about backwards compatibility.</p>

Expand All @@ -19,7 +19,7 @@ <h2>Quick links</h2>
<li><a href="https://github.com/downloads/facebook/tornado/tornado-{{version}}.tar.gz">Download version {{version}}</a> (<a href="/documentation/releases.html">release notes</a>)</li>
<li><a href="https://github.com/facebook/tornado">Source (github)</a></li>
<li><a href="http://groups.google.com/group/python-tornado">Mailing list</a></li>
<li><a href="http://github.com/facebook/tornado/wiki/Links">Wiki</a></li>
<li><a href="https://github.com/facebook/tornado/wiki/Links">Wiki</a></li>
</ul>

<h2>Hello, world</h2>
Expand All @@ -44,12 +44,12 @@ <h2>Installation</h2>

<p><b>Automatic installation:</b> Tornado is listed in <a href="http://pypi.python.org/pypi/tornado">PyPI</a> and can be installed with <code>pip</code> or <code>easy_install</code>. Note that the source distribution includes demo applications that are not present when Tornado is installed in this way, so you may wish to download a copy of the source tarball as well.</p>

<p><b>Manual installation:</b> Download <a href="http://github.com/downloads/facebook/tornado/tornado-{{version}}.tar.gz">tornado-{{version}}.tar.gz</a></p>
<p><b>Manual installation:</b> Download <a href="https://github.com/downloads/facebook/tornado/tornado-{{version}}.tar.gz">tornado-{{version}}.tar.gz</a></p>
<pre><code>tar xvzf tornado-{{version}}.tar.gz
cd tornado-{{version}}
python setup.py build
sudo python setup.py install</code></pre>
<p>The Tornado source code is <a href="http://github.com/facebook/tornado">hosted on GitHub</a>. On Python 2.6 and 2.7, it is also possible to simply add the tornado directory to your <code>PYTHONPATH</code> instead of building with <code>setup.py</code>, since the standard library includes <code>epoll</code> support.</p>
<p>The Tornado source code is <a href="https://github.com/facebook/tornado">hosted on GitHub</a>. On Python 2.6 and 2.7, it is also possible to simply add the tornado directory to your <code>PYTHONPATH</code> instead of building with <code>setup.py</code>, since the standard library includes <code>epoll</code> support.</p>

<p><b>Prerequisites:</b> Tornado runs on Python 2.5, 2.6, 2.7 and 3.2.
<ul>
Expand All @@ -63,6 +63,6 @@ <h2>Installation</h2>
BSD derivatives like Mac OS X) are recommended.</p>

<h2>Discussion and support</h2>
<p>You can discuss Tornado and report bugs on <a href="http://groups.google.com/group/python-tornado">the Tornado developer mailing list</a>. Links to additional resources can be found on the <a href="http://github.com/facebook/tornado/wiki/Links">Tornado wiki</a>.
<p>You can discuss Tornado and report bugs on <a href="http://groups.google.com/group/python-tornado">the Tornado developer mailing list</a>. Links to additional resources can be found on the <a href="https://github.com/facebook/tornado/wiki/Links">Tornado wiki</a>.

{% end %}
4 changes: 2 additions & 2 deletions website/website.py
Expand Up @@ -38,9 +38,9 @@ def get(self, path="index"):
(r"/", ContentHandler),
(r"/(index)", ContentHandler),
(r"/static/tornado-0.1.tar.gz", tornado.web.RedirectHandler,
dict(url="http://github.com/downloads/facebook/tornado/tornado-0.1.tar.gz")),
dict(url="https://github.com/downloads/facebook/tornado/tornado-0.1.tar.gz")),
(r"/static/tornado-0.2.tar.gz", tornado.web.RedirectHandler,
dict(url="http://github.com/downloads/facebook/tornado/tornado-0.2.tar.gz")),
dict(url="https://github.com/downloads/facebook/tornado/tornado-0.2.tar.gz")),

(r"/documentation/?", tornado.web.RedirectHandler,
dict(url="/documentation/index.html")),
Expand Down

0 comments on commit 0b432be

Please sign in to comment.