Commit Graph

7626 Commits

Author SHA1 Message Date
Min RK
3a750dad13 Revert custom themes
The customizable themes were not actually ready for merge.
2015-07-14 16:13:23 -07:00
Min RK
df7a270240 Merge pull request #203 from niole/issue184
sort order of all files and directories is now case-insensitive
2015-07-13 22:38:50 -05:00
Niole Nelson
248c15eb32 sort order of all files and directories is now case-insensitive 2015-07-13 16:00:18 -04:00
Min RK
21fb85ad4c Merge pull request #200 from SylvainCorlay/default_theme
Use default theme
2015-07-13 01:22:55 -05:00
Min RK
de95969dce Merge pull request #201 from SylvainCorlay/stepforward
step-forward button
2015-07-13 01:19:11 -05:00
Sylvain Corlay
01a9dd8424 step-forward button 2015-07-13 00:43:38 -04:00
Sylvain Corlay
e5ebb5a7cc default by default 2015-07-13 00:42:13 -04:00
Min RK
ad937b47bf Merge pull request #179 from nsonnad/add-themes-config
Add less config for themes and apply throughout
2015-07-12 14:15:37 -05:00
Min RK
22d60f9f9b Merge pull request #196 from takluyver/pager-display-html
Display HTML in pager if supplied
2015-07-12 14:13:42 -05:00
Min RK
a7f2516ae8 Merge pull request #194 from minrk/app-version
include version in --version output
2015-07-12 14:13:30 -05:00
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.
2015-07-12 11:20:37 -05:00
Min RK
44af0e2b6b Merge pull request #193 from jdfreder/loadfix
Fix front-end extension loading
2015-07-12 11:18:08 -05:00
Jonathan Frederic
fbae11d334 Get rid of useless loop 2015-07-12 10:31:09 -05:00
Jonathan Frederic
58365cbdbb Better tests 📰 2015-07-12 09:45:24 -05:00
Jonathan Frederic
c819c333f7 @takluyver 's comments :check: 2015-07-12 09:40:38 -05:00
Min RK
b9ffd1428e include version in --version output 2015-07-11 16:35:39 -05:00
Jonathan Frederic
4e93079fe3 Add test 🖊️ 2015-07-11 11:36:33 -05:00
Jonathan Frederic
0c8315f72d Fix spaces 2015-07-11 11:10:09 -05:00
Jonathan Frederic
f5296808ff Load modules individually, so a missing module doesn't 💩 on everything. 2015-07-11 10:36:57 -05:00
Min RK
b001be2c82 check origin of API requests
protects agains CSRF on POST endpoints via forms.
2015-07-09 16:10:00 -05:00
Min RK
cead281f26 Merge pull request #187 from niole/master
updated keyboard.js to throw errors instead of strings.
2015-07-08 01:05:06 -05:00
Niole Nelson
3db5083b4a updated keyboard.js to throw errors instead of strints: #145 2015-07-07 17:04:48 -04:00
Niole Nelson
3e5e4a9293 updated keyboard.js to throw errors instead of strings, #145 2015-07-07 17:02:39 -04:00
Min RK
e8b3c17693 Merge pull request #182 from frederikhermans/master
Properly render newlines etc. in raw_input() prompt
2015-07-04 14:34:29 -07:00
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.
2015-07-03 22:50:47 +02:00
Frederik Hermans
a31a64ad69 Replace raw_input_prompt span tag with a pre tag
Also, the input tag becomes a child of the pre tag.
2015-07-03 22:49:13 +02:00
Min RK
b79c6ade71 Merge pull request #148 from Carreau/restart-and-clear
Add ability to restart and clear all.
2015-07-02 11:24:48 -07:00
Matthias Bussonnier
92b9699338 Merge pull request #177 from minrk/string-types
handle _template_path being unicode on py2
2015-07-01 16:08:24 -07:00
Min RK
83367684e1 Merge pull request #164 from techtonik/patch-1
Write notebooks with Unix newlines on Windows
2015-07-01 14:34:42 -07:00
Frederik Hermans
65ca37e6b7 Proper line-height for raw_input() prompt 2015-06-30 23:09:54 +02:00
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.
2015-06-30 22:20:17 +02:00
Nikhil S
1b7316e781 remove non-functional codemirror override 2015-06-29 21:37:38 -04:00
nsonnad
0fbdd745ab apply themes in separate file from theme defs 2015-06-29 19:55:42 -04:00
nsonnad
8ced23308e add two themes and configure styles for them 2015-06-29 19:48:01 -04:00
Min RK
b122b52dc5 handle _template_path being unicode on py2
check string_types instead of str
2015-06-27 20:52:15 -07:00
Min RK
3ee4efdc5d Merge pull request #176 from takluyver/subcmd-nbextension-install
install-nbextension -> nbextension install
2015-06-27 20:29:03 -07:00
Thomas Kluyver
70885bd5ba Update some references to NBExtensionApp 2015-06-26 14:38:47 -07:00
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.
2015-06-26 14:28:32 -07: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