Thomas Kluyver
f2c5e6ba98
Catch error adding link to notebook list
...
Part of the fix for gh-223.
If a filename can't be decoded in the current encoding, Python escapes
the undecodable bytes as unpaired surrogates, which JS doesn't like
building a URL from.
This doesn't make the undecodable filename openable, but it stops it
from breaking the listing of other files.
The real fix is to set up the locale encoding correctly so that the
filenames can be decoded.
11 years ago
Min RK
854aa1af8e
Merge pull request #222 from flying-sheep/patch-1
...
Ask for confirmation if kernel is busy
closes ipython/ipython#8546
11 years ago
Min RK
c0f3b0abed
Merge pull request #120 from jdfreder/widgets
...
Hardcode widgets
11 years ago
Philipp A.
3029212849
fixed logic error and moved question
11 years ago
Philipp A.
e5ec203028
Ask for confirmation if kernel is busy
...
fixes #8546
11 years ago
Min RK
715e87afc2
Fix scope on restart buttons
...
Restart button was excluded since
it was inside another button.
11 years ago
Min RK
3a750dad13
Revert custom themes
...
The customizable themes were not actually ready for merge.
11 years ago
Niole Nelson
248c15eb32
sort order of all files and directories is now case-insensitive
11 years ago
Min RK
21fb85ad4c
Merge pull request #200 from SylvainCorlay/default_theme
...
Use default theme
11 years ago
Sylvain Corlay
01a9dd8424
step-forward button
11 years ago
Sylvain Corlay
e5ebb5a7cc
default by default
11 years ago
Min RK
ad937b47bf
Merge pull request #179 from nsonnad/add-themes-config
...
Add less config for themes and apply throughout
11 years ago
Thomas Kluyver
b8b3c6152d
Display HTML in pager if supplied
...
This is still an interim measure until the generic 'put a mimebundle on
the page' machinery can easily be used here.
11 years ago
Jonathan Frederic
fbae11d334
Get rid of useless loop
11 years ago
Jonathan Frederic
c819c333f7
@takluyver 's comments :check:
11 years ago
Jonathan Frederic
0c8315f72d
Fix spaces
11 years ago
Jonathan Frederic
f5296808ff
Load modules individually, so a missing module doesn't 💩 on everything.
11 years ago
Min RK
cead281f26
Merge pull request #187 from niole/master
...
updated keyboard.js to throw errors instead of strings.
11 years ago
Niole Nelson
3db5083b4a
updated keyboard.js to throw errors instead of strints: #145
11 years ago
Niole Nelson
3e5e4a9293
updated keyboard.js to throw errors instead of strings, #145
11 years ago
Min RK
e8b3c17693
Merge pull request #182 from frederikhermans/master
...
Properly render newlines etc. in raw_input() prompt
11 years ago
Frederik Hermans
7c119caae6
Explicitly set monospace font on input.raw_input
...
Also do not explicitly set monospace font in raw_container_input,
because that the container's width to be inconsistent with the (later)
output div's width.
11 years ago
Frederik Hermans
a31a64ad69
Replace raw_input_prompt span tag with a pre tag
...
Also, the input tag becomes a child of the pre tag.
11 years ago
Min RK
b79c6ade71
Merge pull request #148 from Carreau/restart-and-clear
...
Add ability to restart and clear all.
11 years ago
Frederik Hermans
65ca37e6b7
Proper line-height for raw_input() prompt
11 years ago
Frederik Hermans
0ee6a87cae
Render newlines etc. in raw_input() prompt
...
This commit addresses https://github.com/ipython/ipython/issues/8532 .
The output of raw_input() is rendered in a <pre>, but the prompt is
rendered as a span.raw_input_prompt. With white-space:pre, the span
renders \t, \n, etc. as expected.
11 years ago
Nikhil S
1b7316e781
remove non-functional codemirror override
11 years ago
nsonnad
0fbdd745ab
apply themes in separate file from theme defs
11 years ago
nsonnad
8ced23308e
add two themes and configure styles for them
11 years ago
Jason Grout
a016e42cf7
Add links to the REST API documentation (what there is on the wiki)
11 years ago
Sylvain Corlay
0e18fd7ae2
allow passing a comm_id to new_comm
11 years ago
Matthias Bussonnier
d54caf1d37
Better message when the on disk notebook have changed.
...
Closes ipython/ipython#8456
11 years ago
Matthias Bussonnier
66a9f50468
Fix missing comma
11 years ago
Matthias Bussonnier
ac51856657
Add ability to restart and clear all.
...
It is a oft requested feature.
11 years ago
Nicolas Barray
94d13ef899
shortcut: explicit exception message
...
In the function remove_shortcut, if the action failed, it used to
throw an 'implementation oriented' exception message:
> throws('try to delete non-leaf')
This is not a good message for the user who wants to mess with the
shortcuts.
The solution is to leave this 'implementation oriented' exception message
and add a try-catch bloc above that catches this message and throws
a new, frendliest, exception message.
I came up with this:
> throws('try to remove non-existing shortcut')
* notebook/static/base/js/keyboard.js: (remove_shortcut) add try-catch.
Signed-off-by: Nicolas Barray <nbarray@gmail.com>
11 years ago
Min RK
925da82353
use existing extension in ensure_extension
...
rather than assuming extension is .ipynb
11 years ago
Min RK
84f3fe647f
use splitext to remove extension from notebook name
...
extension may not be .ipynb.
11 years ago
Min RK
1a91f8ce74
remove clusters tab from notebook
...
moving to an nbextension in ipyparallel
11 years ago
Min RK
a978987da9
fix notebook version in About
11 years ago
hiaselhans
23cc03ed9d
tree rename dialog - focus filename without extension
...
focus only the relevant part of the filename on rename dialog
this selects all prior to the first dot in the filename
11 years ago
Jonathan Frederic
5c18ecb151
Merge pull request #102 from Carreau/no-global
...
Start working on removing global JS IPython
11 years ago
Matthias Bussonnier
26c3628185
adress john comments
11 years ago
Matthias Bussonnier
37d4ede57e
revert jquery removal
11 years ago
Jonathan Frederic
01be52894d
Add errback to JS init.
11 years ago
Jonathan Frederic
32fd103bad
Hardcode references to the widgets.
11 years ago
Matthias Bussonnier
d116a2b127
s/IPython/Jupyter/ in some comments and UI elements
11 years ago
Matthias Bussonnier
8f3858749a
remove dependencies to namespace in MenuBar
11 years ago
Matthias Bussonnier
3bcbd989b7
less globals
11 years ago
Matthias Bussonnier
eb3f86d4e8
"Manual restart" is not very descriptive.
...
This is a little clearer IMHO
11 years ago
Min RK
0deee0d989
build auth/js/main.min.js
...
exports login_main and logout_main
11 years ago