Celina Kilcrease
192e3fe9d8
remove es6 syntax
8 years ago
Celina Kilcrease
174e724174
get file size in base model
8 years ago
Ashley Teoh
dd608ad2bd
add MIT licence
8 years ago
Ashley Teoh
2e9ba4a1ac
use pretty-bytes
8 years ago
Celina Kilcrease
acc2056e05
fixed filesize
...
fixed typo
8 years ago
Celina Kilcrease
13933f396a
converting filesize to readable format
8 years ago
Celina Kilcrease
ff8e1cc983
only get filesize for files and notebooks
...
adding sort function
add file size text
8 years ago
Min RK
44c99143e9
make js-generated UUIDs lowercase
...
so it's less shouty when debugging messages
We don't ever need official UUIDs as specified, just sufficiently random strings.
8 years ago
edida
5ede4c1243
Fix broken links ( #3042 )
...
* Typo fix
* Fix broken links
* Fix typo
* Fix broken links and Fix typo
9 years ago
Matthias Geier
4918eb1f80
Fix ANSI inverse ( #2967 )
...
* Invert inverse ANSI colors
The "inverse" escape sequence was implemented in #2186 , but not by
actually inverting foreground and background.
* ANSI colors: allow switching off underline and inverse
* Add CSS classes ansi-default-inverse-fg and ...-bg
9 years ago
Thomas Kluyver
41062f87b3
Ensure AMSmath is loaded before calling resetEquationNumbers method
9 years ago
Thomas Kluyver
04c5aec072
Catch errors from queueing Mathjax resetEquationNumbers call.
9 years ago
Grant Nestor
dbda33090f
Merge pull request #2677 from mpacer/mjax_labels
...
clear equation labels on typesetting so that labels don't stop equations from rendering
9 years ago
Thomas Kluyver
5faa2ab9b5
Protect against no element with id=favicon
9 years ago
Thomas Kluyver
0bd5fe8759
Only show busy favicon when execution lasts > 1s
...
This avoids making lots of HTTP requests as we rapidly change the favicon
between the 'notebook' (idle) and 'busy' icons. Now it should be no more
than one per second in the most pathological case.
Closes gh-2673
9 years ago
M Pacer
e2405cebe9
clear equation labels on typesetting so that labels don't block renders
9 years ago
Thomas Kluyver
4542a514e8
More specific check for missing body data
...
Closes gh-2611
9 years ago
Min RK
ff5e64e431
no need to double-check second half of a surrogate pair
9 years ago
Min RK
dbb78b4167
protect against a beautiful future in which javascript handles unicode sensibly
...
We don't need to count surrogate pairs if js stops using them
9 years ago
Min RK
8b14a8d003
check more strictly for surrogate pairs
...
check both surrogates with strict bounds, not just the first, in case of weirdness.
9 years ago
Min RK
a5e64e10b7
handle surrogate pairs
...
CodeMirror / javascript use utf16 code unit offsets,
but Jupyter protocol expects unicode *character* offsets,
so we need to translate back and forth.
9 years ago
Grant Nestor
3e01e128f5
Use animated favicon for kernel busy indicator
9 years ago
Min RK
76c6617b28
delete settings.url when pulling it out
9 years ago
Min RK
25c4ff33e4
accept jquery's ajax({url: '...'}) signature
...
to ease extensions updating from `$.ajax` to `utils.ajax`
9 years ago
Tony Cebzanov
cb247590c7
Support ANSI underline and inverse properties.
...
* Parse underline and inverse in ANSI escape codes
* Add CSS classes for same, using a subtle outline for inverse
9 years ago
Thomas Kluyver
666ecbf35c
Merge pull request #2011 from minrk/unwebpack
...
unwebpackify
9 years ago
Min RK
7188f02763
check if module is defined before checking for items on it
9 years ago
Andrew Shaffer
28008783e1
Merge branch 'master' of ssh://github.com/ashaffer/notebook
9 years ago
Andrew Shaffer
e16c590b73
throttle element resizing in output areas
9 years ago
Min RK
47d4451958
remove webpack shims
...
restore explicit imports of jquery, etc.
9 years ago
Min RK
2da82f909c
get xsrf from cookie, not body data
...
so that it can't be skimmed with a GET of the page
9 years ago
Min RK
9478a6b82b
use tornado xsrf token in API
...
- Cookie-authenticated API requests must use set X-XSRFToken header
- add utils.ajax for making ajax requests, adding xsrf header from default location
9 years ago
Min RK
a2f7325537
fix carriage return handling
...
The only real fix is an errant `+` on the final replacement, which would end up skipping sequential replacements.
- leaves trailing `\r` on the text, if there is one
- use groups to avoid unnecessary replace calls (no change)
- includes test
9 years ago
Grant Nestor
d2a6221c23
Fix: Carriage symbol should behave like in console
10 years ago
Thomas Kluyver
e77d7ebfb0
Process backspace characters in output
...
These are like carriage return, but only affect a character before them
instead of the whole line. I've checked that this makes the output from
'man ls' look OK.
Closes gh-1572
10 years ago
Julien Rebetez
14f7c2ccc0
Better handling of dnd events to correctly remove the dropzone effect when escape is pressed.
10 years ago
Jonathan Frederic
255e5888fc
Revert fancy pants changes
10 years ago
Peter Parente
705992b6a6
Fix is_loaded semantics
10 years ago
Peter Parente
00ef5b1314
Downgraded ipywidget hack
...
Fixed whitespace for jon's PR #1278
10 years ago
Min RK
41d6da235c
Merge pull request #879 from ellisonbg/nbext-pain
...
New nbextensions installation API
10 years ago
Matthias Geier
2bad374763
Inline _parseNumbers()
10 years ago
Matthias Geier
52fae53534
Add error messages to the RangeErrors
10 years ago
Matthias Geier
9d052588b5
Update ANSI tests
10 years ago
Matthias Geier
245287a83c
Remove ES 6 syntax and make integer conversion stricter
10 years ago
Matthias Geier
7bee6c5c2d
Re-factor ANSI color handling
...
The implementation is based on Python code from
nbconvert.filters.ansi2html().
Among other things, this fixes #988 .
10 years ago
Matthias Bussonnier
eb87e16ccb
Minor style fixes
10 years ago
Brian E. Granger
de42e6d9d2
Working on logging.
10 years ago
Brian E. Granger
7705bfd5ab
New approach working, old approach gone.
10 years ago
Brian E. Granger
49b7b8c071
This part of things is working.
10 years ago
Julien Rebetez
aa460ffecc
Fix speed issues when attaching large images
10 years ago