Thomas Kluyver
b7a558d5b9
Use synchronous request for creating new notebooks
...
To get round popup blockers
11 years ago
Thomas Kluyver
2a497c16eb
load_file -> load
11 years ago
Thomas Kluyver
a4f869aa8b
Rename methods to remove _file suffix
11 years ago
Thomas Kluyver
5279418acf
Make Contents.new more generic
11 years ago
Thomas Kluyver
658eb39c56
Remove one more unnecessary cache parameter
11 years ago
Thomas Kluyver
2962a3ce17
Remove some unnecessary cache: false parameters
...
According to the jQuery docs, this is only needed for GET and HEAD
requests.
11 years ago
Thomas Kluyver
a2f3e23fd8
Add copy_file to contents JS API
11 years ago
Thomas Kluyver
b8f9dc07e2
Fix error callback when deleting file
11 years ago
Kester Tong
9797a6b7c0
typo fix
11 years ago
Kester Tong
89df330129
Modifies Contents API to return Error objects
...
Modfies the Contents class to return JavaScript Error objects instead of passing on the return values from $.ajax(). This has two advantages. First, it allows the content manager to parse errors and give more informative messages than the ajax response. Second, it makes the Contents interface more general, since other kinds of backends might generate client-side errors.
11 years ago
Thomas Kluyver
ea314a2a86
Rename callback parameters to success/error
11 years ago
Thomas Kluyver
c1c591336e
Some more event cleanup
11 years ago
Thomas Kluyver
c9bd254735
Make contents JS API consistent
11 years ago
Thomas Kluyver
29d88a91a6
Standardise JS checkpointing API, use it for notebooks
11 years ago
Thomas Kluyver
14106cbd66
Move contents API module into services
11 years ago
Thomas Kluyver
db6cd028ea
Merge pull request #6793 from takluyver/langinfo
...
Move language info from kernelspec to kernel_info_reply
11 years ago
Thomas Kluyver
9c7d73a05e
Move language info from kernelspec to kernel_info_reply
11 years ago
Thomas Kluyver
a77b5e8e31
Support specifying requirejs modules for comm targets
11 years ago
MinRK
a67abc297d
remove unnecessary 'js' subdir from services
...
part of the point of services is that they are just code, so they won't have js/less/etc. files.
11 years ago
MinRK
7fd161599b
cleanup serialize per review
11 years ago
MinRK
8c743d304f
unsigned ints for offsets
...
because signed ints for sizes is icky
11 years ago
MinRK
11f5775103
test binary websocket messages
...
only runs on slimerjs for now
11 years ago
MinRK
b548e51550
use TextEncoding for string<->ArrayBuffer
...
requires text-encoding js polyfill, for now
11 years ago
MinRK
3693ac83ae
support binary message from javascript
11 years ago
MinRK
6cef7fcb86
use utf8.js
...
move message serialization to kernel.serialize module
11 years ago
MinRK
c9c131ebf9
s/unserialize/deserialize
11 years ago
MinRK
3a1c845f96
support buffers in comm messages
...
- add buffers arg to comm Python api
- support binary websocket messages when buffers are present
- reimplement utf8 in javascript, because javascript is the best
11 years ago
MinRK
624f0071a2
remove on_first_message authentication
...
in ZMQStreams. No need for weird, special first message.
- use regular cookie auth
- use url param for session id
11 years ago
Jessica B. Hamrick
b650c56a66
One more this/that change
11 years ago
Jessica B. Hamrick
bbb9edf374
Fix bugs with this and that
11 years ago
Jessica B. Hamrick
37c2419c5e
Rename all status_event to kernel_event
11 years ago
Jessica B. Hamrick
8f28134a89
Keep trying to reconnect
11 years ago
Jessica B. Hamrick
e5a5bdcdd3
Handle and test for failed restart in session.js
11 years ago
Jessica B. Hamrick
29e6885b60
Test for autorestart and failed autorestart
11 years ago
Jessica B. Hamrick
7f8b95a661
Add status_ready.Kernel event and rename status_started to status_created
11 years ago
Jessica B. Hamrick
504f0b4d9d
Add docstring to Session.restart
11 years ago
Jessica B. Hamrick
c43e06bbc4
Add test for kernel_dead.Session
11 years ago
Jessica B. Hamrick
42e863db8c
Remove debugging statements
11 years ago
Jessica B. Hamrick
01ba501b88
Fix event tests
11 years ago
Jessica B. Hamrick
9180004fd1
Better way of logging events
11 years ago
Jessica B. Hamrick
d5a4dec6c3
Add restart function to session
11 years ago
Jessica B. Hamrick
42a9a1f46d
Make kernel js events clearer and more consistent
11 years ago
Jessica B. Hamrick
951d9a7249
Don't actually change kernel constructor signature
11 years ago
Jessica B. Hamrick
05611569ec
Add docstrings to kernel.js
11 years ago
Jessica B. Hamrick
4aa66d09dd
Add docstrings to session.js
11 years ago
Jessica B. Hamrick
2dbfc30934
Add no_kernel.Kernel event
11 years ago
Jessica B. Hamrick
999daf041c
Handle query string in Kernel.start
11 years ago
Jessica B. Hamrick
befe8eb720
Update session tests
11 years ago
Jessica B. Hamrick
741b2e97b1
Only set channels to null when they are fully closed
11 years ago
Jessica B. Hamrick
a601531e1c
Move channels into their own object
11 years ago