Commit Graph

7765 Commits

Author SHA1 Message Date
Thomas Kluyver
f64dec096f Merge pull request #227 from minrk/rm-requirements
remove requirements.txt
2015-07-23 09:51:14 -07:00
Min RK
2b5ba10ce9 remove requirements.txt
and update README installation accordingly
2015-07-23 09:31:19 -07:00
Min RK
b0cae1f51b Merge pull request #214 from jasongrout/trait-instances
Use instances of traits instead of trait classes
2015-07-23 08:53:21 -07:00
Min RK
c0f3b0abed Merge pull request #120 from jdfreder/widgets
Hardcode widgets
2015-07-22 14:48:02 -07:00
Philipp A.
3029212849 fixed logic error and moved question 2015-07-22 21:46:18 +02:00
Philipp A.
e5ec203028 Ask for confirmation if kernel is busy
fixes #8546
2015-07-22 09:23:27 +02:00
Thomas Kluyver
454a581830 Merge pull request #221 from minrk/swallow-gulp
remove gulp
2015-07-21 17:15:42 -07:00
Min RK
c41df91b10 remove gulp
Follow-suit from ipywidgets and
build js/css with Python/js scripts instead:

e.g.

- `npm run build`
- `setup.py js css`
2015-07-21 16:34:44 -07:00
Jonathan Frederic
fddd29f63a Use app_log 2015-07-21 16:34:21 -07:00
Thomas Kluyver
ecdb1091d7 Merge pull request #220 from minrk/restart-kernel
Fix scope on restart buttons
2015-07-21 14:43:06 -07:00
Min RK
715e87afc2 Fix scope on restart buttons
Restart button was excluded since
it was inside another button.
2015-07-21 14:17:19 -07:00
Thomas Kluyver
0a93cc6c6a Merge pull request #219 from minrk/contents-docstring
remove 'name' arg from file_exists docstring
2015-07-21 14:14:38 -07:00
Min RK
db86515621 Merge pull request #218 from takluyver/term-server-dir-envvar
Env variables for server root & URL in terminals
2015-07-21 14:14:06 -07:00
Min RK
c42869c3b8 remove 'name' arg from file_exists docstring
Only path is used, not separate name, path.
2015-07-21 13:56:46 -07:00
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
Jason Grout
cf69ab7428 Use instances of traits instead of trait classes 2015-07-20 20:22:35 +00:00
Thomas Kluyver
00bb47fb24 Error on disabling extension not currently enabled 2015-07-20 10:22:32 -07:00
Thomas Kluyver
095e77dfd7 Error on >1 extension for enable/disable commands 2015-07-20 10:22:15 -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
Thomas Kluyver
c21debfc4a Use notebook config file for nbextension commands 2015-07-19 21:04:33 -07:00
Thomas Kluyver
ff9f36e7f0 Local imports of ConfigManager to avoid Py2 circular import issue 2015-07-19 11:58:49 -07:00
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.
2015-07-19 11:43:22 -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
Matthias Bussonnier
688dc2c6e8 iconset for Jupyter notebook
The pngs could be generated from inkascape in a loop, though for reason X
or Y, inkscape 0.91 refuse it.

The command to generate the icns is

iconutil -c icns -o ipynb.icns ipynb.iconset

 - yes the folder have to be named icon.iconset, because apple
 - yes the file icon_111x111@2x.png is the same than icon_222x222.png
   but the @2x make a difference on retina screen, because apple

right now in **some conditions** the iconutils fails with out of memory.
we should try to pngcrush some images.
2015-07-16 17:02:15 -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