Thomas Kluyver
d732e28cb2
Merge pull request #711 from minrk/allow-async-kernel-manager
...
allow some KernelManager methods to be async
10 years ago
Safia Abdalla
4e8344831c
Updated tests on rename in ContentsManager
10 years ago
Min RK
ba344843eb
add SessionManager.close
...
allows explicit closing, rather than relying on implicit del,
which can run in the wrong thread.
10 years ago
Min RK
cfa64552b2
initialize Application in background thread
...
rather than initializing in main and starting in background, which seemed to cause occasional issues.
Also fix checking for dead notebook, which is no longer a subprocess.
10 years ago
Min RK
9043ae145c
handle async in sessions
...
needed because sessions call kernel methods
10 years ago
Min RK
6024f04698
allow some KernelManager methods to be async
...
Allows custom KernelManagers to do slower async operations as part of kernel startup/shutdown.
10 years ago
Safia Abdalla
8e0a8d1ea6
Added tests for directory renaming
10 years ago
Min RK
c36158270a
Don't set location header on restart
...
the URL doesn't change, it makes no sense.
10 years ago
Min RK
0c5a3b6d04
wait for kernel to restart
...
in API request to restart kernels
by waiting for the kernel to respond to a kernel_info request.
10 years ago
Min RK
c93c6924f6
allow hyphen and dot in kernelspec names
11 years ago
Min RK
9f501ab5cd
get kernelspec info from kernelspecs
...
instead of adding display_name to the sessions model
11 years ago
Min RK
66242b9a70
Merge pull request #503 from julienr/kernel_name
...
Adds kernel name to running notebooks list
11 years ago
Julien Rebetez
91d42c9600
Adds display_name to MappingKernelManager's kernel_model
11 years ago
Jonathan Frederic
1c4daeb137
Merge pull request #491 from minrk/copystat-can-fail
...
allow copystat to fail in atomic_writing
11 years ago
Jonathan Frederic
831b2a523b
Merge pull request #472 from minrk/base-url-always-encoded
...
avoid double-encoding base_url
11 years ago
Min RK
033247b039
protect against copystat failure in copy2
...
we already had this in `self._copy`, but copy2 was still used in atomic_writing.
11 years ago
Min RK
92502b5186
Merge pull request #495 from minrk/not-actually-api-handler
...
Don't re-use APIHandler name for serving yaml spec
11 years ago
Min RK
66d15ce304
Don't re-use APIHandler name for serving yaml spec
11 years ago
Steven Silvester
65eb248209
Add the method to the correct base class
11 years ago
Steven Silvester
1f6a3700a2
Fix signature
11 years ago
Steven Silvester
88c067ff27
Clean up allowed methods
11 years ago
Steven Silvester
f2b42ae72c
Allow cross-origin patches for config
11 years ago
Min RK
8de725a8de
server-side fixes for double-escaped base_url
11 years ago
Edd Barrett
1deb96999f
Don't crash if a filename contains invalid unicode.
11 years ago
Min RK
cc32f165e8
Merge edit-redirect fix
11 years ago
Min RK
f64aa490e3
set model mimetype, even when content=False
11 years ago
Min RK
798fc8acef
move swagger API handler off of existing `/api`
...
that spot was already taken
also set the content-type correctly
11 years ago
Matthias Bussonnier
67dd3b4450
Finish writing the command palette
11 years ago
Thomas Kluyver
3bd961b492
Fix abstract checkpoint methods to match interface used
...
Forward port of ipython/ipython#8524
Closes gh-144
11 years ago
Scott Sanderson
9e13c3b0cd
DOC: Initial work on Contents API docs.
11 years ago
Min RK
b0cae1f51b
Merge pull request #214 from jasongrout/trait-instances
...
Use instances of traits instead of trait classes
11 years ago
Min RK
c42869c3b8
remove 'name' arg from file_exists docstring
...
Only path is used, not separate name, path.
11 years ago
Jason Grout
cf69ab7428
Use instances of traits instead of trait classes
11 years ago
Thomas Kluyver
3c42206759
Store frontend config in nbconfig/ subdirectory
...
Closes gh-211
11 years ago
Min RK
71c2387e34
Merge pull request #173 from jasongrout/swagger
...
Rough draft of documentation for the notebook REST API for kernels, kernel specs, and sessions
11 years ago
Min RK
83367684e1
Merge pull request #164 from techtonik/patch-1
...
Write notebooks with Unix newlines on Windows
11 years ago
Jason Grout
a690e6c059
Serve API from the handlers directory
11 years ago
Jason Grout
ad25d33808
Add an api discovery url
11 years ago
Jason Grout
19c6905769
Move API yaml docs to the static/ directory so they are served with the notebook
...
We do this because there are plenty of machine-driven tools to read this and generate nice docs, etc.
11 years ago
Jason Grout
11ae4d7ff5
Rough draft of documentation for the notebook REST API for kernels, kernel specs, and sessions
11 years ago
Min RK
5403d2479d
make content_security_policy a property
...
and *add* `default-src: 'none'` to API handlers
custom CSP applies to all handlers
11 years ago
Min RK
709ed0d04b
Add APIHandler base class
...
- ensures all API responses are json
- sets CSP to prevent js execution on all API replies
11 years ago
anatoly techtonik
535a04da42
Fix tests and allow atomic_writing with CRLF if needed
...
Per review comments in https://github.com/jupyter/notebook/pull/164
11 years ago
anatoly techtonik
5842156d82
Write notebooks with Unix newlines on Windows
...
This avoids unnecessary notebook linefeed conversions
when working with version control from different systems.
11 years ago
Jason Grout
a016e42cf7
Add links to the REST API documentation (what there is on the wiki)
11 years ago
Min RK
1a91f8ce74
remove clusters tab from notebook
...
moving to an nbextension in ipyparallel
11 years ago
Min RK
d71a59cc9f
s/jupyter_notebook/notebook
11 years ago