Commit Graph

9631 Commits

Author SHA1 Message Date
Carol Willing
277ce51dbf Merge pull request #1874 from takluyver/comms-doc
Start documenting how to use Comms
2016-11-03 17:35:12 -07:00
Thomas Kluyver
5cdc8682d3 Start documenting how to use Comms
See gh-1869
2016-11-03 16:00:46 -07:00
Thomas Kluyver
ee4b9ce598 Allow None for post_save_hook
See gh-1868
2016-11-03 09:43:13 -07:00
Thomas Kluyver
c0928d856e Merge pull request #1870 from willingc/fix-badgeurl
Fix link for rtd badge
2016-11-02 21:52:02 -07:00
Carol Willing
b8d0616135 Fix link for rtd badge 2016-11-02 21:17:08 -07:00
Matthias Bussonnier
606b7377ae Merge pull request #1866 from gnestor/register-mime-type
Add a `register_mime_type` method to OutputArea
2016-11-02 13:20:18 -07:00
Thomas Kluyver
8073af5de4 Merge pull request #1868 from rmorshea/fix_for_traitlets
[WIP] fix for default value changes in ipython/traitlets/pull/332
2016-11-02 13:11:37 -07:00
Ryan Morshead
15a37c9ba7 fix for default value changes in ipython/traitlets/pull/332 2016-11-02 11:48:06 -07:00
Matthias Bussonnier
64d996f820 Merge pull request #1855 from minrk/rate-limit
iopub rate limit refinements
2016-11-02 11:24:37 -07:00
Matthias Bussonnier
8d666c603f Merge pull request #1863 from Carreau/rtl-action-toggle
Add a quick action to have the possibility to toggle rtl-layout.
2016-11-02 11:23:53 -07:00
Matthias Bussonnier
a1c6e8fc86 Merge pull request #1865 from minrk/clear-editable-deletable
don't store default editable/deletable metadata
2016-11-02 11:23:42 -07:00
Grant Nestor
4cf93c8c57 Add a register_mime_type method to OutputArea 2016-11-01 22:39:09 -07:00
Min RK
b058209984 strip default metadata in Cell.toJSON
avoids saving redundant default info in files
2016-11-01 22:39:10 +01:00
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
2016-11-01 22:34:01 +01:00
Matthias Bussonnier
04a431a77e Add a quick action to have the possibility to toggle rtl-layout. 2016-10-31 11:57:33 -07:00
Thomas Kluyver
2e14975d1f Merge pull request #1861 from minrk/notebook-mime-type
fix notebook mime-type on download links
2016-10-31 17:19:48 +00:00
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.
2016-10-31 15:56:16 +01:00
Matthias Bussonnier
a68f3c0aef Merge pull request #1858 from gnestor/table-hover
Add hover styles to HTML table row
2016-10-31 06:34:26 -07:00
Matthias Bussonnier
b16ba43521 Merge pull request #1854 from takluyver/dir-list-performance
Improve performance of directory listing
2016-10-31 06:20:20 -07:00
Grant Nestor
795e267aab Add hover styles to HTML table row 2016-10-28 07:26:23 -07:00
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
2016-10-27 14:00:19 +02:00
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.
2016-10-27 11:59:03 +01:00
Thomas Kluyver
715a6c02db Merge pull request #1851 from gnestor/docs-new-signature
Update security docs to reflect new signature system
2016-10-24 16:48:25 +01:00
Grant Nestor
d7e49806de Merge pull request #3 from takluyver/docs-new-signature
More updates to security doc
2016-10-24 07:39:16 -07:00
Thomas Kluyver
b5acf7bf1c More updates to security doc 2016-10-24 10:59:11 +01:00
Grant Nestor
40660e6102 Update security docs to reflect new signature system 2016-10-23 16:38:33 -07:00
Min RK
0f05b2bf26 display_id comes from transient dict, not top-level 2016-10-21 20:43:55 +02:00
Min RK
30d3406f54 allow updating display_data messages in-place using display_id 2016-10-21 20:38:48 +02:00
Kyle Kelley
2456687a12 Merge pull request #1826 from minrk/cell-clears-callbacks
don’t clear callbacks for cell output until next execute
2016-10-21 07:18:03 -07:00
Min RK
dde1a77ef1 Merge pull request #1846 from gnestor/iopub-rate-limit
Set finite rate limits for iopub
2016-10-20 01:45:54 +02:00
Grant Nestor
d97000f8b1 Set finite rate limits for iopub 2016-10-19 15:34:30 -07:00
Min RK
5d5d063746 Look for token in Authorization header
matches JupyterHub, Kernel Gateway
2016-10-18 16:58:30 +02:00
Min RK
bf249669e1 call it token
login_token is redundant
2016-10-18 16:48:42 +02:00
Min RK
5a6d7556af allow entering login token at password prompt 2016-10-18 14:28:04 +02:00
Min RK
cd3c6c1b8a use one-time token for opening browser
first connection consumes the token, so command-line snoops can’t re-use it.
2016-10-18 14:28:04 +02:00
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
2016-10-18 14:28:03 +02:00
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
2016-10-18 14:28:03 +02:00
Thomas Kluyver
cd60550413 Merge pull request #1842 from minrk/appveyor-stuff
install conda-4.1.12 on appveyor
2016-10-18 13:20:44 +01:00
Min RK
2e67531c11 install conda-4.1.12 on appveyor
fixes path too long issue

patch copied from conda-smithy PR
2016-10-18 14:04:59 +02:00
Thomas Kluyver
cb88603ff1 Merge pull request #1837 from gnestor/busy-favicon
Change favicon when busy
2016-10-18 11:59:37 +01:00
Grant Nestor
b5cff95619 Don't change title when busy 2016-10-17 16:55:34 -07:00
Matthias Bussonnier
a05fe51ee7 Merge pull request #1836 from gnestor/carriage-return
Fix: Carriage symbol should behave like in console
2016-10-17 15:43:56 -07:00
YuviPanda
bc0a758cf2 terminal: Bump xterm.js to 2.0.1
Primary fix is better copy / paste support

Release notes in https://github.com/sourcelair/xterm.js/releases/tag/2.0.1
2016-10-15 11:37:04 -07:00
Grant Nestor
e832689923 Change favicon when busy 2016-10-14 18:17:53 -07:00
Grant Nestor
d2a6221c23 Fix: Carriage symbol should behave like in console 2016-10-14 15:24:53 -07:00
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.
2016-10-11 11:54:50 +02:00
Thomas Kluyver
b10479bb40 Merge pull request #1822 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-10-09 22:10:05 +01:00
Adam Chainz
a947025308 Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-10-09 21:56:18 +01:00
Thomas Kluyver
f8f53ee805 Merge pull request #1807 from minrk/set-dirty-output
set dirty flag when output arrives
2016-10-07 13:18:20 +01:00
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
2016-10-06 20:37:25 +02:00