Min RK
d88f5c5898
Merge pull request #6874 from takluyver/config-js-api
...
Add JS config API
11 years ago
Min RK
c1a664dfb9
fix event hookup for kernel changed
...
event is kernel_created.Session
The spec name on the kernel also wasn't being changed when the kernel changed.
11 years ago
Thomas Kluyver
2bfdbfc631
Fix some other bugs
11 years ago
Thomas Kluyver
89222b6dfd
Actually define the module
...
I didn't forget something really obvious and important. Not at all.
11 years ago
Thomas Kluyver
cbd4929785
Use promising_ajax in config API
11 years ago
Thomas Kluyver
625c4f5bc2
Fix punctuation
11 years ago
Thomas Kluyver
d9b71ff750
Add JS config API
11 years ago
MinRK
29e49329e2
use CodeMirror.runMode to highlight in markdown
...
instead of highlight.js
11 years ago
Min RK
388fec4f96
Merge pull request #6924 from takluyver/contents-promises
...
Use promises in the JS contents API
11 years ago
Thomas Kluyver
3dbb600968
Merge pull request #6940 from takluyver/i6937
...
Just use notebook_path in download URLs
11 years ago
Thomas Kluyver
f7860ce9d2
Remove trailing comma
11 years ago
Thomas Kluyver
8d9d317e91
Merge pull request #6857 from jdfreder/celltoolbar_metadata_fix
...
Fix bug cell toolbars not redrawing on metadata change
11 years ago
Thomas Kluyver
8c962df79c
Load promises polyfill from a script tag
...
So all JS code can assume promises work, without needing to require it.
11 years ago
Thomas Kluyver
7240d2dafc
Just use notebook_path in download URLs
...
notebook_name is now superfluous
Closes gh-6937
11 years ago
Jonathan Frederic
f2b6697098
Use a property instead of a setter method
11 years ago
Thomas Kluyver
d3699c8e3b
Update JS docstrings in contents API
11 years ago
Thomas Kluyver
1e53c1f924
Re-raise errors with throw instead of Promise.reject()
11 years ago
Thomas Kluyver
0295f5a487
Semicolons
11 years ago
Min RK
f569ccc58f
Merge pull request #6920 from SylvainCorlay/serialize_date
...
Dates and Strings are JavaScript objects, and _pack_models behaves incorrectly in these cases.
11 years ago
Thomas Kluyver
56320588da
Return JSON from contents API checkpoint methods
11 years ago
Thomas Kluyver
aecb4bffa5
All aboard the promise train
11 years ago
Thomas Kluyver
11cfcc40d4
Use promises for GET requests
11 years ago
Thomas Kluyver
9b2dac3fc1
Infrastructure for AJAX requests returning ES6 promises
11 years ago
Sylvain Corlay
54d6d18baf
Correct height for checkbox widget
11 years ago
Sylvain Corlay
604d0bb666
A String is an object
11 years ago
Sylvain Corlay
4b6c753f3f
Dates are JavaScript objects, and _pack_models returns an empty object
11 years ago
Min RK
0a22217f7e
Merge pull request #6900 from takluyver/contents-api-get-as-type
...
Contents API get as type
11 years ago
Min RK
0f8127c36f
Merge pull request #6735 from Carreau/native-map
...
Use native map when possible
11 years ago
Thomas Kluyver
6f48b58b18
Fix various review comments
11 years ago
Min RK
287d572fb3
Merge pull request #6855 from takluyver/new-notebook-async
...
Open new windows before creating new notebooks
closes #6849
11 years ago
Min RK
a257e580a0
Merge pull request #6854 from takluyver/post-new-terminal
...
Create new terminals with POST request to API
11 years ago
Thomas Kluyver
e453b160b1
Some fixes for the tree view
11 years ago
Thomas Kluyver
f9db65ab6f
Expose and use get requests specifying type in the JS
11 years ago
Thomas Kluyver
c7529c53eb
Eliminate remaining uses of extra_settings
11 years ago
Thomas Kluyver
ef98d48921
Disable passing extra AJAX settings to Contents.new()
11 years ago
Thomas Kluyver
b046af083c
Fix some bugs in deleting notebooks from the dashboard
11 years ago
Thomas Kluyver
260ebcebcf
Open window before creating new notebook
...
Avoids the need for synchronous requests.
11 years ago
Min RK
3870a30ce4
contents.new_untitled to match Python API
11 years ago
Min RK
39041a9f03
address review in contents service
...
- various docstrings, comments clarified and updated
- misc typos
- fix and test creating an untitled directory via POST
- only define `message` if there's something to say
11 years ago
Min RK
8407ba3a08
update frontend with path/name changes
...
- remove name from models
- path is full path (contains name)
11 years ago
Min RK
6d78644411
s/Connection lost/Not Connected/
11 years ago
Min RK
59b54eba53
add Reconnect to kernel menu
11 years ago
Min RK
fe00509f32
add sticky `Connection lost` notification
...
when reconnect process gives up
11 years ago
Min RK
a6d427e5c9
add exponential falloff for reconnect
...
avoids constant reconnect attempts every 3 seconds forever
gives up after 6 tries (last timeout 64s)
11 years ago
Thomas Kluyver
9a7c6e78d9
JS Contents API doesn't need dialog module
11 years ago
Jonathan Frederic
bfdf9596fd
Fix bug where cell toolbars are not redrawn,
...
when cell metadata is changed.
11 years ago
Thomas Kluyver
538fcbc025
Close new window on error creating terminal
11 years ago
Thomas Kluyver
e6939f9aa5
Merge pull request #6846 from minrk/deprecate-heading-ui
...
deprecate heading cells in UI
11 years ago
Thomas Kluyver
8da4e89e3a
Make a window immediately, and set its location on response
...
Avoids the need for async:false
11 years ago
v923z
a2081d042e
replaced nbmodel.orig_nbformat by orig_nbformat
11 years ago