Richard Darst
954bbbe7d9
Apply suggestions from code review
...
Co-authored-by: Chris Holdgraf <choldgraf@gmail.com >
2024-06-10 18:25:53 -07:00
Richard Darst
3338de2619
docs/.../what-is-jupyterhub: Updates based on code review
...
- Thanks to @betatim for the suggestions.
2024-06-10 18:25:53 -07:00
Richard Darst
33c09daf5b
Apply suggestions from code review
...
Thanks to @betatim
Co-authored-by: Tim Head <betatim@gmail.com >
2024-06-10 18:25:53 -07:00
Richard Darst
f3cc79e453
what-is-jupyterhub: Fix links
...
- Apparently recommonmark does intelligently uses links like
sphinx+rst, and you shouldn't use `.html` on the links.
2024-06-10 18:25:53 -07:00
Richard Darst
cc0bc531d3
what-is-jupyterhub: Full revision
2024-06-10 18:25:53 -07:00
Richard Darst
fd2919b36f
what-is-jupyterhub: clarifications (single-user and kernels)
...
- Single-user servers are same you get with `jupyter notebook`.
- Kernels by default in single-user server environment but don't have
to be.
2024-06-10 18:25:53 -07:00
Richard Darst
b6e4225482
what-is-jupyterhub initial draft
2024-06-10 18:25:47 -07:00
Yuvi Panda
18d7003580
Merge pull request #4835 from minrk/metrics-cost
...
reduce cost of event_loop_interval metric
2024-06-10 13:18:44 -07:00
Yuvi Panda
873f60781c
Merge pull request #4836 from minrk/group-docstrings
...
fix formatting of group_overrides docstring
2024-06-10 08:33:19 -07:00
Min RK
d1d8c02cb9
fix formatting of group_overrides docstring
...
- literals for dict keys
- use example header section
- missing `::` for code block
2024-06-10 14:36:38 +02:00
Min RK
67dd7742ef
event_loop_interval: measure only delay, not tick duration
...
use resolution as lower bound, don't report delays lower than resolution,
since we don't really know their value
2024-06-10 11:48:27 +02:00
Min RK
3ee808e35c
reduce cost of event_loop_interval metric
...
- use single coroutine to reduce cost of each check
- reduce default interval to 50ms and remove metric buckets below 50ms
2024-06-10 09:40:39 +02:00
Min RK
78369901b2
make sure metrics configuration is in docs
2024-06-10 09:29:39 +02:00
Simon Li
d7a7589821
Merge pull request #4831 from minrk/token-max-age
...
Add token_expires_in_max_seconds configuration
2024-06-04 09:07:37 +01:00
Min RK
8437e66db9
require token_expires_in_max_seconds setting
2024-06-04 08:16:06 +02:00
Erik Sundell
6ea07a7dd0
Merge pull request #4832 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-06-04 08:44:07 +03:00
pre-commit-ci[bot]
fc184c4ec7
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.7 )
2024-06-03 22:08:28 +00:00
Min RK
df4f96eaf9
Add token_expires_in_max_seconds configuration
...
Allows limiting max expiration of tokens created via the API
Only affects the POST /api/tokens endpoint, not tokens issued by other means or created prior to config
2024-06-03 13:04:14 +02:00
Min RK
d8bb3f4402
Merge pull request #4822 from yuvipanda/group-override
...
Allow overriding spawner config based on user group membership
2024-05-31 09:28:05 +02:00
Yuvi Panda
4082c2ddbc
Reorder log messages
...
Co-authored-by: Min RK <benjaminrk@gmail.com >
2024-05-30 07:22:28 -07:00
YuviPanda
300f49d1ab
Change names of groups in examples
2024-05-29 23:05:51 -07:00
Erik Sundell
6abc096cbc
Merge pull request #4829 from manics/read-users-description
...
Fix wording for `read:users` scope description
2024-05-30 06:55:44 +02:00
Simon Li
a6aba9a7e1
python docs/source/rbac/generate-scope-table.py
2024-05-29 23:49:53 +01:00
Simon Li
8c3ff64511
Fix wording for read:users
scope description
2024-05-29 23:05:45 +01:00
Simon Li
104593b9ec
Merge pull request #4828 from minrk/admin_users_doc
...
further emphasize that admin_users config only grants permission
2024-05-29 13:48:40 +01:00
Min RK
495ebe406c
further emphasize that admin_users config only grants permission
2024-05-29 10:37:16 +02:00
YuviPanda
5100c60831
add example config
2024-05-24 08:59:48 -07:00
Yuvi Panda
bec737bf27
Fix typo
...
Co-authored-by: Simon Li <orpheus+devel@gmail.com >
2024-05-24 08:24:48 -07:00
YuviPanda
2bb27653e2
Apply group overrides before pre_spawn hook
2024-05-24 08:23:12 -07:00
pre-commit-ci[bot]
e8fbe84ac8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-24 14:56:48 +00:00
YuviPanda
8564ff015c
Add test for dict merging
2024-05-24 07:56:20 -07:00
YuviPanda
fb85cfb118
Better wording for group_overrides help
...
Co-authored-by: ryanlovett <rylo@berkeley.edu >
2024-05-24 07:27:51 -07:00
pre-commit-ci[bot]
25384051aa
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-24 14:23:19 +00:00
YuviPanda
2623aa5e46
Reduce amount of logging when applying group overrides
2024-05-24 07:22:41 -07:00
YuviPanda
30ebf84bd4
Remove direct reference to KubeSpawner
2024-05-24 07:22:30 -07:00
Min RK
50466843ee
Bump to 5.1.0.dev
2024-05-24 12:45:49 +02:00
Min RK
c616ab284d
Bump to 5.0.0
5.0.0
2024-05-24 12:45:26 +02:00
Min RK
41090ceb55
Merge pull request #4820 from minrk/rel5
...
final changelog for 5.0.0
2024-05-24 12:31:02 +02:00
Min RK
d7939c1721
one last patch
2024-05-24 11:00:46 +02:00
Min RK
d93ca55b11
update nginx ssl url
2024-05-24 10:57:36 +02:00
Min RK
9ff11e6fa4
Merge pull request #4821 from yuvipanda/fix-bootstrap
...
Fix missing `form-control` classes & some padding
2024-05-24 10:54:16 +02:00
YuviPanda
5f3833bc95
Allow overriding spawner config based on user group membership
...
Similar to 'kubespawner_override' in KubeSpawner, this allows
admins to selectivel override spawner configuration based on
groups a user belongs to. This allows for low maintenance but
extremely powerful customization based on group membership.
This is particularly powerful when combined with
https://github.com/jupyterhub/oauthenticator/pull/735
\#\# Dictionary vs List
Ordering is important here, but still I choose to implement this
configuration as a dictionary of dictionaries vs a list. This is
primarily to allow for easy overriding in z2jh (and similar places),
where Lists are just really hard to override. Ordering is provided
by lexicographically sorting the keys, similar to how we do it in z2jh.
\#\# Merging config
The merging code is literally copied from KubeSpawner, and provides
the exact same behavior. Documentation of how it acts is also copied.
2024-05-23 19:48:25 -07:00
pre-commit-ci[bot]
66ddaebf26
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-24 01:55:12 +00:00
YuviPanda
2598ac2c1a
Fix missing form-control
classes & some padding
...
- Missing `form-control` on a textbox gave it weird padding,
this fixes it.
- Add new server is set up as a [button addon](https://getbootstrap.com/docs/5.3/forms/input-group/#button-addons )
- Add a little right margin to the username in the navbar,
just before the logout button. Otherwise they were 'stuck'
to each other
2024-05-23 18:53:32 -07:00
Min RK
4ab36e3da6
final changelog for 5.0.0
2024-05-23 13:10:58 +02:00
Min RK
282cc020b6
Merge pull request #4815 from minrk/admin-test
...
admin: don't use state change to update offset
2024-05-16 08:48:22 +02:00
Min RK
6912a5a752
Merge pull request #4817 from minrk/share-code-full-url
...
add full URLs to share modes
2024-05-16 08:45:08 +02:00
Min RK
cedf237852
avoid offset race cycle in groups as well
2024-05-15 10:42:58 +02:00
Min RK
9ff8f3e6ec
update server model docstring
2024-05-15 10:29:09 +02:00
Erik Sundell
abc9581a75
Merge pull request #4816 from minrk/share-codes
...
DOC: /share-codes/ url typo
2024-05-15 10:01:53 +02:00