Min RK
03c922af71
Merge pull request #8217 from minrk/kernelspec-split
...
detangle client/kernel KernelSpec bits
11 years ago
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
e6e2cc8f9d
copy utils.process.check_pid to html.utils
...
since jupyter_notebook will not depend on IPython
11 years ago
Min RK
a03a4e71c7
remove utils.zmqrelated
...
and other checks for zmq versions
after the big split, zmq will be a true dependency of the packages
11 years ago
Min RK
7be0294f93
pass kernel_spec_manager down from NotebookApp
...
ensures the same instance is used throughout
11 years ago
Min RK
d8305720a8
install IPython kernel on notebook launch
...
if ipython_kernel is available and not already installed
11 years ago
Scott Sanderson
8628d6097a
DEV: Allow supplying jinja vars from python config.
11 years ago
Brian Drawert
7b856fb21d
Fix for CVE-2014-3566 'POODLE' SSL attack, original commit '22c4922f4796078c5613de9e07e66b8764549cad'
11 years ago
Sylvain Corlay
1dbd95c4bc
allow_none=False by default for Type and Instance
11 years ago
Min RK
168de8b8a5
don't specify kernel profile in notebook
...
to have a kernel in a particular profile,
create a kernelspec
11 years ago
Scott Sanderson
7a1b8d7dff
DEV: Add re-raise toggle for server extensions.
...
Also renames toggles to "reraise_*_extension_failures".
11 years ago
Min RK
f76ce1d6b9
warn about failure to bind to localhost
...
when falling back on 127.0.0.1
11 years ago
Min RK
c605ea44cc
fallback on 127.0.0.1 if localhost cannot be bound
...
Some (broken) systems cannot bind to localhost.
This handles that failure and falls back to 127 as the default
11 years ago
Min RK
96334d4594
deprecate default_secure decorator
...
make Session secure by default on its own
I think the decorator was an artifact of very early design prototyping, and really isn't necessary.
11 years ago
Min RK
3aa004e5c3
add ssl_options config value
...
exposes more ssl config, such as ca_certs, disabling SSLv3, etc.
11 years ago
Min RK
64b4d90eeb
add no-op every 5s on Windows
...
signals don't interrupt the inner loop on Windows,
so pump the eventloop every 5s
11 years ago
Min RK
809e79b6e4
bump pyzmq version dependency to 13
...
pyzmq < 13 doesn't work with tornado >= 3, which we also require.
This results in clearer error messages when pyzmq is too old.
11 years ago
Min RK
2b44652957
Add KernelSpecManager.whitelist
...
set of allowed kernels by name
Mainly useful for excluding the 'native' python2/3 kernel,
but it's generic.
11 years ago
Min RK
cc84f1d783
ensure default_url includes base_url
11 years ago
Min RK
3ce0206a1f
promote "no terminals" message to warn
...
except on Windows, where it's demoted to debug
11 years ago
Min RK
f3da69c38d
allow system-wide paths for nbextensions
...
like kernel specs, default install is `/usr/local/share/jupyter/nbextensions`
add `--user` for .ipython/nbextensions path
11 years ago
Scott Sanderson
acf011bd9c
DEV: Tweaks to Login/LogoutHandler setup.
...
- Require handlers to be tornado.web.RequestHandlers. Rename the
- NotebookApp attributes from log{in,out}_handler to log{in,out}_handler_class.
11 years ago
Scott Sanderson
8e2286911d
DEV: Set `klass=object` for Log{in,out}Handler.
...
It seems plausible that people will implement custom handlers that
aren't subclasses of a known type.
Another possible option would be `IPythonHandler`, but even that feels
too restrictive.
11 years ago
Scott Sanderson
0953de3432
MAINT: Remove unused imports.
...
I was in the neighborhood...
11 years ago
Scott Sanderson
8ab449cd9a
MAINT: Use `Type` instead of `DottedObjectName` Log{in,out}Handler.
11 years ago
Scott Sanderson
23b3a332f9
MAINT: Use `Type` instead of `DottedObjectName` for managers.
...
`Type` is strictly more powerful than `DottedObjectName` and is easier
for users to override.
11 years ago
Thomas Kluyver
0f2f14556c
Note that extension API is experimental
11 years ago
Thomas Kluyver
7e7d3d1f25
Rename extensions -> server_extensions
11 years ago
Thomas Kluyver
e86d80e84a
Add support for notebook server extensions
...
As some people may be tiring of my pointing out, it seems strange that
we have extension points for the JS and the kernel, but none for the
notebook server.
For cite2c, I want to add a handler which can serve a directory of style
files for use by the nbextension part.
11 years ago
Thomas Kluyver
4c62fd4210
Merge pull request #7149 from minrk/thread-nb
...
run test notebook server in thread
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
8c2ced501d
address review in custom auth
11 years ago
Min RK
c71d4162e3
make logout_handler overridable
11 years ago
Phil Elson
d81990c941
Added authentication configuration for the notebook app.
11 years ago
Thomas Kluyver
11f089aedb
Handle nbserver info files without pid, from IPython 2.x
...
Fixes takluyver/nbopen#9
11 years ago
Kyle Kelley
7fb8cd94ec
Load the security service handlers.
...
Conflicts:
IPython/html/notebookapp.py
11 years ago
Min RK
9a4de7b78d
Merge pull request #7041 from takluyver/nbconfig-manager
...
ConfigManager class for frontend config
11 years ago
Min RK
f15727f6f6
Merge pull request #7032 from minrk/require-url-arg
...
add '?v=<date>' to require URLs
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
cf91873644
Merge pull request #6866 from takluyver/nb-texteditor
...
Notebook text editor
11 years ago
Min RK
c15aee36d4
Merge pull request #6969 from Carreau/ksmc
...
kernel_spec_manager configurable
11 years ago
Thomas Kluyver
011beaa385
Rename texteditor files & folders to edit
11 years ago
Bussonnier Matthias
12525ec706
Make KernelSpecManager configurable
...
Closes #6968
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
Thomas Kluyver
e6935d47c0
Basic infrastructure for new texteditor component
11 years ago
Thomas Kluyver
6d776a5292
Allow starting the server with both file_to_run and notebook_dir
...
file_to_run and notebook_dir would collide, with possible dictionary
ordering randomness depending on how they were passed.
With this change, the default value of notebook_dir is pulled from
file_to_run, instead of pushing the value when file_to_run is changed.
This makes it possible to specify both and have the server behave as
expected.
11 years ago
Min RK
1914e27cff
Don't pass IPython-specific args to non-IPython kernels
...
add a few FIXME notes that the IPython-kernel special treatment
will probably want to be removed in the Jupyter explosion.
11 years ago
Min RK
48d77b3f03
Merge pull request #6886 from minrk/tornado-4
...
require tornado 4
11 years ago