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
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
Min RK
5f19989467
suggest roles instead of admin_users
...
and make admin link permission check match admin page
it would be nice if this could be consolidated (maybe an `admin:ui` permission?)
2021-09-16 11:57:36 +02:00
Min RK
9d2ceaa156
Merge pull request #3604 from yuvipanda/debug
...
Reduce logging verbosity of 'checking routes'
2021-09-14 14:19:58 +02:00
YuviPanda
af1686dbe6
Reduce logging verbosity of 'checking routes'
...
Of 18355 lines of logs in a 5day old hub instance,
8228 are just this message. That's 44% of the logs! We now
have prometheus metrics to monitor performance of this if
needed, and people can always turn on debug logging.
2021-09-14 13:37:21 +05:30
Erik Sundell
ed6f2ada60
Merge pull request #3603 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-13 23:02:14 +02:00
Erik Sundell
cc8e5f351f
Apply suggestions from code review
2021-09-13 22:16:34 +02:00
pre-commit-ci[bot]
2543c27035
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-13 19:39:37 +00:00
pre-commit-ci[bot]
8d5ec6577f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0 )
- [github.com/pre-commit/mirrors-prettier: v2.3.2 → v2.4.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.3.2...v2.4.0 )
2021-09-13 19:39:06 +00:00
Min RK
12ab53fb37
changelog for 2.0
...
remove suggestions of `admin` permissions, in favor of roles and scopes
2021-09-13 13:44:32 +02:00
Min RK
559b626046
remove unused Pagination class
...
used only for 1.4 admin page, not api
2021-09-13 13:16:35 +02:00
Min RK
47292d9af2
make api_page_max_limit configurable
2021-09-13 12:59:47 +02:00
Erik Sundell
50e78fa7d6
Merge pull request #3601 from manics/update-readme
...
Update/cleanup README
2021-09-11 14:55:28 +02:00
Simon Li
cfd2ca9065
Update README
...
- circle CI no longer used
- ubuntu/debian nodejs may be too old (12.0+ required)
- remove mention of mailing list
- Python 3.6 required
- Emphasise JupyterLab over notebook
2021-09-11 13:39:41 +01:00
Simon Li
905b1b999b
Merge pull request #3593 from minrk/email-typo
...
mailto link typo
2021-09-03 13:47:32 +01:00
Min RK
857f7271ca
email-typo
2021-09-03 14:32:24 +02:00
Min RK
12c6ab4ca1
Merge pull request #3575 from VaishnaviHire/add_content_type
...
Validate Content-Type Header for api POST requests
2021-09-01 10:16:39 +02:00
Min RK
44988b626e
move content-type check to base APIHandler
...
so it can be applied to all cookie-authenticated POST requests
also parse the content-type header to handle e.g. `Content-Type: application/json; charset`
2021-09-01 09:51:23 +02:00
Vaishnavi Hire
e59556f020
Validate Content-Type Header for api/users
...
The content-type of Hub API requests used for user management, specifically for creating a user
is not validated and so the ‘text/plain’ type is accepted, where it must be ‘application/json’.
This commit adds validation for `Content-type` header for the /hub/api/users endpoint to only
allow requests with content-type as `application/json`
2021-08-31 11:49:52 -04:00
Simon Li
2bc3a22acc
Merge pull request #3591 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-31 10:00:12 +01:00
pre-commit-ci[bot]
77a79484c4
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.24.0 → v2.25.0](https://github.com/asottile/pyupgrade/compare/v2.24.0...v2.25.0 )
- [github.com/psf/black: 21.7b0 → 21.8b0](https://github.com/psf/black/compare/21.7b0...21.8b0 )
2021-08-30 19:24:04 +00:00
Erik Sundell
5d6eb642d8
Merge pull request #3586 from consideRatio/pr/pyupgrade-3-add-config
...
Add pyupgrade --py36-plus to pre-commit config
2021-08-26 17:38:38 +02:00
Erik Sundell
0644677a6a
Add pyupgrade --py36-plus to pre-commit config
2021-08-26 16:56:51 +02:00