Min RK
986de0b5db
use str-format for ssl.Purposes
...
rather than default, which is a weird repr
2022-07-29 09:26:21 +02:00
Min RK
6959c9dde3
Merge pull request #3985 from jupyterhub/dependabot/npm_and_yarn/jsx/terser-5.14.2
...
Bump terser from 5.12.1 to 5.14.2 in /jsx
2022-07-29 08:30:05 +02:00
Min RK
53087e50e4
Merge pull request #3989 from rpwagner/patch-1
...
bump moment.js 2.29.4
2022-07-29 08:27:46 +02:00
Erik Sundell
dee830a56f
Merge pull request #3975 from minrk/dockerfile-base
...
Bump Dockerfile base image to 22.04
2022-07-27 20:38:42 +02:00
Rick Wagner
45179c53b7
bump moment.js 2.29.4
2022-07-26 10:21:55 -07:00
Erik Sundell
6c7cb65224
Merge pull request #3988 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-07-26 10:30:45 +02:00
pre-commit-ci[bot]
0038b3c2e8
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.37.1 → v2.37.2](https://github.com/asottile/pyupgrade/compare/v2.37.1...v2.37.2 )
2022-07-25 22:16:38 +00:00
Erik Sundell
17bb8a9ba4
Unpin Dockerfile's ubuntu base image
2022-07-25 15:27:50 +02:00
Erik Sundell
9756c13f13
Merge pull request #3987 from jupyterhub/dependabot/github_actions/docker/build-push-action-3.1.0
...
Bump docker/build-push-action from 3.0.0 to 3.1.0
2022-07-25 10:03:26 +02:00
dependabot[bot]
be84b06ca6
Bump docker/build-push-action from 3.0.0 to 3.1.0
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](e551b19e49...1cb9d22b93
)
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-25 05:30:44 +00:00
dependabot[bot]
3ee88d99da
Bump terser from 5.12.1 to 5.14.2 in /jsx
...
Bumps [terser](https://github.com/terser/terser ) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-20 22:58:57 +00:00
Erik Sundell
16b0a2ac3b
Merge pull request #3978 from minrk/warn-stacklevel
...
Increase stacklevel for decorated warnings
2022-07-15 08:44:12 +02:00
Min RK
a82d2e4903
Merge pull request #3977 from minrk/unpin-nbclassic
...
unpin nbclassic
2022-07-14 21:16:54 -07:00
Min RK
cef241a80b
test: handle possibility that notebook is unavailable
...
no longer a strict dependency of other test deps
2022-07-14 21:07:57 -07:00
Min RK
eab6a1a112
typo in jinja env name
...
use loop variable, not hardcoded string
2022-07-14 20:34:07 -07:00
Min RK
827bfc99ec
Merge pull request #3962 from manics/ConfigurableHTTPProxy-log_level
...
Add ConfigurableHTTPProxy.log_level
2022-07-14 20:22:41 -07:00
Min RK
b5bd307999
urllib.quote doesn't escape ~ starting with Python 3.7
...
3.7 adds ~ to the 'unreserved' (always safe) set,
but it's not safe in domain names.
so do it ourselves. Formalize in a `_dns_quote` private function,
with notes about issues.
The only usernames that change in this PR are those containing `_` or `/`,
the latter of which would have failed.
2022-07-14 20:19:50 -07:00
Min RK
d02d029e88
adjust Python test order
2022-07-14 16:02:01 -07:00
Min RK
e41885c458
Increase stacklevel for decorated warnings
...
otherwise warning just shows as being triggered in the decorator function
2022-07-14 16:00:27 -07:00
Simon Li
78ac9946e3
Use CaselessStrEnum instead of Enum
2022-07-14 21:51:14 +01:00
Simon Li
bd8e8eaa09
Add ConfigurableHTTPProxy.log_level
2022-07-14 21:51:12 +01:00
Min RK
a2a01755ec
simplify make_ssl_context
...
pass ssl.Purpose explicitly, deprecate verify/check_hostname
3.10 disallows 'purpose=SERVER_AUTH' from creating server sockets.
Instead:
- pass purpose directly
- always verify
- no need to set check_hostname, already covered by purpose defaults
2022-07-14 11:02:44 -07:00
Min RK
a593c6187f
can't test 3.11 yet because greenlet cannot be installed
...
sqlalchemy requires greenlet on linux, even though we don't use it
2022-07-14 10:10:58 -07:00
Min RK
b159cbfeef
unpin nbclassic
...
0.4.3 is out, see if it fixes things
2022-07-14 09:09:25 -07:00
Min RK
a7cced506b
Remove 3.6 compatibility shims
...
- asyncio.all_tasks/current_task
- pytest-asyncio 0.17
- contextmanager.nullcontext
2022-07-14 09:05:01 -07:00
Min RK
e8469af763
fixup: remove redundant check
2022-07-14 09:05:01 -07:00
Min RK
d2c6b23bf9
update python versions in test matrix
2022-07-14 09:05:01 -07:00
Min RK
c657498d75
require Python 3.7
...
drops support for Python 3.6
2022-07-14 09:05:01 -07:00
Min RK
001d0c9af1
call legacy notebook matrix entry legacy_notebook
...
instead of nbclassic, which is explicitly classic nb ui on jupyter-server (the opposite of these tests)
2022-07-14 09:05:01 -07:00
Min RK
0d0368c042
Bump Dockerfile base image to 22.04
2022-07-14 09:03:53 -07:00
Min RK
6fdd0ff7c5
Merge pull request #3967 from minrk/validate-extra-routes
...
validate proxy.extra_routes
2022-07-14 09:01:12 -07:00
Vlad Vifor
6a8b1be940
Merge branch 'jupyterhub:main' into group_property_feature
2022-07-14 12:23:08 +02:00
Min RK
dee671b640
Merge pull request #3883 from minrk/async-hub-auth
...
allow HubAuth to be async
2022-07-13 20:38:36 -07:00
Min RK
c289a422c3
validate proxy.extra_routes
...
- add trailing slash if missing, and warn
- raise if leading slash is wrong (must not be present with host routing, must be present otherwise)
2022-07-13 20:33:39 -07:00
Erik Sundell
fa47529cf1
Merge pull request #3971 from minrk/nbclassic-renamed
...
nbclassic extension name has been renamed
2022-07-12 08:06:29 +02:00
Erik Sundell
6769de5b01
Merge pull request #3970 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-07-12 08:03:49 +02:00
Min RK
c8a8892292
nbclassic extension name has been renamed
...
our patches to the jinja env need updating to find the new env
2022-07-11 20:37:29 -07:00
pre-commit-ci[bot]
273b25cb6f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.34.0 → v2.37.1](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.1 )
2022-07-11 21:54:26 +00:00
Erik Sundell
71e06a4cd7
Merge pull request #3958 from minrk/autocomplete-annotation
...
add correct autocomplete fields for login form
2022-07-10 12:11:04 +02:00
Erik Sundell
827310aca6
Fix disabling of individual page template announcements
2022-07-10 12:05:48 +02:00
Min RK
b9c83cf7ab
allow HubAuth to be async
...
Switches requests to tornado AsyncHTTPClient instead of requests
For backward-compatibility, use opt-in `sync=False` arg for all public methods that _may_ be async
When sync=True (default), async functions still used, but blocking via ThreadPool + asyncio run_until_complete
2022-07-09 16:45:41 -07:00
Min RK
8a44748324
Bump to 2.4.0.dev
2022-07-09 16:44:24 -07:00
Min RK
e4f469ef73
Merge pull request #3968 from minrk/test-nbclassic
...
pin nbclassic in dev requirements
2022-07-09 16:41:27 -07:00
Min RK
4cf4566fff
pin nbclassic < 0.4
...
0.4 doesn't actually load at all
2022-07-09 10:05:15 -07:00
Min RK
55c866f340
note why we depend on nbclassic
...
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com >
2022-07-08 12:15:41 -07:00
Min RK
fd550e223e
add nbclassic to dev requirements
...
ensures `/tree/` handler is present
2022-07-08 10:32:13 -07:00
Min RK
225ace636a
call client-allowed scopes JUPYTERHUB_OAUTH_CLIENT_ALLOWED_SCOPES
2022-07-08 10:18:59 -07:00
Erik Sundell
ee4c8b835b
Merge pull request #3964 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-07-05 10:56:02 +02:00
pre-commit-ci[bot]
f43ad0c176
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0 )
2022-07-04 22:34:28 +00:00
Min RK
95de2618a3
Merge pull request #3960 from cqzlxl/cqzlxl-patch-1
...
Fix GET /api/proxy with pagination
2022-06-30 21:18:09 +02:00