Matthias Bussonnier
a9fffc41ab
Merge pull request #6950 from minrk/new-new-dropdown
...
Add kernel-select dropdown to new notebook button
12 years ago
Min RK
befb16ebe3
Merge pull request #6948 from bollwyvl/graceful-mathjax-widgets
...
Ignore failure of widget MathJax typesetting
12 years ago
Min RK
f94e482478
handle undefined settings in promising_ajax
12 years ago
Min RK
9e809126e4
add utils.get_url_param
...
I really cannot believe that we need to write this ourselves
12 years ago
Nicholas Bollweg (Nick)
83757b6a0e
moving typeset to utils, usage in cell and outputarea
12 years ago
Jonathan Frederic
353a9afd34
Kill the layout manager
12 years ago
Jonathan Frederic
5a9e4d7986
Manual fixes
12 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
12 years ago
Min RK
cf91873644
Merge pull request #6866 from takluyver/nb-texteditor
...
Notebook text editor
12 years ago
Min RK
18613d6554
add favicon
...
designed by @awantulok
12 years ago
Matthias Bussonnier
5db4b7a8ee
Merge pull request #6668 from Carreau/actions
...
Add notion of action to keyboard manager.
12 years ago
Min RK
b54cc20357
use Jupyter logo in the notebook header
...
and favicon
12 years ago
Thomas Kluyver
6419595371
Use NotificationArea in the text editor
12 years ago
Matthias Bussonnier
9ae62c21b8
Some cleanup unused code and missig use-strict
12 years ago
Jonathan Frederic
f9d730d01e
Address @takluyver 's review comments
12 years ago
Jonathan Frederic
bed3a4cfda
use es6
12 years ago
Jonathan Frederic
fed878fed9
Don't throw Errors with Objects as the message/
12 years ago
Jonathan Frederic
bbcd5cb55f
Bug fixes
12 years ago
Jonathan Frederic
3870bb571b
Use rsvp.js for Promises
12 years ago
Jonathan Frederic
1d1572421f
Add a WrappedError class
12 years ago
Jason Grout
f11a51bb77
Dictionary key/value typo
12 years ago
Jason Grout
fc94383487
Better error messages with correct stack traces
12 years ago
Jason Grout
686e73dfdf
More simplifications due to promises
12 years ago
Jason Grout
4412c12929
Simplify code by using Promises in a better way; try_load -> load
12 years ago
Jonathan Frederic
4beda5d0fb
Initial stab at adding promises to the widget framework.
12 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.
12 years ago
Thomas Kluyver
0295f5a487
Semicolons
12 years ago
Thomas Kluyver
9b2dac3fc1
Infrastructure for AJAX requests returning ES6 promises
12 years ago
Min RK
8407ba3a08
update frontend with path/name changes
...
- remove name from models
- path is full path (contains name)
12 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.
12 years ago
Thomas Kluyver
14106cbd66
Move contents API module into services
12 years ago
Thomas Kluyver
a10dea4cd5
Add Contents.api_url convenience function
12 years ago
Thomas Kluyver
9538726b16
Don't do UI stuff in contents API module
12 years ago
Thomas Kluyver
478648bde5
Page URL is /notebooks/..., not contents
12 years ago
Thomas Kluyver
c661c85abd
Add missing semicolon
12 years ago
Jeff Hemmelgarn
47a88f0e1d
Remove version
12 years ago
Jeff Hemmelgarn
53463898eb
Move contentmanager to contents
12 years ago
jhemmelg
5109be2d28
ContentManager function signatures updated
12 years ago
jhemmelg
496fa1901f
Initial interface for javascript contentmanagers
...
contentmanager.js is going to be a js proxy for the current
filenbmanager.py. This will allow a contentmanager for Google Drive to
be created.
12 years ago
Jeff Hemmelgarn
09e0ff93d8
Fix a few problems with cherry-picked commits
...
api/notebooks => api/contents
add type to JSON model
fix a few things in notebooklist.js
12 years ago
KesterTong
952ac7d0d8
Moves load_notebook to ContentManager and adds new_notebook to Google Drive version
12 years ago
KesterTong
e3ef5d3b70
Moves list_notebooks to ContentManager
12 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()
12 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.
12 years ago
KesterTong
75d7e69fc8
Use $.proxy instead of that
12 years ago
KesterTong
9881d17bb1
Remove unused event
...
This event never seems to get used.
12 years ago
KesterTong
0aada3ac5d
Remove deleted notebook from notebook list
...
Uses events to notify the NotebookList when the content manager deletes a notebook, and remove the deleted notebook in response to such an event.
12 years ago
KesterTong
077ba397c1
Removes unnecessary parameter from ContentManager.delete_notebook
12 years ago
Jeff Hemmelgarn
99323b1173
Move saving to contentmanager
...
Make notebook.save_notebook call contentmanager.save_notebook.
12 years ago
Jeff Hemmelgarn
5b5e194082
Move notebook.rename to contentmanager
...
Make notebook.rename call contentmanager.rename
12 years ago
Jeff Hemmelgarn
728c6f005f
Move deleting a notebook to contentmanager.js
...
Move code to handle deleting a notebook from notebooklist to
contentmanager.
12 years ago
KesterTong
d17ca85f5b
Adds dialog on new_notebook failure
...
This logic doesn't really belong in ContentManager. It would be better to trigger an event, which is handled somewhere else. But there's no obvious place to put this event, so creating the error dialog inside the new_notebook method is ok for now.
12 years ago
KesterTong
5717a3eb10
Make ContentManager stateless
...
Don't store notebook_path in ContentManager, because this sort of state (in addition to notebook_name) can change, and keeping track of this logic doesn't seem to be a part of the file management system. Instead, this logic can be left to the Notebook instance (and possible other places that manage it). This makes refactoring easier, and avoids having to replicate this logic in every implementation of ContentManager.
12 years ago
KesterTong
99f2647edd
Use IPython style constructor
12 years ago
KesterTong
21a5b5a965
Style and bug fixes
12 years ago
jhemmelg
112a74c566
ContentManager function signatures updated
12 years ago
jhemmelg
d5a84bb8a4
Initial interface for javascript contentmanagers
...
contentmanager.js is going to be a js proxy for the current
filenbmanager.py. This will allow a contentmanager for Google Drive to
be created.
12 years ago
Thomas Kluyver
c39939869f
Merge pull request #6653 from mattpap/fix_ansispan
...
Fix IPython.utils.ansispan() to ignore stray [0m
12 years ago
Matthias Bussonnier
d269912958
Merge pull request #6110 from minrk/binarycomm
...
support binary buffers in comm messages
12 years ago
MinRK
ab9e2b496d
move grid-float-breakpoint to 540px
...
collapses navbar before running over to two lines
due to help/indicator collision.
12 years ago
MinRK
36cd457b11
move the navbar-collapse transition to xs
...
avoids stacked navbar on narrow (but not too narrow) windows
12 years ago
Matthias Bussonnier
8aa3815130
Add notion of action that differs from shortcuts.
...
This decouple the notion of shortcut from the notion of executed "action"
This allow the shortcuts manager to be purely describe as data, and the
same action to be later refered to either from the shortcut, from a toolbar
button or a menu.
This also implement a more complete keyboard shortcut handler which is
able ton interpete sequences like `Cmd-X,Meta-v` By storing the
shortcuts in a tree.
12 years ago
MinRK
6cef7fcb86
use utf8.js
...
move message serialization to kernel.serialize module
12 years ago
MinRK
3a1c845f96
support buffers in comm messages
...
- add buffers arg to comm Python api
- support binary websocket messages when buffers are present
- reimplement utf8 in javascript, because javascript is the best
12 years ago
Matthias Bussonnier
3de3ef9add
add comment about codemirror.modeURL
12 years ago
MinRK
8e863d951c
use require to load CodeMirror modes
...
CM's loadmode addon only works if you *don't* load CodeMirror itself with require.
12 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
12 years ago
Jessica B. Hamrick
40ebe5d816
Make kernel dialogs be a special type of dialog
12 years ago
Jessica B. Hamrick
d606d53b4e
More informative error messages
12 years ago
Mateusz Paprocki
904216d546
Fix ansispan() to ignore stray [0m
12 years ago
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
12 years ago
Brian E. Granger
94f717781d
Merge pull request #6125 from jdfreder/flex
...
Embrace the flexible box model in the widgets
12 years ago
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
12 years ago
Jonathan Frederic
37f00f73d7
Added baseline and stretch
12 years ago
Matthias BUSSONNIER
d1dc31c9de
fix loginwidget css
12 years ago
Matthias BUSSONNIER
21222fe302
remove empty style function in page.js
12 years ago
Matthias BUSSONNIER
3b5b32f27b
move login widget style to css
12 years ago
Matthias BUSSONNIER
c261f45ea3
movestyling from js to css + deprecation warnign
12 years ago
Matthias BUSSONNIER
36e3f20d5e
fix some font-awesoem 4 icons
12 years ago
MinRK
c72cd05cf3
fix docstring in events.js
...
example shows registering a handler, not triggering an event.
12 years ago
MinRK
4097da724b
preserve backward-compatible $([IPython.events])
12 years ago
MinRK
b1291df14a
return global events from require(['base/js/events']).
...
In master, it is impossible to load code on IPython events without setting timeouts.
12 years ago
Min RK
2fe0687097
Merge pull request #6149 from jasongrout/less-upgrade
...
Less upgrade
12 years ago
MinRK
112c4083e9
add comments for style blocks in less
...
separates each component into individual line in compiled css,
reducing some churn in minified css files.
12 years ago
MinRK
98ac874131
cell toolbar and modal dialog fixes
...
- name conflict in modal
- cell.cell_type in cell toolbar
prevented edit metadata from working properly.
12 years ago
Matthias BUSSONNIER
17afb5a71f
remove pagemain.js
...
It does not seem to be usefull anymore.
The different main.js of /tree /notebook /etc do create an instance of
`page` themselves, error pages do have hardcoded styles that show header
and sites.
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
669db572f2
Fix some dialog keyboard_manager problems
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
Jonathan Frederic
188072d190
@carreau review changes
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
152e23dc76
Progress...
12 years ago
Jonathan Frederic
e6b7cc9ff9
Fixed events
12 years ago
Jonathan Frederic
9bfe5fc06c
Use ipython namepsace for instances.
12 years ago
Jonathan Frederic
629204a2bb
Fixed global IPython namespace.
12 years ago
Jonathan Frederic
b1c8d2662c
Finished making tree.html requirejs friendly
12 years ago
Jonathan Frederic
9f4a03ce79
Started work to make tree requirejs friendly.
12 years ago