Min RK
7bcda18564
add 424 status code change to changelog
2021-10-13 09:17:47 +02:00
Erik Sundell
86da36857e
Merge pull request #3647 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-10-12 00:13:22 +02:00
pre-commit-ci[bot]
530833e930
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1 )
2021-10-11 19:42:10 +00:00
Joe Gasewicz
3b0850fa9b
Fixed test_roles
2021-10-07 23:14:10 +01:00
josefgasewicz
1366911be6
Fixed tests & set status after writing json
2021-10-07 22:21:16 +01:00
Joe Gasewicz
fe276eac64
Update users.py
...
New user token returns 200 instead of 201 Fixes #3642
2021-10-07 16:31:23 +01:00
Min RK
9209ccd0de
Merge pull request #3636 from yuvipanda/404
...
Fail suspected API requests with 424, not 503
2021-10-05 15:16:18 +02:00
YuviPanda
3b2a1a37f9
Update tests that were looking for 503s
2021-10-05 18:10:52 +05:30
YuviPanda
6007ba78b0
Preserve older 503 behavior behind a flag
2021-10-05 17:56:51 +05:30
YuviPanda
9cb19cc342
Use 424 rather than 404 to indicate non-running server
...
404 is also used to identify that a particular resource
(like a kernel or terminal) is not present, maybe because
it is deleted. That comes from the notebook server, while
here we are responding from JupyterHub. Saying that the
user server they are trying to request the resource (kernel, etc)
from does not exist seems right.
2021-10-05 17:44:17 +05:30
YuviPanda
0f471f4e12
Fail suspected API requests with 404, not 503
...
Non-running user servers making requests is a fairly
common occurance - user servers get culled while their
browser tabs are left open. So we now have a background level
of 503s responses on the hub *all* the time, making it
very difficult to detect *real* 503s, which should ideally
be closely monitored and alerted on.
I *think* 404 is a more appropriate response, as the resource
(API) being requested is no longer present.
2021-10-05 03:00:16 +05:30
Erik Sundell
68db740998
Merge pull request #3635 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-10-04 22:38:05 +02:00
pre-commit-ci[bot]
9c0c6f25b7
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.28.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.28.0...v2.29.0 )
2021-10-04 19:48:13 +00:00
Min RK
5f0077cb5b
Merge pull request #3445 from rpwagner/patch-1
...
Initial SECURITY.md
2021-09-29 09:42:59 +02:00
Min RK
a6a2056cca
2.0.0b2
2.0.0b2
2021-09-29 09:41:57 +02:00
Erik Sundell
fb1e81212f
Merge pull request #3628 from minrk/beta-2
...
add latest changes to 2.0 changelog
2021-09-28 18:32:14 +02:00
Min RK
17f811d0b4
add latest changes to 2.0 changelog
...
- nullauthenticator
- lab by default
2021-09-28 15:28:59 +02:00
Min RK
34398d94de
Merge pull request #3627 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-28 15:23:00 +02:00
Min RK
6bf94fde48
extend deadline for docker build test
...
it's building 4 images, 10 minutes isn't always enough, bump to 20
2021-09-28 14:46:33 +02:00
Min RK
ee18fed04b
Merge pull request #3619 from manics/nullauthenticator
...
Add NullAuthenticator to jupyterhub
2021-09-28 11:36:41 +02:00
Simon Li
28f56ba510
Simplify NullAuthenticator, add test
2021-09-27 23:05:53 +01:00
pre-commit-ci[bot]
c8d3dbb7b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-27 19:45:58 +00:00
pre-commit-ci[bot]
a76a093638
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0 )
2021-09-27 19:43:18 +00:00
Erik Sundell
27908a8e17
Merge pull request #3616 from minrk/delete-scopes
...
add delete scopes for users, groups, servers
2021-09-27 14:01:51 +02:00
Erik Sundell
8a30f015c9
Merge pull request #3626 from minrk/token-log
...
server-api example typo: trim space in token file
2021-09-27 12:51:07 +02:00
Min RK
8cac83fc96
add delete scopes for users, groups, servers
...
e.g. cull-idle services do not need permission to start servers in order to be able to stop them
2021-09-27 12:43:56 +02:00
Min RK
9ade4bb9b2
server-api example: trim space in token file
...
avoids invalid newlines in the auth header
2021-09-27 12:42:23 +02:00
Min RK
874c91a086
Merge pull request #3615 from minrk/lab-by-default
...
2.0: jupyterlab by default
2021-09-27 12:39:31 +02:00
Min RK
a906677440
Merge pull request #3625 from albertmichaelj/main
...
Added base_url to path for jupyterhub-session-id cookie
2021-09-27 12:27:15 +02:00
pre-commit-ci[bot]
3f93942a24
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-26 19:55:05 +00:00
Michael Albert
aeb3130b25
Added base_url to path for jupyterhub_session_id cookie
2021-09-26 15:33:08 -04:00
Simon Li
8a6b364ca5
nullauthenticator: missing import
2021-09-23 20:40:00 +01:00
Simon Li
2ade7328d1
nullauthenticator: relative imports, entrypoint, doc
2021-09-23 20:39:54 +01:00
Min RK
2bb9f4f444
implement null authenticator
2021-09-23 19:14:07 +01:00
Simon Li
b029d983f9
Merge pull request #3607 from minrk/recommend-nodesource
...
update quickstart requirements
2021-09-23 17:31:18 +01:00
Min RK
4082006039
2.0: jupyterlab by default
...
swaps from default nbclassic and opt-in to lab, to now default to lab and opt-in to nbclassic
defaults to jupyterlab *if* lab 3.1 is available,
so should still work without configuration if lab is unavailable (or too old)
2021-09-23 14:52:14 +02:00
Min RK
69aa0eaa7a
update quickstart requirements
...
- remove mention of outdated nodejs-legacy
- mention nodesource for more recent node
- mention jupyterlab
- initial localhost request will be on http, not https
2021-09-23 13:59:21 +02:00
Min RK
3674ada640
Merge pull request #3614 from jupyterhub/dependabot/npm_and_yarn/jsx/nth-check-2.0.1
...
Bump nth-check from 2.0.0 to 2.0.1 in /jsx
2021-09-23 13:56:00 +02:00
dependabot[bot]
48accb0a64
Bump nth-check from 2.0.0 to 2.0.1 in /jsx
...
Bumps [nth-check](https://github.com/fb55/nth-check ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases )
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: nth-check
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-22 09:01:52 +00:00
Simon Li
70ac143cfe
Merge pull request #3613 from jupyterhub/dependabot/npm_and_yarn/jsx/tmpl-1.0.5
...
Bump tmpl from 1.0.4 to 1.0.5 in /jsx
2021-09-22 10:01:15 +01:00
dependabot[bot]
b1b2d531f8
Bump tmpl from 1.0.4 to 1.0.5 in /jsx
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-22 07:21:19 +00:00
Simon Li
e200783c59
Merge pull request #3610 from mriedem/patch-1
...
Fix 1.3 level
2021-09-20 21:28:54 +01:00
Erik Sundell
a7e57196c6
Merge pull request #3611 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-20 22:16:29 +02:00
pre-commit-ci[bot]
b5f05e6cd2
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.8b0 → 21.9b0](https://github.com/psf/black/compare/21.8b0...21.9b0 )
- [github.com/pre-commit/mirrors-prettier: v2.4.0 → v2.4.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.4.0...v2.4.1 )
2021-09-20 19:57:49 +00:00
Matt Riedemann
5fe5b35f21
Fix 1.3 level
...
The 1.3 section was a sub-section of 1.4
which makes it harder to find 1.3 release notes
in the changelog from the navigation.
2021-09-20 13:40:45 -05:00
Min RK
4f6ef54b50
publish releases on push to tags
2.0.0b1
2021-09-17 12:29:48 +02:00
Min RK
601c144368
2.0.0b1
2021-09-17 12:00:59 +02:00
Erik Sundell
5e175f4b63
Merge pull request #3602 from minrk/2.0-changelog
...
2.0 changelog
2021-09-17 11:58:14 +02:00
Min RK
ee00ac227e
expand detail about upgrade revoking tokens
2021-09-17 11:56:53 +02:00
Min RK
14997152b9
admonition about installing the beta
2021-09-17 10:54:43 +02:00