Simon Li
ffb092721c
GHW docker: push to localhost if not releasing
2021-04-15 10:19:06 +01:00
Min RK
8758b3af27
Merge pull request #3422 from olifre/login-page-customization
...
login-template: Add a "login_container" block inside the div-container.
2021-04-15 09:31:23 +02:00
Min RK
5202cdff8c
Merge pull request #3421 from manics/docker-arm64
...
Docker arm64 builds
2021-04-15 09:31:04 +02:00
Simon Li
ce0cb95282
docker release: fix build-arg BASE_IMAGE tag
2021-04-14 23:17:16 +01:00
Simon Li
ee421f6427
GHW: Remove unnecessary echo, add docker test timeout
2021-04-14 22:47:17 +01:00
Simon Li
268da21bbf
GH workflow docker: 'input device is not a TTY'
2021-04-14 22:44:34 +01:00
Simon Li
4ad5f61bc7
Bump onbuild/README.md example version
2021-04-14 22:28:27 +01:00
Simon Li
3df3850b3a
Remove Docker hub automated build hooks
2021-04-14 22:28:07 +01:00
Simon Li
50733efa1b
Move circleci docker test to gh workflow
2021-04-14 22:27:28 +01:00
Simon Li
98230ee770
docker release: jupyterhub-onbuild jupyterhub-demo
2021-04-14 22:26:25 +01:00
Simon Li
37f250b4d7
Push some branches, use variable to determine whether to push
2021-04-14 22:26:21 +01:00
Oliver Freyermuth
869661bf25
login-template: Add a "login_container" block inside the div-container.
...
This allows for more flexible customization of the login page,
since it allows to re-use the login form in an extending template
by reusing the new block.
This was not cleanly possible before since the main container
was part of the very same block as the form code.
fixes #3414
2021-04-14 20:11:04 +02:00
Simon Li
009fa955ed
Add Docker multi-arch publish
2021-04-13 15:35:03 +01:00
Simon Li
7c8f7e9fcb
Don't pin Dockerfile parent hash
2021-04-13 15:34:14 +01:00
Yuvi Panda
14539c4e0f
Merge pull request #3373 from minrk/only-hub-route
...
allow the hub to not be the default route
2021-04-13 17:12:21 +05:30
Min RK
a11a292cd9
test custom hub routespecs
2021-04-13 13:16:59 +02:00
Min RK
5890064191
duplicate metrics, health handlers on /api/
...
these should probably have been on `/api/` all along,
but must be on /api/ for api-only hub routing
2021-04-13 13:16:59 +02:00
Min RK
1f30e693ad
allow overriding JupyterHub.hub_routespec
...
Rare, but can make sense for api-only deployments
allows easier override of the default route,
e.g. for mybinder.org custom error pages
2021-04-13 13:16:59 +02:00
Min RK
32976f3d42
Merge pull request #3403 from kafonek/fastapi-example
...
Fastapi example
2021-04-13 12:58:43 +02:00
Min RK
30bc23f102
Merge pull request #3418 from jiajunjie/log-exception
...
Log the exception raised in Spawner.post_stop_hook instead of raising it
2021-04-13 12:56:38 +02:00
Jia Junjie
786c7039d6
Log the exception raised in Spawner.post_stop_hook instead of raising it
2021-04-13 08:01:59 +00:00
Erik Sundell
19c3b02155
Merge pull request #3417 from manics/fix-hard-way-link
...
Fix link to jupyterhub/jupyterhub-the-hard-way
2021-04-13 07:49:33 +02:00
Simon Li
1a80524772
Fix link to jupyterhub/jupyterhub-the-hard-way
2021-04-12 21:49:59 +01:00
Erik Sundell
699a1cc01b
Merge pull request #3415 from minrk/changelog-1.4
...
Changelog for 1.4
2021-04-12 17:26:33 +02:00
Min RK
29ae04c921
Changelog for 1.4
2021-04-12 16:57:26 +02:00
Matt Kafonek
62a1652cc9
Add files via upload
2021-04-11 21:41:45 -04:00
Kafonek, Matt
290e031034
updating gif
2021-04-11 21:40:11 -04:00
Nathan Barber
e72b13be3a
Clean up offset/limit conditional
2021-04-09 17:14:13 -04:00
Nathan Barber
2fa331bd36
Paginate listing users and groups
2021-04-09 16:57:32 -04:00
Kafonek, Matt
7642302d17
docs
2021-04-09 15:01:59 +00:00
Kafonek, Matt
aebf833530
Hit /user instead of /authorizations/token/<token>
2021-04-09 15:01:48 +00:00
Kafonek, Matt
86b51804c1
comment update
2021-04-09 15:01:22 +00:00
Kafonek, Matt
aa12afa34d
User groups is List[str] not List[Group]
2021-04-09 15:01:03 +00:00
Yuvi Panda
2ff6d2b36c
Merge pull request #3411 from minrk/oauth-token-expiry-config
...
make oauth token expiry configurable
2021-04-09 18:14:56 +05:30
Min RK
e5f7aa6c2a
default oauth token expiry to cookie_max_age_days
...
so changing cookie age changes oauth token expiry,
since these are what are stored in those cookies anyway,
it makes sense for them to expire at the same time
2021-04-09 14:35:09 +02:00
Min RK
e3811edd87
make oauth token expiry configurable
...
and default to 1 day instead of 1 hour
2021-04-09 14:06:38 +02:00
Min RK
55cd9d806b
Merge pull request #3407 from yuvipanda/upsert-oauth-clients
...
Don't delete all oauth clients on startup
2021-04-09 09:26:54 +02:00
YuviPanda
96789f5945
Add oauth client to orm only when it's new
...
- Existing orm_client objects are updated automatically
in the session.
- Add some logging
- Remove TODO about safety in doing updates without upsert
in JupyterHub, per @minrk:
https://github.com/jupyterhub/jupyterhub/pull/3407#discussion_r610390785
2021-04-09 12:50:02 +05:30
Nathan Barber
204c7bf81d
Merge pull request #3 from naatebarber/redux-hooks
...
Redux hooks
2021-04-08 18:40:49 -04:00
Nathan Barber
51deaa36f3
Combine API props, update tests for redux hooks
2021-04-08 18:28:49 -04:00
Nathan Barber
21f4988f24
Convert redux state access to hooks
2021-04-08 17:21:02 -04:00
Nathan Barber
c7dcb4db85
Fix /jsx with prettifier
2021-04-08 15:50:54 -04:00
kafonek
81d481a110
pre-commit run -a
2021-04-08 09:28:46 -04:00
YuviPanda
054c7f276e
Don't delete all oauth clients on startup
...
When an oauth client changes, we delete all the tokens
associated with that client. This invalidates all user sessions
for that oauth client, and the oauth client's users will need to
go through the OAuth workflow again after the cache period (specified
by cache_max_age in HubAuth, 5min by default). This is fine in theory,
since oauth client information doesn't change frequently.
However, we were deleting and re-adding all oauth clients each time
the hub started! This was unnecessary, since the data was going to
be the same 99% of the time. Rest of the time, we should just update,
preventing unnecessary churn.
This PR does that.
Ref https://github.com/yuvipanda/jupyterhub-configurator/issues/2
Ref https://github.com/berkeley-dsep-infra/datahub/issues/2284
2021-04-08 17:55:28 +05:30
Nathan Barber
89a430cc13
Update AdminHandler for React / fix missing auth
2021-04-07 22:51:08 -04:00
Nathan Barber
d267c6cc40
Install yarn with other node dependencies
2021-04-07 22:40:27 -04:00
Nathan Barber
557a2abaec
Merge pull request #2 from naatebarber/naatebarber-patch-1
...
Delete admin-react.js
2021-04-07 22:35:18 -04:00
Nathan Barber
54d0e195bf
Delete admin-react.js
...
Remove hot-testing bundle from repository
2021-04-07 22:34:16 -04:00
Nathan Barber
f06c4c0857
Merge pull request #1 from naatebarber/functional
...
Functional Components
2021-04-07 22:24:20 -04:00
Nathan Barber
fca5841a1a
Add jest testing to github actions
2021-04-07 22:20:29 -04:00