Min RK
fe86b65183
json_errors should be outermost decorator on API handlers
...
in order to apply to 403 raised by web.authenticated
10 years ago
Min RK
8d7e430b89
Allow websocket connections from scripts
...
scripts don't set origin on connection
we allow these connections on API requests, websockets should match.
10 years ago
Kyle Kelley
6df840e19d
Merge pull request #1879 from minrk/display_data_update
...
support routing updating outputs with display_id
10 years ago
Kyle Kelley
389b0b0730
Merge pull request #1831 from minrk/server-token
...
enable token-authentication by default
10 years ago
Min RK
c0a6e41038
support display_id in execute_result
...
make update_display handling clearer and separate from regular display_data
10 years ago
Kyle Kelley
bdee765dd3
Merge pull request #1896 from gnestor/mime-json-suffix
...
Accept JSON output data with mime type "application/*+json"
10 years ago
Grant Nestor
8e0de400ae
Accept JSON output data with mime type "application/*+json"
10 years ago
Steven Silvester
781066a40e
Update handler and test
10 years ago
Steven Silvester
8f5a67ad6d
Allow kernelspecs to have spaces in them for backward compat
10 years ago
Thomas Kluyver
78dc8a8c7a
Fix extending range selection down to markdown cell
...
The 'moveanchor' argument was not getting passed down to the parent
class' select() method.
Closes gh-1589
10 years ago
Thomas Kluyver
89c6f9e631
Merge pull request #1838 from yuvipanda/xterm-2.0.1
...
terminal: Bump xterm.js to 2.0.1
10 years ago
YuviPanda
ae5f345d35
Remove deprecated xterm.js constructor params
10 years ago
Jim Kitchen
c5a784a982
Fix bug when attempting to remove old nbserver info files
...
When list_running_servers find an old nbserver-xxxx.json info file, it attempts to delete it. It needs to use the full path rather than the filename. An exception was being raised, but the error was suppressed silently.
10 years ago
Min RK
bff750397c
clarify some variable names
10 years ago
Min RK
0c90391f8a
handle display-updates as updates
10 years ago
Min RK
4439a19d24
test display_id handling
10 years ago
Min RK
a7a30c3bde
fix handling of display_id repeats in a single output area
10 years ago
Min RK
5b2279c192
support repeat displays with id
10 years ago
Min RK
f82f2568f5
Support update_display
10 years ago
John Detlefs
ab8decfd40
Add terminals info to notebook api
10 years ago
Thomas Kluyver
ee4b9ce598
Allow None for post_save_hook
...
See gh-1868
10 years ago
Matthias Bussonnier
606b7377ae
Merge pull request #1866 from gnestor/register-mime-type
...
Add a `register_mime_type` method to OutputArea
10 years ago
Ryan Morshead
15a37c9ba7
fix for default value changes in ipython/traitlets/pull/332
10 years ago
Matthias Bussonnier
64d996f820
Merge pull request #1855 from minrk/rate-limit
...
iopub rate limit refinements
10 years ago
Matthias Bussonnier
8d666c603f
Merge pull request #1863 from Carreau/rtl-action-toggle
...
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Matthias Bussonnier
a1c6e8fc86
Merge pull request #1865 from minrk/clear-editable-deletable
...
don't store default editable/deletable metadata
10 years ago
Grant Nestor
4cf93c8c57
Add a `register_mime_type` method to OutputArea
10 years ago
Min RK
b058209984
strip default metadata in Cell.toJSON
...
avoids saving redundant default info in files
10 years ago
Min RK
61afdb7432
don't set default editable/deletable metadata
...
it fills notebooks with redundant flags
these should only be set if defined and not-default
10 years ago
Matthias Bussonnier
04a431a77e
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Thomas Kluyver
2e14975d1f
Merge pull request #1861 from minrk/notebook-mime-type
...
fix notebook mime-type on download links
10 years ago
Min RK
8daac20e22
set notebook mime-type on download links
...
notebooks are not application/json, they are application/x-ipynb+json.
This fixes Safari adding the JSON extension to notebooks on download.
10 years ago
Matthias Bussonnier
a68f3c0aef
Merge pull request #1858 from gnestor/table-hover
...
Add hover styles to HTML table row
10 years ago
Grant Nestor
795e267aab
Add hover styles to HTML table row
10 years ago
Min RK
3be8697b48
iopub rate limit refinements
...
- reset counter on status: idle (avoids Run All running into limits)
- fix rate measurements to exclude messages not sent due to rate limiting
- fix formatting of rate-exceeded messages, tweak text a bit
- after pausing output, don't resume sending until rate has dropped 20% below limit, to avoid rapid back & forth across the limit
10 years ago
Thomas Kluyver
1de0423448
Improve performance of directory listing
...
- stat() the file once and reuse the result to save on syscalls. Not as
good as using scandir(), but should still help.
- Don't re-check if parent directories are hidden for each file in the
directory.
Could do with testing on Windows.
10 years ago
Min RK
0f05b2bf26
display_id comes from transient dict, not top-level
10 years ago
Min RK
30d3406f54
allow updating display_data messages in-place using display_id
10 years ago
Kyle Kelley
2456687a12
Merge pull request #1826 from minrk/cell-clears-callbacks
...
don’t clear callbacks for cell output until next execute
10 years ago
Min RK
dde1a77ef1
Merge pull request #1846 from gnestor/iopub-rate-limit
...
Set finite rate limits for iopub
10 years ago
Grant Nestor
d97000f8b1
Set finite rate limits for iopub
10 years ago
Min RK
5d5d063746
Look for token in Authorization header
...
matches JupyterHub, Kernel Gateway
10 years ago
Min RK
bf249669e1
call it token
...
login_token is redundant
10 years ago
Min RK
5a6d7556af
allow entering login token at password prompt
10 years ago
Min RK
cd3c6c1b8a
use one-time token for opening browser
...
first connection consumes the token, so command-line snoops can’t re-use it.
10 years ago
Min RK
3ba68d8cb7
enable token-authentication by default
...
- add NotebookApp.login_token, used when NotebookApp.password is not set
- store login_token, bool(password) in notebook server-info file
- `jupyter notebook list` shows pasteable URLs with token
General changes:
- notebook servers are now authenticated by default
- first connect with token sets a cookie
- once a user has logged into one server with a token, their browser is logged in to
all subsequent servers on the same system+port until cookie_secret changes
10 years ago
Min RK
6c5cca1328
Make login_available method LoginHandler.get_login_available
...
There was a conflict for the .login_available property on LoginHandler itself
causing the login form to render incorrectly when login_available should be False
10 years ago
Thomas Kluyver
cb88603ff1
Merge pull request #1837 from gnestor/busy-favicon
...
Change favicon when busy
10 years ago
Grant Nestor
b5cff95619
Don't change title when busy
10 years ago
Grant Nestor
e832689923
Change favicon when busy
10 years ago
Grant Nestor
d2a6221c23
Fix: Carriage symbol should behave like in console
10 years ago
Min RK
1c930b1b9c
don’t clear callbacks for cell output until next execute
...
adds callbacks.clear_on_done bool flag for kernel callbacks.
Default: true (current behavior)
Setting to false means that the caller is taking responsibility for clearing callbacks.
Use this in cells to only clear callbacks on the next execution, for better handling of async output.
10 years ago
Thomas Kluyver
f8f53ee805
Merge pull request #1807 from minrk/set-dirty-output
...
set dirty flag when output arrives
10 years ago
Min RK
22b3efb39d
set dirty flag when output arrives
...
and when the prompt changes
we were previously only setting dirty when execution finishes, leaving dirty=false during many changes until the output is complete
10 years ago
Min RK
92d3f4235d
Merge pull request #1359 from blink1073/generic-session
...
Update the session api in preparation for file and console sessions
10 years ago
Matthias Bussonnier
558ed9a6db
Merge pull request #1769 from gnestor/persist-header-toggle
...
Persist header and toolbar toggle status in nbconfig
10 years ago
Ashish Dahiya
c38c476df8
Create ws_url from wsUrl attribute. If wsUrl is not found, fallback to location.host
10 years ago
Ashish Dahiya
67215cf8a7
Set ws-url data attribute to access notebook terminal via a specific base URL for websockets
10 years ago
Matthias Bussonnier
bf14fc16d4
Merge pull request #1798 from minrk/extension-aliases
...
Add base aliases for nbextensions apps
10 years ago
Matthias Bussonnier
26471897ef
Define SimpleNamespace on python 2
10 years ago
Matthias Bussonnier
5210701803
Add test for predictable extension loading.
10 years ago
Min RK
b398d005ad
Add base aliases for nbextensions apps
...
Includes `--log-level` alias that was missing from install/enable applications
10 years ago
Min RK
3617c5d9b8
Merge pull request #1783 from gnestor/remove-duplicate-dependencies
...
Remove duplicate dependencies in bower
10 years ago
Matthias Bussonnier
111e41f521
Merge pull request #1776 from gnestor/html-table-styles
...
Update table styles to be consistent with JupyterLab
10 years ago
spoorthyv
6a3260b435
Updated Jupyter Logos
10 years ago
Grant Nestor
bdbfd37b24
Remove `moment` script tags
10 years ago
Matthias Bussonnier
dd4b052403
Merge pull request #1482 from yuvipanda/readonly-cells
...
Respect 'editable' cell metadata
10 years ago
Grant Nestor
6c1fe1f947
Move toggle logic from property setters in to actions
10 years ago
Grant Nestor
a0fd16cc6f
`border-width: 1px`
10 years ago
Grant Nestor
d411f0ac43
Update table styles to be consistent with JupyterLab
10 years ago
Grant Nestor
c656fc0846
Access config via `ConfigWithDefaults` vs. `ConfigSection`
...
Move toggle logic to `notebook.js` vs. `actions.js` to be consistent
with `notebook.line_numbers`
10 years ago
Grant Nestor
61eec926fe
Check header and toolbar toggle status after nbconfig loads
10 years ago
Grant Nestor
11d56a23e8
Define `header` and `toolbar` properties for notebook
...
If `notebook.header` or `notebook.toolbar` are `false`, hide them on
load
10 years ago
Thomas Kluyver
179bb24fbf
Merge pull request #1728 from minrk/appveyor
...
[WIP] add appveyor.yml to start running tests on Windows
10 years ago
Min RK
0b7435b474
add one missing skip_win32 in nbextension symlink tests
...
all the other symlink tests are already skipped
10 years ago
Min RK
f96feb5e8b
fix os.path.samefile backport on py2 + Windows
...
os.path.samefile is available everywhere but Windows + py2.
Backporting the py3 implementation doesn't work because
`os.stat` on Windows py2 returns 0 for st_ino and st_dev,
which will always be equal.
In this case, use case-insensitive path comparison, plus full-stat comparison (times included).
10 years ago
Thomas Kluyver
83785e3533
Merge pull request #1763 from gnestor/@-operator-codemirror
...
Include `@` operator in Codemirror ipython mode
10 years ago
Grant Nestor
568ba574b0
Merge pull request #1739 from minrk/terminal-logout
...
enable logout button on terminal page
10 years ago
Grant Nestor
fcb0be27f9
Include `@` operator in Codemirror ipython mode
10 years ago
Min RK
03af493062
put NotebookNotary signature db in memory for tests
...
avoids cleanup issues on Windows
10 years ago
Min RK
f3ed84e679
Windows-compat: os.sep instead of hardcode /
10 years ago
Min RK
9195ffd273
Merge pull request #1760 from gnestor/root-breadcrumb
...
Use folder icon vs. home icon for root breadcrumb
10 years ago
Grant Nestor
4c3e9964dd
Merge pull request #1757 from minrk/markdown-load
...
Fix markdown mode loading
10 years ago
Grant Nestor
767942ccf4
Upgrade cell's `editable` and `deletable` metadata if not defined
10 years ago
Grant Nestor
540886963b
Use folder icon vs. home icon for root breadcrumb
10 years ago
Yuvi Panda
e0bcb7deb4
Merge pull request #1759 from gnestor/terminal-style
...
Fix terminal styles
Fixes #1724
10 years ago
Grant Nestor
ec35079b06
Fix terminal width style bug
10 years ago
Min RK
460d3027ce
merge TextCell options_default into MarkdownCell, RawCell
10 years ago
Min RK
f1fc424b19
add async workaround for slow load of ipythongfm definition
...
if ipythongfm is defined after notebook is loaded, re-load it in all cells that are using it.
10 years ago
Min RK
d52e1e2419
Restore loading of options_default in text cells
...
fixes omitted codemirror config due to ignoring options_default.
load options_default via config defaults (modifying options_default at runtime has no effect).
10 years ago
Min RK
0e5047e75d
allow returning full class config data, merged with defaults
...
and merge object config values with defaults (e.g. Cell.cm_config)
10 years ago
Min RK
dfea6b47df
enable logout button on terminal page
10 years ago
Sylvain Corlay
27c7aaa434
Remove ununsed private API
10 years ago
Sylvain Corlay
0e8b8b67d2
Separate common classes for server and notebook extensions
10 years ago
Thomas Kluyver
b3f02b26b8
Merge pull request #1735 from juhasch/fix/mathjax_url_doc
...
Extend mathjax_url docstring
10 years ago
Jürgen Hasch
3fbce02806
Extend mathjax_url docstring
10 years ago
Thomas Kluyver
23ca9602c2
Merge pull request #1727 from minrk/ipython-doc-links
...
fix outdated links to ipython-doc
10 years ago
Min RK
58b4a59fce
Merge pull request #1709 from superbobry/patch-4
...
Fixed a bug in 'ConfigWithDefaults.get_sync'
10 years ago
Min RK
4bdc954212
fix outdated links to ipython-doc
10 years ago
Thomas Kluyver
a958c08a73
Merge pull request #1718 from parente/fix-windows-bundler-tools
...
Fix bundler tool failures on Windows
10 years ago