Thomas Kluyver
3543f79254
Merge pull request #2752 from minrk/schedule-stop-callback
...
schedule IOLoop.stop on the main thread
9 years ago
Min RK
b2bd0ff702
missing add_callback_from_signal
9 years ago
M Pacer
2fac7003e2
changed all python variables named file to file_name to not override built_in file
9 years ago
Min RK
86092a1d10
use add_callback_from_signal
9 years ago
Miro Hrončok
6e1ac76423
Have _ defined in notebook.transutils
...
Import it in conf.py (docs)
Fixes https://github.com/jupyter/notebook/issues/2798
9 years ago
Min RK
90004b9032
schedule IOLoop.stop on the main thread
...
loop.stop() will not be safe from a thread in tornado 5
There has never been a guarantee to this effect,
but it has happened to be true so far.
The result is that the stop event will not fire until the next loop iteration (e.g. triggered by an HTTP request).
Using add_callback ensures that the main thread wakes and handles the stop event.
cf tornado#2119
9 years ago
Josh Barnes
79c5fb5ac9
add separate flag for NbserverListApp json list output
9 years ago
Josh Barnes
e49fb8bcec
Ensure NbserverListApp produces valid json even for multiple/no servers
9 years ago
Jason GAO
df177b0d1b
Type error in notebookapp.py
...
"though ssh" should be "through ssh"
9 years ago
John Emmons
f81fb46ff6
Preliminary i18n implementation as outlined in JEP 16 ( #2140 )
...
setting up internationalization for log and UI messages
See i18n README for details
Squashed to resolve CRLF, tab-indent issues.
9 years ago
Thomas Kluyver
f623092b90
Log how many kernels need shutting down
9 years ago
Thomas Kluyver
f0e27a9eef
Merge pull request #2492 from minrk/websocket-compression-options
...
NotebookApp.websocket_compression_options config
9 years ago
Matthias Bussonnier
e04c210fbd
Merge pull request #2507 from takluyver/shutdown-handler
...
Add /api/shutdown handler
9 years ago
Steve (Gadget) Barnes
19d23e2de7
Issue #2502 : Add line break after The Jupyter Notebook is running at: ( #2505 )
...
* Issue #2502 : Add line break after The Jupyter Notebook is running at:
* Revert "Issue #2502 : Add line break after The Jupyter Notebook is running at:"
This reverts commit 3aa65e712006f2726ea57476dd8923753a13e4ef.
* Issue #2502 : Reverted previous changes and redone without strip trailing spaces
9 years ago
Thomas Kluyver
576c3d9f9a
Add /api/shutdown handler
9 years ago
Min RK
a49397bf98
expose passthrough for WebSocketHandler.get_compression_options
...
adds `NotebookApp.websocket_compression_options` configurable,
with a default of None (no compression)
9 years ago
Min RK
5a4b968e3b
sys.stdin can be None
...
in which case we can't check if it's a tty or read from it
9 years ago
Thomas Kluyver
b93820bf4c
Merge pull request #2419 from minrk/notebook-stop
...
minor cleanup in 'jupyter notebook stop'
9 years ago
Min RK
9e84fe332c
test notebook stop
9 years ago
Min RK
b74003b8d5
check allow_root after calling super
...
super can dispatch to subcommands such as `list`, etc.
we only want to check root *at most* for starting the notebook server itself.
9 years ago
Min RK
0d200ce9ab
minor cleanup in 'jupyter notebook stop'
9 years ago
Thomas Kluyver
d00b7e3e17
Merge pull request #2388 from brookisme/notebook-stop
...
NbserverStopApp: stop notebooks through cli - jupyter notebook stop <…
9 years ago
Brookie Guzder-Williams
44df51ad60
always exit(1) if not server found. break up long list comprehension
9 years ago
Brookie Guzder-Williams
b2f63b4a9c
SIGTERM not SIGQUIT
9 years ago
Brookie Guzder-Williams
ed4de773c9
remove unused kill_cmd/signal prop
9 years ago
Brookie Guzder-Williams
277d000d54
dont cast to string
9 years ago
Brookie Guzder-Williams
8b20dcc918
exit if server not found
9 years ago
Brookie Guzder-Williams
b6ac73cbe1
use os.kill
9 years ago
Brookie Guzder-Williams
219c762f32
remove unused props
9 years ago
Min RK
c3f1207c64
fix add-trailing-slash login in base_url
...
both leading and trailing slash should be added
9 years ago
Brookie Guzder-Williams
cd3233ff4e
NbserverStopApp: stop notebooks through cli - jupyter notebook stop <PORT>
9 years ago
Thomas Kluyver
05979d9a4b
Merge pull request #2368 from minrk/stream-data-rate-boogaloo
...
only consider stream outputs for data-rate limit
9 years ago
Min RK
ee13349d2d
Merge pull request #2262 from wordofglass/new_browser_window
...
Add 'new_browser_window' config option
9 years ago
Min RK
3d7c9b51a6
only consider stream outputs for data-rate limit
9 years ago
Min RK
92900ed412
Remove ignored config_dir arg to config_manager
...
it's spelled wrong and ignored (with a DeprecationWarning from traitlets)
9 years ago
Min RK
15341ac758
Revert "only consider stream output for data rate limit"
9 years ago
Min RK
5da6eb6a41
only consider stream output for data rate limit
...
large stream outputs cause much more problems than image output
this does open up to large HTML and/or displayed text output,
but those seem to behave well more often than they don't.
9 years ago
Min RK
420715e3e5
Merge pull request #2234 from takluyver/i2204
...
Show server root directory in move dialog
9 years ago
Grant Nestor
32df89fd62
Set `server_root_dir` based on user directory path
9 years ago
wordofglass
f1253c460f
Directly expose the `webbrowser.open` new argument.
...
Suggested by minrk. Also, amend the corresponding documentation in
order to mention dependence on browser support.
9 years ago
Grant Nestor
96676c079c
Use `contents_manager.root_dir`
9 years ago
wordofglass
ff88ae072f
Add 'new_browser_window' config option
...
On startup, this optionally opens the notebook in a new browser window
instead of a new tab.
9 years ago
Kaushik Chaubal
7d4965abc0
fix of uploading large files crashes the browser #96 + adding unit tests
9 years ago
Thomas Kluyver
b2d048a85e
[WIP] Show server root directory in move dialog
9 years ago
Thomas Kluyver
6fbb39193a
Bump up tornado buffer sizes to allow saving large notebooks
...
Sort of addresses gh-650
9 years ago
Matthias Bussonnier
6b4ec572b5
Fix typos.
9 years ago
Min RK
fde1c6e26b
handle self.config_dir and self.config_file_name in server_extensions
...
could be important for subclasses
9 years ago
Min RK
ad01950c4f
Merge nbserver_extensions
...
Load with ConfigManager so that merge happens recursively,
unlike normal config values.
Makes loading more consistent with frontend extensions,
but is a bit icky because the same files are loaded and read twice,
and one key in a traitlets-defined config file is loaded differently than all others.
This does behave more like we intend and people expect for extensions, though.
9 years ago
Thomas Kluyver
0ed0af50b7
Remove hardcoded widgets check
...
Once this is merged, the notebook will only support ipywidgets>=5.0. The
minimum supported ipywidgets (5.0.0) was released in April 2016.
Closes gh-1960
9 years ago
Thomas Kluyver
39b756bf34
Merge pull request #1905 from gnestor/pr/1755
...
Adds edit and view buttons
9 years ago