Commit Graph

11641 Commits

Author SHA1 Message Date
Thomas Kluyver
d0a74353e6
Merge pull request #5111 from takluyver/nbconvert6-tests-notsoisolated
Fix running tests with nbconvert 6 prerelease
2019-12-14 19:13:45 +01:00
Thomas Kluyver
e53383ceb2 Allow testing with nbconvert 6 again (unpin)
Closes gh-5086
Closes gh-5092
2019-12-09 16:48:36 +00:00
Thomas Kluyver
d6259ae285 Don't monkeypatch environment data locations for test notebook server 2019-12-09 16:47:12 +00:00
Min RK
5e5ad60a57
Merge pull request #5099 from forest0/master
preserve term "Markdown" untranslated
2019-12-05 16:11:12 +01:00
forest0
0c82d764bd preserve term "Markdown" untranslated 2019-12-04 14:53:17 +08:00
Thomas Kluyver
76a323e677
Merge pull request #4826 from benthayer/selectall
Ctrl-A to select all cells
2019-11-29 10:13:09 +00:00
Thomas Kluyver
b67164033e
Merge pull request #5043 from takluyver/selenium-prefill
Selenium test fixture to open a notebook with prefilled content
2019-11-29 10:12:51 +00:00
Thomas Kluyver
fc2dc8f002
Merge pull request #4785 from dleen/master
Prevent tests from hanging
2019-11-27 13:57:15 +00:00
Thomas Kluyver
fd4275cdf6
Merge branch 'master' into master 2019-11-27 12:25:01 +00:00
Thomas Kluyver
2eb5544358
Merge pull request #4899 from rayehh/master
Add end punctuation and update korean document
2019-11-27 12:19:46 +00:00
Thomas Kluyver
7b5248d1ce
Merge pull request #5055 from shuichiro-makigaki/fix-gateway-handled-exceptions
Fix packages of exceptions catched by gateway manager
2019-11-27 12:16:42 +00:00
Thomas Kluyver
806904c0f9
Merge pull request #5078 from haobibo/patch-1
Ensure jupyter config dir exist
2019-11-27 12:15:07 +00:00
Thomas Kluyver
6c67bb133b
Merge pull request #5085 from takluyver/test-pin-nbconvert-5.x-b
Pin nbconvert <6 for now
2019-11-27 11:55:21 +00:00
Thomas Kluyver
f377abfa04 Pin nbconvert <6 for now 2019-11-27 11:38:22 +00:00
Thomas Kluyver
f185f4127d
Merge pull request #5021 from krinsman/master
Fixes #5002
2019-11-24 22:06:16 +00:00
Thomas Kluyver
1d76105301
Merge pull request #5077 from michalc/contents-manager-get-can-return-future
Allow contents manager get to return future
2019-11-24 21:35:17 +00:00
Bibo Hao
9775af7bba
Update security.py 2019-11-25 03:33:16 +08:00
Thomas Kluyver
10c7d2a53f
Merge pull request #5075 from shevelevs/DynamicDefaultForMinOpenFilesLimit
Making default value for min_open_files_limit dynamic
2019-11-24 19:02:39 +00:00
Thomas Kluyver
1efa780a70
Merge pull request #5047 from minrk/py38-tornado
workaround tornado py38 compatibility issue
2019-11-24 18:21:20 +00:00
Bibo Hao
8d43f50f04
Ensure jupyter config dir exist
The bug:
When
 - the user login for the first file with a token and want to change his/her password
 - and if the folder `~/.jupyter` (`jupyter_config_dir()`) does not exist
then the jupyter server will raise a `FileNotFoundError` exception and return a 500 error.

This change tries to fix this bug by ensure the folder exist so that the `config_file` can be opened.
2019-11-25 01:38:24 +08:00
Michal Charemza
b7a354d8fa
Allow contents manager get to return future
This is a follow up to https://github.com/jupyter/notebook/pull/4099,
wrapping other uses of contents manager get with `maybe_future` to
allow it to yield the event loop.
2019-11-24 14:36:18 +00:00
Sergey Shevelev
e46a344fa6 Making default value for min_open_files_limit dependent on user's
ulimit values so trying to increase them above hard limit while
running as non-privileged user is not causing error on start-up.

See https://github.com/jupyter/notebook/issues/5070
2019-11-21 21:20:58 -08:00
Shuichiro MAKIGAKI
aa73eb43cd Fix packages of exceptions catched by gateway manager
`gateway_request` in `gateway.manager` raises `tornado.web.HTTPError` exceptions,
but the callers, such as `GatewayKernelManager.get_kernel`, catch
`tornado.httpclient.HTTPError`, instead of `tornado.web.HTTPError`.
Therefore, the callers can not handle exceptions during gateway interactions.

This causes that, for example, when Jupyter Enterprise Gateway culled a kernel
by idle timeout, the gateway manager can not handle the kernel's absent appropriately.
As a result, notebook users see ambiguous "Kernel Error" and can not restart
the kernel or start a new kernel.
2019-11-16 18:17:48 +09:00
Min RK
7e2ae22aee apply asyncio patch before launching new loop for tests 2019-11-14 12:00:23 +01:00
William Krinsman
765c9f7316 Implement Thomas Kluyver's idea -- let the contents and kernel managers get the application option as part of calculating the default 2019-11-13 12:02:38 -08:00
Min RK
29ec93627c workaround tornado py38 compatibility issue
by setting the pre-3.8 eventloop policy as default
2019-11-12 13:11:06 +01:00
Thomas Kluyver
7fb461ddf7 Selenium test fixture to open a notebook with prefilled content
This makes several tests shorter and (hopefully) more efficient
2019-11-11 12:12:34 +00:00
Thomas Kluyver
9640e1f943
Merge pull request #4101 from dubielt1/test-kernel-menu
Translated kernel menu javascript test to selenium
2019-11-09 14:51:06 +01:00
Thomas Kluyver
6d76481ccd
Merge pull request #4622 from TeresaPartidaS/convert_execute_code_js_to_selenium
Migrate execute code test to selenium
2019-11-09 14:50:42 +01:00
Thomas Kluyver
0fba208654
Merge pull request #3518 from lmcdon14/selenium-interrupt
Create selenium interrupt test
2019-11-09 14:49:33 +01:00
Thomas Kluyver
257e71202c Rework execution test, add wait_for_cell_output helper 2019-11-08 17:37:22 +00:00
TPartida
c23de34161 Modified to avoid race condition 2019-11-08 17:31:18 +00:00
TPartida
6811727a25 Remove execute_code js 2019-11-08 17:31:18 +00:00
TPartida
6c7ad0417e Convert execute_code to Selenium 2019-11-08 17:31:18 +00:00
Thomas Kluyver
08d0b56390 Fix waiting for dialog to close before clicking menu again 2019-11-08 16:22:35 +00:00
Thomas Kluyver
934c7dda80 Return to tree window after test using notebook 2019-11-08 16:18:08 +00:00
Thomas Kluyver
46614c3772 Simplify test for interrupting running code 2019-11-08 12:53:37 +00:00
Thomas Kluyver
17176de1f2 Rename test file so test is discovered 2019-11-08 12:35:00 +00:00
lmcdon14
f4ba6daece Remove interrupt.js 2019-11-08 12:32:19 +00:00
lmcdon14
f2bfd3bebd create selenium interrupt test and add utility function 2019-11-08 12:32:19 +00:00
Thomas Kluyver
92db6a727c Simplify test for shutting down & restarting kernel through the menus 2019-11-08 12:26:31 +00:00
Tres DuBiel
36e14efa93 Translated kernel menu javascript test to selenium 2019-11-08 11:37:10 +00:00
Luciano Resende
8881a06e0e Back to development version 2019-11-04 15:09:34 -08:00
Luciano Resende
7eb7f1cdc1 Release 6.0.2 2019-11-04 15:09:34 -08:00
Luciano Resende
c8ba8a79c8 Changelog for Release 6.0.2 2019-11-04 15:09:34 -08:00
Luciano Resende
13039db1a6 Move license information from COPYING.md
Closes #4765
Fixes 2768
2019-11-04 15:09:34 -08:00
bermani
80587a04bc Update CodeMirror to version 5.48.4 (#4858)
The current CodeMirror version incorrectly highlights 
f-formatted strings which is fixed on latest CodeMirror
version.

Fixes #4854
2019-11-04 12:13:53 -08:00
Luciano Resende
be40471784
Update to JQuery 3.4.1 (#4958)
Fixes #4593
2019-11-04 11:59:33 -08:00
Thomas Kluyver
097035141d
Merge pull request #4856 from vidartf/patch-1
Update contents API docs
2019-10-31 10:56:45 +00:00
Vidar Tonaas Fauske
2249fba51b
Update contents.rst 2019-10-31 10:26:06 +00:00