Jonathan Frederic
c9973a7114
Float widget views now inherit from int counterparts
2014-01-22 15:00:36 -08:00
Paul Ivanov
9b7c8b0473
make the JS test fail
2014-01-22 14:45:20 -08:00
Jonathan Frederic
2bb9ba9a9c
Adjusted throttling
2014-01-22 12:53:59 -08:00
Jonathan Frederic
9560b29beb
Removed float widget bound tests,
...
once the int widget inherits from the float, or vise-versa, the tests
will be covered by the int
2014-01-22 12:12:08 -08:00
Jonathan Frederic
1b8b6b3a88
Fixed bug where views child to other views would not have cell information
2014-01-22 12:04:53 -08:00
Jonathan Frederic
f06a0a7d5e
Fixed a couple more context typos
2014-01-22 11:31:01 -08:00
Jonathan Frederic
629d65da89
Fixed context errors and a couple of typos to get the tests working again
2014-01-22 11:16:50 -08:00
Matthias Bussonnier
39a128e2a1
Merge pull request #4844 from minrk/tornado-logs
...
adjustments to notebook app logging
Mainly add a log_request function (from nbviewer) for formatting tornado access logs.
Relevant effects:
demote successful access logs to DEBUG
demote kernel connect messages to DEBUG
which reduces the noise at INFO-level (default)
2014-01-22 00:50:44 -08:00
Matthias BUSSONNIER
98101f9c6c
add js kernel_info request
2014-01-22 09:01:13 +01:00
Matthias BUSSONNIER
cbe162297f
XSS casper test
2014-01-22 08:34:47 +01:00
Kyle Kelley
345de4e674
Use *args, **kwargs, log.warn
2014-01-21 21:08:24 -06:00
Jonathan Frederic
99f3f5155e
Fixed some typos related to _.each loops
2014-01-21 17:23:12 -08:00
Jonathan Frederic
d7b86104b8
Fixed typo - else -> elif
2014-01-21 17:14:34 -08:00
Jonathan Frederic
046280b51a
s/ModalView/PopupView
2014-01-21 17:09:49 -08:00
Jonathan Frederic
7ce9f37b17
Made tests reflect changes to widget naming scheme.
2014-01-21 16:52:37 -08:00
Jonathan Frederic
10bd54bd30
Move js *RangeWidget code into *Widget
2014-01-21 16:49:35 -08:00
Jonathan Frederic
e323f64e6d
Create base widget classes
2014-01-21 16:44:57 -08:00
Jonathan Frederic
b432b4840f
Use CUnicode for width and height in ImageWidget
2014-01-21 16:33:49 -08:00
Jonathan Frederic
c5e48c0b75
Added some small comments to widget code
2014-01-21 16:32:18 -08:00
Jonathan Frederic
80c3339791
- remove second line in create_child_view
...
- add undefined check in delete_child_view
2014-01-21 16:29:59 -08:00
Jonathan Frederic
58f56a5dd7
Explicitly return null if there aren't any results
2014-01-21 16:28:26 -08:00
Thomas Kluyver
a9475b4a2b
Remove some leftover traces of irunner
2014-01-21 16:26:36 -08:00
Jonathan Frederic
08e40697de
Removed for () loops where necessary. Replaced with _.each
2014-01-21 16:26:03 -08:00
Jonathan Frederic
35a02a0436
Replace .html with .text everywhere possible
2014-01-21 15:38:37 -08:00
Jonathan Frederic
af4809bec4
Prefer JQuery to Underscore
2014-01-21 15:24:47 -08:00
Jonathan Frederic
d9a703d305
'create' should be handled in sync
2014-01-21 15:22:26 -08:00
Jonathan Frederic
2b27b4101b
Remove todo in apply update
2014-01-21 15:21:44 -08:00
Jonathan Frederic
e823d386ab
Fixed name conflict with _property_lock
2014-01-21 15:18:49 -08:00
Jonathan Frederic
077bd5c6ca
Added new CallbackDispatcher class
2014-01-21 15:14:27 -08:00
Jonathan Frederic
611614b6eb
Document in widget packing that vaues must be JSON-able.
2014-01-21 14:25:08 -08:00
Jonathan Frederic
cf05ef015a
ict comprehension and list comprehension in pack/unpack widgets
2014-01-21 14:23:44 -08:00
Jonathan Frederic
cb6094281c
s/custom_content/content
2014-01-21 14:17:57 -08:00
Jonathan Frederic
5fe860ed26
Added doc strings to properties in widget.py
2014-01-21 14:16:24 -08:00
Jonathan Frederic
1689eed2f6
Reorganized attrs in widget.py
2014-01-21 14:13:33 -08:00
Kyle Kelley
104275ab73
Indicate Py3 vs. Py2 codepath.
2014-01-21 14:47:58 -06:00
Jonathan Frederic
097951a6b8
Remove residual tabs
2014-01-21 12:35:39 -08:00
Kyle Kelley
5800b1c625
Get rid of exc_info as there isn't an exception.
2014-01-21 13:23:09 -06:00
Kyle Kelley
7b552d862d
Add Origin Checking.
2014-01-21 12:55:52 -06:00
MinRK
c2cb64c9a0
adjustments to notebook app logging
...
Mainly add a log_request function (from nbviewer) for formatting tornado access logs.
Relevant effects:
- demote successful access logs to DEBUG
- demote kernel connect messages to DEBUG
which reduces the noise at INFO-level (default)
2014-01-21 10:48:24 -08:00
Jonathan Frederic
b7cd129c37
Added a line that was accidently deleted during merge of 4e813c5
2014-01-21 11:05:32 +00:00
Jonathan Frederic
691cd56038
Change the callback logic so the order makes more sense:
...
*Now*
View calls Model which calls Widget Manager
*instead of *
View calls Widget Manager, which then the Model modifies right
before sync
2014-01-21 11:00:45 +00:00
Jason Grout
fe6edb26a6
Rewrite widget syncing
...
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
2014-01-21 10:13:42 -08:00
Matthias BUSSONNIER
149867e74c
some $.html( -> $.text(
...
Thoses that are obvious and easy to fix.
we shoudl have I think a travis test that grep for .html( and return
less than 20 lines :-)
2014-01-17 22:25:33 -08:00
Jonathan Frederic
e17200a533
Widget require.js fix
...
The WidgetManager namespace is passed around instead of a
widget_manager instance...
2014-01-17 17:03:29 +00:00
Jonathan Frederic
c39050e642
Fixed widget_manager instance test.
2014-01-17 16:32:58 +00:00
Jonathan Frederic
469c865603
Added support for multiple kernels.
2014-01-17 16:22:57 +00:00
Jonathan Frederic
6871c8f9e0
Cherry pick of @jasongrout 's 2bc2f96.
...
Only merged changes to notebook and kernel... (see original comment below).
Separate the widget registry from the widget managers;
attach widget managers to kernels.
Yet to do: take care of clean-up when a kernel is deleted
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
2014-01-17 15:36:49 +00:00
Jason Grout
140d1872f7
Delete unnecessary save
2014-01-17 15:21:30 +00:00
Jason Grout
ce19a34d93
Pass the whole message into the widget manager display_view call
...
We do this so implementations can see metadata and any other things in the message, if they want.
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
2014-01-17 15:21:06 +00:00
Jason Grout
840577ffc7
update example notebooks
2014-01-17 15:10:59 +00:00