Matthias Bussonnier
494e4fe68b
Make cookie secure if used over https
2015-04-17 10:13:28 -07:00
Min RK
778202ada8
Merge pull request #222 from minrk/log-login
...
log login / logout at info-level
2015-04-12 14:29:58 -07:00
Min RK
6029204383
Merge pull request #191 from minrk/getting-started
...
add getting started doc
2015-04-12 14:29:44 -07:00
Min RK
30eef4d353
finish up first round of getting-started
2015-04-12 14:12:04 -07:00
Min RK
b30be43d22
move admin_users from JupyterHub to Authenticator
2015-04-12 14:12:02 -07:00
Brian E. Granger
ca1380eb06
Addressing review comments.
2015-04-12 14:10:55 -07:00
Brian E. Granger
491ee38a37
More edits...
2015-04-12 14:10:55 -07:00
Brian E. Granger
5a9687b02a
Editing getting started doc.
2015-04-12 14:10:55 -07:00
Min RK
6b09ff6ef2
add getting started doc
2015-04-12 14:10:55 -07:00
Brian E. Granger
bdbb6164d5
Merge pull request #228 from minrk/no-empty-shell
...
don't set empty values for HOME, SHELL
2015-04-12 11:09:22 -07:00
Min RK
2890e27052
don't set empty values for HOME, SHELL
...
in weird cases (probably misconfigured systems),
these can be empty strings.
Leave them unset in such cases.
2015-04-12 11:04:17 -07:00
Min RK
43f13086cf
Merge pull request #226 from minrk/last-activity-stop
...
don't update last_activity on shutdown
2015-04-09 09:58:08 -07:00
Min RK
e883fccf2b
don't update last_activity on shutdown
2015-04-08 12:48:04 -07:00
Min RK
364c648d6f
Merge pull request #223 from minrk/token-init-hub
...
assign hub in token app
2015-04-08 11:58:10 -07:00
Min RK
637cc1a7bb
split user init into two stages
...
- init_users populates users table
- init_spawners initializes spawner objects
only the first is needed by the token app
2015-04-08 11:47:49 -07:00
Min RK
6aae4be54d
assign hub in token app
...
avoids AttributeError on hub if there are
users with running servers.
Don't call init_hub,
which can modify the Hub's entries in the database,
which shouldn't happen in the token command.
2015-04-08 11:06:09 -07:00
Min RK
dbc410d6a1
log login / logout at info-level
2015-04-08 10:49:13 -07:00
Brian E. Granger
7ed9c9b6c0
Merge pull request #221 from minrk/debug-clear-cookie
...
Demote cookie clear message to debug-level
2015-04-07 21:58:39 -07:00
Min RK
ffece0ae79
Demote cookie clear message to debug-level
2015-04-07 21:56:25 -07:00
Min RK
59fda9632a
Merge pull request #220 from minrk/coverage
...
add some test coverage
2015-04-07 16:21:45 -07:00
Min RK
998fc28c32
various testing cleanup
...
- Disable signal register during testing.
It doesn't work in background threads.
- Fix IOLoop instance management.
Some instances were being reused across tests.
2015-04-07 16:09:27 -07:00
Min RK
34386ba3b7
more authenticator coverage
2015-04-07 15:49:25 -07:00
Min RK
64c4d00756
test add_system_user
2015-04-07 15:49:25 -07:00
Min RK
04b7056591
fix group-whitelist checks
...
and test it
2015-04-07 15:49:25 -07:00
Min RK
d9fc40652d
test shutdown API handler
2015-04-07 15:49:25 -07:00
Min RK
d0b4e5bc2a
add some basic exercise for HTML pages
2015-04-07 15:49:24 -07:00
Min RK
9372d5f872
add coverage
2015-04-07 15:49:24 -07:00
Min RK
ce59815e16
Merge pull request #205 from minrk/page-flow
...
Update page flow based on dev meeting
2015-04-07 11:12:07 -07:00
Min RK
7c5e89faa6
use jupyter logo
2015-04-06 10:56:36 -07:00
Min RK
0fe3dab408
use jinja FunctionLoader instead of monkey patch to add Control Panel button
2015-03-31 15:04:17 -07:00
Min RK
789ee44d85
Merge pull request #217 from kyper-data/master
...
switched app and singleuser to run under python3 by default
2015-03-31 14:27:08 -07:00
Min RK
163a4db3ad
single-user login url is now the root hub page
2015-03-31 13:58:09 -07:00
Min RK
50d1f78b61
add control panel link to single-user header
...
This is done by defining the `headingcontainer` block as a function, and inserting it into the template rendering.
Without monkeypatching, we could use a custom template file,
but that would make the single-user server require its own template path,
while it currently functions as a fully encapsulated single script.
2015-03-31 13:58:07 -07:00
Min RK
ab0010fa32
finish removing logout page
2015-03-31 13:56:49 -07:00
Min RK
1bc8d50261
add "Login with..." button
...
for custom authenticators that use external services (e.g. OAuth)
2015-03-31 13:56:49 -07:00
Min RK
24fd843c3c
render login form at root
...
- redirect to server, if running (hub home, otherwise)
2015-03-31 13:56:49 -07:00
Min RK
cffdf89327
remove logout page
...
redirect to landing page, instead
2015-03-31 13:56:49 -07:00
Min RK
2e53de0459
Merge pull request #216 from minrk/allow_none
...
add missing allow_none=True in Spawner
2015-03-31 13:56:19 -07:00
Kyle Solan
80531341c0
switched app and singleuser to run under python3 by default
2015-03-31 19:54:13 +00:00
Min RK
94a3584620
Merge pull request #215 from minrk/cunicode-user
...
cast user to unicode
2015-03-30 13:19:51 -07:00
Min RK
12a1ec7f57
add missing allow_none=True in Spawner
2015-03-30 13:18:09 -07:00
Min RK
d13286606a
cast user to unicode
...
allows numerical usernames without fighting with the config system.
2015-03-30 11:23:52 -07:00
Min RK
e39e6d2073
Merge pull request #211 from peterruppel/patch-1
...
Make the hub bind to address specified in hub_ip
2015-03-24 16:31:54 -07:00
Peter Ruppel
904c848bcc
Make the hub bind to address specified in hub_ip
...
Bug: the hub binds to all interfaces and ignores the address given in 'hub_ip'. The 'address' parameter was missing in the call http_server.listen().
2015-03-24 20:15:29 +01:00
Min RK
038aae7e0a
Merge pull request #208 from minrk/log-requests
...
customize request logging
2015-03-24 11:54:04 -07:00
Min RK
ba81bd4a01
Merge pull request #190 from minrk/bind_url
...
url logging
2015-03-24 11:52:33 -07:00
Min RK
36d62672df
Merge pull request #207 from minrk/get-cookie-body
...
use `cookie_name/cookie_value` URL for cookie checking API
2015-03-24 09:48:17 -07:00
Min RK
ffd334b5ff
Merge pull request #189 from jdavidheiser/master
...
set user shel from pw_shell
closes #189
closes #204
2015-03-23 17:55:44 -07:00
James Davidheiser
7701b82f58
replace using server shell with user shell
...
Per discussion on PR, replaced the heavy-handed setting of the shell environment variable through the server environment variables.
2015-03-23 17:55:16 -07:00
James Davidheiser
7ca96e5c6c
spawner.py update for default shell
...
Update spawner.py to do a better job keeping the shell variable intact for terminals launched from within the notebook.
2015-03-23 17:55:16 -07:00