Commit Graph

11 Commits

Author SHA1 Message Date
Jason Grout
d3bd5ac96a Fix error when overwriting a bad symbolic link installing an nbextension
The unit test fails before this fix and works after this fix.
Basically, if the already-installed symlink is a bad link, .exists()
returns False (so the existing link is not removed), while .lexists()
will return True (so the existing link is removed).
2015-01-28 23:54:24 +00:00
Jason Grout
c93a31ce70 Change install_nbextension to take install only a single nbextension (file, folder, archive, url), with an optional destination argument 2015-01-27 19:18:35 +00:00
Jason Grout
009dcf43cf change filename to unicode string 2015-01-22 23:06:18 +00:00
Jason Grout
ad35813576 Make nbextension test a little clearer about the intent. 2015-01-22 22:33:45 +00:00
Jason Grout
9701ce1752 Add some unit tests for the new dictionary syntax for installing nbextensions 2015-01-22 21:49:33 +00:00
Min RK
f3da69c38d allow system-wide paths for nbextensions
like kernel specs, default install is `/usr/local/share/jupyter/nbextensions`

add `--user` for .ipython/nbextensions path
2015-01-09 14:15:31 -08:00
MinRK
3ada0c2c27 Remove separate 'path', 'name' in Contents API
- path is full path (including name)
- name is only used for read-only convenience, and plays no role in any API
- remove 'untitled upload' (POST with content and no path)
2014-11-10 14:02:18 -08:00
MinRK
1ed5b184fb test installing nbextensions with symlink 2014-02-14 15:02:02 -08:00
MinRK
8353e85e48 test check_nbextension 2014-02-13 19:46:36 -08:00
MinRK
f3664e1beb support URLs and zip/tarballs in install_extension 2014-02-08 20:08:15 -08:00
MinRK
704b349302 add IPython.html.nbextensions.install_nbextension
for installing files into IPYTHONDIR/nbextensions
2014-02-08 20:02:56 -08:00