Jonathan Frederic
353a9afd34
Kill the layout manager
11 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
11 years ago
Thomas Kluyver
8bfec5015b
Add the . into file_extension
11 years ago
Thomas Kluyver
58b0669b9b
Fix asyncy nbconvert to download
11 years ago
Thomas Kluyver
800e2ad25a
'Download as' script
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
f7860ce9d2
Remove trailing comma
11 years ago
Thomas Kluyver
7240d2dafc
Just use notebook_path in download URLs
...
notebook_name is now superfluous
Closes gh-6937
11 years ago
Thomas Kluyver
aecb4bffa5
All aboard the promise train
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
Thomas Kluyver
e453b160b1
Some fixes for the tree view
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
59b54eba53
add Reconnect to kernel menu
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
b7a558d5b9
Use synchronous request for creating new notebooks
...
To get round popup blockers
11 years ago
Min RK
04bcfa626d
deprecate heading cells in UI
...
- removed from Kernel Menu
- Main toolbar warns via shouty dialog
- keyboard shortcuts still work to make headings in markdown cells, with no warning
11 years ago
Thomas Kluyver
5279418acf
Make Contents.new more generic
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
060dd1305c
Miscellaneous JS fixes
11 years ago
Thomas Kluyver
9538726b16
Don't do UI stuff in contents API module
11 years ago
Jeff Hemmelgarn
53463898eb
Move contentmanager to contents
11 years ago
KesterTong
993833d018
Replace other methods with ContentManager.new_notebook
...
Replaces Notebook.new_notebook and NotebookList.new_notebook with ContentManager.new_notebook
11 years ago
Min RK
1d7f8803e0
use ?download=1 to trigger download in /files/
...
sets `Content-Disposition: attachment...`
- master sets this unconditionally
- 2.x sets this iff file is a notebook
11 years ago
Thomas Kluyver
eacd05505c
Open download in a new window instead of changing the URL
...
Closes gh-6764
11 years ago
Jessica B. Hamrick
3dfe601a8f
Fix session references in toolbar and menubar
11 years ago
Matthias Bussonnier
77ec6fdfa2
Merge pull request #6205 from Carreau/momentjs
...
use momentjs for nicer dates
12 years ago
MinRK
0909694b50
avoid race condition when deleting/starting sessions
...
javascript doesn't guarantee the order of AJAX requests,
so we give `Session.delete` and `Kernel.kill` a callback signature.
Changing the kernel type calls `Notebook.start_kernel`,
which terminates the previous session, if defined,
before starting the new one.
A flag is stored, to prevent multiple simultaneous attempts to start sessions, raising a SessionAlreadyStarting Error,
preventing the spec_changed event from firing.
12 years ago
Matthias BUSSONNIER
8b20aee32e
use momentjs for nice dates
12 years ago
Matthias BUSSONNIER
4d9611a9ff
add TODO
12 years ago
Matthias BUSSONNIER
5b9f518513
move styling from js to css
12 years ago
MinRK
d345546d15
add bootstrap shim for require
...
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
12 years ago
Jonathan Frederic
b15633a89e
Fix all the tests
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
669db572f2
Fix some dialog keyboard_manager problems
12 years ago
jon
70ffd96eb9
Added some nice comments,
...
so devs can easily figure out what options to pass
into the objects they want to construct.
12 years ago
jon
d9ab2d203a
In person review with @ellisonbg
12 years ago
jon
1e098560b8
Revert "Google hangout review comments."
...
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
12 years ago
Jonathan Frederic
eb2b1ab4a4
Google hangout review comments.
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0edfdbc703
Return dicts instead of classes,
...
this makes require.js more Python import like.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
8d511b2ff5
Finished moving code into final(?) resting modules
12 years ago
MinRK
b7c1f1d8f6
allow notebook tour instantiation to fail
...
can fail with SecurityError,
depending on browser privacy settings
disable UI Tour menu entry if tour instantiation fails
ref: sorich87/bootstrap-tour#262
12 years ago
MinRK
f7c1a15896
support pdf export in the notebook UI
12 years ago
Thomas Kluyver
80af3b4cfb
Merge pull request #4802 from ivanov/ui-docs
...
Tour of the notebook UI (was UI elements inline with highlighting)
12 years ago