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
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
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
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
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
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
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
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
Min RK
1c8437a123
add ctrl-alt-[ shortcut for indentAuto
...
and move common cell commands to Cell base config
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
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
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
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
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
6aaa27c024
and run jsversion
10 years ago
Matthias Bussonnier
3754c28721
back on dev
10 years ago
Matthias Bussonnier
3fc06a5f79
Release 4.1.0
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
Josh Barnes
53b8e37633
fix for #917 , a bug introduced by a typo in 89b7d96ccd
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
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
Fernando Perez
0ac253bc1c
Update keyboard shortcuts page to accurately describe command mode (blue margin)
10 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
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
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
Matthias Bussonnier
2e1fcafcfe
Merge pull request #868 from SylvainCorlay/prompt_number_select
...
Disable prompt number selection
11 years ago
Sylvain Corlay
0b54a53b83
Disable prompt number selection
11 years ago
Pierre Gerold
02421c20e9
Remove unused marked related code
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
Pierre Gerold
4290fb9b10
Fix #831
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
Pierre Gerold
aebecc402d
Carreau's comments
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
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