Grant Nestor
135358e943
Fix terminal header flex box layout
9 years ago
Grant Nestor
4532b14808
Reset the target cell's undo history after merge_cells
9 years ago
Grant Nestor
67b0723929
Merge pull request #2675 from takluyver/no-animated-favicon
...
Don't use animated favicon when kernel busy
9 years ago
Kyle Kelley
c64104257a
Merge pull request #2674 from minrk/csp-fixes
...
ensure "default-src 'none'" CSP is added to APIHandlers
9 years ago
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. ;-)
9 years ago
Min RK
c4a5dc04bf
Merge pull request #2666 from takluyver/i2094
...
Expose URL with auth token in notebook UI
9 years ago
Min RK
2a08debd18
Merge pull request #2672 from takluyver/logout-not-logged-in
...
Render the logout page without auth tokens
9 years ago
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
9 years ago
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.
9 years ago
Thomas Kluyver
227704cda5
Merge pull request #2671 from minrk/dont-modify-headers
...
avoid modifying settings['headers'] in add_default_headers
9 years ago
Thomas Kluyver
66049ea15e
Merge pull request #2670 from minrk/xsrf-csp-report-again
...
typo in skip_check_origin
9 years ago
Thomas Kluyver
208e7c74a6
Only provide token link if token is set and user logged in
9 years ago
Min RK
f512880fcb
allow overriding csp report uri via tornado settings
9 years ago
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.
9 years ago
Min RK
4e37ebfb47
typo in skip_check_origin
...
method was ignored because it had the wrong name
9 years ago
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
9 years ago
Grant Nestor
5192d72c63
Merge pull request #2656 from agermanidis/master
...
Use StaticFileHandler when files are local
9 years ago
Anastasis Germanidis
95a53b775e
Fixed bug in get_content_type
9 years ago
Anastasis Germanidis
180bbe88f6
Cleaning up AuthenticatedFileHandler.get
9 years ago
Anastasis Germanidis
539c2f7521
Added charset handling on AuthenticatedFileHandler
9 years ago
Adeel Ahmad
3195dc6d2c
Remove leading whitespace from prompt message
9 years ago
Thomas Kluyver
0f011768f6
Merge pull request #2663 from minrk/xsrf-csp-report
...
Don’t check XSRF token on CSP reports
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
Jason GAO
df177b0d1b
Type error in notebookapp.py
...
"though ssh" should be "through ssh"
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
Min RK
8fa09260b1
Merge pull request #2472 from ericjperry/fix/IE-terminal
...
Open terminal tab using a hash rather than undefined for IE compatibility.
9 years ago
Min RK
f707dde238
Merge pull request #2625 from takluyver/i2611
...
More specific check for missing body data
9 years ago
Min RK
80ca9e9926
Merge pull request #2628 from takluyver/rm-draft76
...
Remove old websocket draft76 protocol.
9 years ago
Min RK
cbdf9d0f77
Merge pull request #2540 from takluyver/i2539
...
Handle invalid file timestamps
9 years ago
Thomas Kluyver
7dc6b26c9f
When switching sort field, use ascending sort
9 years ago
Thomas Kluyver
a7e10e9303
Improvements to sorting notebook list
...
Closes gh-1218
Closes gh-1942
9 years ago
Thomas Kluyver
971e425c72
Merge pull request #2629 from takluyver/fix-modified-column
...
Fix last-modified column of notebook list
9 years ago
Thomas Kluyver
0ba6cd70d5
Merge pull request #2624 from takluyver/shutdown-how-many
...
Log how many kernels need shutting down
9 years ago
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.
9 years ago
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.
9 years ago
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
9 years ago
Thomas Kluyver
c17eb4ce8e
Handle invalid file timestamps
...
Closes gh-2539
9 years ago
Thomas Kluyver
4542a514e8
More specific check for missing body data
...
Closes gh-2611
9 years ago
Thomas Kluyver
f623092b90
Log how many kernels need shutting down
9 years ago
Roland Weber
342ea2650e
fixes #2565 - capitalization of 'Edit cell Attachments' dialog
9 years ago
Min RK
6afc1e0e5d
Merge pull request #2574 from dhirschfeld/windows-containers
...
Workaround for Windows Containers
9 years ago
dhirschf
295294e876
Fix `test_bad_symlink` to conform to the new api
9 years ago
Kyle Kelley
31608ba0e4
Merge pull request #2592 from takluyver/favicon-id
...
Add id=favicon in templates
9 years ago
Thomas Kluyver
b4c4ed06e9
Merge pull request #2589 from gnestor/fix-header-flex
...
Fix logo alignment on dashboard
9 years ago
Grant Nestor
2aba171332
Insert flex-box spacer in tree view header
9 years ago
Thomas Kluyver
36b6c9e5d3
Add id=favicon in templates
...
The new dynamic favicon-changing code looks for an existing favicon in
the DOM with id 'favicon'. This uses that id in the templates, so we
don't end up with two favicon links in the page.
I was hoping that this would fix some issues I'm having with the favicon
getting stuck, but it doesn't seem to. :-(
9 years ago
Thomas Kluyver
ce5621737f
Merge pull request #2449 from gnestor/issue-2404
...
Open all files with `/files` path except for `.html` and .svg`
9 years ago
Grant Nestor
6a1f807b89
Open all editable files with `/edit` path
9 years ago
Grant Nestor
3db3e9783e
Fix logo alignment on dashboard
...
Fixes https://github.com/jupyter/notebook/issues/2575
9 years ago