Jason Grout
686e73dfdf
More simplifications due to promises
11 years ago
Jason Grout
4412c12929
Simplify code by using Promises in a better way; try_load -> load
11 years ago
Jonathan Frederic
c41dcb35e9
Proxy console.error calls
11 years ago
Jonathan Frederic
2eae36ac9a
Use load_class in comms instead of callbacks.
11 years ago
Jonathan Frederic
5a745be138
Add Promise support to models.
11 years ago
Jonathan Frederic
78c0bbdb4d
Fix view rendering order.
11 years ago
Jonathan Frederic
4beda5d0fb
Initial stab at adding promises to the widget framework.
11 years ago
Jason Grout
ff680583c1
initial take on promises
11 years ago
Thomas Kluyver
17826aa0f9
Merge pull request #6801 from minrk/runMode
...
use CodeMirror.runMode to highlight in markdown
11 years ago
Min RK
46f2ebf1de
Remove highlight.js
...
from components and setupbase
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
Min RK
1fba948bd8
Merge pull request #6930 from rgbkrk/tree_fix
...
Fix link to /tree within notebooks
11 years ago
Kyle Kelley
d029a3f4a3
Fix link to /tree.
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
d04e41251d
Merge pull request #6915 from minrk/contents-no-0
...
use Untitled instead of Untitled0
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
Min RK
dcfaaf6acb
Merge pull request #6922 from SylvainCorlay/checkbox_height
...
Correct height for the checkbox widget
11 years ago
Min RK
48d77b3f03
Merge pull request #6886 from minrk/tornado-4
...
require tornado 4
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
6b85afb077
Add es6-promise to package_data
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
2a026ed45b
Test packing/unpacking instances of Date and String
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
e4e1d47203
Merge pull request #6694 from takluyver/config-rest-api
...
Add REST API for retrieving, storing and updating config
11 years ago
Min RK
0f8127c36f
Merge pull request #6735 from Carreau/native-map
...
Use native map when possible
11 years ago
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`
11 years ago
Thomas Kluyver
0f44eced72
Put frontend config files in profile_foo/nbconfig/ subdir
11 years ago
Thomas Kluyver
18cb072e77
Merge pull request #6911 from minrk/no-no-cr-cr-lf
...
don't use text mode in mkstemp
11 years ago
Min RK
47f307e4c8
don't use text mode in mkstemp
...
causes double-encoding of newlines,
preventing newline arg from having desired effect.
11 years ago
Thomas Kluyver
aaf660d204
Merge pull request #6908 from minrk/del-comm-id
...
handle setting Widget.comm = None
11 years ago
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.
11 years ago
Thomas Kluyver
c9b6e30526
Actually pass URL params with API request
11 years ago
Thomas Kluyver
a469d7658a
Add test for /tree redirects
11 years ago
Thomas Kluyver
f1f81e2efa
Rename get_model() to get()
11 years ago
Thomas Kluyver
6f48b58b18
Fix various review comments
11 years ago
Thomas Kluyver
b5a6cb7da1
Allow specifying format when getting files from contents API
11 years ago