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
Min RK
c19ecdd1b2
Don't install requirements in Dockerfile
...
`pip install .` covers that
The one exception is IPython master,
which is inherited from the base image.
2014-11-08 21:02:46 -08:00
Min RK
584062fbee
install requirements explicitly in README
...
needed for IPython from dev
2014-11-08 21:02:03 -08:00
Min RK
ab6d67f0c9
don't add -e
requirements in setup.py
...
They don't work properly, so don't try.
This means that until IPython 3 is released,
`pip install -e .` will be insufficient.
IPython will need to be installed separately.
2014-11-08 21:00:24 -08:00
Min RK
e79e33051b
Merge pull request #91 from minrk/sudo-cwd
...
handle some failures in sudo
2014-11-04 19:30:22 -08:00
Min RK
612e4ee332
make Spawner.notebook_dir configurable
...
resolved based on user's home dir
2014-11-04 13:53:01 -08:00
Min RK
6340b1dcc1
ignore some more files in .dockerignore
2014-11-04 13:52:40 -08:00
Min RK
f807a832e0
catch os.chdir errors
...
when spawning subprocesses.
Walk up until something works,
eventually falling back on a temper.
2014-11-04 13:52:18 -08:00
Min RK
71dbdaf3f2
make home dirs private in sudo example
...
tests use case where sudo failed to set cwd
2014-11-04 13:47:08 -08:00
Min RK
75d2400b6c
fix 'Invalid cookie token' message when no cookie is set
2014-11-04 13:47:08 -08:00