Grant Nestor
5841666647
release 5.2.0rc1
9 years ago
Josh Barnes
9552fc1872
give Page constructor default arguments
...
for any extension template which relied on the old no-parameter formation
9 years ago
Min RK
d59349ac15
resync jsversion with Python version
...
by running setup.py jsversion
9 years ago
Grant Nestor
ff49a10a36
release 5.1.0
9 years ago
Thomas Kluyver
60f81e49b2
release 5.1.0rc3
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
63c7c336f0
release 5.1.0rc2
9 years ago
Grant Nestor
b099303a96
release 5.1.0rc1
9 years ago
Thomas Kluyver
e37b6976c8
Add promise for notebook_loaded.Notebook event
9 years ago
Thomas Kluyver
96d87c5792
Add a promise for app_initialized event.
...
See gh-2499
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
John Emmons
f81fb46ff6
Preliminary i18n implementation as outlined in JEP 16 ( #2140 )
...
setting up internationalization for log and UI messages
See i18n README for details
Squashed to resolve CRLF, tab-indent issues.
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
bf3de7bd1c
5.1.0.dev
...
5.0.0 has been released
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
Ioannis Papadopoulos
7227c261ce
fix indentation
9 years ago
Ioannis Papadopoulos
d4bd5ccf39
Refactored Page class removing todo
9 years ago
Grant Nestor
c8841b68c4
Back to development
9 years ago
Grant Nestor
3194aba706
release 5.0.0b2
9 years ago
Thomas Kluyver
747fcf0d6a
Back to development
9 years ago
Thomas Kluyver
ebb1f74172
release 5.0.0b1
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
Paul Ivanov
74ac1c04e6
drag modal dialogs by the header only
...
without this, it is not possible to select any text using the mouse in
the contents of the modal. For example: editing the notebook metadata
JSON you end up just moving the whole box around instead of being able
to select a portion of the JSON using the mouse.
9 years ago
Grant Nestor
3d7f0f2aca
Make dialogs draggable
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
4f7160aac6
es5ify
...
- const, let -> var
- evaluated object keys
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
Jason Grout
935af43582
handle window sizing even when it is not from a resize event.
10 years ago
Jason Grout
e909afc93a
Due to jQuery propagating events, the window resize event could be triggered by a bubbled event.
...
See https://bugs.jquery.com/ticket/9841 . In our case, the OutputArea was triggering a ‘resize’ event on its element, which was bubbling up and causing this handler to execute every time an output was appended. This was a pretty big drain on output areas that quickly changed (like for interact widgets), presumably since this function involves a DOM read to get heights.
10 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
10 years ago
Min RK
316bfdbd1e
Catch and log handler exceptions in events.trigger
...
rather than throwing handler errors in the call to `.trigger()`
Extensions can register buggy event handlers.
These should not be able to cause failures in the event-triggering code paths.
This should fix several avenues where extensions (or other bugs) could prevent a notebook from loading.
10 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
Jonathan
243b915646
Changed string "sub-structure" to "substructure"
10 years ago
Matthias Bussonnier
d8fc95173b
Merge pull request #1347 from Carreau/shortcut-editor-2
...
Create a shortcut editor for the notebook.
10 years ago
Julien Rebetez
14f7c2ccc0
Better handling of dnd events to correctly remove the dropzone effect when escape is pressed.
10 years ago
Matthias Bussonnier
ab85f165c7
Create shortcut editor for the notebook
...
1) finish the step allowing the use of es6
- this include some tweak to web pack configuration to speed up
recompile in watch mode (in particular cache sourcemaps).
- enable eslint (error only), on obvious mistakes.
- setup babel to compile to es5 as a target.
2) Make the test pass under Casper that does not always have
`Function.prototype.bind` defined, which we cannot patch only in the
tests.
3) Write an actual shortcut editor that list and allow to modify most of
the command mode shortcut.
The logic to persist the shortcuts is a bit tricky as there are default
keyboard shortcuts, and so when you "unbind" them you need to re-unbind
them at next startup. This does not work for a few shortcut for
technical reasons: `<Esc>`, `<Shift>`, as well as `<Ctrl-Shift-P>` and `<F>`
which register asynchronously, so are not detected as "default"
shortcuts.
10 years ago
Matthias Bussonnier
6954e996fd
Remove debug console.log
10 years ago
Matthias Bussonnier
1096410fcf
Try es6 and add a few features for shortcut editor.
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
Min RK
8d5bac4d47
Merge pull request #1230 from mgeier/ansicolors
...
Re-factor ANSI color handling
10 years ago
Matthias Geier
2bad374763
Inline _parseNumbers()
10 years ago
Matthias Geier
52fae53534
Add error messages to the RangeErrors
10 years ago
Matthias Bussonnier
c94023758e
Fix some spelling
10 years ago
Matthias Bussonnier
4d5d19e3b7
Cleanup code, make it more redable
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
05a5d8301e
Make keyboard shortcuts declaratives
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
ea57ff74a6
Explain why we disable caja uri checks on img::src
10 years ago
Julien Rebetez
aa460ffecc
Fix speed issues when attaching large images
10 years ago
Julien Rebetez
6cc468db52
Add tests for attachments insert menuitem
10 years ago
Julien Rebetez
b21348f75b
Attachments dialog only apply deletion on ‘Apply’.
10 years ago
Julien Rebetez
c4bd66e4b2
Nicer attachments editing dialog
10 years ago
Julien Rebetez
22fccff443
Add a new insert-image action and corresponding dialog to insert inline images from menu.
10 years ago
Julien Rebetez
1c6f589ff6
Add attachments cell toolbar option which opens a metadata-like JSON editor.
10 years ago
Julien Rebetez
398c90b0aa
Use the cell ‘attachments’ property instead of ‘metadata.attachments’.
...
Use the mime-bundle storage format to store the attachments
10 years ago
Julien Rebetez
3462b34fca
Implement markdown cell attachments. Allow drag’n’drop of images into markdown cells. See #613
10 years ago
Jonathan Frederic
08e968d7e9
Make events a global singleton
10 years ago
Jonathan Frederic
fe5ffc106b
Make sure IPython is set on window
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
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
1ae63ce185
Load jquery and friends globally
10 years ago
Thomas Fors
8d68bdcf25
Change all js throw string to throw error in notebook/static
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
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
8d091a26b6
Bump version to 5.0.0.dev
10 years ago
Safia Abdalla
a02148f3ad
Updated format_datetime to return human-friendly dates
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
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
Matthias Bussonnier
ef0f3b9c0e
Do not allow `<` in url.
...
fix #904
10 years ago
Min RK
234cf31d3f
4.1.0rc1
11 years ago