Commit Graph

10504 Commits

Author SHA1 Message Date
Matthias Bussonnier
a40ab056d8
Fix docs intructions True->Flase 2017-11-15 06:43:25 -08:00
Matthias Bussonnier
a8971410c1 Add option disabled changing password at login.
Document the changing of password.
2017-11-13 07:55:12 -08: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
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
Matthias Bussonnier
cd2ac44c48
Merge pull request #2983 from gnestor/fix-codemirror-cursor
Add more border width to CodeMirror cursor
2017-10-27 12:05:43 -07:00
Grant Nestor
9daa7fb585 Add 5.2.1 to changelog 2017-10-27 07:57:28 -07:00
M Pacer
600d57f9ce Fix nbconvert handler (#2981)
* get the directory for external resources to pass in as path to nbconvert

* build up resources dict elements separately, combine before passing to from_notebook_node

* Use filename (not title) for the name used as the title in html export
2017-10-27 07:37:34 -07:00
Grant Nestor
817f541be4 Add assumed screen resolution to comments 2017-10-26 14:19:53 -07:00
Grant Nestor
0fe8ee191a Add media queries as proxy for zoom levels 2017-10-26 13:31:14 -07:00
Grant Nestor
b92dd28b60 Add more border width to CodeMirror cursor 2017-10-26 10:33:20 -07:00
Thomas Kluyver
39a706c9cf Merge pull request #2972 from mpacer/version_fix
update version to dev version for master to not overwrite editable installs
2017-10-25 10:28:44 +01:00
M Pacer
fcb64d9581 update version to dev version for master to not overwrite editable installs 2017-10-24 10:17:30 -07:00
Thomas Kluyver
513709bfc3 Merge pull request #2962 from JocelynDelalande/i18n-readme-improvement
I18n README.md improvement
2017-10-23 11:57:38 +01:00
Steven Silvester
e437fa2ceb Merge pull request #2964 from takluyver/docs-req-send2trash
Add send2trash to requirements for building docs
2017-10-21 16:04:27 -05:00
Thomas Kluyver
8eb1bdde4b Add send2trash to requirements for building docs 2017-10-21 17:17:42 +01:00
Jocelyn Delalande
bd48b4235f Use local paths for i18n-related commands
Make the commands listings shorter and easier to focus on what matters.
2017-10-21 14:39:22 +02:00
Jocelyn Delalande
71818067c5 Make the i18n README more clear
This README.md is the only documentation for i18n setup, let's enhance
it.

Modifications include:

- make the writing style less personal
- fix markdown (syntax, headings…)
- clearly separate the usage guide from the known bugs and future perspectives
  (as this guide is now in master branch, it is no longer relevant to say that
  it is an experimental thing)
- rewordings
2017-10-21 14:26:01 +02:00
Jason Grout
1405693943 Fix the prompt_area argument of the output area constructor. (#2961)
See https://github.com/jupyter/notebook/pull/2681#issuecomment-338322212 and https://github.com/jupyter-widgets/ipywidgets/issues/1765
2017-10-20 17:10:12 -07:00
Thomas Kluyver
c888b6a7b9 Merge pull request #2949 from blink1073/fix-compound-extension
Handle a compound extension in new_untitled
2017-10-20 15:57:58 +02:00
Michael Heilman
b31194dfe3 removed extraneous cull_idle_timeout_minimum 2017-10-20 08:55:47 -05:00
Steven Silvester
7e71c000b0 Rename variable 2017-10-20 07:50:48 -05:00
Steven Silvester
e1533d5398 Clean up logic 2017-10-20 07:48:51 -05:00
Steven Silvester
e95cd6d820 More logic cleanup 2017-10-20 05:55:53 -05:00
Steven Silvester
915146ab3f Clean up logic 2017-10-20 05:51:32 -05:00
Min RK
aa461d9e06 Merge pull request #1968 from takluyver/delete-to-trash
Send files to OS trash mechanism on delete
2017-10-20 11:41:25 +02:00
Thomas Kluyver
8a159500f7 Merge pull request #2916 from minrk/allow-disable-buffering
allow disabling offline message buffering
2017-10-20 10:59:36 +02:00
Thomas Kluyver
55aa80e10f Merge pull request #2920 from minrk/allow-origin-token
allow token-authenticated requests cross-origin by default
2017-10-20 10:55:43 +02:00
Thomas Kluyver
42d966790a Merge pull request #2938 from gnestor/changelog
Update changelog
2017-10-20 10:50:34 +02:00
Thomas Kluyver
95a52f2b86 Merge pull request #2959 from minrk/cookie-path
set cookie on base_url
2017-10-20 10:49:38 +02:00
Min RK
fea2ef258f set cookie on base_url
avoids clobbering cookies when multiple notebook servers are run on one host.

Users can override `cookie_options.path = ‘/‘` if they *want* cookies to be shared across notebooks on one host.
2017-10-19 17:44:11 +02:00
Kevin Bates
b24aa5e023 Add 'reason' field to JSON error responses
During the deprecation/removal of the `@json_errors` decorator, the
`reason` field was not carried forward into the compatible replacement
method `APIHandler.write_error`.  This broke some client (tests) that
relied on that field's presence.

Fixes #2957.
2017-10-19 08:03:52 -07:00
Steven Silvester
f5fa0c180e Handle a compound extension in new_untitled 2017-10-18 12:22:59 -05:00
Ian Rose
f763c03d10 Merge pull request #2943 from mpacer/swagger_api
improve swagger API docs
2017-10-16 19:10:11 -07:00
M Pacer
b0205c4b78 cleanup swagger API docs 2017-10-16 18:07:55 -07:00