Commit Graph

4708 Commits

Author SHA1 Message Date
Thomas Kluyver
d4ffeaa1f8 Merge pull request #6094 from minrk/sign-profile
add some documentation notes about trust being per-profile
2014-07-07 15:22:23 -05:00
MinRK
979ef8257d add some documentation notes about trust being per-profile 2014-07-07 14:56:00 -05:00
Min RK
7af9f5f1f8 Merge pull request #6061 from minrk/cors
make CORS configurable
2014-07-06 22:57:12 -05:00
Thomas Kluyver
18407607a5 Merge pull request #6076 from minrk/cookie-secret
persist notebook server cookie secret in security dir
2014-07-06 22:33:33 -05:00
MinRK
0d9ba93307 persist notebook server cookie secret in security dir
prevents loss of login after relaunching the notebook server

closes #6075
2014-07-06 22:21:59 -05:00
Min RK
65c7c3f9e7 Merge pull request #6053 from minrk/execute-preprocessor
Add execute preprocessor

closes #5639
2014-07-01 09:37:35 -07:00
MinRK
1edc97e34a s/cors_/allow_/
add notes about Tornado 4, and comments, updates per review
2014-06-30 10:40:31 -07:00
Jonathan Frederic
336a49eb18 Merge pull request #5995 from Carreau/clean-backward-compat
remove backward compat `container` in output area as planed.
2014-06-29 16:27:05 -07:00
Min RK
ba16f5ab0c Merge pull request #6062 from minrk/rm-2.1.11
Remove a sleep no longer needed with the current base zmq version
2014-06-28 11:15:14 -07:00
Matthias BUSSONNIER
db5b58360e remove backward compat container in output area as planed. 2014-06-28 12:41:18 +02:00
MinRK
2460879e81 Remove a sleep no longer needed with the current base zmq version 2014-06-27 17:53:14 -07:00
MinRK
acf0da01d9 make CORS configurable
allows setting CORS headers.

- cors_origin sets Access-Control-Allow-Origin directly
- cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1]
- cors_credentials sets Access-Control-Allow-Credentials: true

To allow CORS from everywhere:

    ipython notebook —NotebookApp.cors_origin='*'
2014-06-27 17:47:56 -07:00
Thomas Kluyver
0f8bdaa8dc Merge pull request #4980 from minrk/remove-parent-app
remove KernelApp.parent_appname
2014-06-26 17:07:36 -07:00
MinRK
11bcc6e1e5 merge separate input/expected notebooks for execute preprocessor 2014-06-26 16:33:13 -07:00
MinRK
78a8cb877f remove KernelApp.parent_appname
This allowed the Kernel to load config from ipython_qtconsole_config.py
or ipython_notebook_config.py, depending on the parent that started the kernel.
This is of limited usefulness, and can add weird, unexpected side effects.
2014-06-26 16:28:32 -07:00
Min RK
9f1dc1b99f Merge pull request #5803 from Carreau/ulh
unify visual line handling
2014-06-26 15:33:32 -07:00
Julia Evans
06adb299c0 Oops, preprocessor*s* 2014-06-26 13:21:28 -07:00
Julia Evans
4fcf0df53a Add preprocessor test inputs to find_package_data() 2014-06-26 13:21:28 -07:00
Min RK
3fd6d371d7 Merge pull request #6015 from jcjaskula/dashboardExtensions
Creating an entry point for notebook manager extensions
2014-06-26 11:59:06 -07:00
Thomas Kluyver
85733cafa1 Merge pull request #6046 from minrk/raw-input-invalid
fix stream output created by raw_input
2014-06-25 18:13:05 -07:00
Thomas Kluyver
1e3ed7d30a Merge pull request #6044 from minrk/core.log
add IPython.utils.log.get_logger
2014-06-25 18:12:52 -07:00
MinRK
ad4cb2c35a fix stream output created by raw_input
was using incorrect 'name', when it should have been 'stream',
creating invalid content in notebook documents.
2014-06-25 15:20:13 -07:00
MinRK
de0a7d7850 use utils.log.get_logger where appropriate 2014-06-24 20:16:46 -07:00
Thomas Kluyver
669c67ad97 Merge pull request #6042 from minrk/import-less-than-everything
reduce a few implicit imports
2014-06-24 16:14:37 -07:00
MinRK
e64f689374 don’t import IPython.parallel until it’s used
in IPython.html.notebookapp
2014-06-24 15:53:27 -07:00
Jean-Christophe Jaskula
9c2c680e8f Creating an entry point for notebook manager extensions
- Firing app_initialized.DashboardApp event when loaded the notebook manager
- Updating tree.html template to load nbextensions through custom.js
2014-06-24 15:03:29 -04:00
Matthias Bussonnier
5055bb3b46 Merge pull request #6037 from jzwinck/patch-2
Fix typo in docs
2014-06-24 19:49:56 +02:00
John Zwinck
1be538a945 Fix typo in docs 2014-06-24 15:09:51 +08:00
Min RK
c9961b44b6 Merge pull request #6000 from AlbertHilb/FloatWidgetValueFix
Validate initial value of "_BoundedFloatWidget".
2014-06-21 13:20:57 -05:00
Thomas Kluyver
3b92c7c24f Merge pull request #6011 from minrk/no-jsonapi
only use zmq.jsonapi when talking to zmq sockets
2014-06-18 14:45:31 -07:00
Min RK
99f52dee68 Merge pull request #5827 from takluyver/kernelspec-rest-api
Kernel specs REST API
2014-06-18 13:53:41 -07:00
MinRK
44d2a5b62a only use zmq.jsonapi when talking to zmq sockets
use stdlib json otherwise
2014-06-18 13:41:40 -07:00
Thomas Kluyver
ebf0ea32ef Use stdlib json, not zmq jsonapi 2014-06-18 12:51:41 -07:00
Min RK
878768a8ae Merge pull request #6003 from stevenmanton/master
Set kernel_id before checking websocket
2014-06-17 12:50:06 -07:00
Steven Anton
f937045395 Set kernel_id before checking websocket
If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.
2014-06-17 12:29:55 -07:00
Raffaele De Feo
694f33e2ba Validate initial value of "_BoundedFloatWidget". 2014-06-17 15:02:28 +02:00
Thomas Kluyver
85ce34bc66 Kernel resource handlers now require authenticated user 2014-06-16 15:24:30 -07:00
Min RK
8c60671cb8 Merge pull request #5975 from Carreau/simple-styling
inherit style instead of duplicating it
2014-06-13 16:58:10 -07:00
Matthias BUSSONNIER
7128ff5148 add instruction to pin lessc 2014-06-13 21:56:39 +02:00
Matthias BUSSONNIER
fd4dd9246e inherit style instead of duplicating it 2014-06-13 21:56:39 +02:00
Thomas Kluyver
a942db896c Merge pull request #5972 from takluyver/js-tests-xunit
Add Xunit support for JS tests
2014-06-11 09:49:39 -07:00
Thomas Kluyver
19f0362bb5 Add Xunit support for JS tests
Casper supports producing xunit output. WIth this, our --xunit flag gets
passed down to the JS test process. This should give nicer output for
JS test failures on Jenkins.
2014-06-11 09:30:27 -07:00
Brian E. Granger
deb32ade89 Merge pull request #5974 from jdfreder/emergency
Emergency JS tests fix
2014-06-11 09:00:11 -07:00
Jonathan Frederic
63f136af2b Fixed test to reflect new Bootstrap3 toggle button behavior. 2014-06-10 17:32:17 -07:00
Jonathan Frederic
22812d36b3 Use waits instead of sleeps. 2014-06-10 17:23:21 -07:00
Jonathan Frederic
5acb525c43 Wait for keyboard help fadein and fadeout. 2014-06-10 16:36:02 -07:00
Thomas Kluyver
7623437b61 Merge pull request #5971 from takluyver/jsonschema-test-dep
Allow tests to run without jsonschema
2014-06-10 15:47:14 -07:00
Thomas Kluyver
556257a66b Fix bootstrap location in package_data 2014-06-10 13:00:47 -07:00
Thomas Kluyver
d39cf0e927 Add jsonschema & jsonpointer requirements for JS tests 2014-06-10 12:38:46 -07:00
Thomas Kluyver
38d1f3dbc5 nbformat also requires jsonpointer 2014-06-10 12:37:45 -07:00