Min RK
9478a6b82b
use tornado xsrf token in API
...
- Cookie-authenticated API requests must use set X-XSRFToken header
- add utils.ajax for making ajax requests, adding xsrf header from default location
9 years ago
Jason Grout
c3de744fe9
Return after error condition.
9 years ago
Jason Grout
66146cc265
Write the get_output_callback_id function that we use.
9 years ago
Jason Grout
5d84a55e4a
Add an output callback override stack
...
This allows us to override output callbacks to redirect output messages, and is used to implement the Output widget, for example. It does not redirect status messages or messages on other channels.
9 years ago
Jason Grout
e2c0b6b5b7
Fix a subtle async bug in processing comm messages.
...
Basically, message processing did not wait for any promises a comm message handler may return to resolve, because comms were not set up to resolve return values of message handlers.
9 years ago
Min RK
c0a6e41038
support display_id in execute_result
...
make update_display handling clearer and separate from regular display_data
9 years ago
Min RK
bff750397c
clarify some variable names
9 years ago
Min RK
0c90391f8a
handle display-updates as updates
9 years ago
Min RK
a7a30c3bde
fix handling of display_id repeats in a single output area
9 years ago
Min RK
5b2279c192
support repeat displays with id
9 years ago
Min RK
f82f2568f5
Support update_display
9 years ago
Min RK
0f05b2bf26
display_id comes from transient dict, not top-level
9 years ago
Min RK
30d3406f54
allow updating display_data messages in-place using display_id
9 years ago
Min RK
1c930b1b9c
don’t clear callbacks for cell output until next execute
...
adds callbacks.clear_on_done bool flag for kernel callbacks.
Default: true (current behavior)
Setting to false means that the caller is taking responsibility for clearing callbacks.
Use this in cells to only clear callbacks on the next execution, for better handling of async output.
9 years ago
Min RK
92d3f4235d
Merge pull request #1359 from blink1073/generic-session
...
Update the session api in preparation for file and console sessions
9 years ago
Min RK
0e5047e75d
allow returning full class config data, merged with defaults
...
and merge object config values with defaults (e.g. Cell.cm_config)
10 years ago
Thomas Kluyver
23ca9602c2
Merge pull request #1727 from minrk/ipython-doc-links
...
fix outdated links to ipython-doc
10 years ago
Min RK
4bdc954212
fix outdated links to ipython-doc
10 years ago
Sergei Lebedev
b1d0f3c1fa
Fixed a bug in 'ConfigWithDefaults.get_sync'
...
The method returned the default value if the result of '_class_data'
lookup was falsy (in the JS sense).
This bug also affected 'ConfigWithDefaults.get'.
10 years ago
Min RK
6c4687bc8e
remove outdated "you will NOT be able to run code" message
...
from connection-failed dialog.
This is a reference to ignored execute requests,
which are fixed by the pending-message queue.
10 years ago
Min RK
e110914495
register callbacks before sending message
...
just in case of infinitely fast replies
10 years ago
Min RK
14e276c6f1
allow explicit reconnect
...
rather than reconnect being a no-op if it appears connected
this allows an escape hatch if the connection should be forcefully reestablished.
10 years ago
Steven Silvester
4850790461
Update the session model and the test
10 years ago
Steven Silvester
6486b2430f
Update the session model and the tests
10 years ago
Steven Silvester
76d08aca99
Update the session api in preparation for file and console sessions
10 years ago
Min RK
212d517a92
Merge pull request #1234 from Carreau:keyb
...
Make keyboard shortcuts declarative
10 years ago
Matthias Bussonnier
05a5d8301e
Make keyboard shortcuts declaratives
10 years ago
Jason Grout
4a05b1fb8f
Implement kernel message buffering for when the websocket is not connected.
10 years ago
Jonathan Frederic
e64f1f9dc2
Dynamically set base url
10 years ago
Jonathan Frederic
1ae63ce185
Load jquery and friends globally
10 years ago
Peter Parente
2ace23d841
Fix ConfigWithDefaults "this" context
...
Within the promise callback, refer to the ConfigWithDefaults instance, not the Promise
10 years ago
Min RK
a8b15bc709
avoid double-encoding base_url
...
base_url should already be url-encoded.
11 years ago
Min RK
94ad3f50f2
Merge pull request #403 from seanson/master
...
Replace double URL escaping with concats as the base URLs are already…
11 years ago
Sean Johnson
085d584393
Replace double URL escaping with concats as the base URLs are already escaped. Fix for #402
11 years ago
Matthias Bussonnier
7d3be593a8
Fix bad message break notebook
...
Would need a test, and probably a way to display the message to the user
if it ever happen.
11 years ago
Sylvain Corlay
a3fa53f0f4
Filter by target name
11 years ago
Sylvain Corlay
c451342c81
Adding comm_info method
11 years ago
Matthias Bussonnier
2d5d548d79
Revert "Use NPM, node ES5, and browserify."
11 years ago
Jonathan Frederic
c8ff593efc
Move source out
11 years ago
Jonathan Frederic
81a2998fe0
Dynamically load contents, also browserify contents.
11 years ago
jdfreder
ff9406f2e3
require.js ES5 -> commonjs ES5
11 years ago
Jason Grout
a016e42cf7
Add links to the REST API documentation (what there is on the wiki)
11 years ago
Sylvain Corlay
0e18fd7ae2
allow passing a comm_id to new_comm
11 years ago
Matthias Bussonnier
3bcbd989b7
less globals
11 years ago
Matthias Bussonnier
2b98c8dbff
remove useless access to IPython global
11 years ago
Matthias Bussonnier
cd888ad8c3
remove rever dependency in sesson and loginwidget
11 years ago
Matthias Bussonnier
85fd9fff23
remove reverse deps in Kernel and cleanup Namespace
11 years ago
Matthias Bussonnier
8d0ae844f5
remove reverse dependency in comms
11 years ago
Min RK
d71a59cc9f
s/jupyter_notebook/notebook
11 years ago