Commit Graph

49 Commits

Author SHA1 Message Date
Min RK
312e7974d9 limit concurrency of cull requests
avoids simultaneous request for deletion of lots of users, which can slow down the Hub
2018-04-06 16:03:48 +02:00
Min RK
340a736722 use age instead of time cutoff
gets nicely formatted timedeltas in logging
instead of absolute times
2018-04-03 15:24:10 +02:00
Min RK
7bf93cb7e6 update cull_idle_servers for 0.9
- adds max-age
- handle named servers
- refactor culling a bit
2018-04-03 15:24:10 +02:00
Min RK
4fa9535fd4 get upstream changes from cull_idle_servers.py in zero-to-jupyterhub 2018-04-03 15:24:10 +02:00
Min RK
98d3b538af Further clarifications in external-oauth example 2018-03-13 10:03:01 +01:00
Min RK
8b3c2fa12f add whoami-oauth-basic example
implements oauth without inheriting from HubOAuthenticated

should be easier to parse for users with alternate oauth implementations
2018-03-13 10:03:01 +01:00
Min RK
079b0c1b91 feedback in README 2018-02-23 13:44:07 +01:00
Min RK
6970df4dda add external oauth example 2018-02-22 17:01:00 +01:00
Joshua Milas
3c5eb934bf Update docs and examples for the slash at the end of the prefix 2017-10-31 14:04:37 -04:00
Min RK
24ff91eef5 avoid oauth state cookie collisions
in case of multiple simultaneous

- state arg is strictly required now
- default cookie name in case of no collision is unchanged
- in case of collision, randomize cookie name with a suffix and store cookie_name in state
- expire state cookies after 10 minutes, not 1 day
2017-09-21 14:32:47 +02:00
Joshua Milas
73564b97ea Updated the whoami-flask example 2017-09-11 12:16:17 -04:00
Min RK
f9a90d2494 add —cull-users to cull_idle_servers
allows deleting idle users in addition to servers for temp-user cases such as binder/tmpnb
2017-08-30 10:31:44 +02:00
Min RK
03bb094b90 update service-whoami examples to include OAuth 2017-08-17 17:29:45 +02:00
CRegenschein
72550725da jupyterhub-1219 Enhancement: automatically create a directory for the user after successful login 2017-07-20 14:02:13 +02:00
Min RK
66f01fc880 set login url on hub_auth 2017-01-25 22:58:10 +01:00
Min RK
8a226e6f46 simplify singleuser-service examples
now that service env vars are respected
2017-01-06 17:21:28 +01:00
Min RK
f5b30fd2b4 move version requirement further up 2017-01-06 16:57:13 +01:00
Min RK
a43d677ae4 add external-service shared notebook example 2017-01-06 13:30:53 +01:00
Min RK
dcfe71e7f0 add managed notebook service example 2017-01-06 13:30:53 +01:00
Carol Willing
69e721de46 Remove duplicate word in docstring 2016-10-26 02:19:49 -07:00
Min RK
fd4a04e3f3 docs review 2016-10-26 10:22:54 +02:00
Min RK
4c3b134f10 add flask whoami service
for a non-tornado example
2016-10-25 13:24:46 +02:00
Min RK
6a9f346b21 Deprecate --no-ssl
it's unnecessarily pedantic. Just warn instead.
2016-09-30 16:16:33 +02:00
Min RK
eb3252da28 simplify whoami service example
rely on defaults in HubAuthenticated to show how simple it can be
2016-09-26 14:18:54 +02:00
Carol Willing
fd1544bf41 Edits per @minrk's review 2016-09-08 07:16:25 -07:00
Carol Willing
f595b1ad59 Add clarification re: run on hub not each single user server 2016-09-07 21:21:10 -07:00
Carol Willing
5b3ac6c840 Add readme to cull-idle example 2016-09-07 14:01:46 -07:00
Min RK
140c4f2909 use services API in cull-idle example 2016-08-27 13:23:45 +02:00
Min RK
ef9656eb8b add example service 2016-05-30 13:32:10 +02:00
Min RK
9cdda101c7 Move onbuild step to jupyterhub-onbuild
Removes onbuild from from jupyter/jupyterhub image,
though it remains incomplete and will not run without a config file.
2016-04-19 13:21:24 +02:00
Min RK
491da69994 typo 2016-04-18 12:51:35 +02:00
Min RK
647dd09f40 add spawn-form example 2015-12-30 13:55:39 +01: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
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
fb7cc171c6 s/JupyterHubApp/JupyterHub/
users shouldn't need to know wtf Applications are
2014-11-25 19:55:24 -08:00
Min RK
0562e0491b Jupyter has a mailing list 2014-11-25 11:02:27 -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
e6335482c5 update some file names
default config file is now `jupyterhub_config.py`,
to be consistent with everything else

add config files, runtime files to .gitignore
2014-11-04 11:58:33 -08:00
Scott Sanderson
cdca10378f DOC: Fix more typos in warning messages. 2014-11-03 14:34:14 -05:00
Scott Sanderson
b6d230e04d DOC: Fix typo in postgres example message. 2014-11-03 13:51:20 -05:00
Scott Sanderson
b34a6d7f83 DEV: Use docker links to set password environment variable in the hub.
Also, yell at people if they use the default password.
2014-11-02 21:40:58 -05:00
Scott Sanderson
eee5e5d2ed DOC: Add note about default username/password configuration. 2014-10-31 15:57:35 -04:00
Scott Sanderson
d084d98783 DOC: More tweaks to postgres example. 2014-10-31 15:44:37 -04:00
Scott Sanderson
b5a288587e DOC: Update the README for postgres example. 2014-10-31 14:55:10 -04:00
Scott Sanderson
1a1687f27a DEV: Split postgres example into separate db and hub containers. 2014-10-31 14:38:50 -04:00
Scott Sanderson
db3eb28c90 DOC: Tweaks to comments in initdb.sh. 2014-10-30 17:51:00 -04:00
Scott Sanderson
a1a7c432d2 DOC: Add instructions to README.md 2014-10-30 17:42:10 -04:00
Scott Sanderson
8365e291aa DOC: Add example Dockerfile for running a Postgres backend. 2014-10-30 17:30:01 -04:00
MinRK
9e75d8248f add sudo example Dockerfile 2014-10-21 20:04:12 -07:00