Robert Schroll
1d9182dd82
Black formatting
2024-01-19 17:26:36 -08:00
Robert Schroll
e879ab18e2
examples/service-whoami-flask: Fix return types in oauth_callback
...
In my testing, Flask 3.0.0 doesn't accept returning only an integer
(as an error code) in a handler. A (content, status) tuple does
work. I don't know if this is a recent change, or if this has always
been broken, but the tuple return should be good for older Flask
versions as well.
2024-01-18 15:18:26 -08:00
Robert Schroll
8a5fc8044a
examples/service-whoami-flask: Add scope to user role
...
For ordinary users to access the service, they need an appropriate
scope added to the user role. This adds that role in the
jupyterhub_config.py, as well as a note about this in the README.
It also updates the ouptut that comes form the whoami service.
2024-01-18 15:15:44 -08:00
dependabot[bot]
cc9d9e435a
Merge pull request #4670 from jupyterhub/dependabot/npm_and_yarn/jsx/follow-redirects-1.15.4
2024-01-11 23:29:57 +00:00
Simon Li
efb5789dea
Merge pull request #4671 from minrk/nginx-http-host
...
use $http_host in nginx proxy header
2024-01-11 23:23:43 +00:00
Min RK
2f091e5300
Merge pull request #4665 from minrk/deprecated-utc
...
avoid deprecated datetime.utcnow
2024-01-11 10:21:18 +01:00
Min RK
603c59a307
use $http_host in nginx proxy header
...
$host is the hostname, $http_host is `hostname[:port]`, which is what's needed here
$host works fine in the example because it uses the default port 80, but if it's on a different port
it will differ from the http Host header, resulting in cross-origin check errors.
2024-01-11 09:17:08 +01:00
dependabot[bot]
0758b661df
Bump follow-redirects from 1.15.2 to 1.15.4 in /jsx
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-11 00:51:10 +00:00
Erik Sundell
a11816bff8
Merge pull request #4666 from jupyterhub/dependabot/github_actions/actions/upload-artifact-4
...
Bump actions/upload-artifact from 3 to 4
2024-01-03 07:53:20 +01:00
Erik Sundell
a5b1b02220
Merge pull request #4667 from jupyterhub/dependabot/github_actions/actions/setup-python-5
...
Bump actions/setup-python from 4 to 5
2024-01-03 07:52:30 +01:00
Erik Sundell
935a366fd3
Merge pull request #4652 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-01-03 07:49:43 +01:00
pre-commit-ci[bot]
00bab929fc
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2 )
- [github.com/psf/black: 23.10.1 → 23.12.1](https://github.com/psf/black/compare/23.10.1...23.12.1 )
- [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.8 )
2024-01-01 20:22:32 +00:00
dependabot[bot]
3f44c75fbc
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-01 05:39:51 +00:00
dependabot[bot]
1f596793c6
Bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-01 05:39:48 +00:00
Min RK
be14baf096
avoid deprecated datetime.utcnow
...
deprecated in Python 3.12
replace with equivalent utils.utcnow(with_tz=False)
2023-12-20 14:23:49 +01:00
Min RK
ab82b8e492
Merge pull request #4658 from manics/hub-singleuser-versions-major-only
...
Compare major hub and singleuser versions only
2023-12-18 15:38:38 +01:00
Min RK
7532ba1310
Merge pull request #4663 from minrk/temp-pin-pytest-asyncio
...
temporarily pin pytest-asyncio
2023-12-18 15:16:41 +01:00
Min RK
8f2ad59254
temporarily pin pytest-asyncio
...
0.23 introduces breaking changes
2023-12-18 14:59:29 +01:00
Min RK
ebca6af1fd
Merge pull request #4662 from yuvipanda/minor-change-to-contributing-docs
...
docs: Remove non-actionable step from developer setup
2023-12-18 08:37:28 +01:00
YuviPanda
a142876a4e
docs: Remove non-actionable step from developer setup
...
I just went through these with @jmunroe, and found the
db step a little confusing - there is no action to really be
taken here, as pretty much everyone just uses sqlite for
development (and even production). So I've just removed that
step, as python almost always ships with sqlite built into it.
2023-12-17 13:05:19 -08:00
Simon Li
7bf4efd3f8
Merge pull request #4651 from minrk/ipython-handler-removed
...
avoid attempting to patch removed IPythonHandler with notebook v7
2023-12-09 14:52:06 +00:00
Simon Li
b0517a96d5
Compare major hub and singleuser versions only
...
JupyterHub uses semantic versioning and has been >1.0.0 for a long time. It should be fine for the hub and singleuser versions to differ in their minor component.
2023-12-09 14:24:29 +00:00
Min RK
fca5e9365c
Merge pull request #4645 from minrk/manage-groups-required
...
explicitly require groups in auth model when Authenticator.manage_groups is enabled
2023-12-04 09:46:34 +01:00
Min RK
f7434008b4
Merge pull request #4630 from minrk/fix-redirect-403
...
avoid setting unused oauth state cookies on API requests
2023-12-04 08:58:13 +01:00
Simon Li
fcc0669492
Merge pull request #4650 from jupyterhub/dependabot/npm_and_yarn/jsx/adobe/css-tools-4.3.2
...
Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /jsx
2023-12-01 12:32:46 +00:00
Min RK
377681c796
avoid attempting to patch removed IPythonHandler with notebook v7
...
it's been removed
2023-12-01 09:59:48 +01:00
dependabot[bot]
aea3d7c71c
Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /jsx
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-01 05:47:31 +00:00
Simon Li
6ba43d06b6
Merge pull request #4648 from minrk/poll_jitter
...
add Spawner.poll_jitter
2023-11-30 16:41:43 +00:00
Min RK
11ea8f40d5
add Spawner.poll_jitter
...
to avoid alignment of poll callbacks, e.g. after Hub restart
2023-11-30 09:43:35 +01:00
Simon Li
73b2307b36
Merge pull request #4644 from minrk/better-token-logs
...
Log token deletions via API
2023-11-28 14:14:42 +00:00
Min RK
e81ca0b386
explicitly require groups in auth model when Authenticator.manage_groups is enabled
...
avoids the experience of silently ignored config for Authenticators that don't support manage_groups
2023-11-28 13:02:36 +01:00
Min RK
a110504aa7
Log token deletions via API
2023-11-28 12:53:27 +01:00
Erik Sundell
7000cea8ec
Merge pull request #4643 from minrk/debug-client-id
...
add warning when an oauth client is used after its secret is deleted
2023-11-28 10:48:56 +01:00
Min RK
6e1b18315a
add warning when an oauth client is used after its secret is deleted
...
the client cannot be used for much anymore, so this situation is likely caused by an error,
so we should notice it.
2023-11-28 10:26:00 +01:00
Min RK
2ecb31b1ad
Merge pull request #4642 from mathbunnyru/fix_registry_overviews
...
Use jupyterhub repository_owner in registry-overviews
2023-11-24 16:29:08 +01:00
Ayaz Salikhov
704cec4133
Use jupyterhub repository_owner in registry-overviews
2023-11-24 16:16:17 +01:00
Min RK
3fe576eb93
Merge pull request #4632 from minrk/accept-empty
...
simplify, avoid errors in parsing accept headers
2023-11-24 16:16:12 +01:00
BenGig
41c5be8fbe
ETHZ added to references in documentation ( #4638 )
...
Co-authored-by: Katrin Bentel <43048197+KatrinIB@users.noreply.github.com >
2023-11-24 16:15:49 +01:00
Min RK
582533527d
Merge pull request #4634 from mathbunnyru/add_registry_overviews_workflow
...
Add workflow to update registry overviews
2023-11-24 16:13:44 +01:00
Min RK
6edd440aae
Merge pull request #4640 from jupyterhub/dependabot/github_actions/dessant/support-requests-4
...
Bump dessant/support-requests from 3 to 4
2023-11-24 16:12:33 +01:00
Min RK
7613ba170f
Merge pull request #4641 from consideRatio/dockerhub-alongside-quay
...
Publish to Docker Hub alongside Quay.io
2023-11-24 16:11:54 +01:00
Erik Sundell
6d91e5a4b2
Publish to Docker Hub alongside Quay.io
2023-11-24 15:26:36 +01:00
Erik Sundell
e881b9487f
Merge pull request #4639 from jupyterhub/dependabot/github_actions/jupyterhub/action-major-minor-tag-calculator-3
...
Bump jupyterhub/action-major-minor-tag-calculator from 2 to 3
2023-11-23 21:45:36 +01:00
dependabot[bot]
2721081a51
Bump dessant/support-requests from 3 to 4
...
Bumps [dessant/support-requests](https://github.com/dessant/support-requests ) from 3 to 4.
- [Release notes](https://github.com/dessant/support-requests/releases )
- [Changelog](https://github.com/dessant/support-requests/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dessant/support-requests/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: dessant/support-requests
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-23 19:04:34 +00:00
dependabot[bot]
4a42d2ea01
Bump jupyterhub/action-major-minor-tag-calculator from 2 to 3
...
Bumps [jupyterhub/action-major-minor-tag-calculator](https://github.com/jupyterhub/action-major-minor-tag-calculator ) from 2 to 3.
- [Release notes](https://github.com/jupyterhub/action-major-minor-tag-calculator/releases )
- [Changelog](https://github.com/jupyterhub/action-major-minor-tag-calculator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jupyterhub/action-major-minor-tag-calculator/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: jupyterhub/action-major-minor-tag-calculator
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-23 19:04:30 +00:00
Min RK
0a32ad63f8
Merge pull request #4633 from manics/doc-auth-ref
...
Authenticator reference doc: update authenticate return
2023-11-21 10:12:50 +01:00
Simon Li
79e75be9f3
authenticator reference doc: mention admin
and RBAC
2023-11-17 23:31:53 +00:00
Ayaz Salikhov
690b583e80
Add missing dep files
2023-11-17 14:06:58 +01:00
Ayaz Salikhov
4eedc59090
Add workflow to update registry overviews
2023-11-17 14:01:37 +01:00
Simon Li
99d72dfccf
authenticator reference doc: update authenticate return
2023-11-16 19:16:54 +00:00