Commit Graph

10685 Commits

Author SHA1 Message Date
Thomas Kluyver
ba33c33ee2
Merge pull request #3053 from minrk/save-script-fix
fix save-script deprecation
2017-11-17 10:53:24 +00:00
Min RK
1eb970074b fix save-script deprecation
when updating to traitlets API, required argument was omitted
2017-11-17 10:29:39 +01:00
Kyle Kelley
b3b8106e0d
Merge pull request #3048 from jcb91/bidi
Fix moment locale loading in bidi support
2017-11-16 09:48:29 -08:00
Thomas Kluyver
6b0d542ea9 Unify last activity calculation 2017-11-16 13:21:39 +00:00
Thomas Kluyver
afd5aeab95
Merge pull request #3049 from bacboc/feature
Fix broken link
2017-11-16 12:21:31 +00:00
Josh Barnes
60b7c22977 tidy bidi support
remove unused variable, redundant comment, don't need jquery
2017-11-16 01:17:30 +00:00
Josh Barnes
3f2aa86ba2 Fix moment locale loading in bidi support
this is the correct way to do it, especially since packaged versions of notebook are shipping without separate locale files
2017-11-16 01:16:52 +00:00
Thomas Kluyver
74fbc5b578
Merge pull request #3008 from Carreau/autopawd
When login-in via token, let a chance for user to set the password
2017-11-15 15:51:32 +00:00
Matthias Bussonnier
a40ab056d8
Fix docs intructions True->Flase 2017-11-15 06:43:25 -08:00
bacboc
551f8b2848 Fix broken link 2017-11-15 19:25:52 +09:00
Matthias Bussonnier
a8971410c1 Add option disabled changing password at login.
Document the changing of password.
2017-11-13 07:55:12 -08:00
PHaeJin
c0973877c8 Fix a typo (#3043)
* Fix a typo

* Fix a typo

* Fix abroken link
2017-11-13 15:41:15 +00:00
Min RK
1deb0aec16 tornado 5: PeriodicCallback loop arg will be removed (#3034)
* tornado 5: PeriodicCallback loop arg will be removed

PCs are always run with the current eventloop,
which is what the explicitly passed loop always is for us already

* Don't double-close socket & stream

closing stream closes the socket

* remove now-inaccurate comment
2017-11-13 13:39:58 +00:00
edida
5ede4c1243 Fix broken links (#3042)
* Typo fix

* Fix broken links

* Fix typo

* Fix broken links and Fix typo
2017-11-13 13:11:04 +00:00
edida
9f72eb1867 Typo fix (#3033) 2017-11-10 10:31:34 +00:00
PHaeJin
2d1eb887ff typo fix (#3032)
* Fix some broken links

* typo fix

* Fix some broken links

* typo fix

* typo fix
2017-11-10 10:30:54 +00:00
Thomas Kluyver
c9a7795947
Merge pull request #3031 from gnestor/edit-view-pdf
Use `/files` prefix for PDF-like files
2017-11-10 10:28:40 +00:00
Grant Nestor
009af0e833 Use /files prefix for PDF-like files 2017-11-09 15:52:35 -08:00
Thomas Kluyver
bbf0ead68f
Merge pull request #3026 from edida/master
Fix broken link
2017-11-08 15:08:37 +00:00
y__321@naver.com
061f323908 Fix broken link 2017-11-08 14:56:35 +09:00
PHaeJin
fb332d32de typo fix (#3015)
* Fix some broken links

* typo fix

* Fix some broken links

* typo fix
2017-11-07 17:07:17 -08:00
bacboc
ef9f01ed86 Fix incorrect tag (#3021) 2017-11-07 13:47:19 -08:00
JooHo Chung
4f3b8e0c15 Add Folder for document translation
I first add my translation 'Readme.md' in Korean
2017-11-07 01:59:41 +09:00
Kyle Kelley
6894099b6f
Merge pull request #3020 from ChungJooHo/master
Add link to Korean Version of Installation
2017-11-06 08:31:54 -08:00
JooHo Chung
6be18ad8e9 Add link to Korean Version of Installation
I add my repo link on README so that people who wants to read it
translated version of Korean.
2017-11-05 18:37:39 +09:00
Tim Head
b2fe5a4069 Add toolbar icon to restart and run all 2017-11-04 14:33:49 +01:00
Grant Nestor
11838000fb back to dev 2017-11-03 12:25:39 -07:00
Grant Nestor
7835160063 release 5.2.1 2017-11-03 12:25:19 -07:00
Min RK
9a05f28677
Merge pull request #3009 from Carreau/hashpw
Hash cookie secret with user hashed password.
2017-11-03 11:16:49 +01:00
Matthias Bussonnier
4329e13f6f Hash cookie secret with user hashed password.
Currently changing the password does not revoke current session:

  - jupyter notebook password <password1>
  - jupyter notebook
  - Logging in
  - Kill server
  - jupyter notebook password <other password>
  - jupyter notebook
  - Oh ! I'm still logged in.

With this, as the "effective" secret depends on the (hashed) password,
changing it void any existing session (which I believe is the goal of
most password change)
2017-11-02 13:58:13 -07:00
Matthias Bussonnier
709fdd637a When login-in via token, let a chance for user to set the password
When token is enabled, the login page will present a form to the user
asking them if they want to set a password at the same time. This is
almost equivalent to running `jupyter notebook password` on the command
line.

The experience can likely be better, but just submitting that as a POC
for feedback
2017-11-02 11:49:11 -07:00
Thomas Kluyver
c71483ce1e Consider terminals and API activity for shutdown timeout 2017-11-02 13:13:11 +00:00
Thomas Kluyver
cdc46eaffb Track last activity in terminals 2017-11-02 13:12:49 +00:00
Thomas Kluyver
15f393b49c
Merge pull request #3000 from takluyver/stop-cmd-http
Send HTTP shutdown request on 'stop' subcommand
2017-11-02 10:22:28 +00:00
Matthias Geier
4918eb1f80 Fix ANSI inverse (#2967)
* Invert inverse ANSI colors

The "inverse" escape sequence was implemented in #2186, but not by
actually inverting foreground and background.

* ANSI colors: allow switching off underline and inverse

* Add CSS classes ansi-default-inverse-fg and ...-bg
2017-11-01 09:23:53 -07:00
Thomas Kluyver
bfe012e507
Merge pull request #2910 from mheilman/cull_idle_timeout_minimum
change cull_idle_timeout_minimum to 1 from 300
2017-11-01 09:44:56 +00:00
Thomas Kluyver
9a5c2c06ad
Merge pull request #2958 from kevin-bates/fix-2957-add-reason-to-json-errors
Add 'reason' field to JSON error responses
2017-11-01 09:43:48 +00:00
Thomas Kluyver
e7f69cc2d7 Work on loading UI translations (#2969)
* Load translations for Javascript in page template

* Normalise language codes to gettext format with underscores

* .mo files need to be under LC_MESSAGES as well

* remove unused JS code

* Normalise result in test

* Fix for opening files on Py 2

* Fix location of I18N directory

* Add translation files to package_data
2017-10-31 11:40:16 -07:00
Kevin Bates
ed3b0e4594 Set reason on HTTP errors, None otherwise. 2017-10-31 10:40:50 -07:00
Steven Silvester
f3c93cf37e
Merge pull request #3002 from takluyver/jcore-ensure-dir
Switch to jupyter_core implementation of ensure_dir_exists
2017-10-31 12:34:03 -05:00
Thomas Kluyver
059c2b77fc Switch to jupyter_core implementation of ensure_dir_exists
Closes gh-2858

Requires jupyter_core 4.4.0, which I just released.
2017-10-31 16:38:40 +00:00
Thomas Kluyver
64105856f4 Fix test for SystemExit error 2017-10-31 15:47:28 +00:00
Thomas Kluyver
7248772f72 Update test for 'jupyter notebook stop' 2017-10-31 15:36:21 +00:00
Thomas Kluyver
c894b45fb6 Send HTTP shutdown request on 'stop' subcommand
Signals don't work on Windows. This tries the HTTP shutdown request first.
On Unix, it will try SIGTERM after 5 seconds, and SIGKILL after another 5, if the
server didn't already exit.

Closes gh-2937
2017-10-31 15:08:20 +00:00
Min RK
4304d5ade5
Merge pull request #2999 from minrk/appveyor-band-aid
update conda after selecting conda-forge
2017-10-31 11:09:59 +01:00
Min RK
0a93d38e54 update conda after selecting conda-forge
avoids updating conda from defaults, then downgrading from conda-forge during big install

this appears to fix AppVeyor for now
2017-10-31 10:58:29 +01:00
Min RK
881268f642
Merge pull request #2993 from jhamrick/editable-bug
Prevent uneditable cells from having their type changed
2017-10-31 10:25:52 +01:00
Grant Nestor
173be6dc88 release 5.2.1rc1 2017-10-30 21:09:44 -07:00
Jessica B. Hamrick
4b2975659c Prevent uneditable cells from having their type changed 2017-10-29 12:06:20 +00:00
M Pacer
f5ba79e625
Merge pull request #2989 from gnestor/changelog
Add 5.2.1 to changelog
2017-10-27 12:33:55 -07:00