MinRK
336f47c126
update message spec adapter per review
...
- docs and comments
- adapt complete_reply with `end=null`, `start=-len(matched_text)`
- remove some incorrect `status` fields
- add `handle_reply_status_error` for handling `status=error` replies (no-op, currently)
12 years ago
MinRK
b06f382e9b
interrogate kernel_info to get protocol version for adaptation
12 years ago
Thomas Kluyver
c4e0ef142b
Merge pull request #5759 from minrk/travis-3.4
...
test with Python 3.4 on Travis
12 years ago
MinRK
191cd44c4d
cleanup socket cleanup
...
- set linger on sockets (avoid hang on exit)
- actually close sockets, not just zmq streams (blame pyzmq, aka me)
seems to be necessary for js/notebook/shutdown test to avoid hanging on Python 3.4.
12 years ago
Spencer Nelson
925a58c0b4
Remove unused imports
12 years ago
Dale Jung
27a77dedbd
API: Allow NotebookManagers to control kernel startup dir. #5468
12 years ago
MinRK
d37780c6a6
use config instead of App.instance to propagate notebook_dir
...
Should behave more logically (I hope).
12 years ago
MinRK
cb25736a24
reorganize who knows what about paths
...
- add NotebookApp.notebook_dir
- add KernelManager.root_dir
- remove NotebookManager.notebook_dir, move to FileNBM.notebook_dir
Default value for KM.root_dir and fNBM.notebook_dir is NotebookApp.notebook_dir, but they can be configured separately.
SessionManager passes the API path to KernelManager,
which is responsible for turning it into the kernel's cwd.
12 years ago
MinRK
37cb0fbdee
remove websocket url
...
websockets should follow the kernel URL
(normal behavior is unchanged, only unused configurability is removed)
12 years ago
MinRK
a184724bdb
remove base_kernel_url
12 years ago
MinRK
7ea311ad64
escape URLs in Location headers
12 years ago
Brian E. Granger
36aa39e3b7
Improving tests and setting of Location header.
12 years ago
Thomas Kluyver
d089f7749f
Use assertEqual, not deprecated assertEquals
12 years ago
Thomas Kluyver
836ad5f388
Add tests for interrupting & restarting kernel
...
These are in an existing test method, as starting and stopping kernels
for individual tests is expensive.
12 years ago
Thomas Kluyver
06fa301908
Refactor tests for kernels REST API
12 years ago
Zachary Sailer
9e0beba86f
adding to test_kernels_api.py
...
- Check all HTTP status code responses for requests
- Test invalid kernel IDs
- Check 'location' key in POST request to kernels
12 years ago
Zachary Sailer
97bc426bb7
add error catching to kernel manager
...
also, adding further tests to kernel manager
12 years ago
MinRK
5568cd5db0
ensure test_no_kernels runs first
...
since it expects a clean notebook server.
12 years ago
Zachary Sailer
27680dacb2
Code review changes.
...
Fixed handler issues and api tests from code review
from @minrk and @carreau.
12 years ago
Zachary Sailer
050a3098a8
review fixes on tests, add extra kernel api test
12 years ago
Zachary Sailer
e9ac1c2d37
add tests for session api
12 years ago
Brian E. Granger
136a19e5eb
Added base class for Notebook API tests.
12 years ago
Zachary Sailer
483d16c8ed
clean kernel manager
12 years ago
Zachary Sailer
8c2009874c
session manager restructuring
...
Redid the sessionmanager, added tests for the session manager,
and added a sqlite database to hold kernel,session,nb mapping.
12 years ago
Zachary Sailer
8261ac2cb9
change standard money keys
12 years ago
Zachary Sailer
fd282698bc
removing debug logs
12 years ago
Zachary Sailer
62ec52e276
fix restart/interrupt kernel buttons
12 years ago
Zachary Sailer
09c4ecbb10
manual rebase services/kernels/
12 years ago
MinRK
39578beabc
remove max_msg_size altogether
...
It was a security feature without an application.
13 years ago
MinRK
4408ab6ca1
warn about messages dropped due to oversize
13 years ago
MinRK
563d9372bf
up default max_msg_size to 1MB
13 years ago
Thomas Kluyver
a2bf752dba
Remove unused imports in IPython.html
13 years ago
Thomas Kluyver
acb7eefef8
Remove unexpected keyword parameter to remove_kernel
...
Closes gh-3474
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago