Min RK
a1458ce8fc
Merge pull request #1047 from jdfreder/webpack
...
use webpack
10 years ago
Jonathan Frederic
4b8f19e5e7
Merge pull request #1127 from minrk/read-only-download
...
Don't force save before download if notebook isn't writable
10 years ago
Min RK
7472fc0458
Don't force save before download if notebook isn't writable
10 years ago
Matthias Bussonnier
cc8b3be283
Merge pull request #1055 from minrk/mathjax-mathml
...
Allow all MathJax output formats
10 years ago
Jonathan Frederic
68cd52bd22
Enable deprecated import of auth/main
10 years ago
Jonathan Frederic
b7f6f39b29
Add missing underscore reference
10 years ago
Jonathan Frederic
08e968d7e9
Make events a global singleton
10 years ago
Jonathan Frederic
5b337bbfee
Add missing import
10 years ago
Jonathan Frederic
4b0aa51ce7
Don't load main files - they should never be referenced anyways,
...
they break things by resetting global page state.
Also put URL in string
10 years ago
Jonathan Frederic
e64f1f9dc2
Dynamically set base url
10 years ago
Jonathan Frederic
fe5ffc106b
Make sure IPython is set on window
10 years ago
Jonathan Frederic
18edcd3fb4
Allow old style imports, but deprecate them
10 years ago
Jonathan Frederic
acb2b51051
Allow jquery-ish imports, but log a deprecation warning to the user console.
10 years ago
Jonathan Frederic
964ba151dc
Don't redefine global namespace again and again...
10 years ago
Jonathan Frederic
79489de7c8
Fix content variable conflict - rename to contentModule
10 years ago
Jonathan Frederic
c6ccdb31d5
Fix namespace so it is webpacked
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
1ae63ce185
Load jquery and friends globally
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
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
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
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
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
Matthias Bussonnier
7e6b50815e
Merge pull request #963 from minrk/indentAutoShortcut
...
add ctrl-alt-[ shortcut for indentAuto
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
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