Kevin Bates
66ad3f469c
Enable check_origin on gateway websocket communication ( #5471 )
...
This is a port of the same change in NB2KG (PR 22).
Fixes #5460
Co-authored-by: Dylan <dylan.yi@icloud.com>
Co-authored-by: Dylan <dylan.yi@icloud.com>
2020-05-25 04:45:04 -05:00
Max Klein
01e298f83d
added --autoreload
flag to NotebookApp
( #4795 )
...
* added `--autoreload` flag
When passed, the webapp will watch for any changes to its Python source. On
change, all changed packages will be reimported and the webapp will restart.
Also works on Python source files in Jupyter server extensions. Implemented
using the built in `autoreload` parameter in the constructor of
`tornado.web.Application`.
* updated .gitignore
2020-05-22 19:20:14 -05:00
Grant Nestor
7fbbe796c3
Add actual watch script ( #4738 )
2020-05-22 08:21:10 -05:00
Toon Baeyens
b278fa67de
Make a notebook writable after successful save-as ( #5296 )
...
* add failing test for readonly notebook
* test typing after save-as
* make notebook writable after save-as
fixes #1324
* fix failing test in travis
2020-05-22 08:10:40 -05:00
Onno Broekmans
7563c54dfc
Fix broken "Raw cell MIME type" dialog ( #3255 ) ( #5385 )
...
The modal dialog for entering a custom MIME type for a "Raw NBConvert"-
type cell was broken. This change to the JavaScript code makes the modal
dialog appear correctly again, as well as correctly disabling the
handling of key presses by the cell editor while the dialog is open.
This fixes #3255 .
2020-05-22 08:08:37 -05:00
Madhusudhan Srinivasa
4775ee551a
use cmdtrl-enter to run a cell ( #5120 )
...
Instead of ctrl-enter to run a cell, use cmdtrl-enter - this will provide better ux for mac users.
2020-05-21 03:39:28 -05:00
dSchurch
f42f2408b0
Migrate Move multiselection test to selenium ( #5158 )
...
* converted move multiselection to selenium test
* deleted the time library
* Remove move_multiselection
Co-authored-by: Diego Schurch <dschurch@NSL-DSCHURCHs-MacBook-Pro.local>
2020-05-21 03:38:22 -05:00
Daiki Katsuragawa
4b9e9a4a45
Add Japanese document ( #5231 )
...
* Add Japanese document
README.md translated into Japanese
* Fix typos
2020-05-21 03:36:26 -05:00
Thew Dhanat
95c9dfbdb0
Add cell attachments to markdown example ( #5412 )
2020-05-21 03:31:39 -05:00
Niko Felger
d84faae6a8
Convert notifications JS test to selenium ( #5455 )
...
* Add selenium test helper to wait for JS expressions
* Convert notifications JS test to selenium (#3335 )
2020-05-21 03:24:31 -05:00
Kevin Bates
4318927598
Merge pull request #5462 from jupyter/takluyver-patch-1
...
Install terminado for docs build
2020-05-20 07:11:25 -07:00
Thomas Kluyver
78565db010
Install terminado for docs build
...
RTD is currently failing with an ImportError
Also move to a recent Python, because I don't know how long 3.5 will be available on conda.
2020-05-20 10:19:37 +01:00
Zachary Sailer
ae7747f2b7
Merge pull request #5352 from ErwinRussel/refactoring
...
Code refactoring notebook.js
2020-05-18 15:42:48 -07:00
Zachary Sailer
3ec00ad2ad
Merge pull request #5372 from kevin-bates/cull-terminals
...
Add ability to cull terminals and track last activity
2020-05-18 15:41:48 -07:00
Kevin Bates
9d80001f83
Rename parent to nb_app
2020-05-18 12:49:01 -07:00
Kevin Bates
84b7b854b6
Apply review comments, revert interval validation, bump terminado to 0.8.3
2020-05-18 11:46:23 -07:00
Kevin Bates
2064957a84
Add basic terminal manager tests
2020-05-17 23:20:24 -07:00
Afshin Taylor Darian
e9ce1b7461
Merge pull request #5107 from manics/toolbar-button-help-tooltip
...
Toolbar buttons tooltip: show help instead of label
2020-05-17 22:30:51 +01:00
Simon Li
5d47947675
Toolbar buttons tooltip: fallback to label as tooltip, set aria-label
2020-05-17 22:07:31 +01:00
Steven Silvester
038b2c0c4c
remove unnecessary import of requests_unixsocket ( #5451 )
2020-05-16 04:30:06 -05:00
Kevin Bates
d2d50f127a
Add env variable support for port options ( #5221 )
...
* Add env variable support for port options
In order to better support use cases relating to containerized environments,
this change adds environment variable support for the `--port` option. Since
anyone setting a specific port probably doesn't want port retry logic enabled,
the `--port-retries` option has also been backed by an env.
Option `--port` will be backed by env `JUPYTER_PORT` and still defaults to `8888`.
Option `--port-retries` will be backed by env `JUPYTER_PORT_RETRIES` and still
defaults to `50`.
The CLI options will override those set via the envrionment, but environment
values override those set via configuration files.
Closes #5212
* Fixup after merge
2020-05-16 03:44:39 -05:00
Simon Li
d7f86ef6d3
Toolbar buttons tooltip: show help instead of label
2020-05-16 03:23:42 +01:00
Kevin Bates
cd9b1a874b
Add cull_interval validate, rename method - per review
2020-05-15 16:09:30 -07:00
Kevin Bates
e06a55ea51
Merge branch 'master' into cull-terminals
2020-05-15 15:41:00 -07:00
Zachary Sailer
cbfc4dae91
Merge pull request #5351 from berendjan/download_multiple_files
...
tree added download multiple files
2020-05-15 10:15:32 -07:00
Steven Silvester
ebd2b5701c
Merge pull request #5198 from bzinberg/zeros-crash
...
Update CodeMirror dependency
2020-05-15 11:56:59 -05:00
Steven Silvester
b69f22a1b1
Merge pull request #4835 from kwlzn/kwlzn/notebook_unix_socket
...
Add UNIX socket support to notebook server.
2020-05-15 11:49:40 -05:00
Kris Wilson
dcc8874daa
Feedback: remove socket on stop.
2020-05-13 02:07:00 -07:00
Kris Wilson
5aa6e0dfd5
Feedback: add socket usage check on bind and test.
2020-05-13 01:53:28 -07:00
Kris Wilson
02cd1fa8a0
Traitlets type handling fixup.
2020-05-13 00:34:23 -07:00
Kris Wilson
1af8283afa
Feedback: validate sock-mode.
2020-05-13 00:01:52 -07:00
Kris Wilson
ee509ad2d9
Feedback: Demote log level on --open_browser and --sock.
2020-05-12 22:12:20 -07:00
Luciano Resende
0090315f6e
Merge pull request #5433 from blink1073/release-instructions
...
Add release instructions
2020-05-11 07:47:32 -07:00
Steven Silvester
87201a5339
Consolidate release notes into RELEASE.md
2020-05-10 02:17:45 -05:00
Steven Silvester
b561e734fc
Add release instructions
...
cleanup
Add more instructions
formatting
cleanup
formatting
2020-05-09 05:52:21 -05:00
Kevin Bates
e577b6c40c
Merge pull request #5354 from berendjan/Added_NL_language
...
Added nl language
2020-05-07 15:42:30 -07:00
Berend-Jan Lange
42bc3f7c4b
updated terminado sentence
...
q
2020-05-07 15:15:22 +02:00
Berend-Jan Lange
30bbf1af80
updated with toonijn's comments 2
2020-05-06 20:42:42 +02:00
Kevin Bates
a291f31cfe
Merge pull request #5425 from pinarkavak/log-notebook-type
...
Logged notebook type
2020-05-06 08:49:54 -07:00
Pinar Kavak
8c063c2a61
Added notebook name to the logs
2020-05-06 07:57:24 -07:00
Berend-Jan Lange
41f9f615df
updated with toonijn's comments
2020-05-05 22:18:48 +02:00
Kevin Bates
b4a2ad990a
Merge pull request #5222 from kinow/patch-2
...
Update message about minimum Tornado version
2020-05-05 09:11:03 -07:00
Kevin Bates
df887b2edf
Check for invalid characters prior to rename ( #5193 )
...
* Check for invalid characters prior to rename
On Windows platforms, rename operations containing ':' are problematic
since the operation succeeds, but creates an unintended "alternate data
stream" that gives the user the impression their file contents have been
deleted. This change performs cursory validation of the destination
name on platforms in which issues can occur. Currently, non-Windows
systems don't require this level of validation.
Fixes #5190
* Apply changes per review comments
2020-05-05 08:54:26 -07:00
Kevin Bates
ec5131cf3f
Merge pull request #5406 from jpcastil/master
...
Integrated LoginWidget into edit to enable users to logout from the t…
2020-05-05 00:01:55 -07:00
Kevin Bates
d8e8e00fd5
Merge pull request #5411 from ThewBear/patch-1
...
Update Markdown Cells example to HTML5 video tag
2020-04-29 10:11:41 -07:00
Thew Dhanat
1e7d764cfa
Update Markdown Cells example to HTML5 video tag
2020-04-29 19:01:32 +07:00
Kris Wilson
1a5eed8678
Make integration test conditional for CI compatibility.
2020-04-29 00:22:36 -07:00
Kris Wilson
3e28cfd603
Feedback: improve test coverage.
2020-04-29 00:06:55 -07:00
Kris Wilson
8d9b8c6f06
Cleanup.
2020-04-28 23:56:47 -07:00
Kris Wilson
bbf6c77227
Feedback: umask -> mode.
2020-04-28 23:55:50 -07:00