Commit Graph

7091 Commits

Author SHA1 Message Date
Matthias Bussonnier
657dffe20f Bad code duplication, I suppose duplicate was meant. 2015-03-18 16:30:10 -07:00
Thomas Kluyver
4627a8f405 Merge pull request #8049 from Carreau/critical-warning
Not critical, and more color as warning is orange
2015-03-13 16:15:43 -07:00
Matthias Bussonnier
3b338cb424 Not critical, and more color as warning is orange 2015-03-13 15:37:48 -07:00
Matthias Bussonnier
43813c22fd Merge pull request #8044 from minrk/shortcut-scroll
scroll quickhelp dialog if large
2015-03-13 14:07:04 -07:00
Min RK
676da764fe scroll quickhelp dialog if large
using `calc(100vh-padding)` for max-height
2015-03-13 13:16:13 -07:00
Thomas Kluyver
cf6925ce7a Merge pull request #8005 from minrk/files-as-file
Get /files/ unmodified from contents
2015-03-13 12:35:15 -07:00
Min RK
c6e440c1f9 Merge pull request #7992 from Carreau/falsejs
remove false info in custom.js
2015-03-13 12:25:50 -07:00
Min RK
0e4417326f Merge pull request #8027 from bollwyvl/fix-select-multiple
Don't re-implement option.click to trigger select.change

closes #8012
2015-03-13 12:25:05 -07:00
Min RK
91cf4ba394 get mime from filename
remove never-true `type: notebook` case
2015-03-13 12:23:07 -07:00
Matthias Bussonnier
22f619f316 add dot end of sentence. 2015-03-13 11:47:24 -07:00
Min RK
3a21271d7e Merge pull request #7926 from Carreau/config-3.1
Fix configurability of codecell
2015-03-12 17:49:28 -07:00
Matthias Bussonnier
0e46460094 Remove false info in custom.js 2015-03-12 17:15:22 -07:00
Min RK
6bf99e0cd6 Merge pull request #8020 from JanSchulz/doc_install_kernel_spec
Document how to install kernel spec files
2015-03-12 15:22:27 -07:00
Thomas Kluyver
484958d282 Merge pull request #7983 from minrk/contents-escape-root
contents: double check that os_path is always within root
2015-03-12 15:20:51 -07:00
Min RK
08d8fe6c10 Merge pull request #8024 from Carreau/fix-focus
Fix save switch to command mode after shortcut
2015-03-12 15:19:27 -07:00
Matthias Bussonnier
596dd46e93 Merge pull request #7932 from jdfreder/dashcss
Fix alignment of dashboard things.
2015-03-12 15:09:37 -07:00
Matthias Bussonnier
86e131d478 Merge pull request #7982 from minrk/window-height
use $(window).height() instead of window.innerHeight
2015-03-12 15:05:00 -07:00
Matthias Bussonnier
abbec7bddb Merge pull request #8036 from jtyberg/8035_custom_js
Fix custom.js samples to define requirejs module rather than require it.
2015-03-12 14:24:47 -07:00
Justin Tyberg
8c486f0963 Fix custom.js samples to define requirejs module rather than require it. 2015-03-12 16:17:50 -04:00
Matthias Bussonnier
0408e7e4e4 Fix save switch to command mode after shortcut
When triggering actions with button one have to refocus the notebook
cell. Though with keyboard shortcut, you don't want cell to switch to
command mode.
2015-03-12 10:57:02 -07:00
Nicholas Bollweg
1fa4296cef fixes #8012 2015-03-12 07:42:50 -04:00
Jan Schulz
0ab4c36c00 Document how to install kernel spec files
Closes: #7988
2015-03-11 21:36:00 +01:00
Matthias Bussonnier
75fe862814 remove private methods 2015-03-09 17:54:26 -07:00
Thomas Kluyver
c37f51eac2 Merge pull request #8006 from minrk/save-copy
trigger save before copy if there are unsaved changes.
2015-03-09 10:43:11 -07:00
Min RK
a89e800e18 trigger save before copy if there are unsaved changes.
just like we do before downloading
2015-03-09 09:50:17 -07:00
Min RK
a4321ccf5a Get /files/ unmodified from contents
request raw files instead of parsing notebooks

avoids reserializing (inconsistently) on download of notebooks.
2015-03-09 09:40:15 -07:00
Jonathan Frederic
c5f20e9481 Merge pull request #7681 from mathieu1/tree-selector-ui
Streamline tree-selector menu
2015-03-05 23:35:33 -08:00
Min RK
62e4a5d072 contents: double check that os_path is always within root
check based on tornado `StaticFileHandler.validate_absolute_path`

I haven't been able to actually escape root, but we should have this check anyway.
2015-03-05 17:25:06 -08:00
Min RK
bfa501855a use $(window).height() instead of window.innerHeight
to measure window height when resizing contents

Sometimes these values differ by a pixel,
we may never know why.

window.innerHeight seems to be larger when they disagree, causing an extra scrollbar to be drawn.
2015-03-05 16:46:58 -08:00
Thomas Kluyver
1daa179153 Merge pull request #7981 from Carreau/focus-after-save
Refocus notebook after click on save
2015-03-05 14:35:22 -08:00
Thomas Kluyver
4d921c3e76 Merge pull request #7978 from onesandzeroes/nbconvert-docs
Docs: Update info about nbconvert's latex/pdf conversion
2015-03-05 14:32:23 -08:00
Matthias Bussonnier
afd74fbb94 Refocus notebook after click on save
closes #7963
2015-03-05 14:22:31 -08:00
onesandzeroes
39ada05675 Remove mention of previous behaviour 2015-03-06 08:55:06 +11:00
Mathieu
eaeff19314 simpler select function 2015-03-05 17:05:02 +01:00
onesandzeroes
f61f8de555 Update info about latex/pdf conversion 2015-03-05 22:18:01 +11:00
Thomas Kluyver
8736d7fa93 Merge pull request #7743 from quantopian/gotta-not-catch-em-all
DEV: Add toggles for reraising failures during extension loading
2015-03-04 15:32:03 -08:00
Scott Sanderson
7a1b8d7dff DEV: Add re-raise toggle for server extensions.
Also renames toggles to "reraise_*_extension_failures".
2015-03-04 18:09:35 -05:00
Min RK
d69f903ff3 Merge pull request #7954 from takluyver/lib-lexers
Move IPython lexers module to lib
2015-03-04 10:48:07 -08:00
Min RK
b7293fafa1 Merge pull request #7960 from parente/set-no-cache-header
Ensure Cache-Control is set once and only once
2015-03-04 10:25:15 -08:00
Thomas Kluyver
96216d81ff Merge pull request #7962 from grelston/master
Fix Markdown cell for widgets.[js]link in Widget Events.ipynb
2015-03-04 09:35:28 -08:00
Gareth Elston
076ed6649a Merge pull request #1 from ipython/master
Update from ipython/ipython:master
2015-03-04 10:05:22 +00:00
Peter Parente
dc8f9b0733 Ensure Cache-Control is set once and only once
Whether browsers should pick the first or last instance of a duped header is ill defined
2015-03-03 22:40:27 -05:00
Thomas Kluyver
2563ab069b Merge pull request #7951 from minrk/pdf-via-latex
make 'download as PDF' say 'via LaTeX'
2015-03-03 16:18:09 -08:00
Thomas Kluyver
377081e02e Move IPython lexers module to lib
Closes gh-7941

I've left a backwards compatibility module in
IPython.nbconvert.utils.lexers - I don't know if anyone is importing it
directly, but since we put it in entry points, we should probably
consider it public API.
2015-03-03 15:57:22 -08:00
Min RK
dfb36abc4d make 'download as PDF' say 'via LaTeX'
so it's clear that LaTeX is required
2015-03-03 13:46:26 -08:00
Min RK
fd3013dbb4 Merge pull request #7838 from jasongrout/kernel-messages-sync
Keep kernel messages synchronous

promises all the way down
2015-03-03 09:57:08 -08:00
Jason Grout
e1a6dbd4be Handle kernel messages synchronously
A problem can happen when two messages come in for different
comms, where the second depends on the first (for example, the
first might be a message setting the state of a widget, and the
second triggering a view creation for the widget).  Since comm
message queues are independent of each other, the second message
could be executed before the first message.

This exposes a more fundamental assumption users are likely to
have that messages from python are processed synchronously.

Thanks to @dmadeka for reporting an error that led to discovering this issue.
2015-03-03 16:01:23 +00:00
Gareth Elston
a33f98a254 Update Widget Events.ipynb 2015-03-03 14:38:11 +00:00
Jonathan Frederic
2eb028bcec Merge pull request #7930 from jdfreder/invokecss
invoke css
2015-03-02 14:43:50 -08:00
Jonathan Frederic
e50344f4e6 invoke css 2015-03-02 14:27:53 -08:00