Grant Nestor
572cc37273
Fix hidden prompt overlay button
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
M Pacer
e2405cebe9
clear equation labels on typesetting so that labels don't block renders
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
Thomas Kluyver
f75eb99fa3
Merge pull request #2552 from minrk/safe-trigger
...
catch and log event errors on outputarea.element
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
Krista
d3b94fa5f4
added robots.txt
...
This commit fixes issue #1387 by adding a file `robots.txt`
that makes robots go away.
This commit is also similar to
316665e5d7
as it also adds the `favicon.ico`.
9 years ago
Ondrej
533aea11fd
Added padding around gray box of ` markdown
...
Added padding of 1px from top and bottom and 5px from left and right
around gray box of single ` markdown.
Signed-off-by: Ondrej <o.jariabka@gmail.com>
9 years ago
Ondrej
823e1f19d5
Changes single ` markdown highlighting
...
Changes highlighting of text surrounded by single ` in markdown cells by
adding gray background under the text. Highlighting should resemble the
stack-overflow highlighting.
Signed-off-by: Ondrej <o.jariabka@gmail.com>
9 years ago
Thomas Kluyver
31400855f8
Merge pull request #2549 from mscuthbert/nbval-exception-passing
...
allow raises-exception to continue
9 years ago
Michael Scott Cuthbert
4cfa7f65d5
Remove nbval version from code
9 years ago
Min RK
99e4adb928
bump protocol version to 5.2
...
for surrogate pairs fix
9 years ago
Min RK
ff5e64e431
no need to double-check second half of a surrogate pair
9 years ago
Min RK
dbb78b4167
protect against a beautiful future in which javascript handles unicode sensibly
...
We don't need to count surrogate pairs if js stops using them
9 years ago
Min RK
8b14a8d003
check more strictly for surrogate pairs
...
check both surrogates with strict bounds, not just the first, in case of weirdness.
9 years ago
Brian E. Granger
4d9809d659
Allow session of type other than notebook.
9 years ago
Matthias Bussonnier
4b8cc28b26
Merge pull request #2535 from gnestor/issue-2379
...
Remove keymaps that conflict with non-English keyboards
9 years ago
Min RK
bf3de7bd1c
5.1.0.dev
...
5.0.0 has been released
9 years ago
Min RK
fc6bca2c0f
catch and log event errors on outputarea.element
...
we already do this on global events,
but the new events on output_area.element were unsafe,
allowing extension code to prevent actions such as clear_output, etc. from completing.
9 years ago
Michael Scott Cuthbert
81be6c575a
allow raises-exception or nbval-raises-exception to continue
9 years ago
Grant Nestor
af0a7b52e6
Uncomment "toggleComment" keymaps
9 years ago
Grant Nestor
35a9ff7932
Merge branch 'master' into issue-2404
9 years ago
Grant Nestor
226492d1b1
All files are viewable by default, handle notebooks and html differently
9 years ago
Grant Nestor
5c0495d14e
Inspect mimetype in addition to file extension to determine if a file is editable/viewable
9 years ago
Thomas Kluyver
9cd249ef7f
Merge pull request #2532 from gnestor/issue-1129
...
Re: Adjust positioning of filename in save widget
9 years ago
Grant Nestor
6b267b8cd2
Remove keymaps that conflict with non-English keyboards
9 years ago
Grant Nestor
abba580536
Add more HTML-like variants
9 years ago
Grant Nestor
b51e5d59e7
Support "View" and "Edit" for a selection of multiple files
9 years ago
Grant Nestor
7cb2bae6a0
Always display "View" button and display "Edit" button for all editable files
9 years ago
Grant Nestor
f43ac2f928
Fix double url-encoding issue on view file
9 years ago
Grant Nestor
945a973da5
Clean up layout in #header-container
9 years ago
Grant Nestor
c309c8513f
Fix clipping on filename
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
Thomas Kluyver
f0e27a9eef
Merge pull request #2492 from minrk/websocket-compression-options
...
NotebookApp.websocket_compression_options config
9 years ago
Matthias Bussonnier
c9d399ace6
Merge pull request #2500 from takluyver/cmd-palette-emptytemplate-func
...
Use function to construct empty message in command palette
9 years ago
Peter Parente
85ba2bdabd
Fix help for cull_connected and cull_busy
9 years ago
Thomas Kluyver
8d1c94853c
Tweak formatting of 'no results' message
9 years ago
Min RK
2da75c37bd
handle surrogate pairs in tooltip cursor_pos
9 years ago
Min RK
a5e64e10b7
handle surrogate pairs
...
CodeMirror / javascript use utf16 code unit offsets,
but Jupyter protocol expects unicode *character* offsets,
so we need to translate back and forth.
9 years ago
Matthias Bussonnier
e04c210fbd
Merge pull request #2507 from takluyver/shutdown-handler
...
Add /api/shutdown handler
9 years ago
Thomas Kluyver
234c3b0ed1
Merge pull request #2501 from minrk/collapse-meta
...
don’t start output areas with collapsed metadata
9 years ago
Steve (Gadget) Barnes
19d23e2de7
Issue #2502 : Add line break after The Jupyter Notebook is running at: ( #2505 )
...
* Issue #2502 : Add line break after The Jupyter Notebook is running at:
* Revert "Issue #2502 : Add line break after The Jupyter Notebook is running at:"
This reverts commit 3aa65e712006f2726ea57476dd8923753a13e4ef.
* Issue #2502 : Reverted previous changes and redone without strip trailing spaces
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
Thomas Kluyver
560aa49884
Spelling correction
9 years ago
Min RK
8413ba9592
don’t start output areas collapsed
...
this sets metadata.collapsed = true metadata on cells with no output
causing churn in notebook files
9 years ago
Min RK
ccba3bd501
don’t start output areas collapsed
...
this sets metadata.collapsed = true metadata on cells with no output
causing churn in notebook files
9 years ago
Thomas Kluyver
6f05e770d8
Use function to construct empty message in command palette
...
This takes care of correctly escaping user input so it doesn't become
HTML.
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
a49397bf98
expose passthrough for WebSocketHandler.get_compression_options
...
adds `NotebookApp.websocket_compression_options` configurable,
with a default of None (no compression)
9 years ago
Matthias Bussonnier
c50b47af12
Merge pull request #2477 from takluyver/i2476
...
Avoid double-encoding item path for view button
9 years ago