Min RK
74fb2e6a05
Merge pull request #163 from minrk/clean-css
...
use `lessc --clean-css`
2015-03-04 15:44:59 -08:00
Min RK
94180d1c6c
Merge pull request #166 from minrk/debug-proxy
...
add JupyterHub.debug_proxy
2015-03-04 15:30:39 -08:00
Min RK
c48793c77c
Merge pull request #162 from minrk/sdist
...
prepare for sdist
2015-03-04 15:30:25 -08:00
Min RK
059d081a79
prepare for sdist
...
- trigger js/css before sdist (always)
- trigger js/css before build_py (part of wheel, install) iff installing from repo
should avoid running js, css from sdist
2015-03-04 15:21:51 -08:00
Min RK
5c54792687
Merge pull request #169 from minrk/user-stop
...
Don't schedule user stop before removing from proxy
2015-03-04 15:21:38 -08:00
Min RK
f8fc7fb174
Merge pull request #167 from minrk/depend-ipython
...
don't depend on ipython[notebook] in requirements.txt
2015-03-04 14:57:38 -08:00
Min RK
288e361ae6
Don't schedule user stop before removing from proxy
...
user.stop clears user.server, which proxy.delete_user uses
scheduling user.stop first creates a race where user.server is None when it's removed from the proxy.
2015-03-04 14:54:38 -08:00
Min RK
4f3fcb92da
add JupyterHub.debug_proxy
2015-03-04 14:42:39 -08:00
Min RK
ecd27d00ac
install clean-css on travis
2015-03-04 14:41:13 -08:00
Min RK
506e0e569c
use lessc --clean-css
...
instead of deprecated `lessc -x`
2015-03-04 14:40:37 -08:00
Min RK
177f519f50
Merge pull request #168 from minrk/scoped-session
...
use scoped session
2015-03-04 14:39:54 -08:00
Min RK
1c3102fd0a
restore db echo in tests
...
while we are having weird db failures
2015-03-04 14:14:46 -08:00
Min RK
dfa8b601d1
use scoped session
...
doesn't actually matter for real usage,
but may help in multi-threaded tests
2015-03-04 14:14:03 -08:00
Min RK
5a962c3aac
Merge pull request #165 from minrk/connectable-host
...
make host connectable when ip is empty
2015-03-04 12:48:02 -08:00
Min RK
0414a0be0d
don't depend on ipython[notebook] in requirements.txt
...
it's not always required that the notebook server run in the same env (docker, etc.),
and non-setuptools installs of ipython (e.g. conda)
prevent extras from being defined.
2015-03-04 12:28:20 -08:00
Min RK
c991438c3d
make host connectable when ip is empty
...
turn '' into 'localhost', so that it is a valid URL for connection
2015-03-04 12:13:06 -08:00
Matthias Bussonnier
a6b79780b3
compute gradient
2015-03-03 17:14:58 -08:00
Matthias Bussonnier
25bcb6ede4
fix bootstrap bug
2015-03-03 17:09:30 -08:00
Bussonnier Matthias
839bd79bbd
Implementation of login page design
2015-03-03 16:53:35 -08:00
Min RK
09b27ca44d
Merge pull request #160 from minrk/default-spawner-ip
...
make spawner IP configurable
2015-03-02 17:48:57 -08:00
Min RK
f81d4ba44c
update tests with new default server ip ('')
...
and verify that starting a Spawner sets ip to localhost
2015-03-02 16:48:21 -08:00
Min RK
8ae0109322
make spawner IP configurable
...
mainly for localhost->127.0.0.1 config in pathological cases
2015-03-02 16:48:21 -08:00
Min RK
162a6a0ba7
add Spawner.args
...
easy access to specify extra args for `ipython notebook`
2015-03-02 16:46:03 -08:00
Min RK
a14fa9124a
Merge pull request #157 from minrk/shutdown-without-cleanup
...
make shutdown of servers and proxy optional during Hub shutdown
2015-03-01 21:53:13 -08:00
Min RK
91d8a8efef
cleanup_servers, _proxy helpstrings
2015-03-01 21:49:36 -08:00
Min RK
655b001c0c
Merge pull request #159 from minrk/ipython-3
...
add IPython 3 to requirements
2015-02-28 14:32:03 -08:00
Min RK
12a796260f
Merge pull request #158 from minrk/wait-spawners
...
give spawners a second to start in tests
2015-02-28 13:23:08 -08:00
Min RK
7fde5a6264
add IPython 3 to requirements
...
IPython 3 is released, so no longer need git URL
2015-02-28 13:22:06 -08:00
Min RK
e265452d16
give spawners a second to start in tests
...
avoids intermittent test failures when interpreter initialization catches the signal
instead of the inner loop
2015-02-28 13:19:53 -08:00
Min RK
d089f7433d
add Shutdown Hub button to Admin page
...
with dialog and checkboxes for cleaning up servers and/or proxy
2015-02-28 12:20:45 -08:00
Min RK
ea4d5e22e5
Merge pull request #156 from minrk/coroutine-traceback
...
scrub repetitive gen.py, coroutine.py frames from coroutine tracebacks
2015-02-28 11:54:10 -08:00
Min RK
e39388f7a2
more logging during cleanup
2015-02-27 14:09:51 -08:00
Min RK
71ada39027
add /api/shutdown handler
...
POST /api/shutdown triggers clean shutdown.
URL parameters allow specifying whether servers and/or proxy should be cleaned up.
2015-02-27 14:09:30 -08:00
Min RK
daeb650228
add cleanup_proxy and cleanup_servers config
...
allows selective shutdown of just the Hub
without needing to shutdown with different signals.
2015-02-27 13:43:15 -08:00
Min RK
0439a3f79c
scrub repetitive gen.py, coroutine.py frames from coroutine tracebacks
...
when logging exceptions
2015-02-27 13:19:18 -08:00
Min RK
7486f1f20d
Merge pull request #151 from quantopian/log-file
...
Add support for logging to a file.
2015-02-24 17:57:27 -08:00
Scott Sanderson
228068b541
DEV: Don't override if a user has set a formatter.
2015-02-24 20:36:39 -05:00
Scott Sanderson
2a39fbe00a
DEV: Allow a list of log handlers.
2015-02-23 09:51:28 -05:00
Scott Sanderson
17e4f2f2d1
DOC: Add help for extra_log_file and extra_log_handler.
2015-02-23 09:05:53 -05:00
Scott Sanderson
6fa51c770e
DEV: Add support for logging to a file.
2015-02-22 22:35:18 -05:00
Min RK
1b63681199
Merge pull request #150 from minrk/running-fix
...
check user.running in delete handler
2015-02-19 20:38:03 +01:00
Min RK
5f1abf4461
check user.running in delete handler
...
missed a spot in #147
2015-02-19 20:36:02 +01:00
Min RK
d1d9b5763b
Merge pull request #149 from minrk/routes.values
...
fix filter check in Proxy.check_routes
2015-02-11 12:02:26 -08:00
Min RK
7082ea60ee
fix filter check in Proxy.check_routes
...
and test that check_routes works as intended
2015-02-11 11:17:01 -08:00
Min RK
edfb39c74c
Merge pull request #148 from minrk/poke-proxy-api
...
add proxy API
2015-02-08 10:24:42 -08:00
Min RK
9e9c7c4b68
Merge pull request #147 from minrk/failed-spawn
...
prevent inconsistent state if Spawner.start fails
2015-02-08 10:23:39 -08:00
Min RK
b4980f1736
test inconsistent state if Spawner.start fails
2015-02-08 10:19:48 -08:00
Min RK
c82903b85e
add 'pending' to user REST model
2015-02-08 10:19:48 -08:00
Min RK
088893e3dc
cleanup HTTP server in JupyterHub.stop
...
and cleanup MockHub instance in between uses
2015-02-08 10:16:46 -08:00
Min RK
037fb66f2f
test externally managed proxy
...
including stop/restart and new API url
2015-02-08 10:15:28 -08:00