Thomas Kluyver
e6939f9aa5
Merge pull request #6846 from minrk/deprecate-heading-ui
...
deprecate heading cells in UI
11 years ago
v923z
a2081d042e
replaced nbmodel.orig_nbformat by orig_nbformat
11 years ago
v923z
9c122dcd15
fixed notebook checking code
11 years ago
Min RK
ef49e32ef0
Merge pull request #6783 from takluyver/contentsmanager-js
...
contents.js wrapper for contents service
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
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
4452754a6b
Set notebook nbformat in toJSON
11 years ago
Min RK
6b67a69c22
don't assume converted notebooks are old
...
in notebook.js dialogs, which can now be triggered
by nbformat 4 from the future.
11 years ago
Thomas Kluyver
684516c79f
Fix copy-paste mistakes
11 years ago
Thomas Kluyver
a2f3e23fd8
Add copy_file to contents JS API
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
f8ec8d4abe
Various minor fixes from review
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
c1c591336e
Some more event cleanup
11 years ago
Thomas Kluyver
cf828ccf4e
Cut out some superfluous events
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
9538726b16
Don't do UI stuff in contents API module
11 years ago
Jeff Hemmelgarn
53463898eb
Move contentmanager to contents
11 years ago
KesterTong
3994d4d56a
Adds configuration options to use Google Drive content manager
...
Adds the key contentmanager_js_source to webapp_settings that allows for specifying the content manager JavaScript source file. Also adds a NotebookManager subclass, ClientSideNotebookManager, which does minimal logic. This class is used when the JavaScript content manager doesn't use the Python notebook manager, but rather implements that logic client side, as is the case for the Google Drive based content manager.
A sample command line that uses the Google Drive content manager, and the ClientSideNotebookManager, is
ipython notebook --NotebookApp.webapp_settings="{'contentmanager_js_source': 'base/js/drive_contentmanager'}" --NotebookApp.notebook_manager_class="IPython.html.services.notebooks.clientsidenbmanager.ClientSideNotebookManager"
11 years ago
KesterTong
952ac7d0d8
Moves load_notebook to ContentManager and adds new_notebook to Google Drive version
11 years ago
KesterTong
dfcf14f26c
Uses events for ContentManager.save_notebook
...
Modifies ContentManager.save_notebook() to use events, so that the Notebook instance can listen for success or failure events. Also moves some logic out of save_notebook()
11 years ago
KesterTong
04fc61285f
Use events for rename_notebook
...
Triggers events on ContentManager.rename_notebook success and failure. Also moves some logic out of this method.
11 years ago
KesterTong
61a911fc0c
Fix constructor comments
...
Add content_manager as a dictionary key to the options param passed in to the NotebookList and Notebook constructors.
11 years ago
KesterTong
077ba397c1
Removes unnecessary parameter from ContentManager.delete_notebook
11 years ago
Jeff Hemmelgarn
99323b1173
Move saving to contentmanager
...
Make notebook.save_notebook call contentmanager.save_notebook.
11 years ago
Jeff Hemmelgarn
5b5e194082
Move notebook.rename to contentmanager
...
Make notebook.rename call contentmanager.rename
11 years ago
Jeff Hemmelgarn
7043aa1b9e
switch notebook.delete to use contentmanager
...
Make notebook.delete call contentmanager.delete_notebook
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
MinRK
53ef8e1e1e
remove unused OuptutArea.rename_keys
11 years ago
MinRK
d979f4bedd
better regex replacement for MarkdownCell.set_heading_level
...
(c/o Matthias)
11 years ago
MinRK
dd95b1ef5f
remove heading cells in v4
11 years ago
MinRK
458dcd12e3
make markdown heading input match output size
11 years ago
MinRK
6ca260e611
output[mime/type] -> output.data[mime/type] in javascript
11 years ago
MinRK
a50042745f
semicolons, you guys!
11 years ago
MinRK
09acc6c854
msgspec: stream.data -> stream.text
11 years ago
MinRK
14cfb2efc1
s/prompt_number/execution_count in nbformat 4
11 years ago
MinRK
07079095a8
update html/js to nbformat 4
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
db6cd028ea
Merge pull request #6793 from takluyver/langinfo
...
Move language info from kernelspec to kernel_info_reply
11 years ago
Min RK
965102ba60
Merge pull request #6554 from Carreau/itsallaboutme
...
Add About IPython
11 years ago
Min RK
5ff9ded54a
Merge pull request #6614 from takluyver/nb-terminal-ui
...
Terminal emulator in the notebook
11 years ago
Mateusz Paprocki
3d825cfbcc
Allow to specify CodeMirror's syntax mode as MIME
...
This is required for e.g. Scala, where the mode is given as
text/x-scala, but the actual implementation is in clike mode.
This wouldn't be an issue, but IPython loads modes lazily, so
you need both mode name and MIME to resolve correct file and
configure CodeMirror.
11 years ago
Thomas Kluyver
659accf69e
Add event for Markdown cell rendered
11 years ago
Thomas Kluyver
8917e9951e
Move terminal CSS into LESS file
11 years ago
Bussonnier Matthias
1b200e5504
recompute dummy size dynamically + styling in css
11 years ago