Kevin Bates
e67c331a4e
Add shim to mathjaxutils.js
5 years ago
Kevin Bates
57db70979b
Merge pull request #5928 from mishaschwartz/persist-cell-id
...
Ensure that cell ids persist after save
5 years ago
Kevin Bates
8d0af52125
Adjust skip decorators to avoid remaining dependency on nose ( #5932 )
5 years ago
mishaschwartz
a5d7528994
cell copy: make sure that cell id is not copied when copying cell
5 years ago
mishaschwartz
b070efc32c
cell data: make sure that the cell id (from nbformat 4.5) is kept when saving notebooks
5 years ago
Dvoiak Stepan
d95f251ac6
Update notebook/gateway/managers.py
...
Co-authored-by: Kevin Bates <kbates4@gmail.com>
5 years ago
sd
cd102428ca
traitlets Int for gateway_retry_max parameter
5 years ago
sd
ba0f490c94
mirrored logic from https://github.com/jupyter/nb2kg/pull/45 to notebook/gateway
5 years ago
Kevin Bates
16727777f5
Merge pull request #5894 from stefanor/trashpermissionerror
...
Handle TrashPermissionError, now that it exists
5 years ago
user202729
3cc628e3fe
Fix typo
5 years ago
Zsailer
fb5deeed23
Back to dev version
5 years ago
Zsailer
e39ccb9188
Release 6.1.6
5 years ago
Zachary Sailer
63450082ea
Merge pull request #5875 from kevin-bates/kernel-list-race-condition
...
Fix race condition with async kernel management
5 years ago
Kevin Bates
24bf3a5a73
Merge pull request #5898 from minrk/allow_origin_wildcard
...
handle allow_origin='*' in check_referer
5 years ago
Min RK
5abcbd3e9f
Merge pull request #5908 from SylvainCorlay/nudge-kernel
...
ensure iopub subscriptions propagate prior to accepting websocket connections
5 years ago
Min RK
672f0a6e20
nudge: handle failure cases
...
- connect iopub first (tiny effect on the race!)
- docstrings, log details
- resolve immediately if kernel is busy, rather than setting up timeouts, futures
- use gen.with_timeout instead of separately managed timeout
- use gen.multi to wait for both futures instead of duplicated check in each handler, third Future
- add various cancel conditions (sockets closed, kernel stopped, etc.)
5 years ago
Sylvain Corlay
94678545db
Use transient shell channel, and do not nudge busy kernels
5 years ago
Min RK
f716328d90
relax busy/idle ordering on reconnect
...
nudge can leak idle messages, so it could be busy->idle, or idle->busy->idle.
The important thing is that we get at least one idle message
5 years ago
Sylvain Corlay
b4f5f6b4d4
Log nudge attempt count at warning-level if it keeps going up
...
Co-authored-by: Min RK <benjaminrk@gmail.com>
5 years ago
Sylvain Corlay
2c87813ef4
Add counter for nudge attempts
5 years ago
Sylvain Corlay
9770ef7760
Review: open is not a coroutine
5 years ago
Daisuke Taniwaki
caab6baeca
Fix typo
5 years ago
Min RK
067c3993f2
handle allow_origin='*' in check_referrer
...
allow_origin can be the wildcard '*' to allow any host
check_referer should match check_origin
5 years ago
Sylvain Corlay
7a3ae6e4a4
Nudge kernel with info request until we receive IOPub messages
5 years ago
Nicholas Bollweg
73c9ac1b2c
do not apply asyncio patch for tornado >=6.1
5 years ago
Stefano Rivera
7bcc824873
Handle send2trash failure in test_delete_non_empty_dir
...
If the test working directory isn't trashable, we expect to not be able
to delete the non-empty directory.
5 years ago
Stefano Rivera
6a46458f1f
Check for TrashPermissionError rather than guess
...
_check_trash() was added (in #3304 ) because TrashPermissionError didn't
exist, yet.
Now that it does, we can use it, and stop guessing what will cause a
permission problem.
Closes : #3374
5 years ago
mofanke
af72fa1cc7
Update handlers.py
...
Remove or correct this useless self-assignment
5 years ago
Min RK
e8459d97eb
Release 6.1.5
5 years ago
Min RK
1abd95130c
Validate redirect target in TrailingSlashHandler
...
Fixes open redirect vulnerability GHSA-c7vm-f5p4-8fqh
5 years ago
Kevin Bates
ed0c640898
Fix race condition with async kernel management
5 years ago
YuviPanda
c0ab18a534
Allow toggling auth for prometheus metrics
...
Equivalent to https://github.com/jupyterhub/jupyterhub/pull/2224
Prometheus metrics can potentially leak information about
the user, so they should be kept behind auth by default.
However, for many JupyterHub deployments, they would need
to be scraped by a centralized Prometheus instance that can not
really authenticate separately to each user notebook without
a lot of work. Admins can use this setting to allow unauthenticated
access to the /metrics endpoint.
5 years ago
Kevin Bates
cd7a06ce88
Merge pull request #5845 from bollwyvl/add-wasm-mime
...
Add wasm mimetype override
6 years ago
Nicholas Bollweg
c508af3cff
add wasm mimetype
6 years ago
Kevin Bates
c893b59a9b
Restore ctrl-enter shortcut for mac users
6 years ago
pgajdos
30a716fb85
remove redundant print statements
6 years ago
pgajdos
ec3c3dd89e
fix one more function
6 years ago
pgajdos
1c3dbcc6bf
do not use nose for testing
6 years ago
Kevin Bates
639da8d813
Add separate handler for /terminals/new
6 years ago
Kevin Bates
84ba421e86
Create auto-named terminals via /terminals/new
6 years ago
Kevin Bates
7778dc3202
Allow for redundant accesses of same endpoint
6 years ago
Kevin Bates
ac50d2e530
Add support for creating terminals via GET
6 years ago
Kevin Bates
1550410229
Merge pull request #5799 from mriedem/5798-json-logging
...
Add support for JSON formatted logs
6 years ago
Kevin Bates
545dbab070
Merge pull request #5807 from rahulporuri/cln/remove-dead-code
...
Remove code for unsupported python versions
6 years ago
Kevin Bates
18e4834b12
Merge pull request #5806 from rahulporuri/cln/update-super-usage
...
Update super usage
6 years ago
Matt Riedemann
67ad5a1c06
Merge remote-tracking branch 'origin/master' into 5798-json-logging
6 years ago
Kevin Bates
158cc007e8
Merge pull request #5805 from rahulporuri/cln/remove-unnecessary-future-imports
...
Remove unnecessary future imports
6 years ago
Matt Riedemann
6a883e0a1c
Fix NotebookAppJSONLoggingTests.test_log_json_enabled
...
The intent of the test is to make sure that log_json defaults
to True when JUPYTER_ENABLE_JSON_LOGGING is set to "true" so
this makes the test more explicit and to pass when json-logging
is not installed so that does not interfere due to validation.
6 years ago
Matt Riedemann
4ee4bb24f9
Use unittest assertion methods for improved logging
6 years ago
Matt Riedemann
08f8ccd1f8
Add log_json=True test for log_request
...
Basic test just to make sure log_request handles log_json=True
properly.
6 years ago