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
Min RK
1eb970074b
fix save-script deprecation
...
when updating to traitlets API, required argument was omitted
9 years ago
Thomas Kluyver
6b0d542ea9
Unify last activity calculation
9 years ago
Min RK
1deb0aec16
tornado 5: PeriodicCallback loop arg will be removed ( #3034 )
...
* tornado 5: PeriodicCallback loop arg will be removed
PCs are always run with the current eventloop,
which is what the explicitly passed loop always is for us already
* Don't double-close socket & stream
closing stream closes the socket
* remove now-inaccurate comment
9 years ago
edida
5ede4c1243
Fix broken links ( #3042 )
...
* Typo fix
* Fix broken links
* Fix typo
* Fix broken links and Fix typo
9 years ago
Thomas Kluyver
bfe012e507
Merge pull request #2910 from mheilman/cull_idle_timeout_minimum
...
change cull_idle_timeout_minimum to 1 from 300
9 years ago
Thomas Kluyver
059c2b77fc
Switch to jupyter_core implementation of ensure_dir_exists
...
Closes gh-2858
Requires jupyter_core 4.4.0, which I just released.
9 years ago
Thomas Kluyver
9ec57bfdf5
Config option to shut down server after N seconds with no kernels
9 years ago
Thomas Kluyver
c888b6a7b9
Merge pull request #2949 from blink1073/fix-compound-extension
...
Handle a compound extension in new_untitled
9 years ago
Michael Heilman
b31194dfe3
removed extraneous cull_idle_timeout_minimum
9 years ago
Steven Silvester
7e71c000b0
Rename variable
9 years ago
Steven Silvester
e1533d5398
Clean up logic
9 years ago
Steven Silvester
e95cd6d820
More logic cleanup
9 years ago
Steven Silvester
915146ab3f
Clean up logic
9 years ago
Min RK
aa461d9e06
Merge pull request #1968 from takluyver/delete-to-trash
...
Send files to OS trash mechanism on delete
9 years ago
Thomas Kluyver
8a159500f7
Merge pull request #2916 from minrk/allow-disable-buffering
...
allow disabling offline message buffering
9 years ago
Steven Silvester
f5fa0c180e
Handle a compound extension in new_untitled
9 years ago
M Pacer
b0205c4b78
cleanup swagger API docs
9 years ago
Michael Heilman
f8ef573592
added warning about culling kernels with poor network connections
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
e4186c47c0
allow disabling offline message buffering
...
escape hatch if the new buffering is causing anyone trouble
9 years ago
Michael Heilman
241c7e162c
change cull_idle_timeout_minimum to 1 from 500
9 years ago
Kyle Kelley
43a97807fc
buffer messages when websocket connection is interrupted ( #2871 )
...
* provide some top level comments
* implement buffering of messages on last dropped connection
- buffer is per-kernel
- session_key is stored because only a single session can resume the buffer and we can't be sure
- on any new connection to a kernel, buffer is flushed.
If session_key matches, it is replayed.
Otherwise, it is discarded.
- buffer is an unbounded list for now
* restore actual zmq channels when resuming connection
rather than establishing new connections
fixes failure to resume shell channel
* hookup restart callbacks in open
instead of in `create_stream`, which is not called on reconnect
* improve handling of restored connections in js
- dismiss 'connection lost' dialog on reconnect
- set busy status on reconnect (if not busy, idle will come soon after via kernel_ready)
9 years ago
Min RK
962c5ccd80
stop using `@json_handlers`
9 years ago
Thomas Kluyver
3115f0602f
deprecated name warn() -> warning()
9 years ago
Thomas Kluyver
1e511c5ebf
Catch OSError when getting file mtime & ctime
...
Closes gh-2757
9 years ago
madhu
2208917c05
fix(notebook): Allow notebooks to be trusted without triggering
...
a save. Closes #195
9 years ago
Thomas Kluyver
1849b80287
Merge branch 'master' into delete-to-trash
9 years ago
Thomas Kluyver
66049ea15e
Merge pull request #2670 from minrk/xsrf-csp-report-again
...
typo in skip_check_origin
9 years ago
Min RK
4e37ebfb47
typo in skip_check_origin
...
method was ignored because it had the wrong name
9 years ago
Grant Nestor
5192d72c63
Merge pull request #2656 from agermanidis/master
...
Use StaticFileHandler when files are local
9 years ago
Min RK
70865579a5
Don’t check XSRF token on CSP reports
...
browsers send these requests, we can’t add xsrf tokens to them.
9 years ago
Anastasis Germanidis
a82a510199
Use static file handler when files are local
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
c17eb4ce8e
Handle invalid file timestamps
...
Closes gh-2539
9 years ago
dhirschf
295294e876
Fix `test_bad_symlink` to conform to the new api
9 years ago
dhirschf
1975bf830f
Addressed review comments
9 years ago
dhirschf
6bb89b717a
Workaround for Windows Containers
...
On Windows `os.stat` treats host mapped volumes as broken symlinks
9 years ago
Min RK
1e18e050a5
Merge pull request #2498 from parente/cull-busy-connected
...
Add cull_busy, cull_connected options
9 years ago
Peter Parente
c8ba55da21
Do not cull connected kernels by default
9 years ago
Peter Parente
85ba2bdabd
Fix help for cull_connected and cull_busy
9 years ago
Thomas Kluyver
576c3d9f9a
Add /api/shutdown handler
9 years ago
Peter Parente
d9b4c99180
Do not cull kernels doing work by default
9 years ago
Peter Parente
1550a04848
Add cull_busy, cull_connected options
...
Additional logic to support culling or skipping kernels that are busy or
that have connections.
9 years ago
Thomas Kluyver
5af43fbae1
Fix test not to expect notebooks sorted
...
PR gh-2281 removed the sorting step from the server. This can result in
non-deterministic test failures, because the test checked against a
list.
9 years ago
Min RK
122cbf6785
typo in log command
...
don't wrap format-arguments in a tuple
9 years ago
Min RK
f4d2c246d5
use dedicated Session for activity monitor
...
instead of re-using kernel.session, which can cause hash collisions if other objects use `kernel.session`.
9 years ago
Min RK
6ef2e425c2
Merge pull request #2281 from delftswa2017/remove-duplicate-sort
...
Remove redundant sort from back-end
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
8d6460a4b3
Merge pull request #2215 from kevin-bates/cull-idle-kernels
...
Cull idle kernels
9 years ago