Jonathan Frederic
1797243f7a
Fix tests
2014-08-28 11:09:55 -07:00
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
2014-08-28 11:09:55 -07:00
Paul Ivanov
78918ba827
Merge pull request #6359 from minrk/build-css
...
build css
2014-08-28 10:35:02 -07:00
Paul Ivanov
583fc21488
Merge pull request #6371 from minrk/dashboard-test-quickfix
...
minor fixes in dashboard tests
2014-08-28 10:34:01 -07:00
MinRK
fb0421107c
minor fixes in dashboard tests
...
events and regular expressions weren't quite right, which could cause occasional test failures.
2014-08-27 13:51:49 -07:00
MinRK
6345b6c874
fix handling of no-checkpoint-defined
...
a few typos and missing handling of undefined checkpoint
regression introduced in #6205
2014-08-27 13:17:19 -07:00
Min RK
89f5ec3677
Merge pull request #6306 from coderforlife/master
...
Minor improvements to file upload.
2014-08-26 17:22:45 -07:00
MinRK
318d46d647
build css
...
looks like a recent PR didn't have a final render of the LESS
2014-08-26 09:33:14 -07:00
Jonathan Frederic
cf0ca9d4a5
Merge pull request #6050 from chronitis/interact-range-widgets
...
Range widgets
2014-08-25 21:40:21 -07:00
Jonathan Frederic
1b29be13c6
Merge pull request #6332 from jasongrout/widget-property-lock
...
Widget property lock should compare json states, not python states
2014-08-25 10:12:04 -07:00
Gordon Ball
9383822d7a
Clean up validation in __init__
2014-08-24 12:26:56 +02:00
Gordon Ball
a096d01310
Test case for setting only lower or upper, no sensible default so should be an error
2014-08-24 12:26:02 +02:00
Gordon Ball
a12b1a50a9
Change range
trait to _range
2014-08-24 11:48:19 +02:00
Gordon Ball
1a8b77231e
Remove errant tabs from js
2014-08-24 11:32:03 +02:00
Matthias Bussonnier
77ec6fdfa2
Merge pull request #6205 from Carreau/momentjs
...
use momentjs for nicer dates
2014-08-23 22:19:08 +02:00
Gordon Ball
b8c0afbb55
Merge master
2014-08-22 10:19:03 +02:00
Brian E. Granger
4b22230896
Merge pull request #6305 from minrk/switch-kernel-close-ws
...
JS: close WebSockets when killing kernels
2014-08-20 17:38:46 -04:00
Brian E. Granger
94f717781d
Merge pull request #6125 from jdfreder/flex
...
Embrace the flexible box model in the widgets
2014-08-20 14:15:22 -04:00
Jonathan Frederic
62bd36bcc9
s/that/this bug
2014-08-20 09:34:25 -07:00
Jonathan Frederic
be3ba35736
Fix typo in deprecated class name.
2014-08-20 09:34:05 -07:00
Gordon Ball
8838762b30
Remove a rogue print statement
2014-08-20 16:49:52 +02:00
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
MinRK
d5a4553b8e
improve indicators and handling of dead kernels and broken websocket connections
...
I think it's still possible to get to a state with no kernel and insufficient indication.
Imperfect, but an improvement.
2014-08-18 10:50:25 -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
Jason Grout
0e5ceca059
Make the widget property_lock store the JSON state, not the original object
...
Comparison between arbitrary python objects can get crazy, whereas we really
only care about if the JSON state we are syncing is different. So with this change,
we store and check against the JSON state.
2014-08-18 17:28:07 +00: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
Jonathan Frederic
2790684a17
Fixed typo
2014-08-15 10:41:43 -07:00
Jonathan Frederic
a12b302597
renamed: widget_container.js -> widget_box.js
2014-08-15 10:37:46 -07:00
Jonathan Frederic
afdba2fd47
Fix logic, use box where applicable
2014-08-15 10:14:04 -07:00
Jonathan Frederic
9b5ece6661
Make popup inherit from widget box
2014-08-14 16:09:50 -07:00
Jonathan Frederic
371b12a9b0
Fab CSS
2014-08-14 15:53:13 -07:00
Jonathan Frederic
0aca365718
Address Sylvain's comments.
2014-08-14 15:51:41 -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
Jeffrey Bush
f141a6926a
File list refreshes no longer move the upload filename boxes.
...
The new file list is always placed after the upload filename boxes. I also removed the autorefresh guards against refreshing while having an upload box since this is no longer a problem.
2014-08-13 23:58:20 -07:00
Jeffrey Bush
1f68e22486
Fixed many edge cases in file uploads.
...
When there is an error reading a file, a message is shown (I could reproduce this easily by dragging a folder onto the list), added a missing "return false;" after an illegal notebook was detected, and we prevent no-name files and files starting with dots (which will not be visible in dashboard and automatically overwritten).
2014-08-13 22:55:53 -07:00
MinRK
0909694b50
avoid race condition when deleting/starting sessions
...
javascript doesn't guarantee the order of AJAX requests,
so we give `Session.delete` and `Kernel.kill` a callback signature.
Changing the kernel type calls `Notebook.start_kernel`,
which terminates the previous session, if defined,
before starting the new one.
A flag is stored, to prevent multiple simultaneous attempts to start sessions, raising a SessionAlreadyStarting Error,
preventing the spec_changed event from firing.
2014-08-13 22:11:32 -07:00
Jeffrey Bush
305c734830
Uploading a file with a name that already exists asks the user if they want to overwrite.
...
This is not perfect (it doesn't check against the real filesystem but the current list in the browser which may be stale) but it is better than nothing.
2014-08-13 22:07:57 -07:00
MinRK
bd5a88e954
handle undefined or closed zmq_stream in on_message
...
can happen if a message is waiting in a pipe and the web socket is closed before the message is handled.
And give ZMQChannels a nice repr with their kernel ID
2014-08-13 21:51:52 -07:00
Jeffrey Bush
5fff038965
Added ESC keep to upload textbox to cancel.
2014-08-13 20:57:35 -07:00
Jeffrey Bush
defabcc772
Minor improvements to file upload.
...
Updated file upload so that the icon of the new upload item reflects if it is a file or notebook, added the ability to use the "Enter" key in the filename text box to cause the upload to happen, and make it so that the list of files refreshes immediately upon successful upload.
2014-08-13 17:16:05 -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