Commit Graph

60 Commits

Author SHA1 Message Date
Matthias Bussonnier
0ec0534ce9 Merge pull request #4796 from minrk/update-components
update components

closes #4765
2014-01-16 09:53:07 -08:00
Thomas Kluyver
3673bc6305 Merge pull request #4788 from minrk/warn-pylab-notebook
warn when notebook is started in pylab mode
2014-01-13 17:04:20 -08:00
Min RK
ec77ad18b7 Merge pull request #4772 from takluyver/nbserver-files
Notebook server info files
2014-01-13 16:57:48 -08:00
Thomas Kluyver
fcb21fed17 Make names in JSON more consistent as per @ellisonbg's suggestion. 2014-01-13 16:25:39 -08:00
Thomas Kluyver
e932429762 Command line entry point to list running notebook servers 2014-01-13 16:22:43 -08:00
MinRK
063bfa9688 we don't bundle lessc anymore, remove its vestiges 2014-01-13 16:17:50 -08:00
MinRK
a485df87eb mention that ipython notebook --pylab will be disabled 2014-01-13 15:19:13 -08:00
MinRK
db4c814812 warn when notebook is started in pylab mode
because it is always a bad idea
2014-01-12 11:43:02 -08:00
Thomas Kluyver
15f94953bb Fix writing server info files on Python 2 2014-01-08 17:56:12 -08:00
Thomas Kluyver
71902059d3 Write notebook server info file in security directory 2014-01-08 13:02:36 -08:00
MinRK
b62da23660 render custom HTML for error pages 2013-12-22 17:46:41 -08:00
Thomas Kluyver
30e8939a27 Separate listing nbconvert exporters to /api/nbconvert 2013-12-13 14:46:51 -08:00
Thomas Kluyver
7655ce579e Add HTTP handlers for nbconvert 2013-12-13 14:46:50 -08:00
MinRK
24e5153246 fix warning condition on notebook startup
should have only warned if file_to_run is defined *and* it's outside the notebook_dir,
but warning was shown even if it was not specified.
2013-11-15 10:35:34 -08:00
Thomas Kluyver
d4532983f4 Convert print statements to print function calls
libmodernize.fixes.fix_print
2013-10-29 09:14:15 -07:00
Paul Ivanov
f04eca3ddd remove monkey patch for older versions of tornado
Since we now depend on Tornado >= 3.1, this code path is no longer
necessary
2013-10-28 11:07:24 -07:00
Thomas Kluyver
daf15735bd Merge pull request #4428 from minrk/tornado-3.1
bump minimum tornado version to 3.1.0
2013-10-23 14:36:25 -07:00
MinRK
6fa13ebb98 bump minimum tornado version to 3.1.0
The no-hidden behavior of the files handler
already requires this, but instead of raising, it just doesn't hide hidden files.

Bumping the minimum version also allows much cleaner static file handler subclasses.
2013-10-23 14:04:35 -07:00
MinRK
79a7b1e421 fix tornado log propagation
in the notebook
2013-10-23 12:01:45 -07:00
Paul Ivanov
641fdc77a7 include the # of active kernels in server info 2013-10-23 11:03:11 -07:00
MinRK
a45e997176 don't warn when open_browser and not file_to_run 2013-10-22 09:54:28 -07:00
MinRK
18022a7db8 don't relay notebook dir to kernel from command-line 2013-10-21 20:34:05 -07:00
MinRK
bf58dddf26 single warning message for bad startup notebook 2013-10-20 14:13:38 -07:00
MinRK
714afa7b0f fix initial-file opening in the notebook 2013-10-17 14:09:20 -07:00
MinRK
ac5434efba properly hook up tornado loggers 2013-10-17 14:09:15 -07:00
MinRK
16e8d0ff43 adjust definition of 'path' in notebooks
never includes leading or trailing '/'
2013-10-17 14:09:13 -07:00
Zachary Sailer
04c6a3cfac refactoring of nbmanager and filenbmanager
major clean up of the two managers. We make sure to follow
the standard models described in IPEP 16
2013-10-17 14:09:10 -07:00
Paul Ivanov
f517d44d4b removing contents changes from this PR 2013-10-17 14:09:10 -07:00
Zachary Sailer
2372628552 entry from command line to notebook 2013-10-17 14:09:07 -07:00
Zachary Sailer
91f25dc046 add contents web service api 2013-10-17 14:09:05 -07:00
Zachary Sailer
f998dae05f manual rebase notebookapp.py 2013-10-17 14:07:49 -07:00
MinRK
4d48a84c8b catch EACCES when binding notebook app
can come up for low ports on *ix, or user access control restrictions on Windows.

closes #4308
2013-09-30 11:20:42 -07:00
MinRK
cb953bfcc7 limit random ports to positive values 2013-09-30 11:14:34 -07:00
MinRK
eae0cc7e77 s/nb_extensions/nbextensions 2013-09-26 17:07:38 -07:00
MinRK
06b2fdc076 serve local mathjax from nb_extensions 2013-09-26 17:07:37 -07:00
MinRK
84e2384acf s/js_extensions/nb_extensions 2013-09-26 17:07:37 -07:00
MinRK
c85292cf2e add js_extensions_path
serves files in `IPYTHONDIR/js_extensions` at `/js_extensions`.

This is a location for users / devs to drop-in frontend customization as js modules, css, etc.

The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc.

It's a configurable search path, just like static. This way we can define a system-wide location at a later point (/usr/share/ipython/js_extensions?) and still have user installs.
2013-09-25 16:24:40 -07:00
MinRK
c8cea9d807 avoid executing code in utils.localinterfaces at import time
moves away from global constants to utility functions.

The code is still only executed once,
but instead of at import time, it is executed at first request.
2013-09-18 16:12:00 -07:00
MinRK
bce60e1be7 pass profile-dir instead of profile to Kernel
avoids relative path issues for local profiles
when the notebook server starts in a different directory
from the kernels.
2013-08-23 09:17:35 +02:00
Matt Henderson
b7ed106d11 must...bring...back...comma 2013-08-15 16:49:42 -07:00
Matt Henderson
af03eb6d1b Modified initial template_path to pickup any overridden value by the user 2013-08-15 16:28:19 -07:00
Matt Henderson
918d872f2c needed proper dict syntax 2013-08-14 18:17:44 -07:00
Matt Henderson
56b33145e7 Fixed custom jinja2 templates being ignored when setting template_path 2013-08-14 17:40:48 -07:00
MinRK
698953e8b1 don't recommend ipython notebook --matplotlib 2013-07-29 11:27:51 -07:00
Matthias BUSSONNIER
8b71a49fc2 remove again a few other occurences 2013-07-29 00:31:54 +02:00
MinRK
f9dd129e1c remove notebook read-only view
it is largely broken, and had problematic security issues.
2013-07-23 13:22:05 -07:00
MinRK
af7564253d remove a bunch of unused default_config_file assignments
These are never used, I don't know where they came from
2013-07-15 17:01:43 -07:00
Matthias Bussonnier
9b08a557e5 Merge pull request #3538 from minrk/launch_ip
add IPython.start_ipython

A public API for starting a real (non-embedded) IPython instance.

should avoid API breakage in the future due to simple module renames, as has just happened with the removal of frontend.

For implementation purposes, I have added launch_new_instance as a classmethod on Application. I did this, because I wanted to add the ability to pass arguments to the instance, and didn't want to manually update every duplicate launch_new_instance.

closes #1537
2013-07-10 01:59:53 -07:00
Min RK
f0db998d4d Merge pull request #3560 from minrk/longcell
Remove max_msg_size

The max_msg_size safety limit is just removed.

closes #3124
2013-07-09 11:50:53 -07:00
MinRK
39578beabc remove max_msg_size altogether
It was a security feature without an application.
2013-07-09 09:37:36 -07:00