Commit Graph

9655 Commits

Author SHA1 Message Date
Grant Nestor
a4744c696f Expose OutputArea.mime_types to allow extensions to calculate display_order index 2016-12-06 13:06:46 -08:00
Kyle Kelley
ce575f7a5a Merge pull request #1949 from plysaght/patch-1
Fixed typo in 1st line of Browser Compatibility section
2016-12-05 13:53:53 -08:00
plysaght
b431a9a11a Fixed typo in 1st line of Browser Compatibility section 2016-12-05 12:18:34 -08:00
Min RK
38060d001e Merge pull request #1939 from jupyter/static-file-log
Add debug log for static file paths
2016-12-05 10:14:49 +01:00
Kyle Kelley
db8d711b50 Merge pull request #1947 from takluyver/i1940
Ensure variable is set if exc_info is falsey
2016-12-04 14:35:51 -08:00
Thomas Kluyver
283042c675 Ensure variable is set if exc_info is falsey
Closes gh-1940
2016-12-04 14:33:39 +00:00
Thomas Kluyver
27a2c50adb Merge pull request #1941 from minrk/safe-load
Catch and log handler exceptions in events.trigger
2016-12-04 14:15:09 +00:00
Kyle Kelley
630f450315 Merge pull request #1945 from JCEmmons/t1894
Fix dependency level of underscore.js in bower.json.  Fixes #1894
2016-12-03 20:41:53 -08:00
Kyle Kelley
37bd0a7d78 Merge pull request #1877 from jdetle/terminals
Document Terminals API
2016-12-03 17:18:28 -08:00
John Detlefs
4cdaed7e5b Fix other swagger error 2016-12-02 23:21:32 -08:00
John Emmons
ed1951c314 Fix dependency level of underscore.js in bower.json. Fixes #1894 2016-12-02 21:17:03 -06:00
Kyle Kelley
af3bdb333c Merge pull request #1938 from minrk/no-check-origin-token
don't check origin on token-authenticated requests
2016-12-02 09:50:36 -08:00
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.
2016-12-02 10:41:13 +01:00
Min RK
1e070a50f5 don't check origin on token-authenticated requests
adds LoginHandler.should_check_origin classmethod API
2016-12-02 10:07:25 +01:00
Min RK
910caf56e1 Don't check origin on CSP violation reports
still authenticate, though
2016-12-02 10:07:08 +01:00
Jason Grout
ec13af58d7 Add debug log for static file paths 2016-12-01 16:00:25 -05:00
Min RK
7621fae43e include PATH in cross-origin blocking log message
makes it clearer what's being blocked
2016-12-01 21:57:46 +01:00
John Detlefs
77252b97a9 Change responses to actual behavior.
Fill in missing response descriptions

Fix terminal ID error
2016-11-29 22:15:44 -08:00
Thomas Kluyver
e1e760367d Merge pull request #1933 from michaelpacer/doc_improver
adding link to actual source file per spatialaudio/nbsphinx#74
2016-11-29 18:19:57 +00:00
michaelpacer
50c7df0958 adding link to actual source file per spatialaudio/nbsphinx#74 2016-11-29 09:51:17 -08:00
Kyle Kelley
cc9b6a7cc9 Merge pull request #1931 from michaelpacer/doc_improver
Fix sphinx warning about new lines after markup
2016-11-28 17:18:51 -08:00
michaelpacer
791e398679 Fix sphinx warning about new lines after markup 2016-11-28 16:55:15 -08:00
Kyle Kelley
4955d48a8c Merge pull request #1930 from michaelpacer/doc_improver
Remove redundant code-block invocation
2016-11-28 16:38:49 -08:00
michaelpacer
9e3e946a42 Change sourcecode:: to code-block:: 2016-11-28 15:43:10 -08:00
michaelpacer
d751f177c3 Remove redundant code-block invocation 2016-11-28 15:13:11 -08:00
Kyle Kelley
782f488553 Merge pull request #1921 from minrk/cm521
CodeMirror 5.21
2016-11-25 08:46:40 -08:00
Min RK
6b37be0ca5 get CM 5.21 from components
since cm itself doesn't support bower as of 5.20
2016-11-25 15:16:18 +01:00
Min RK
efcd703268 CodeMirror 5.19
CodeMirror's dropped support for bower at 5.19
2016-11-25 14:30:59 +01:00
Min RK
0be8c6e378 Merge pull request #1920 from gnestor/table-max-width
Change max-width for tables to 150px
2016-11-24 11:59:10 +01:00
Grant Nestor
8d66114992 Change max-width for tables to 150px 2016-11-23 11:21:21 -08:00
Kyle Kelley
391a72dbb8 Merge pull request #1919 from minrk/rm-debug-statement
remove leftover print statement
2016-11-23 11:11:54 -08:00
Min RK
cf1fe8883c Merge pull request #1916 from alexandercbooth/add-baseUrl-dwnldselect
add base_url to download_selected
2016-11-23 16:16:19 +01:00
alexandercbooth
fd9cddd82a chore(baseUrl): remove forward slash from path 2016-11-23 09:59:25 -05:00
Min RK
951cfde98b remove leftover print statement 2016-11-23 14:39:30 +01:00
alexandercbooth
cf37b9f145 [WIP] chore(baseUrl): add base_url to download_selected 2016-11-23 00:52:12 -05:00
Matthias Bussonnier
50ec132615 Merge pull request #1908 from gnestor/pr/1907
Improve `Notebook.render_cell_output`
2016-11-22 08:49:39 -08:00
Thomas Kluyver
bff31f3923 Merge pull request #1912 from takluyver/docs-comms-py-blocks
Fix highlighting of Python code blocks
2016-11-20 14:25:47 +00:00
Thomas Kluyver
8f7825031f Fix highlighting of Python code blocks
The configuration on RTD doesn't default to Python highlighting, it
seems.

http://jupyter-notebook.readthedocs.io/en/latest/comms.html
2016-11-20 13:56:58 +00:00
Grant Nestor
bbec3d7cc1 Do not overwrite OutputArea.trusted on Notebook.render_cell_output 2016-11-18 16:30:58 -08:00
Grant Nestor
dca820e845 Improve Notebook.render_cell_output 2016-11-18 09:29:29 -08:00
Matthias Bussonnier
02740a91ff Merge pull request #1907 from gnestor/master
Add `Notebook.render_cell_output` method
2016-11-18 08:46:00 -08:00
Min RK
5b70ab976e Merge pull request #1903 from minrk/allow-script-websockets
Allow websocket connections from scripts
2016-11-18 11:49:43 +01:00
Grant Nestor
6f929697f3 Add Notebook.render_cell_output method 2016-11-17 22:37:59 -08:00
Thomas Kluyver
e6fb7e65e9 Merge pull request #1650 from Carreau/predicatable-extensions
Load extension in predictable order.
2016-11-17 11:25:51 -08:00
Thomas Kluyver
6f32903e16 Merge pull request #1904 from minrk/json_errors_first
json_errors should be outermost decorator on API handlers
2016-11-17 11:18:05 -08:00
Min RK
fe86b65183 json_errors should be outermost decorator on API handlers
in order to apply to 403 raised by web.authenticated
2016-11-17 18:26:12 +01:00
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.
2016-11-17 13:57:46 +01:00
Kyle Kelley
6df840e19d Merge pull request #1879 from minrk/display_data_update
support routing updating outputs with display_id
2016-11-16 16:42:27 -05:00
Kyle Kelley
389b0b0730 Merge pull request #1831 from minrk/server-token
enable token-authentication by default
2016-11-16 16:06:39 -05:00
Min RK
c0a6e41038 support display_id in execute_result
make update_display handling clearer and separate from regular display_data
2016-11-16 16:44:23 +01:00