Min RK
a51efa5acc
add Authorization to allowed CORS headers
...
so that CORS requests can be token-authenticated
2016-12-14 10:44:30 +01:00
Thomas Kluyver
6ee01644c4
Merge pull request #1972 from minrk/token-docs
...
better docs for token auth
2016-12-13 15:40:27 +00:00
Min RK
7fa5d5a1be
cover token authentication in security docs
2016-12-13 13:09:55 +01:00
Min RK
7c7f065547
include token info on login page
2016-12-13 13:07:28 +01:00
Min RK
a33ad66460
clarify the default token behavior in help output
2016-12-13 13:07:14 +01:00
Min RK
c05138a219
Merge pull request #1956 from jasongrout/fontsize
...
Make the font size more robust against fickle browser values.
2016-12-09 16:47:54 +01:00
Min RK
6adae92d42
Merge pull request #1958 from jasongrout/callbackid
...
Add output callback overrides
2016-12-09 14:16:14 +01:00
Jason Grout
1864fe5adb
Some tests for output callback overrides.
2016-12-09 02:49:37 -08:00
Jason Grout
c3de744fe9
Return after error condition.
2016-12-08 17:22:37 -08:00
Jason Grout
66146cc265
Write the get_output_callback_id function that we use.
2016-12-08 17:22:37 -08:00
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.
2016-12-08 16:12:07 -08:00
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.
2016-12-08 16:05:28 -08:00
Thomas Kluyver
32f92b489e
Merge pull request #1955 from gnestor/4.3
...
Add 4.3 to changelog
2016-12-08 15:32:46 +01:00
Jason Grout
d376b35636
Make the font size more robust against fickle browser values.
...
Also change the line-height multiplier to 1.3, which is closer to what the CSS is (I think it is 1.21 something.)
Thanks to @williamstein and @haraldschilly for bringing this to our attention: https://github.com/sagemathinc/smc/issues/1262
We also re-enable auto scrolling for Firefox, since this might have been the issue.
2016-12-07 12:50:18 -08:00
Grant Nestor
74b935e6b5
Add 4.3 to changelog
2016-12-07 12:05:12 -08:00
Paul Ivanov
2fd22fa254
Merge pull request #1953 from jasongrout/polyfill
...
Polyfill promises from the page template.
2016-12-07 12:01:56 -08:00
Jason Grout
b3936cb3b8
Polyfill promises from the page template.
...
Doing this from webpack as a plugin caused https://github.com/ipython/ipywidgets/issues/844 (and probably other issues we haven’t noticed), and also forced us to use the es6-promise Promise object instead of the native one.
Fixes https://github.com/ipython/ipywidgets/issues/844
2016-12-07 11:43:26 -08:00
Thomas Kluyver
f0050e9bf8
Merge pull request #1952 from gnestor/display_order-index
...
Set mimerender index in `OutputArea.display_order`
2016-12-07 16:33:54 +01:00
Grant Nestor
19c9a791cc
Pass options.index
to OutputArea.register_mime_type
to set display_order
index
2016-12-06 13:06:46 -08:00
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