Commit Graph

32 Commits

Author SHA1 Message Date
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