Carlos Cordoba
abee155a11
Websockets were not started correctly on QtWebKit 4
...
- Draft76 was added to support QtWebKit 4 (and hence PhantomJS) a little
bit longer, but before this change kernel websockets failed to start on
that platform.
2014-11-15 19:26:06 -05:00
Min RK
d88f5c5898
Merge pull request #6874 from takluyver/config-js-api
...
Add JS config API
2014-11-15 12:52:38 -08:00
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.
2014-11-15 12:19:35 -08:00
Thomas Kluyver
2bfdbfc631
Fix some other bugs
2014-11-14 17:06:58 -08:00
Thomas Kluyver
89222b6dfd
Actually define the module
...
I didn't forget something really obvious and important. Not at all.
2014-11-14 16:57:43 -08:00
Thomas Kluyver
cbd4929785
Use promising_ajax in config API
2014-11-14 15:00:37 -08:00
Thomas Kluyver
625c4f5bc2
Fix punctuation
2014-11-14 14:55:07 -08:00
Thomas Kluyver
d9b71ff750
Add JS config API
2014-11-14 14:55:07 -08:00
MinRK
29e49329e2
use CodeMirror.runMode to highlight in markdown
...
instead of highlight.js
2014-11-14 14:53:52 -08:00
Min RK
388fec4f96
Merge pull request #6924 from takluyver/contents-promises
...
Use promises in the JS contents API
2014-11-14 14:46:37 -08:00
Thomas Kluyver
3dbb600968
Merge pull request #6940 from takluyver/i6937
...
Just use notebook_path in download URLs
2014-11-14 14:32:45 -08:00
Thomas Kluyver
f7860ce9d2
Remove trailing comma
2014-11-14 13:05:55 -08:00
Thomas Kluyver
8d9d317e91
Merge pull request #6857 from jdfreder/celltoolbar_metadata_fix
...
Fix bug cell toolbars not redrawing on metadata change
2014-11-14 12:57:15 -08:00
Thomas Kluyver
8c962df79c
Load promises polyfill from a script tag
...
So all JS code can assume promises work, without needing to require it.
2014-11-14 12:43:44 -08:00
Thomas Kluyver
7240d2dafc
Just use notebook_path in download URLs
...
notebook_name is now superfluous
Closes gh-6937
2014-11-14 12:16:59 -08:00
Jonathan Frederic
f2b6697098
Use a property instead of a setter method
2014-11-14 11:22:28 -08:00
Kyle Kelley
d029a3f4a3
Fix link to /tree.
2014-11-13 17:50:57 -06:00
Thomas Kluyver
d3699c8e3b
Update JS docstrings in contents API
2014-11-13 14:44:57 -08:00
Thomas Kluyver
1e53c1f924
Re-raise errors with throw instead of Promise.reject()
2014-11-13 14:25:28 -08:00
Thomas Kluyver
d04e41251d
Merge pull request #6915 from minrk/contents-no-0
...
use Untitled instead of Untitled0
2014-11-13 14:04:00 -08:00
Thomas Kluyver
0295f5a487
Semicolons
2014-11-13 12:30:26 -08:00
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.
2014-11-13 12:26:02 -08:00
Min RK
dcfaaf6acb
Merge pull request #6922 from SylvainCorlay/checkbox_height
...
Correct height for the checkbox widget
2014-11-13 12:24:21 -08:00
Min RK
48d77b3f03
Merge pull request #6886 from minrk/tornado-4
...
require tornado 4
2014-11-13 12:23:32 -08:00
Thomas Kluyver
56320588da
Return JSON from contents API checkpoint methods
2014-11-13 12:20:53 -08:00
Thomas Kluyver
aecb4bffa5
All aboard the promise train
2014-11-13 12:17:49 -08:00
Thomas Kluyver
11cfcc40d4
Use promises for GET requests
2014-11-13 11:42:52 -08:00
Thomas Kluyver
9b2dac3fc1
Infrastructure for AJAX requests returning ES6 promises
2014-11-13 11:42:37 -08:00
Sylvain Corlay
2a026ed45b
Test packing/unpacking instances of Date and String
2014-11-13 18:50:21 +00:00
Sylvain Corlay
54d6d18baf
Correct height for checkbox widget
2014-11-13 17:46:19 +00:00
Sylvain Corlay
604d0bb666
A String is an object
2014-11-13 15:42:31 +00:00
Sylvain Corlay
4b6c753f3f
Dates are JavaScript objects, and _pack_models returns an empty object
2014-11-13 15:37:56 +00:00
Min RK
0a22217f7e
Merge pull request #6900 from takluyver/contents-api-get-as-type
...
Contents API get as type
2014-11-12 21:43:50 -08:00
Min RK
e4e1d47203
Merge pull request #6694 from takluyver/config-rest-api
...
Add REST API for retrieving, storing and updating config
2014-11-12 21:40:30 -08:00
Min RK
0f8127c36f
Merge pull request #6735 from Carreau/native-map
...
Use native map when possible
2014-11-12 16:31:51 -08:00
Min RK
456e65b1f3
adjustments to filename increment
...
- start with no number (Untitled0 -> Untitled.ipynb)
- copy of copy increments instead of adding another `-Copy` (copy Foo-Copy1.ipynb gives Foo-Copy2.ipynb, not Foo-Copy1-Copy1.ipynb)
- copy file to new folder starts with the original filename, instead of unconditional `-Copy0`
2014-11-12 16:24:35 -08:00
Thomas Kluyver
0f44eced72
Put frontend config files in profile_foo/nbconfig/ subdir
2014-11-12 15:53:35 -08:00
Min RK
b5e7ce30ca
handle setting Widget.comm = None
...
which is done in `Widget.close`
fixes loads of warnings in widget test output, caused every time a widget is closed.
2014-11-12 11:29:10 -08:00
Thomas Kluyver
c9b6e30526
Actually pass URL params with API request
2014-11-11 18:18:36 -08:00
Thomas Kluyver
a469d7658a
Add test for /tree redirects
2014-11-11 15:11:54 -08:00
Thomas Kluyver
f1f81e2efa
Rename get_model() to get()
2014-11-11 14:51:21 -08:00
Thomas Kluyver
6f48b58b18
Fix various review comments
2014-11-11 14:46:53 -08:00
Thomas Kluyver
b5a6cb7da1
Allow specifying format when getting files from contents API
2014-11-11 14:20:56 -08:00
Min RK
287d572fb3
Merge pull request #6855 from takluyver/new-notebook-async
...
Open new windows before creating new notebooks
closes #6849
2014-11-11 14:18:00 -08:00
Min RK
a257e580a0
Merge pull request #6854 from takluyver/post-new-terminal
...
Create new terminals with POST request to API
2014-11-11 14:12:54 -08:00
Thomas Kluyver
e453b160b1
Some fixes for the tree view
2014-11-11 12:32:24 -08:00
Thomas Kluyver
f9db65ab6f
Expose and use get requests specifying type in the JS
2014-11-11 12:32:13 -08:00
Thomas Kluyver
ce6dd40c5c
Add type parameter for contents GET requests
2014-11-11 12:17:36 -08:00
Thomas Kluyver
c7529c53eb
Eliminate remaining uses of extra_settings
2014-11-11 11:00:19 -08:00
Thomas Kluyver
ef98d48921
Disable passing extra AJAX settings to Contents.new()
2014-11-11 10:58:31 -08:00