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
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
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
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
Thomas Kluyver
a76a546627
Add REST API for retrieving, storing and updating config
11 years ago
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.
11 years ago
Scott Sanderson
cd1304961f
DEV: Support for configurable list of extra jinja template directories.
11 years ago
Thomas Kluyver
4025b57ed8
Only display terminals in dashboard if terminals are available
11 years ago
Thomas Kluyver
9c0084e615
Multiple terminals and conditional initialisation
11 years ago
Thomas Kluyver
d211ebf067
Basic infrastructure for terminal page
11 years ago
MinRK
868994087f
finish up FilesHandler
...
- load FilesHandler like everything else
- remove copy/paste leftovers
11 years ago
Manuel Riel
2b4cbbfea2
add new FilesHandler to serve files from ContentsManager.
11 years ago
MinRK
84a72ae87a
use app name on tornado log statements
...
avoids mixture of 'tornado.access' and 'NotebookApp'
11 years ago
Matthias Bussonnier
9155675440
drop more 2.6 hacks
11 years ago
Min RK
bfdb098d76
Merge pull request #6495 from Carreau/expandpath
...
Expand user home path in template search path.
11 years ago
MinRK
979b8dd9db
actually use new tornado_settings
...
instead of deprecated webapp_settings
12 years ago
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.
12 years ago
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.
12 years ago
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.
12 years ago
Thomas Kluyver
4db6295fba
Merge pull request #6249 from minrk/always-https-mathjax
...
always use HTTPS getting mathjax from CDN
12 years ago
MinRK
b47ddffd42
always use HTTPS getting mathjax from CDN
12 years ago
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`
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
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.
12 years ago
Min RK
70bc0704c2
Merge pull request #6099 from takluyver/check-nbservers-pid
...
Check process existence when listing nbserver processes
12 years ago
MinRK
792f21be5a
remove rackcdn https workaround for mathjax cdn
...
cdn.mathjax.org works over https now
12 years ago
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.
12 years ago
MinRK
55f455ab55
only set allow_origin_pat if defined
...
fixes the default behavior to be as intended (require Origin == Host)
12 years ago
Thomas Kluyver
2bcbd3c5cb
Check for pids when listing nbserver processes
12 years ago
Min RK
7af9f5f1f8
Merge pull request #6061 from minrk/cors
...
make CORS configurable
12 years ago
MinRK
0d9ba93307
persist notebook server cookie secret in security dir
...
prevents loss of login after relaunching the notebook server
closes #6075
12 years ago
MinRK
1edc97e34a
s/cors_/allow_/
...
add notes about Tornado 4, and comments, updates per review
12 years ago
MinRK
2460879e81
Remove a sleep no longer needed with the current base zmq version
12 years ago
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='*'
12 years ago
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.
12 years ago
Thomas Kluyver
f6628b7006
Refactor kernelspec resource handler to separate URL prefix
12 years ago