Commit Graph

190 Commits

Author SHA1 Message Date
Min RK
aa461d9e06 Merge pull request #1968 from takluyver/delete-to-trash
Send files to OS trash mechanism on delete
2017-10-20 11:41:25 +02:00
Vidar Tonaas Fauske
522fcf403c Add nbval to docs tests 2017-09-01 13:03:54 +02:00
Thomas Kluyver
1849b80287 Merge branch 'master' into delete-to-trash 2017-07-31 16:03:39 +01:00
Min RK
8a644a9794 restore r.js-based build system from 4.x 2016-12-22 18:44:46 +01:00
Thomas Kluyver
ad3ab9b8c7 Send files to OS trash mechanism on delete
This adds a config option, defaulting to use trash, and adds a
dependency on the pure-Python 'send2trash' package. Linux, Mac and
Windows should all be supported.

Alternatively, we could make it default to hard delete (the current
behaviour), and let users opt in to trash behaviour. Then Send2Trash
could be a soft dependency.

This doesn't touch the UI yet, so you still get a confirmation dialog
which inaccurately says it will 'permanently delete' the file. If we
want to do this, we'll need some way for the contents manager to pass
the UI a hint about whether deleting is permanent or not.

Closes gh-165
2016-12-12 16:10:21 +00:00
Adam Chainz
a947025308 Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-10-09 21:56:18 +01:00
Min RK
f707b78e54 exclude terminal tests on Windows 2016-09-13 15:04:47 +02:00
Peter Parente
de7753402b Cleanup CLI naming
Based on first review by @minrk

* bundlerextension for consistency
* Move CLI entry point into bundler package
* Add bundler/__main__.py

(c) Copyright IBM Corp. 2016
2016-07-02 14:57:10 -04:00
Peter Parente
8fb670904b First pass migrating from jupyter_cms
* Change handler for consistency with nbconvert
* Change bundler function API to take ContentManager models
* Change CLI to work as jupyter bundler
* Change UI to fit into existing template / JS structure

(c) Copyright IBM Corp. 2016
2016-07-02 14:36:17 -04:00
Sylvain Corlay
a91af4d642 Update traitlets API 2016-06-10 17:27:00 -04:00
Min RK
151bbb9d79 setup doesn't require genutils
the dependency is gone, but it was still declared
2016-06-04 21:46:23 +02:00
Min RK
41d6da235c Merge pull request #879 from ellisonbg/nbext-pain
New nbextensions installation API
2016-03-25 22:02:22 -07:00
Matthias Geier
69b09b5af0 Add instructions for getting the doc-building requirements
... and add docs/requirements.txt
2016-03-24 18:48:23 +01:00
Matthias Geier
ac89707ecc DOC: Trying to make a single place for contributor docs
See #1193.
2016-03-14 20:21:27 +01:00
damianavila
f437042e40 First iteration on serverextension CLI. List working OK. I have the check and revisit the other ones: enable, disable. 2016-02-26 09:32:02 -08: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
Matthias Bussonnier
6ab2cd0dd6 Show warnings during tests 2016-02-22 21:52:14 -08:00
Thomas Kluyver
9bcac1d629 Remove explicit Python 3.3 classifier
If we're going to explicitly list 3.3, we should also be listing 3.4 and
3.5. But really we're compatible with any fairly recent Python 3
version, and will probably be compatible with future versions, so I
think it's best to just use the overall Python 3 classifier.
2015-12-01 15:00:37 +00:00
Min RK
fda86ad301 formatting for long_description 2015-09-22 21:25:47 +02:00
Min RK
025b0a2957 use more conservative rule to pull in setuptools
setuptools shouldn't be used for 'sdist upload'
2015-09-22 21:25:44 +02:00
Safia Abdalla
6cec1eada4 Added long_description to setup.py 2015-09-09 16:49:29 -07:00
Safia Abdalla
a7fae2c6f9 Added description text to setup.py 2015-09-08 15:41:33 -07:00
Matthias Bussonnier
2d5d548d79 Revert "Use NPM, node ES5, and browserify." 2015-08-27 09:00:15 +02:00
jdfreder
b88fa0163a Use npm for js and less builds 2015-08-26 14:05:14 -07:00
Thomas Kluyver
e886d18add Use entry points for scripts
To make Windows exe launchers, see jupyter/jupyter#15
2015-08-13 14:02:42 -07:00
Min RK
d54d7904ee trigger gulp js as distutils step
ensures minified js is installed
2015-05-22 16:07:03 -07:00
Min RK
d71a59cc9f s/jupyter_notebook/notebook 2015-05-14 10:49:28 -07:00
Matthias Bussonnier
f47ec80c4f replace jupyter_nbformat by nbformat
Also replace the `import nbformat as nbformat` by `import nbformat`
and change the name of the installed egg.
2015-05-08 14:33:07 -07:00
Min RK
441c380d3b ipython_kernel is ipykernel 2015-05-08 13:25:37 -07:00
Min RK
011f60e46b s/jupyter_nbconvert/nbconvert/ 2015-05-08 10:36:45 -07:00
stuntgoat
d824088f7e add sphinx to extras 2015-04-21 15:37:14 -07:00
Min RK
f9cb268e0d add setup.py js
from JupyterHub

- fetches node tools locally with npm
- runs bower
- setup.py css uses local less as well,
  so no need to `npm install -g` anything.
2015-04-21 15:37:09 -07:00
Min RK
b9e241b8c1 remove unused IPython code from setup, setupbase 2015-04-21 15:37:06 -07:00
Min RK
402bd06c41 add ipython[kernel]
which depends on ipython_kernel

removing the need to install 'all' on travis
2015-04-09 19:39:24 -07:00
Min RK
aa44573181 remove qtconsole 2015-04-09 19:26:12 -07:00
Min RK
1c20a2baae remove ipython_parallel 2015-04-09 14:31:00 -07:00
Min RK
4317b94de5 remove nbformat
ipython[nbformat] depends on jupyter_nbformat
2015-04-08 19:23:06 -07:00
Min RK
f508433a8a add traitlets as setup.py dependency 2015-04-08 16:29:12 -07:00
Min RK
7d841d32c9 Revert "use testpath.tempdir for utils.tempdir" 2015-04-02 16:50:47 -07:00
Min RK
d97d8ced2f use testpath.tempdir for utils.tempdir
instead of adding tempdir to genutils
2015-04-02 15:20:56 -07:00
Min RK
089b0d09cd disable install from master
while it's broken by The Big Split

with informative note about `pip install -e`
2015-03-31 12:00:56 -07:00
Min RK
d88f832f06 remove pickleshare from external 2015-03-24 12:22:30 -07:00
MinRK
f0f9cdf3ae remove non-setuptools dependency checks 2015-03-23 11:22:10 -07:00
MinRK
d4e386b0bc remove simplegeneric from external
make it a dependency
2015-03-23 11:22:10 -07:00
MinRK
3f93c80d7e remove pexpect from external
make it a dependency on non-Windows
2015-03-23 11:22:09 -07:00
MinRK
e34f926e0e remove appnope from external
make it a dependency on OS X
2015-03-23 11:22:09 -07:00
MinRK
2f8f12cfb1 remove decorator from external 2015-03-23 11:22:09 -07:00
MinRK
31250d29b8 remove path from external 2015-03-23 11:22:08 -07:00
Thomas Kluyver
377081e02e Move IPython lexers module to lib
Closes gh-7941

I've left a backwards compatibility module in
IPython.nbconvert.utils.lexers - I don't know if anyone is importing it
directly, but since we put it in entry points, we should probably
consider it public API.
2015-03-03 15:57:22 -08:00
Min RK
809e79b6e4 bump pyzmq version dependency to 13
pyzmq < 13 doesn't work with tornado >= 3, which we also require.

This results in clearer error messages when pyzmq is too old.
2015-02-05 14:16:48 -08:00