Gordon Ball
08895738f2
Merge master
2014-08-20 16:44:58 +02:00
Gordon Ball
05f07f1f71
Add a number of extra tests for the range widgets
2014-08-20 16:25:53 +02:00
Gordon Ball
2be045fe25
Support both value tuple and upper, lower traits for both int and float widgets
2014-08-20 16:25:33 +02:00
Jonathan Frederic
8877d32c4e
Merge pull request #6194 from SylvainCorlay/immediate-widget-comm
...
Allow model id to be set externally on creation of the widget.
2014-08-19 14:33:03 -07:00
Jonathan Frederic
ed593f02f1
Merge pull request #6171 from tarzzz/slider-value-validate
...
Validate slider value, when limits change
2014-08-18 20:03:14 -07:00
Thomas Kluyver
fb00ee07b9
Merge pull request #6333 from minrk/tree-slash-redirect
...
allow slash in root->tree redirect
2014-08-18 11:11:54 -07:00
MinRK
7ee8403ed8
allow slash in root->tree redirect
...
before #6117 , only `/base_url/` worked,
after #6117 , only `/base_url worked,
after this PR, both should work.
2014-08-18 10:47:20 -07:00
Min RK
0539281c8a
Merge pull request #6318 from minrk/tornado-4-error-html
...
use write_error instead of get_error_html
2014-08-16 11:43:29 -07:00
MinRK
568034c349
use write_error instead of get_error_html
...
get_error_html is removed in tornado 4.0
2014-08-15 13:41:13 -07:00
Tarun Gaba
258b888835
added 'var'
2014-08-15 02:59:28 +05:30
Tarun Gaba
dda92ff7ea
Removed another stray alertO
2014-08-15 02:21:53 +05:30
Tarun Gaba
825186c868
Removed alert statement!
2014-08-15 02:19:26 +05:30
Tarun Gaba
539596bcdd
adressed @jdfrederer's concern!
2014-08-15 02:18:38 +05:30
Jonathan Frederic
690059f8f8
Merge pull request #6296 from jasongrout/sync-hold
...
Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits
2014-08-14 12:45:19 -07:00
Min RK
9c7bb48014
Merge pull request #6289 from takluyver/git-hooks-bash
...
Use bash shebang line for git hooks
2014-08-14 11:46:18 -07:00
Thomas Kluyver
91fbd4d6fd
Merge pull request #6303 from minrk/nbformat-error
...
Fix error message when failing to load a notebook
2014-08-13 17:46:59 -07:00
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
2014-08-13 14:40:51 -07:00
MinRK
cb3da26e61
display JSON error message on failed notebook load
...
if there is one (escaped for safety).
2014-08-13 14:27:12 -07:00
Jonathan Frederic
865fb20c00
Merge pull request #6284 from jasongrout/patch-6
...
Default view should be the base widget view class
2014-08-12 13:06:59 -07:00
Jason Grout
5cd46788f9
Before syncing a widget's state, check first for the property lock, then for the widget state lock
2014-08-12 18:23:57 +00:00
Jason Grout
af26d9cc24
Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits
...
Sometimes for consistency or efficiency purposes, it makes sense to update
a group of properties all at once. This context manager makes this possible.
We also fix a bug where send_state was not passing the key on to get_state.
2014-08-12 17:29:41 +00:00
Thomas Kluyver
e60f8bdda1
Merge pull request #6228 from jdfreder/eventful-list-dict
...
Add EventfulList and EventfulDict trait types.
2014-08-11 18:09:04 -07:00
Sylvain Corlay
f9fa4ada06
allowing widet id to be set externally
2014-08-11 18:36:59 +00:00
Jason Grout
8513f673e3
Make the widget comm attribute more straigtforward
...
Instead of automagically instantiating a comm when it is accessed, require a call to open(). This makes the comm attribute much less magical, and hopefully more understandable.
2014-08-11 18:36:59 +00:00
Jason Grout
16c366d1b5
Automatically open a comm on creation of widgets
...
This will immediately create a model on the javascript side when a widget is created. This means that, for example, a widget that only interacts with its model can work without "displaying" it.
2014-08-11 18:30:26 +00:00
Thomas Kluyver
d6517f51c3
Git hooks use bash specific syntax
2014-08-10 17:26:54 -07:00
Gordon Ball
8c5218b581
Default to 25-75% of min-max if no value is set instead of 0-1
2014-08-07 21:32:25 +02:00
Jason Grout
d64627380b
Default view should be the base widget view class
2014-08-07 13:12:15 -04:00
Gordon Ball
ff3f952b18
Merge branch 'master' into interact-range-widgets
...
Conflicts:
IPython/html/static/style/ipython.min.css
IPython/html/static/style/style.min.css
IPython/html/static/widgets/js/widget_int.js
2014-08-07 17:11:06 +02:00
Thomas Kluyver
8b4f30d8d1
Merge pull request #6280 from ivanov/mistune
...
nbconvert requires mistune
2014-08-06 16:25:43 -07:00
Paul Ivanov
6162c99028
nbconvert requires mistune
...
You get a cryptic error message from iptest if mistune is not installed.
Test group: nbconvert
E
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'nbconvert')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 403, in loadTestsFromName
module = resolve_name(addr.module)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 321, in resolve_name
obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'nbconvert'
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1
2014-08-06 15:37:29 -07:00
Jonathan Frederic
6026ef45d2
Merge pull request #6266 from Carreau/fix-lgw-css
...
fix loginwidget css
2014-08-06 10:56:41 -07:00
Jonathan Frederic
cffe958e4c
s/this/self
2014-08-04 14:22:16 -07:00
Jonathan Frederic
d31655f50a
kwarg on_events and hardcoded callbacks
2014-08-04 14:22:16 -07:00
Jonathan Frederic
e4860ae075
Use ternary operator for callback registration
2014-08-04 14:22:16 -07:00
Jonathan Frederic
22e210e981
Added on_events convinience method
2014-08-04 14:22:16 -07:00
Jonathan Frederic
3d6fcc6a60
Address review comments @takluyver
2014-08-04 14:22:16 -07:00
Jonathan Frederic
71ea1459ab
Add EventfulList and EventfulDict trait types.
2014-08-04 14:22:16 -07:00
Jonathan Frederic
ba0a805404
Merge pull request #6226 from jasongrout/css-top-default
...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
2014-08-04 13:46:01 -07:00
Jonathan Frederic
fd50a3228e
Merge pull request #6250 from minrk/double-free-widget
...
avoid unregistering widget model twice
2014-08-04 10:25:46 -07:00
Matthias BUSSONNIER
d1dc31c9de
fix loginwidget css
2014-08-03 18:09:35 +02:00
Thomas Kluyver
c15284d716
Merge pull request #6238 from ivanov/cm-heading-fonts
...
proportional font-size when editing heading cells
2014-08-01 10:03:42 -07:00
Thomas Kluyver
b95de43b97
Merge pull request #6253 from jasongrout/highlighting-bug
...
Copy codemirror mode configuration instead of changing it
2014-07-31 14:46:55 -07:00
Jason Grout
c80709e5a3
Copy codemirror mode configuration instead of changing it
...
If we change it, the modified (wrong) mode is saved in the notebook, which
wrecks havoc on highlighting once the notebook is saved and reopened.
2014-07-31 21:25:34 +00:00
Thomas Kluyver
4db6295fba
Merge pull request #6249 from minrk/always-https-mathjax
...
always use HTTPS getting mathjax from CDN
2014-07-31 13:44:37 -07:00
Min RK
19557d37ab
Merge pull request #5938 from minrk/contents2
...
add contents webservice
2014-07-31 12:24:53 -07:00
MinRK
09c1354ea7
avoid unregistering widget model twice
...
widgets are registered when the comm is created;
closing unregisters them. Calling `close` a second time
should be a no-op.
2014-07-31 12:23:03 -07:00
MinRK
b47ddffd42
always use HTTPS getting mathjax from CDN
2014-07-31 12:03:44 -07:00
MinRK
fae77bd133
remove unused project_dir
2014-07-31 11:57:38 -07:00
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
2014-07-31 11:57:38 -07:00