Thomas Kluyver
8cddc00a25
Merge pull request #3063 from bacboc/feature
...
Fix broken link
9 years ago
bacboc
7e054a7b69
Fix some broken link
9 years ago
Min RK
a2f72da17f
Merge pull request #2963 from takluyver/shutdown-no-kernels
...
Config option to shut down server after N seconds with no kernels
9 years ago
Thomas Kluyver
6b0d542ea9
Unify last activity calculation
9 years ago
Thomas Kluyver
74fbc5b578
Merge pull request #3008 from Carreau/autopawd
...
When login-in via token, let a chance for user to set the password
9 years ago
Matthias Bussonnier
a8971410c1
Add option disabled changing password at login.
...
Document the changing of password.
9 years ago
Matthias Bussonnier
4329e13f6f
Hash cookie secret with user hashed password.
...
Currently changing the password does not revoke current session:
- jupyter notebook password <password1>
- jupyter notebook
- Logging in
- Kill server
- jupyter notebook password <other password>
- jupyter notebook
- Oh ! I'm still logged in.
With this, as the "effective" secret depends on the (hashed) password,
changing it void any existing session (which I believe is the goal of
most password change)
9 years ago
Thomas Kluyver
c71483ce1e
Consider terminals and API activity for shutdown timeout
9 years ago
Thomas Kluyver
7248772f72
Update test for 'jupyter notebook stop'
9 years ago
Thomas Kluyver
c894b45fb6
Send HTTP shutdown request on 'stop' subcommand
...
Signals don't work on Windows. This tries the HTTP shutdown request first.
On Unix, it will try SIGTERM after 5 seconds, and SIGKILL after another 5, if the
server didn't already exit.
Closes gh-2937
9 years ago
Thomas Kluyver
9ec57bfdf5
Config option to shut down server after N seconds with no kernels
9 years ago
Thomas Kluyver
dd8b695aec
Merge pull request #2917 from minrk/fix-auth-file-handler
...
register contents_manager.files_handler_class directly
9 years ago
Min RK
a69ddb6655
register contents_manager.files_handler_class directly
...
rather than trying to call one handler from another,
which is unreliable and can cause misbehavior.
9 years ago
Min RK
91469d2672
allow setting token via JUPYTER_TOKEN env
...
more convenient for certain deployments than CLI arguments
9 years ago
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