Ben Darnell
49bbd35727
web: Rename "secure_cookie" methods to "signed_cookie"
...
This more precisely states the kind of security that is provided, and
avoids confusion with the use of the word "secure" as a standard
cookie attribute and prefix.
2023-01-23 18:51:53 +00:00
Ben Darnell
6c2aae090c
all: Support lazy imports of submodules
...
A getattr hook in the top-level "tornado" package now imports submodules
automatically, eliminating the need to explicitly reference multiple submodules
in imports
2022-11-27 15:41:27 -05:00
Ben Darnell
b909d37e54
docs,demos: Update for asyncio.run pattern
...
Adapt for Python 3.10 deprecation changes by using asyncio.run
instead of IOLoop.start throughout (except for TCPServer multi-process
docs).
Demos have all been changed but I haven't tested all of them.
2022-06-03 14:50:20 -04:00
Ben Darnell
1e9a709111
demos: Format all the demos with `black`
2018-11-02 12:56:28 -04:00
Ben Darnell
53796f2a4e
demos: Move facebook demo to non-deprecated interfaces
2018-05-13 15:07:15 -04:00
Pierce Lopez
26591b5145
style fix: multiple statements on one line
...
flake8 code E701
2018-01-01 15:56:23 -05:00
Mark Preston
ec6470ef91
Updated Facebook permissions
2016-03-25 14:08:17 +00:00
Jan Sarenik
519bb7aa49
Simplify HTML templates by using HTML5
2015-08-16 08:51:06 +02:00
Ben Darnell
4f86890cfa
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 .
2015-03-29 16:31:06 -04:00
Ben Darnell
7d3f710e81
Remove the default facebook api key from the demo.
...
This app has apparently been deactivated by facebook.
Closes #1132 .
2014-08-24 11:50:47 -04:00
Ben Darnell
920f96db6b
Use distinct cookie names across all the demo apps.
2013-03-03 12:16:03 -05: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
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
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
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
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
Benjamin Golub
d9d3e9cafb
fix README
2009-09-10 13:52:26 -04:00
Bret Taylor
2afa973493
Move Tornado project to Github
2009-09-10 00:50:51 -07:00