Commit Graph

110 Commits (6.x)

Author SHA1 Message Date
Min RK 2e1c56b0c4 Validate redirect target in TrailingSlashHandler
5 years ago
Ram Rachum 54e58be448
Fix exception causes in handlers.py
6 years ago
Kris Wilson 8aad324773 Fixup.
6 years ago
Kris Wilson a9ed339d58 Add UNIX socket support to notebook server.
6 years ago
Kerwin.Sun b5f5c9500e remove py2 dependence
6 years ago
Min RK efc0f0089e Allow ?no_track_activity=1 to opt-out of activity tracking (#4235)
7 years ago
Min RK ca7b8dd163 catch errors when writing on closed sockets
7 years ago
Min RK 7f7bfeefc0 Block cross-origin GET,HEAD requests with mismatched Referer
7 years ago
Min RK d7becafd59 add xsrf checks on files endpoints
7 years ago
Min RK 98773c1a8a Set X-Content-Options: nosniff on all handlers
7 years ago
Min RK 729183b148 use our own maybe_future
7 years ago
Min RK 5828300401 fix check for closed connection
7 years ago
Thomas Kluyver 7c8db2d063 Call tornado WebSocketHandler.get() as a coroutine
7 years ago
Thomas Kluyver 56d7a2d3a6 Remove one-time token code
7 years ago
Bill Major cc5e08d1bc Allow access control headers to be overriden in jupyter_notebook_config.py
8 years ago
Min RK e33a16f42f use localhost as default local hostname
8 years ago
Min RK 1901eeac63 ip_address only accepts unicode on Python 2
8 years ago
Thomas Kluyver 0d6ffa6888 Explain how to disable host check in warning message
8 years ago
Thomas Kluyver 7f1bba613d Check 'Host' header for local connections
8 years ago
yuvipanda a764f90b14 Add a /metrics endpoint for Prometheus Metrics
8 years ago
Thomas Kluyver 694ed72fb4 Use content_security_policy property to add restriction when serving user files
8 years ago
Thomas Kluyver 901f1e9492 Use CSP header to treat served files as belonging to a separate origin
8 years ago
Thomas Kluyver 0f0fe84740 Expand description of compatibility code
8 years ago
Thomas Kluyver 6ba7b17181 Only use force_clear_cookie for the extra compatibility piece
8 years ago
Thomas Kluyver 1fdcd375ab Fix clearing two cookies with the same name
8 years ago
Daniel Farrell 605eaa72be Added a flag to allow access of hidden files (#2819)
8 years ago
Thomas Kluyver 74fbc5b578
Merge pull request #3008 from Carreau/autopawd
8 years ago
Matthias Bussonnier a8971410c1 Add option disabled changing password at login.
8 years ago
Min RK 1deb0aec16 tornado 5: PeriodicCallback loop arg will be removed (#3034)
8 years ago
Thomas Kluyver 9a5c2c06ad
Merge pull request #2958 from kevin-bates/fix-2957-add-reason-to-json-errors
8 years ago
Thomas Kluyver e7f69cc2d7 Work on loading UI translations (#2969)
8 years ago
Kevin Bates ed3b0e4594 Set reason on HTTP errors, None otherwise.
8 years ago
Thomas Kluyver 55aa80e10f Merge pull request #2920 from minrk/allow-origin-token
8 years ago
Min RK fea2ef258f set cookie on base_url
8 years ago
Kevin Bates b24aa5e023 Add 'reason' field to JSON error responses
8 years ago
Min RK 08f7189cba only allow CORS exception when auth is enabled
8 years ago
Min RK 9acf6a80f4 allow token-authenticated requests cross-origin by default
8 years ago
Min RK a8c6b8bab6 Fix some errors caused by raising 403 in get_current_user (#2919)
8 years ago
Sam Lau 1c2a256add Add x-xsrftoken to Access-Control-Allow-Headers
8 years ago
Min RK 4467dc9f12 specify version for deprecation
8 years ago
Min RK 962c5ccd80 stop using `@json_handlers`
8 years ago
Min RK ba353e20f7 use .write_error on APIHandler instead of `@json_errors` for JSON error messages
8 years ago
Min RK 92209228f6 raise 403 on APIHandler failed login
8 years ago
Min RK d6a534ec5b use RFC5987 encoding for filenames
9 years ago
Grant Nestor 64ed6e439c Don't url escape filenames on download
9 years ago
Min RK 0308dc78d9 ensure "default-src 'none'" CSP is added to APIHandlers
9 years ago
Thomas Kluyver 227704cda5 Merge pull request #2671 from minrk/dont-modify-headers
9 years ago
Min RK f512880fcb allow overriding csp report uri via tornado settings
9 years ago
Min RK fb7ee6f348 avoid modifying settings['headers'] in add_default_headers
9 years ago
Grant Nestor 5192d72c63 Merge pull request #2656 from agermanidis/master
9 years ago