Thomas Kluyver
d6259ae285
Don't monkeypatch environment data locations for test notebook server
6 years ago
forest0
0c82d764bd
preserve term "Markdown" untranslated
6 years ago
Thomas Kluyver
76a323e677
Merge pull request #4826 from benthayer/selectall
...
Ctrl-A to select all cells
6 years ago
Thomas Kluyver
b67164033e
Merge pull request #5043 from takluyver/selenium-prefill
...
Selenium test fixture to open a notebook with prefilled content
6 years ago
Thomas Kluyver
fd4275cdf6
Merge branch 'master' into master
6 years ago
Thomas Kluyver
7b5248d1ce
Merge pull request #5055 from shuichiro-makigaki/fix-gateway-handled-exceptions
...
Fix packages of exceptions catched by gateway manager
6 years ago
Thomas Kluyver
806904c0f9
Merge pull request #5078 from haobibo/patch-1
...
Ensure jupyter config dir exist
6 years ago
Thomas Kluyver
f185f4127d
Merge pull request #5021 from krinsman/master
...
Fixes #5002
6 years ago
Thomas Kluyver
1d76105301
Merge pull request #5077 from michalc/contents-manager-get-can-return-future
...
Allow contents manager get to return future
6 years ago
Bibo Hao
9775af7bba
Update security.py
6 years ago
Thomas Kluyver
10c7d2a53f
Merge pull request #5075 from shevelevs/DynamicDefaultForMinOpenFilesLimit
...
Making default value for min_open_files_limit dynamic
6 years ago
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.
6 years ago
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.
6 years ago
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
6 years ago
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.
6 years ago
Min RK
7e2ae22aee
apply asyncio patch before launching new loop for tests
7 years ago
William Krinsman
765c9f7316
Implement Thomas Kluyver's idea -- let the contents and kernel managers get the application option as part of calculating the default
7 years ago
Min RK
29ec93627c
workaround tornado py38 compatibility issue
...
by setting the pre-3.8 eventloop policy as default
7 years ago
Thomas Kluyver
7fb461ddf7
Selenium test fixture to open a notebook with prefilled content
...
This makes several tests shorter and (hopefully) more efficient
7 years ago
Thomas Kluyver
9640e1f943
Merge pull request #4101 from dubielt1/test-kernel-menu
...
Translated kernel menu javascript test to selenium
7 years ago
Thomas Kluyver
6d76481ccd
Merge pull request #4622 from TeresaPartidaS/convert_execute_code_js_to_selenium
...
Migrate execute code test to selenium
7 years ago
Thomas Kluyver
257e71202c
Rework execution test, add wait_for_cell_output helper
7 years ago
TPartida
c23de34161
Modified to avoid race condition
7 years ago
TPartida
6811727a25
Remove execute_code js
7 years ago
TPartida
6c7ad0417e
Convert execute_code to Selenium
7 years ago
Thomas Kluyver
08d0b56390
Fix waiting for dialog to close before clicking menu again
7 years ago
Thomas Kluyver
934c7dda80
Return to tree window after test using notebook
7 years ago
Thomas Kluyver
46614c3772
Simplify test for interrupting running code
7 years ago
Thomas Kluyver
17176de1f2
Rename test file so test is discovered
7 years ago
lmcdon14
f4ba6daece
Remove interrupt.js
7 years ago
lmcdon14
f2bfd3bebd
create selenium interrupt test and add utility function
7 years ago
Thomas Kluyver
92db6a727c
Simplify test for shutting down & restarting kernel through the menus
7 years ago
Tres DuBiel
36e14efa93
Translated kernel menu javascript test to selenium
7 years ago
Luciano Resende
8881a06e0e
Back to development version
7 years ago
Luciano Resende
7eb7f1cdc1
Release 6.0.2
7 years ago
Luciano Resende
13039db1a6
Move license information from COPYING.md
...
Closes #4765
Fixes 2768
7 years ago
Thomas Kluyver
a90957dae7
Merge pull request #4999 from betteridiot/betteridiot_disable_redirect_file
...
Setting to disable redirect file browser launch
7 years ago
Marcus D Sherman
0a1fff1d0d
Removing unneeded tornado setting
...
As per the comments in https://github.com/jupyter/notebook/pull/4999#discussion_r340833884 , the setting was removed.
7 years ago
Marcus D Sherman
4fe631a248
Changes from code review comments
...
Makes the necessary changes proposed by @takluyver in https://github.com/jupyter/notebook/pull/4999
7 years ago
Thomas Kluyver
eb3e1a4d6c
Merge pull request #4991 from 00Kai0/fix-py2dep
...
remove py2 dependence
7 years ago
Thomas Kluyver
5f53f35208
Merge pull request #4987 from takluyver/fix-selenium-is-kernel-running
...
Fix checking if kernel is running through Selenium
7 years ago
Marcus D Sherman
fa12f4b2f8
Setting to disable redirect file browser launch
...
When it was originally added, the PR for launching a browser via a redirect file (jupyter#4260) created some issues for some environments-namely WSL, Chromebook, and Android (jupyter#4346 (comment), jupyter/help#496 ). The reason for the break in these environments is due to the file structure/path differences between the runtime and the browser.
This commit adds a setting to the `jupyter_notebook_config.py` that allows users to disable the use of redirect file for launching a browser in favor of the original, yet visible, URL + token approach. This setting: `c.NotebookApp.use_redirect_file` will be set to True by default.
7 years ago
Jason Grout
5acbc155b9
Add support for increasing the soft limit on open file handles ( #4893 )
...
Add some minimal support for increasing the soft limit
on open file handles, default to at least 4096.
This hopefully fixes https://github.com/jupyterlab/jupyterlab/issues/6727
7 years ago
Kerwin.Sun
b5f5c9500e
remove py2 dependence
7 years ago
Thomas Kluyver
fb2286585c
Fix checking if kernel is running through Selenium
...
Avoid error "Jupyter.notebook.kernel is null"
7 years ago
Thomas Kluyver
ed96937401
Merge pull request #4936 from 00Kai0/fix-py2dependence
...
Rm dependences of py2 in base path.
7 years ago
Kerwin.Sun
c1b45e3e5e
remove raw_input
7 years ago
sasaki takeru
dcef16a5be
typo ( #4946 )
7 years ago
Jason Grout
8f36daec83
Fixed semicolon
7 years ago
Kyle Kelley
b6d3bb0158
successively look for .data('path') up parents
7 years ago