Matthias Bussonnier
c1d9f4d436
Merge pull request #7283 from minrk/kernel-spec-model
...
add resource URLs to kernelspec model
12 years ago
Matthias Bussonnier
4e2dfe2527
Some code cleanup in javascript and python
...
change patern that are prone to error, like function redifinition
and other.
12 years ago
Min RK
96a5661648
fix scroll actions
...
div#notebook no longer scrolls at all.
Instead, only the body scrolls.
This may be a problem, but at least scroll actions work now.
12 years ago
Min RK
83f51e877c
move Python-specific help links to kernel_info
...
help_links in kernel_info were already in the msg spec,
but not implemented.
Python-specific docs are now linked to the Python version.
12 years ago
Brian E. Granger
df578b8835
Merge pull request #7307 from Carreau/remove-white
...
remove whitespace below menubar when toolbar hidden.
12 years ago
Brian E. Granger
87ab53bcfe
Merge pull request #7311 from Carreau/reform-css-2
...
Reform css 2
12 years ago
Brian E. Granger
dd2c077939
Merge pull request #7318 from Carreau/dialog-border-radius
...
fix border radius on element.
12 years ago
Matthias Bussonnier
031e829daf
stack vertically keyboard shortcut on narrow viewport.
12 years ago
Matthias Bussonnier
0165e97c7c
unify submenu style with menu style
...
closes #7303 .
Also change the arrow that indicate submenu for a fontawesoem icon,
instead of the ugly hack that show only the left border of a rectangle element
which with is twice the one of its border to get a triangle.
12 years ago
Matthias Bussonnier
39444a7190
fix border radius on element.
...
set a value to border-radius large, and actually make border radius
small smaller than border radius large.
Make dialog border radius coherent with the rest of the UI.
12 years ago
Min RK
729c233f7d
Merge pull request #7308 from Carreau/reform-css
...
reformat css
12 years ago
Matthias Bussonnier
160690f50a
reformat css
...
cause I want to inject some variable in it after (like border radius)
and a few other thigs.
This is just a reformating that does not change the generated css.
12 years ago
Min RK
d94479ad29
Merge pull request #7251 from Carreau/unregister-preset
...
add ability to unregister a preset
12 years ago
Matthias Bussonnier
54a3f47905
remove whitespace below menubar when toolbar hidden.
...
closes #7292
12 years ago
Min RK
47b41d980b
Merge pull request #7287 from Carreau/mistake
...
binary or is rare in JS
12 years ago
Jonathan Frederic
09b289d932
Merge pull request #7274 from Carreau/global-command
...
make global css change on command/edit mode
12 years ago
Matthias Bussonnier
27f3c224c2
a few 1 pixel fixes.
...
this uses the same html/css structure acroos the tabs, and reduce the overlay
click zone that expended the size of the header to 25px instead of 24px
12 years ago
Brian E. Granger
7b21e13705
Merge pull request #7242 from jdfreder/terminal-fixes
...
Some UI design changes for the Notebook and associates
12 years ago
Jonathan Frederic
34c08c035f
New file open editor
12 years ago
Jonathan Frederic
e593e6a123
Dont prompt for name.
12 years ago
Jonathan Frederic
2c43bc60ae
invoke css
12 years ago
Jonathan Frederic
e0adde46f3
New new button
12 years ago
Jonathan Frederic
849c96ae61
Merge pull request #7268 from Carreau/ungroup-button
...
ungroup button on dashboard
12 years ago
Jonathan Frederic
c6548ebe0e
Merge pull request #7288 from Carreau/that/this
...
remove that.
12 years ago
Matthias Bussonnier
7a295d1924
Merge pull request #7273 from Carreau/content-no-namespace
...
Do not inject self in IPython namespace
12 years ago
Matthias Bussonnier
123c0f3b28
remove that.
12 years ago
Matthias Bussonnier
6b57f44bf6
ungroup button on dashboard
...
fix a few instanced of button toolbar that were not with the right class or not in btn groups.
12 years ago
Matthias Bussonnier
1dfdda6e97
binary or is rare in JS
12 years ago
Min RK
43da311f5e
add Notebook.ensure_extension
...
allows override of file-extension logic in notebook extensions
12 years ago
Matthias Bussonnier
06d4d1505a
Merge pull request #7266 from Carreau/shutdown-orange
...
make shutdown yellow/orange
12 years ago
Min RK
a417785c5e
add resource URLs to kernelspec model
...
- move kernelspec itself to model.spec
- add resources top-level key with resource URLs
- no more 404s or HEAD requests under normal circumstances
12 years ago
Thomas Kluyver
217e758e3d
Merge pull request #7264 from dongweiming/custom_js_3.0
...
Update custom.js for 3.0
12 years ago
dongweiming
85a2a88396
Update custom.js for 3.0
12 years ago
Bussonnier Matthias
15ab64e884
make global css change on command/edit mode
12 years ago
Bussonnier Matthias
eaf8fdc4f9
Do not inject self in IPython namespace
...
And do not require nemaespace either
- this is bad practice, and this prevent from
writing a blended content manager that works both
with drive and localhost as they shoudl both export
themselves to IPython.Contents module.
12 years ago
Jonathan Frederic
7926c36b0d
Remove right margin from the terminal
12 years ago
Jonathan Frederic
8d2e57e3ef
invoke css
12 years ago
Jonathan Frederic
028b79b385
Move kernel logo to right margin.
12 years ago
Jonathan Frederic
fd5659427d
invoke css
12 years ago
Jonathan Frederic
2c714357c4
Review comments
12 years ago
Jonathan Frederic
359bc2e1bc
invoke css
12 years ago
Jonathan Frederic
096b1638bf
Remove padding on editor
12 years ago
Jonathan Frederic
7daba81475
invoke css
12 years ago
Jonathan Frederic
cda53215ba
Improve edit app
12 years ago
Jonathan Frederic
b81a9f6bc6
invoke css
12 years ago
Jonathan Frederic
972065ad22
Additional aesthetic clean-up
12 years ago
Jonathan Frederic
461b2e74b6
invoke css
12 years ago
Jonathan Frederic
94a893d975
Prevent terminal from scrolling
12 years ago
Jonathan Frederic
fbc2adf2d5
Make things consistent
12 years ago
Jonathan Frederic
4e7832cf64
invoke css
12 years ago
Jonathan Frederic
726c95cbff
Address review comments
12 years ago
Bussonnier Matthias
2b0147c21a
no shadow on print media
...
Also hide celltoolbars
12 years ago
Matthias Bussonnier
6e9ef7abeb
Style notebook as a document
12 years ago
Jonathan Frederic
4d62ad0df6
invoke css
12 years ago
Jonathan Frederic
79fe99d124
Make terminal pretty
12 years ago
Jonathan Frederic
3969f0ec84
Move terminal less into better location
12 years ago
Jonathan Frederic
f8968df7e2
Merge pull request #7148 from minrk/kernel-selector
...
remove kernel selector from header
12 years ago
Bussonnier Matthias
bb61df5c35
make shutdown yellow/orange
12 years ago
Matthias Bussonnier
27c90f1da3
Merge pull request #7087 from nheijermans/master
...
Enable the IPython Notebook to display messages from other clients.
12 years ago
Thomas Kluyver
0c3c3b3c79
Fix instantiating config in editor and terminal
12 years ago
Thomas Kluyver
e2139e7190
Fix module name
12 years ago
Thomas Kluyver
01331514bd
Load common_config, and load extensions specified therein
12 years ago
Thomas Kluyver
c719d2fe83
Refactor out load_extensions_from_config function
12 years ago
Min RK
9f9714e11f
remove kernel logo text placeholder
12 years ago
Min RK
da88bff678
add text placeholder for kernels with no logo
...
capital first initial on gray field
12 years ago
Min RK
d5f6aaa1f6
remove kernel selector from header
...
- add kernel name to indicator
- float kernel logo where indicator used to be
12 years ago
Brian E. Granger
6c55690994
Merge pull request #7227 from jdfreder/undead
...
Add visual cue for widgets with dead comms
12 years ago
Jonathan Frederic
e7370be7cc
invoke css
12 years ago
Jonathan Frederic
79fd5c3fed
Address comments
12 years ago
Thomas Kluyver
5a5f621591
Merge pull request #7247 from Carreau/fix-restore-checkpoint
...
fix restore checkpoint add an empty cell
12 years ago
Thomas Kluyver
2dbc8f5304
Merge pull request #7248 from Carreau/config-ctm
...
pass config to contentsManager
12 years ago
Bussonnier Matthias
f0c5de7c7e
make method private
12 years ago
Bussonnier Matthias
ddbd7aa4fa
add ability to unregister a preset
...
fix #7218
12 years ago
Bussonnier Matthias
3bce53e32e
fix logo on base_url prefix
12 years ago
Bussonnier Matthias
51f1cad6e4
pass config to contentsManager
12 years ago
Bussonnier Matthias
df418c6a62
fix restore checkpoint add an empty cell
12 years ago
Matthias Bussonnier
449384e85f
Merge pull request #7224 from jasongrout/fix-toolbarjs
...
Fix javascript iteration through array
12 years ago
Matthias Bussonnier
7eb4d1b84d
Merge pull request #7225 from Carreau/fix-actions
...
fix leading underscore
12 years ago
Jonathan Frederic
ab1fca9fdb
Prevent the page from jumping on tree tab change
12 years ago
Jonathan Frederic
d9346c002d
invoke css
12 years ago
Jonathan Frederic
9e67a34891
Bubble event and implement logic in CodeCell
12 years ago
Matthias Bussonnier
420fee5e4c
Merge pull request #7163 from jdfreder/refresh-persist
...
Persist widgets across page refresh
12 years ago
Jonathan Frederic
2d40eb30d4
Make sure comm-dead is applied to the top widget view class
...
in all cases where the kernel disconnects.
12 years ago
Min RK
26136f44d2
Merge pull request #7088 from Carreau/kernel.js
...
Load the per kernel kernel.js and kernel.css
12 years ago
Bussonnier Matthias
737064d9db
fix leading underscore
...
mering object with itself is stupid otherwise
12 years ago
Jason Grout
efc1fee242
Fix javascript iteration through array
...
for(var k in config) was assigning k to the properties of Array, not just the numeric indices
the second argument of add_buttons_group, k[1], should be config[k][1]
12 years ago
Matthias Bussonnier
031252d44f
Merge pull request #7207 from takluyver/rm-nb-user-config
...
WIP: Remove js user_config module
12 years ago
Matthias Bussonnier
791676006d
Merge pull request #7186 from minrk/moment
...
moment.js-related fixes
12 years ago
Thomas Kluyver
95e60a544c
Update test to modify class config for default_cell_type
12 years ago
Kyle Kelley
4f4e14342b
Merge pull request #7172 from Carreau/sort-dashboard
...
Sort dashbord list in frontend
12 years ago
Brian E. Granger
bd57d219fc
Merge pull request #7199 from takluyver/python-logo
...
Use Python logo for IPython kernel
12 years ago
Thomas Kluyver
7f221537d4
Fix default_cell_type option for notebook
12 years ago
Thomas Kluyver
938630b475
Remove user_config js module
12 years ago
Thomas Kluyver
e51f3ff8d5
Merge pull request #7187 from minrk/utils-js
...
various fixes in utils.js
12 years ago
Thomas Kluyver
27ad247f9d
Enlarge Jupyter logo to 28px height
12 years ago
Nathan Heijermans
408e3fa557
Backing out all changes to the UI and notebook.js.
...
Updated kernel.js to trigger the ``received_unsolicited_message.Kernel`` event instead. Notebook extensions can handle the event in whatever way they deem appropriate.
A notebook extension that takes advantage of this is available at https://github.com/nheijermans/nbexts.git .
12 years ago
Brian E. Granger
27144e51ff
Merge pull request #7162 from jdfreder/persist-fixes
...
Widget persistence fixes
12 years ago
Brian E. Granger
e090b609d1
Merge pull request #7169 from jdfreder/pager-style
...
Make the new pager look better
12 years ago
Jonathan Frederic
12366e8e8d
Clean up comments
12 years ago
Jonathan Frederic
1e0acbeb31
Write a plugin to handle private function automatically.
12 years ago
Jonathan Frederic
c703b3f3f5
Some clean-up
12 years ago
Jonathan Frederic
beb5ea6deb
Make sure every function appears in the Notebook class.
12 years ago
Jonathan Frederic
d756816e2b
Some typo fixes
12 years ago
Jonathan Frederic
5802309151
Make notebook.js jsdoc compatible
12 years ago
Jonathan Frederic
1aa280d9c9
Start JSDoc integration
12 years ago
Min RK
6661a0a301
fix regular checkpoint updates in notebook
...
in master, this was updating every 10 hours,
regardless of the value, due to a variety of bugs,
including using relativeTimeThreshold getters
that do not exist in moment.js 2.7.
12 years ago
Min RK
b11fe93abb
add utils.time
...
consolidate some time-related utils, used in save widgets
12 years ago
Min RK
982a742112
Merge pull request #6700 from Carreau/actions-2
...
Use notebook actions in toolbar
12 years ago
Thomas Kluyver
7454b25dc0
Probably don't need text styles on an img tag
12 years ago
Min RK
cadd5a14fe
Merge pull request #6747 from jdfreder/combofix
...
Make Selection widgets respect values order.
12 years ago
Jonathan Frederic
ab409d1966
Hide variables that shouldn't be exposed to the user
12 years ago
Jonathan Frederic
45eadcd06c
invoke css
12 years ago
Bussonnier Matthias
cd67e1aca7
return elements instead of append them directly
...
+ jshint fixes
12 years ago
Bussonnier Matthias
89edf7c099
fix ordering dirs > notebook> files
12 years ago
Min RK
1512598b83
various fixes in utils.js
...
revealed by linters
- remove duplicate WrappedError definition
- regex_split doesn't actually allow string separator
- remove various unused variables
- fix some incorrect regex escaping
- add missing quotes in $('body')
- remove a `for(attr in object)` because javascript
12 years ago
Jonathan Frederic
c5de028039
invoke css
12 years ago
Jonathan Frederic
12ef806b58
Thinner handle, single handlebar
12 years ago
Bussonnier Matthias
09b4d91ad0
sort dashbord in frontend
12 years ago
Bussonnier Matthias
07c6dd8b5d
move setting nb.kernelselector inside kernelselector itself
12 years ago
Bussonnier Matthias
7a3a61fe81
make pseudo action in their own dcit.
...
make test more reliable by adding data-attributes to buttons.
12 years ago
Bussonnier Matthias
08dbdb1640
note to self
12 years ago
Matthias Bussonnier
199483b82d
fix rebase after kill of layout manager
12 years ago
Jonathan Frederic
c897b66031
invoke css
12 years ago
Jonathan Frederic
eb34a4c6c2
Add shadow to pager handle
12 years ago
Jonathan Frederic
d5a4739636
invoke css
12 years ago
Jonathan Frederic
9879a3c16c
Make the pager look better
12 years ago
Jonathan Frederic
b1b88a7855
Merge pull request #7147 from jdfreder/print
...
Meta-p for print
12 years ago
Jonathan Frederic
3b11cc66a7
Make widgets persist across page refresh
12 years ago
Jonathan Frederic
272f281b03
Merge pull request #7161 from jdfreder/promise_fix
...
Another widget promise bug fix
12 years ago
Jonathan Frederic
3d9e43f0c4
Fix persistence API,
...
it expecited a view dictionary not a dictionary of view promises
12 years ago
Matthias Bussonnier
2d51cec3c8
adresses Min comments x2
12 years ago
Bussonnier Matthias
fc6f562317
complete unicode mac symbol
12 years ago
Bussonnier Matthias
e292a82dff
Fix comments
...
move humanize-map out of function call to have only one instance
12 years ago
Bussonnier Matthias
5be62ba538
fix john coments
12 years ago
Matthias Bussonnier
f43d8585d1
Add notion of actions to celltoolbar
...
modify toolbar.js to be able to deal with actions.
modify maintoolbar to deal with the new action architecture
add a way to triger notification widget hiding
12 years ago
Matthias Bussonnier
f1a167ee19
add an humanize function that prettify shortcut on macos
12 years ago
Thomas Kluyver
4dd8efd043
Merge pull request #7160 from minrk/toolbar-layout
...
remove references to defunct layout_manager in ToolBar
12 years ago
Jonathan Frederic
88d8d85987
Another widget promise bug fix
12 years ago
Jonathan Frederic
51fc7241da
Another widget promise bug fix
12 years ago
Jonathan Frederic
73637fb694
Merge pull request #7097 from jasongrout/widget-visibility
...
Expand the semantics of the widget visible attribute to allow for visibility: hidden
12 years ago
Jonathan Frederic
4842d48ace
invoke css
12 years ago
Jonathan Frederic
bdb0e9dd7a
Move header styles into base less
12 years ago
Jonathan Frederic
d58d3a65a3
invoke css
12 years ago
Jonathan Frederic
f497d06d0c
Avoid using important
12 years ago
Min RK
73c33f402c
remove references to defunct layout_manager in ToolBar
12 years ago
Jonathan Frederic
095d8b2feb
Merge pull request #7143 from jasongrout/viewlist-promises
...
Update viewlists to store a list of promises for views
12 years ago
Jason Grout
967d83104f
Missing return
...
Thanks to @jdfreder for catching this in review!
12 years ago
Matthias Bussonnier
912c4bb683
adresses Min comments
12 years ago
Matthias Bussonnier
47822187c1
Fix typos, rephrase english. Thanks Kyle.
12 years ago
Matthias BUSSONNIER
4239dc03f3
load the per kernel kernel.js and kernel.css
...
As per discussion, each kernel can provide a file name kernel.js that
we try to load at kernel switching. If such a file exist we assume that
the kernel pathches the javasscript and that this javascript cannot be
unpatched, and further switching of the kernel cannot be undone without
reloading the page. (separate PR for UI)
if a kernel provide kernel.js, the it should consist into a AMD module
definition that uses require.js the module shoudl define a function name
`onload` that will be called at the appropriate moment before the kernel
starts.
12 years ago
Jonathan Frederic
1c499334c7
Merge pull request #7146 from jdfreder/interact-fix
...
Fix Dropdown widget page scroll issue
12 years ago
Jonathan Frederic
3ea8929b82
Merge pull request #6454 from jasongrout/links
...
Javascript link
12 years ago
Min RK
e890122c3e
Merge pull request #6537 from takluyver/kernelspec-logos
...
Initial support for supplying kernel logos in kernel spec
12 years ago
Min RK
7d465c7e96
Merge pull request #7139 from jdfreder/widget-space-fix
...
Fix padding of widgets.
12 years ago
Jonathan Frederic
bf18e09521
invoke css
12 years ago
Jonathan Frederic
b29d81ee23
Add LESS that enables meta-p printing
12 years ago
Jason Grout
4496bfc6bd
Fix a bug in using promises with comms: this -> that
12 years ago
Jonathan Frederic
cecf05efb2
Fix bug where selection box modification would cause page to scroll to the top
12 years ago
Thomas Kluyver
3e2f6dba98
logo-64 -> logo-64x64
12 years ago
Thomas Kluyver
4cee2f5f3a
Merge pull request #7128 from minrk/more-v-less-m
...
A little more V, a little less M in the text editor
12 years ago
Thomas Kluyver
7cc07251e4
Use double resolution logo to support hires displays
12 years ago
Jason Grout
49541066f1
Update viewlists to store a list of promises for views
12 years ago
Min RK
615ff9f138
Merge pull request #6789 from jdfreder/persistence2
...
Widget persistence API
12 years ago
Thomas Kluyver
cad0c32137
Hide kernel logo if it's missing
12 years ago
Thomas Kluyver
f123b0d2ad
Initial support for supplying kernel logos in kernel spec
12 years ago
Jonathan Frederic
cf9b092013
Use once instead of on
12 years ago
Jonathan Frederic
cb12229480
Fix padding of widgets.
12 years ago
Jonathan Frederic
52c8f14223
Added changes discussed with @jasongrout
12 years ago
Jonathan Frederic
152982efcd
Updated comments to new style.
12 years ago
Jonathan Frederic
0978065269
Remove view.show
12 years ago
Jonathan Frederic
a56a6f5657
Document set_state_callbacks and,
...
make load_state callback support promises.
12 years ago
Jonathan Frederic
0c737867fe
Rebase fixes
12 years ago
Jonathan Frederic
16e3bad23f
Address @jasongrout 's review comments, take 2
12 years ago
Jonathan Frederic
5d4b83ba4a
Add an event that fires before the notebook saves
12 years ago
Jonathan Frederic
71d2d47036
Fix, only return views that are direct children of the cell
12 years ago
Jonathan Frederic
a53f4cc9dd
Log save state callback failures
12 years ago
Jonathan Frederic
db62a210e7
Another that = this
12 years ago
Jonathan Frederic
f060947eb9
This, that, and the other thing
12 years ago
Jonathan Frederic
8a5770b811
Add convenience API
12 years ago
Jonathan Frederic
e02a5ec201
Promises...
12 years ago
Jonathan Frederic
d466601dbb
Persistence API,
...
This is a combination of 10 commits.
Enable widget instanciation from front-end.
Address @minrk 's review comments.
Make API that allows users to persist widget state easily.
Added support for view persistence
Started adding support for model persistence.
Half way there!
Finished persistence API.
Move persistence code into the widget framework.
Fin.
Bug fixes
12 years ago
Scott Sanderson
ccc8cb9cbf
Minor cleanups in the contents API.
...
Noticed while poking around with a linter enabled.
12 years ago
Nathan Heijermans
4925ea3e44
Fixed inverted logic caused by renaming variables.
12 years ago
Nathan Heijermans
4440337711
Removed keyboard shortcut.
12 years ago
Min RK
6c4f8de34a
wrap lines by default
...
because long lines are not handled well
12 years ago
Min RK
1e5bd77bda
s/mode/language/
...
for user-facing CodeMirror mode (hover text, language menu)
12 years ago
Min RK
c81609f5d6
redirect /edit/ to /files/ if not (utf8) text
12 years ago
Min RK
85fb8e1085
use $.map for setting cm options
12 years ago
Min RK
7ede5e291f
update mode on rename
12 years ago
Min RK
03779746ab
Toggle line numbers in menu
...
use 'Toggle' text, instead of switching between Show/Hide
12 years ago
Min RK
0b8920193f
add Mode menu to editor
12 years ago
Min RK
0cc0dead5d
add File/Rename
12 years ago
Min RK
d6282035fa
add save widget to text editor
12 years ago
Min RK
c58070a702
make savewidget css a little more generic
...
- use classes instead of IDs
- use .filename instead of #notebook_name
12 years ago
Min RK
0dfcc1b512
expect JSON reply to save
12 years ago
Min RK
2452c0c2f7
checkpoint
12 years ago
Min RK
928c81df9d
setting an option to null sets the default in CodeMirror
...
matching the unset behavior in config
12 years ago
Min RK
c8a1f06179
fixup keyMap
12 years ago
Min RK
54324633ca
fixup
12 years ago
Min RK
0c42d3659e
add File/New in editor
12 years ago
Min RK
ab7b35afdb
link to /edit/ on files
12 years ago
Min RK
85b6b280b2
allow selecting codemirror keymap in menu
12 years ago
Min RK
9a504dd7c3
basic LESS for editor
12 years ago
Min RK
776c9a0316
track dirty state in editor for onbeforeunload
12 years ago
Min RK
0efd335553
editor progress
...
- load/store codemirror config
- fill out menus a bit:
- Edit/find,replace
- View/toggle line numbers
12 years ago
Min RK
0b46e2aff2
remove some custom css
...
mainly in navbars, where we were doing custom
things that bootstrap already did with classes.
This did require the removal of multiple class LESS inheritance for
navbar buttons, because it doesn't work properly. Seems like a LESS bug, but I'm not sure.
12 years ago
Nicholas Bollweg (Nick)
d3601f90ef
checking in css
12 years ago
Nicholas Bollweg (Nick)
c72ad2754c
more fidgeting before starting over
12 years ago
Nicholas Bollweg (Nick)
5858350cc3
handling explicitly provided modes from kernelspec.language_info
12 years ago
Nicholas Bollweg (Nick)
8f5b447eaf
removing monkeypatch, importing rest of codemirror default theme
12 years ago
Nicholas Bollweg (Nick)
68c4714338
using codemirror mode/meta for detection
12 years ago
Nathan Heijermans
8d5cc15ea1
Merge remote-tracking branch 'upstream/master'
12 years ago
Nathan Heijermans
4617afdb13
Increased notification message display time.
12 years ago
Nathan Heijermans
7bb61cc34b
Updated terminology to match the console/qtconsole
...
config settings and documentation more closely.
Unsolicited messages => output from other clients.
12 years ago
Matthias Bussonnier
a9fffc41ab
Merge pull request #6950 from minrk/new-new-dropdown
...
Add kernel-select dropdown to new notebook button
12 years ago
Thomas Kluyver
615f5dd13a
Merge pull request #7118 from minrk/script-dispatch
...
Dispatch to custom exporter in ScriptExporter
12 years ago
Min RK
93bbf6d52e
remove nbconvert_exporter handling from frontend
...
dispatch happens in the script exporter,
frontend doesn't need to know about it anymore.
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
b10ebdad4b
s/current_selection/default_kernel/
12 years ago
Min RK
6a1cebe4c0
minor reflow of tree header
...
- remove absolutely positioned text (absolute text doesn't wrap correctly)
- associate hidden upload directly with 'click here' via span
- remove column split, rely on regular reflow
12 years ago
Min RK
371b031f40
informative hover text for current selection
12 years ago
Min RK
d1bda196b7
remove some weird tabs
...
How did they get there? We may never know...
12 years ago
Min RK
fbaae651ad
remove UI for setting default kernel
...
can be set with:
IPython.new_notebook_widget.set_default_kernel('kernel_name')
12 years ago
Min RK
8eb6ec00d8
store current kernel selection in frontend config
...
instead of localStorage
12 years ago
Min RK
11ef669ec6
kernelspecs is a dict
...
sort menus client-side
12 years ago
Min RK
d9767e8c94
separate selecting default kernel from new notebook with specified kernel
...
adds checkmark to indicate selection
12 years ago
Min RK
0cfd8731a0
include current kernel name in new notebook dropdown
12 years ago
Min RK
d312486840
Add kernel-select dropdown to new notebook button
...
most recent choice is remembered in localStorage
12 years ago
Min RK
f94e482478
handle undefined settings in promising_ajax
12 years ago
Min RK
696394e27d
allow kernel_name to be specified in url parameter
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
Thomas Kluyver
c3cb2164f6
Clear output after replacing cell contents
12 years ago
Thomas Kluyver
90817ccb1f
Machinery to replace the current cell instead of adding a new one
12 years ago
Matthias Bussonnier
b12ac2cb15
Merge pull request #7011 from jdfreder/killthelayout
...
Kill the layout manager
12 years ago
Jonathan Frederic
e519371402
Merge pull request #7093 from jasongrout/model-views
...
Make the model.views dict a dict of promises for views
12 years ago
Jonathan Frederic
5e7d1cfa9f
Add dark lower border to pager handle
12 years ago
Nicholas Bollweg (Nick)
83757b6a0e
moving typeset to utils, usage in cell and outputarea
12 years ago
Jonathan Frederic
e7330f5e22
Address @carreau 's review comments
12 years ago
Jason Grout
9ca509d915
Merge remote-tracking branch 'public-upstream/master' into links-rebase
...
Conflicts:
examples/Interactive Widgets/Widget Events.ipynb
12 years ago
Nicholas Bollweg (Nick)
c95a9aaf80
accept node or selection
12 years ago
Nicholas Bollweg (Nick)
b17a40d950
moving typeset to DOMWidgetView
12 years ago
Nicholas Bollweg (Nick)
57f05c4a2b
reversing order of arguments, as text may already exist
12 years ago
Nicholas Bollweg (Nick)
00fc31b0a8
also setting text in widget.typset
12 years ago
Nicholas Bollweg (Nick)
9cd878cf0f
moving, checking MathJax typesetting to WidgetView
...
widget rendering should not fail hard if MathJax is not available
12 years ago
Jason Grout
26bec1ad36
Add None as a widget visible value to allow for visiblity: hidden
...
Now, visible can have three values:
* True - show the widget
* False - hide the widget and collapse the empty space
* None - hide the widget and show the empty space
12 years ago
Nathan Heijermans
441d2a2ab0
Merge remote-tracking branch 'upstream/master'
12 years ago
Jonathan Frederic
c0f01d65e8
Increase pager handle size.
12 years ago
Jonathan Frederic
ebb6e818a7
Fix, prevent notebook from having its height set on pager display
12 years ago
Jonathan Frederic
e79a43e867
Fix scroll/resize handle missing behavior.
12 years ago
Jonathan Frederic
a7d54cd512
Fix scrolling for large outputs
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
Nathan Heijermans
69ea433450
Merge remote-tracking branch 'upstream/master'
12 years ago
Jason Grout
13c1b95fbd
Make the model.views dict a dict of promises for views
...
Otherwise, there is a race condition where the model doesn't know about views until they are actually created.
12 years ago
Jonathan Frederic
91524a1379
Merge pull request #7057 from Carreau/jsdoc
...
Move js doc into function themselves.
12 years ago
Nathan Heijermans
9c2afc9620
This feature was discussed in #6123 , but it doesn't look like anything was ever incorporated into the IPython Notebook.
...
Here's a brief overview of the changes:
- Display of messages from other clients can be toggled on and off from within a notebook, either using the ``<M-m>e`` keyboard shortcut in the web UI, or through the option in the "Kernel" menu.
- notebook.js controls whether messages are displayed through a callback that is invoked from kernel.js when no callbacks are available for a message.
- The UI displays ``execute_input`` messages originating from an other clients in new cells at the end of the notebook. Output messages (``execute_result`` et al.) will only be displayed if a cell exists with a matching message ID.
Pending design questions:
- Should each ``execute_input`` message cause a new cell to be created?
- Should new cells be placed at the end of the notebook, or elsewhere? If the latter, what criteria should be followed?
12 years ago
Jason Grout
63f8566c6f
Wait for any promises returned by a view's render method before considering the view created
...
This lets a view wait on children views to be created before considering itself created.
Thanks to @ssunkara for catching this.
12 years ago
Kyle Kelley
a19f345170
Merge pull request #7007 from Carreau/less-update
...
Less update
12 years ago
Thomas Kluyver
1929f5702c
Merge pull request #6945 from minrk/kernel-info-lang
...
fix loading of language name from kernel_info
12 years ago
Bussonnier Matthias
a2b35cb869
use less variable for rounded corner
...
and allow none in versions comparison
12 years ago
Min RK
0a36fb6cdc
Merge pull request #7068 from Carreau/close-pager
...
close pager on escape on command mode
12 years ago
Thomas Kluyver
eb14a13843
Merge pull request #6991 from minrk/unhandled-types
...
Handle unrecognized output and cell types
12 years ago
Matthias Bussonnier
ed7bcb5359
close pager on escape on command mode
12 years ago
Osada Paranaliyanage
bc55f3c16e
Refresh terminal list. closes #7018 .
12 years ago
Min RK
88219df674
Preserve nbformat_minor from the future
...
warn on click of unrecognized elements, rather than on load.
12 years ago
Matthias Bussonnier
684b31bea1
Merge pull request #6990 from jasongrout/viewlists
...
Refactor the do_diff and manual child view lists into a separate ViewList object
12 years ago
Matthias Bussonnier
480beffd7b
Move js donc into function themselves.
...
Then it is possible in the browser js console to get the documentation
interactively.
12 years ago
Matthias Bussonnier
0bb4e55ff6
Merge pull request #7055 from foogunlana/codemirror_bug_fix
...
Fixed the code mirror skipping Markdown cell bug
12 years ago
foogunlana
f0010c086d
Fixed code mirror bug for markdown cells
12 years ago
foogunlana
dbc98b5f69
Fixed code mirror skipping Markdown cell bug
12 years ago
Min RK
9067245c0b
Merge pull request #7033 from Carreau/fcell
...
get cell correctly in nested context
12 years ago
Scott Sanderson
6a8dfa492e
BUG: Prevent users from undoing the initial document load with CTRL-Z.
...
Prior to this change, setting a document's initial content in the text
editor created a history entry, which meant that hitting CTRL-Z
repeatedly could clear the entire document. This change clears document
history after loading so that repeated CTRL-Z applications return the
document to its state at load time.
12 years ago
Jason Grout
3c98127f7c
remove obsolete optimization
12 years ago
Bussonnier Matthias
794ef18920
get cell correctly in nested context
...
fix some extensions like live_reveal
the .not('.cell .cell') part prevent the potential selection of DOM
elelment that would have the class cell from any output. In each branch
of the dom we thus select the first decendent node that have the class
'.cell'.
12 years ago
Thomas Kluyver
a5e065328b
Extensions config for text editor
12 years ago
Thomas Kluyver
d64c6e5841
Load nbextensions from config
12 years ago
Jason Grout
e6a8ef00e0
Catch errors after our then()s, instead of in parallel with them (this missing exceptions)
...
When an error is thrown in a then() success handler, it doesn't call the same then()'s error handler.
I also made all of the utils.reject handlers verbose to aid in debugging.
12 years ago
Jason Grout
efe7098a60
Fix viewlist to use promises correctly
...
A viewlist wasn't getting properly populated before. This also switches the list update to use splice for in-place updates.
12 years ago
Min RK
cf91873644
Merge pull request #6866 from takluyver/nb-texteditor
...
Notebook text editor
12 years ago
Thomas Kluyver
011beaa385
Rename texteditor files & folders to edit
12 years ago
Jason Grout
9553f30222
Update widget selection containers to reflect how viewlist works
...
add_child takes a model and returns a view. remove_child takes a view and removes it.
the pop_child_view method is now gone.
12 years ago
Jason Grout
247ebf16f0
Add comments emphasizing the order of steps in widget box remove() methods
12 years ago
Jason Grout
e7065d5a9f
Remove obsolete logic: storing references to child views in a view
...
Users are responsible for keeping track of views they create and removing them in a view's remove() method
12 years ago
Jason Grout
53472ba91b
reimplement the add/remove class logic to not use do_diff and remove do_diff
12 years ago
Min RK
18613d6554
add favicon
...
designed by @awantulok
12 years ago
Jason Grout
1e8b2473b3
Merge branch 'viewlists' of https://github.com/jasongrout/ipython into viewlists
12 years ago
Thomas Kluyver
d9a374c473
Remove unused imports in editor notificationarea
12 years ago
Thomas Kluyver
f3db0ff7d4
Remove unused import of jquery
12 years ago
Min RK
535bbee883
Merge pull request #6978 from takluyver/nbconvert-script
...
Nbconvert to script for any kernel language
12 years ago
Kyle Kelley
6061ff914b
Merge pull request #7010 from quantopian/add-events
...
Add various events useful for third party integrations.
12 years ago
Scott Sanderson
4ed34d4f9d
DEV: Pass current cell to the execute cell event.
12 years ago
Matthias Bussonnier
5db4b7a8ee
Merge pull request #6668 from Carreau/actions
...
Add notion of action to keyboard manager.
12 years ago
Jason Grout
05d013db59
At least log an error if there is no create or remove defined.
...
We might just remove this...
12 years ago
Jason Grout
bc0cb3c8b5
Do something about do_diff being used for the class stuff in widgets
12 years ago
Jason Grout
88084db35d
Return the viewlist from the update promise so that you can use it immediately.
...
The pattern is:
viewlist.update(new_list).then(function(new_view_list) {
...
})
12 years ago
Scott Sanderson
16b9150151
DEV: Add various events.
12 years ago
Thomas Kluyver
8bfec5015b
Add the . into file_extension
12 years ago
Min RK
b54cc20357
use Jupyter logo in the notebook header
...
and favicon
12 years ago
Jonathan Frederic
d181172948
Implement view logic in selection containers.
12 years ago
Min RK
c72c637511
move language name, version into language_info
...
in kernel_info_reply
adds adaptation of language info to msgspec adapter
12 years ago
Min RK
4ec20d55da
fix loading of language name from kernel_info
...
language is langinfo.name, not langinfo.language
fixes highlighting for IJulia kernels
12 years ago
Thomas Kluyver
d567331d4d
Better way of saving through CodeMirror
...
This should support whatever keyboard shortcuts are configured for the
'save' command.
12 years ago
Thomas Kluyver
6419595371
Use NotificationArea in the text editor
12 years ago
Thomas Kluyver
88818dcfba
Override Ctrl-S shortcut to save text editor contents
12 years ago
Thomas Kluyver
1b612e178b
Update text editor for new contents API
12 years ago
Thomas Kluyver
c1d012d703
Enable codemirror search/replace shortcuts
12 years ago
Thomas Kluyver
59b13f2d08
Refactor editor into Editor class
12 years ago
Thomas Kluyver
f49bef7b0d
Saving files works
12 years ago
Thomas Kluyver
25ee73a554
Loading a file works
12 years ago
Thomas Kluyver
e6935d47c0
Basic infrastructure for new texteditor component
12 years ago
Jason Grout
307a320284
tweak documentation for viewlists
12 years ago
Min RK
c9a4e5b00d
handle various permission failures
...
- turn various EPERM, EACCES errors into 403
- add `writable` bool field to contents models
- if a notebook is not `writable`, save is disabled
12 years ago
Jason Grout
93f658bc9b
Make a copy of the input list so that changes to the children list don't automagically change our reference list
12 years ago
Jason Grout
7658bab99f
Missing semicolon
12 years ago
Jason Grout
a6b901fdd3
Make state_change initialization more conventional
12 years ago
Jason Grout
0164fd32ca
Make error messages more consistent
12 years ago
Min RK
bb23105fdd
Handle unrecognized outputs and cells from the future
12 years ago
Jason Grout
88ed50afad
Refactor the do_diff and manual child view lists into a separate ViewList object
12 years ago
Bussonnier Matthias
907d70339e
some extra comma/semicolon cleanup
12 years ago
Bussonnier Matthias
ac355d757f
update to use event
12 years ago
Matthias Bussonnier
9ae62c21b8
Some cleanup unused code and missig use-strict
12 years ago
Jonathan Frederic
295050060e
Merge pull request #6988 from jasongrout/promises-again
...
Clean up promises code some more.
12 years ago
Min RK
a4aaf94cd6
Merge pull request #6987 from takluyver/i6983
...
Fix conversion of input area to stream output
12 years ago
Jason Grout
2b96a97118
Simplify error-handling code
...
Thanks to @jdfreder for this change.
12 years ago
Jason Grout
da8cab76dd
Clean up promises code some more.
12 years ago
Thomas Kluyver
5990012062
Fix conversion of input area to stream output
...
Closes gh-6983
12 years ago
Thomas Kluyver
58b0669b9b
Fix asyncy nbconvert to download
12 years ago
Thomas Kluyver
800e2ad25a
'Download as' script
12 years ago
Min RK
c7ad3aa47d
Don't dismiss rename dialog until rename is complete
...
- draws error message in the same dialog,
rather than triggering a new dialog via events.
- `Notebook.rename` returns the contents Promise, rather than registering its own error handler.
12 years ago
Min RK
da80d64e45
Merge pull request #6955 from Carreau/typeset
...
Actually typeset latex
12 years ago
Jonathan Frederic
7a3a9e74e9
Bug fix, typo
12 years ago
Jonathan Frederic
db2ef15b81
Address @carreau 's comments
12 years ago
Jonathan Frederic
36f0aabb86
active_output_areas (plural)
12 years ago
Jonathan Frederic
6f2e02b585
Pop output now removes a specific output
12 years ago
Jonathan Frederic
a12da7cee4
Added comment describing output area stack.
12 years ago
Jonathan Frederic
d033d6c1ea
Make output widget reactive.
12 years ago
Jonathan Frederic
a5779bcd0e
Output Widget
12 years ago
Matthias Bussonnier
0ee990614d
Merge pull request #6923 from SylvainCorlay/toggle_button_tooltip
...
Tooltip on toggle button
12 years ago
Matthias Bussonnier
fe4bae10ac
Actually typeset latex
12 years ago
Matthias Bussonnier
269d9ae195
Merge pull request #6959 from minrk/check-kernel-execute
...
don't execute if kernel is not connected
12 years ago
Thomas Kluyver
7cf7d3f202
Merge pull request #6818 from jdfreder/race_conditions
...
Add promises to the widget framework.
12 years ago
Jonathan Frederic
f9d730d01e
Address @takluyver 's review comments
12 years ago
Jonathan Frederic
61ebd40206
Bug fix, promise not resolving.
12 years ago
Jonathan Frederic
8d8bf43fb9
Merge pull request #6916 from minrk/finish-5659
...
add Duplicate button to dashboard
12 years ago
Min RK
4a25d24806
don't execute if kernel is not connected
12 years ago
Min RK
5eff21f3c6
simplify NotebookList.duplicate with recent changes
...
- contents service + futures
- remove no-longer-necessary parent_item
12 years ago
Min RK
036c47d032
set min-width on tree-list buttons
...
avoids misaligned buttons when the content changes
12 years ago
Min RK
8bad784ce5
update add_duplicate_button with API changes
...
- allow duplicating regular files
- update with contents service API changes
- fix some path/name bugs found in session and kernel list
12 years ago
David Neto
6aae1e219f
Add the "Duplicate" button in the main dashboard
...
so we can copy an existing notebook without having to start it's instance
12 years ago
David Neto
4bbd255f16
Change the order of Cancel and OK button in the renaming function so it matches the user experience for the same dialog boxes used in the main dashboard
12 years ago
Min RK
89598450f7
Merge pull request #6943 from jdfreder/numtextfix
...
Allow empty text box *while typing* for numeric widgets
12 years ago
Min RK
d88f5c5898
Merge pull request #6874 from takluyver/config-js-api
...
Add JS config API
12 years ago
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.
12 years ago
Jonathan Frederic
cfc45918bb
Rebase fixes
12 years ago
Jonathan Frederic
907bde3b25
Address review comments
12 years ago
Jonathan Frederic
3c949aad92
Remove message promise.
12 years ago
Jonathan Frederic
fe398593e7
Typo fix
12 years ago
Jonathan Frederic
93cedc167e
Address @takluyver 's comments
12 years ago
Jonathan Frederic
eb319c8aab
Promise logic is infectious like a disease
12 years ago
Jonathan Frederic
b56fc606ad
Promise the messages to the model
12 years ago
Jonathan Frederic
0d591619c6
Make all tests async display safe
12 years ago
Jonathan Frederic
56c5020a84
bool_test passing with slimerjs
12 years ago
Jonathan Frederic
b76d4d5c05
Use es6-promise polyfill
12 years ago
Jonathan Frederic
bed3a4cfda
use es6
12 years ago
Jonathan Frederic
8c149c9112
Current state with lots and lots of debugging junk
12 years ago
Jonathan Frederic
b3c49fce66
Move the display Promise into a lower level method,
...
into the create view method of the widget manager.
This makes sure that views created by parent views
are also accounted for in the state/display order
guarantee.
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
c67dcc0dc3
Finished adding error handling.
12 years ago
Jonathan Frederic
1d1572421f
Add a WrappedError class
12 years ago
Jonathan Frederic
b16b2e8749
Make display also pend on set_state.
12 years ago
Jason Grout
a4331a93cc
Fix some this vs. that errors, as well as returning some promises to wait for fulfillment
12 years ago
Jason Grout
8e769a012f
Load the utils module
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
1b9948d178
Add some error handling for creating views and models
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
c41dcb35e9
Proxy console.error calls
12 years ago
Jonathan Frederic
2eae36ac9a
Use load_class in comms instead of callbacks.
12 years ago
Jonathan Frederic
5a745be138
Add Promise support to models.
12 years ago
Jonathan Frederic
78c0bbdb4d
Fix view rendering order.
12 years ago
Jonathan Frederic
4beda5d0fb
Initial stab at adding promises to the widget framework.
12 years ago
Jason Grout
ff680583c1
initial take on promises
12 years ago
Thomas Kluyver
2bfdbfc631
Fix some other bugs
12 years ago
Jonathan Frederic
ba9e7365be
Fix #6385
12 years ago
Thomas Kluyver
89222b6dfd
Actually define the module
...
I didn't forget something really obvious and important. Not at all.
12 years ago
Thomas Kluyver
cbd4929785
Use promising_ajax in config API
12 years ago
Thomas Kluyver
625c4f5bc2
Fix punctuation
12 years ago
Thomas Kluyver
d9b71ff750
Add JS config API
12 years ago
MinRK
29e49329e2
use CodeMirror.runMode to highlight in markdown
...
instead of highlight.js
12 years ago
Min RK
388fec4f96
Merge pull request #6924 from takluyver/contents-promises
...
Use promises in the JS contents API
12 years ago
Thomas Kluyver
3dbb600968
Merge pull request #6940 from takluyver/i6937
...
Just use notebook_path in download URLs
12 years ago
Thomas Kluyver
f7860ce9d2
Remove trailing comma
12 years ago
Thomas Kluyver
8d9d317e91
Merge pull request #6857 from jdfreder/celltoolbar_metadata_fix
...
Fix bug cell toolbars not redrawing on metadata change
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
7240d2dafc
Just use notebook_path in download URLs
...
notebook_name is now superfluous
Closes gh-6937
12 years ago
Jonathan Frederic
f2b6697098
Use a property instead of a setter method
12 years ago
Thomas Kluyver
d3699c8e3b
Update JS docstrings in contents API
12 years ago
Thomas Kluyver
1e53c1f924
Re-raise errors with throw instead of Promise.reject()
12 years ago
Thomas Kluyver
0295f5a487
Semicolons
12 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.
12 years ago
Thomas Kluyver
56320588da
Return JSON from contents API checkpoint methods
12 years ago
Thomas Kluyver
aecb4bffa5
All aboard the promise train
12 years ago
Thomas Kluyver
11cfcc40d4
Use promises for GET requests
12 years ago
Thomas Kluyver
9b2dac3fc1
Infrastructure for AJAX requests returning ES6 promises
12 years ago
Sylvain Corlay
7ac82931ca
Tooltip on toggle button
12 years ago
Sylvain Corlay
54d6d18baf
Correct height for checkbox widget
12 years ago
Sylvain Corlay
604d0bb666
A String is an object
12 years ago
Sylvain Corlay
4b6c753f3f
Dates are JavaScript objects, and _pack_models returns an empty object
12 years ago
Min RK
0a22217f7e
Merge pull request #6900 from takluyver/contents-api-get-as-type
...
Contents API get as type
12 years ago
Min RK
0f8127c36f
Merge pull request #6735 from Carreau/native-map
...
Use native map when possible
12 years ago
Thomas Kluyver
6f48b58b18
Fix various review comments
12 years ago
Min RK
287d572fb3
Merge pull request #6855 from takluyver/new-notebook-async
...
Open new windows before creating new notebooks
closes #6849
12 years ago
Min RK
a257e580a0
Merge pull request #6854 from takluyver/post-new-terminal
...
Create new terminals with POST request to API
12 years ago
Thomas Kluyver
e453b160b1
Some fixes for the tree view
12 years ago
Thomas Kluyver
f9db65ab6f
Expose and use get requests specifying type in the JS
12 years ago
Thomas Kluyver
c7529c53eb
Eliminate remaining uses of extra_settings
12 years ago
Thomas Kluyver
ef98d48921
Disable passing extra AJAX settings to Contents.new()
12 years ago
Thomas Kluyver
b046af083c
Fix some bugs in deleting notebooks from the dashboard
12 years ago
Thomas Kluyver
260ebcebcf
Open window before creating new notebook
...
Avoids the need for synchronous requests.
12 years ago
Min RK
3870a30ce4
contents.new_untitled to match Python API
12 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
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
Min RK
6d78644411
s/Connection lost/Not Connected/
12 years ago
Min RK
59b54eba53
add Reconnect to kernel menu
12 years ago
Min RK
fe00509f32
add sticky `Connection lost` notification
...
when reconnect process gives up
12 years ago
Min RK
a6d427e5c9
add exponential falloff for reconnect
...
avoids constant reconnect attempts every 3 seconds forever
gives up after 6 tries (last timeout 64s)
12 years ago
Thomas Kluyver
9a7c6e78d9
JS Contents API doesn't need dialog module
12 years ago
Jonathan Frederic
bfdf9596fd
Fix bug where cell toolbars are not redrawn,
...
when cell metadata is changed.
12 years ago
Thomas Kluyver
538fcbc025
Close new window on error creating terminal
12 years ago
Thomas Kluyver
e6939f9aa5
Merge pull request #6846 from minrk/deprecate-heading-ui
...
deprecate heading cells in UI
12 years ago
Thomas Kluyver
8da4e89e3a
Make a window immediately, and set its location on response
...
Avoids the need for async:false
12 years ago
v923z
a2081d042e
replaced nbmodel.orig_nbformat by orig_nbformat
12 years ago
v923z
9c122dcd15
fixed notebook checking code
12 years ago
Min RK
ef49e32ef0
Merge pull request #6783 from takluyver/contentsmanager-js
...
contents.js wrapper for contents service
12 years ago
Thomas Kluyver
b7a558d5b9
Use synchronous request for creating new notebooks
...
To get round popup blockers
12 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
12 years ago
Thomas Kluyver
2a497c16eb
load_file -> load
12 years ago
Thomas Kluyver
1f2e4cc6c3
Fix passing empty list to draw_notebook_list()
12 years ago
Thomas Kluyver
a4f869aa8b
Rename methods to remove _file suffix
12 years ago
Thomas Kluyver
5279418acf
Make Contents.new more generic
12 years ago
Thomas Kluyver
4452754a6b
Set notebook nbformat in toJSON
12 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.
12 years ago
Thomas Kluyver
684516c79f
Fix copy-paste mistakes
12 years ago
Thomas Kluyver
658eb39c56
Remove one more unnecessary cache parameter
12 years ago
Thomas Kluyver
2962a3ce17
Remove some unnecessary cache: false parameters
...
According to the jQuery docs, this is only needed for GET and HEAD
requests.
12 years ago
Thomas Kluyver
a2f3e23fd8
Add copy_file to contents JS API
12 years ago
Thomas Kluyver
b8f9dc07e2
Fix error callback when deleting file
12 years ago
Kester Tong
9797a6b7c0
typo fix
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
e1cbaf3d3c
Fix spelling
12 years ago
Thomas Kluyver
f8ec8d4abe
Various minor fixes from review
12 years ago
Thomas Kluyver
ea314a2a86
Rename callback parameters to success/error
12 years ago
Thomas Kluyver
060dd1305c
Miscellaneous JS fixes
12 years ago
Thomas Kluyver
c1c591336e
Some more event cleanup
12 years ago
Thomas Kluyver
cf828ccf4e
Cut out some superfluous events
12 years ago
Thomas Kluyver
c9bd254735
Make contents JS API consistent
12 years ago
Thomas Kluyver
29d88a91a6
Standardise JS checkpointing API, use it for notebooks
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
dab99c599f
Remove unnecessary backwards compatibility code
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
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"
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
61a911fc0c
Fix constructor comments
...
Add content_manager as a dictionary key to the options param passed in to the NotebookList and Notebook constructors.
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
7043aa1b9e
switch notebook.delete to use contentmanager
...
Make notebook.delete call contentmanager.delete_notebook
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
993833d018
Replace other methods with ContentManager.new_notebook
...
Replaces Notebook.new_notebook and NotebookList.new_notebook with ContentManager.new_notebook
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
a16a3d0270
Merge pull request #6045 from minrk/nbformat4
...
nbformat v4
12 years ago
Min RK
96183a60a0
create new terminals with POST /api/terminals
...
instead of GET terminals/new
to be consistent with creating new notebooks.
We had to stop using GET notebooks/new
because browsers would create new notebooks when making preview thumbnails for commonly visited pages, etc.
I assume the same issue would apply to terminals
12 years ago
Min RK
196b91e73b
Merge pull request #6828 from takluyver/terminal-list
...
Add terminals tab to the dashboard
12 years ago
MinRK
53ef8e1e1e
remove unused OuptutArea.rename_keys
12 years ago
MinRK
d979f4bedd
better regex replacement for MarkdownCell.set_heading_level
...
(c/o Matthias)
12 years ago
MinRK
dd95b1ef5f
remove heading cells in v4
12 years ago
MinRK
458dcd12e3
make markdown heading input match output size
12 years ago