Min RK
3ee98d7557
Merge pull request #8196 from quantopian/jinja-vars-from-config
...
DEV: Allow supplying jinja vars from python config.
11 years ago
Min RK
569857bede
import jsonutil from jupyter_client
11 years ago
Scott Sanderson
8628d6097a
DEV: Allow supplying jinja vars from python config.
11 years ago
Min RK
0fa751b894
Merge pull request #7798 from jasongrout/buffer-memoryview
...
Extract session buffers as memoryviews
11 years ago
Peter Parente
dc8f9b0733
Ensure Cache-Control is set once and only once
...
Whether browsers should pick the first or last instance of a duped header is ill defined
11 years ago
Jason Grout
8b5715d738
Add check to skip work in versions past 3.4
11 years ago
Jason Grout
d9d089759d
Fix websocket/zmq serialization to expect memoryviews
11 years ago
Min RK
07e5f78ef2
handle message arriving when sockets are closed
...
check both the incoming and outgoing streams
before proceeding to send messages
11 years ago
Min RK
b34d9eb76a
backport WebSocket.send_error from tornado 4.1
...
raising an exception in a websocket results in
"Method not supported" on tornado 4.0
11 years ago
Min RK
c62298f40b
empty default_url when outside IPython
11 years ago
Min RK
2d0b8b1d6a
use default_url for logo link
11 years ago
Min RK
1cac03528b
use single WebSocket connection for all channels
...
multiplex on a 'channel' key in message,
rather than separate websockets.
Unlike zmq, there aren't different message patterns that require the channels to be separate.
Reduces FD count by factor of 3 and connection complexity in js.
11 years ago
Min RK
c6b610f04f
make FilesRedirectHandler redirect logic accessible
...
from a static method
instead of calling FRH.get(self), which doesn't work on Python 2
due to unbound method class checking.
11 years ago
Min RK
979eb2d281
don't enforce .ipynb extension in URLs
...
let ContentsManager decide what's a notebook
11 years ago
Min RK
41b548bacc
use gen.Return for Python 2
11 years ago
Min RK
dc70ae6b07
allow ContentsManager methods to return Futures
...
mainly adding `@gen.coroutine` and `yield gen.maybe_future` all over the place.
No FileContentsManager methods are actually async at this point.
11 years ago
Thomas Kluyver
4c62fd4210
Merge pull request #7149 from minrk/thread-nb
...
run test notebook server in thread
11 years ago
Thomas Kluyver
4cee2f5f3a
Merge pull request #7128 from minrk/more-v-less-m
...
A little more V, a little less M in the text editor
11 years ago
MinRK
1ec9cfc25c
use IOLoop.current in a few places
...
better allow notebook server to run in a thread
11 years ago
Min RK
c81609f5d6
redirect /edit/ to /files/ if not (utf8) text
11 years ago
Min RK
8c2ced501d
address review in custom auth
11 years ago
Min RK
dbb5e9a107
allow LoginHandler to override get_current_user
11 years ago
Min RK
bb01b716e0
allow login_handler to be undefined
...
(for use outside IPython)
11 years ago
Min RK
16d1f0fd84
update custom auth per review
...
- pass settings around, not applications
11 years ago
Phil Elson
d81990c941
Added authentication configuration for the notebook app.
11 years ago
Kyle Kelley
858d153bff
Remove extraneous pass
...
YOU SHALL NOT PASS!
I rap fast like Shadowfax!
11 years ago
Kyle Kelley
219ca3046a
Clean up default content security policy setup
11 years ago
Kyle Kelley
17d1c2d488
Report CSP violations as warnings.
11 years ago
Kyle Kelley
5343787e9d
Remove CSP reporting since it fills console.
11 years ago
Kyle Kelley
5065429bfd
Clean up logs, enable debug log for header except
11 years ago
Kyle Kelley
bd85ff25df
Restrict frame-ancestors to 'self' in CSP
11 years ago
Kyle Kelley
3068733c46
Log reporter policy to debug
11 years ago
Kyle Kelley
cb19f07c9a
csp_report_uri caused a cyclic dependency
11 years ago
Kyle Kelley
5b53d2db45
Set default policy to nothing, only report.
11 years ago
Kyle Kelley
23b9f09177
Log CSP violations via report
11 years ago
Kyle Kelley
a00d6930f2
Adapt headers to using Content Security Policy
11 years ago
Min RK
9a4de7b78d
Merge pull request #7041 from takluyver/nbconfig-manager
...
ConfigManager class for frontend config
11 years ago
Thomas Kluyver
98cd14c04c
Remove profile_dir from handler class
11 years ago
Thomas Kluyver
febd670716
First stab at ConfigManager class
11 years ago
Min RK
3cf5262b0c
don't cache files in static/custom or nbextensions
...
always rely on 304 for cache content there
11 years ago
Min RK
a492ac554d
add '?v=<date>' to require URLs
...
- resets cache on server restart
- don't cache requests on master (rely on 304 for content caching)
11 years ago
MinRK
fe730a60c2
set no-cache header in StaticFileHandlers
...
rely on 304 Not Modified for caching content
11 years ago
Min RK
48d77b3f03
Merge pull request #6886 from minrk/tornado-4
...
require tornado 4
11 years ago
Min RK
e4e1d47203
Merge pull request #6694 from takluyver/config-rest-api
...
Add REST API for retrieving, storing and updating config
11 years ago
Min RK
a257e580a0
Merge pull request #6854 from takluyver/post-new-terminal
...
Create new terminals with POST request to API
11 years ago
Min RK
ba370731a5
fix and test path regexes
...
- require leading `/`
- match empty string
- disallow consecutive `//`
This means that path_regex should be included as `/api/whatever%s`, not `/api/whatever/%s`
11 years ago
MinRK
3ada0c2c27
Remove separate 'path', 'name' in Contents API
...
- path is full path (including name)
- name is only used for read-only convenience, and plays no role in any API
- remove 'untitled upload' (POST with content and no path)
11 years ago
Min RK
19bcc5fed9
bump minimum tornado version to 4.0
...
remove various websocket workaround for tornado 3
11 years ago
Min RK
f8d59bcd9e
forward-port draft76 websockets
...
from tornado-3.2.2
only enabled during testing with phantomjs
11 years ago
Thomas Kluyver
a76a546627
Add REST API for retrieving, storing and updating config
11 years ago