Jason Grout
ad25d33808
Add an api discovery url
2015-06-26 15:04:18 -04:00
Jason Grout
19c6905769
Move API yaml docs to the static/ directory so they are served with the notebook
...
We do this because there are plenty of machine-driven tools to read this and generate nice docs, etc.
2015-06-25 20:01:31 -04:00
Jason Grout
11ae4d7ff5
Rough draft of documentation for the notebook REST API for kernels, kernel specs, and sessions
2015-06-25 19:17:23 -04:00
Min RK
0ceeb5ce75
forward-port security fixes from 3.2
...
- APIHandler for mime-type and Content-Security-Policy
- next_url confined to base_url
2015-06-21 20:07:20 -07:00
Min RK
e4cc3a6ea2
FileFindHandler inherits from IPythonHandler
...
in order to get default CSP headers
2015-06-21 19:43:33 -07:00
Min RK
5403d2479d
make content_security_policy a property
...
and *add* `default-src: 'none'` to API handlers
custom CSP applies to all handlers
2015-06-21 19:43:19 -07:00
Min RK
709ed0d04b
Add APIHandler base class
...
- ensures all API responses are json
- sets CSP to prevent js execution on all API replies
2015-06-21 19:43:14 -07:00
Min RK
acbe5cc442
restrict login redirect to notebook app
...
prevents redirect to other websites from login page
2015-06-21 19:28:27 -07:00
anatoly techtonik
535a04da42
Fix tests and allow atomic_writing with CRLF if needed
...
Per review comments in https://github.com/jupyter/notebook/pull/164
2015-06-20 20:10:24 +03:00
anatoly techtonik
5842156d82
Write notebooks with Unix newlines on Windows
...
This avoids unnecessary notebook linefeed conversions
when working with version control from different systems.
2015-06-20 15:53:11 +03:00
Kyle Kelley
0dcfc79b92
Merge pull request #162 from jasongrout/api-docs
...
Add links to the REST API documentation (what there is on the wiki)
2015-06-19 20:33:49 -05:00
Jason Grout
a016e42cf7
Add links to the REST API documentation (what there is on the wiki)
2015-06-19 22:34:02 +00:00
Thomas Kluyver
cee1a9ae47
Merge pull request #161 from jdfreder/docs
...
Fix the "original notebook" links in the docs
2015-06-19 13:00:00 -07:00
Jonathan Frederic
b19a4eab3f
Update link
2015-06-19 12:49:37 -07:00
Jonathan Frederic
90fce8db85
Correct link
2015-06-19 12:48:47 -07:00
Min RK
6902409dbc
Merge pull request #157 from SylvainCorlay/new_comm
...
Allow passing a comm_id to new_comm
2015-06-19 10:33:19 -07:00
Jonathan Frederic
719f9acadb
Merge pull request #159 from jdfreder/docs
...
Move examples into docs folder, and integrate with docs.
2015-06-19 07:13:19 -07:00
Jonathan Frederic
cc551ea657
Check in built rst
2015-06-18 14:08:59 -07:00
Jonathan Frederic
b41e33ae3a
Add custom template to notebook conversion, which adds a nbviewer link, and corrects internotebook links.
2015-06-18 14:07:52 -07:00
Jonathan Frederic
5c05a0d720
Update index
2015-06-18 13:09:24 -07:00
Jonathan Frederic
a0e20c7706
Add ability to compile notebooks to restructured text.
2015-06-18 13:03:34 -07:00
Jonathan Frederic
4671bb9cb7
Moved example files into docs folder
2015-06-18 13:01:38 -07:00
Sylvain Corlay
0e18fd7ae2
allow passing a comm_id to new_comm
2015-06-17 11:07:34 -04:00
Min RK
46d19cfc8f
Merge pull request #153 from Carreau/userfriendly
...
Better message when the on disk notebook have changed.
2015-06-12 11:35:14 -07:00
Matthias Bussonnier
d54caf1d37
Better message when the on disk notebook have changed.
...
Closes ipython/ipython#8456
2015-06-12 11:14:14 -07:00
Thomas Kluyver
de9d45f438
Merge pull request #152 from Carreau/cache-node
...
[Test PR] Cache node
2015-06-11 15:05:17 -07:00
Matthias Bussonnier
10a5017f4c
Cache bower cache. Speed up build by 1min/matrix item
2015-06-11 13:04:36 -07:00
Matthias Bussonnier
66a9f50468
Fix missing comma
2015-06-11 11:58:03 -07:00
Min RK
4571394010
Merge pull request #149 from Carreau/gitignore
...
update .gitignore with swap and map file
2015-06-10 16:33:08 -07:00
Matthias Bussonnier
d9cec4706c
update .gitignore with swap and map file
2015-06-10 16:07:00 -07:00
Matthias Bussonnier
ac51856657
Add ability to restart and clear all.
...
It is a oft requested feature.
2015-06-10 15:25:29 -07:00
Min RK
5da299eb93
Merge pull request #147 from takluyver/sigint-no-tty-die
...
Die immediately on SIGINT if not in a tty
2015-06-10 15:23:42 -07:00
Thomas Kluyver
25f5afd39f
Die immediately on SIGINT if not in a tty
...
Closes gh-146
2015-06-10 14:39:38 -07:00
Matthias Bussonnier
da22554e9a
Merge pull request #141 from nbarray/nb/remove-sc
...
shortcut: explicit exception message
2015-06-10 12:29:39 -07:00
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>
2015-06-10 12:04:52 +02:00
Min RK
e0bb6e6f2f
Merge pull request #140 from Carreau/f-minify
...
Do not minify css
2015-06-09 17:03:50 -07:00
Matthias Bussonnier
19e37b0aa1
Do not minify css
...
it removes rules. Closes #112
2015-06-09 13:57:27 -07:00
Thomas Kluyver
bb54245db5
Merge pull request #135 from minrk/splitext
...
use splitext to remove extension from notebook name
2015-06-08 17:04:08 -07:00
Min RK
925da82353
use existing extension in ensure_extension
...
rather than assuming extension is .ipynb
2015-06-08 15:54:23 -07:00
Min RK
84f3fe647f
use splitext to remove extension from notebook name
...
extension may not be .ipynb.
2015-06-07 10:56:57 -07:00
Matthias Bussonnier
c85fb52ad3
Merge pull request #121 from minrk/rm-clusters
...
remove clusters tab from notebook
2015-06-05 13:54:32 -07:00
Min RK
5ba389dcc5
restore clusters tab with a link to IPython parallel.
2015-06-05 12:25:11 -07:00
Min RK
1a91f8ce74
remove clusters tab from notebook
...
moving to an nbextension in ipyparallel
2015-06-05 12:25:08 -07:00
Matthias Bussonnier
9a9a74908b
Merge pull request #124 from jdfreder/docs
...
Docs
2015-06-05 10:33:42 -07:00
Min RK
a6c5be5d60
Merge pull request #132 from minrk/nb-version
...
fix notebook version in About
2015-06-04 16:34:51 -07:00
Jonathan Frederic
07815b4ffc
Remove wonky custom theme
2015-06-04 16:19:23 -07:00
Jonathan Frederic
a18acf52c8
@takluyver 's suggested changes.
2015-06-04 09:35:02 -07:00
Min RK
a978987da9
fix notebook version in About
2015-06-03 20:05:20 -08:00
Thomas Kluyver
69094bfffc
Merge pull request #131 from hiaselhans/master
...
tree rename dialog - focus filename without extension
2015-06-03 15:57:58 -07:00
Jonathan Frederic
4eb2db842b
cwd->getcwd
2015-06-03 14:57:23 -07:00