Commit Graph

6842 Commits

Author SHA1 Message Date
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
Jonathan Frederic
7a2439d1a0 Import get_ipython function 2015-01-26 17:33:21 -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
Min RK
89bb88bf6e s/language_name/language/ 2015-01-26 15:31:03 -08:00
Min RK
3a20b9928b add "No appropriate kernel" button to kernel-selection prompt 2015-01-26 15:31:03 -08:00
Min RK
f5e2bb712d replace project_name with language_name
- automatically choose language match, if only one
- only list language matches in select dialog
- list all kernels if no language match
2015-01-26 15:31:03 -08:00
Min RK
e514d930cf handle missing kernel
- if project_name matches, pick another kernel
- if no match, show dialog with kernel selector
2015-01-26 15:31:03 -08:00
Min RK
6bf7f1ab43 add project_name to kernelspec
this should be the same for compatible kernels ('ipython', 'ijulia', etc.)
2015-01-26 15:31:02 -08:00
Min RK
f52ecf1beb warn on clobber of notebooks
check last_modified before saving. If it's changed, confirm overwrite.
2015-01-26 14:39:04 -08:00
Min RK
1eddad8a63 Merge pull request #7578 from Carreau/moreerrors
Catch and/or log a bit more errors.
2015-01-26 14:26:47 -08:00
Min RK
a5b7af4cc0 Merge pull request #7596 from takluyver/lorenz-py3
Make Lorenz differential equations example compatible with Python 3
2015-01-26 11:33:50 -08:00
Min RK
72630e7672 test widget link argument validation 2015-01-26 11:33:06 -08:00
Min RK
f11fbe8844 add missing that = this 2015-01-26 11:22:22 -08:00
Min RK
121d495424 protect websocket against errant messages
- message handler being triggered after stream is closed (no channels)
- messages sent to invalid channels
2015-01-26 11:11:13 -08:00
Thomas Kluyver
a788c02ea3 Merge pull request #7599 from minrk/modal-double-border
remove duplicated border in indicator area
2015-01-26 11:09:26 -08:00
Matthias Bussonnier
b0cb79d4e7 Merge pull request #7598 from minrk/ignore-empty-cell
don't execute empty cells
2015-01-26 20:06:23 +01:00
Min RK
54bce1c423 remove duplicated border in indicator area 2015-01-26 10:56:09 -08:00
Thomas Kluyver
c00eb5973f Merge pull request #7537 from jasongrout/nbextension-custom-dest
Configurable destinations for nbextensions.
2015-01-26 10:53:27 -08:00
Thomas Kluyver
6e9eeb95c4 Merge pull request #7597 from minrk/position-header
apply `position: relative` to header
2015-01-26 10:51:15 -08:00
Min RK
a7e72f8b80 don't execute empty cells
reorder execute a little, so that clearing old state all happens before setting new state
2015-01-26 10:25:17 -08:00
Min RK
7f3f3d4316 apply position: relative to header
otherwise, z-index has no effect,
causing header shadow to fall behind content.
2015-01-26 10:12:08 -08:00
Thomas Kluyver
46cb0233da Fix typo Lorentz -> Lorenz 2015-01-26 10:07:49 -08:00
Thomas Kluyver
708088d74a Merge pull request #7586 from Carreau/notif-editor
re-hook notification area for editor.
2015-01-26 10:03:29 -08:00
Thomas Kluyver
db8e7428d3 Make Lorenz differential equations example compatible with Python 3
Thanks to @franktoffel for pointing this out in #7350
2015-01-26 09:57:28 -08:00