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
Thomas Kluyver
5ad3fd19f6
Don't install native kernelspec on startup
...
Part of the fix for jupyter/jupyter_client#35 ; other part coming up soon
11 years ago
Thomas Kluyver
406a57d70d
Merge pull request #228 from minrk/nbconvert-files
...
fix files redirect in nbconvert handlers
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
ca2a539617
Merge pull request #210 from takluyver/nbextension-enable-cmd
...
Add command-line interface to enable/disable nbextensions
11 years ago
Min RK
5714cabb26
fix files redirect in nbconvert handlers
...
the way it was set up prevented the redirect handler from ever being called
11 years ago
Min RK
b0cae1f51b
Merge pull request #214 from jasongrout/trait-instances
...
Use instances of traits instead of trait classes
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
Jonathan Frederic
fddd29f63a
Use app_log
11 years ago
Min RK
715e87afc2
Fix scope on restart buttons
...
Restart button was excluded since
it was inside another button.
11 years ago
Thomas Kluyver
0a93cc6c6a
Merge pull request #219 from minrk/contents-docstring
...
remove 'name' arg from file_exists docstring
11 years ago
Min RK
c42869c3b8
remove 'name' arg from file_exists docstring
...
Only path is used, not separate name, path.
11 years ago
Thomas Kluyver
a425ed30ef
Env variables for server root & URL in terminals
...
This came up on reddit: if you want to open a notebook or a file in the
text editor from the terminal inside the notebook web interface, you can
construct a URL to open. But to do that accurately, you need to know the
root directory where the server is looking, and the first part of the
URL. This exposes both of those as environment variables:
$JUPYTER_SERVER_ROOT and $JUPYTER_SERVER_URL.
11 years ago
Jason Grout
cf69ab7428
Use instances of traits instead of trait classes
11 years ago
Thomas Kluyver
00bb47fb24
Error on disabling extension not currently enabled
11 years ago
Thomas Kluyver
095e77dfd7
Error on >1 extension for enable/disable commands
11 years ago
Thomas Kluyver
3c42206759
Store frontend config in nbconfig/ subdirectory
...
Closes gh-211
11 years ago
Thomas Kluyver
c21debfc4a
Use notebook config file for nbextension commands
11 years ago
Thomas Kluyver
ff9f36e7f0
Local imports of ConfigManager to avoid Py2 circular import issue
11 years ago
Thomas Kluyver
29fabd3c16
Add command-line interface to enable/disable nbextensions
...
i.e. to enable cite2c, you'd use
`jupyter nbextension enable cite2c/main`.
Open questions:
1. Should these commands accept multiple extension names in one call?
nbextension install currently doesn't, so there's a symmetry argument,
but it would be easy to handle more than one if necessary.
2. Especially for disable, should it give an error if you try to disable
something that's not enabled? Currently it will just pass silently.
Enable could also fail if it's already enabled, but that seems less
useful.
11 years ago
Min RK
71c2387e34
Merge pull request #173 from jasongrout/swagger
...
Rough draft of documentation for the notebook REST API for kernels, kernel specs, and sessions
11 years ago
Min RK
b31ae8b312
Merge pull request #199 from minrk/custom.css
...
fix url for custom.css
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
3cea489d17
fix url for custom.css
...
served from .jupyter/custom
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
Min RK
22d60f9f9b
Merge pull request #196 from takluyver/pager-display-html
...
Display HTML in pager if supplied
11 years ago
Min RK
a7f2516ae8
Merge pull request #194 from minrk/app-version
...
include version in --version output
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
Min RK
44af0e2b6b
Merge pull request #193 from jdfreder/loadfix
...
Fix front-end extension loading
11 years ago
Jonathan Frederic
fbae11d334
Get rid of useless loop
11 years ago
Jonathan Frederic
58365cbdbb
Better tests 📰
11 years ago
Jonathan Frederic
c819c333f7
@takluyver 's comments :check:
11 years ago
Min RK
b9ffd1428e
include version in --version output
11 years ago
Jonathan Frederic
4e93079fe3
Add test 🖊️
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
b001be2c82
check origin of API requests
...
protects agains CSRF on POST endpoints via forms.
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