Richard Darst
9c27095744
Add customizable announcement text on home,login,logout,spawn
...
- Using the new template_vars setting (#1872 ), allow the variable
`announcement` to create a header message on all the pages in the
title, or the variables `announcement_{home,login,logout,spawn}` to
set variables on these single pages.
- This is not the most powerful method of putting an announcement into
the templates, because it requires a server restart to change. But
the invasiveness is very low, and allows minimal message
without having to touch the templates themselves.
- Closes : #1836
2018-06-03 01:18:48 +03:00
Daisuke Taniwaki
690b07982e
Handle NULL created column of api_tokens table
2018-06-02 23:55:21 +09:00
Dave Hirschfeld
62ebcf55c9
Allow configuring the heading in spawn.html
2018-05-11 13:34:17 +10:00
Min RK
46d495e1e2
use btn-primary instead of btn-success
...
avoid references to formerly-green color
2018-05-02 11:19:46 +02:00
Min RK
acc6c22355
eliminate distinction between 'primary' and 'success'
...
since we don't use them both on the same screen
2018-05-02 11:16:56 +02:00
Min RK
8143182971
pick colorblind-friendly alternatives for success/danger
...
danger is still red, success is now blue
picked from color brewer 2 RdYlBu
2018-05-02 11:14:19 +02:00
Min RK
45c871d779
add some description of API and OAuth tokens
2018-04-20 15:34:52 +02:00
Min RK
771c60ca37
update default token page note
2018-04-20 15:34:52 +02:00
Min RK
ce535b55bc
Revoking one oauth token revokes all oauth tokens for that client
2018-04-20 15:34:52 +02:00
Min RK
33cb62c2ee
support revoking tokens from token page
2018-04-20 15:34:52 +02:00
Min RK
32fe3cf61d
support adding note to new tokens on token page
...
turn token request into a form
2018-04-20 15:34:52 +02:00
Min RK
73a05498ce
support new token API in jhapi.js
2018-04-20 15:34:52 +02:00
Min RK
034147f604
add token lists to token page
2018-04-20 15:34:52 +02:00
Min RK
beedc94179
delete the spinner
...
no need for a spinner when we have a progress bar
2018-04-09 10:32:28 +02:00
Min RK
9b7186e9b8
close eventstream on success
2018-04-05 11:22:00 +02:00
Min RK
4eb07f9d48
stop spinner on failure
2018-04-05 11:22:00 +02:00
Min RK
4f78cbbd1b
implement progress on spawn_pending page
...
- add Spawner.progress method. Must be an async generator of JSON-able progress events
- add /api/users/:user/server-progress eventstream endpoint
- use eventstream to fill progress bar on the spawn pending page
2018-04-05 11:22:00 +02:00
Min RK
3117ea9d34
handle user.last_activity being None
2018-04-03 15:14:47 +02:00
Min RK
5010af941b
'start server' on admin page opens spawn form
...
if spawn form is registered and admin access is enabled
cannot use spawn form on behalf of users without admin_access
2018-03-12 14:23:52 +01:00
Min RK
b151d333d3
show who you're spawning for if it's not yourself
...
on the spawn page
2018-03-12 14:23:00 +01:00
Min RK
8695823165
move static resources to share/jupyterhub
...
from share/jupyter/hub
to be consistent with use of etc/jupyterhub etc.
2018-02-28 15:41:58 +01:00