Min RK
7839d32cfe
remove test for reverted deprecated paths
9 years ago
Min RK
47d4451958
remove webpack shims
...
restore explicit imports of jquery, etc.
9 years ago
Srinivas Reddy Thatiparthy
161c174a98
rename log.warn to log.warning as log.warn is deprecated
9 years ago
Min RK
374db739ad
Merge pull request #1965 from mgeier/proper-attachment-url
...
Use attachment:path instead of attachment://path
9 years ago
Min RK
d3b5e15bb4
Merge pull request #1994 from minrk/more-token-log-no-browser
...
Further highlight token info in log output
9 years ago
Min RK
cbeec7ae9a
Add note about cookie requirement
9 years ago
Min RK
3760525783
Only log generated tokens in URLs
...
if token came from config, assume user knows what it is
or it's handled some other way.
9 years ago
Min RK
65cb6cc185
Only show token info if tokens are available
...
on login page
9 years ago
Min RK
fb8f730c6e
Merge pull request #1985 from jasongrout/checkresize
...
Ignore resize events that bubbled up and didn't come from window.
9 years ago
Min RK
faf60320dd
Further highlight token info in log output
...
add critical-level log statement at the end of startup with token info
9 years ago
Jason Grout
935af43582
handle window sizing even when it is not from a resize event.
9 years ago
Min RK
3c0da28764
add missing waits for output in display_id tests
9 years ago
Jason Grout
e909afc93a
Due to jQuery propagating events, the window resize event could be triggered by a bubbled event.
...
See https://bugs.jquery.com/ticket/9841 . In our case, the OutputArea was triggering a ‘resize’ event on its element, which was bubbling up and causing this handler to execute every time an output was appended. This was a pretty big drain on output areas that quickly changed (like for interact widgets), presumably since this function involves a DOM read to get heights.
9 years ago
Min RK
a2f7325537
fix carriage return handling
...
The only real fix is an errant `+` on the final replacement, which would end up skipping sequential replacements.
- leaves trailing `\r` on the text, if there is one
- use groups to avoid unnecessary replace calls (no change)
- includes test
9 years ago
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
Matthias Geier
6a5e22e646
Use attachment:path instead of attachment://path
...
This partly reverts #1659 , see also #1655 .
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
9 years ago
Kyle Kelley
391a72dbb8
Merge pull request #1919 from minrk/rm-debug-statement
...
remove leftover print statement
9 years ago
alexandercbooth
fd9cddd82a
chore(baseUrl): remove forward slash from path
9 years ago
Min RK
951cfde98b
remove leftover print statement
9 years ago
alexandercbooth
cf37b9f145
[WIP] chore(baseUrl): add base_url to download_selected
9 years ago
Matthias Bussonnier
50ec132615
Merge pull request #1908 from gnestor/pr/1907
...
Improve `Notebook.render_cell_output`
9 years ago
Grant Nestor
bbec3d7cc1
Do not overwrite `OutputArea.trusted` on `Notebook.render_cell_output`
9 years ago
Grant Nestor
dca820e845
Improve `Notebook.render_cell_output`
9 years ago
Matthias Bussonnier
02740a91ff
Merge pull request #1907 from gnestor/master
...
Add `Notebook.render_cell_output` method
9 years ago
Min RK
5b70ab976e
Merge pull request #1903 from minrk/allow-script-websockets
...
Allow websocket connections from scripts
9 years ago
Grant Nestor
6f929697f3
Add `Notebook.render_cell_output` method
9 years ago
Thomas Kluyver
e6fb7e65e9
Merge pull request #1650 from Carreau/predicatable-extensions
...
Load extension in predictable order.
9 years ago