Commit Graph

1222 Commits

Author SHA1 Message Date
Paul Ivanov
836fd887dc make paste focuses the pasted cell
This is to make paste behave in the same manner that insert cell above
and below currently work (inserting a new item causes that item to
receive focus).

This solves a problem where, if a user pastes below a cell whose bottom
edge is below the current viewing area, they have no indication that any
action has occurred. The same applies for paste above a cell whose top
edge is occluded.
2014-01-31 12:03:30 -08:00
Min RK
747c9ca29c Merge pull request #4845 from rgbkrk/origin_host
Add Origin checking for websockets.
2014-01-31 10:34:32 -08:00
Min RK
7f9ee9cba7 Merge pull request #4916 from ellisonbg/modalbehavior
Fine tuning the behavior of the modal UI

swap back shift- and ctrl-enter, to their rightful places.
2014-01-31 10:32:27 -08:00
Kieran O'Mahony
699bfcc709 Fix error message typo on web socket fail 2014-01-31 15:07:43 +11:00
Preston Holmes
547316fec3 Fixed typos in quick-help text 2014-01-30 14:31:30 -08:00
Brian E. Granger
8445ab1899 Fixing tests from shift and ctrl enter swap. 2014-01-30 12:53:52 -08:00
Brian E. Granger
6298b16a44 Fixing help strings for shift|ctrl+enter. 2014-01-30 10:11:36 -08:00
Brian E. Granger
dbed35c5b1 shift+enter and ctrl+enter swapped. 2014-01-30 10:11:36 -08:00
Brian E. Granger
bcd4209375 alt+enter should always insert below 2014-01-30 10:11:36 -08:00
Brian E. Granger
4c7ce61011 Don't enter edit mode when changing cell type and preserve renderd. 2014-01-30 10:11:35 -08:00
Thomas Kluyver
fa0d5b2f1a Merge pull request #4953 from minrk/wait-for-idle
add utils.wait_for_idle in js tests
2014-01-30 09:58:33 -08:00
Min RK
888698e12f Merge pull request #4662 from ellisonbg/menu-cleanup
Menu cleanup
2014-01-29 20:23:12 -08:00
MinRK
5142cc775d remove superfluous then 2014-01-29 18:06:50 -08:00
MinRK
a6ece94e32 add utils.wait_for_idle in js tests
and use it in execute_cell_then, since there is not always output.
2014-01-29 17:33:06 -08:00
Brian E. Granger
7c722d4b6c Merge pull request #4824 from minrk/sign-notebooks
sign notebooks
2014-01-29 16:38:08 -08:00
Min RK
f9744b690e Merge pull request #4943 from takluyver/docs-shotgun-4
Docs shotgun 4
2014-01-29 16:21:24 -08:00
Brian E. Granger
d21258bbcc Reset file upload form after an upload. 2014-01-29 15:53:20 -08:00
Brian E. Granger
9fbeaa1e37 Properly set uploaded notebook path. 2014-01-29 15:33:02 -08:00
Thomas Kluyver
c633256fc9 Fix some formatting in widget docstrings 2014-01-29 14:55:12 -08:00
MinRK
eb208b2d77 move signature checking to base NotebookManager
so that subclasses have less to duplicate
2014-01-29 14:37:00 -08:00
MinRK
ecfa10b3b3 update shutdown_notebook
now that get_output_cell raises if there is no such output
2014-01-29 14:37:00 -08:00
MinRK
5e60741e5c adjustments to nb_roundtrip.js
A few waits, little changes to get it running with recent changes
2014-01-29 14:37:00 -08:00
MinRK
d07e03b7c9 add wait_for_output(cell, index)
so you can wait for at least n outputs
2014-01-29 14:37:00 -08:00
Brian E. Granger
ffe92842fc Merge pull request #4853 from minrk/imgmd
fix setting image height/width from metadata
2014-01-29 10:56:50 -08:00
Brian E. Granger
b638b8718c Adding DOM ids for each menu. 2014-01-28 20:30:18 -08:00
Brian E. Granger
ff6d6abb12 Formatting cleanup of renderedhtml.less. 2014-01-28 19:43:14 -08:00
Brian E. Granger
39d20f2a90 H5 and H6 are base font size + italic. 2014-01-28 19:36:03 -08:00
Brian E. Granger
7163a0b397 Using @code_padding variable. 2014-01-28 19:35:15 -08:00
Brian E. Granger
4363aa72f8 More changes to the heading spacing. Good first draft... 2014-01-28 19:35:15 -08:00
Brian E. Granger
483023ca41 More work on the styling of headings. 2014-01-28 19:34:57 -08:00
Brian E. Granger
37f4556eba Initial spacing modifications. 2014-01-28 19:34:39 -08:00
Brian E. Granger
7c65e96941 Simplified Cell menu items related to output. 2014-01-28 19:30:51 -08:00
Brian E. Granger
9538fb7d8f Converting loops in *_all_output to $.map(). 2014-01-28 19:11:31 -08:00
Brian E. Granger
f4bfcadf32 Adding back Kernel menu and Cell Type submenu. 2014-01-28 19:11:31 -08:00
Brian E. Granger
afb114e6d3 Removing unneeded select prev/next from Edit menu. 2014-01-28 19:11:31 -08:00
Brian E. Granger
54666e2e98 Cleaning up output management in code and menus. 2014-01-28 19:11:31 -08:00
Brian E. Granger
5786602300 Add kernel restart button to toolbar. 2014-01-28 19:11:31 -08:00
Brian E. Granger
953da90a98 Removing Kernel menu. 2014-01-28 19:11:31 -08:00
MinRK
3c2ff965ef get_output_cell fails with no such output
rather than returning null
2014-01-28 18:44:50 -08:00
MinRK
0e454c7fe0 move ipython notebook trust to ipython trust
and move App definition to nbformat.sign (maybe it should get its own file).
2014-01-28 18:44:50 -08:00
MinRK
6dd44de19f Notaries sign notebooks now 2014-01-28 18:44:49 -08:00
MinRK
ffb3523d05 use configured scheme, not stored scheme when checking signatures
protects against notebook author choosing bad hash scheme.
2014-01-28 18:44:49 -08:00
MinRK
6eec6fdf6e add ipython notebook trust subcommand 2014-01-28 18:44:49 -08:00
MinRK
6a1e7fe685 add nbformat.sign.NotebookNotary 2014-01-28 18:44:49 -08:00
MinRK
f14f856edb sign notebooks 2014-01-28 18:44:48 -08:00
Brian E. Granger
bc7b51d1b0 Merge pull request #4374 from jdfreder/widget-msg
IPEP 23: Backbone.js Widgets
2014-01-28 14:58:00 -08:00
Jonathan Frederic
8312534cac Fixed Accordion test broken by last commit 2014-01-28 12:53:23 -08:00
Jonathan Frederic
75b148d40b Renamed widgets...
TextWidget, TextareaWidget, CheckboxWidget, and SelectWidget
2014-01-28 12:51:24 -08:00
Jonathan Frederic
5ed3a0ebc5 Simplify get_msg_cell function of notebook.js 2014-01-28 11:43:53 -08:00
Jonathan Frederic
13694d04c3 Removed blame comment 2014-01-28 11:43:53 -08:00