Dan Lester
76ed65ed82
default_url takes handler object instead of user
2020-08-31 18:36:57 +01:00
Greg
560bab395b
update based on pr suggestion
...
Signed-off-by: Greg <werner.greg@gmail.com >
2020-08-27 11:16:57 -04:00
Greg
c68b846eef
get error key or error_description key if not available
...
Signed-off-by: Greg <werner.greg@gmail.com >
2020-08-27 11:12:18 -04:00
Greg
5896b2c9f7
get error description from error key vs error_description key
...
Signed-off-by: Greg <werner.greg@gmail.com >
2020-08-27 11:12:18 -04:00
Min RK
0317fd63fa
Merge pull request #3103 from kinow/responsive-issues
...
Hide hamburger button menu in mobile/responsive mode and fix other minor issues
2020-08-27 11:15:50 +02:00
Min RK
7f6886c60f
Merge pull request #3104 from cmd-ntrf/rest-api-version
...
Update version in docs/rest-api.yaml
2020-08-27 11:00:14 +02:00
Min RK
10bdca8901
Merge pull request #3142 from snickell/document-external-service-api-tokens-better
...
Document external service api_tokens better
2020-08-27 09:52:31 +02:00
Min RK
66cb2c0f3e
Merge pull request #3128 from minrk/mix-it-in
...
Implement singleuser with mixins
2020-08-27 09:51:19 +02:00
Min RK
0152e29946
Merge pull request #3159 from synchronizing/patch-1
...
Added extra documentation for endpoint /users/{name}/servers/{server_name}.
2020-08-27 09:51:01 +02:00
Min RK
c6f0c07931
Merge pull request #3157 from manics/python-traitlets-latest
...
Don't allow 'python:3.8 + master dependencies' to fail
2020-08-27 09:45:50 +02:00
Min RK
51ceab9f6f
Merge pull request #3149 from betatim/simplifiy-health-checks
...
Simplify code of the health check handler
2020-08-27 09:44:02 +02:00
Rollin Thomas
46ead8cd9d
Add display variable to tests
2020-08-26 21:43:16 -07:00
Rollin Thomas
bfb3d50936
Reformat!
2020-08-26 21:29:28 -07:00
Rollin Thomas
962307475e
Add service display to service API model
2020-08-26 19:15:21 -07:00
Rollin Thomas
80f4edcd20
Omit service if it is not OK to display
2020-08-26 18:57:17 -07:00
Rollin Thomas
1ad4035943
Control whether service is listed in UI or not
2020-08-26 18:56:03 -07:00
Felipe Faria
5ab735fea3
Added extra documentation for endpoint /users/{name}/servers/{server_name}.
2020-08-26 19:07:57 -04:00
Simon Li
e79cb0d376
Don't allow 'python:3.8 + master dependencies' to fail
2020-08-26 22:40:57 +01:00
Simon Li
f728cf89c6
Update Dockerfile to ubuntu:focal (Python 3.8)
2020-08-26 22:24:14 +01:00
Tim Head
8f719e21d2
Simplify code of the health check handler
2020-08-26 14:07:30 +02:00
Min RK
29de00ee3c
Merge pull request #3140 from chancez/fix_ssl_http_client_master
...
jupyterhub/utils: Load system default CA certificates in make_ssl_context
2020-08-26 14:05:29 +02:00
Chance Zibolski
52291b0012
jupyterhub/utils: Load system default CA certificates in make_ssl_context
...
Fixes issues with OAuth flows when internal_ssl is enabled.
When internal_ssl was enabled requests to non-internal endpoints failed
because the system CAs were not being loaded.
This caused failures with public OAuth providers with public CAs since
they would fail to validate.
2020-08-25 09:09:58 -07:00
Georgiana Elena
e58c341290
Merge pull request #3150 from yhal-nesi/master
...
update prometheus metrics for server spawn when it fails with exception
2020-08-22 00:01:53 +03:00
yhal-nesi
f988a4939e
Update jupyterhub/handlers/base.py
...
Ah makes sense, I was wandering why the tests fail.
Co-authored-by: Georgiana Elena <georgiana.dolocan@gmail.com >
2020-08-22 08:47:15 +12:00
Yuriy Halytskyy
60ee2bfc35
update prometheus metrics for server spawn when it fails with exception
2020-08-20 08:18:39 +12:00
Erik Sundell
42601c52cc
Merge pull request #3151 from consideRatio/docs/move-cert-docstring
...
docs: please docs linter (move_cert docstring)
2020-08-19 14:10:54 +02:00
Erik Sundell
0679586b2c
docs: please docs linter properly
...
We are users of the napoleon sphinx extension, which helps us parse our
Google Style Python Docstrings, and its syntax suggest we should use
indentation when we use more then one string for an entry in an
Arguments: or Returns: list.
For more details, see: https://github.com/jupyterhub/jupyterhub/pull/3151#issuecomment-676186565
2020-08-19 13:49:28 +02:00
Erik Sundell
be4201f7ee
docs: please docs linter (move_cert docstring)
2020-08-19 13:14:46 +02:00
Min RK
11a73b5630
Merge pull request #3131 from rkevin-arch/healthcheck-head-request
...
Allow head requests for the health endpoint
2020-08-18 10:57:09 +02:00
Tim Head
f1efac41bf
Merge pull request #3143 from basvandervlies/apache_reverse_proxy_doc
...
Needed NoEsacpe (NE) option for apache
2020-08-14 14:54:23 +02:00
Bas van der Vlies
aa6921dd5a
Needed NoEsacpe (NE) option for apache
...
Else %20 is esacped to %25%20 and we acan not rename "Untitled Folder'
or opening files with spaces or other special chars fails.
2020-08-14 11:24:27 +02:00
Seth Nickell
e94da17c3c
Document external service api_tokens better
...
- Explicitly mention min-8-char constraint
- Connect the api_token in the configuration with the one mentioned in auth requests
Co-authored-by: Mike Situ <msitu@ceresimaging.net >
2020-08-13 12:28:17 -10:00
Min RK
e2ee18fa86
Merge pull request #3123 from alexweav/tornado-py38
...
app.py: Work around incompatibility between Tornado 6 and asyncio proactor event loop in python 3.8 on Windows
2020-08-10 09:18:24 +02:00
Lydian Lee
c5ec8ceba3
admin page sorts on spawner last_activity instead of user last_activity
2020-08-07 16:37:47 -07:00
pabepadu
3458c742cb
Add a footer block + wrap the admin footer in this block
2020-08-07 02:19:21 +02:00
Georgiana Elena
d1a85e53dc
Merge pull request #3132 from pabepadu/fix_services_dropdown_in_admin_page
...
Fix the services dropdown on the admin page
2020-08-07 00:13:37 +03:00
Dan Lester
d915cc3ff2
Allow JupyterHub.default_url to be a callable based on user
2020-08-05 11:59:25 +01:00
Georgiana Elena
b11c02c6e0
Merge pull request #3118 from minrk/tag-from-singleuser
...
only build tagged versions on docker tags
2020-08-05 12:44:23 +03:00
pabepadu
49f3bb53f4
Fix the services dropdown in the admin page
2020-08-05 05:29:21 +02:00
rkevin
9b7a94046b
Allow head requests for the health endpoint
2020-08-03 00:20:17 -07:00
Min RK
62ef5ca2fe
test with /api/spec.yaml
...
because /api/status is currently broken in jupyter_server
2020-07-31 12:44:42 +02:00
Min RK
028e0b0b77
include JUPYTERHUB_SINGLEUSER_APP in env_keep
...
since the child process is the one that inherits it anyway
2020-07-31 12:12:38 +02:00
Min RK
d2a42a69b0
simplify app mixin
...
get handler classes from instance attributes, rather than arguments
simplifies API
2020-07-31 12:12:11 +02:00
Min RK
1f21f283df
Merge pull request #3127 from mriedem/3126-slow-spawn-timeout-warning
...
Don't log a warning when slow_spawn_timeout is disabled
2020-07-31 12:07:38 +02:00
Alex Weaver
7f35158575
Also apply patch before creating new event loop in atexit, just in case
2020-07-29 11:03:05 -05:00
Min RK
d0da677813
infer default mixins from $JUPYTERHUB_SINGLEUSER_APP
...
set to e.g. JUPYTERHUB_SINGLEUSER_APP=jupyterlab.labapp.LabApp for JupyterLab
2020-07-24 13:06:35 +02:00
Min RK
a0a02688c5
create singleuser app with mixins
...
for easier reuse with jupyter_server
mixins have a lot of assumptions about the NotebookApp structure.
Need to make sure these are met by jupyter_server (that's what tests are for!)
2020-07-24 12:57:05 +02:00
Min RK
2372842b8a
Merge remote-tracking branch 'origin/master' into mix-it-in
...
# Conflicts:
# .travis.yml
2020-07-24 09:53:02 +02:00
Matt Riedemann
7e205a9751
Don't log a warning when slow_spawn_timeout is disabled
...
When using the `KubeSpawner` it is typical to disable the
`slow_spawn_timeout` by setting it to 0. `zero-to-jupyterhub-k8s`
does this by default [1]. However, this causes an immediate `TimeoutError`
which gets logged as a warning like this:
>User hub-stress-test-123 is slow to start (timeout=0)
This avoids the warning by checking the value and if disabled simply
returns without logging the warning.
[1] https://github.com/jupyterhub/zero-to-jupyterhub-k8s/commit/b4738edc5
Closes #3126
2020-07-23 16:09:19 -05:00
Alex Weaver
e7fab5c304
Format and lint
2020-07-22 15:16:11 -05:00