Commit Graph

11640 Commits

Author SHA1 Message Date
ivigamberdiev
17230069ad
Update link and http -> https 2019-03-29 13:13:58 +03:00
Min RK
2fabe50c60 explicitly ignore windows registry for mimetypes
since it has proven untrustworthy for many users
2019-03-28 14:56:13 +01:00
Min RK
b981c5b055 Merge branch 'check-redirect-target' 2019-03-28 12:04:03 +01:00
Min RK
08c4c89818 protect against chrome mishandling backslash as slash in URLs 2019-03-27 21:43:40 +01:00
Min RK
d65328d484 changelog for redirect check
and update cve for 5.7.6
2019-03-27 16:19:10 +01:00
Min RK
b9d9e659e9 parse urls when validating redirect targets
simplifies check for redirects to external hosts
2019-03-27 16:14:01 +01:00
Min RK
35ac42bee8
Merge pull request #4513 from minrk/websocket-closed-forward
Fix regressions in 5.7.x
2019-03-27 16:11:31 +01:00
Min RK
850eda5657 add .js mimetype fix to changelog 2019-03-27 14:43:25 +01:00
Min RK
a537334744 Changelog for 5.7.7 2019-03-27 14:42:21 +01:00
Min RK
e908edf171 Fix return value for async restart_kernel
gen.Return shouldn't be passed the Future, the future should be awaited
2019-03-27 14:42:21 +01:00
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
2019-03-27 14:42:21 +01:00
Min RK
eba43aa6c9
Merge pull request #4520 from minrk/selenium-fix
wait for kernel to be ready in selenium tests
2019-03-27 14:40:29 +01:00
Min RK
7a13d5c096
Merge pull request #4468 from ciaranlangton/master
Fix incorrect MIME/Content-Type for JavaScript
2019-03-27 14:09:13 +01:00
Min RK
5ad7a41c4c wait for kernel to be ready in selenium tests
might fix recent flaky tests
2019-03-27 14:01:26 +01:00
Min RK
1e8c90f5c9
Merge pull request #4519 from minrk/linkcheck
[doc] fix some linkcheck errors and warnings
2019-03-27 14:01:18 +01:00
Min RK
7657c0ca5f [doc] fix some linkcheck errors and warnings 2019-03-27 13:43:15 +01:00
Emilio Talamante Lugo
35a19e9308 Fixed dualmode insert test and convert dualmode arrows test to selenium 2019-03-24 21:20:18 -07:00
Thomas Kluyver
b26221ad44
Merge pull request #4445 from emiliotl/convert_shutdown_js_to_py_selenium
Converted shutdown.js test to selenium python test
2019-03-17 16:35:04 +00:00
Emilio Talamante Lugo
e3c9a67294 Changed to .utils module for CI tests acceptance 2019-03-14 00:48:51 -07:00
Emilio Talamante Lugo
0c003e9de1 Handled possible race conditions and modified returned object on get_cell_output 2019-03-14 00:34:38 -07:00
Ciaran Langton
d8730ced00 Fix comment 2019-03-10 22:13:22 +00:00
Ciaran Langton
19c6cbb618 Fix incorrect MIME type for JavaScript 2019-03-10 21:51:29 +00:00
Min RK
9560e0cf4c changelog for 5.7.6 2019-03-08 13:44:00 +01:00
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
2019-03-08 13:44:00 +01:00
Min RK
d7becafd59 add xsrf checks on files endpoints 2019-03-08 13:44:00 +01:00
Min RK
98773c1a8a Set X-Content-Options: nosniff on all handlers
for XSSI protections of non-script content
2019-03-08 13:43:57 +01:00
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
2019-03-07 13:31:12 -08:00
Carol Willing
43622e756e
Merge pull request #4443 from minrk/notify-ws-close
trigger _ws_closed on any close event
2019-03-07 13:26:56 -08:00
Emilio Talamante Lugo
23adb8e919 Replacing time.sleep for a conditional waiting method 2019-03-06 23:56:34 -07:00
Min RK
e80c77004d
Merge pull request #4423 from minrk/fix-custom
move rtl fixes to page.less from custom.css
2019-03-06 13:10:01 +01:00
Min RK
3d94b517e8 require Python 3.5
3.4 doesn't have isawaitable

remove unsupported combinations from test matrix
2019-03-06 13:09:21 +01:00
Min RK
07cdcafe2a
Merge pull request #4250 from vilhelmen/headercontent_super
Respect parent template headercontainer in child pages
2019-03-06 11:02:21 +01:00
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
2019-03-06 10:52:55 +01:00
Min RK
88aae11172
Merge pull request #4431 from kevin-bates/apply-nb2kg-updates
Update gateway support with recent changes
2019-03-06 10:48:52 +01:00
Min RK
859ae0ac60
Merge pull request #4306 from 00Kai0/00kai0
make kill kernel configurable.
2019-03-06 10:47:14 +01:00
Min RK
e2ac757821
Merge pull request #4449 from minrk/unpin-tornado
tornado 6 compatibility
2019-03-06 10:46:00 +01:00
Min RK
0b73ab600a changelog for 5.7.5 [ci skip] 2019-03-06 10:38:51 +01:00
Min RK
ff238cc762
Merge pull request #4147 from jakelevirne/master
Updated the description of Heading cells, which are no longer used
2019-03-06 10:28:50 +01:00
Min RK
73a7630517
there are four lights [ci skip] 2019-03-06 10:28:41 +01:00
Min RK
d4e60d975d oops, no Python 2 on master 2019-03-05 14:36:30 +01:00
Min RK
be35a370ce gateway: compatibility with tornado 4
HTTPTimeoutError is new in tornado 5.1
2019-03-05 14:28:55 +01:00
Min RK
71e185316b add test entries for tornado 4 2019-03-05 14:16:12 +01:00
Min RK
aa4ffe3f4b test with stable Python 3.7
instead of out-of-date dev version
2019-03-05 14:16:02 +01:00
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
2019-03-05 14:03:34 +01:00
Min RK
5828300401 fix check for closed connection
stream is None in tornado 6
2019-03-05 14:01:08 +01:00
Min RK
51eb86f6a0
Merge pull request #4426 from fchapoton/patch-1
remove unused import of os
2019-03-05 13:35:45 +01:00
Min RK
b1bd4e5983 pip freeze on tornado
for debugging test env
2019-03-05 12:27:53 +01:00
Min RK
57122409b2 unpin tornado
to get testing 6.0 again
2019-03-05 12:18:45 +01:00
Emilio Talamante Lugo
b892d7c8c6 Converted shutdown.js test to selenium python test 2019-03-04 00:23:02 -07:00
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
2019-03-02 12:19:03 +01:00