Commit Graph

44 Commits

Author SHA1 Message Date
Ben Darnell 17ec459c85 Use autoescape in blog demo. 2013-03-03 12:09:29 -05:00
Ben Darnell 9876ede0f2 Remove embedded copy of markdown.py from blog demo. 2013-03-03 11:56:47 -05:00
Ben Darnell f220182aa9 Use autoescape in appengine blog demo. 2013-03-03 11:54:35 -05:00
Ben Darnell 19f7351d14 Remove markdown support from app engine blog demo. 2013-03-03 11:16:07 -05:00
Ben Darnell b00167b9d6 Modernize app engine demo: py27, non-CGI interface, get_template_namespace. 2013-03-03 11:08:25 -05:00
Michael Leonhard 56fcc364f7 Fix s3server.py to stop truncating downloads of images and other non-text files 2013-01-20 16:48:05 -08:00
Ben Darnell 186e947112 Remove tornado.database, which is now distributed separately. 2012-09-16 14:02:49 -07:00
Taylor Hughes 35b432fee2 Make it obvious to anyone reading copy-pasted example code that the cookie secret is not suitable for production use. 2012-08-31 23:47:11 -07:00
Ben Darnell 4386f1b088 Make authdemo's logout less confusing.
Closes #376.
2012-08-26 16:27:24 -07:00
Ben Darnell 1b38b58da8 Update websocket chat demo to work when not addressed as localhost.
Turn on draft76 support.
2012-01-21 17:39:37 -08:00
Ben Darnell 7f5d4de759 Avoid merging the entire read buffer for IOStream.read_until.
Among other things, this dramatically speeds up downloads of large
chunked files over a fast network with SimpleHTTPClient.

Fixes #425.
2011-12-30 16:19:49 -08:00
Ben Darnell 1b5adf99e4 Add on_connection_close hook to chat demo to clean up after closed connections.
Closes #354.
2011-09-08 22:51:45 -07:00
Ben Darnell 8c3e46c491 Add option to print out generated template code in benchmark 2011-07-27 22:09:49 -07:00
Ben Darnell 3a7e30896b Add a template benchmark, based on one in jinja2 2011-07-27 22:01:05 -07:00
Ben Darnell c91df19763 Make websocket demo work on firefox 6 beta 2011-07-17 15:01:07 -07:00
Ben Darnell 845950af7d Better benchmark script 2011-07-06 19:14:59 -07:00
Ben Darnell 26feb663aa BACKWARDS-INCOMPATIBLE: turn on template autoescaping by default.
Disable autoescaping in demos that don't already use it.
2011-06-11 17:22:09 -07:00
Ben Darnell 696d9785a6 Demote s3server.py to a demo 2011-06-11 12:19:13 -07:00
Ben Darnell bc0ac36775 Remove dead code 2011-06-05 16:20:37 -07:00
Ben Darnell cdc1dbf589 Remove unused imports, add a few missing ones 2011-06-05 16:11:05 -07:00
Ben Darnell 5664bf0781 Add a Template UIModule, allowing templates to be called with keyword
arguments instead of inheriting the caller's namespace with {% include %}.
2011-06-05 15:41:25 -07:00
Ben Darnell ce3e1dedaf Introduce {% module %} syntax for calling UIModules.
Add linkify and xsrf_form_html as default modules.
2011-06-05 13:47:02 -07:00
Ben Darnell 6a85be4577 Add autoescape application setting and convert chatdemo to use it. 2011-05-30 19:03:54 -07:00
Ben Darnell cad4a30879 Add simple test application for websockets 2011-05-17 23:14:02 -07:00
Ben Darnell a287c203f1 Add keepalive support to benchmark, add other command-line args 2011-05-14 22:53:29 -07:00
Ben Darnell e805590e69 Better check for missing messages in facebook demo 2011-04-24 23:16:31 -07:00
Ben Darnell cd94d92b9b Check to see if actions field is present in facebook demo
Closes #251.
2011-04-24 23:15:08 -07:00
Ben Darnell f43dd1414a Update facebook demo to use the graph api instead of the older api. 2011-03-03 13:45:58 -08:00
Ben Darnell e7ee4e1f73 Add logout link to authdemo for testing purposes. 2011-02-19 13:33:21 -08:00
Jon Parise cce8218a03 tornado.httpserver is unused in this scope 2010-12-13 10:28:09 -08:00
Ben Darnell ade3ce2e98 Add a simple HTTP benchmark 2010-12-10 17:03:21 -08:00
Ben Darnell a853850e26 Add convenience method Application.listen(port) so most apps don't need
to explicitly touch HTTPServer.
2010-11-15 21:15:32 -08:00
Paul Buchheit f732f98063 add a linkify() function for converting text to html with link detection. Also changed xhtml_escape to not convert return value to utf8, since pages should be assembed in unicode and not utf8 encoded until they are ready to write(). 2010-09-30 14:41:13 -07:00
Ben Darnell 40ce72c1c6 Replace all tabs with spaces. 2010-03-17 14:59:17 -07:00
Benjamin Golub 7e3ace8607 fb demo fix 2010-01-14 06:07:58 -05:00
Bret Taylor 11503326a6 Turn on auto-reloading when 'debug' setting is given 2009-09-17 19:47:32 -07:00
Benjamin Golub 016dee1e96 use correct module 2009-09-14 15:43:07 -04:00
Casey c59cf2ab06 make logout link work 2009-09-14 11:08:27 -07:00
Bret Taylor 91d90b2ff1 Get rid of unnecessary/inconsistent mixin 2009-09-14 09:37:36 -07:00
Bret Taylor 37e6712036 Two minor typos 2009-09-13 12:26:16 -07:00
Casey cdcfb26316 make sign out clickable, ignoring automatic redirect for now 2009-09-10 14:39:23 -07:00
Benjamin Golub d9d3e9cafb fix README 2009-09-10 13:52:26 -04:00
Casey e197a479be escape more 2009-09-10 10:47:19 -07:00
Bret Taylor 2afa973493 Move Tornado project to Github 2009-09-10 00:50:51 -07:00