Commit Graph

3818 Commits

Author SHA1 Message Date
Jonathan Frederic
f1269d3de3 Add order respecting method 2014-07-08 10:57:56 -05:00
Jonathan Frederic
636362787b Fixed buggy behavior 2014-07-08 10:57:56 -05:00
Jonathan Frederic
14ff754cdf Allow a widget to be displayed more than once within a parent widget. 2014-07-08 10:57:56 -05:00
Min RK
7af9f5f1f8 Merge pull request #6061 from minrk/cors
make CORS configurable
2014-07-06 22:57:12 -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
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
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
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
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
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
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
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
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
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
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
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
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
Thomas Kluyver
e0e91460c8 Require jsonschema for nbformat, html and nbconvert tests 2014-06-10 12:11:16 -07:00
Thomas Kluyver
37e4ef83b1 Move strip_ansi function to utils 2014-06-10 12:05:46 -07:00
Brian E. Granger
eab07229ef Merge pull request #5617 from jdfreder/bootstrap3
Migrate from Bootstrap 2 to Bootstrap 3
2014-06-10 10:51:50 -07:00
Jonathan Frederic
dba9a04f27 Removed block commented tour step (never worked anyways) 2014-06-10 10:50:34 -07:00
Jonathan Frederic
e31fa6cf2c Fix bootstrap tour 2014-06-10 10:14:14 -07:00
Jonathan Frederic
99b1747c60 Bootstrap Tour related fixes 2014-06-09 17:46:20 -07:00
Jonathan Frederic
bccb7ddaea Fab CSS 2014-06-09 16:14:07 -07:00
Jonathan Frederic
ea29056e7c Review #2 2014-06-09 16:13:59 -07:00
Thomas Kluyver
82e2ea7e47 Merge pull request #5323 from jdfreder/slimerjs
Add support for Firefox JS testing
2014-06-09 15:02:14 -07:00
Jonathan Frederic
63350a4d54 Fab CSS 2014-06-09 12:13:31 -07:00
Jonathan Frederic
1224af6028 Fixed cell toolbar select font size 2014-06-09 12:13:21 -07:00
Jonathan Frederic
cd289b6bdf Fab CSS 2014-06-09 12:06:29 -07:00
Jonathan Frederic
83eee97e95 Review comments 2014-06-09 12:05:40 -07:00
Jonathan Frederic
3bb8c472cd Modal fixes for BS3 2014-06-09 12:05:40 -07:00
Jonathan Frederic
4917aba5e4 Fab CSS 2014-06-09 12:05:40 -07:00
Jonathan Frederic
2d8afab3d4 Fix widget widths for Bootstrap3 2014-06-09 12:05:40 -07:00