Matthias Bussonnier
cc8b3be283
Merge pull request #1055 from minrk/mathjax-mathml
...
Allow all MathJax output formats
10 years ago
Thomas Kluyver
ce3dd80391
Mark thread as daemon in a way that Python 2 supports
10 years ago
Thomas Kluyver
c1a2a26551
Mark thread for test server as daemonic
...
I don't understand how, but I suspect that the threaded server is
somehow involved in the hangs we see after the tests complete. This
marks it as daemonic so that if it somehow escapes it won't keep the
test process alive.
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
dd57cded75
Fix the new deprecated names test
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
ac7f19821f
@williningc's suggestions
10 years ago
Jonathan Frederic
fe5ffc106b
Make sure IPython is set on window
10 years ago
Jonathan Frederic
8dba4eccdd
Add unit tests for deprecated requirejs API
10 years ago
Jonathan Frederic
41246fcc9d
Add an info blurb that prints if the notebook is a dev install
...
Checks to see if the notebook is part of a git repo, if so
suggest to the user `npm run build:watch`
10 years ago
Jonathan Frederic
18edcd3fb4
Allow old style imports, but deprecate them
10 years ago
Jonathan Frederic
03ceccf7a1
Re-add ignore_minified_js
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
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