Commit Graph

11305 Commits

Author SHA1 Message Date
Kevin Bates
060a2b9aea Embed NB2KG into Notebook server
This change alleviates a significant pain-point for consumers of Jupyter
Kernel and Enterprise Gateway projects by embedding the few classes defined
in the NB2KG server extension directly into the Notebook server.  All code
resides in a separate gateway directory and the 'extension' is enabled
via a new configuration option `--gateway-url`.

Renamed classes from those used in standard NB2KG code so that Notebook
servers using the existing NB2KG extension will still work.

Added test_gateway.py to exercise overridden methods.  It does this by
mocking the call that issues requests to the gateway server.

Updated the _Running a notebook server_ topic to include a description
of this feature.
2019-02-08 12:09:42 -08:00
Thomas Kluyver
8a4cbd0ad9
Merge pull request #4318 from RomanKornev/upd-document-title
Update document.title to a more descriptive name
2019-01-31 14:06:33 +00:00
Roman Kornev
d3ce20738c Update text editor document.title 2019-01-30 20:42:46 +03:00
Thomas Kluyver
c33130dcbb
Merge pull request #4367 from nyanshell/master
fix incorrect Chinese translation
2019-01-30 16:57:04 +00:00
Thomas Kluyver
3bce5683c4
Merge pull request #4374 from mlucool/patch-1
Improve comms.rst example
2019-01-30 16:56:14 +00:00
Marc Udoff
e8163d57cc
Update js for comms for copy/paste 2019-01-29 19:39:36 -05:00
Marc Udoff
c740397e49
Improve comms.rst example
This improves the example by making it more copy/pastable out of the box and demoing how you can send a message at various places. It also fixes a poor usage of shadowed variables
2019-01-29 19:04:14 -05:00
Gestalt LUR
2c313e96f8
fix incorrect Chinese translation 2019-01-25 22:47:59 +08:00
Thomas Kluyver
7ded638357
Merge pull request #4329 from takluyver/travis-newer-pytest
Upgrade pytest on Travis
2019-01-09 10:03:29 +00:00
Thomas Kluyver
e2ba8280c6 Upgrade pytest for docs build as well 2019-01-09 09:45:35 +00:00
Thomas Kluyver
fc532aac6f Upgrade pytest on Travis
Avoid incompatibility with newer pytest-cov version
2019-01-08 17:10:34 +00:00
Thomas Kluyver
0227bc97ed
Merge pull request #4317 from wgcostello/patch-1
Fix typo in introduction
2019-01-08 16:48:06 +00:00
Thomas Kluyver
09b8c934b4
Merge pull request #4310 from takluyver/selenium-multiselect
Convert multiselect test to Selenium
2019-01-08 16:47:30 +00:00
Roman Kornev
18ca0330d8 Update document.title to a more descriptive name 2019-01-06 04:17:04 +03:00
Will Costello
5f8a2040ff
Fix typo in introduction 2019-01-05 20:16:05 +00:00
Thomas Kluyver
9035cb1bdd Limit to tornado <6 for now
Tornado 6.0a1 is causing test failures in CI
2019-01-02 12:33:50 +00:00
Thomas Kluyver
a5ad463427 Remove multiselect Javascript test converted to Selenium 2019-01-02 11:58:16 +00:00
Thomas Kluyver
605dfb8b15 Convert multiselect test to Selenium 2019-01-02 11:57:41 +00:00
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