Commit Graph

1693 Commits

Author SHA1 Message Date
Min RK
3be33f2884 escape cookie value in auth uri
requests didn't seem to need it,
but I feel safer doing it explicitly.
2015-03-23 16:17:28 -07:00
Min RK
3d6a0c126f custom request logging
adapted from IPython

- demotes static page success, cache hits to debug-level
- removes auth info from log messages
- logs usernames for authenticated requests
2015-03-23 15:45:57 -07:00
Min RK
39a7feea72 use cookie_name/cookie_value URL for cookie checking API
instead of putting the value in the request body,
which is verboten for GET requests
2015-03-23 15:14:36 -07:00
Min RK
5529774c1d url logging
log the actual bind url (Server.bind_url),
rather than the connect url (Server.url),
which converts all-interfaces IPs to 'localhost'
2015-03-23 12:12:10 -07:00
Min RK
ffb2ba055a remove inappropriate argv in Hub.instance() 2015-03-23 12:06:07 -07:00
Min RK
2a2f9c0b67 Merge pull request #189 from minrk/timeout-spawn-error
better error messages for spawn failure
2015-03-23 11:55:15 -07:00
Min RK
3e89f45954 Merge pull request #197 from minrk/expire-token
expire login cookies
2015-03-23 11:51:08 -07:00
Min RK
fad5f5a61d Merge pull request #200 from quantopian/group_auth
DEV: Allow setting a whitelist_group on LocalAuthenticator.
2015-03-22 21:22:49 -07:00
Scott Sanderson
ed94c2d774 BUG: group_whitelist is a set, not a scalar. 2015-03-22 14:51:10 -04:00
Scott Sanderson
77c66d8b27 DEV: Make group/user whitelist mutually exclusive.
If group whitelist is provided, it takes precedence.
2015-03-19 10:42:55 -04:00
Scott Sanderson
33a4f31520 DEV: Allow setting a whitelist_group on LocalAuthenticator.
Any user in the group is considered in the whitelist.
2015-03-18 19:20:10 -04:00
Min RK
3fb2afc2bd expire login cookies
via tornado's max_age_days mechanism

default expiry is two weeks
2015-03-17 12:56:06 -06:00
Min RK
8787335b01 Merge pull request #196 from quantopian/invalidate-su-cookies
DEV: Periodically clear single-user server cookie cache.
2015-03-17 12:46:54 -06:00
Min RK
376ee29b12 Merge pull request #195 from minrk/chp-missing
better error when proxy command isn't found
2015-03-17 12:44:30 -06:00
Scott Sanderson
5e16e6f52f DEV: Periodically clear single-user server cookie cache.
Default is every 5 minutes.
2015-03-17 13:48:44 -04:00
Min RK
ce45fde74a better error when proxy command isn't found 2015-03-17 11:46:12 -06:00
Min RK
665edb6651 Merge pull request #194 from quantopian/handle-404-auth
BUG: Correctly handle 404 from hub.
2015-03-17 10:54:38 -06:00
Scott Sanderson
f98c8feaae BUG: Correctly handle 404 from hub.
Previously, the `if r.status_code == 404` branch was being trampled by a
later `if r.status_code > 400` branch.
2015-03-17 12:00:26 -04:00
Min RK
5100dd29c2 note when installing with npm 2015-03-14 14:32:31 -06:00
Min RK
40ae3a5821 Merge pull request #188 from blippy/master
Make jupyterhub and jupyterhub-singleuser executable and call python3
2015-03-13 12:57:58 -07:00
Min RK
da1fe54aee better error messages for spawn failure
Server started, but never became accessible:

> Failed to reach your server.
> Please try again later.
> Contact admin if the issue persists.

Server failed to start (errors in Spawner):

> Failed to start your server.
> Please contact admin.
2015-03-13 12:12:36 -07:00
Min RK
545739472e make default http timeout 30 seconds
some computers can be very slow to start
2015-03-13 12:04:07 -07:00
mark carter
36bb03dc3f Make jupyterhub and jupyterhub-singleuser executable and call python3 2015-03-13 09:01:00 +00:00
Min RK
61fa2d9ef2 Merge pull request #182 from Carreau/theme
Better Theme II
2015-03-08 18:26:42 -07:00
Matthias Bussonnier
301560b6f8 use bootstrap variables 2015-03-08 18:06:43 -07:00
Matthias Bussonnier
5bd649829a remove dropdown 2015-03-08 17:44:46 -07:00
Matthias Bussonnier
eccf2fe5be Make theme closer to notebook.
improvement of admin page split
edit/delete in their own column
2015-03-08 17:39:46 -07:00
Min RK
e82683d14f remove 'workaround' that didn't workaround anything 2015-03-08 17:25:53 -07:00
Min RK
2455680ab8 cleanup bizarre login html 2015-03-08 17:21:04 -07:00
Min RK
827f694589 simplify login css
use mixins, remove lots of unnecessary CSS
2015-03-08 17:21:04 -07:00
Min RK
fa7e230b6e Merge pull request #56 from Carreau/master
Implementation of login page design
2015-03-08 17:20:23 -07:00
Min RK
42a8094b20 add links to wiki auth/spawner lists
from the docs
2015-03-07 17:08:13 -08:00
Min RK
a898063b83 back to dev 2015-03-07 16:48:20 -08:00
Min RK
cf2b2fb76e release 0.1.0 0.1.0 2015-03-07 16:47:31 -08:00
Min RK
0473d27853 exclude some unnecessary files from components 2015-03-07 16:40:44 -08:00
Min RK
90387bae9b add CONTRIBUTING.md 2015-03-07 16:11:49 -08:00
Min RK
8bc2ccba0a Merge pull request #183 from minrk/docs
add docs on custom authenticators and spawners
2015-03-07 16:11:11 -08:00
Min RK
e6e9856861 add docs on custom authenticators and spawners 2015-03-07 16:04:27 -08:00
Min RK
94620d69cf mention ipython[notebook] in README
closes #181
2015-03-07 14:46:01 -08:00
Min RK
51c06c2fc0 Merge pull request #180 from minrk/exit-on-fail
die on failed startup
2015-03-06 16:56:16 -08:00
Min RK
4616e42ca6 die on failed startup
when init, start were made async, the eventloop would continue to run after an exception
2015-03-06 16:28:31 -08:00
Matthias Bussonnier
c0b67770e4 make color and gradient more logo-like 2015-03-06 12:25:07 -08:00
Matthias Bussonnier
791e527695 do not change brand primary, plus rework login form 2015-03-06 12:06:45 -08:00
Min RK
7628002228 Merge pull request #177 from minrk/release
add release script
2015-03-05 15:00:59 -08:00
Min RK
fb81ced325 add release script
modified from pyzmq

mostly simpler, due to the removal of multiple Python versions needed for wheels.
2015-03-05 12:41:36 -08:00
Min RK
d871bb3218 simplify version_info
use '.' as separator
2015-03-05 12:04:58 -08:00
Min RK
9af29126ab remove errant npm install from Dockerfile 2015-03-05 11:25:42 -08:00
Min RK
b6ab62ae3a Merge pull request #176 from minrk/sigterm
cleanup after SIGTERM
2015-03-05 10:50:03 -08:00
Min RK
1e8f3e9448 cleanup after SIGTERM 2015-03-05 10:42:05 -08:00
Min RK
cfce35c0c6 don't need to walk npm bin dirs
use node_modules/.bin
2015-03-05 10:21:42 -08:00