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.
2014-11-17 11:17:08 -08:00
Min RK
48d77b3f03
Merge pull request #6886 from minrk/tornado-4
...
require tornado 4
2014-11-13 12:23:32 -08:00
Min RK
e4e1d47203
Merge pull request #6694 from takluyver/config-rest-api
...
Add REST API for retrieving, storing and updating config
2014-11-12 21:40:30 -08:00
Min RK
39041a9f03
address review in contents service
...
- various docstrings, comments clarified and updated
- misc typos
- fix and test creating an untitled directory via POST
- only define `message` if there's something to say
2014-11-10 14:02:21 -08:00
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)
2014-11-10 14:02:18 -08:00
Min RK
19bcc5fed9
bump minimum tornado version to 4.0
...
remove various websocket workaround for tornado 3
2014-11-07 22:39:25 -08:00
Thomas Kluyver
a76a546627
Add REST API for retrieving, storing and updating config
2014-11-06 11:18:04 -08:00
Scott Sanderson
c1196da096
DEV: Add IPython.html to the default template path.
...
This makes it possible to override a file with a template that also
inherits from that file.
For example, this makes it possible to override a single block of
notebook.html by creating a file called notebook.html that inherits from
templates/notebook.html.
2014-11-05 13:29:31 -05:00
Scott Sanderson
cd1304961f
DEV: Support for configurable list of extra jinja template directories.
2014-11-05 00:19:17 -05:00
Thomas Kluyver
4025b57ed8
Only display terminals in dashboard if terminals are available
2014-10-31 15:56:53 -07:00
Thomas Kluyver
9c0084e615
Multiple terminals and conditional initialisation
2014-10-25 17:14:40 -07:00
Thomas Kluyver
d211ebf067
Basic infrastructure for terminal page
2014-10-25 17:14:39 -07:00
MinRK
868994087f
finish up FilesHandler
...
- load FilesHandler like everything else
- remove copy/paste leftovers
2014-10-16 09:26:27 -07:00
Manuel Riel
2b4cbbfea2
add new FilesHandler to serve files from ContentsManager.
2014-10-05 13:37:24 +02:00
MinRK
84a72ae87a
use app name on tornado log statements
...
avoids mixture of 'tornado.access' and 'NotebookApp'
2014-10-03 11:07:36 -07:00
Matthias Bussonnier
9155675440
drop more 2.6 hacks
2014-09-29 14:40:13 +02:00
Min RK
bfdb098d76
Merge pull request #6495 from Carreau/expandpath
...
Expand user home path in template search path.
2014-09-22 13:40:05 -07:00
MinRK
979b8dd9db
actually use new tornado_settings
...
instead of deprecated webapp_settings
2014-09-21 12:44:45 -07:00
Matthias BUSSONNIER
9d58482944
Expand user home path in template search path.
...
cause that pretty much always what you want to do if you have a `~` ina
path.
2014-09-18 14:35:30 +02:00
MinRK
d65244d34c
rename webapp_settings to tornado_settings
...
deprecate `webapp_settings`
More informative name to those who would actually use this feature.
It sets overrides for the tornado global `settings` object.
2014-09-17 10:05:19 -07:00
MinRK
379374b5d9
make the default url customizable
...
this is the page redirected to from `/`,
which defaults to `/tree`.
also changes the redirect code to 302 from 301,
which should cause less grumbling about caching.
2014-09-04 17:40:48 -07:00
Thomas Kluyver
4db6295fba
Merge pull request #6249 from minrk/always-https-mathjax
...
always use HTTPS getting mathjax from CDN
2014-07-31 13:44:37 -07:00
MinRK
b47ddffd42
always use HTTPS getting mathjax from CDN
2014-07-31 12:03:44 -07:00
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
2014-07-31 11:57:38 -07:00
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
2014-07-31 11:57:36 -07:00
MinRK
579f5101f0
restore websocket_url configurable
...
allows ws to be handled via separate proxies,
as appears to be the case on OpenShift and some other hosting services.
2014-07-22 14:43:40 -07:00
Min RK
70bc0704c2
Merge pull request #6099 from takluyver/check-nbservers-pid
...
Check process existence when listing nbserver processes
2014-07-20 13:20:48 -07:00
MinRK
792f21be5a
remove rackcdn https workaround for mathjax cdn
...
cdn.mathjax.org works over https now
2014-07-14 15:55:36 -07:00
Thomas Kluyver
806432072a
Add kernel name to sessions REST API
...
Also, some refactoring so that the relationship between session, kernels
and notebooks is managed in the SessionManager, not in the HTTP
handlers.
2014-07-10 23:50:00 -05:00
MinRK
55f455ab55
only set allow_origin_pat if defined
...
fixes the default behavior to be as intended (require Origin == Host)
2014-07-09 16:25:36 -05:00
Thomas Kluyver
2bcbd3c5cb
Check for pids when listing nbserver processes
2014-07-09 00:03:16 -05:00
Min RK
7af9f5f1f8
Merge pull request #6061 from minrk/cors
...
make CORS configurable
2014-07-06 22:57:12 -05:00
MinRK
0d9ba93307
persist notebook server cookie secret in security dir
...
prevents loss of login after relaunching the notebook server
closes #6075
2014-07-06 22:21:59 -05:00
MinRK
1edc97e34a
s/cors_/allow_/
...
add notes about Tornado 4, and comments, updates per review
2014-06-30 10:40:31 -07:00
MinRK
2460879e81
Remove a sleep no longer needed with the current base zmq version
2014-06-27 17:53:14 -07:00
MinRK
acf0da01d9
make CORS configurable
...
allows setting CORS headers.
- cors_origin sets Access-Control-Allow-Origin directly
- cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1]
- cors_credentials sets Access-Control-Allow-Credentials: true
To allow CORS from everywhere:
ipython notebook —NotebookApp.cors_origin='*'
2014-06-27 17:47:56 -07:00
MinRK
78a8cb877f
remove KernelApp.parent_appname
...
This allowed the Kernel to load config from ipython_qtconsole_config.py
or ipython_notebook_config.py, depending on the parent that started the kernel.
This is of limited usefulness, and can add weird, unexpected side effects.
2014-06-26 16:28:32 -07:00
Thomas Kluyver
f6628b7006
Refactor kernelspec resource handler to separate URL prefix
2014-05-10 12:22:20 -07:00
Thomas Kluyver
02fa348c69
Create REST API for kernel specs
2014-05-08 16:18:23 -07:00
MinRK
f75d9be34f
make the various manager classes in the notebook app configurable
...
like NotebookManager already was
2014-04-22 14:50:51 -07:00
Thomas Kluyver
b80466ca8b
Merge pull request #5667 from minrk/no-log-date
...
use tornado logging in NotebookApp
2014-04-21 15:56:23 -07:00
MinRK
50aa2b3c23
refuse to start if --pylab
is given
2014-04-20 10:48:26 -07:00
MinRK
9484864828
informative warning on ipython notebook --pylab
...
and remove the unused kernel flags
2014-04-19 12:59:13 -07:00
MinRK
c90df1d694
disable specifying kernel args on the notebook command-line
...
this is deprecated in 2.0, and will be removed in 3.0
2014-04-19 12:58:32 -07:00
MinRK
914de94fe7
use tornado logging in NotebookApp
...
- remove date, only log time
- shorter prefix
- colored output
- just seems nicer
2014-04-18 12:52:47 -07:00
MinRK
5078049a08
use 'localhost' as default for the notebook server
...
instead of loopback IP
seems to workaround weird issues with Sophos on Windows,
and should behave the same everywhere else.
2014-04-17 12:01:55 -07:00
MinRK
551f534d92
add missing browser
to notebook_aliases list
2014-04-11 11:25:31 -07:00
Renaud Richardet
13c6303010
do not shutdown notebook if 'n' is part of answer
...
this prevents commands like 'yesn' to shut down the notebook server
2014-04-07 11:17:11 +02:00
Thomas Kluyver
b878696a95
Fix starting notebook server with file/directory at command line.
...
The base class implementation of parse_command_line uses update_config,
which ensures that the change event fires for the config traitlet. This
copies that.
Closes gh-5460
2014-03-28 11:51:21 -07:00
MinRK
f9758dd453
add NotebookNotary to NotebookApp's class list
...
adds it to help output and config files
2014-03-10 15:21:11 -07:00