Commit Graph

10229 Commits

Author SHA1 Message Date
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.
2017-05-13 15:59:13 +01:00
0x0L
96d5d96385 Update fontawesome to latest version
see https://github.com/jupyter/notebook/issues/2289
2017-05-12 21:03:24 +02:00
Min RK
a49397bf98 expose passthrough for WebSocketHandler.get_compression_options
adds `NotebookApp.websocket_compression_options` configurable,
with a default of None (no compression)
2017-05-11 21:31:14 +02:00
Matthias Bussonnier
c50b47af12 Merge pull request #2477 from takluyver/i2476
Avoid double-encoding item path for view button
2017-05-07 19:36:38 -07:00
Matthias Bussonnier
d350377cc2 Merge pull request #2478 from takluyver/i2475
Catch trying to rename to an empty filename
2017-05-07 19:36:19 -07:00
Grant Nestor
c43d258aa2 Update list of editable extensions 2017-05-06 10:19:59 -07:00
Grant Nestor
6871dc81db Use is_viewable vs. is_not_safe 2017-05-06 10:19:49 -07:00
Grant Nestor
9d839d5052 Fix text baseline alignment in save widget 2017-05-04 14:31:49 -07:00
Thomas Kluyver
0d124e054e Catch trying to rename to an empty filename
Act as if the OK button is diabled.

Closes gh-2475
2017-05-04 12:43:12 +01:00
Thomas Kluyver
1d7e6007ba Avoid double-encoding item path for view button
Closes gh-2476
2017-05-04 12:34:52 +01:00
Eric Perry
113ccd0134 Open terminal tab using a hash rather than undefined for IE compatibility. 2017-05-03 13:23:13 -04:00
Min RK
94a0b8fd27 Merge pull request #2471 from takluyver/safer-sys-info
Make sys_info more robust
2017-05-03 15:45:49 +02:00
Thomas Kluyver
83e1a23ce3 Catch errors calling git for commit ID
Closes gh-2468
2017-05-03 13:06:58 +01:00
Thomas Kluyver
7454e8c954 Don't use shell when getting git commit ID 2017-05-03 13:04:21 +01:00
Thomas Kluyver
a051f24e0d Don't call sys_info() at import time 2017-05-03 13:00:13 +01:00
Thomas Kluyver
8a1ece4577 Merge pull request #2465 from minrk/log-typo
typo in log command
2017-05-02 14:56:30 +01:00
Min RK
122cbf6785 typo in log command
don't wrap format-arguments in a tuple
2017-05-02 11:04:18 +02:00
Thomas Kluyver
4f4ff3141c Merge pull request #2454 from minrk/stdin-can-be-none
sys.stdin can be None
2017-04-28 13:45:22 +01:00
Min RK
5a4b968e3b sys.stdin can be None
in which case we can't check if it's a tty or read from it
2017-04-28 12:41:47 +02:00
Matthias Bussonnier
57b3cb73b8 Merge pull request #2452 from gnestor/issue-1254
Use different favicons for different components (notebook, terminal, file)
2017-04-27 18:41:28 -07:00
Grant Nestor
3e01e128f5 Use animated favicon for kernel busy indicator 2017-04-27 13:31:30 -07:00
Grant Nestor
5f3dbf9890 Use different favicons for different components (notebook, terminal, file) 2017-04-27 13:31:08 -07:00
Grant Nestor
63bca42067 Open all files with /files path except for .html and .svg` 2017-04-27 11:17:55 -07:00
Kyle Kelley
7b5c42d21c Merge pull request #2448 from gnestor/issue-1129
Fix save widget layout for long notebook titles
2017-04-27 09:48:33 -07:00
Thomas Kluyver
cdeeda62d7 Merge pull request #2447 from bgruening/patch-1
wording fix
2017-04-27 11:55:04 +01:00
Grant Nestor
74ea5ebd12 Fix save widget layout for long notebook titles 2017-04-26 18:17:12 -07:00
Björn Grüning
89fe391543 wording fix 2017-04-26 21:08:30 +02:00
Kyle Kelley
469b1c84be Merge pull request #2402 from gnestor/utf-8
Specify `charset=UTF-8` when serving non-base64 files
2017-04-26 11:48:33 -07:00
Matthias Bussonnier
7dac0a2bac Merge pull request #2433 from takluyver/toolbar-btn-label
Allow toolbar buttons to have short label
2017-04-25 10:07:34 -07:00
Min RK
521f43f0bf Merge pull request #2430 from minrk/never-abs-urls
fix some absolute URL paths
2017-04-24 17:27:52 +02:00
Thomas Kluyver
e1ba0075f6 Merge pull request #2431 from acrule/paste-enable-action-link
Redirect paste menu items to call actions
2017-04-24 10:56:59 +01:00
acrule
e928e21704 fix typo in action name 2017-04-21 10:33:38 -07:00
acrule
487d3ecb09 redirect paste menu items to call paste actions, not notebook paste functions 2017-04-21 10:22:25 -07:00
Thomas Kluyver
af244a63b8 Allow toolbar buttons to have short label
I've wanted this for ages - little monochrome icons can only convey so
much information. So far, I've only added a label to the run button.
2017-04-21 14:49:21 +01:00
Grant Nestor
9e5ba0ccbe Update test 2017-04-20 11:31:14 -07:00
Min RK
61439f8ffb fix some absolute URLs
absolute URLs should never occur in the javascript
2017-04-19 17:00:41 +02:00
Min RK
eaeb5cb410 remove some outdated, incorrect $.getScript examples 2017-04-19 16:57:03 +02:00
Thomas Kluyver
b93820bf4c Merge pull request #2419 from minrk/notebook-stop
minor cleanup in 'jupyter notebook stop'
2017-04-19 15:49:17 +01:00
Thomas Kluyver
e5a492dd25 Merge pull request #2418 from minrk/remember-edit-extensions
editor: remember user language choices per file extension
2017-04-19 15:43:56 +01:00
Min RK
9e84fe332c test notebook stop 2017-04-19 16:27:51 +02:00
Min RK
97f4913c16 only set codemirror mode if it exists 2017-04-19 15:18:14 +02:00
Thomas Kluyver
6eb0d15a16 Merge pull request #2420 from minrk/utils.ajax
accept jquery's ajax({url: '...'}) signature
2017-04-19 13:36:51 +01:00
Min RK
76c6617b28 delete settings.url when pulling it out 2017-04-19 14:05:50 +02:00
Thomas Kluyver
28d5454d37 Merge pull request #2421 from minrk/allow-root-after-super
check allow_root after calling super
2017-04-19 12:57:18 +01:00
Kyle Kelley
691f101b7d Merge pull request #2424 from minrk/stop-draft76
stop using old websocket implementation in tests
2017-04-18 07:45:06 -07:00
Min RK
31219f0447 stop using Allow76
since we are using phantomjs 2, we don't need the old websocket implementation anymore

which is broken with tornado 4.5, anyway
2017-04-18 15:40:12 +02:00
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.
2017-04-18 13:52:00 +02:00
Min RK
25c4ff33e4 accept jquery's ajax({url: '...'}) signature
to ease extensions updating from `$.ajax` to `utils.ajax`
2017-04-18 13:25:54 +02:00
Min RK
0d200ce9ab minor cleanup in 'jupyter notebook stop' 2017-04-18 11:40:12 +02:00
Min RK
a2f6a8c3bb editor: remember user language choices per file extension
When the language is selected manually, record the file extension and choice in config
so that future files opened with the same extension use the same mode.

This allows users to teach the editor about file extensions CodeMirror doesn't know about.
2017-04-18 11:02:42 +02:00