Commit Graph

4329 Commits

Author SHA1 Message Date
Thomas Kluyver
c4a9cf9020 Fix logic 2014-10-05 09:35:54 -07:00
Thomas Kluyver
09b10dcb86 Make changes suggested by @jdfreder 2014-10-05 09:35:54 -07:00
Thomas Kluyver
5953a3f874 Allow widget views to be loaded from require modules
This required refactoring things that create widget views to use
callbacks instead of return values.
2014-10-05 09:35:53 -07:00
Matthias Bussonnier
e808d23594 Merge pull request #6607 from minrk/cluster-load-remove
remove deleted profiles from cluster list
2014-10-05 11:45:58 +02:00
Matthias Bussonnier
ffc574d4dd Merge pull request #6596 from minrk/stream-text
msgspec 5: stream.data -> stream.text
2014-10-05 11:40:02 +02:00
Matthias Bussonnier
e504ea6d1f Merge pull request #6608 from minrk/rm-delayed-callback
stop using deprecated DelayedCallback
2014-10-04 21:21:49 +02:00
Matthias Bussonnier
b0cecaf91b Merge pull request #6606 from minrk/logname
use app name on tornado log statements
2014-10-04 12:22:49 +02:00
Jason Grout
7700848737 Add semantic classes to top-level containers for single widgets
This makes it much easier to customize all widgets of a certain type using
CSS.  For example, to change just the IPython widget selects, a CSS
rule like .widget-select select {...} should work well.
2014-10-03 19:13:49 +00:00
MinRK
ee1d9d65f3 stop using deprecated DelayedCallback
in favor of simpler IOLoop.add_timeout

It was added in pyzmq, but deprecated in pyzmq-13.
2014-10-03 12:05:23 -07:00
MinRK
1f231f7b5a remove deleted profiles from cluster list 2014-10-03 11:36:19 -07:00
MinRK
84a72ae87a use app name on tornado log statements
avoids mixture of 'tornado.access' and 'NotebookApp'
2014-10-03 11:07:36 -07:00
Sylvain Corlay
8a384cd489 adding a tooltip in IPython buttons 2014-10-03 16:41:34 +00:00
Matthias Bussonnier
0d9db64180 Merge pull request #6582 from jdfreder/symmetric_state
Symmetric widget get/set_state
2014-10-03 09:10:56 +02:00
Matthias Bussonnier
eeb9cb0209 Merge pull request #6558 from jhamrick/kernel-start-failure
Handle kernel start failures more gracefully
2014-10-03 09:04:00 +02:00
Jessica B. Hamrick
1d6359f970 Use codemirror for error messages 2014-10-02 16:33:35 -07:00
Min RK
28edb94897 Merge pull request #6488 from jhamrick/lock-cells
Proof of concept for preventing cell deletion via metadata
2014-10-02 15:55:07 -07:00
MinRK
f69b1b15a3 msgspec 5: stream.data -> stream.text 2014-10-02 12:10:58 -07:00
Bussonnier Matthias
0dcce32de7 use standard html 2014-10-02 16:14:03 +02:00
Min RK
0d9b7597c3 Merge pull request #6583 from takluyver/win-symlink-tsets
Windows symlink test fixes
2014-10-01 11:46:38 -07:00
Jessica B. Hamrick
60b18ad23e Fix ReferenceError in js tests, fixes #6542 2014-10-01 00:04:33 -07:00
Thomas Kluyver
645f542e2b Interpret another error as missing symlink support on Windows
This occurs if the system and Python support symlinks, but the user does
not have permission to create them.
2014-09-30 14:11:34 -07:00
Jonathan Frederic
60bf0f5b2f s/apply_update/set_state 2014-09-30 16:02:02 -04:00
Jonathan Frederic
852ec2ab69 s/_handle_receive_state/set_state in tests too 2014-09-30 15:59:26 -04:00
Jonathan Frederic
f83140dae8 s/long thing/set_state 2014-09-30 15:55:31 -04:00
Jessica B. Hamrick
6bc5702398 More descriptive short message 2014-09-30 12:21:01 -07:00
Jessica B. Hamrick
6a8cae2913 Don't pop up modal dialog 2014-09-30 12:20:50 -07:00
Jessica B. Hamrick
d0e942213d Always show the modal dialog, and have a fallback generic message 2014-09-30 10:50:10 -07:00
Jessica B. Hamrick
46e40e5ea1 Return a proper JSON object 2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
5e1e8a116c Use 501 error code instead of 400 2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
c4a89cd54d Better user experience when kernel isn't found 2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
5ba858fc7c Remove 'we' from message 2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
263181c416 Report the exact error that occurred 2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
58fcb3abb9 Show the user a different notification 2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
cfc234dc89 Handle NoSuchKernel errors more gracefully 2014-09-30 10:50:08 -07:00
Min RK
780ceee03a Merge pull request #6415 from Carreau/move-md-show-logic
Move md-cell display logic to css
2014-09-30 10:35:23 -07:00
Matthias Bussonnier
4c480e3ca1 Merge pull request #6573 from Carreau/drop-2.6
Drop some 2.6 workaround.
2014-09-30 18:16:42 +02:00
Matthias Bussonnier
a940971866 Merge pull request #6568 from minrk/remember-kernel
Make default kernel configurable
2014-09-30 16:49:00 +02:00
MinRK
a060056e36 remove unused dateformat
we are using moment.js for dates now
2014-09-29 14:28:29 -07:00
Matthias Bussonnier
9155675440 drop more 2.6 hacks 2014-09-29 14:40:13 +02:00
Jonathan Frederic
b5195e1b17 Merge pull request #6548 from SylvainCorlay/widget_views_by_id
Make WidgetModel.views be an object indexed by view id
2014-09-29 07:51:11 -04:00
Matthias Bussonnier
2d490858e5 Merge pull request #6544 from jhamrick/notification-widget
Clean up notification widget
2014-09-29 09:00:43 +02:00
sylvain.corlay
60925f0a1a hasOwnProperty 2014-09-28 23:40:27 -04:00
MinRK
072bcdc484 allow kernel_name to be undefined in js
Falls back to KM.default_kernel_name,
as configured server-side.
2014-09-28 14:42:03 -07:00
Doug Blank
6c3d40bbcd Update documentation for functions that can return null 2014-09-28 14:01:35 -04:00
MinRK
974d45343e allow kernel_name to be undefined in requests
fallback to KM.default_kernel_name in that case
2014-09-27 15:16:42 -07:00
Doug Blank
3997769def Fixed off by one error in get_prev_cell
Not sure why this was a TODO. Maybe `find_cell_index()` returned zero at one time, but in the browsers I tested, it always returns null if not found.
2014-09-27 15:57:01 -04:00
Jessica B. Hamrick
9c1e7fa2eb Clarify stickiness of warning/danger notifications 2014-09-26 00:12:24 -07:00
Sylvain Corlay
d8635fc1cc on_atomic_change -> on_some_change 2014-09-26 01:59:11 +00:00
Sylvain Corlay
b6a0f60d3f Make Widget.views be an object indexed by view id 2014-09-26 01:51:24 +00:00
Jessica B. Hamrick
6f49f4b78e Add tests for notification area and widgets 2014-09-25 16:33:05 -07:00