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.
11 years ago
Jonathan Frederic
9e2c95dc07
limit_window -> rate_limit_window
11 years ago
Jonathan Frederic
eb30002a82
Use a set for filter exceptions
11 years ago
Jonathan Frederic
7aaccbd545
Don't filter status, comm_info, kernel_info, and execute_request messages
11 years ago
Jonathan Frederic
c47f3d021b
Fix a bug in the code that parses the parent message from the msg_list
11 years ago
Jonathan Frederic
7232a6a99a
Clarification & cleanup
11 years ago
Jonathan Frederic
69faf0fb9b
Change the logic so the intervals are checked all of the time,
...
also changed no-limit default to "0"
11 years ago
Jonathan Frederic
f83485fcee
Remove log msg
11 years ago
Jonathan Frederic
4c99c5f7f8
Limit on websocket, not zmq
11 years ago
Jonathan Frederic
3b3c4d0315
Add simple iopub message rate limiter
11 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