Luis Rodriguez
83b3c19de3
Solve insonsistensy on is_focused_on
...
Changed asserts for returns
Changed how the function is called on edit mode check
7 years ago
Luis Rodriguez
b294bf57f8
Refactor of ifs
...
Removed parentheses
Changed '==' for 'is' on None
7 years ago
Luis Rodriguez
c276d81914
Update docstring
...
Added more information about what the checks are
7 years ago
Luis Rodriguez
3a0cb7b113
Refactor validate_dualmode_mode
...
Previously know as validate_notebook_mode changed name to
validate_dualmode_mode to represent better the method.
Added a docstring.
Removed the handling of index being None.
7 years ago
Luis Rodriguez
fccc7d7420
Resolve notebook len duplicate method
7 years ago
Luis Rodriguez
849b7def18
Convert dualmode_markdown to selenium
7 years ago
Luis Rodriguez
9158a79ec4
Convert dualmode_execute to selenium
7 years ago
Luis Rodriguez
5b162cfdf9
Convert dualmode_clipboard to selenium
7 years ago
Luis Rodriguez
3cdc418799
Add alt command, gets, and validate_notebook_state
7 years ago
Thomas Kluyver
8c8ce334b5
Merge pull request #4528 from minrk/override-mime-types
...
explicitly ignore windows registry for mimetypes
7 years ago
Ivan Ogasawara
55177807bc
Fixed small issue and added more information about PROTOCOL_TLS
7 years ago
Ivan Ogasawara
61c50b1b8c
Improve code, add docstring
7 years ago
Ivan Ogasawara
c5264b6cea
Changed the default protocol
...
Applied suggestion from review
Fixed hasattr issue
7 years ago
Thomas Kluyver
f21650ed0c
Merge pull request #4512 from emiliotl/convert_dmode_arrows_and_fix_dmode_insert_tests
...
Fixed dualmode insert test and convert dualmode arrows test to selenium
7 years ago
Emilio Talamante Lugo
d8120e5845
Rename ctrl method to cmdtrl which covers the mains OS
7 years ago
Min RK
2fabe50c60
explicitly ignore windows registry for mimetypes
...
since it has proven untrustworthy for many users
7 years ago
Min RK
08c4c89818
protect against chrome mishandling backslash as slash in URLs
7 years ago
Min RK
b9d9e659e9
parse urls when validating redirect targets
...
simplifies check for redirects to external hosts
7 years ago
Min RK
e908edf171
Fix return value for async restart_kernel
...
gen.Return shouldn't be passed the Future, the future should be awaited
7 years ago
Min RK
ca7b8dd163
catch errors when writing on closed sockets
...
avoids issues with direct-checks for closed or closing sockets,
which seems to change across tornado versions
fixes some tornado 6 issues
7 years ago
Min RK
eba43aa6c9
Merge pull request #4520 from minrk/selenium-fix
...
wait for kernel to be ready in selenium tests
7 years ago
Min RK
7a13d5c096
Merge pull request #4468 from ciaranlangton/master
...
Fix incorrect MIME/Content-Type for JavaScript
7 years ago
Min RK
5ad7a41c4c
wait for kernel to be ready in selenium tests
...
might fix recent flaky tests
7 years ago
Emilio Talamante Lugo
35a19e9308
Fixed dualmode insert test and convert dualmode arrows test to selenium
7 years ago
Thomas Kluyver
b26221ad44
Merge pull request #4445 from emiliotl/convert_shutdown_js_to_py_selenium
...
Converted shutdown.js test to selenium python test
7 years ago
Emilio Talamante Lugo
e3c9a67294
Changed to .utils module for CI tests acceptance
7 years ago
Emilio Talamante Lugo
0c003e9de1
Handled possible race conditions and modified returned object on get_cell_output
7 years ago
Ciaran Langton
d8730ced00
Fix comment
7 years ago
Ciaran Langton
19c6cbb618
Fix incorrect MIME type for JavaScript
7 years ago
Min RK
7f7bfeefc0
Block cross-origin GET,HEAD requests with mismatched Referer
...
- /files/ downloads must come from a local page (no direct visits or external links)
- same for /api/ requests
- disabling xsrf checks
7 years ago
Min RK
d7becafd59
add xsrf checks on files endpoints
7 years ago
Min RK
98773c1a8a
Set X-Content-Options: nosniff on all handlers
...
for XSSI protections of non-script content
7 years ago
Carol Willing
d17caf92c0
Merge pull request #4453 from minrk/maybe-future
...
- Finish transition to our own maybe_future
- Bump minimum Python version to 3.5
7 years ago
Carol Willing
43622e756e
Merge pull request #4443 from minrk/notify-ws-close
...
trigger _ws_closed on any close event
7 years ago
Emilio Talamante Lugo
23adb8e919
Replacing time.sleep for a conditional waiting method
7 years ago
Min RK
e80c77004d
Merge pull request #4423 from minrk/fix-custom
...
move rtl fixes to page.less from custom.css
7 years ago
Min RK
07cdcafe2a
Merge pull request #4250 from vilhelmen/headercontent_super
...
Respect parent template headercontainer in child pages
7 years ago
Min RK
729183b148
use our own maybe_future
...
instead of the monkeypatch we did to keep the backport patch small
requiring tornado 5 simplifies things a ton because tornado.concurrent.Future is asyncio.Future
7 years ago
Min RK
88aae11172
Merge pull request #4431 from kevin-bates/apply-nb2kg-updates
...
Update gateway support with recent changes
7 years ago
Min RK
859ae0ac60
Merge pull request #4306 from 00Kai0/00kai0
...
make kill kernel configurable.
7 years ago
Min RK
e2ac757821
Merge pull request #4449 from minrk/unpin-tornado
...
tornado 6 compatibility
7 years ago
Min RK
be35a370ce
gateway: compatibility with tornado 4
...
HTTPTimeoutError is new in tornado 5.1
7 years ago
Min RK
dcee710154
patch gen.maybe_future for compatibility with tornado 6
...
tornado gen.maybe_future is deprecated in >= 5.0 and doesn't accept asyncio coroutine objects or awaitables in general
causing failures with tornado 6 on asyncio
monkeypatch gen.maybe_future for easier backport to 5.x
later, we can update to use our maybe_future throughout
7 years ago
Min RK
5828300401
fix check for closed connection
...
stream is None in tornado 6
7 years ago
Emilio Talamante Lugo
b892d7c8c6
Converted shutdown.js test to selenium python test
7 years ago
Min RK
490b8fd3ef
trigger _ws_closed on any close event
...
it doesn’t matter if the close was clean or not,
we should still handle the close event.
we set a different onclose handler prior to the client requesting close,
which is likely what the old wasClean checks were for
7 years ago
Kevin Bates
46bcf78d63
Update gateway support with recent changes
...
Convey notebook working directory to the gateway (nb2kg pr-21)
Support retrieval of kernelspec resources from the gateway (nb2kg pr-23)
7 years ago
Frédéric Chapoton
9f59b7feb3
remove unused import of os
...
found by lgtm
7 years ago
Min RK
d145301b55
Merge pull request #4112 from dmikushin/master
...
Enable login mode for terminal - to automatically source the /etc/profile script
7 years ago
Min RK
6a96754208
Merge pull request #4355 from EvgeniDubov/fix_notebook_file_extension_case
...
Fix case sensitive notebook file extension
7 years ago