Commit Graph

7641 Commits

Author SHA1 Message Date
Thomas Kluyver
79cf08eecf Set contentType to JSON when sending session models
Closes ipython/ipython#8416
2015-05-08 11:15:41 -07:00
Min RK
011f60e46b s/jupyter_nbconvert/nbconvert/ 2015-05-08 10:36:45 -07:00
Min RK
8893b178b1 Merge pull request #69 from SylvainCorlay/wrap_jquery_selection
Wrap potentially native element into a jquery selection
2015-05-07 11:18:43 -07:00
Matthias Bussonnier
8b305d331f Merge pull request #67 from takluyver/atomic-writing-2
Alternative way to do atomic writing
2015-05-06 17:08:27 -07:00
Sylvain Corlay
de5e926782 wrap potentially native element into a jquery selection 2015-05-06 23:16:55 +00:00
Thomas Kluyver
bdc226a638 Alternative way to do atomic writing
This is a hopefully more robust way of doing atomic writing of a file.

Previously, we wrote a new temporary file on each write, and renamed it
over the target file on success. This is technically neat, but
constantly recreating the file causes problems with some network
filesystems, and with sync tools like Dropbox.

The new approach copies the old file contents to a temporary file,
overwrites the target using standard open() and write() calls, and then
removes the temporary file. In case of a failure during writing, the
temporary file is renamed over the target, which should preserve the old
data.

This way, we're only using a new inode in case of a write failure, which
is hopefully rare, instead of on successful writes.
2015-05-04 14:05:57 -07:00
Matthias Bussonnier
ecc5f52c66 Merge pull request #63 from minrk/windows-hidden
check FILE_ATTRIBUTE_HIDDEN on Windows
2015-04-30 17:25:19 -07:00
Matthias Bussonnier
5b9bdbf85d Merge pull request #57 from rsmith31415/fix-firefox-print-preview
Fix print preview in Firefox
2015-04-30 17:21:01 -07:00
Min RK
7706b6832d remove SYSTEM_NBEXTENSIONS_DIRS
use SYSTEM_JUPYTER_PATH from core

for common logic with kernelspec installation
2015-04-30 12:44:29 -07:00
Min RK
5ba96d6604 check FILE_ATTRIBUTE_HIDDEN on Windows
in is_hidden
2015-04-30 10:12:48 -07:00
Min RK
4dcd67a0de Merge pull request #61 from jupyter/pip-install-all-in-one
Pip install all-in-one
2015-04-29 16:21:11 -07:00
Kyle Kelley
f40c631683 Pip install all-in-one 2015-04-29 18:13:29 -05:00
Robert Smith
611e662adf Fix print preview in Firefox 2015-04-29 00:15:49 -05:00
Min RK
4df64e7d98 Merge pull request #48 from takluyver/window-terminal
Expose JS terminal object on window
2015-04-27 11:36:44 -07:00
Min RK
6bec6c9b80 Merge pull request #40 from minrk/rm-widgets
remove widgets
2015-04-27 11:36:27 -07:00
Min RK
51375f118f Merge pull request #51 from takluyver/genutils_released
Remove genutils from requirements.txt
2015-04-27 11:36:23 -07:00
Jared Forsyth
9a57daa34d allow OPTIONS requests for api endpoints (to enable CORS) 2015-04-25 23:11:06 -06:00
Thomas Kluyver
9783031ee7 Remove genutils from requirements.txt
It's now on PyPI, so normal installation should work.
2015-04-24 15:40:21 -07:00
Thomas Kluyver
89380e456b Merge pull request #50 from minrk/termsocket-handlers
disable set_default_headers on TermSocket
2015-04-24 15:24:06 -07:00
Min RK
a70f1e220e disable set_default_headers on TermSocket
inherited from IPythonHandler, but doesn't make sense or work on websockets.
2015-04-24 13:49:11 -07:00
Thomas Kluyver
bede356585 Expose JS terminal object on window
This is handy for interactive debugging and fiddling, but it shouldn't
be documented.
2015-04-24 13:37:19 -07:00
Thomas Kluyver
520d677892 Merge pull request #44 from minrk/refresh-package-data
properly update package_data after components changes
2015-04-22 16:37:17 -07:00
Min RK
b1562cd21a properly update package_data after components changes
build_py wasn't getting updated,
causing it to leave out components fetched during setup
2015-04-22 16:19:13 -07:00
Min RK
8906efd495 remove js_prefix for js tests
allows external use of js tests by passing absolute path
2015-04-22 15:40:58 -07:00
Min RK
c5536cb113 remove widgets 2015-04-22 15:40:58 -07:00
Min RK
cc5751d5ac Merge pull request #43 from minrk/rm-mathjax
remove unused mathjax install from travis
2015-04-22 15:40:26 -07:00
Min RK
d645e7a2c1 remove unused mathjax install from travis
no longer needed now that mathjax is a component
2015-04-22 15:16:19 -07:00
Min RK
84bc29d142 Merge pull request #42 from minrk/jstest-wtf
install notebook with -e on travis
2015-04-22 15:09:12 -07:00
Min RK
9ad8811075 remove widget tests from travis 2015-04-22 14:33:48 -07:00
Min RK
e5f50a1027 install notebook with -e on travis 2015-04-22 14:11:43 -07:00
Paul Ivanov
20acac896f Merge pull request #41 from minrk/phantomjs-typo
fix copy/paste typo checking for phantomjs
2015-04-22 13:53:31 -07:00
Min RK
0b3753ab96 fix copy/paste typo checking for phantomjs 2015-04-22 13:42:03 -07:00
Min RK
c3f6163aa0 Merge pull request #37 from Carreau/livereload
Configure watch/livereload extension and document it.
2015-04-22 09:29:43 -07:00
Matthias Bussonnier
69d86dccc7 Configure watch/livereload extension and document it.
Is usefull mostly for css, but will be for typscript too.
2015-04-21 18:30:05 -07:00
Min RK
1980ada9b8 Merge pull request #34 from jdfreder/smallsplit
Segregating the widgets (the Small Split)
2015-04-21 15:37:16 -07:00
Jonathan Frederic
464169f348 Remove reference to widget less. 2015-04-21 15:37:16 -07:00
Jonathan Frederic
be9bc18717 🍰 Added a widget JS deprecation warning!
This is a combination of 9 commits.

Shim IPython.html.widgets
Add flags to widgets install.
Put shim in IPython instead
Add deprecation warning to Javascript source
Move tests
Don't use setting to pass log arround.
Simplify deprecated handler.
Use requirejs to perform redirect.
2015-04-21 15:37:16 -07:00
Jonathan Frederic
85e123e8a4 🍰 It's working! 2015-04-21 15:37:16 -07:00
Min RK
40dfdd83ce Merge pull request #36 from CarlFK/patch-1
Add commands needed for my Ubuntu Trusty box.
2015-04-21 15:37:15 -07:00
Jonathan Frederic
6be62e1502 Add static file handler 2015-04-21 15:37:15 -07:00
Carl Karsten
affa742b03 Add commands needed for my Ubuntu Trusty box.
Tested with docker, which needs 2 more:

apt-get update
apt-get install sudo git
2015-04-21 15:37:15 -07:00
Jonathan Frederic
dc0b8a2a87 Add init file. 2015-04-21 15:37:15 -07:00
Jonathan Frederic
9bb0d700c9 Fix double nesting of widget files. 2015-04-21 15:37:15 -07:00
Jonathan Frederic
3602faca1c remove widget/kernel coupling code 2015-04-21 15:37:15 -07:00
Jonathan Frederic
9865220d53 Remove widget/CodeCell coupling code. 2015-04-21 15:37:15 -07:00
Jonathan Frederic
1e23d868db Move widget files for the small split. 2015-04-21 15:37:15 -07:00
Min RK
1259a04fc6 Merge pull request #17 from Carreau/gulp-css
use gulp to build css
2015-04-21 15:37:14 -07:00
Min RK
feb4072629 Merge pull request #11 from stuntgoat/sphinx-support
Sphinx support
2015-04-21 15:37:14 -07:00
Matthias Bussonnier
645733bfc6 write sourcemaps as separate files 2015-04-21 15:37:14 -07:00
stuntgoat
4366fa27b8 adding sphinx support 2015-04-21 15:37:14 -07:00