Commit Graph

10892 Commits

Author SHA1 Message Date
Ashley Teoh
078d3f5be6 add title attributes to widgets and disable clicking trusted button 2018-02-28 22:07:49 -05:00
Carol Willing
1b99df995b
Merge pull request #3384 from minrk/fail-to-write
log OSErrors failing to create less-critical files during startup
2018-02-28 09:26:28 -08:00
Min RK
6debb0ae1a log OSErrors failing to create less-critical files during startup
rather than fatal errors
2018-02-28 16:12:43 +01:00
Thomas Kluyver
61972480b9 Don't clear login cookie on requests without cookie
Clearing the secure cookie makes sense when it is invalid or expired,
but clearing it when it's not sent with a request can unexpectedly log
the user out.

I ran into this with misconstructed URLs which didn't incorporate
base_url. That was itself a bug, but the result of suddenly being
unauthenticated makes it harder to track down.

Closes gh-3365 (hopefully)
Possibly also relevant to gh-2396

I'm not sure why this seems to affect Firefox more than Chrome.
2018-02-27 13:33:12 +00:00
Min RK
a1fb317ec7
Merge pull request #3346 from whosford/notebook-public-server-docs-change
Add more information for where jupyter_notebook_config.py is located
2018-02-27 13:46:43 +01:00
Min RK
b66a60d028
Merge pull request #3356 from evandam/master
Display hostname when running remotely
2018-02-27 13:45:07 +01:00
Min RK
02d6cd55b3
Merge pull request #3368 from mpacer/api_improvements
API spec improvements, API handler improvements
2018-02-27 13:44:12 +01:00
Min RK
74e24299b4
Merge pull request #3377 from xuhdev/markdown-doc
Add explanation on how to change the type of a cell to Markdown.
2018-02-27 13:43:01 +01:00
Min RK
7ee844f3a4
Merge pull request #3379 from dhirschfeld/patch-1
Use powershell on Windows
2018-02-27 13:42:38 +01:00
Dave Hirschfeld
ce602fcb0d
Use powershell on Windows
sh can be installed and on the path if e.g. git and the unix tools are installed
Even in this case the user would probably prefer to use powershell
2018-02-27 17:14:53 +10:00
bxy007
eb9d2000bf fix i18n/README.md 2018-02-27 10:07:27 +08:00
Hong Xu
08231369c1 Add explanation on how to change the type of a cell to Markdown. 2018-02-26 11:27:12 -08:00
Thomas Kluyver
2aac713937
Merge pull request #3294 from takluyver/notebook-js-syntax-fixes
Some Javascript syntax fixes
2018-02-26 17:39:56 +00:00
Thomas Kluyver
07dc619d00
Merge pull request #3350 from Shels1909/nb_metadata_3095
Set notebook to dirty state after change to kernel metadata
2018-02-26 14:44:41 +00:00
Thomas Kluyver
dd7eab3957
Merge pull request #3360 from hroncok/nbsphinx-notexecute
Do not execute special notebooks with nbsphinx
2018-02-26 14:12:52 +00:00
Thomas Kluyver
6bed9cae7d
Merge pull request #3372 from vaibhavsagar/patch-1
Use latest codemirror
2018-02-26 11:38:24 +00:00
bxy007
4a3885d3e2 fix:when upload large file,we cant stop 2018-02-25 17:38:55 +08:00
Vaibhav Sagar
bf5bd5e11c
Use latest codemirror 2018-02-25 16:44:49 +08:00
M Pacer
5fd7d52ec2 API spec improvements, API handler improvements
This changes the base-path to be / instead of /api so that in the future
other APIs that return files and do not redirect you to a new address
(e.g., see #2413).

This also improves the way that the api spec handler responds to a
request, by actually displaying the spec with the appropriate
content-type header (text/x-yaml) instead of triggering a download with
the StaticFileHandler's default application/octet-stream mimetype.
2018-02-22 22:18:05 -08:00
bxy007
9b598e0cd6 fix error in i18n/README.md 2018-02-23 13:58:11 +08:00
Miro Hrončok
6453b0f1da Do not execute special notebooks with nbsphinx
They can hang in headless environment.

See also db90e16d17
2018-02-21 16:46:33 +01:00
Evan Van Dam
4eceb84835 removed unnecessary log 2018-02-20 22:55:08 -05:00
Evan Van Dam
53cbd52d6e display hostname when not running locally 2018-02-20 22:53:29 -05:00
Mac Knight
b5932ad058 sets notebook to dirty after change to metadata 2018-02-18 20:40:20 -05:00
William Hosford
e67d66e7e8 Issue #3027: Add more information for where jupyter_notebook_config.py is located 2018-02-17 16:06:45 -08:00
Thomas Kluyver
901f1e9492 Use CSP header to treat served files as belonging to a separate origin 2018-02-15 14:02:46 +00:00
Thomas Kluyver
25c628c1f5
Merge pull request #3336 from hendrixet/color_contrast
fixed color contrast issue in tree.less
2018-02-14 11:24:26 +00:00
Ethan
23aa0d8076 fixed color contrast issue in tree.less 2018-02-13 14:52:10 -05:00
Min RK
6ac6f97b80
Merge pull request #3304 from takluyver/trash-linux-home-only
Don't trash files on different device to home dir on Linux
2018-02-13 18:13:00 +01:00
Thomas Kluyver
aa9c977880 Testing with Selenium & Sauce labs (#3321)
* Initial selenium test

* Try configuring Travis to run selenium tests on Sauce

* Encryption key needs to be for my account, not jupyter

* Install selenium on Travis

* Get more data from server info file

* Set cwd when launching notebook server

Will this help on Travis?

* Use JUPYTER_TEST_BROWSER=chrome to test with Chrome

* Debugging test

* Separate fixtures into conftest.py

* Try with --Cls.a=b option syntax

* Try using sauce labs directly, not through Travis proxy

* Back to using proxy, with http instead of https

Idea from https://stackoverflow.com/questions/48236104/ssl-errors-using-
sauce-labs-in-travis-ci-with-selenium-webriver-tests-django-pr

* Specify browserName in desired_capabilities for Sauce

* Try connecting to Sauce for only some jobs in matrix

* Exclude selenium tests from regular test run

* Remove redundant JS test for dashboard navigation (converted to Selenium)

* Re-enable other tests

* Exclude selenium tests on Appveyor

* Later browser versions are available on Windows

* Try running tests with Firefox 57 instead of 58

* Try running with local Firefox on Travis

* Install geckodriver for Selenium tests

* Untar the right version of geckodriver

* Try stepping back one version of Firefox again
2018-02-13 09:01:00 -08:00
Thomas Kluyver
4285574b96
Merge pull request #3189 from cancan101/patch-2
Upgrade xterm.js to 3.1.0
2018-02-13 11:23:11 +00:00
Alex Rothberg
91794ecb18 dont rely on css calc 2018-02-12 18:11:32 -05:00
Alex Rothberg
2baa5d3acd revert deletion and add comments 2018-02-12 17:25:27 -05:00
Gabriel Ruiz
331a7a2dda Editor - Prompt warning when overwriting a file that is modified on disk (#2783)
* added overwrite prevention to saving

* rearranging order of require variables and edit to rename

* added documentation, and fixed reload button

* followed suggestion by tom, started tests

* Revert "followed suggestion by tom, started tests"

This reverts commit 4d45ec7c1b.

* added back in reverted changes to editor.js

* Fix broken reference to 'this'
2018-02-12 07:56:59 -08:00
Thomas Kluyver
b76c8d907e
Merge pull request #3288 from kant/patch-1
Minor fixes
2018-02-12 13:57:13 +00:00
Thomas Kluyver
f3df01ee24
Merge pull request #3330 from takluyver/no-gettext-builtin
Don't install gettext into builtins
2018-02-12 13:54:54 +00:00
Thomas Kluyver
83fd9bb176 Squash some Sphinx warnings 2018-02-12 11:49:44 +00:00
Thomas Kluyver
0c06649bcd
Use asterisks for italics 2018-02-12 11:37:17 +00:00
Thomas Kluyver
64f02d8621
Merge pull request #3323 from mdboom/custom-exporters
Add any extra installed nbconvert exporters to the "Download as" menu
2018-02-12 11:15:12 +00:00
Thomas Kluyver
66bd2fbf20 Allow use of newest nbsphinx for building docs
Needed for compatibility with Sphinx 1.7
2018-02-12 11:09:46 +00:00
Thomas Kluyver
48b5faba57 Don't install gettext into builtins 2018-02-12 10:39:14 +00:00
Min RK
4ad65171e2
Merge pull request #3326 from SimonBiggs/include-locale
Fix a missing import of _
2018-02-12 11:35:17 +01:00
Simon Biggs
fa803ba238 import _ 2018-02-11 16:17:48 +11:00
Alex Rothberg
2424f97360 more dead 2018-02-10 15:22:04 -05:00
Alex Rothberg
dab784fddf fix 2018-02-10 14:52:10 -05:00
Alex Rothberg
2d5cd359e5 dead code 2018-02-10 14:46:37 -05:00
Alex Rothberg
bb7dd0a85e calc height 2018-02-10 14:43:27 -05:00
Alex Rothberg
a770f83487 cleanup old 2018-02-10 14:37:28 -05:00
Alex Rothberg
c5fcd74756 remove dummy 2018-02-10 13:58:49 -05:00
Michael Droettboom
b2ffad9683 Remove extraneous <span/> 2018-02-09 16:36:03 -05:00