Min RK
684afed3f1
restore user.running property
...
it was made a method for handing named_servers,
but that made things way more complicated and replaced a boolean flag with a callable,
which would behave unexpectedly but without error if a boolean flag was expected.
Spawners have properties for dealing with this now, so use spawners
Restore `user.running` as an alias for `user.spawner.ready`
2017-08-03 11:09:27 +02:00
Min RK
645575239f
running is a method now
...
a few that were missed on the home page
2017-07-26 15:38:34 +02:00
Min RK
e28f3947bd
Merge branch 'master' into named_servers
2017-07-21 15:43:09 +02:00
Min RK
d4c48db248
add spinner on slow-spawn page
2017-07-20 14:30:45 +02:00
Min RK
4b5aad41b1
make user.running a method
...
accept server names
2017-07-18 14:48:29 +02:00
Min RK
6b22f80ead
Add Authenticator.auto_login
...
Simplifies login URL, handler login
- all login redirects go to `settings['login_url']`
- `login_url` is unconditionally `/hub/login`
- `/hub/login` renders form page or 'login with...' button
- enabling auto_login redirects from /hub/login to Authenticator.login_url()
2017-04-07 14:49:18 +02:00
Min RK
4bb8e47f3b
implement admin-access with OAuth
2017-03-30 19:15:43 +02:00
Mike Gevaert
21af37a7a3
Teach FormSpawner to handle query next=/path/to/landing
...
* before, if /user-redirect/ was used, or if ?next=/path/
and there was a FormSpawner, the query param would be lost
2017-03-17 14:00:15 +01:00
YuviPanda
efab0dbc47
Hide the logout icon from screen readers
...
This makes the logout link more discoverable by screen readers,
which sort links based on what they say. Since our icon was
in front of and not behind 'Logout', someone looking for Logout
will not find this
2017-03-09 10:35:28 -08:00
Min RK
f3b7fda4a8
it's JupyterHub
...
not Jupyter Hub
2017-02-08 14:43:11 +01:00
Min RK
6c6d070b16
minor html cleanup
2017-02-08 14:42:41 +01:00
Min RK
c2b494f702
put nav in the header
...
reduce custom css, use more bootstrap variables.
Admin link is now in the heading rather than the list of big buttons
2017-02-08 14:19:35 +01:00
Min RK
958ee00efd
Add /token page with a button for requesting new tokens
2017-02-08 14:16:11 +01:00
spoorthyv
309b1bda75
Updated Logos
2016-09-26 15:56:11 -07:00
Min RK
6e9a77f55f
hide http warning until it's relevant
...
avoids flash of invalid warning when everything is correct
2016-06-13 12:07:52 +02:00
Matthias Bussonnier
3ddfa5f939
Add a warning on login if page not over ssl.
...
The --no-ssl option in the backend make sens, but still too many
deployment are not over SSL because they underestimate / do not
understand the risks.
2016-06-12 13:24:46 -07:00
Peter Dave Hello
be95a27597
optimize images
2016-05-16 21:46:53 +08:00
Min RK
dccb85d225
plural add-users ids
2016-05-04 13:57:16 +02:00
Min RK
a0e401bc87
Merge pull request #551 from minrk/proxy-error
...
Serve proxy error pages from the Hub
2016-05-04 12:34:10 +02:00
Min RK
ff997bbce5
Add Stop All button to admin page
...
for stopping all single-user servers at once
2016-05-03 13:25:12 +02:00
Min RK
77d3ee98f9
allow logo_url in template namespace to set the logo link
2016-04-27 14:06:51 +02:00
Min RK
1f861b2c90
server proxy error pages from the Hub
2016-04-27 14:06:29 +02:00
Min RK
922956def2
allow user.url to be accessed without the server running
...
Reduces the number of different ways we need to build the same URLs.
2016-03-09 09:30:50 +01:00
YuviPanda
e0219d0363
Use encoded URL when redirecting user notebooks
...
Otherwise it breaks for usernames that have url unsafe
characters.
2016-03-08 18:41:35 -08:00
Min RK
39c171cce7
allow overriding logo
...
by specifying JupyterHub.logo_file
also ensures single-user server always has the same logo image as the Hub
2016-02-09 15:38:34 +01:00
Min RK
8a4305a15c
s/chose/choose/ typo
2016-01-25 12:57:19 +01:00
Min RK
0555ee44e7
turn on jinja autoescape
...
now that we are putting user content on the page
2016-01-22 16:02:51 +01:00
Min RK
ef40bd230e
Show error messages on spawn form
...
when spawning fails
instead of 500
2016-01-22 16:02:11 +01:00
Tim Head
a59f57e095
Handle file upload in spawner form
...
Allow files to be uploaded in the spawner form.
2016-01-09 13:53:45 +01:00
Min RK
28f5f33a76
add bootstrap form-control to spawner form inputs
2015-12-30 13:55:38 +01:00
Min RK
ba634354dd
Add Spawner form
...
If Spawner.options_form is specified, a form providing input controls is shown to the user prior to launch.
Spawners access the result via the `self.user_options` dict.
The default spawners offer no form.
2015-12-30 13:55:01 +01:00
Min RK
6f128758db
move non-persisted User objects (spawner-related) off of orm.User
...
adds higher level User object, which handles spawning.
This object has running, spawner, etc. attributes.
2015-11-30 14:05:00 +01:00
Min RK
da647397ac
create multiple users in admin panel
...
usernames separated by lines
2015-05-06 14:03:19 -07:00
Min RK
7c5e89faa6
use jupyter logo
2015-04-06 10:56:36 -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
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
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
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
Matthias Bussonnier
a6b79780b3
compute gradient
2015-03-03 17:14:58 -08:00
Matthias Bussonnier
25bcb6ede4
fix bootstrap bug
2015-03-03 17:09:30 -08:00
Bussonnier Matthias
839bd79bbd
Implementation of login page design
2015-03-03 16:53:35 -08:00