Commit Graph

6811 Commits

Author SHA1 Message Date
Matthias Bussonnier
c760c2af96 Merge pull request #7631 from minrk/initial-collapse
fix initial collapsed state on load
2015-01-30 12:00:48 +01:00
Min RK
a5218e0cae fix initial collapsed state on load
OutputArea.collapsed should only be assigned inside expand/collapse methods

setting `collapsed = false` when it actually is collapsed prevents expand from having any effect,
resulting in apparently invisible output.
2015-01-29 15:33:23 -08:00
Min RK
7ce360aa6b Merge pull request #7580 from Carreau/dirty-indicator
indicate unsaved changes in text editor
2015-01-29 11:36:08 -08:00
Thomas Kluyver
d3c9ea2c7f Merge pull request #7468 from minrk/jslink
document and validate link, dlink
2015-01-29 11:30:18 -08:00
Min RK
9e60b8d8c5 Merge pull request #7625 from jasongrout/overwrite-symlink-nbextension
Fix error when overwriting a bad symbolic link installing an nbextension
2015-01-28 16:09:40 -08:00
Jason Grout
d3bd5ac96a Fix error when overwriting a bad symbolic link installing an nbextension
The unit test fails before this fix and works after this fix.
Basically, if the already-installed symlink is a bad link, .exists()
returns False (so the existing link is not removed), while .lexists()
will return True (so the existing link is removed).
2015-01-28 23:54:24 +00:00
Thomas Kluyver
c571fa545d Merge pull request #7609 from jasongrout/install-single-nbextension
Change install_nbextension to take install only a single nbextension, with an optional destination
2015-01-28 14:31:33 -08:00
Thomas Kluyver
e7b54cb7e0 Merge pull request #7622 from jdfreder/uploadfix
Fix upload feature for new dashboard UI
2015-01-28 14:30:20 -08:00
Jonathan Frederic
1e3f6be378 Merge pull request #7620 from minrk/permission-messages
add missing error dialogs to tree actions
2015-01-28 14:24:17 -08:00
Jonathan Frederic
bd30228c27 Add some more comments... 2015-01-28 12:26:13 -08:00
Jonathan Frederic
efaffe1c02 invoke css 2015-01-28 12:19:31 -08:00
Jonathan Frederic
87186354d3 Make upload work with new UI 2015-01-28 12:19:19 -08:00
Min RK
358099a6d6 add missing error dialogs to tree actions
- new file/folder, copy were not catching errors
- made error messages more consistent
2015-01-28 12:01:30 -08:00
Thomas Kluyver
0496a3ba84 Merge pull request #7618 from minrk/ff-help-links
fix help-links on Firefox
2015-01-28 09:33:17 -08:00
Min RK
a720a14159 fix help-links on Firefox
link text must come after icon to layout properly on Firefox

this makes help links from the kernel match those already populated from the template
2015-01-28 09:17:52 -08:00
Jonathan Frederic
03ffca6d88 Merge pull request #7602 from SylvainCorlay/fix_slider
Validation on the python side
2015-01-27 14:09:38 -08:00
Thomas Kluyver
b0e4ef6b5c Merge pull request #7505 from jdfreder/actions
Dashboard checkbox style interface
2015-01-27 13:49:51 -08:00
Min RK
2ad741a673 remove Link, DirectionalLink from widgets.__init__
only functions are part of the public API
2015-01-27 13:40:57 -08:00
Min RK
0071563176 use jslink, jsdlink for frontend link functions 2015-01-27 13:39:50 -08:00
Thomas Kluyver
9790e43997 Merge pull request #7605 from minrk/f-the-pager
fix the pager and tooltip locations
2015-01-27 13:24:12 -08:00
Jason Grout
4a9e371243 Cast the destination url to unicode in python2
Thanks to @takluyver for this review comment.
2015-01-27 21:22:41 +00:00
Sylvain Corlay
64788624f5 Not using _**_changed handles anymore 2015-01-27 20:48:47 +00:00
Min RK
c77e94a8e6 more fixes for locating tooltip
use local measurements instead of page-global locations,
which are wrong now that different elements are scrolled.
2015-01-27 12:30:46 -08:00
Jonathan Frederic
470491432a files/folders 2015-01-27 12:30:07 -08:00
Jonathan Frederic
11b0dbfd25 Validation on the python side 2015-01-27 20:24:25 +00:00
Thomas Kluyver
6192c520b5 Merge pull request #7608 from minrk/default-location
use default_url for logo link
2015-01-27 12:09:36 -08:00
Jason Grout
43275963cf Delete unnecessary if branch
Thanks to @takluyver for the review comment.
2015-01-27 19:55:15 +00:00
Jason Grout
354861cffd Fix wording of install-nbextension command help
Thanks to @takluyver for the review comment.
2015-01-27 19:55:03 +00:00
Jason Grout
b27739ec65 Give sensible error message if using the install-nbextension command to try to install multiple extensions. 2015-01-27 19:52:31 +00:00
Jason Grout
0ee28ed816 Fix variable name typo 2015-01-27 19:52:03 +00:00
Jason Grout
c93a31ce70 Change install_nbextension to take install only a single nbextension (file, folder, archive, url), with an optional destination argument 2015-01-27 19:18:35 +00:00
Thomas Kluyver
d7f1166005 Merge pull request #7454 from minrk/project_name
add language name to kernelspec
2015-01-27 11:11:00 -08:00
Min RK
c62298f40b empty default_url when outside IPython 2015-01-27 10:51:33 -08:00
Min RK
e1c8de79dd Merge pull request #7606 from Carreau/date-now
Date now
2015-01-27 10:44:23 -08:00
Min RK
2d0b8b1d6a use default_url for logo link 2015-01-27 10:39:50 -08:00
Min RK
cc84f1d783 ensure default_url includes base_url 2015-01-27 10:39:33 -08:00
Matthias Bussonnier
729b0922b1 Parse Date with moment.js or Because Date(str) return Now()
Also so relative date in confirmation dialog because It's easier to
parse mentally.

Closes #7535
2015-01-27 12:18:26 +01:00
Matthias Bussonnier
e558e1aeb8 refactor imports 2015-01-27 12:09:06 +01:00
Matthias Bussonnier
a6eefd8952 Merge pull request #7576 from minrk/warn-overwrite
Confirm save if notebook changed
2015-01-27 11:45:14 +01:00
Bussonnier Matthias
4513aae2b9 [editor] mark unsaved changes
Put indicator before time, change title.

And cleanup implementation.
2015-01-27 11:39:54 +01:00
Min RK
a1e4775487 fix tooltip location
put it inside `#site`, so it scrolls with the notebook
2015-01-26 21:43:31 -08:00
Min RK
e18a502484 "fix" the pager
- pull the pager element out of `#site`
- fix top to `auto` instead of `inherit`
2015-01-26 21:42:22 -08:00
Jonathan Frederic
22f8c7929d Merge pull request #7604 from minrk/print-smh
set height: auto on #site for print
2015-01-26 17:40:03 -08:00
Thomas Kluyver
2b7b0dbfc2 Merge pull request #7600 from minrk/check-streams
protect websocket against errant messages
2015-01-26 17:39:10 -08:00
Min RK
87758e0c77 set height: auto on #site for print
avoids truncating printed output
2015-01-26 17:23:10 -08:00
Jonathan Frederic
8e6f5d871f Merge pull request #25 from minrk/checkbox-dashboard
add missing `that = this`
2015-01-26 16:20:59 -08:00
Min RK
395ad097a9 add some horizontal margin on select dropdown
to avoid overlapping adjacent text when active
2015-01-26 15:31:04 -08:00
Min RK
089973920b use one-off notification widget for match notification
when no exact match, and only one kernel matches language
2015-01-26 15:31:04 -08:00
Min RK
abf27c1ddf "Continue without kernel" button 2015-01-26 15:31:04 -08:00
Min RK
e67df0526a use Array.map 2015-01-26 15:31:04 -08:00