Jonathan Frederic
f75f648f5e
Remove require logging statements
10 years ago
Jonathan Frederic
c4c16a76b8
Disallow dynamic loading of jquery and friends
...
Because it is a very bad idea. Don't do it. Seriously!
10 years ago
Jonathan Frederic
79489de7c8
Fix content variable conflict - rename to contentModule
10 years ago
Jonathan Frederic
378732e9f3
Get the terminal working
10 years ago
Jonathan Frederic
20b95f9297
Re-add moment
10 years ago
Jonathan Frederic
3750a6a803
Log requirejs usage
10 years ago
Jonathan Frederic
c6ccdb31d5
Fix namespace so it is webpacked
10 years ago
Jonathan Frederic
d340a794fc
Compile services/contents
10 years ago
Jonathan Frederic
3fb25c5915
Explicitly use requirejs where requirejs should be used
10 years ago
Jonathan Frederic
e5e8db3670
Load contents dynamically and load jquery-typeahead globally
10 years ago
Jonathan Frederic
a83f18255b
Use npm to install moment
10 years ago
Jonathan Frederic
1ae63ce185
Load jquery and friends globally
10 years ago
Jonathan Frederic
508804153a
Remove ignore minified
10 years ago
Min RK
88a0b832a6
only check for AttributeError on os.geteuid
...
and respect NotebookApp.allow_root flag
10 years ago
Min RK
b0fa952a82
Merge pull request #1115 from secant/refuse-root
...
refuse to run as root user
10 years ago
Min RK
b0772dd3c7
include SVG mathjax output
...
we now ship all mathjax output formats
We still strip down to a single font (STIX-Web)
10 years ago
Carol Willing
ab4a740509
Merge pull request #1113 from minrk/min-width-0
...
Fix long lines escaping from the cell container
10 years ago
Min RK
cc91abf77d
Merge pull request #1119 from bjlange/fix-split-kbd-shortcut-help
...
Clarify keyboard shortcut help for "split cell"
10 years ago
Min RK
7934f29917
set min-width: 0
...
Fixes what we thought was a Firefox bug,
but Chrome devs have pointed out Firefox was doing it right all along,
and all the other browsers were wrong.
10 years ago
Vivian Fang
a11f81a1a9
removing windows check, changing error message wording
10 years ago
Vivian Fang
43ff953502
adding windows user check
10 years ago
Vivian Fang
349a7f062e
changing OSError to be AttributeError (for windows)
10 years ago
Brian Lange
a1acd448ed
Replace 'subtract' with '-' in existing tests
10 years ago
Thomas Fors
8d68bdcf25
Change all js throw string to throw error in notebook/static
10 years ago
Brian Lange
7fa84b2fdb
Map '-' in non-OSX to text 'Minus'
10 years ago
Brian Lange
d840f72b00
Remove duplicate listing for split-cell-at-cursor
10 years ago
Brian Lange
5830139d23
Widen kbd shortcuts so that long shortcuts don't break over 2 lines
10 years ago
Vivian Fang
1d01627cec
making allow-root a valid flag
10 years ago
Vivian Fang
3ce8d95ba1
refuse to run as root user
10 years ago
Min RK
620fb29192
Merge pull request #1088 from NHDaly/MultiMove
...
Expands "Move" button to support moving multiple files together.
10 years ago
Min RK
0f111e0a9b
Merge pull request #1086 from VladMironov/master
...
Add download button to the tree template
10 years ago
Nathan Daly
a595e4338b
fixed typo: s/durring/during/g in notebooklist.js
10 years ago
Carol Willing
40d0833869
Fixed reference that was erroring in validator
10 years ago
Nathan Daly
50c388ae5a
Expands "Move" button to support moving multiple files together.
...
"Move" button now displays for 1 or more selected items, and attempts to
move all of them to the entered destination. For each move that fails,
an error is displayed, but the other items are still moved.
Addresses Issue #942 .
10 years ago
Nathan Daly
fe478a0ff3
Updated Move Dialog's buttons per #744 for #742 .
...
Changes "OK" -> "Move" and sets "Cancel" as default button.
10 years ago
VladMironov
75cba936aa
Add download button at /tree
10 years ago
Diego Mesa
482ed8a5a3
updating log.warn to log.warning
10 years ago
Min RK
2522348b6a
remove the 'random' from the random-port message
...
it's not really a random port, it's usually n+1
10 years ago
Min RK
a27266ac33
Merge pull request #1076 from takluyver/codemirror-fileext-lowercase
...
Lowercase file extension before looking it up in CodeMirror
10 years ago
Thomas Kluyver
b361d39723
Lowercase file extension before looking it up in CodeMirror
...
It looks like CodeMirror stores no capitalised extensions:
https://github.com/codemirror/CodeMirror/blob/master/mode/meta.js
If there ever are any, this would break looking them up. But that seems
fairly unlikely.
Closes gh-1073
10 years ago
Jonathan Frederic
8d0e61b1fb
Focus selected cell after move.
10 years ago
Min RK
8ed64b374e
Merge pull request #1066 from Carreau/rmw
...
Remove usage of encode/decodestring, Deprecated, replace by bytes equiv.
10 years ago
Min RK
eef1ba8620
Merge pull request #931 from jdfreder/ratelimit
...
Add simple iopub message rate limiter
10 years ago
Matthias Bussonnier
7e6b50815e
Merge pull request #963 from minrk/indentAutoShortcut
...
add ctrl-alt-[ shortcut for indentAuto
10 years ago
Matthias Bussonnier
0ad67c8b7f
Remove usage of encode/decodestring, Deprecated, replace by bytes equiv.
10 years ago
Min RK
94986bfd6a
scroll long tracebacks to the bottom
...
since that's usually where the most important info is
10 years ago
Min RK
0b1305e37c
plural cell actions
...
a few multi-select actions still had singular descriptions
10 years ago
Min RK
c5d6e9ee37
Merge pull request #1044 from nvdv/items_deselect
...
Deselect items after successful actions on notebook list page.
10 years ago
Min RK
7117528dab
Merge pull request #744 from captainsafia/fix-dialog-button-layout
...
Fix button layout in dialog windows
10 years ago
Matthias Bussonnier
b520b57f2f
Merge pull request #1049 from parleur/nested_svg
...
Nested svg
10 years ago
Min RK
b3cab90e9a
only scrub SVG output
...
which is the largest
rather than white-listing HTML-CSS.
This means the various other renderers (perhaps most importantly, MML) are available, not just HTML-CSS
This increases the size of a notebook install by ~800k/19MB or 5%.
Alternately, we could *only* add MML, which would have a negligible affect on install size.
10 years ago
Min RK
4d64519f12
Merge pull request #969 from minrk/undelete-stack
...
multiple-undo for cell deletion
10 years ago
Min RK
38464ef4dd
Merge pull request #987 from minrk/copy-save-first
...
save before copy if notebook is dirty
10 years ago
Pierre Gerold
f8d2af1632
draft for nested svg test, not working
10 years ago
Thomas Kluyver
15581d9567
Ensure user site packages is on PYTHONPATH for notebook test server
10 years ago
Pierre Gerold
46d8784afb
restore a working 'find' structure
10 years ago
Pierre Gerold
a2366dc68f
replace the 'find' way into direct inclusion in svg element
10 years ago
Matthias Bussonnier
0d1f981b71
Merge pull request #1036 from minrk/disable-mathjax-renderer-menu
...
disable MathJax renderer selection menu
10 years ago
nvdv
1c68cfe490
Deselect items after successful actions on notebook list page.
10 years ago
Nathan Daly
ecbeb59f18
adds TODO regarding the fancier UI
10 years ago
Nathan Daly
ac9b107e2b
changed initial input focus behavior
10 years ago
Nathan Daly
ec47775d50
Removed code unnecessary for Move to select the file name up to a period.
...
The Move button expects a file path, which shouldn't include a file
extension suffix.
10 years ago
Nathan Daly
a05b947f8d
Switched "Move Items" Cancel/Okay button orders + variable clean-up.
...
Part of addressing Issue #941 .
10 years ago
Nathan Daly
4a9e31ed30
Adds a Move button to the notebooklist interface next to Rename.
...
With this button, you can now move files or directories to any path in
the notebook, including creating new directories (like 'mv -p'). To move
a file, you specify the new destination directory's path.
This achieves the same effect as renaming a file with a new relative
path, but is more clear to users unfamiliar with unix commands --
especially with regard to moving to a parent directory.
Can only move one file at a time currently.
10 years ago
Jonathan Frederic
2ab768b71b
Update to point to widgetsnbextension
10 years ago
Jonathan Frederic
9a3cb11c4e
Better error message
10 years ago
Jonathan Frederic
ee7dd22ebe
Fallback to ipywidgets
10 years ago
Jonathan Frederic
e7bc3fcda6
Update the notebook widget hack to reference the new jupyter-js-widgets-nbextension package
10 years ago
Min RK
86db777bd4
disable MathJax renderer selection menu
...
since we don't ship all renderers, and MathJax can hang if a nonexistent renderer is selected.
10 years ago
Min RK
de09a93555
Merge pull request #1017 from Carreau/requires-require
...
Add `require` to list of modules to try fixing kernel.js loading.
10 years ago
Min RK
e95e00db9a
only import ssl if it's used
...
SSL stdlib module may be unavailable in rare cases.
10 years ago
Thomas Kluyver
73520656a7
Merge pull request #1011 from minrk/workaround-ff-beforeunload
...
Workaround Firefox bug showing beforeunload twice
10 years ago
Matthias Bussonnier
3753bf7f2e
Add debug statement for debug.
...
It might help to determine why require is sometime not a function.
10 years ago
Matthias Bussonnier
e76027af9e
Add `require` to list of modules to try fixing kernel.js loading.
...
This would likely fix some failures ithat happend with `kernel.js` with
the following on the js console:
> Uncaught (in promise) TypeError: require is not a function
At
> KernelSelector._spec_changed
10 years ago
Min RK
23b9e0ec81
Workaround Firefox bug showing beforeunload twice
10 years ago
Min RK
435496d290
also check R_OK for hidden directories
10 years ago
Min RK
716708e207
use stat on Windows
...
access seems to always return True there
10 years ago
Min RK
a67315d500
use x-access for directory listing test in is_hidden
...
listdir can be slow
10 years ago
Min RK
36ab08523f
use _.isEqual to check for metadata changes
...
JSON.stringifiy is unreliable because it is key-order sensitive
10 years ago
Min RK
55ce5083c8
return promises
10 years ago
Min RK
5eec6a5951
fix multi-cell undelete ordering
...
and test multi-cell undelete at both the top and bottom of the notebook
10 years ago
Min RK
f0cb481cb2
add select_cells test utility
...
selects [included,excluded) semi-open range, like Python conventions.
10 years ago
Min RK
22761eeb15
save before copy if notebook is dirty
...
in copy_notebook, rather than relying on async: false in event handlers,
which is ignored.
10 years ago
Jason Grout
fc8d0dcb06
Merge pull request #979 from minrk/swagger-doc
...
update swagger API doc from jupyter-js-services
10 years ago
Min RK
732fc9cc18
Checkpoint restored typo
10 years ago
Min RK
5830a3aa99
Merge pull request #925 from Carreau/deprecated-is-deprecated
...
Be more explicit about deprecation.
10 years ago
Min RK
ba65ca5030
fix swagger validation errors
10 years ago
Min RK
1a7d23479b
update swagger doc from jupyter-js-services
10 years ago
Jason Grout
4671134fdf
Initial work-in-progress for contents api swagger docs
10 years ago
Min RK
c280b773fb
use session.deserialize to unpack message for rate limiting
...
rather than hardcoding json.loads
Messages should **never** be deserialized by any means other than the Session API.
10 years ago
Jonathan Frederic
9e2c95dc07
limit_window -> rate_limit_window
10 years ago
Min RK
89b75c21e2
multiple-undo for cell deletion
...
use a stack for undelete_backup instead of a singleton
avoids data loss on multiple undelete
10 years ago
Min RK
c000d0ac84
Merge pull request #966 from takluyver/i965
...
Allow HEAD requests for /files/ URLs
10 years ago
Thomas Kluyver
1941d0b234
Allow HEAD requests for /files/ URLs
...
Closes gh-965
10 years ago
Jonathan Frederic
eb30002a82
Use a set for filter exceptions
10 years ago
Min RK
301cbc6374
Merge pull request #960 from Carreau/ignjs
...
Acknowledge `ignotre_minified_js` on auth, and tab-> space
10 years ago
Matthias Bussonnier
a8f6265d07
Merge pull request #943 from captainsafia/add-timestamp-to-file
...
Add sort by last modified date and name to file tree
10 years ago
Matthias Bussonnier
a1bc8f4275
Merge pull request #958 from vbraun/help_links_to_url
...
Use require.toUrl for help_links
10 years ago
Jonathan Frederic
7aaccbd545
Don't filter status, comm_info, kernel_info, and execute_request messages
10 years ago
Jonathan Frederic
c47f3d021b
Fix a bug in the code that parses the parent message from the msg_list
10 years ago
Min RK
1c8437a123
add ctrl-alt-[ shortcut for indentAuto
...
and move common cell commands to Cell base config
10 years ago
Jonathan Frederic
acbbc60e09
Change the window length to 1s
10 years ago
Jonathan Frederic
7232a6a99a
Clarification & cleanup
10 years ago
Matthias Bussonnier
34d67327ae
Acknowledge `ignotre_minified_js` on auth, and tab-> space
10 years ago
Safia Abdalla
309b15bda8
Added button arrow reset on refresh
10 years ago
Safia Abdalla
b1d96cad52
Updated class switch command
10 years ago
Safia Abdalla
0fbe6abedd
Clean up style update on button click code
10 years ago
Safia Abdalla
e6db03ceac
Refactor out button click logic
10 years ago
Safia Abdalla
9494ca1a9c
Update buttons in template
10 years ago
Volker Braun
08cbe7f770
Use require.toUrl for help_links
...
The kernel doesn't know about the base_url of the notebook, so he
cannot generate local urls. This is important if you want to serve
documentation locally, for example see
http://trac.sagemath.org/ticket/19885
Require.toUrl rewrites non-relative paths according to the path
configuration. For example, a help_link defined like
{
'text': 'Sage Documentation',
'url': 'kernelspecs/foo/bar.html',
},
is then correctly transformed to /base_url/kernelspecs/foo/bar.html
10 years ago
Jonathan Frederic
69faf0fb9b
Change the logic so the intervals are checked all of the time,
...
also changed no-limit default to "0"
10 years ago
Min RK
a3e074c3a7
Merge pull request #935 from Carreau/logwarn1
...
Remove deprecated usage of `log.warn` prefer `log.warning`.
10 years ago
Safia Abdalla
c914d9232c
Added functionality for sort on name
10 years ago
Safia Abdalla
04a456516c
Added button for sort by name
10 years ago
Matthias Bussonnier
8d091a26b6
Bump version to 5.0.0.dev
10 years ago
Safia Abdalla
c3d6bfbf1a
Updated styling on last modified element
10 years ago
Safia Abdalla
c08c7d58df
Updated front-end sorting and display
10 years ago
Volker Braun
0f0cbc20c5
Use default_url instead of hardcoding /tree for initial url
10 years ago
Matthias Bussonnier
6109cdc86e
use math.ceill to allow values < 5s as input
10 years ago
Safia Abdalla
a02148f3ad
Updated format_datetime to return human-friendly dates
10 years ago
Safia Abdalla
b18d269bda
Added arrow indicator for sorting
10 years ago
Safia Abdalla
a290251ae7
Wiped smudge from screen
10 years ago
Jonathan Frederic
f83485fcee
Remove log msg
10 years ago
Jonathan Frederic
4c99c5f7f8
Limit on websocket, not zmq
10 years ago
Safia Abdalla
6211e33523
Added datetime sorting on front end
10 years ago
Safia Abdalla
11eebd2fc0
Added last modified sort button
10 years ago
Safia Abdalla
0bf3767b88
Updated format string for last modified datetime
10 years ago
Safia Abdalla
23aeb32cc5
Added datetime_sort_helper function
10 years ago
Safia Abdalla
e235643eb1
Added last_modified date to file tree
10 years ago
Safia Abdalla
97cfe14abf
Added format_datetime utility function
10 years ago
Matthias Bussonnier
9ab90bd835
fix regex
10 years ago
Matthias Bussonnier
6aaa27c024
and run jsversion
10 years ago
Matthias Bussonnier
9523f7438d
dev has a dot
10 years ago
Matthias Bussonnier
3754c28721
back on dev
10 years ago
Matthias Bussonnier
3fc06a5f79
Release 4.1.0
10 years ago
Matthias Bussonnier
e6c7648b09
Remove deprecated usage of `log.warn` prefer `log.warning`.
...
Treating just this notebookapp for now.
10 years ago
Jonathan Frederic
3b3c4d0315
Add simple iopub message rate limiter
10 years ago
Matthias Bussonnier
e4ec5ba3f3
Be more explicit about deprecation.
...
Cf #916 . Despite the fact that the function is private and meant
to replace an old behavior that will be removed, people explicitly
import it and register it as a post-save-hook.
Hope that explicit versing removal will convey the "Don't use" in a more
obvious manner.
10 years ago
Min RK
527538839b
Merge pull request #918 from jcb91/notebook/js/codecell
...
Fix Uncaught ReferenceError: Pos is not defined
closes #917
10 years ago
Min RK
7bfeea46f5
Merge pull request #915 from minrk/right-soft-selected
...
Remove soft selected right border background-leaking
10 years ago
Josh Barnes
53b8e37633
fix for #917 , a bug introduced by a typo in 89b7d96ccd
10 years ago
Brian E. Granger
d86714a015
Merge pull request #914 from minrk/check-origin
...
allow zmq check_origin with no args
10 years ago
Matthias Bussonnier
308cbb2062
Remove soft selected right border background-leaking
10 years ago
Min RK
b2d9faaa9b
Merge pull request #909 from Carreau/left-soft-selected
...
Remove left border on softselected cells
10 years ago
Min RK
1257a3ac85
Merge pull request #905 from minrk/revert-configurable-config-dir
...
restore hardcoded config_dir
10 years ago
Min RK
8aa4f1e60c
allow zmq check_origin with no args
...
terminado may call `self.check_origin()`
in which case we should grab origin from the headers.
10 years ago
Min RK
bf6c89b1ce
Merge pull request #897 from Carreau/warn-name-ations
...
Improve warning on bad JavaScript API usage.
10 years ago
Matthias Bussonnier
ef0f3b9c0e
Do not allow `<` in url.
...
fix #904
10 years ago
Matthias Bussonnier
cc69f06551
Remove left border on softselected cells
10 years ago
Min RK
fa5d71723b
Merge pull request #898 from blink1073/fix-websocket-cross-origin
...
Avoid error when using a cross-origin websocket
10 years ago
Min RK
970507711b
restore hardcoded config_dir
10 years ago
Fernando Perez
0ac253bc1c
Update keyboard shortcuts page to accurately describe command mode (blue margin)
11 years ago
Steven Silvester
fe03de7471
Avoid error when using a cross-origin websocket
11 years ago
Matthias Bussonnier
86865a3543
Improve warning on bad JavaScript API usage.
...
Mitigate #891 (likely close it to, depending on what others thinks)
Separator between prefix and name for commands/action used to be `dot`,
but is internal detail. It is now (as of 4.1) a semicolon (`:`)
If someone try to access an action by name which does not have `:` warn
that they might be using the wrong API and give some hints
11 years ago
Safia Abdalla
dc69a03bfa
Removed "window."
11 years ago
Safia Abdalla
57360754b4
Replace setTimeout with requestAnimationFrame
11 years ago
Safia Abdalla
39e155e697
Add setTimeout to force browser repaint
11 years ago
Safia Abdalla
781e4ffd4f
Added onResult function to type ahead
11 years ago
Min RK
234cf31d3f
4.1.0rc1
11 years ago
damianavila
d0c5c393b6
Remove hard-coding of jupyter_config_dir config_dir at the notebookapp level, letting that being managed ny the ConfigManager.
11 years ago
Min RK
71c5057ae5
Merge pull request #876 from SylvainCorlay/no_body_class
...
Multi-select: avoid adding a css class to body element
11 years ago
Jonathan Frederic
9380a22b76
Hide vertical scrollbar on rendered content by default.
11 years ago
Sylvain Corlay
859e1c77b6
Test based on css selection
11 years ago
Sylvain Corlay
a094df764e
Avoid adding a css class to body element
11 years ago
Matthias Bussonnier
dc3dae96b6
Merge pull request #875 from minrk/set_next_input_clear_optional
...
add clear_output option to set_next_input payload
11 years ago
Min RK
ae2fb41bad
Merge pull request #864 from Carreau/js-cleanup
...
A bunch of js cleanup
11 years ago
Min RK
f8ede57918
add clear_output option to set_next_input payload
...
default preserves prior behavior
11 years ago
Min RK
34481cb7ed
Don't clear output on set_next_input(replace=True)
...
rewriting input shouldn't force removal of output
11 years ago
Min RK
92fa310758
Merge pull request #866 from parleur/versions
...
Use PEP 440 prerelease tags
11 years ago
Matthias Bussonnier
51576872fe
Remove dead code forgotten in previous commit.
11 years ago
Matthias Bussonnier
2e1fcafcfe
Merge pull request #868 from SylvainCorlay/prompt_number_select
...
Disable prompt number selection
11 years ago
Pierre Gerold
0b44f64e9d
Move test function to test file
11 years ago
Matthias Bussonnier
bed0bd1ee2
Typo: `verison` -> `version` (swap `s` and `i`)
11 years ago
Sylvain Corlay
0b54a53b83
Disable prompt number selection
11 years ago
Pierre Gerold
02421c20e9
Remove unused marked related code
11 years ago
Pierre Gerold
f557c8c9b7
Fusion between carreau & mink solution about version nb checking
11 years ago
Matthias Bussonnier
f873493f9f
Test for Pep440 non-Complaint version numbers
...
test directly in the version number file, as the version number is
likely to be committed before running tests, so we want **really quick
failure**.
11 years ago
Matthias Bussonnier
9706e4c0e1
A bunch of js cleanup
11 years ago
Matthias Bussonnier
ddfc2ef2f4
Make focus follow shift-selection.
11 years ago
Matthias Bussonnier
c21ba90813
Merge pull request #850 from captainsafia/update-var-names
...
Update var names in multi-selection move
11 years ago
Safia Abdalla
646a388448
Added documentation to get_anchor_index function
11 years ago
Safia Abdalla
a7f05697cc
Cleaned up functions
11 years ago
Matthias Bussonnier
68ae9415de
Fix toggle line number on multiple selection, and command palette.
11 years ago
Matthias Bussonnier
c116f33b4f
release version 4.1.0b1
11 years ago
Min RK
3170602e8c
Merge pull request #830 from Carreau/move-selection
...
Fix move selection up/down
11 years ago
Matthias Bussonnier
50e1f8b746
Cleanup and comment
...
[no-ci]
11 years ago
Pierre Gerold
4290fb9b10
Fix #831
11 years ago
Matthias Bussonnier
f2a42913a3
Move tests to a separate file
...
and get rid of `.entries()` not supported by Casper on Travis
11 years ago
Pierre Gerold
ed2d61afa5
Typo tests
11 years ago
Pierre Gerold
845ea5e555
end of tests
11 years ago
Pierre Gerold
94d057bf10
test quick dirty and under pressure
11 years ago
Matthias Bussonnier
aefbdbf365
Fix move selection up/down
...
Move the selection by detach/attach previous/next cell, and reselect the
moved selection.
Closes #793 (once test written).
11 years ago
Matthias Bussonnier
166b709a6a
Merge pull request #825 from parleur/selectbox
...
Fix the selectbox celltype behavior when multiselected
11 years ago
Matthias Bussonnier
bd09de2519
Merge pull request #747 from parleur/toto
...
Allow disabling atomic writing
11 years ago
Pierre Gerold
aebecc402d
Carreau's comments
11 years ago
Safia Abdalla
42bb38fcb0
Pluralized menu items for merged multiselect features
11 years ago
Min RK
0b8886d6e5
contract selection on click
...
During multi-select, clicking on the current cell collapses the selection back to just that cell.
11 years ago
Min RK
bf952c1f86
Merge pull request #822 from Carreau/merge-below
...
have shift-m merge below if one cell selected
11 years ago
Min RK
d4e467e3f4
Merge pull request #799 from Carreau/past-and-replace
...
Fix and test paste_cell_replace with multi-selection
11 years ago
Matthias Bussonnier
69ff48ee99
Merge pull request #813 from jdfreder/i795
...
Run and select below multiselect compat.
11 years ago
Pierre Gerold
bbc694b883
hidden / show trick
11 years ago
Matthias Bussonnier
f1db9c4b99
focus the last pasted cell, and add test
11 years ago
Jonathan Frederic
03b7e18082
Merge pull request #815 from jdfreder/i793
...
Deprecate move cell up/down
11 years ago
Matthias Bussonnier
7dd57f9696
Update merge tests with new behavior (merge below)
11 years ago
Jonathan Frederic
a9b9243ebf
Tests
11 years ago
Jonathan Frederic
7ec9d5a967
Run and select below multiselect compat.
11 years ago
Matthias Bussonnier
b370f285bb
Merge pull request #812 from jdfreder/i794
...
Insert cell above/below and multiple selection
11 years ago
Matthias Bussonnier
c71c4f3032
Merge pull request #814 from jdfreder/i796
...
Run and insert below, multiselect compat.
11 years ago
Jonathan Frederic
eead7d3fd6
Remove deprecation pill
11 years ago
Matthias Bussonnier
e7912c4682
have shift-m merge below if one cell selected
11 years ago
Jonathan Frederic
2faaae8d54
Merge pull request #821 from Carreau/fix-mergeable-tests
...
Fix tests on merge-able cells.
11 years ago
Pierre Gerold
4a0cfdca6a
correct the celltype select box behavior with multiselect
11 years ago
Jonathan Frederic
989c7da9d4
State when the function will be removed
11 years ago
Jonathan Frederic
7a7c90b993
Add tests
11 years ago
Pierre Gerold
b10a16d378
add a multiselect state in maintoolbar celltype selectbox
11 years ago
Matthias Bussonnier
f5dc1b25ec
Fix tests on merge-able cells.
...
Add test to check that shift-m does actually do nothing on only 1 cell
selected.
make sure multiple cells get selected when trying to merge a lock cell
(or it's useless test)
Add a test that check 2 cells can be merged.
Closes #820
11 years ago
Matthias Bussonnier
fb7d3004f2
Pluralize action on multiple outputs
11 years ago
Matthias Bussonnier
a863916505
Make past and replace actually replace selection.
...
It used to replace only the head of the selection.
Change tests accordingly
11 years ago
Matthias Bussonnier
4719f957ad
Write test to test for running of multiple selection and insert below.
11 years ago
Matthias Bussonnier
79df8c6469
Merge pull request #816 from captainsafia/add-multiselect-toggle-tests
...
Add tests for multiselect toggles
11 years ago
Safia Abdalla
ca496ee268
Added tests for multiselect toggle functionality
11 years ago
Safia Abdalla
068f4e9136
Refactored multiselect toggles
11 years ago
Jonathan Frederic
b1ac6f2591
Deprecate move cell up/down
11 years ago
Jonathan Frederic
5455aef679
Run and insert below, multiselect compat.
11 years ago
Jonathan Frederic
46f0cd9c34
Insert cell above/below and multiple selection
11 years ago
Peter Parente
2b7a06d4b2
Add multiselect cell type conversion tests
...
(c) Copyright IBM Corp. 2015
11 years ago
Peter Parente
258470e19c
Support multicell selection in markdown conversion
...
Fixes #803
(c) Copyright IBM Corp. 2015
11 years ago
Peter Parente
eb2ad5fcf6
Support multicell selection in row text conversion
...
Fixes #804
(c) Copyright IBM Corp. 2015
11 years ago
Peter Parente
e641f5fe1f
Add doc string to cells_to_code
11 years ago
Pierre Gerold
5a8cc0a75d
add maintoolbar fix for cells_to_code
11 years ago
Pierre Gerold
77210286d3
some ; missings
11 years ago
Pierre Gerold
e3299328d2
to_code -> cells_to_code to handle muliple selected cells
11 years ago
Matthias Bussonnier
b382950432
Toggle scroll, collapse and clear cell now apply on selection.
...
Still need tests.
And as discussed a long time ago, the concept of toggling scrolling and
Collapsed is **not** the right one, it leads to inconsistencies.
The cell output has 3 states:
- expanded
- scrolled
- collapsed
And the menu action should decide which one of the 3 user want.
Otherwise you get into inconsistencies like what is the difference
between collapsed & scrolled /vs/ collapsed & not scrolled.
Partially addresses #800 and #801 (I think)
11 years ago
Matthias Bussonnier
57b9550b8d
Fix test and move in their own file
11 years ago
Matthias Bussonnier
134351a744
Fist and test past_cell_replace with multi-selection
...
closes #792
11 years ago
Matthias Bussonnier
c42d43f6c4
Pluralize commands in menu that can act on many cells.
...
Should we put the `s` in parenthesis ?
11 years ago
Pierre Gerold
6ba2104c4b
finish the merge ... yeh I missed a <<<<<<<HEAD ...
11 years ago
Pierre Gerold
c218ff25f7
Merge branch 'master' into toto
11 years ago
Pierre Gerold
7d6c1c4774
Merge branch 'master' of https://github.com/jupyter/notebook
11 years ago
Pierre Gerold
fbcf2c403e
remove flush after save (no atomic writing)
11 years ago
Pierre Gerold
28d6fbde84
Modify test + correct docstrings
11 years ago
Brian E. Granger
feb83d6c9d
Merge pull request #708 from Carreau/fix-shift-jk
...
[WIP] Prototype to fix Shift-J/K selection with anchor and cursor
11 years ago
Peter Parente
2ace23d841
Fix ConfigWithDefaults "this" context
...
Within the promise callback, refer to the ConfigWithDefaults instance, not the Promise
11 years ago
Michael Marchetti
536a6d64dc
Use `dict()` to convert the mapping to a dictionary
11 years ago
Michael Marchetti
5639ac7134
Fix secondary error that occurs during handling of HTTP 500 status
...
In log.py, we're attempting to log the request headers when a
500-series error occurs, but tornado.httputil.HTTPHeaders isn't a dict -
it inherits from collections.MutableMapping. So it fails during
JSON serialization. The fix is to convert it to a dict first.
Unfortunately, the HTTPHeaders class doesn't expose any methods
to access the underlying dictionary (`request.headers._dict`) directly,
so we recreate it using the public API.
11 years ago
Matthias Bussonnier
f05dfae0f3
Rework multiple selections to be continuous
...
It use the notion of Head/Anchor moving the selection normally move both
the head and the anchor. It is possible to mot move the anchor, for
example by pressing Shift.
Everything in between the head and the anchor (head and anchor included)
is in a "soft-selection" marked with the 'jupyter-soft-selection' class
in CSS.
This then remove completely the notion of marked cell, and thus disallow
discontinuous selection.
Unlike previous implementation the used a thick left border, this use
background gradient with 2 stops at the same position to archived the
same visual effect without the gap in between left border in between
contiguous cells.
For compatibility with previous versions, a few choices have been made.
An extra multi-selected class is added to the body when multiple
cells are selected. This allow to toggle the background to a soft blue
indicating selection. And the Head of the selection is still called the
"selected" cell.
The on_focus event have been reworked as a
click-let-click-release-outside of codemirror was putting the notebook
in undefined state with multiple selected cells, and the head in edit
mode.
Finally Travis now test on edge group, to get faster, which can be
removed in a few weeks as the all infrastructure of Travis will move on
Google Cloud.
11 years ago
Thomas Kluyver
d732e28cb2
Merge pull request #711 from minrk/allow-async-kernel-manager
...
allow some KernelManager methods to be async
11 years ago
Min RK
377f4f24dc
Merge pull request #783 from marceloramires/master
...
Fixing way in which selection ranges are deleted
11 years ago
Safia Abdalla
4e8344831c
Updated tests on rename in ContentsManager
11 years ago
marcelo-ramires
89b7d96ccd
Fixing way in which selection ranges are deleted
11 years ago