Jessica B. Hamrick
263181c416
Report the exact error that occurred
11 years ago
Jessica B. Hamrick
58fcb3abb9
Show the user a different notification
11 years ago
Min RK
780ceee03a
Merge pull request #6415 from Carreau/move-md-show-logic
...
Move md-cell display logic to css
11 years ago
Matthias Bussonnier
a940971866
Merge pull request #6568 from minrk/remember-kernel
...
Make default kernel configurable
11 years ago
Jonathan Frederic
b5195e1b17
Merge pull request #6548 from SylvainCorlay/widget_views_by_id
...
Make WidgetModel.views be an object indexed by view id
11 years ago
Matthias Bussonnier
2d490858e5
Merge pull request #6544 from jhamrick/notification-widget
...
Clean up notification widget
11 years ago
sylvain.corlay
60925f0a1a
hasOwnProperty
11 years ago
MinRK
072bcdc484
allow kernel_name to be undefined in js
...
Falls back to KM.default_kernel_name,
as configured server-side.
11 years ago
Doug Blank
6c3d40bbcd
Update documentation for functions that can return null
11 years ago
Doug Blank
3997769def
Fixed off by one error in get_prev_cell
...
Not sure why this was a TODO. Maybe `find_cell_index()` returned zero at one time, but in the browsers I tested, it always returns null if not found.
11 years ago
Jessica B. Hamrick
9c1e7fa2eb
Clarify stickiness of warning/danger notifications
11 years ago
Sylvain Corlay
d8635fc1cc
on_atomic_change -> on_some_change
11 years ago
Sylvain Corlay
b6a0f60d3f
Make Widget.views be an object indexed by view id
11 years ago
Jessica B. Hamrick
e68f6e585a
Small changes to notification widget
11 years ago
Jessica B. Hamrick
2c5a10a6e0
Add documentation to notification area
11 years ago
Jessica B. Hamrick
5769a5bd97
Add documentation to NotificationWidget methods
11 years ago
Jessica B. Hamrick
180dd71e81
Allow timeout and click callback
11 years ago
Jessica B. Hamrick
10d500525a
Make cell be undeletable ONLY when metadata is explicitly false
11 years ago
Jessica B. Hamrick
990425f034
Handle 'deletable' cell metadata
11 years ago
Thomas Kluyver
3cb8c5a0a1
Merge pull request #6532 from SylvainCorlay/barewidgetmodels
...
Fix Issue #6530
11 years ago
Matthias Bussonnier
4609465161
Merge pull request #6472 from parleur/master
...
Keep metadata through celltype changes
11 years ago
Sylvain Corlay
a9fca81e95
Set default view to None and never display widget with no view
11 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
11 years ago
Gordon Ball
3ec873b084
Change _parse_text_input to _parse_value and update float range regex
11 years ago
Gordon Ball
3011820cd3
Add support for parsing pairs of numbers for range sliders
11 years ago
Gordon Ball
67630b0886
Ignore the event object for handleTextChange
11 years ago
Gordon Ball
0f7fbc0781
Add keydown listener to commit changes on <enter>
11 years ago
Gordon Ball
0b45bacd0d
Add support to the float slider
11 years ago
Gordon Ball
6a976cf2b6
Use contentEditable to allow modification via the the slider readout
11 years ago
Sylvain Corlay
fb336de4ed
register bare views
12 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
12 years ago
Jonathan Frederic
9f3dfbc56c
Fix slidercolor on widget construction
12 years ago
Jonathan Frederic
d4d554052e
Address problems found in in-person review
12 years ago
Matthias Bussonnier
56d48e2892
codemirror rempo moved, update links in comments
12 years ago
Matthias Bussonnier
633dbc8131
Merge pull request #5844 from jdfreder/scrollmanager
...
'Paul' scroll feature
12 years ago
Jonathan Frederic
f81d88aebf
fab css
12 years ago
Jonathan Frederic
a7e7f95ef1
Remove forgotten hreadout
12 years ago
Jonathan Frederic
b1c1e3533a
fab css
12 years ago
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
12 years ago
Jonathan Frederic
6637b768cc
Merge pull request #6463 from SylvainCorlay/bulk_update
...
Bulk update of widget attributes
12 years ago
Sylvain Corlay
cd782c916d
state_lock loop
12 years ago
Sylvain Corlay
c4006f1439
status_started.Kernel was never triggered
12 years ago
Matthias Bussonnier
2c65ea0416
Merge pull request #6431 from jhamrick/input_ui_focus
...
Register input with keyboard manager
12 years ago
Jonathan Frederic
0bd868888e
Make HeadingScrollManager scroll to heading elements, not cells.
12 years ago
Sylvain Corlay
769e7fa108
rename to on_atomic_change
12 years ago
Jonathan Frederic
9831e6ea1b
Make the default the single page scroller.
12 years ago
Jonathan Frederic
c957cbc9c2
Set heading scroll manager as default scroll manager.
12 years ago
Jonathan Frederic
46eb5288bc
Scroll to all heading levels <= target level.
12 years ago
Jonathan Frederic
f6adf3e064
Fixed dumb typo,
...
forgot to update scrollmanager ref to scroll_manager.
12 years ago
Jonathan Frederic
3f9fea0328
Added comments clarifying scroll units
12 years ago
Jonathan Frederic
8c0c04910b
options bug fix
12 years ago
Jonathan Frederic
3ff4d4c16e
Address review comments
12 years ago
Jonathan Frederic
27058f4804
Removed ScrollManager selector combo.
12 years ago
Jonathan Frederic
e843a3d0e4
Fixed rebase indents
12 years ago
Jonathan Frederic
8617696c5b
Added heading and slideshow scroll managers
12 years ago
Jonathan Frederic
7e7683a587
Added scroll mode selector,
...
fixed rebase conflicts.
12 years ago
Jonathan Frederic
62a21b0e6f
Add ScrollManager to global ipy namespace in main.js instead of,
...
in the bottom of the scroll manager js file.
12 years ago
Jonathan Frederic
5c5025f3b6
Added smooth scroll to replace std browser behavior.
12 years ago
Jonathan Frederic
c2d72353a2
Fixed bug
12 years ago
Jonathan Frederic
617f078165
Make slideshow toolbar add classes to modified cells.
12 years ago
Jonathan Frederic
06ad682d68
Add scrollmanager
12 years ago
Min RK
a712e079b4
Merge pull request #6483 from jhamrick/fix-heading-anchors
...
Trim anchor link in heading cells, fixes #6324
12 years ago
Jonathan Frederic
591b2b3ad7
Tabs->Spaces
12 years ago
Jonathan Frederic
02e3a58030
s/fore_color/color
...
s/back_color/background_color
12 years ago
Jonathan Frederic
0acd8daf71
Merge pull request #6438 from SylvainCorlay/model_destroy_message
...
Destroy backbone model on comm:close
12 years ago
Sylvain Corlay
e809fcb545
stop listening
12 years ago
Jessica B. Hamrick
d46606a48b
Trim anchor link in heading cells, fixes #6324
12 years ago
Sylvain Corlay
75cb63fba2
Adding a comment and renaming on_bulk_change to on_change
12 years ago
Sylvain Corlay
06747c1ada
simplification of trigger destroy
12 years ago
Jonathan Frederic
4495fa5246
Merge pull request #6437 from weichm/patch-1
...
"event" is not defined error in Firefox
12 years ago
Pierre Gerold
406860fd35
Typo and presentation
12 years ago
Pierre Gerold
98f2d989b6
Modify cells converter funcs to keep metadata through
12 years ago
Sylvain Corlay
222dc5fb3e
Destroy backbone model on comm:close
12 years ago
sylvain.corlay
e77b21cb22
optimization of WidgetModel.apply_update
12 years ago
sylvain.corlay
6eea0c37aa
Added on_bulk_change method in WidgetModel
12 years ago
Jason Grout
78ae8b36c5
Fix several small bugs in the notebook trust framework
...
1. The trust dialog is not called with the notebook context, so we have to use the closure to bind to a notebook event.
2. Replace != with !==
3. The trust_changed.Notebook event default handler expects the trust value to be value key inside an object. In fact, the event handler is redundant with the code--both seem to set the trust value of the current notebook.
12 years ago
Thomas Kluyver
fdb375e0ef
Merge pull request #6380 from ellisonbg/latex-complete
...
Adds Julia-style latex->unicode tab completion
12 years ago
Thomas Kluyver
bdb5481a1e
Remove leftover debugging
12 years ago
weichm
06b2926a0a
"event" is not defined error in Firefox
...
see http://stackoverflow.com/questions/20522887/referenceerror-event-is-not-defined-error-in-firefox
"WebKit follows IE's old behavior of using a global symbol for "event", but Firefox doesn't..."
12 years ago
Jessica B. Hamrick
b8d3d2c6af
Register input with keyboard manager, fixes #6426
12 years ago
Jessica B. Hamrick
3aada4008c
Rename chkb to text
12 years ago
Jessica B. Hamrick
c3c11e5820
Initial version of textbox celltoolbar ui element
12 years ago
Fernando Perez
a5fd908b28
Merge pull request #6408 from minrk/new-cell-code
...
make default cell type configurable
12 years ago
MinRK
6cee444630
make default cell type configurable
...
- adds IPython.notebook.default_cell_type
- default is 'code' (matching IPython 2.0)
- special heuristic values include:
- 'selected': default to selected cell (current master behavior)
- 'above': default to cell above
- 'below': default to cell below
12 years ago
Matthias BUSSONNIER
186c8ae41d
remove useless comment
12 years ago
Matthias BUSSONNIER
a9b4bdc03f
Move md-cell display logic to css
12 years ago
Matthias Bussonnier
df67bd1720
Merge pull request #6406 from minrk/celltoolbar-rendered
...
don't hide cell toolbar on rendered text cells
12 years ago
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
12 years ago
MinRK
6038612732
don't hide cell toolbar on rendered text cells
...
because it annoys @Carreau
12 years ago
Matthias Bussonnier
9e8cf39956
Merge pull request #6258 from patricktokeeffe/patch-1
...
Update custom.js
12 years ago
Matthias BUSSONNIER
7752320295
get rid of some jq-ui- style
12 years ago
Brian E. Granger
a67c7e83a6
Adding tests and limiting CM mode to python 3.
12 years ago
Brian E. Granger
2dfd4079ec
Cleaning up and only doing latex completion for python 3.
12 years ago
Brian E. Granger
27f2f6baaa
Adding regexp for unicode identifers to CM mode.
12 years ago
Jonathan Frederic
2f9dcb852c
Fab CSS
12 years ago
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
12 years ago
Jonathan Frederic
fa1c6f93f1
Added bootstrap3 progress bar classes
12 years ago
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
12 years ago
Jonathan Frederic
a0e70e350f
Fix some bugs found by the widget examples,
...
add margin and padding base traits,
add overflow traits to box base.
12 years ago
Jonathan Frederic
834fe2d044
Fab CSS
12 years ago
Jonathan Frederic
42cc27e1f5
Finished style attributes.
12 years ago
Jonathan Frederic
fdcf263965
Partial implementation of styles
12 years ago
Jonathan Frederic
9af77a6374
Initial crack at using specific traits for styling.
12 years ago
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
12 years ago
Paul Ivanov
78918ba827
Merge pull request #6359 from minrk/build-css
...
build css
12 years ago
MinRK
6345b6c874
fix handling of no-checkpoint-defined
...
a few typos and missing handling of undefined checkpoint
regression introduced in #6205
12 years ago
Min RK
89f5ec3677
Merge pull request #6306 from coderforlife/master
...
Minor improvements to file upload.
12 years ago
MinRK
318d46d647
build css
...
looks like a recent PR didn't have a final render of the LESS
12 years ago
Jonathan Frederic
cf0ca9d4a5
Merge pull request #6050 from chronitis/interact-range-widgets
...
Range widgets
12 years ago
Gordon Ball
a12b1a50a9
Change `range` trait to `_range`
12 years ago
Gordon Ball
1a8b77231e
Remove errant tabs from js
12 years ago
Matthias Bussonnier
77ec6fdfa2
Merge pull request #6205 from Carreau/momentjs
...
use momentjs for nicer dates
12 years ago
Brian E. Granger
9e16415907
Initial messing around.
...
Latex tab completion will have to be done outside the normal
completer logic as the completer line splitting logic uses
\\ as a special character to split lines on. I probably want
to put the latex completions first and it if finds any matches,
don't do any other completion logic. The only issue is that might
short circuit dir/path matching on windows. Hmmm.
12 years ago
Gordon Ball
b8c0afbb55
Merge master
12 years ago
Brian E. Granger
4b22230896
Merge pull request #6305 from minrk/switch-kernel-close-ws
...
JS: close WebSockets when killing kernels
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
Jonathan Frederic
62bd36bcc9
s/that/this bug
12 years ago
Gordon Ball
08895738f2
Merge master
12 years ago
Jonathan Frederic
ed593f02f1
Merge pull request #6171 from tarzzz/slider-value-validate
...
Validate slider value, when limits change
12 years ago
MinRK
d5a4553b8e
improve indicators and handling of dead kernels and broken websocket connections
...
I think it's still possible to get to a state with no kernel and insufficient indication.
Imperfect, but an improvement.
12 years ago
Jonathan Frederic
2790684a17
Fixed typo
12 years ago
Jonathan Frederic
afdba2fd47
Fix logic, use box where applicable
12 years ago
Jonathan Frederic
9b5ece6661
Make popup inherit from widget box
12 years ago
Jonathan Frederic
371b12a9b0
Fab CSS
12 years ago
Jonathan Frederic
0aca365718
Address Sylvain's comments.
12 years ago
Tarun Gaba
258b888835
added 'var'
12 years ago
Tarun Gaba
dda92ff7ea
Removed another stray alertO
12 years ago
Tarun Gaba
825186c868
Removed alert statement!
12 years ago
Tarun Gaba
539596bcdd
adressed @jdfrederer's concern!
12 years ago
Jeffrey Bush
f141a6926a
File list refreshes no longer move the upload filename boxes.
...
The new file list is always placed after the upload filename boxes. I also removed the autorefresh guards against refreshing while having an upload box since this is no longer a problem.
12 years ago
Jeffrey Bush
1f68e22486
Fixed many edge cases in file uploads.
...
When there is an error reading a file, a message is shown (I could reproduce this easily by dragging a folder onto the list), added a missing "return false;" after an illegal notebook was detected, and we prevent no-name files and files starting with dots (which will not be visible in dashboard and automatically overwritten).
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
Jeffrey Bush
305c734830
Uploading a file with a name that already exists asks the user if they want to overwrite.
...
This is not perfect (it doesn't check against the real filesystem but the current list in the browser which may be stale) but it is better than nothing.
12 years ago
Jeffrey Bush
5fff038965
Added ESC keep to upload textbox to cancel.
12 years ago
Jeffrey Bush
defabcc772
Minor improvements to file upload.
...
Updated file upload so that the icon of the new upload item reflects if it is a file or notebook, added the ability to use the "Enter" key in the filename text box to cause the upload to happen, and make it so that the list of files refreshes immediately upon successful upload.
12 years ago
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
12 years ago
MinRK
cb3da26e61
display JSON error message on failed notebook load
...
if there is one (escaped for safety).
12 years ago
MinRK
e3696996be
JS: close WebSockets when killing kernels
...
by calling Kernel.stop_channels() in Session.delete and Kernel.kill
12 years ago
Jonathan Frederic
2db702fa57
Filenames s/container/box
12 years ago
Jonathan Frederic
d985ee86c6
s/Container/Box
12 years ago
Jonathan Frederic
848c223785
Rebase cleanup
12 years ago
Sylvain Corlay
c9ed512d54
adding hbox and vbox
...
Conflicts:
IPython/html/static/widgets/js/widget_container.js
IPython/html/widgets/widget_container.py
12 years ago
Jonathan Frederic
37f00f73d7
Added baseline and stretch
12 years ago
Jonathan Frederic
6faf86ee77
Embrace flexible box model
12 years ago
Gordon Ball
ff3f952b18
Merge branch 'master' into interact-range-widgets
...
Conflicts:
IPython/html/static/style/ipython.min.css
IPython/html/static/style/style.min.css
IPython/html/static/widgets/js/widget_int.js
12 years ago
Jonathan Frederic
6026ef45d2
Merge pull request #6266 from Carreau/fix-lgw-css
...
fix loginwidget css
12 years ago
patricktokeeffe
c1971e9d42
Update custom.js
12 years ago
Jonathan Frederic
ba0a805404
Merge pull request #6226 from jasongrout/css-top-default
...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
12 years ago
Matthias BUSSONNIER
d1dc31c9de
fix loginwidget css
12 years ago
patricktokeeffe
3f79d6dad1
Update custom.js
...
Explain different semantics required for instances versus functions or classes. Based on comments of @minrk in #5985 .
12 years ago
Thomas Kluyver
c15284d716
Merge pull request #6238 from ivanov/cm-heading-fonts
...
proportional font-size when editing heading cells
12 years ago
Thomas Kluyver
b95de43b97
Merge pull request #6253 from jasongrout/highlighting-bug
...
Copy codemirror mode configuration instead of changing it
12 years ago
Jason Grout
c80709e5a3
Copy codemirror mode configuration instead of changing it
...
If we change it, the modified (wrong) mode is saved in the notebook, which
wrecks havoc on highlighting once the notebook is saved and reopened.
12 years ago
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
12 years ago
MinRK
fb89646a29
various upload fixes
...
- recognize 201 as success (dataType must not be 'json')
- support uploading non-notebook files (b64-encoded)
12 years ago
MinRK
3c26b079f0
updates per review
...
- clarified docstrings and errors
- still more notebook/file renames
- configurable untitled names
- copy_from can be full path
- fix running, upload, new-tab behaviors in dashboard
Yay, review!
12 years ago
MinRK
8c4069cc00
add support and tests for uploading and saving regular files
12 years ago
MinRK
3674958b70
teach tree view about non-notebook files
12 years ago
MinRK
0c0eb43719
teach contents service about non-notebook files
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
Min RK
d093237f2f
Merge pull request #6216 from SylvainCorlay/comm-unregister
...
Unregistering comms in Comm Manager
12 years ago
Paul Ivanov
fd53a306c4
Merge pull request #6197 from ivanov/set-text-rendered
...
changing text of cell should reset rendered status
12 years ago
Paul Ivanov
9cafcaa421
fix more style consistencies
12 years ago
Paul Ivanov
5e018bba0d
match font family when editing heading cells
12 years ago
Paul Ivanov
468e568ea7
appropriate heading level when loading from JSON
12 years ago
Matthias BUSSONNIER
8b20aee32e
use momentjs for nice dates
12 years ago
Min RK
a2a70b40e2
Merge pull request #6145 from Carreau/style-cleanup
...
JS/CSS Style cleanup
12 years ago
Matthias BUSSONNIER
2899c766a1
remove var
12 years ago
Paul Ivanov
66733621de
proportional font-size when editing heading cells
...
@MinRK @takluyver and I had the idea to do this when we were discussing #6225 .
12 years ago
Thomas Kluyver
4fc8af546b
Merge pull request #5859 from watercrossing/addPageUpDown
...
add page-up and page-down functionality to the autocomplete dropdown
12 years ago
Paul Ivanov
86f38a8f3b
call unrender() when setting text of cells
12 years ago
Min RK
254d372522
Merge pull request #6227 from Carreau/cellt-g-event
...
Use global event for celltoolbar
12 years ago
Sylvain Corlay
2c648fe4d0
bad call and missing call to unregister_comm
12 years ago
Thomas Kluyver
274cfb3af2
Merge pull request #6225 from ivanov/split-merge-heading-cells
...
allow splitting and merging of heading cells
12 years ago
Matthias BUSSONNIER
aad51f9527
rename ipevents to events for consistency
12 years ago
Matthias BUSSONNIER
2c4f2f98a6
Use global event for celltoolbar
12 years ago
Jonathan Frederic
0ee948efca
Merge pull request #6200 from SylvainCorlay/widget-changes
...
Partial update of DOMWidgetView styling and simplification of containers.
12 years ago
Sylvain Corlay
c03a3eb6d2
making the use of options explicit
12 years ago
Matthias BUSSONNIER
d54e2c95af
rebuild css
12 years ago
Matthias BUSSONNIER
5e48b538b2
remove empty style methods of LoginWidget
12 years ago
Matthias BUSSONNIER
70eb95d04c
remove call to jquery-ui useless button()
12 years ago
Matthias BUSSONNIER
21222fe302
remove empty style function in page.js
12 years ago
Matthias BUSSONNIER
a72bd4f52e
use dataformat module explicitely
12 years ago
Matthias BUSSONNIER
b63cb1f34f
remove unused dependecy and css class
12 years ago
Matthias BUSSONNIER
8506e2c257
remove empty style function of save widget
12 years ago
Matthias BUSSONNIER
04088c9559
remove empty style function
12 years ago
Matthias BUSSONNIER
4d9611a9ff
add TODO
12 years ago
Matthias BUSSONNIER
3b5b32f27b
move login widget style to css
12 years ago
Matthias BUSSONNIER
c468caeb19
add extra var for local variable
12 years ago
Matthias BUSSONNIER
233ef2180d
remove unused variable
12 years ago
Matthias BUSSONNIER
4f7f90dca8
comment typo
12 years ago
Matthias BUSSONNIER
660ddf76af
move tolbar styling to css
12 years ago
Matthias BUSSONNIER
72c0e4446f
command_mode_icon typos (dash instead of underscore)
12 years ago
Matthias BUSSONNIER
1f0ef5dc97
more cleanup
12 years ago
Matthias BUSSONNIER
d732098ee1
remove uselessrandom id, and move styling to css
12 years ago
Matthias BUSSONNIER
5b9f518513
move styling from js to css
12 years ago
Matthias BUSSONNIER
01a0d038d4
move styling from js to css
12 years ago
Matthias BUSSONNIER
c261f45ea3
movestyling from js to css + deprecation warnign
12 years ago
Matthias BUSSONNIER
f3cbb8a0c7
remove js styling, already done in css in logoutmain
12 years ago
Matthias BUSSONNIER
a97f4f69cc
move styling from js to css
12 years ago