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
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
Thomas Kluyver
869fe78611
Merge pull request #2601 from gnestor/upgrade-deps
...
Upgrade bower dependencies
2017-07-03 18:10:58 +01:00
Thomas Kluyver
937f0ff266
Merge pull request #2618 from rolweber/issue_2565
...
Capitalization of 'Edit cell Attachments' dialog title
2017-07-03 12:19:13 +01:00
Thomas Kluyver
ec43b45dd5
Merge pull request #2612 from minrk/double-pre
...
remove redundant pre tags in markdown examples
2017-07-03 11:51:16 +01:00
Thomas Kluyver
4542a514e8
More specific check for missing body data
...
Closes gh-2611
2017-07-03 11:42:17 +01:00
Thomas Kluyver
f623092b90
Log how many kernels need shutting down
2017-07-03 11:14:51 +01:00
Roland Weber
342ea2650e
fixes #2565 - capitalization of 'Edit cell Attachments' dialog
2017-06-29 14:39:53 +02:00
Min RK
d4e7095614
Merge pull request #2615 from mpacer/docs_nbformat_v4
...
Remove references to header cells
2017-06-28 22:57:20 +01:00
M Pacer
9e9432a7b9
Remove references to heading cells and 'best practices' that better fit the existence of heading cells
2017-06-28 13:41:41 -07:00
Min RK
24835421b4
remove redundant pre tags
...
Some markdown examples were double-escaped (indent and pre tag),
causing incorrect rendering.
2017-06-28 13:58:58 +01:00
Min RK
6afc1e0e5d
Merge pull request #2574 from dhirschfeld/windows-containers
...
Workaround for Windows Containers
2017-06-27 15:54:35 +01:00