Min RK
a51efa5acc
add Authorization to allowed CORS headers
...
so that CORS requests can be token-authenticated
9 years ago
Min RK
7c7f065547
include token info on login page
9 years ago
Min RK
a33ad66460
clarify the default token behavior in help output
9 years ago
Min RK
c05138a219
Merge pull request #1956 from jasongrout/fontsize
...
Make the font size more robust against fickle browser values.
9 years ago
Jason Grout
1864fe5adb
Some tests for output callback overrides.
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
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.
9 years ago
Grant Nestor
19c9a791cc
Pass `options.index` to `OutputArea.register_mime_type` to set `display_order` index
9 years ago
Grant Nestor
a4744c696f
Expose `OutputArea.mime_types` to allow extensions to calculate `display_order` index
9 years ago
Min RK
38060d001e
Merge pull request #1939 from jupyter/static-file-log
...
Add debug log for static file paths
9 years ago
Thomas Kluyver
283042c675
Ensure variable is set if exc_info is falsey
...
Closes gh-1940
9 years ago
Thomas Kluyver
27a2c50adb
Merge pull request #1941 from minrk/safe-load
...
Catch and log handler exceptions in events.trigger
9 years ago
Kyle Kelley
37bd0a7d78
Merge pull request #1877 from jdetle/terminals
...
Document Terminals API
9 years ago
John Detlefs
4cdaed7e5b
Fix other swagger error
9 years ago
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
Min RK
1e070a50f5
don't check origin on token-authenticated requests
...
adds LoginHandler.should_check_origin classmethod API
9 years ago
Min RK
910caf56e1
Don't check origin on CSP violation reports
...
still authenticate, though
9 years ago
Jason Grout
ec13af58d7
Add debug log for static file paths
9 years ago
Min RK
7621fae43e
include PATH in cross-origin blocking log message
...
makes it clearer what's being blocked
9 years ago
John Detlefs
77252b97a9
Change responses to actual behavior.
...
Fill in missing response descriptions
Fix terminal ID error
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