Commit Graph

176 Commits

Author SHA1 Message Date
MinRK
83e9762845 add basic CLI and config file support
See `jupyterhub -h` for common shortcuts

default config file: `jupyter_hub_config.py`
generate config file with: `jupyterhub --generate-config`
non-default config file: `jupyterhub -f myconfig.py`
2014-09-16 14:47:48 -07:00
MinRK
b24e47d94a some updates to login redirects
/anything served by Hub redirects to /hub/anything

/hub/user/[user] spawns single-user server and redirects to it
2014-09-14 16:47:09 -07:00
MinRK
0a8759b0a5 flesh out REST API
can now list/view/add/create/modify users
and start/stop single-user servers
2014-09-14 16:47:09 -07:00
MinRK
a245641886 simplify handler setup with default_handlers in modules
like IPython's, but a bit simpler since we don't have
so many services to deal with.
2014-09-14 11:54:37 -07:00
MinRK
53edc0b2f7 add a notion of admin users
and an @admin_only decorator for restricted methods
2014-09-14 11:54:05 -07:00
MinRK
6d753ec6ea use 302 not 301 on / 2014-09-14 11:53:10 -07:00
MinRK
e762a87241 fix IOLoop / subprocess cleanup
- use IOLoop.current
- don't stop loop in cleanup
2014-09-13 15:43:42 -07:00
MinRK
573f34a5b5 avoid KeyError in logging with IPython 2 2014-09-13 15:43:09 -07:00
MinRK
1a09bef767 relay --log-level debug to proxy 2014-09-13 15:42:31 -07:00
MinRK
20faa5027c remove unintentional RedirectHandler 2014-09-13 13:21:09 -07:00
MinRK
67e12c1a5e use run_sync to run coroutines in sync contexts
allows using py.test stuff in spawner/auth tests
2014-09-12 15:58:48 -07:00
MinRK
714770d499 reorg handlers a bit
make room for API handlers
2014-09-12 12:09:26 -07:00
MinRK
a87c21c2d4 avoid logging errors when running with IPython < 3 2014-09-11 22:11:06 -07:00
MinRK
6267b251bf public IP is all interfaces by default 2014-09-11 22:10:43 -07:00
MinRK
d3c35bbf6e validate port conflicts
closes #23
2014-09-09 22:38:48 -07:00
MinRK
7f93ea2325 add some basic HTML pages
and LESS

closes #6
2014-09-09 15:20:21 -07:00
MinRK
ccca148dbb configproxy moved to single default-target arg from separate upstream args 2014-09-08 12:41:47 -07:00
MinRK
ca2c6977fb move templates to share 2014-09-04 14:43:33 -07:00
MinRK
8835458e9d expose proxy SSL arguments
public server can now be HTTPS

still no SSL behind the proxy
2014-08-25 16:12:04 -07:00
MinRK
534eee46fc rename db.py orm.py
less confusing to have self.db and orm.User
than self.db and db.User.
2014-08-25 15:10:28 -07:00
MinRK
3d91437896 cleanup with new IOLoop
restarting interrupted IOLoop is unsafe (tornadoweb/tornado#1155).
2014-08-22 21:50:21 -07:00
MinRK
936d385c47 pass correct ip/port args to proxy 2014-08-22 18:23:31 -07:00
MinRK
8ca425fd8a make it a proper package
both jupyterhub and configurable-http-proxy
2014-08-20 20:26:02 -07:00
MinRK
a156d09d11 add configurable authentication
and coroutine auth and spawning
2014-08-20 11:16:45 -07:00
MinRK
26fe357f11 fixup init_logging 2014-08-20 10:56:50 -07:00
MinRK
c7acaec239 s/multiuser/jupyterhub 2014-08-19 17:44:30 -07:00