Min RK
2dc2c99b4a
Merge pull request #3640 from minrk/doc-api-only
...
add api-only doc
2021-11-25 20:26:25 +01:00
pre-commit-ci[bot]
e703555888
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-11-25 19:16:41 +00:00
Min RK
7e102f0511
Apply suggestions from code review
...
Co-authored-by: Carol Willing <carolcode@willingconsulting.com >
2021-11-25 20:16:10 +01:00
Erik Sundell
608c746a59
Merge pull request #3689 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-11-22 22:26:25 +01:00
pre-commit-ci[bot]
a8c834410f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1 )
- [github.com/psf/black: 21.10b0 → 21.11b1](https://github.com/psf/black/compare/21.10b0...21.11b1 )
2021-11-22 20:51:45 +00:00
Min RK
bda14b487a
Bump to 2.0.0rc4
2.0.0rc4
2021-11-18 15:33:12 +01:00
Min RK
fd5cf8c360
Merge pull request #3687 from minrk/rc4-changelog
...
update 2.0 changelog
2021-11-18 15:32:27 +01:00
Min RK
03758e5b46
update 2.0 changelog
...
prep for rc4
2021-11-18 14:50:10 +01:00
Erik Sundell
e540d143bb
Merge pull request #3685 from minrk/session-id-model
...
Add Session id to token/identify models
2021-11-18 13:39:34 +01:00
Erik Sundell
b2c5ad40c5
Merge pull request #3686 from minrk/login_with_token
...
Hub: only accept tokens in API requests
2021-11-18 13:27:41 +01:00
Min RK
edfdf672d8
Hub: only accept tokens in API requests
...
do not allow token-based access to pages
Tokens are only accepted via Authorization header, which doesn't make sense to pass to pages,
so disallow it explicitly to avoid surprises
2021-11-18 09:36:49 +01:00
Min RK
39f19aef49
add session_id to token model
2021-11-17 09:46:26 +01:00
Min RK
8813bb63d4
update to openapi 3.0
...
easier to implement oneOf schemas
document scopes, session_id in /api/user model
2021-11-17 09:44:38 +01:00
Yuvi Panda
7c18d6fe14
Merge pull request #3681 from minrk/log-app-versions
...
Log single-user app versions at startup
2021-11-16 00:11:32 +05:30
Erik Sundell
d1fe17d3cb
Merge pull request #3682 from minrk/relpath
...
always use relative paths in data_files
2021-11-08 14:06:20 +01:00
Min RK
b8965c2017
always use relative paths in data_files
...
instead of absolute paths for sources
seems to have started failing on Windows
2021-11-08 13:29:26 +01:00
Min RK
733d7bc158
Log single-user app versions at startup
...
Reports jupyterlab, jupyter_server versions during startup
2021-11-08 09:21:32 +01:00
Min RK
88f31c29bb
add api-only doc
...
Describe how to use JupyterHub as a "behind the scenes" implementation detail,
rather than a user-facing application.
2021-11-04 17:16:59 +01:00
Min RK
3caf3cfda8
Bump to 2.0.0rc3
2.0.0rc3
2021-11-04 15:52:37 +01:00
Erik Sundell
d076c55cca
Merge pull request #3679 from minrk/forward-1.5
...
Forward-port fixes from 1.5.0 security release
2021-11-04 15:30:04 +01:00
Min RK
3e185022c8
changelog for 1.5.0
2021-11-04 15:04:40 +01:00
Min RK
857ee2885f
jupyterlab: don't use $JUPYTERHUB_API_TOKEN in PageConfig.token
2021-11-04 15:03:12 +01:00
Min RK
cd8dd56213
Revert "store tokens passed via url or header, not only url."
...
This reverts commit 53c3201c17
.
Only tokens in URLs should be persisted in cookies.
Tokens in headers should not have any effect on cookies.
2021-11-04 15:03:12 +01:00
Erik Sundell
f06902aa8f
Merge pull request #3675 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-11-02 01:56:07 +01:00
pre-commit-ci[bot]
bb109c6f75
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.9b0 → 21.10b0](https://github.com/psf/black/compare/21.9b0...21.10b0 )
2021-11-01 20:25:25 +00:00
Erik Sundell
e525ec7b5b
Merge pull request #3674 from minrk/verify-login-role
...
verify that successful login assigns default role
2021-10-30 17:50:01 +02:00
Min RK
356b98e19f
verify that successful login assigns default role
...
and that repeated login after revoked role doesn't reassign role
2021-10-30 14:30:33 +02:00
Erik Sundell
8c803e7a53
Merge pull request #3673 from minrk/main
...
more calculators
2021-10-30 14:21:17 +02:00
Min RK
2e21a6f4e0
more calculators
2021-10-30 14:07:04 +02:00
Min RK
cfd31b14e3
Bump to 2.0.0rc2
2.0.0rc2
2021-10-30 13:36:54 +02:00
Erik Sundell
f03a620424
Merge pull request #3672 from minrk/prerelease
...
use v2 of jupyterhub/action-major-minor-tag-calculator
2021-10-30 13:29:43 +02:00
Min RK
440ad77ad5
use v2 of jupyterhub/action-major-minor-tag-calculator
...
needed for handling of prerelease tags
2021-10-30 12:42:29 +02:00
Min RK
68835e97a2
Bump to 2.0.0rc1
2.0.0rc1
2021-10-30 12:37:39 +02:00
Min RK
ce80c9c9cf
Merge pull request #3669 from minrk/bumpversion
...
use tbump to tag versions
2021-10-30 12:34:28 +02:00
Min RK
3c299fbfb7
use tbump for bumping versions
...
avoids needing to manually keep files in sync,
and dramatically reduces RELEASE steps
2021-10-30 12:18:14 +02:00
Min RK
597f8ea6eb
Merge pull request #3670 from manics/support-bot
...
Add support-bot
2021-10-30 12:17:47 +02:00
Erik Sundell
d1181085bf
Merge pull request #3665 from minrk/openapi-test
...
Tests for our openapi spec
2021-10-29 16:05:05 +02:00
Simon Li
913832da48
Add support-bot
...
The old support-bot was disabled https://github.com/jupyterhub/.github/issues/15
This is the recommended replacement https://github.com/dessant/support-requests/issues/8
2021-10-29 14:09:49 +01:00
Min RK
42f57f4a72
Merge pull request #3662 from minrk/2.0rc-changelog
...
changelog for 2.0 release candidate
2021-10-29 13:40:34 +02:00
Min RK
d01a518c41
add updating rest-api version to release
...
and make real release checklist, to match other repos
2021-10-29 13:13:41 +02:00
Min RK
65ce06b116
test feedback
...
use global PYTEST_ARGS for nicer, simpler always-on arguments for pytest
2021-10-29 13:13:41 +02:00
Min RK
468aa5e93c
render openapi spec client-side
...
- move spec to _static/rest-api.yml, since the original yaml must be served
- copy javascript rendering code from FastAPI (uses swagger-ui)
- remove link to pet store, since there isn't a big enough difference to duplicate it
- remove bootprint rendering with node
2021-10-29 13:13:41 +02:00
Min RK
5c01370e6f
set version as long as we are rewriting the file
2021-10-29 13:13:41 +02:00
Min RK
21d08883a8
resolve rest-api validation errors
...
- regen scopes by running generate-scopes.py
2021-10-29 13:13:41 +02:00
Min RK
59de506f20
validate the rest-api
...
both with github action that runs openapi validation,
and a couple local tests to verify some maintenance tasks are done
2021-10-29 13:13:41 +02:00
Erik Sundell
b34120ed81
Merge pull request #3663 from minrk/clarify-default-roles
...
clarify some log messages during role assignment
2021-10-29 12:19:45 +02:00
Erik Sundell
617978179d
Merge pull request #3667 from minrk/autodoc-traits
...
use stable autodoc-traits
2021-10-29 12:16:30 +02:00
Min RK
0985d6fdf2
use stable autodoc-traits
2021-10-29 11:32:02 +02:00
Min RK
2049fb0491
clarify some log messages during role assignment
...
and only commit on change
2021-10-29 11:22:12 +02:00
Erik Sundell
a58fc6534b
Merge pull request #3664 from minrk/create-groups-on-startup
...
create groups declared in roles
2021-10-28 03:30:25 +02:00