Commit Graph

9198 Commits

Author SHA1 Message Date
Matthias Bussonnier
baa49f73c8 Add eslint deps 2016-04-21 18:21:43 +02:00
Matthias Bussonnier
12b48343cb dynamic sourcemaps 2016-04-21 18:00:17 +02:00
Matthias Bussonnier
ab85f165c7 Create shortcut editor for the notebook
1) finish the step allowing the use of es6

  - this include some tweak to web pack configuration to speed up
    recompile in watch mode (in particular cache sourcemaps).
  - enable eslint (error only), on obvious mistakes.
  - setup babel to compile to es5 as a target.

2) Make the test pass under Casper that does not always have
`Function.prototype.bind` defined, which we cannot patch only in the
tests.

3) Write an actual shortcut editor that list and allow to modify most of
the command mode shortcut.

The logic to persist the shortcuts is a bit tricky as there are default
keyboard shortcuts, and so when you "unbind" them you need to re-unbind
them at next startup. This does not work for a few shortcut for
technical reasons: `<Esc>`, `<Shift>`, as well as `<Ctrl-Shift-P>` and `<F>`
which register asynchronously, so are not detected as "default"
shortcuts.
2016-04-21 18:00:17 +02:00
Min RK
89f942029d Merge pull request #1367 from blink1073/jupyterlab-failsafe
Allow JupyterLab to fail gracefully on install
2016-04-19 11:46:49 +02:00
Steven Silvester
0176f72550 Do not verify lab installed files yet 2016-04-18 10:45:17 -05:00
Steven Silvester
a31a2236db Allow JupyterLab to fail gracefully on install for now 2016-04-18 10:31:44 -05:00
Min RK
f75e591bd6 Merge pull request #1351 from Carreau/es6
ES6 and prerequisite to shortcut editor
2016-04-18 11:37:32 +02:00
Matthias Bussonnier
07f988f433 Merge pull request #1360 from takluyver/override-css-mimetype
Override mimetype for .css files
2016-04-16 13:24:35 +02:00
Carol Willing
d8d541020c Merge pull request #1361 from wasade/missingnewline
Missing newline impacting RTD rendering
2016-04-15 18:02:14 -07:00
Daniel McDonald
69ab463a0e Missing newline impacting RTD rendering
Please see the attached screenshot.
2016-04-15 16:03:55 -07:00
Thomas Kluyver
cc3a8668f2 Override mimetype for .css files
This should avoid the issue several people have had with unstyled pages
on misconfigured Windows systems. I think practicality beats purity
here.

Closes gh-1350
2016-04-15 21:49:32 +01:00
Sylvain Corlay
db7fa4ab85 Merge pull request #1352 from blink1073/promise-polyfill
Make JupyterLab more self contained
2016-04-15 10:09:14 -04:00
Min RK
4e6aa7e94c Merge pull request #1338 from minrk/double-base-url
avoid double-base-url when launching browser
2016-04-15 10:05:34 +02:00
Min RK
32011e3bad Merge pull request #1353 from siyuwj/master
Escape file names in attachment headers
2016-04-15 10:02:29 +02:00
wenjun.swj
6684b76ab8 encode file name in Content-Disposition when it contains non-ascii characters 2016-04-15 10:59:57 +08:00
Matthias Bussonnier
79088c5341 Check forhasOwnProperty in for-in loop. 2016-04-14 17:44:48 +02:00
Matthias Bussonnier
6954e996fd Remove debug console.log 2016-04-14 16:53:23 +02:00
Matthias Bussonnier
1096410fcf Try es6 and add a few features for shortcut editor. 2016-04-14 16:49:35 +02:00
Steven Silvester
a3b1cadc9b Use webpack for promise polyfill and font-awesome 2016-04-14 09:47:00 -05:00
Steven Silvester
236214fc43 Move to dependency 2016-04-14 09:17:29 -05:00
Matthias Bussonnier
7a24d5fe58 Merge pull request #1349 from FrederikNS/master
Dockerfile: Added --no-browser argument to CMD
2016-04-14 16:14:54 +02:00
Steven Silvester
24d24c54c9 Fix polyfill 2016-04-14 08:43:08 -05:00
Steven Silvester
1cf92ad5a7 Add IE11 promise polyfills 2016-04-14 08:38:25 -05:00
Frederik Nordahl Jul Sabroe
d33ce47f40 Dockerfile: Added --no-browser argument to CMD
The docker images doesn't contain any browsers, therefore there is no need for trying to launch a browser.
2016-04-13 22:32:15 +02:00
Min RK
ac70e49ace Merge pull request #1342 from jdfreder/clipboardRespect
Respect keyboard manager state in clipboard logic
2016-04-13 16:12:22 +02:00
Min RK
4857a7dc2e Merge pull request #1348 from minrk/pin-casper-beta
pin casper to 1.1.0-beta5
2016-04-13 16:12:14 +02:00
Min RK
ad4fc06dae pin casper to 1.1.0-beta5
to see if this fixes the shutdown test failure
2016-04-13 15:55:51 +02:00
Jonathan Frederic
72eeb99ad6 Respect keyboard manager state in clipboard logic 2016-04-12 11:34:09 -07:00
Min RK
a441f2529b Merge pull request #1333 from minrk/release-links
remove what's new from index
2016-04-12 15:40:11 +02:00
Min RK
a9fe394b2e avoid double-base-url when launching browser
default_url contains base_url, and so does connection_url
2016-04-12 14:53:28 +02:00
Carol Willing
12ee0ec86a Update changelog and remove what's new 2016-04-12 13:03:08 +02:00
Min RK
43165c942c changelog for 4.2.0
forward-port from 4.x branch
2016-04-11 20:51:05 +02:00
Jonathan Frederic
aaae433973 Merge pull request #1328 from SylvainCorlay/jupyter-js-widgets
The path for widgets has changed
2016-04-10 09:07:51 -07:00
Sylvain Corlay
e4155ea7aa The path for widgets has changed 2016-04-10 10:33:58 -04:00
Matthias Bussonnier
d6a43d2601 Merge pull request #1327 from minrk/mockextension-env
avoid writing nbextension config to user dir during tests
2016-04-08 17:43:12 -07:00
Min RK
39121b7d4b avoid writing nbextension config to user dir during tests
mock jupyter environment variables during nb/server-extension tests
2016-04-08 15:06:15 -07:00
Min RK
11dba4ea2e Merge pull request #1288 from BerndSchwarzenbacher/issue#1209/codeblocks
Correctly render markdown code blocks with unknown language
2016-04-08 11:40:11 -07:00
Min RK
2d0b8a6a25 Merge pull request #1325 from chultquist/master
Fix handling of preflight requests
2016-04-08 10:51:43 -07:00
Matthias Bussonnier
1cf38529d3 Merge pull request #1323 from blink1073/sourcemap
Build source map for lab
2016-04-08 08:50:44 -07:00
Carl Hultquist
4a161fea12 Fix handling of preflight requests
Pre-flighted OPTIONS requests do not include authentication information,
which means that we should not expect these to be authenticated.
Authentication will be validated when the real PUT/POST etc request is
issued after the preflight.
2016-04-08 11:18:50 -04:00
Steven Silvester
6d6ba8d43d Build source map for lab 2016-04-08 07:13:37 -05:00
Matthias Bussonnier
6b220c949b Merge pull request #1253 from ryanlovett/master
Restore atomic intermediate if notebook is invalid.
2016-04-07 17:29:01 -07:00
Matthias Bussonnier
465de9e0fd Merge pull request #1319 from takluyver/default-paste-text
Don't paste cells in chrome when keyboard manager is disabled
2016-04-07 16:55:59 -07:00
Bernd Schwarzenbacher
79f2a2fef6 Remove debug comment in jstest.py 2016-04-07 23:18:19 +02:00
Bernd Schwarzenbacher
fee1cbc9a3 Log CodeMirror mode error in codeblock highlight 2016-04-07 22:57:40 +02:00
Thomas Kluyver
d797948420 Don't paste cells in chrome when keyboard manager is disabled
Closes gh-1316 (the second part of it, which I hadn't noticed before ;-)

If a widget, an input box or a dialog has focus, we should allow paste
to paste text by default. We already take care to disable the keyboard
manager in these cases, so I check this to decide to handle the paste
event.

In Firefox this isn't needed, because Ctrl+V is registered as the
shortcut to bring up the paste dialog, so it only works when the
keyboard manager is enabled.
2016-04-07 13:48:12 -07:00
BerndSchwarzenbacher
20120cbccb Merge pull request #1 from minrk/async-md-render-test
wait for render events in markdown test
2016-04-07 22:33:15 +02:00
Matthias Bussonnier
2483331584 Merge pull request #1317 from takluyver/default-copy-text
Defer to default copy implementation when text is selected
2016-04-07 12:18:41 -07:00
Min RK
1d16b302be wait for render events in markdown test
render callback is async,
so we have to wait for the render event to fire.
2016-04-07 12:14:53 -07:00
Thomas Kluyver
5998678d08 Defer to default copy implementation when text is selected
Closes gh-1316
2016-04-07 11:16:56 -07:00