Commit Graph

7641 Commits

Author SHA1 Message Date
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.
2015-07-21 13:34:09 -07:00
Matthias Bussonnier
cc1f01d21e Merge pull request #213 from takluyver/jupyter-nbconfig-subdir
Store frontend config in nbconfig/ subdirectory
2015-07-20 08:40:49 -07:00
Thomas Kluyver
3c42206759 Store frontend config in nbconfig/ subdirectory
Closes gh-211
2015-07-19 21:24:54 -07:00
Matthias Bussonnier
1c3db62b95 Merge pull request #197 from minrk/no-uglify
Don't uglify js
2015-07-19 09:15:23 -07:00
Matthias Bussonnier
92e0731d5e Merge pull request #204 from minrk/dockerfile-no-req
ipykernel no longer has requirements.txt
2015-07-19 09:15:13 -07:00
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
2015-07-15 15:07:03 -07:00
Min RK
b31ae8b312 Merge pull request #199 from minrk/custom.css
fix url for custom.css
2015-07-15 14:30:56 -07:00
Matthias Bussonnier
7395c8aaea Merge pull request #205 from minrk/revert-style
Revert custom themes
2015-07-14 18:05:10 -07:00
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
8a24283acb ipykernel no longer has requirements.txt 2015-07-14 13:43:01 -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
3cea489d17 fix url for custom.css
served from .jupyter/custom
2015-07-12 16:34:34 -05: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
Min RK
31ba2eb756 Don't uglify js
It seems to cause problems, and we care a lot more about request count than minimizing bytes.
2015-07-12 14:13:03 -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
Jason Grout
a690e6c059 Serve API from the handlers directory 2015-06-26 20:01:18 +00:00