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
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
Matthias Bussonnier
92b9699338
Merge pull request #177 from minrk/string-types
...
handle _template_path being unicode on py2
11 years ago
Min RK
83367684e1
Merge pull request #164 from techtonik/patch-1
...
Write notebooks with Unix newlines on Windows
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
Min RK
b122b52dc5
handle _template_path being unicode on py2
...
check string_types instead of str
11 years ago
Min RK
3ee4efdc5d
Merge pull request #176 from takluyver/subcmd-nbextension-install
...
install-nbextension -> nbextension install
11 years ago
Thomas Kluyver
70885bd5ba
Update some references to NBExtensionApp
11 years ago
Thomas Kluyver
dee5462fca
install-nbextension -> nbextension install
...
We decided the other week to namespace it like this to avoid having to
change the way subcommands are found.
11 years ago
Min RK
0ceeb5ce75
forward-port security fixes from 3.2
...
- APIHandler for mime-type and Content-Security-Policy
- next_url confined to base_url
11 years ago
Min RK
e4cc3a6ea2
FileFindHandler inherits from IPythonHandler
...
in order to get default CSP headers
11 years ago
Min RK
5403d2479d
make content_security_policy a property
...
and *add* `default-src: 'none'` to API handlers
custom CSP applies to all handlers
11 years ago
Min RK
709ed0d04b
Add APIHandler base class
...
- ensures all API responses are json
- sets CSP to prevent js execution on all API replies
11 years ago
Min RK
acbe5cc442
restrict login redirect to notebook app
...
prevents redirect to other websites from login page
11 years ago
anatoly techtonik
535a04da42
Fix tests and allow atomic_writing with CRLF if needed
...
Per review comments in https://github.com/jupyter/notebook/pull/164
11 years ago
anatoly techtonik
5842156d82
Write notebooks with Unix newlines on Windows
...
This avoids unnecessary notebook linefeed conversions
when working with version control from different systems.
11 years ago
Kyle Kelley
0dcfc79b92
Merge pull request #162 from jasongrout/api-docs
...
Add links to the REST API documentation (what there is on the wiki)
11 years ago
Jason Grout
a016e42cf7
Add links to the REST API documentation (what there is on the wiki)
11 years ago
Thomas Kluyver
cee1a9ae47
Merge pull request #161 from jdfreder/docs
...
Fix the "original notebook" links in the docs
11 years ago
Jonathan Frederic
b19a4eab3f
Update link
11 years ago
Jonathan Frederic
90fce8db85
Correct link
11 years ago
Min RK
6902409dbc
Merge pull request #157 from SylvainCorlay/new_comm
...
Allow passing a comm_id to new_comm
11 years ago
Jonathan Frederic
719f9acadb
Merge pull request #159 from jdfreder/docs
...
Move examples into docs folder, and integrate with docs.
11 years ago
Jonathan Frederic
cc551ea657
Check in built rst
11 years ago
Jonathan Frederic
b41e33ae3a
Add custom template to notebook conversion, which adds a nbviewer link, and corrects internotebook links.
11 years ago
Jonathan Frederic
5c05a0d720
Update index
11 years ago
Jonathan Frederic
a0e20c7706
Add ability to compile notebooks to restructured text.
11 years ago
Jonathan Frederic
4671bb9cb7
Moved example files into docs folder
11 years ago
Sylvain Corlay
0e18fd7ae2
allow passing a comm_id to new_comm
11 years ago
Min RK
46d19cfc8f
Merge pull request #153 from Carreau/userfriendly
...
Better message when the on disk notebook have changed.
11 years ago
Matthias Bussonnier
d54caf1d37
Better message when the on disk notebook have changed.
...
Closes ipython/ipython#8456
11 years ago
Thomas Kluyver
de9d45f438
Merge pull request #152 from Carreau/cache-node
...
[Test PR] Cache node
11 years ago
Matthias Bussonnier
10a5017f4c
Cache bower cache. Speed up build by 1min/matrix item
11 years ago
Matthias Bussonnier
66a9f50468
Fix missing comma
11 years ago
Min RK
4571394010
Merge pull request #149 from Carreau/gitignore
...
update .gitignore with swap and map file
11 years ago
Matthias Bussonnier
d9cec4706c
update .gitignore with swap and map file
11 years ago
Matthias Bussonnier
ac51856657
Add ability to restart and clear all.
...
It is a oft requested feature.
11 years ago
Min RK
5da299eb93
Merge pull request #147 from takluyver/sigint-no-tty-die
...
Die immediately on SIGINT if not in a tty
11 years ago
Thomas Kluyver
25f5afd39f
Die immediately on SIGINT if not in a tty
...
Closes gh-146
11 years ago
Matthias Bussonnier
da22554e9a
Merge pull request #141 from nbarray/nb/remove-sc
...
shortcut: explicit exception message
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