Commit Graph

7059 Commits

Author SHA1 Message Date
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
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
Jonathan Frederic
5ad87d13d6 Merge pull request #7902 from gertingold/radio
fix margin in RadioButtons
2015-03-02 14:25:06 -08:00
Jonathan Frederic
e09b83e910 Merge pull request #7725 from SylvainCorlay/fabutton
Adding font-awesome icon to button and toggle button
2015-03-02 11:54:06 -08:00
Sylvain Corlay
03b884a615 Moving styling to else statement 2015-03-02 14:34:37 -05:00
Min RK
15d4e2d675 Merge pull request #7921 from grelston/patch-1
Fix AttriuteError for widgets.[js][d]link in Widget Events.ipynb
2015-03-02 09:32:10 -08:00
Min RK
6cb15fbffe Merge pull request #7780 from jasongrout/message-race
Fix race condition in javascript kernel message processing
2015-03-02 09:27:36 -08:00
Jason Grout
35026c3184 Merge pull request #7 from minrk/serialize-test
update js serialize test
2015-03-02 10:19:42 -05:00
Gareth Elston
a214898c97 Update Widget Events.ipynb
Running Widget Events.ipynb in http://try.jupyter.org/ raises the following errors:

In [11]: AttributeError: 'module' object has no attribute 'link'
In [12]: AttributeError: 'module' object has no attribute 'dlink'

In [13]: widgets.<Tab> shows 'jsdlink' and 'jslink', which generate the expected linked sliders.
2015-03-02 11:27:10 +00:00
Matthias Bussonnier
242fc93f93 Merge pull request #7889 from Carreau/after-one-year
Js completion traceback, erase line on tab, and double complete.
2015-03-01 21:19:03 -08:00
Matthias Bussonnier
f3e0261db7 Merge pull request #7777 from minrk/fallback-127
fallback on 127.0.0.1 if localhost cannot be bound
2015-03-01 21:13:21 -08:00
Min RK
f76ce1d6b9 warn about failure to bind to localhost
when falling back on 127.0.0.1
2015-03-01 20:22:51 -08:00
Min RK
c605ea44cc fallback on 127.0.0.1 if localhost cannot be bound
Some (broken) systems cannot bind to localhost.
This handles that failure and falls back to 127 as the default
2015-03-01 20:22:51 -08:00
Jonathan Frederic
ca95e914cb Merge pull request #7908 from minrk/catch-localStorage-failure
actually catch failure to load widget state
2015-02-28 17:40:43 -08:00
Min RK
17ee541add actually catch failure to load widget state
load callback was called directly,
rather than in promise function that catches errors
2015-02-28 15:10:48 -08:00
Min RK
fb12238bb2 update js serialize test
msg count and msgspec v5 API changes
2015-02-28 13:31:05 -08:00
Thomas Kluyver
2b95955079 Merge pull request #7906 from minrk/skip-perm-test-windows
skip permission error -> 403 test on Windows
2015-02-28 13:17:30 -08:00
Matthias Bussonnier
709126542a Merge pull request #7832 from minrk/default-secure-session
remove default_secure, make Session secure by default
2015-02-28 12:59:14 -08:00
Min RK
0bc4549d25 skip permission -> 403 test on Windows
The test actually passes on my VM (Win 7),
but not on Jenkins (Server 2012).

I haven't figured out how to identify the subset of Windows systems where it won't work,
but since the problem appears to be in the test,
not the tested code, skipping on Windows seems the right way to go.
2015-02-28 11:52:52 -08:00
Thomas Kluyver
c0269602a3 Merge pull request #7904 from minrk/adapt-not-error
make it clearer that we adapt to old messages
2015-02-28 11:40:15 -08:00
Min RK
d9f01671ae make it clearer that we adapt to old messages
> Adapting to protocol vX for kernel Y

instead of

> Kernel Y speaks protocol version X

some have interpreted the "Kernel speaks" statement was an error message;
this should be clearer about what's happening,
and that there is no error.
2015-02-28 11:35:37 -08:00
Min RK
109ee00ebb get session.key from kernel manager
in kernel channel handlers

we were accidentally relying on loading Session.key from config set via the default_secure decorator,
which forced the key to be the same for every kernel.
2015-02-28 11:22:19 -08:00
Min RK
96334d4594 deprecate default_secure decorator
make Session secure by default on its own

I think the decorator was an artifact of very early design prototyping, and really isn't necessary.
2015-02-28 11:22:19 -08:00
Matthias Bussonnier
dad4ba22b8 Merge pull request #7881 from minrk/ssl-options
add ssl_options config value
2015-02-28 10:15:57 -08:00
Matthias Bussonnier
de90843b29 Merge pull request #7893 from Carreau/add-markdown-menu
Add Markdown to the list of downloadable nbconverted formats.
2015-02-28 10:15:12 -08:00
Matthias Bussonnier
4c567fb544 Merge pull request #7779 from abeguerra/defect-5544-fix-hyperlink-display
Fixed rendering of URL in append_stream function
2015-02-28 10:05:56 -08:00
Gert-Ludwig Ingold
5cef46f26e fix margin in RadioButtons 2015-02-28 18:42:34 +01:00
Min RK
65b2b3a651 Merge pull request #7888 from Carreau/horse
Don't recompute values
2015-02-27 17:28:45 -08:00
Fernando Perez
50c8c5feed Merge pull request #7852 from minrk/open-perm
Catch IOError in addition to OSError.

Closes #7848
2015-02-27 17:07:53 -08:00