Commit Graph

11287 Commits

Author SHA1 Message Date
Min RK
31c2184d01
Merge pull request #4287 from choldgraf/ntbkext
updating file tree in "extending notebook" section
2018-12-17 14:47:10 +01:00
Thomas Kluyver
f24fa85ef8
Merge pull request #4286 from takluyver/changelog-5.7.4
Add release notes for 5.7.4
2018-12-17 10:22:56 +01:00
Chris Holdgraf
29f58de211 updating file tree 2018-12-16 18:43:38 -08:00
Thomas Kluyver
a4d663b578 Add release notes for 5.7.4 2018-12-16 22:52:01 +01:00
Thomas Kluyver
cf1b7b3628
Merge pull request #4284 from takluyver/i4283
More selective filename test in list_running_servers
2018-12-16 22:33:46 +01:00
Thomas Kluyver
adcb7025ca Make filename check in list_running_servers more specific
Closes gh-4283
2018-12-16 21:06:55 +01:00
Thomas Kluyver
6896aacdf6 Add failing test for list_running_servers 2018-12-16 21:06:36 +01:00
Thomas Kluyver
55d6f53570
Merge pull request #4278 from takluyver/changelog-5.7.3
Write release notes for 5.7.3
2018-12-16 09:57:28 +01:00
Thomas Kluyver
35aa99324a Write release notes for 5.7.3 2018-12-16 09:50:27 +01:00
Thomas Kluyver
46a887f6e0
Merge pull request #4271 from minrk/bs34
bootstrap 3.4
2018-12-14 17:10:51 +01:00
Min RK
363d73d145 bootstrap 3.4
and switch from components/ to canonical bootstrap repo, which puts bootstrap.min.js into a `dist` subdir.

components hasn't received the 3.4 update
2018-12-14 11:58:52 +01:00
Min RK
68ec51d3db
Merge pull request #4257 from ctrlaltdelete00/MarkdownDocumentationBackslashEscapes
Add Documentation regarding backslash escaping in Markdown File
2018-12-14 10:59:14 +01:00
Min RK
51dae23b59
Merge pull request #4260 from takluyver/browser-open-file
Launch the browser with a redirect file
2018-12-13 10:31:11 +01:00
Thomas Kluyver
56d7a2d3a6 Remove one-time token code 2018-12-12 15:22:06 +00:00
Thomas Kluyver
92362103e3 Point to file in terminal message 2018-12-11 16:05:16 +00:00
Thomas Kluyver
28e296fc9f Use permanent token in redirect file 2018-12-11 15:57:02 +00:00
Thomas Kluyver
270c0f96d7 Launch the browser with a redirect file
This avoids putting the authentication token into a command-line
argument to launch the browser, where it's visible to other users.
Filesystem permissions should ensure that only the user who started the
notebook can use this route to authenticate.
Thanks to Dr Owain Kenway for suggesting this technique.
2018-12-11 13:20:46 +00:00
Tim Porath
48042adaf9 Add Documentation regarding backslash escaping in Markdown File 2018-12-09 18:42:30 -05:00
Min RK
f759e4d3be
Merge pull request #4248 from christek91/optimize-large-file-uploads
Optimize large file uploads
2018-12-06 00:15:06 +01:00
Chris Miller
daa80ad4ac Tune chunk size for large file uploads to be larger for perf gains. 2018-12-03 19:04:12 -05:00
Chris Miller
7a42187ccd Optimize Base64 encoding of large files to be uploaded to avoid GC pauses. 2018-12-03 19:03:27 -05:00
Min RK
82782a370e
Merge pull request #4084 from bhansa/issues-4000-accessibility
improved color contrast for file menus
2018-12-03 13:26:06 +01:00
Min RK
069465bf95
Merge pull request #4236 from steaward/issue-4230
Fix ui-icons from blocking tooltip text
2018-11-29 17:01:41 +01:00
Stephen Ward
91fb343c0c fixed ui-icons from blocking tooltip text 2018-11-26 17:39:59 -05:00
Matthias Bussonnier
64fa7cf674
Merge pull request #4210 from SylvainCorlay/message-filtering
Enable kernel message filtering
2018-11-19 16:36:14 -08:00
Min RK
9d19aa3677
Merge pull request #4221 from betatim/uploading-ui-tweak
Tweak upload button to give visual feedback
2018-11-19 15:44:12 +01:00
Min RK
21b93eae43
Merge pull request #4219 from kevin-bates/tolerate-culled-kernels
Update session_exists() to account for invalid sessions due to culling
2018-11-19 15:42:11 +01:00
Sylvain Corlay
4a7151448c Enable kernel message filtering 2018-11-19 10:36:19 +01:00
Min RK
288b73e1ed Merge branch 'directory-xss' 2018-11-18 14:46:53 +01:00
Min RK
1ed04ffa8a changes for 5.7.1, 5.7.2 2018-11-18 12:22:37 +01:00
Min RK
11a2e6d52e assemble breadcrumb html safely
avoids xss from malicious directory names
2018-11-18 11:54:16 +01:00
Tim Head
f03797bfc1 Tweak upload button to give feedback
For files below 25MB there was no visual feedback to the user when
uploading a file. This leads to confusion when uploading files that are
big but not huge over a slow network connection.
2018-11-17 19:39:39 +01:00
Thomas Kluyver
588b1f8eb3 Merge branch 'nbconvert-sandbox' 2018-11-16 17:00:27 +00:00
Kevin Bates
0e63ebb1db Update session_exists() to account for invalid sessions due to culling
When kernels are culled, the kernel is terminated in the background,
unbeknownst to the session management.  As a result, invalid sessions
can be produced that appear to exist, yet cannot produce a model from
the persisted row due to the associated kernel no longer being active.
Prior to this change, these sessions, when encountered via a subsequent
call to `get_session()`, would be deleted and a KeyError would be raised.

This change updates the existence check to tolerate those kinds of sessions.
It removes such sessions (as would happen previously), but rather than
raise a KeyError when attempting to convert the row to a dictionary,
it logs a warning and returns None, which then allows `session_exists()`
to return False since the session was removed (as was ultimately the
case previously).

Calls to `get_session()` remain just as before and have the potential
to raise `KeyError` in such cases.  The difference now being that the
`KeyError` is accompanied by a message indicating the cause.

Fixes #4209
2018-11-16 08:44:07 -08:00
Thomas Kluyver
d60445e926
Merge pull request #4212 from vuamitom/patch-1
Add missing i18n parameter
2018-11-14 16:04:24 +00:00
Vu Minh Tam
c2b292f3e6
Add missing i18n parameter
fix missing parameter
2018-11-14 10:48:00 +07:00
Thomas Kluyver
4b2e7dc3e3
Merge pull request #4193 from askerry/selenium_buffering
Migrate buffering test to selenium
2018-11-13 17:38:29 +00:00
Amy Skerry
8b704d6628 Address review feedback
- consolidate into single .append call
- change function name to be clear we are waiting
2018-11-13 09:01:05 -08:00
Thomas Kluyver
6d7b6af514
Merge pull request #4182 from AndresSan6/merge_selected_cells
Add test for JS function "merge_selected_cells" in test_merge_cells.py
2018-11-13 15:11:16 +00:00
Thomas Kluyver
2345350c7f
Merge pull request #4185 from askerry/fix_race
Add wait_for_tag to avoid race condition in display isolation test
2018-11-13 14:23:18 +00:00
Thomas Kluyver
b61cd92294
Merge pull request #4194 from hansnow/patch-1
Fix typo in nbjs.po
2018-11-13 11:34:11 +00:00
Amy Skerry
f995db42ee Address review feedback
- fix indentation
- remove unneccesary try/except
- fix visibility logic
2018-11-12 10:30:35 -08:00
Xiaohan Li
363926290e
Fix type in nbjs.po
`出` is a typo of `处` in Chinese with same pronunciation. It's a common mistake with some Chinese input methods.
2018-11-12 12:08:32 +08:00
Matthias Bussonnier
39b3afc2e6
Merge pull request #4085 from vgalisson/patch-1
Fixed some French translations and typo
2018-11-11 19:58:38 -08:00
Amy Skerry
3faafc4122 Migrate buffering test to selenium
As per issue #3335, we want all js tests migrated to selenium. This change migrates the test of buffered execution requests.

Test Plan:
py.test -v notebook/tests/selenium/test_buffering.py
2018-11-11 10:47:18 -08:00
Amy Skerry
6f73d79376 Add custom expectation to wait for n elements 2018-11-11 09:33:44 -08:00
Amy Skerry
dea186d177 Add wait_for_tag to avoid race condition in display isolation test
Attempts to fix flakiness in `test_display_isolation`. We now ensure the iframe has been added to the dom before calling the selector. To make this work, we clean up the iframe cells (and all other cells) at the end of each test. I'm not 100% positive this fixes, since I haven't been able to reproduce the failure. But the hope is that this fixes the intermittent failing seen in https://github.com/jupyter/notebook/pull/4182.
2018-11-08 10:54:48 -08:00
Andres Sanchez
f27e87541d Changed function name in utils.py and in test_merge_cells.py 2018-11-08 08:00:51 -06:00
Thomas Kluyver
c9378c71fe
Merge pull request #4146 from askerry/selenium_display_isolation
Migrate display isolation test to selenium
2018-11-08 11:42:11 +00:00
Thomas Kluyver
099383e012
Merge pull request #4141 from askerry/selenium_display_image
Migrate image display test to selenium
2018-11-08 11:40:26 +00:00