Commit Graph

853 Commits

Author SHA1 Message Date
Brian E. Granger
eda4569099 Merge pull request #5037 from jdfreder/ff-widget-align
FF Fix: alignment and scale of text widget
2014-02-21 12:37:40 -08:00
MinRK
37cb0fbdee remove websocket url
websockets should follow the kernel URL

(normal behavior is unchanged, only unused configurability is removed)
2014-02-20 22:54:36 -08:00
Brian E. Granger
db4960769b Merge pull request #5100 from minrk/base_kernel_url
remove base_kernel_url
2014-02-20 17:00:38 -08:00
Jonathan Frederic
d1d863af86 fab css 2014-02-19 14:14:14 -08:00
Jonathan Frederic
3b8beec541 Added a class for RadioButtons container
with appropriate top padding...
2014-02-19 14:14:14 -08:00
Jonathan Frederic
033ea6d88c Added bottom margin to text widget 2014-02-19 14:14:14 -08:00
Paul Ivanov
efc01b8854 remove append_json reference
we never had such a method
2014-02-18 23:41:10 -08:00
Paul Ivanov
7b5c834649 fix IPython typo, closes #5155 2014-02-18 21:10:25 -08:00
Jonathan Frederic
a7fb5e1e55 Merge pull request #5114 from minrk/empty-button
use non-breaking space for button with no description
2014-02-17 08:37:08 -08:00
Thomas Kluyver
d6986cf4ec Merge pull request #4778 from minrk/install-nbextensions
add APIs for installing notebook extensions
2014-02-14 15:21:15 -08:00
MinRK
59d3a8ff5f handle empty string in ToggleButtonsWidget 2014-02-13 11:08:45 -08:00
MinRK
9c452998ea add utils.escape_html 2014-02-13 11:08:44 -08:00
MinRK
0eff2bb651 handle space-only strings, not just zero-length 2014-02-13 11:08:44 -08:00
MinRK
c50096334c use non-breaking space for button with no description
to preserve button's size

reverses some inappropriate replacements of .html with .text.

closes #5113
2014-02-13 11:08:44 -08:00
MinRK
fd346d1790 fix remove event in KeyboardManager.register_events
only call enable on remove when focused.

fixes a bug where command mode could be entered inappropriately
when non-focused elements are removed from the page
(see first `@interact` example).
2014-02-13 10:51:33 -08:00
MinRK
a184724bdb remove base_kernel_url 2014-02-11 21:26:10 -08:00
Brian E. Granger
24c27ce5e5 Merge pull request #5059 from jdfreder/widgets-patch-fix
Fix incorrect `Patch` logic in widget code
2014-02-11 14:51:53 -08:00
Jonathan Frederic
1c564131c5 Fixed, set on recieve update triggering echos. 2014-02-10 15:46:28 -08:00
Jonathan Frederic
7b2787e508 Fixed typo 2014-02-10 14:50:49 -08:00
Jonathan Frederic
f4f2c92285 Keep a running diff instead of forcing a full state update 2014-02-10 14:50:49 -08:00
Jonathan Frederic
770d2bd3a0 Only send diff message if diff isn't corrupt.
Diff will corrupt if more then one model.set(...) call is made
before model.save (or view.touch() in our case).
2014-02-10 14:50:49 -08:00
Jonathan Frederic
5667947f9d Revert "Let backbone get changed attrs"
This reverts commit 4dd4990ff146508894353e390601c659d2638ed3.
2014-02-10 14:50:49 -08:00
Jonathan Frederic
36b576b0bd Let backbone get changed attrs 2014-02-10 14:50:49 -08:00
Jonathan Frederic
cd72883fc7 Revert "Fix incorrect usage of attrs"
This reverts commit 04aa0885bb143fd0409fe133ca572004ffa6dc0e.
2014-02-10 14:50:49 -08:00
Jonathan Frederic
0d80363240 Fix incorrect usage of attrs 2014-02-10 14:50:49 -08:00
Jonathan Frederic
04c38db197 fab css 2014-02-10 09:41:43 -08:00
Jonathan Frederic
81f37ab49f Added align-start to widget container. 2014-02-10 09:40:32 -08:00
Jonathan Frederic
30e3ec1cc1 fab css 2014-02-09 14:54:48 -08:00
Jonathan Frederic
b7326707da output_scroll can't be a vbox. 2014-02-09 14:54:18 -08:00
Jonathan Frederic
92da2088cd fab css 2014-02-09 13:51:21 -08:00
Jonathan Frederic
59eb13d80d Align-start widget subarea 2014-02-09 13:51:21 -08:00
Jonathan Frederic
af5b5cea7d Revert "Change stretch to flex-start"
This reverts commit 774073116dd4195037c452d48f05b432bba38801.
2014-02-09 13:51:20 -08:00
Jonathan Frederic
6568dd5d71 Revert "fab css"
This reverts commit a45a2c0f2ae26e7b731dc54965a6b224a39454b4.
2014-02-09 13:51:20 -08:00
Jonathan Frederic
82a9adb3c8 fab css 2014-02-09 13:51:19 -08:00
Jonathan Frederic
ff14cabf7f Change stretch to flex-start 2014-02-09 13:51:19 -08:00
Jonathan Frederic
184a0933df fab css 2014-02-09 13:51:18 -08:00
Jonathan Frederic
aba9f7e9f8 Automatic width adjustment for flex0 2014-02-09 13:51:18 -08:00
Jonathan Frederic
2d367aa7ab fab css 2014-02-09 13:51:17 -08:00
Jonathan Frederic
7ae028e01f Corrected a lot of small misuses of the new flex model. 2014-02-09 13:51:17 -08:00
MinRK
8264362179 document utils.parse_url 2014-02-08 23:09:25 -08:00
MinRK
9629bce503 fix url encoding in services
At this point, zero attributes should be encoded URLs
2014-02-08 23:09:25 -08:00
MinRK
24e59106c0 add utils.parse_url
strip repeated '//' in url_path_join
2014-02-08 23:09:25 -08:00
MinRK
a93040e810 s/get_data/get_body_data/ 2014-02-08 23:09:24 -08:00
MinRK
e7db8cfd4e fix notebook_path in menu bar 2014-02-08 23:09:24 -08:00
MinRK
e1e0b19a6a s/base_project_url/base_url/
deprecate NotebookApp.base_project_url
2014-02-08 23:09:24 -08:00
MinRK
24703985e9 only add .ipynb if extension is not included
prevents .ipynb.ipynb double extension
2014-02-08 23:09:24 -08:00
MinRK
61b06a39e2 holy crap, semicolons 2014-02-08 23:09:23 -08:00
MinRK
13fc9022d9 various unicode fixes
- remove notebookPath, notebookName, and baseProjectUrl methods everywhere
- use base_project_url *attributes* instead
- we should never use escaped URLs except when making an actual request

Should fix issues with double-escaping
2014-02-08 23:09:23 -08:00
MinRK
beaa75b416 add utils.get_data
for extracting *decoded* items from $('body').data
2014-02-08 23:09:23 -08:00
MinRK
f3f1695b06 add IPython.load_extensions in js 2014-02-08 21:32:31 -08:00