Commit Graph

36 Commits

Author SHA1 Message Date
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
MinRK
7fe1b00cdc mention double-control-C to stop notebook server
in the initial log message.

closes #2971
2013-07-06 10:50:11 -07:00
MinRK
563d9372bf up default max_msg_size to 1MB 2013-07-05 22:17:39 -07:00
MinRK
3ffc6d0ab5 Application.launch_instance
removes `new` from method name, since it isn't accurate.
2013-07-04 12:48:07 -07:00
MinRK
63b65b8c6c use launch_new_instance classmethod to launch apps 2013-07-04 12:23:31 -07:00
Matthias Bussonnier
9640b57161 Merge pull request #3528 from minrk/staticbase
fix local mathjax with custom base_project_url
2013-07-04 02:24:34 -07:00
MinRK
b20845172b fix local mathjax with custom base_project_url
closes #2720
2013-07-03 17:34:00 -07:00
Thomas Kluyver
a2bf752dba Remove unused imports in IPython.html 2013-07-02 22:31:40 +01:00
MinRK
bd03a99e28 use parent=self throughout IPython
instead of `config=self.config`

only real effective change: IPythonKernelApp.parent has been renamed to IPKernelApp.parent_handle.
2013-06-29 12:41:17 -07:00
MinRK
a3653e34b1 update references for IPython.html 2013-06-27 11:14:10 -07:00
MinRK
cf726d6a40 mv IPython.html.notebook -> IPython.html 2013-06-27 11:14:10 -07:00