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
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
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