Thomas Kluyver
447d79ffc0
Pass API path to get_os_path
9 years ago
Thomas Kluyver
2056b1ba6f
Give OS path to nbconvert if possible
9 years ago
Gabriel Nuetzi
f5e9e2ed41
added path to the resources metadata, the same as in from_filename(...)
...
in nbconvert/exporter.py
9 years ago
Gabriel Nuetzi
507509cdfb
Bug Fix: use the nbconvert.exporters.base instead of deprecated exporter_map
9 years ago
Kyle Kelley
3c62f3bc5d
Merge pull request #2702 from gnestor/image-gif
...
Add image/gif mimetype
9 years ago
Grant Nestor
d00617a064
Add image/gif mimetype
9 years ago
Grant Nestor
dbda33090f
Merge pull request #2677 from mpacer/mjax_labels
...
clear equation labels on typesetting so that labels don't stop equations from rendering
9 years ago
Grant Nestor
bbd2ac6112
Merge pull request #2691 from invisibleroads/patch-1
...
Restore flat edge of rendered html code block
9 years ago
Thomas Kluyver
63aa0df454
Merge pull request #2696 from gnestor/cm-keymaps
...
Add missing codemirror keymaps to keyboard shortcuts dialog
9 years ago
Roy Hyunjin Han
644a8aad8d
Add padding to inline code as requested by @gnestor
9 years ago
Grant Nestor
cf6d305d93
Merge pull request #2698 from takluyver/fuzz-check-last-modified
...
Allow 0.5 seconds difference in file timestamps before warning of conflicting change
9 years ago
Grant Nestor
97d1730bdc
Merge pull request #2699 from takluyver/i1976
...
Validate CodeMirror keyMap from frontend config
9 years ago
Grant Nestor
65598bf1f4
More consistency!
9 years ago
Thomas Kluyver
6d0ea0eef1
Merge pull request #2701 from gnestor/list-newline-style
...
Prevent extra newline between nested lists
9 years ago
Grant Nestor
502c074b2c
Prevent extra newline between nested lists
9 years ago
Grant Nestor
51fc7692aa
Clean up formatting
9 years ago
Grant Nestor
0552b3b1ab
Remove keymap for "esc"
9 years ago
Grant Nestor
1ae816517e
Consistent order for platform-specific keymaps
9 years ago
Kyle Kelley
f50ffae790
Merge pull request #2695 from gnestor/public-server-docs
...
Remove quotes around URL in tornado_settings example
9 years ago
Thomas Kluyver
bd84c5806e
Validate CodeMirror keyMap from frontend config
...
Closes gh-1976
9 years ago
Thomas Kluyver
fd34dd2052
Allow 0.5 seconds difference in file timestamps before warning of conflicting changes
...
See gh-484
9 years ago
Thomas Kluyver
8af8b0eb9b
Merge pull request #2692 from gnestor/terminal-header-flex
...
Fix terminal header flex box layout
9 years ago
Grant Nestor
b56e3b16df
Add missing codemirror keymaps to keyboard shortcuts dialog
9 years ago
Grant Nestor
f42ef1a5f5
Remove quotes around URL in tornado_settings example
9 years ago
Grant Nestor
5ae0113d9b
Merge pull request #2687 from takluyver/i2673
...
Only show busy favicon when execution lasts > 1s
9 years ago
Grant Nestor
135358e943
Fix terminal header flex box layout
9 years ago
Roy Hyunjin Han
9701f6b1cd
Revert 533aea11fd
...
The extra padding causes the first line of each markdown rendered code block to be indented, but does not indent the rest of the code block, resulting in a jagged left edge. Removing this bit of CSS restores a flat left edge.
You can verify this by trying to render the following:
abc
def
ghi
9 years ago
Grant Nestor
a9160356df
Merge pull request #2688 from jasongrout/jitter
...
Fix jitter caused by rounding height.
9 years ago
Kyle Kelley
937d06f0ca
Merge pull request #2689 from takluyver/application-mime-not-editable
...
Don't assume that application/ mime types are editable
9 years ago
Thomas Kluyver
5c66955fab
Smarter check for editable mimetypes
9 years ago
Thomas Kluyver
75f1b9ae26
Don't assume that application/ mime types are editable
...
The application media type includes many common binary files like
application/zip and application/pdf.
9 years ago
Jason Grout
b04db891f2
Fix jitter caused by rounding height.
9 years ago
Thomas Kluyver
5faa2ab9b5
Protect against no element with id=favicon
9 years ago
Thomas Kluyver
0bd5fe8759
Only show busy favicon when execution lasts > 1s
...
This avoids making lots of HTTP requests as we rapidly change the favicon
between the 'notebook' (idle) and 'busy' icons. Now it should be no more
than one per second in the most pathological case.
Closes gh-2673
9 years ago
Matthias Bussonnier
38b789a7d8
Merge pull request #2684 from gnestor/master
...
Reset the target cell's undo history after merge_cells
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
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