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
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
Min RK
3d7c9b51a6
only consider stream outputs for data-rate limit
9 years ago
Min RK
2e52d15522
add missing `@default` decorator on checkpoints_class
...
this is not strictly required,
as default generators are no longer deprecated,
but it'st still a good idea
9 years ago
Min RK
15341ac758
Revert "only consider stream output for data rate limit"
9 years ago
Min RK
59c9df1b89
show current rate limit values in rate limit messages
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
Ajaya Adhikari
7d4d7daca3
Remove redundant sort from back-end
9 years ago
adimitrova
02cc130166
changed to pass python 2 tests too
9 years ago
adimitrova
47bbd07733
updated decodestring
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
2125922db3
Set default `root_dir` for ContentsManager
9 years ago
Kaushik Chaubal
7cd59275ea
add a dialog for large file size warning + simplify chunking logic
9 years ago
Kaushik Chaubal
7d4965abc0
fix of uploading large files crashes the browser #96 + adding unit tests
9 years ago
Kevin Bates
ff19c4cd7c
enforce minimum timeout, ensure exceptions don't prevent culling of others
9 years ago
Kevin Bates
c3f753faf8
incorporate review recommendations
9 years ago
Kevin Bates
2f787088d5
Validate culling interval.
9 years ago
Kevin Bates
4000838321
Cull idle kernels after specified period
9 years ago
Min RK
236198571b
test dirs are paths, not TempDir objects
9 years ago
Min RK
dc873f1290
use self.request in status test
9 years ago
Min RK
2a5f8d2e17
add token auth to kernel websocket test
9 years ago
Min RK
75a0d71c28
give the server a second to notice that the websocket closed
...
because travis is slow
9 years ago
Min RK
32a353378a
track REST API activity
...
add /api/status endpoint for retrieving current status
includes
- started: start time of the server
- last_activity: latest activity across all endpoints
- connections: number of current connections
- kernels: number of current kernels
9 years ago
Min RK
8b76de80be
move tz utils to top-level private module ._tz
9 years ago
Min RK
bec396304b
add connections to sessions API tests
9 years ago
Min RK
9f55a857f3
use Z isoformat in UTC timestamps
...
instead of +00:00
9 years ago
Min RK
d45cb2ad80
track active kernel connections
9 years ago