Min RK
316bfdbd1e
Catch and log handler exceptions in events.trigger
...
rather than throwing handler errors in the call to `.trigger()`
Extensions can register buggy event handlers.
These should not be able to cause failures in the event-triggering code paths.
This should fix several avenues where extensions (or other bugs) could prevent a notebook from loading.
9 years ago
Grant Nestor
8d66114992
Change max-width for tables to 150px
10 years ago
Kyle Kelley
391a72dbb8
Merge pull request #1919 from minrk/rm-debug-statement
...
remove leftover print statement
10 years ago
alexandercbooth
fd9cddd82a
chore(baseUrl): remove forward slash from path
10 years ago
Min RK
951cfde98b
remove leftover print statement
10 years ago
alexandercbooth
cf37b9f145
[WIP] chore(baseUrl): add base_url to download_selected
10 years ago
Matthias Bussonnier
50ec132615
Merge pull request #1908 from gnestor/pr/1907
...
Improve `Notebook.render_cell_output`
10 years ago
Grant Nestor
bbec3d7cc1
Do not overwrite `OutputArea.trusted` on `Notebook.render_cell_output`
10 years ago
Grant Nestor
dca820e845
Improve `Notebook.render_cell_output`
10 years ago
Matthias Bussonnier
02740a91ff
Merge pull request #1907 from gnestor/master
...
Add `Notebook.render_cell_output` method
10 years ago
Min RK
5b70ab976e
Merge pull request #1903 from minrk/allow-script-websockets
...
Allow websocket connections from scripts
10 years ago
Grant Nestor
6f929697f3
Add `Notebook.render_cell_output` method
10 years ago
Thomas Kluyver
e6fb7e65e9
Merge pull request #1650 from Carreau/predicatable-extensions
...
Load extension in predictable order.
10 years ago
Min RK
fe86b65183
json_errors should be outermost decorator on API handlers
...
in order to apply to 403 raised by web.authenticated
10 years ago
Min RK
8d7e430b89
Allow websocket connections from scripts
...
scripts don't set origin on connection
we allow these connections on API requests, websockets should match.
10 years ago
Kyle Kelley
6df840e19d
Merge pull request #1879 from minrk/display_data_update
...
support routing updating outputs with display_id
10 years ago
Kyle Kelley
389b0b0730
Merge pull request #1831 from minrk/server-token
...
enable token-authentication by default
10 years ago
Min RK
c0a6e41038
support display_id in execute_result
...
make update_display handling clearer and separate from regular display_data
10 years ago
Kyle Kelley
bdee765dd3
Merge pull request #1896 from gnestor/mime-json-suffix
...
Accept JSON output data with mime type "application/*+json"
10 years ago
Grant Nestor
8e0de400ae
Accept JSON output data with mime type "application/*+json"
10 years ago
Steven Silvester
781066a40e
Update handler and test
10 years ago
Steven Silvester
8f5a67ad6d
Allow kernelspecs to have spaces in them for backward compat
10 years ago
Thomas Kluyver
78dc8a8c7a
Fix extending range selection down to markdown cell
...
The 'moveanchor' argument was not getting passed down to the parent
class' select() method.
Closes gh-1589
10 years ago
Thomas Kluyver
89c6f9e631
Merge pull request #1838 from yuvipanda/xterm-2.0.1
...
terminal: Bump xterm.js to 2.0.1
10 years ago
YuviPanda
ae5f345d35
Remove deprecated xterm.js constructor params
10 years ago
Jim Kitchen
c5a784a982
Fix bug when attempting to remove old nbserver info files
...
When list_running_servers find an old nbserver-xxxx.json info file, it attempts to delete it. It needs to use the full path rather than the filename. An exception was being raised, but the error was suppressed silently.
10 years ago
Min RK
bff750397c
clarify some variable names
10 years ago
Min RK
0c90391f8a
handle display-updates as updates
10 years ago
Min RK
4439a19d24
test display_id handling
10 years ago
Min RK
a7a30c3bde
fix handling of display_id repeats in a single output area
10 years ago
Min RK
5b2279c192
support repeat displays with id
10 years ago
Min RK
f82f2568f5
Support update_display
10 years ago
Thomas Kluyver
ee4b9ce598
Allow None for post_save_hook
...
See gh-1868
10 years ago
Matthias Bussonnier
606b7377ae
Merge pull request #1866 from gnestor/register-mime-type
...
Add a `register_mime_type` method to OutputArea
10 years ago
Ryan Morshead
15a37c9ba7
fix for default value changes in ipython/traitlets/pull/332
10 years ago
Matthias Bussonnier
64d996f820
Merge pull request #1855 from minrk/rate-limit
...
iopub rate limit refinements
10 years ago
Matthias Bussonnier
8d666c603f
Merge pull request #1863 from Carreau/rtl-action-toggle
...
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Matthias Bussonnier
a1c6e8fc86
Merge pull request #1865 from minrk/clear-editable-deletable
...
don't store default editable/deletable metadata
10 years ago
Grant Nestor
4cf93c8c57
Add a `register_mime_type` method to OutputArea
10 years ago
Min RK
b058209984
strip default metadata in Cell.toJSON
...
avoids saving redundant default info in files
10 years ago
Min RK
61afdb7432
don't set default editable/deletable metadata
...
it fills notebooks with redundant flags
these should only be set if defined and not-default
10 years ago
Matthias Bussonnier
04a431a77e
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Thomas Kluyver
2e14975d1f
Merge pull request #1861 from minrk/notebook-mime-type
...
fix notebook mime-type on download links
10 years ago
Min RK
8daac20e22
set notebook mime-type on download links
...
notebooks are not application/json, they are application/x-ipynb+json.
This fixes Safari adding the JSON extension to notebooks on download.
10 years ago
Matthias Bussonnier
a68f3c0aef
Merge pull request #1858 from gnestor/table-hover
...
Add hover styles to HTML table row
10 years ago
Grant Nestor
795e267aab
Add hover styles to HTML table row
10 years ago
Min RK
3be8697b48
iopub rate limit refinements
...
- reset counter on status: idle (avoids Run All running into limits)
- fix rate measurements to exclude messages not sent due to rate limiting
- fix formatting of rate-exceeded messages, tweak text a bit
- after pausing output, don't resume sending until rate has dropped 20% below limit, to avoid rapid back & forth across the limit
10 years ago
Thomas Kluyver
1de0423448
Improve performance of directory listing
...
- stat() the file once and reuse the result to save on syscalls. Not as
good as using scandir(), but should still help.
- Don't re-check if parent directories are hidden for each file in the
directory.
Could do with testing on Windows.
10 years ago
Min RK
0f05b2bf26
display_id comes from transient dict, not top-level
10 years ago
Min RK
30d3406f54
allow updating display_data messages in-place using display_id
10 years ago