Commit Graph

9198 Commits

Author SHA1 Message Date
Jonathan Frederic
f163275181 Merge pull request #1145 from minrk/fix-delete
Freeze selection when performing actions on selected items
2016-02-25 09:35:39 -08:00
Steven Silvester
d09cc9f5ed Remove unused setup command 2016-02-25 09:39:58 -06:00
Steven Silvester
80db07a5e2 Remove unused dependency 2016-02-25 09:36:55 -06:00
Steven Silvester
a63f098d0e Remove scratch notebook 2016-02-25 09:35:23 -06:00
Steven Silvester
317f102663 Fix setupbase and update to latest plugins 2016-02-25 09:12:55 -06:00
Steven Silvester
e663bc3156 Add a jupyter lab page
wip add lab page

Add missing source files

Remove unused typings

Clean up tsconfig

No typings are required

Add typescript to dev dependencies

Switch to a JS-only build

Remove unused config file

Remove unused test and cleanup handlers

Update the setup file to build the lab

Use new application plugin from js-plugins

Remove whitespace changes

Bump plugins version

Update to latest plugins

Update to latest plugins

Update to latest jupyter-js-plugins and add files to manifest

Work around bug in css-loader

Update plugins and fix webpack warning

Update lab version

Fix static directory path

Bump plugins version

Add the try jupyter link

Bump dependencies

Back out whitespace changes

Update plugins version

Update dependencies

Update the bootstrap file

Use a standalone template for the lab page
2016-02-25 09:09:05 -06:00
Min RK
2c4138862f Freeze selection when performing actions on selected items
avoids async changes to selection causing events to misfire

Fixes delete being a no-op due to select being cleared by shutdown_selected
2016-02-25 11:37:57 +01:00
Min RK
9e1ce0e3dc Merge pull request #1142 from captainsafia/fix-rename-with-capitalization
Fix rename_file to be case insensitive
2016-02-25 11:17:32 +01:00
Min RK
f504fb277b Merge pull request #1144 from julienr/fix_tests_readme
Update tests/README.md
2016-02-25 11:17:05 +01:00
Julien Rebetez
93201ddece Update tests/README.md to point towards using notebook.jstest instead of iptest 2016-02-25 10:49:51 +01:00
Julien Rebetez
f50474d60d Add test for attachments garbage collection 2016-02-25 10:38:18 +01:00
Julien Rebetez
51cab51f1c Add Copy/Paste cell attachments test 2016-02-25 10:15:50 +01:00
Julien Rebetez
cc58b282fd Remove jquery from dependencies since it’s a global 2016-02-25 10:15:29 +01:00
Safia Abdalla
e30c28eeba Updated same_file to check for same device 2016-02-25 02:06:15 -06:00
Safia Abdalla
955c3d0c03 Exempt javascript files from files check 2016-02-25 01:59:29 -06:00
Safia Abdalla
7a8aa92b73 Add same_file check in rename_file 2016-02-25 01:36:34 -06:00
Safia Abdalla
3f4a2cb00b Add same_file utility function 2016-02-25 01:34:14 -06:00
Carol Willing
5d6acb1db5 Merge pull request #1134 from captainsafia/update-contrib-in-readme
Update link to developer documentation
2016-02-25 01:28:38 +08:00
Safia Abdalla
515df8b7b7 Update README.md 2016-02-24 11:08:45 -06:00
Thomas Kluyver
964c31fbe8 Merge pull request #1139 from minrk/run-npm-if-we-should
simplify js build steps
2016-02-24 16:28:17 +00:00
Julien Rebetez
ea57ff74a6 Explain why we disable caja uri checks on img::src 2016-02-24 16:56:25 +01:00
Julien Rebetez
c7186d5c09 Remove unused attachments on manual save 2016-02-24 16:56:25 +01:00
Julien Rebetez
a0920c47d8 Simplify attachments handling code by having an attachment attribute in every cell 2016-02-24 16:56:25 +01:00
Julien Rebetez
c8266aa507 Fix cell attachments copy/paste 2016-02-24 16:56:24 +01:00
Julien Rebetez
ac9a345400 Bump nbformat minor to 4.1 to support attachments 2016-02-24 16:56:24 +01:00
Julien Rebetez
84f38c2cf9 Make attachments textcell-specific 2016-02-24 16:56:24 +01:00
Julien Rebetez
c012835e67 Fix 'insert-image' menu item toggling. Instead of disabling the menuitem in unselect, we preventively disable it in Cell.select and let cell subtypes re-enable it when needed.
The previous implementation was not handling the first cell correctly if it was non-markdown (because unselect was not called).
2016-02-24 16:56:24 +01:00
Julien Rebetez
aa460ffecc Fix speed issues when attaching large images 2016-02-24 16:56:24 +01:00
Julien Rebetez
6cc468db52 Add tests for attachments insert menuitem 2016-02-24 16:56:24 +01:00
Julien Rebetez
865de47233 Add Cut/Copy/Paste Cell attachments menu items 2016-02-24 16:56:24 +01:00
Julien Rebetez
646619d5cd Check that we have items in markdown cell paste handler 2016-02-24 16:56:24 +01:00
Julien Rebetez
e66ff8f001 Fix drag/drop event handler to be compatible with codemirror 5.8, which
doesn’t allow binary file uploads by default. So we have to intercept
the dragstart event.
2016-02-24 16:56:24 +01:00
Julien Rebetez
b21348f75b Attachments dialog only apply deletion on ‘Apply’. 2016-02-24 16:56:24 +01:00
Julien Rebetez
c4bd66e4b2 Nicer attachments editing dialog 2016-02-24 16:56:24 +01:00
Julien Rebetez
22fccff443 Add a new insert-image action and corresponding dialog to insert inline images from menu. 2016-02-24 16:56:23 +01:00
Julien Rebetez
480c90e473 Refactor the inline image drop logic. Preliminary copy/paste support. 2016-02-24 16:56:23 +01:00
Julien Rebetez
13bcdc9095 Keep the attachments even if the cell type changes 2016-02-24 16:56:23 +01:00
Julien Rebetez
1c6f589ff6 Add attachments cell toolbar option which opens a metadata-like JSON editor. 2016-02-24 16:56:23 +01:00
Julien Rebetez
3414b83855 Insert markdown markup for attachments images instead of HTML 2016-02-24 16:56:23 +01:00
Julien Rebetez
398c90b0aa Use the cell ‘attachments’ property instead of ‘metadata.attachments’.
Use the mime-bundle storage format to store the attachments
2016-02-24 16:56:23 +01:00
Julien Rebetez
3462b34fca Implement markdown cell attachments. Allow drag’n’drop of images into markdown cells. See #613 2016-02-24 16:56:23 +01:00
Min RK
70367e77e3 remove unused force option from js dependencies 2016-02-24 16:05:09 +01:00
Min RK
67b54ffbec clarify jsdeps command description
it's js dependencies (both build and run)
2016-02-24 16:02:50 +01:00
Min RK
d7a0aba848 only write file in jsversion if there's a change to make
avoids updating the file's mtime unnecessarily, forcing a rebuild
2016-02-24 16:00:39 +01:00
Min RK
fdc1bb50da simplify js build steps
- run npm, bower install every time (except from sdist).
  Removes need to check npm, bower sources.
- only check `built/index.js` for build target
  since webpack is only a single step now
2016-02-24 16:00:39 +01:00
Min RK
b0a49719eb Merge pull request #1138 from takluyver/js-no-arrow-func
Don't use arrow functions in webpack js config
2016-02-24 15:58:56 +01:00
Thomas Kluyver
c6fe4db8e8 Don't use arrow functions in webpack js config
The => syntax doesn't work on the version of Node currently packaged in
Ubuntu - which is admittedly two years old, but it's what the
development install instructions point people to.
2016-02-24 13:58:07 +00:00
Thomas Kluyver
843e9a181a Merge pull request #1136 from minrk/close-restart-channel
channel.closed is a method
2016-02-24 13:17:13 +00:00
Min RK
6b82621b9a Merge pull request #1130 from takluyver/daemonic-test-server
Mark thread for test server as daemonic
2016-02-24 13:49:54 +01:00
Min RK
ba161b06dd teardown zmq Context explicitly at the end of each test group
Increases the chances of noticing when we aren't cleaning up our sockets properly.
2016-02-24 13:45:00 +01:00