M Pacer
2fac7003e2
changed all python variables named file to file_name to not override built_in file
9 years ago
Vidar Tonaas Fauske
f6de61d34e
Fix some broken links and permanent redirects
9 years ago
Min RK
86092a1d10
use add_callback_from_signal
9 years ago
Min RK
f8a6e1c5b7
Merge pull request #2792 from takluyver/mathjax-callback-err
...
Attempt to fix mysterious mathjax callback error
9 years ago
cebolan
31f888e6ae
Fix documentation on keyboard shortcuts
...
closes #2801
9 years ago
Miro Hrončok
6e1ac76423
Have _ defined in notebook.transutils
...
Import it in conf.py (docs)
Fixes https://github.com/jupyter/notebook/issues/2798
9 years ago
Thomas Kluyver
379c359fa1
Log failure to load notebook at error level
9 years ago
Thomas Kluyver
41062f87b3
Ensure AMSmath is loaded before calling resetEquationNumbers method
9 years ago
Thomas Kluyver
04c5aec072
Catch errors from queueing Mathjax resetEquationNumbers call.
9 years ago
Thomas Kluyver
e3df23656e
Prevent uploading file twice
...
Closes gh-2773
9 years ago
Thomas Kluyver
20cac8236d
URL escape file path in iframe view handler
...
Closes gh-2775
9 years ago
Grant Nestor
2136007923
release 5.1.0rc1
9 years ago
Thomas Kluyver
3115f0602f
deprecated name warn() -> warning()
9 years ago
Thomas Kluyver
1e511c5ebf
Catch OSError when getting file mtime & ctime
...
Closes gh-2757
9 years ago
Min RK
d6a534ec5b
use RFC5987 encoding for filenames
...
as described in RFC 6266 describing Content-Disposition
9 years ago
Grant Nestor
64ed6e439c
Don't url escape filenames on download
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
Min RK
90004b9032
schedule IOLoop.stop on the main thread
...
loop.stop() will not be safe from a thread in tornado 5
There has never been a guarantee to this effect,
but it has happened to be true so far.
The result is that the stop event will not fire until the next loop iteration (e.g. triggered by an HTTP request).
Using add_callback ensures that the main thread wakes and handles the stop event.
cf tornado#2119
9 years ago
Grant Nestor
62bc68c585
Make "extraKeys" consistent for notebook and editor
9 years ago
Grant Nestor
4424b0e46a
Switch back to "default" keycap
9 years ago
Grant Nestor
e36bafd164
Set "sublime" to default keymap for editor
9 years ago
Thomas Kluyver
835bbd132c
Set CodeMirror mode using mimetype, not mode name
...
One mode definition file can contain different modes, e.g. clike includes C, C++,
C#, Java, and a few others. We need to use the mime type to distinguish which one
we want.
Closes gh-2737
9 years ago
Grant Nestor
b099303a96
release 5.1.0rc1
9 years ago
Vidar Tonaas Fauske
9249ae25e1
Add buffers argument to CommManager.new_comm
9 years ago
Vidar Tonaas Fauske
05c1f6feb8
Add buffers argument to comm open/close
9 years ago
Min RK
da2d54f73e
Merge pull request #2718 from Madhu94/trust_without_save
...
Allow notebooks to be trusted without triggering a save
9 years ago
Thomas Kluyver
2884afc3cb
Describe the --py flag for uninstall command
9 years ago
Thomas Kluyver
d992f42421
Fix description for disable command
9 years ago
Thomas Kluyver
add7c44d51
Uninstall an nbextension from the first location it is found
...
Closes gh-2725 (see discussion on that PR)
9 years ago
madhu
2208917c05
fix(notebook): Allow notebooks to be trusted without triggering
...
a save. Closes #195
9 years ago
Thomas Kluyver
823e447293
Merge pull request #2534 from gnestor/issue-2151
...
Enforce right-alignment for cell in markdown tables
9 years ago
Grant Nestor
4ac086d477
Remove commented out old code
9 years ago
Thomas Kluyver
e37b6976c8
Add promise for notebook_loaded.Notebook event
9 years ago
Grant Nestor
8644a15a6b
Prevent marked from returning inline styles for table cells
9 years ago
samarsultan
28fcc7bffd
update notebooklist.js
9 years ago
samarsultan
048befc311
update savewidget.js
9 years ago
samarsultan
c4385ebcb3
removing setUserPreference function
9 years ago
samarsultan
142b74b019
updating bidi and numericshaping files
9 years ago
samarsultan
3e0c87d12a
tuning code style
9 years ago
Thomas Kluyver
9f5926ec14
Merge pull request #2710 from takluyver/initialized_promise
...
Add a promise for app_initialized event.
9 years ago
Min RK
1812469a7c
update custom.js docs with promises
9 years ago
Min RK
18c20d1355
Merge pull request #2706 from gabyx/master
...
Bug Fix: use the nbconvert.exporters.base instead of deprecated expor…
9 years ago
Thomas Kluyver
96d87c5792
Add a promise for app_initialized event.
...
See gh-2499
9 years ago
Matthias Bussonnier
decb30d8b0
Merge pull request #2681 from gnestor/fix-prompt-overlay
...
Fix hidden prompt overlay button
9 years ago
Gabriel Nuetzi
507509cdfb
Bug Fix: use the nbconvert.exporters.base instead of deprecated exporter_map
9 years ago
Josh Barnes
79c5fb5ac9
add separate flag for NbserverListApp json list output
9 years ago
Josh Barnes
e49fb8bcec
Ensure NbserverListApp produces valid json even for multiple/no servers
9 years ago
samarsultan
57da7fa019
Resolving Conflicts
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
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
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
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
Grant Nestor
4532b14808
Reset the target cell's undo history after merge_cells
9 years ago
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