Grant Nestor
65598bf1f4
More consistency!
2017-07-27 09:02:47 -07:00
Grant Nestor
51fc7692aa
Clean up formatting
2017-07-27 08:08:24 -07:00
Grant Nestor
0552b3b1ab
Remove keymap for "esc"
2017-07-27 08:08:04 -07:00
Grant Nestor
1ae816517e
Consistent order for platform-specific keymaps
2017-07-27 08:07:45 -07:00
Grant Nestor
b56e3b16df
Add missing codemirror keymaps to keyboard shortcuts dialog
2017-07-26 14:56:32 -07:00
Grant Nestor
4532b14808
Reset the target cell's undo history after merge_cells
2017-07-25 12:12:17 -07:00
Grant Nestor
67b0723929
Merge pull request #2675 from takluyver/no-animated-favicon
...
Don't use animated favicon when kernel busy
2017-07-24 14:51:11 -07:00
Kyle Kelley
c64104257a
Merge pull request #2674 from minrk/csp-fixes
...
ensure "default-src 'none'" CSP is added to APIHandlers
2017-07-20 07:18:35 -07:00
Thomas Kluyver
5c6a1c8f78
Don't use animated favicon when kernel busy
...
Addresses part of gh-2673
Each set of the favicon causes a new HTTP request.
If we want an animated favicon, I think it's possible to use an animated
GIF. But I find animated favicons annoying, so I'd rather just get rid
of it entirely. Just because we can doesn't mean we should. ;-)
2017-07-20 14:56:06 +01:00
Min RK
c4a5dc04bf
Merge pull request #2666 from takluyver/i2094
...
Expose URL with auth token in notebook UI
2017-07-20 15:42:48 +02:00
Min RK
2a08debd18
Merge pull request #2672 from takluyver/logout-not-logged-in
...
Render the logout page without auth tokens
2017-07-20 15:42:21 +02:00
Min RK
0308dc78d9
ensure "default-src 'none'" CSP is added to APIHandlers
...
even if custom Content-Security-Policy header is applied,
which was previously setting the same value for both APIHandlers and page handlers
2017-07-20 15:35:00 +02:00
Thomas Kluyver
22e2a7720f
Render the logout page without auth tokens
...
The user is technically still logged in when the logout page is
produced, but this is not obvious to the user, and they may leave the
page open.
This ensures that it is rendered without information such as auth tokens
which should only be available to a logged-in user.
2017-07-20 13:32:39 +01:00
Thomas Kluyver
227704cda5
Merge pull request #2671 from minrk/dont-modify-headers
...
avoid modifying settings['headers'] in add_default_headers
2017-07-20 11:03:32 +01:00
Thomas Kluyver
66049ea15e
Merge pull request #2670 from minrk/xsrf-csp-report-again
...
typo in skip_check_origin
2017-07-20 10:58:24 +01:00
Thomas Kluyver
208e7c74a6
Only provide token link if token is set and user logged in
2017-07-20 10:40:42 +01:00
Min RK
f512880fcb
allow overriding csp report uri via tornado settings
2017-07-20 10:51:38 +02:00
Min RK
fb7ee6f348
avoid modifying settings['headers'] in add_default_headers
...
Use a copy to avoid writing content security policy into settings['headers'],
which can be a problem because APIHandlers have a stricter CSP than page handlers.
If an API request is made before the first page request, pages will fail to load due to CSP violations.
2017-07-20 10:43:42 +02:00
Min RK
4e37ebfb47
typo in skip_check_origin
...
method was ignored because it had the wrong name
2017-07-20 10:00:33 +02:00
Thomas Kluyver
ea2bfeda8f
Expose URL with auth token in notebook UI
...
This provides a crude way to copy the link from one browser (right click
the Jupyter logo) to get authenticated in another browser.
Closes gh-2094
2017-07-19 16:41:45 +01:00
Grant Nestor
5192d72c63
Merge pull request #2656 from agermanidis/master
...
Use StaticFileHandler when files are local
2017-07-19 08:34:59 -07:00
Anastasis Germanidis
95a53b775e
Fixed bug in get_content_type
2017-07-19 10:10:19 -04:00
Anastasis Germanidis
180bbe88f6
Cleaning up AuthenticatedFileHandler.get
2017-07-19 09:44:58 -04:00
Anastasis Germanidis
539c2f7521
Added charset handling on AuthenticatedFileHandler
2017-07-19 09:42:26 -04:00
Thomas Kluyver
bcd0a1c638
Merge pull request #2665 from adl1995/patch-2
...
Remove space before ? in prompt message
2017-07-19 12:34:08 +01:00
Adeel Ahmad
3195dc6d2c
Remove leading whitespace from prompt message
2017-07-19 16:07:24 +05:00
Thomas Kluyver
0f011768f6
Merge pull request #2663 from minrk/xsrf-csp-report
...
Don’t check XSRF token on CSP reports
2017-07-19 11:59:37 +01:00
Min RK
d738a71bbc
Merge pull request #2662 from iSmartie/patch-1
...
Type error in notebookapp.py
2017-07-19 11:30:21 +02:00
Min RK
70865579a5
Don’t check XSRF token on CSP reports
...
browsers send these requests, we can’t add xsrf tokens to them.
2017-07-19 11:23:18 +02:00
Jason GAO
df177b0d1b
Type error in notebookapp.py
...
"though ssh" should be "through ssh"
2017-07-19 16:01:47 +08:00
Anastasis Germanidis
a82a510199
Use static file handler when files are local
2017-07-16 20:18:39 -04:00
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.
2017-07-11 16:34:23 +02:00
Min RK
8fa09260b1
Merge pull request #2472 from ericjperry/fix/IE-terminal
...
Open terminal tab using a hash rather than undefined for IE compatibility.
2017-07-11 13:36:55 +02:00
Min RK
f707dde238
Merge pull request #2625 from takluyver/i2611
...
More specific check for missing body data
2017-07-11 10:51:32 +02:00
Min RK
80ca9e9926
Merge pull request #2628 from takluyver/rm-draft76
...
Remove old websocket draft76 protocol.
2017-07-11 10:50:43 +02:00
Min RK
cbdf9d0f77
Merge pull request #2540 from takluyver/i2539
...
Handle invalid file timestamps
2017-07-11 10:50:01 +02:00
Min RK
12c952de91
Merge pull request #2641 from takluyver/sort-notebook-list
...
Improvements to sorting file list
2017-07-11 10:42:22 +02:00
Thomas Kluyver
d12a42e31e
Merge pull request #2643 from cancan101/patch-1
...
Upgrade xterm.js to newly released 2.8.1
2017-07-11 09:21:23 +02:00
Alex Rothberg
5fd70d5a58
Upgrade xterm.js to newly released 2.8.1
2017-07-08 15:05:40 -04:00
Thomas Kluyver
7dc6b26c9f
When switching sort field, use ascending sort
2017-07-07 11:20:58 +01:00
Thomas Kluyver
a7e10e9303
Improvements to sorting notebook list
...
Closes gh-1218
Closes gh-1942
2017-07-07 11:10:51 +01:00
Thomas Kluyver
971e425c72
Merge pull request #2629 from takluyver/fix-modified-column
...
Fix last-modified column of notebook list
2017-07-06 18:46:00 +01:00
Thomas Kluyver
9873c93d23
Merge pull request #2638 from cancan101/patch-1
...
Upgrade xterm.js to newly released 2.8.0
2017-07-06 18:42:36 +01:00
Alex Rothberg
09f0e7b40a
Upgrade xterm.js to newly released 2.8.0
2017-07-06 13:07:10 -04:00
Thomas Kluyver
0ba6cd70d5
Merge pull request #2624 from takluyver/shutdown-how-many
...
Log how many kernels need shutting down
2017-07-04 13:17:18 +01:00
Thomas Kluyver
a2ac7967aa
Merge pull request #2630 from vidartf/fix-tags-nowrap
...
Cell tags UI: Ensure close button does not wrap
2017-07-04 13:16:54 +01:00
Vidar Tonaas Fauske
c77b2b76c7
Cell tags UI: Ensure close button does not wrap
...
Add CSS styling to prevent close button from line-wrapping inside the
cell tag elements.
2017-07-04 13:16:27 +02:00
Thomas Kluyver
624158f851
Fix last-modified column of notebook list
...
This was showing 'seconds ago' for every file, because it was looking
for the nonexistant 'modified' field. The correct name is 'last_modified'.
I'm not sure how long this has been broken.
2017-07-04 10:58:21 +01:00
Thomas Kluyver
724bdd1570
Remove old websocket draft76 protocol.
...
Support for this older protocol should no longer be needed with
Phantom JS 2.
Closes gh-2250
2017-07-04 10:40:51 +01:00
Thomas Kluyver
c17eb4ce8e
Handle invalid file timestamps
...
Closes gh-2539
2017-07-03 18:17:07 +01:00