]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Use https for all links to github.
authorBen Darnell <ben@bendarnell.com>
Mon, 4 Jun 2012 00:37:36 +0000 (17:37 -0700)
committerBen Darnell <ben@bendarnell.com>
Mon, 4 Jun 2012 00:37:36 +0000 (17:37 -0700)
Github redirects everything to https anyway, so the links might as well
start out secure.

website/sphinx/overview.rst
website/sphinx/releases/v1.0.0.rst
website/sphinx/releases/v1.1.0.rst
website/sphinx/releases/v1.1.1.rst
website/sphinx/releases/v1.2.0.rst
website/sphinx/releases/v1.2.1.rst
website/templates/index.html
website/website.py

index c3ef03cf7a458f2d920d1edbdb246286214651d0..7ea7b68dc72db3b2a1b4a1f75ee783dca73163c5 100644 (file)
@@ -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
@@ -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
@@ -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
@@ -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
index bf9f2b99f42adfdca15b1ab24fd16b31750e3c62..0cf04f857fffbbdba56f6d2e4608cce19e4d2adb 100644 (file)
@@ -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)
@@ -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
@@ -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
index 617271c4b6ce98afb12251e2a23c403abb50e6e2..68142f48291c1bf3b4d8deb827bd8e58734bb759 100644 (file)
@@ -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
@@ -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
@@ -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
index 275a8c1000e420768a3be5b559f62c77f9c15eac..cf7b593cf8a2ba46e0590b7362177eb209815d79 100644 (file)
@@ -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
index 2448924ed049b19c481b88bb1f2387a6b44cd07f..4797628fd639f1386818aaa7fb63c4060e4fdb2f 100644 (file)
@@ -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
@@ -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.
@@ -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
@@ -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
index 7f1dc9a12f89aaa0ae85d380bfee0c205e7cb87d..78fa4b19a23b8476d2bd0247a78ca0471685b79b 100644 (file)
@@ -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.
index 40fb1661347179bf0435de9bd348bcb825f333fc..9414d2f2b4ccbfffc7f106f39f3b7a312992f970 100644 (file)
@@ -8,7 +8,7 @@
 
   <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>
 
@@ -19,7 +19,7 @@
     <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>
@@ -44,12 +44,12 @@ if __name__ == "__main__":
 
   <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>
@@ -63,6 +63,6 @@ sudo python setup.py install</code></pre>
     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 %}
index 24acddc499b53fb0f6f3e73e9e7defc6f328ebae..489d6aa858c3f91eb638291c1d2f7ae32feadf23 100644 (file)
@@ -38,9 +38,9 @@ application = tornado.wsgi.WSGIApplication([
     (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")),