Jeremy Tuloup
cfcd85a188
Start named servers by pressing the Enter key
2020-02-28 15:24:37 +01:00
Bruno P. Kinoshita
2f6ea71106
Add not_running.js to modify button spawn_url
2020-02-26 09:28:12 +13:00
Tim Head
e08552eb99
Merge pull request #2941 from minrk/allow-implicit-spawn
...
Allow implicit spawn via javascript redirect
2020-02-22 07:27:17 +01:00
Min RK
436757dd55
handle implicit spawn with a javascript redirect
...
less dangerous than using a Location redirect, so remove conflicts
delay is a user-configurable timer (0 = no implicit spawn, default)
2020-02-20 12:43:39 +01:00
JohnPaton
a999ac8f07
Use only rel="icon"
...
This is the officially recommended method from MDN
https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML
2020-02-14 16:51:27 +01:00
John Paton
a3e3f24d2d
Add favicon to the base page template
...
This was missing before. Giving it its own named block will let users customize it if they wish.
2020-02-14 16:35:48 +01:00
Min RK
ddc61d2b62
Merge pull request #2828 from bitnik/patch-4
...
add block for scripts included in head
2019-12-03 10:10:06 +01:00
Min RK
dc049a88eb
Merge pull request #2763 from rcthomas/link-services
...
Link services
2019-12-03 10:08:59 +01:00
Kenan Erdogan
6956ffd2a9
add block for scripts included in head
2019-11-22 10:56:49 +01:00
Will Starms
2cac46fdb2
Remove server_tokens setting
...
Revert this if we decide this is a security issue, but we report the version through the API as well
2019-10-17 13:43:28 -05:00
Will Starms
8c1620e6c5
server version display
...
also tests
2019-10-15 19:23:08 -05:00
Bruno P. Kinoshita
bc32450005
Fix header project name typo
2019-10-12 13:54:01 +13:00
Rollin Thomas
cd0b3e05e2
Add service links
2019-10-05 10:59:59 -07:00
Min RK
f79495e6bf
fix relative links for spawn
2019-09-19 16:12:29 +02:00
Min RK
f474b31c94
Merge branch 'master' into server_str_sanitization
2019-09-19 16:11:16 +02:00
Kenan Erdogan
2545cd9bb3
change redirecting to relative to home page in js
2019-09-02 19:04:59 +02:00
Min RK
60f5ce0ff8
Merge pull request #2640 from nicorikken/feature/user-url-encoding
...
Escape usernames in the frontend
2019-07-22 14:12:39 +02:00
Kenan Erdogan
37642408a4
close <div class="container">
tag in home.html
2019-07-17 10:44:44 +02:00
Nico Rikken
d8d58b2ebd
chore: undo escape() functions
2019-07-16 18:52:31 +02:00
Nico Rikken
859dc34ea6
chore: rename to json_escaped_name and unittests
2019-07-16 18:45:48 +02:00
Nico Rikken
41db9fe116
chore: cleanup debugging code
2019-07-16 16:47:06 +02:00
Nico Rikken
7c78e6c326
chore: try non-escaping user
...
Now the user was double-escaped, resulting in escaped % signs
2019-07-16 14:28:28 +02:00
Nico Rikken
f1ed6c95f0
chore: reverse url changes
2019-07-16 14:04:51 +02:00
Nico Rikken
73309b5741
feat: adopt unicode_escaped_name property
2019-07-16 13:33:49 +02:00
Nico Rikken
1915ecd0c2
feat: try unicoding in user model
2019-07-16 13:07:18 +02:00
Nico Rikken
3d6d60b64e
fix: passthrough in template
2019-07-16 12:34:07 +02:00
Nico Rikken
69d0a47734
chore: try conversion in template
...
Custom property in users.py didn't work, so try it in the templated file.
2019-07-16 11:04:35 +02:00
Nico Rikken
11e32588d7
chore: use most likely fix for custom username property
2019-07-16 10:17:26 +02:00
Nico Rikken
34e44f2eed
feat: user function in page render function
2019-07-16 10:01:11 +02:00
Nico Rikken
c0464b2e47
feat: unicode_escape feature
2019-07-16 09:41:11 +02:00
Nico Rikken
d686ae1ae7
json_encode for Tornado framework
2019-07-13 10:49:06 +02:00
Nico Rikken
0dc3593661
Escape user variable to frontend
2019-07-13 10:25:32 +02:00
Nico Rikken
dc40cfe80e
encodeURIComponent() instead of escape()
2019-07-13 09:35:41 +02:00
Nico Rikken
d541c17974
Escape usernames in the frontend
...
To cope with special characters like backslash, to address issue
https://github.com/jupyterhub/jupyterhub/issues/2128
2019-07-13 08:55:33 +02:00
Min RK
c20c07ec87
Merge pull request #2570 from consideRatio/announcements-css
...
Make announcements visible without custom HTML
2019-06-07 12:54:45 +02:00
Will Starms
19da170435
Correct empty string redirect to default
2019-05-31 17:49:24 -05:00
Aaron Huang
38cf95523f
Update script
2019-05-21 17:12:01 +08:00
Erik Sundell
da460064ae
Make announcements visible without custom HTML
...
Fixes https://github.com/jupyterhub/jupyterhub/issues/2566 to some
degree by making the announcement stand out using twitter-bootstrap
classes `alert` and `alert-warning`. Perhaps we could theme twitter
bootstrap or this alert specifically with jupyter related colors as well
though?
2019-05-16 18:31:10 +02:00
NikeNano
9e7b0c0bfd
update to simplyfi the language related to spawner options
2019-05-10 09:52:17 +02:00
Min RK
39a7116d16
npm run fmt
...
with latest prettier
2019-04-09 10:45:31 +02:00
Min RK
7f9e77ce5b
Allow Spawners to customize spawn-failed message
...
by raising an exception with a `jupyterhub_message` attribute.
This will be a string displayed as escaped HTML (HTML is not allowed).
2019-04-05 10:22:47 +02:00
Min RK
6fa3b429db
include retry link after failed spawn
2019-04-01 17:05:58 +02:00
Carol Willing
af0082a16b
Merge pull request #2435 from minrk/named-options-form
...
Rework handling of /hub/user/:name
2019-03-07 05:52:48 -08:00
Min RK
ff283ae636
address review
...
and fix a mis-applied GitHub suggestion
suggestions can only replace one line
2019-03-07 10:33:37 +01:00
Rollin Thomas
5dedfe2629
Hide/unhide link
2019-02-27 08:49:34 -08:00
Min RK
8d01b0356b
test spawn-pending page
2019-02-27 11:15:15 +01:00
Min RK
947b9b1a9e
rework handing of /user/:name
...
- /user/:name no longer triggers implicit spawn at any point
- add /spawn-pending/:user/:server handler for pending page. This page has no side effects.
- spawn links point to /spawn/:user/:server to finish hooking up links for named servers and options_form handling
2019-02-25 14:21:34 +01:00
Min RK
6f63ac7831
simplify start-server links as pure links to /spawn/:user/:server
...
instead of API requests
this gets better progress-page loading and options form rendering
2019-02-25 13:45:02 +01:00
Min RK
de20c3f3a7
accept default argument in get_next_url
...
allows different defaults for different contexts
2019-02-25 13:41:38 +01:00
Min RK
5e60582ef3
run autoformat
...
apologies to anyone finding this commit via git blame or log
run the autoformatting by
pre-commit run --all-files
2019-02-19 17:00:10 +01:00