Min RK
1c47a3dbb5
channel.closed is a method
...
since we weren't calling it, the restart channel was never closed,
causing process teardown to hang *sometimes*, depending on garbage collection.
10 years ago
Matthias Bussonnier
6ab2cd0dd6
Show warnings during tests
10 years ago
Carol Willing
40d0833869
Fixed reference that was erroring in validator
10 years ago
Diego Mesa
482ed8a5a3
updating log.warn to log.warning
10 years ago
Min RK
8ed64b374e
Merge pull request #1066 from Carreau/rmw
...
Remove usage of encode/decodestring, Deprecated, replace by bytes equiv.
10 years ago
Min RK
eef1ba8620
Merge pull request #931 from jdfreder/ratelimit
...
Add simple iopub message rate limiter
10 years ago
Matthias Bussonnier
0ad67c8b7f
Remove usage of encode/decodestring, Deprecated, replace by bytes equiv.
10 years ago
Jason Grout
fc8d0dcb06
Merge pull request #979 from minrk/swagger-doc
...
update swagger API doc from jupyter-js-services
10 years ago
Min RK
732fc9cc18
Checkpoint restored typo
10 years ago
Min RK
ba65ca5030
fix swagger validation errors
10 years ago
Min RK
1a7d23479b
update swagger doc from jupyter-js-services
10 years ago
Jason Grout
4671134fdf
Initial work-in-progress for contents api swagger docs
10 years ago
Min RK
c280b773fb
use session.deserialize to unpack message for rate limiting
...
rather than hardcoding json.loads
Messages should **never** be deserialized by any means other than the Session API.
10 years ago
Jonathan Frederic
9e2c95dc07
limit_window -> rate_limit_window
10 years ago
Jonathan Frederic
eb30002a82
Use a set for filter exceptions
10 years ago
Jonathan Frederic
7aaccbd545
Don't filter status, comm_info, kernel_info, and execute_request messages
10 years ago
Jonathan Frederic
c47f3d021b
Fix a bug in the code that parses the parent message from the msg_list
10 years ago
Jonathan Frederic
7232a6a99a
Clarification & cleanup
10 years ago
Jonathan Frederic
69faf0fb9b
Change the logic so the intervals are checked all of the time,
...
also changed no-limit default to "0"
10 years ago
Jonathan Frederic
f83485fcee
Remove log msg
10 years ago
Jonathan Frederic
4c99c5f7f8
Limit on websocket, not zmq
10 years ago
Jonathan Frederic
3b3c4d0315
Add simple iopub message rate limiter
10 years ago
Matthias Bussonnier
e4ec5ba3f3
Be more explicit about deprecation.
...
Cf #916 . Despite the fact that the function is private and meant
to replace an old behavior that will be removed, people explicitly
import it and register it as a post-save-hook.
Hope that explicit versing removal will convey the "Don't use" in a more
obvious manner.
10 years ago
Pierre Gerold
6ba2104c4b
finish the merge ... yeh I missed a <<<<<<<HEAD ...
11 years ago
Pierre Gerold
c218ff25f7
Merge branch 'master' into toto
11 years ago
Pierre Gerold
7d6c1c4774
Merge branch 'master' of https://github.com/jupyter/notebook
11 years ago
Pierre Gerold
fbcf2c403e
remove flush after save (no atomic writing)
11 years ago
Pierre Gerold
28d6fbde84
Modify test + correct docstrings
11 years ago
Thomas Kluyver
d732e28cb2
Merge pull request #711 from minrk/allow-async-kernel-manager
...
allow some KernelManager methods to be async
11 years ago
Safia Abdalla
4e8344831c
Updated tests on rename in ContentsManager
11 years ago
Min RK
ba344843eb
add SessionManager.close
...
allows explicit closing, rather than relying on implicit del,
which can run in the wrong thread.
11 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.
11 years ago
Min RK
9043ae145c
handle async in sessions
...
needed because sessions call kernel methods
11 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.
11 years ago
Safia Abdalla
8e0a8d1ea6
Added tests for directory renaming
11 years ago
Pierre Gerold
7cfd9b407a
Add test for non atomic writing
11 years ago
Pierre Gerold
48dcf2d319
One carac error + debug logging
11 years ago
Pierre Gerold
f849e310c8
Save without atomic writing and configuration ( fix #739 )
11 years ago
Pierre Gerold
459fd24c03
Save without atomic writing and configuration ( fix #739 )
11 years ago
Min RK
c36158270a
Don't set location header on restart
...
the URL doesn't change, it makes no sense.
11 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.
11 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