Commit Graph

11770 Commits

Author SHA1 Message Date
Zachary Sailer
ed5e9d6d0e
Merge pull request #5316 from berendjan/reduce_duplication
Another (Minor) Duplicate Code Reduction
2020-06-03 08:21:32 -07:00
Matthias Geier
5aba3b824c
MathJax: Support for \gdef (#4407)
Backport of https://github.com/jupyterlab/jupyterlab/pull/5997
2020-06-03 05:25:59 -05:00
Aman Bansal
45d9f38d36
Alignment issue fixed (#3173) 2020-06-03 05:21:54 -05:00
Ben Thayer
cf5cb64c32
Implemented Split Cell for multicursor (#4824)
* Added multicursor cell splitting

* Empty cells are ok, fixed cursor equality check
2020-06-03 05:14:42 -05:00
Ben Thayer
d406b8c6a3
Fixed multicursor backspacing (#4880) 2020-06-03 05:13:34 -05:00
Mohammad Mostafa Farzan
6b83c9b4c5
unforce rtl output display (#5039) 2020-06-03 05:07:17 -05:00
Mohammad Mostafa Farzan
2ac0ff3d97
add codemirror-rtl to rtl markdown cells (#5037) 2020-06-03 05:06:32 -05:00
Mohammad Mostafa Farzan
80fc3c8c48
add support for all RTL languages (#5036) 2020-06-03 05:05:31 -05:00
John
de2f3f724d
remove old JS markdown tests, add a new one in selenium (#5497)
* remove old JS tests, which are already converted to pytest
add test for a markdown heading

* Update markdown.js

remove old test [skip ci]

* remove debug statement

[skip ci]
2020-06-03 05:01:46 -05:00
Kevin Bates
db90cf3331 Bump minimum version of jQuery to 3.5.0
Resolves #5489
2020-05-29 10:31:57 -07:00
Kyle Kelley
6308e979aa
Merge pull request #2922 from takluyver/run-cell-play
'Play' icon for run-cell toolbar button
2020-05-28 09:51:35 -07:00
Kevin Bates
b44fc3b01d
Merge pull request #5484 from lucabem/master
Added functionality to allow filter kernels by Jupyter Enterprise Gat…
2020-05-27 10:46:39 -07:00
lucabem
266e2978e9 Changed _get_endpoint_for_user_filter to static and used in constructor class instead of each class method 2020-05-27 18:56:30 +02:00
lucabem
f5322fc387 Added functionality to allow filter kernels by Jupyter Enterprise Gateway using KERNEL_USERNAME env var 2020-05-27 12:27:18 +02:00
Kevin Bates
6e9256b064
Culling: ensure last_activity attr exists before use (#5355)
KernelManager's last_activity attribute is added following the instance's
creation.  Culling (independently) uses this attribute and should ensure
it exists prior to its use, else skip the culling check for that instance.

Fixes #5345
2020-05-25 04:48:42 -05:00
Kevin Bates
4da22cef44
Restore detection of missing terminado package (#5465)
* Restore detection of missing terminado package

* Properly handle terminals_enabled config

* Disambiguate terminado availability from web settings

* Further clarity on terminal availability

* Rename terminals_in_use back to terminals_available
2020-05-25 04:47:03 -05:00
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