Commit Graph

7434 Commits

Author SHA1 Message Date
Matthias Bussonnier
5f8ced6e77 Merge pull request #23 from ssanderson/you-probably-want-triple-equals
Clean up usage of !=/== and don't create functions in loops
2015-04-21 15:37:13 -07:00
Min RK
3be9df4a22 serve custom.js from JUPYTER_CONFIG_DIR/custom
served at /custom/ instead of /static/custom

keep serving ipython/profile/static/custom temporarily while we get the migration up
2015-04-21 15:37:13 -07:00
Scott Sanderson
2a415d19f1 MAINT: Move function creation out of loop.
See https://jslinterrors.com/dont-make-functions-within-a-loop for why
this is a really bad thing to do.
2015-04-21 15:37:13 -07:00
Scott Sanderson
b671b7c42f MAINT: Replace use of != and == with !== and ===.
I can't imagine we actually want the fun type-coercion behavior of the
original operators...
2015-04-21 15:37:13 -07:00
Matthias Bussonnier
5d6a9b7065 Merge pull request #27 from minrk/mathjax
add mathjax to components
2015-04-21 15:37:12 -07:00
Min RK
9d5911b9b6 Merge pull request #26 from jdfreder/uploadcss
Fix CSS of upload button for FF on Win7.
2015-04-21 15:37:12 -07:00
Min RK
7b4f435dc2 don't install unused mathjax on travis 2015-04-21 15:37:12 -07:00
Min RK
c6f9974faf Merge pull request #22 from Carreau/secure-cookie
Set secure cookie by default if login handler is hit.
2015-04-21 15:37:12 -07:00
Jonathan Frederic
2981e57fed Fix CSS of upload button for FF on Win7. 2015-04-21 15:37:12 -07:00
Min RK
e520a89e54 install mathjax js/css
restrict to HTML-CSS + STIX-Web for size
2015-04-21 15:37:12 -07:00
Matthias Bussonnier
63b9a1619c Set secure cookie by default if login handler is hit.
There is few chances that logged-in people do not use https connexion,
but I guess it can happened if the server is ran in front of a proxy
that does the https termination, so leave it configurable.

closes ipython/ipython#8325
2015-04-21 15:37:12 -07:00
Min RK
052b568a6f add mathjax to components
no longer look for it in nbextensions
2015-04-21 15:37:12 -07:00
Min RK
72381a1ac3 Merge pull request #15 from jasongrout/update-notebooks
Update notebooks to use the new widget and traitlet paths
2015-04-21 15:37:11 -07:00
Min RK
4a88f415ec Merge pull request #20 from jasongrout/patch-1
Add buffers argument to a widget custom message handler
2015-04-21 15:37:11 -07:00
Min RK
c353c6bbe6 Merge pull request #9 from ptone/dev-quickstart
Interim update for dev quickstart
2015-04-21 15:37:11 -07:00
Jason Grout
1f6d6c5582 Add buffers argument to a widget custom message handler
This change should have been made with the custom serialization changes a few weeks ago.  Thanks to @ssunkara1 for catching this.
2015-04-21 15:37:11 -07:00
Preston Holmes
aab26d8ebe typo fix 2015-04-21 15:37:11 -07:00
Preston Holmes
f7b8240b6c further cleanup of dev quickstart
remove invoke and less (were required by setup.py css)
removed explicit setup.py css|js (handled now by setup.py develop
2015-04-21 15:37:11 -07:00
Preston Holmes
9ff9e78389 Merge branch 'master' into dev-quickstart 2015-04-21 15:37:11 -07:00
Preston Holmes
e080992f4e Interim update for dev quickstart 2015-04-21 15:37:11 -07:00
Thomas Kluyver
277851ed32 Merge pull request #8 from jupyter/rm-submodules-2
Remove submodules
2015-04-21 15:37:10 -07:00
Min RK
c418565835 Merge pull request #12 from Carreau/jupyter_nbformat
IPython.nbformat > jupyter_nbformat
2015-04-21 15:37:10 -07:00
Jason Grout
c426954b19 Update notebooks to use the new widget and traitlet paths 2015-04-21 15:37:10 -07:00
Thomas Kluyver
21e945121c Need to specify None explicitly for utime on Python 2 2015-04-21 15:37:10 -07:00
Matthias Bussonnier
2501fa14a3 Merge pull request #1 from minrk/cluster-profile-typo
fix typo in cluster profile list
2015-04-21 15:37:10 -07:00
Matthias Bussonnier
d8c037626d IPython.nbformat > jupyter_nbformat 2015-04-21 15:37:10 -07:00
Min RK
0fa03c4240 fix typo in cluster profile list 2015-04-21 15:37:10 -07:00
Thomas Kluyver
904a59b323 Merge pull request #5 from minrk/empty-shell
handle empty but defined SHELL env
2015-04-21 15:37:09 -07:00
Thomas Kluyver
afa7cd9a21 Add comment about origin of which() 2015-04-21 15:37:09 -07:00
Min RK
95089fa22c handle empty but defined SHELL env
Sometimes SHELL can be '',
which should be treated the same as undefined.
2015-04-21 15:37:09 -07:00
Thomas Kluyver
314fcf163f Include a copy of which() for setup.py 2015-04-21 15:37:09 -07:00
Min RK
f9cb268e0d add setup.py js
from JupyterHub

- fetches node tools locally with npm
- runs bower
- setup.py css uses local less as well,
  so no need to `npm install -g` anything.
2015-04-21 15:37:09 -07:00
Min RK
cfd1ee51e5 add package.json for fetching bower, less 2015-04-21 15:37:09 -07:00
Min RK
94abadd432 remove generated css files from the repo
require `setup.py css` to run
2015-04-21 15:37:09 -07:00
Min RK
599e504a1a add bower.json from ipython-components
`bower install` in package repo fetches components
2015-04-21 15:37:09 -07:00
Min RK
617ca99020 remove submodule 2015-04-21 15:37:09 -07:00
Min RK
44ae68da77 get it running on travis 2015-04-21 15:37:08 -07:00
Min RK
9fd462653a Merge pull request #6 from ewh/master
Update keyboard.js (typo)
2015-04-21 15:37:08 -07:00
Min RK
d2fb65d816 add super basic README 2015-04-21 15:37:08 -07:00
Weston Hunter
ef08a92da1 Update keyboard.js
typo
2015-04-21 15:37:08 -07:00
Min RK
4a67068ba0 update js version test 2015-04-21 15:37:08 -07:00
Min RK
a5ffefad69 run tests with -m jupyter_notebook.jstest 2015-04-21 15:37:08 -07:00
Min RK
6a70d5b4ec move StreamCapturer to jstestcontroller 2015-04-21 15:37:08 -07:00
Min RK
ecb4a1d1e6 remove Python pieces of iptestcontroller 2015-04-21 15:37:08 -07:00
Min RK
9af6aba74c move iptest to jupyter.jstest 2015-04-21 15:37:08 -07:00
Min RK
0f63987ef9 delay IPython imports in cluster manager
in case IPython is not present

this will need a lot more work
2015-04-21 15:37:07 -07:00
Min RK
376f29cafb Notebook is a JupyterApp 2015-04-21 15:37:07 -07:00
Min RK
66bd44b4b7 ship IPython.lib.security in auth.security 2015-04-21 15:37:07 -07:00
Min RK
0fc870d383 add _sysinfo subset from IPython 2015-04-21 15:37:07 -07:00
Min RK
6f964e7ee6 add copy of tz util to contents service 2015-04-21 15:37:07 -07:00