Min RK
7c8bdc8b01
make app initialize/start async
...
avoids need for run_sync
2015-01-12 16:29:26 -08:00
Min RK
e21ce1c5da
ensure loop is current when doing run_sync
...
in app startup
2015-01-12 16:26:37 -08:00
Min RK
e186b5a3a8
add_user can be async in Hub.init_users
2015-01-12 16:26:37 -08:00
Min RK
d657d42c9a
allow some auth methods to be async
...
- add_user
- add_system_user
- system_user_exists
- delete_user
2015-01-12 16:26:37 -08:00
Min RK
5a950ec021
Merge pull request #121 from minrk/single-user-4-5
...
better errors when cookie auth check fails
2015-01-12 16:22:39 -08:00
Min RK
f994ecdacb
better errors when cookie auth check fails
...
treat it as an error, rather than failed login
when the server can't even make the request to the upstream server to check the cookie,
it is turned into various 500 errors, as appropriate
avoid raising the error more than once per get_user call,
since get_user is called during template rendering of the error page
2015-01-09 15:02:53 -08:00
Min RK
7268c079bb
Merge pull request #120 from minrk/dockerfile-requirements
...
install requirements as discrete step in docker file
2015-01-07 17:40:07 -08:00
Min RK
321ce54077
Merge pull request #117 from minrk/cli-token
...
allow creating new API tokens on the command line
2015-01-07 17:15:45 -08:00
Min RK
a2c23eed23
install requirements as discrete step in docker file
...
avoids reinstalling requirements on every change after `ADD .`
2015-01-07 17:12:29 -08:00
Min RK
9d8ea80b95
Merge pull request #118 from minrk/add-users-startup
...
Call Authenticator.add_user for new users at startup
2015-01-07 15:14:56 -08:00
Min RK
7a0979aa4f
don't compare last_activity in user models
2015-01-07 15:10:34 -08:00
Min RK
f7096a62fb
Call Authenticator.add_user for new users at startup
...
Ensures consistency between users created from config and from REST API
2015-01-07 15:07:10 -08:00
Min RK
1d324e794e
run token test in temporary directory
2015-01-06 15:51:04 -08:00
Min RK
6766c662d2
init users when creating tokens
2015-01-06 15:50:53 -08:00
Min RK
e59ba54173
add example script for culling idle servers
...
use case for `jupyterhub token`
2015-01-06 15:41:41 -08:00
Min RK
00b7f47324
reduce default last-activity interval to 5 minutes
...
from 10 minutes
2015-01-06 15:41:41 -08:00
Min RK
213b3e2afb
don't track every login as activity
...
only server activity should be tracked
2015-01-06 15:41:41 -08:00
Min RK
e066ac1863
add last_activity to user API model
2015-01-06 15:41:41 -08:00
Min RK
0abe4653ca
default to whoami for creating tokens
2015-01-06 15:41:31 -08:00
Min RK
826f07e37b
allow creating new API tokens on the command line
...
with
jupyterhub token [username]
2015-01-06 13:02:18 -08:00
Min RK
7b9bd4ec7f
Merge pull request #116 from minrk/mv-share
...
move static files to share/jupyter/hub
2014-12-26 22:45:13 -08:00
Min RK
d125abbffe
move static files to share/jupyter/hub
...
avoids conflict with other jupyter projects
2014-12-23 20:31:59 -08:00
Min RK
19b797831b
Merge pull request #115 from minrk/latency-spawner
...
allow high latency spawners
2014-12-22 15:02:49 -08:00
Min RK
6d95bf1893
test slow and never-finishing spawners
2014-12-22 13:27:23 -08:00
Min RK
53880f52b8
allow high latency spawners
...
such as VMs, batch and cloud services, etc. which can take minutes to start.
- Spawner.start_timeout sets a limit for true failure,
at which point spawner should be considered dead.
- Handler.spawn_single_user only waits up to 10 seconds
before returning. It can now return with a spawner still pending.
- Record User.spawn_pending state, and render 'pending' page
while server is starting but not started.
2014-12-22 13:27:23 -08:00
Min RK
6f43ca2a71
Merge pull request #110 from minrk/login-handler-class
...
remove login monkeypatch in single-user
2014-12-19 19:37:00 -08:00
Min RK
7b39425441
override login/logout_handler_class directly
...
after ipython/ipython#7191
2014-12-19 13:56:09 -08:00
Min RK
370b6f18d3
Merge pull request #114 from minrk/favicon-move
...
remove incorrect link to favicon
2014-12-17 11:16:24 -08:00
Min RK
5dfe378c56
remove incorrect link to favicon
...
the favicon is already in the correct default location
2014-12-17 11:01:21 -08:00
Min RK
e9edb8d71d
remove login monkeypatch in single-user
...
login/logout are overridable via public API as of ipython/ipython#6977
2014-12-07 14:40:56 -08:00
Min RK
4954733a69
Merge pull request #103 from minrk/rm-sudo
...
remove sudo
2014-12-04 12:44:20 -08:00
Min RK
c4913ffc96
remove sudo
...
add SudoSpawner in separate repo,
which works much better than this ever did.
2014-12-04 11:06:20 -08:00
Min RK
f8f9c9e121
Merge pull request #108 from minrk/no-e
...
remove `-e` from IPython line in requirements.txt
2014-11-29 20:54:03 -08:00
Min RK
61e4cdbecf
fix check for url lines when building requirements from requirements.txt
2014-11-29 20:50:25 -08:00
Min RK
b64919ed41
remove -e
from IPython line in requirements.txt
...
cannot specify extra dependencies to `pip install -e`
2014-11-29 20:48:43 -08:00
Min RK
53c4915ab6
Merge pull request #105 from minrk/deprecate-hub-app
...
deprecate JupyterHubApp config
2014-11-25 21:20:37 -08:00
Min RK
ee0be96f2c
deprecate JupyterHubApp config
...
instead of breaking it outright
2014-11-25 21:17:49 -08:00
Min RK
5db7899729
Merge pull request #104 from minrk/jupyterhub
...
s/JupyterHubApp/JupyterHub/
2014-11-25 20:18:02 -08:00
Min RK
fb7cc171c6
s/JupyterHubApp/JupyterHub/
...
users shouldn't need to know wtf Applications are
2014-11-25 19:55:24 -08:00
Min RK
3c204e6297
remove a few dangling IPythons
2014-11-25 19:28:54 -08:00
Min RK
0562e0491b
Jupyter has a mailing list
2014-11-25 11:02:27 -08:00
Min RK
73d6cd1888
add favicon
...
designed by Adrienne Wantulok
2014-11-24 16:49:19 -08:00
Min RK
c4bbbfa6ef
add missing files to MANIFEST.in
...
closes #99
2014-11-24 12:16:40 -08:00
Min RK
40b01fa32e
Merge pull request #97 from minrk/base-url
...
some fixes for non-empty base_url
2014-11-21 18:02:20 -08:00
Min RK
6a235da1ce
fix redirects when using base_url
2014-11-21 17:56:04 -08:00
Min RK
cf3a5744e7
better handle servers failing to start
...
including more informative TimeoutError messages
2014-11-21 17:55:52 -08:00
Min RK
d6c6ae2c0f
add URLPrefix traitlet
...
ensures leading, trailing /
2014-11-21 17:44:18 -08:00
Min RK
1c8b1c0cd3
add proper jupyterhub logo
2014-11-18 11:14:16 -08:00
Min RK
32b7091a28
minor readme tweak
2014-11-18 11:13:56 -08:00
Min RK
34b601848e
Merge pull request #93 from minrk/setup-no-e
...
don't include `-e` requirements in setup.py
2014-11-10 10:34:34 -08:00