Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1424 commits
Select commit Hold shift + click to select a range
7e3e26c
Add detail to misc comments
consideRatio May 28, 2024
c77089c
Avoid requesting more permissions than needed in docs/test config
consideRatio May 28, 2024
6bc13f9
Prefer passthrough config hub.config over hub.redirecToServer
consideRatio May 28, 2024
1dae180
Merge pull request #1855 from consideRatio/pr/detail-fixes
yuvipanda May 29, 2024
b9560f7
Update library/docker version from 26.1.1-dind to 26.1.3-dind
jupyterhub-bot Jun 1, 2024
6851451
Update podman/stable version from v5.0.2 to v5.0.3
jupyterhub-bot Jun 1, 2024
706e12b
Merge pull request #1858 from jupyterhub/update-image-podman
manics Jun 1, 2024
ed366e4
Merge pull request #1857 from jupyterhub/update-image-docker
manics Jun 1, 2024
809461f
chore(deps): bump tornado in /helm-chart/images/binderhub
dependabot[bot] Jun 6, 2024
1351f3a
Merge pull request #1859 from jupyterhub/dependabot/pip/helm-chart/im…
manics Jun 7, 2024
c7063b9
add allowed list as alternative to banned list of repos
kpaschen May 22, 2020
6d00318
add allowed list as alternative to banned list of repos
kpaschen May 22, 2020
87442fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 11, 2024
30c3bc9
Remove repeated tests
yuvipanda Jun 11, 2024
bd297b2
Merge pull request #1105 from kpaschen/classroom-filter
yuvipanda Jun 11, 2024
69e7499
chore(deps): bump urllib3 in /helm-chart/images/binderhub
dependabot[bot] Jun 17, 2024
69eb8ac
Merge pull request #1861 from jupyterhub/dependabot/pip/helm-chart/im…
manics Jun 18, 2024
32a5341
Use urlencode to construct query strings
u10313335 Jun 27, 2024
4ad04ea
Cleanup URL parsing mechanisms
u10313335 Jun 27, 2024
2945d83
Add tests for dataset activities and non-CKAN datasets
u10313335 Jun 27, 2024
0e9834d
Bump version of repo2docker being used
yuvipanda Jun 29, 2024
a7b9239
Update podman/stable version from v5.0.3 to v5.1.1
jupyterhub-bot Jul 1, 2024
f76f9b5
Update library/docker version from 26.1.3-dind to 27.0.2-dind
jupyterhub-bot Jul 1, 2024
5785717
Merge pull request #1865 from jupyterhub/update-image-docker
manics Jul 1, 2024
19b6aca
Merge pull request #1864 from jupyterhub/update-image-podman
manics Jul 1, 2024
1b4cfae
Bump repo2docker version to match release name
yuvipanda Jul 1, 2024
31910bc
Rewrite the frontend completely
yuvipanda May 15, 2024
5c1183f
Split homepage into its own file
yuvipanda May 17, 2024
2e2a3ea
Add a loading page
yuvipanda May 18, 2024
55e0a41
Add nbviewer support
yuvipanda May 18, 2024
bb480e8
Re-implement the loader animation & text
yuvipanda May 18, 2024
f63e9b9
Update favicon correctly based on phases
yuvipanda May 18, 2024
ea7dbe7
Remove and cleanup unused stuff
yuvipanda May 18, 2024
abbf864
Add more type annotations
yuvipanda May 18, 2024
5661f17
Fix a few more typescript detected errors
yuvipanda May 18, 2024
b02256e
Don't enforce strict type checks yet
yuvipanda May 18, 2024
ffb3884
Create a central spec class
yuvipanda May 18, 2024
d6b549f
Document & rename spec class to be better
yuvipanda May 23, 2024
5da4111
Pass launchSpec correctly
yuvipanda May 23, 2024
23e491e
Remove GA code, add back extra_footer_scripts
yuvipanda May 23, 2024
b5c1c38
Move redirect calculation to Spec object
yuvipanda May 24, 2024
1bc530a
Remove unused static font
yuvipanda May 24, 2024
e4becd7
Move about page to frontend rendering
yuvipanda May 24, 2024
5a6adac
Fix case of component file
yuvipanda May 29, 2024
354118a
Remove remaining reference to `_config`
yuvipanda May 29, 2024
484680b
Support setting banner message
yuvipanda Jul 1, 2024
c338504
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 2, 2024
5e5a7a7
Merge pull request #1863 from yuvipanda/repo2docker-bump
yuvipanda Jul 2, 2024
0d5dccd
Merge pull request #1866 from jupyterhub/pre-commit-ci-update-config
minrk Jul 2, 2024
497c2ac
Merge pull request #1833 from depositar/provider-ckan
yuvipanda Jul 6, 2024
97701b0
chore(deps): bump certifi in /helm-chart/images/binderhub
dependabot[bot] Jul 6, 2024
510db6d
Merge pull request #1867 from jupyterhub/dependabot/pip/helm-chart/im…
manics Jul 7, 2024
9bfd6ea
Update message about repo not allowed to launch
consideRatio Jul 8, 2024
c3ca06a
Merge pull request #1868 from consideRatio/pr/update-msg
yuvipanda Jul 9, 2024
e8ba6f3
Update library/docker version from 27.0.2-dind to 27.0.3-dind
jupyterhub-bot Jul 11, 2024
e5bac94
Bump pip-tools to v7 used by ci/refreeze script updating requirements…
consideRatio Jul 11, 2024
16a5e16
Make pre-commit-hook not work on generated requirements.txt
consideRatio Jul 11, 2024
faafab2
Merge pull request #1870 from consideRatio/pr/refreeze-asdf
consideRatio Jul 11, 2024
3e31936
Merge remote-tracking branch 'upstream/main' into closure
yuvipanda Jul 12, 2024
0ad9347
Remove unused functionality from binderhub-client
yuvipanda Jul 12, 2024
f25ee22
Merge pull request #1869 from jupyterhub/update-image-docker
yuvipanda Jul 12, 2024
b145155
local-binder-local-hub: use jupyterhub-singleuser if AUTHENTICATOR set
manics Jul 13, 2024
28f9143
Merge pull request #1871 from manics/auth-singleuser
consideRatio Jul 13, 2024
ea9d565
Add functionality to view logs in raw form
yuvipanda Jul 31, 2024
2c9d89f
Kill some unnecessary useEffects
yuvipanda Aug 1, 2024
f2f1272
Update podman/stable version from v5.1.1 to v5.1.2
jupyterhub-bot Aug 1, 2024
70bf89a
Update library/docker version from 27.0.3-dind to 27.1.1-dind
jupyterhub-bot Aug 1, 2024
8df48ae
Merge pull request #1873 from jupyterhub/update-image-podman
manics Aug 1, 2024
a8a2e19
Merge pull request #1874 from jupyterhub/update-image-docker
manics Aug 1, 2024
7c55383
Add badge generator
yuvipanda Aug 2, 2024
c65214d
Merge remote-tracking branch 'upstream/main' into closure
yuvipanda Aug 2, 2024
c46a691
Add OpenGraph social card support
yuvipanda Aug 3, 2024
f942938
Fix copy buttons
yuvipanda Aug 3, 2024
ab59cb1
Tweak style of badge generator a little
yuvipanda Aug 3, 2024
34d95c3
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Aug 5, 2024
bcc65fb
Add all API endpoints to the documentation
rgaiacs Aug 7, 2024
c71bd8a
Merge pull request #1876 from rgaiacs/add-endpoint-to-docs
manics Aug 7, 2024
ba24eb2
chore(deps): bump jupyterhub in /helm-chart/images/binderhub
dependabot[bot] Aug 8, 2024
a318b9e
Merge pull request #1877 from jupyterhub/dependabot/pip/helm-chart/im…
manics Aug 8, 2024
b6197c9
Merge pull request #1875 from jupyterhub/pre-commit-ci-update-config
manics Aug 8, 2024
fb598fb
chore(deps): bump peter-evans/create-pull-request from 6 to 7
dependabot[bot] Oct 1, 2024
e14ef9d
Merge pull request #1880 from jupyterhub/dependabot/github_actions/pe…
manics Oct 1, 2024
a337b7e
Update Z2JH to 4.0.0
manics Nov 7, 2024
608cbd6
Replace NullAuthenticator with `null`
manics Nov 7, 2024
d36f86a
Test k8s 1.28 - 1.30
manics Nov 7, 2024
9962914
Remove timeout from `pytest.mark.asyncio`
manics Nov 7, 2024
e489cb5
Update python, node, helm
manics Nov 7, 2024
6e188e6
Use a more stable testing dataset in the CKAN repoprovider
u10313335 Nov 9, 2024
9cf3b63
Merge pull request #1887 from depositar/fix-ckan-provider-test
consideRatio Nov 9, 2024
58bb7db
Merge pull request #1885 from manics/update-node-python
consideRatio Nov 9, 2024
ba490a7
EventLog: remove taskName if present
manics Nov 9, 2024
b60cfb0
Add timeouts back using `@pytest.mark.timeout()`
manics Nov 9, 2024
5a4e43d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 9, 2024
6f2e26f
Remove pytest.mark.asyncio (should be automatic)
manics Nov 10, 2024
a93a01c
Merge pull request #1884 from manics/update-z2jh
consideRatio Nov 10, 2024
97f1bfd
Fix lint
oliverroick Nov 21, 2024
e858fa8
Ignore spec.js in tests
oliverroick Nov 21, 2024
a4733b4
gitignore coverage directory
oliverroick Nov 21, 2024
6193fb1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 21, 2024
ae035cb
Add basic link-generator tests
oliverroick Nov 22, 2024
5b7329a
Fix repo-select input group layout
oliverroick Nov 22, 2024
ce6a4bc
Fix label alignment
oliverroick Nov 22, 2024
e70e260
Replace links with buttons in dropdowns
oliverroick Nov 22, 2024
729b563
Add Github and Zenodo test cases
oliverroick Nov 22, 2024
1d6e8d4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 22, 2024
413340b
chore(deps): bump tornado in /helm-chart/images/binderhub
dependabot[bot] Nov 22, 2024
0284be9
Merge pull request #1888 from jupyterhub/dependabot/pip/helm-chart/im…
yuvipanda Nov 23, 2024
d92e6b7
Remove test for custom template
yuvipanda Nov 27, 2024
85113b0
Remove about handler test
yuvipanda Nov 27, 2024
7d04688
Better ipv6 support when checking network bans
yuvipanda Nov 27, 2024
408a572
Use network objects directly
yuvipanda Nov 27, 2024
003d3d0
Remove ban_networks_min_prefix_len
yuvipanda Nov 27, 2024
28dc23c
Add router test for homepage and about page
oliverroick Nov 27, 2024
694628c
Add ipv6 check to localnet
yuvipanda Nov 27, 2024
d8816cf
Remove template based custom error and 404 pages
yuvipanda Nov 27, 2024
ddf6371
Don't stop after only 2 test failures
yuvipanda Nov 27, 2024
0dd37ea
Merge pull request #1889 from yuvipanda/ip-check
minrk Nov 27, 2024
54f6e04
Add Not Found page
oliverroick Nov 28, 2024
7c2035a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 28, 2024
eebfbd1
Update podman/stable version from v5.1.2 to v5.3.1
jupyterhub-bot Dec 1, 2024
0d8e0ee
Update library/docker version from 27.1.1-dind to 27.3.1-dind
jupyterhub-bot Dec 1, 2024
dd52eb4
chore(deps): bump codecov/codecov-action from 4 to 5
dependabot[bot] Dec 1, 2024
3703273
Merge pull request #1890 from jupyterhub/dependabot/github_actions/co…
minrk Dec 2, 2024
2c87b24
Run test_loading_page with Playwright
oliverroick Dec 5, 2024
cf1e6cc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 5, 2024
cc4b551
s/status_code/status/ for playwright response object
yuvipanda Dec 6, 2024
22b8366
Remove excessive inline comments
yuvipanda Dec 7, 2024
74a71b7
Remove unnecessary pytest mark
yuvipanda Dec 7, 2024
26ec60f
Install firefox for tests, not chrome
yuvipanda Dec 7, 2024
422d383
Dynamically determine port binderhub listens on
yuvipanda Dec 7, 2024
c89e5a8
Don't stop when 2 tests fail
yuvipanda Dec 7, 2024
67606fd
Don't fail tests if pycurl is not installed
yuvipanda Dec 7, 2024
8adca6e
Merge pull request #1893 from yuvipanda/pycurl
manics Dec 7, 2024
0cd2b5b
Merge pull request #1892 from yuvipanda/no-maxfail
manics Dec 7, 2024
94b3593
Dynamically determine port binderhub listens on
yuvipanda Dec 7, 2024
fc56262
Add UI integration tests with playwright
yuvipanda Dec 7, 2024
c41c7c0
Pass in path to pytests to run
yuvipanda Dec 7, 2024
d70da40
Remove unused function
yuvipanda Dec 7, 2024
c8193d7
Split specific handler tests out of test_main
yuvipanda Dec 7, 2024
50f2879
Merge branch 'binderhub-local' into closure
yuvipanda Dec 8, 2024
279e232
Fix tests to match rewrite
yuvipanda Dec 8, 2024
1965809
Add handling for misconfigured specs
oliverroick Dec 9, 2024
cc09f36
Remove encoded url from loading-page test
oliverroick Dec 9, 2024
cf6a2ee
Verify by matching URL
oliverroick Dec 9, 2024
55d4318
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 9, 2024
3ee5069
Remove 'some errors disappear' error
yuvipanda Dec 9, 2024
82d2268
Merge pull request #1891 from yuvipanda/binderhub-local
yuvipanda Dec 9, 2024
f26d970
Merge remote-tracking branch 'upstream/main' into closure
yuvipanda Dec 9, 2024
a6522be
Add note about nbviewer URL
yuvipanda Dec 9, 2024
d16f2ea
Support build tokens
yuvipanda Dec 9, 2024
aa19f64
Handle situation where ref isn't enabled
yuvipanda Dec 12, 2024
a947c82
Validate spec for each repo provider separately
yuvipanda Dec 12, 2024
78bcdbf
Fix JS unit tests
oliverroick Dec 12, 2024
771b52b
Add info about wether repo should be urlencoded or not
yuvipanda Dec 12, 2024
8d0f089
Switch from react-router v6 to wouter
yuvipanda Dec 12, 2024
424f831
Generate build tokens correctly
yuvipanda Dec 12, 2024
ba212f5
Fix *some* jest tests
yuvipanda Dec 13, 2024
2f2b327
Fix route regex in Jest config
oliverroick Dec 13, 2024
b30a9e9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 13, 2024
bded394
Remove jquery
yuvipanda Dec 13, 2024
352e4c1
Move chp to a dev dependency
yuvipanda Dec 13, 2024
42708a3
Upgrade version of xtermjs
yuvipanda Dec 13, 2024
ac62ba7
Remove unused 'clipboard' library
yuvipanda Dec 14, 2024
49d0f86
Write a clearer description for package.json
yuvipanda Dec 14, 2024
c089327
Mark the binderhub package itself as private
yuvipanda Dec 14, 2024
0fe56ae
Move react types to dev dependencies
yuvipanda Dec 14, 2024
73cc8f4
Upgrade version of react & related packages
yuvipanda Dec 14, 2024
ff77710
Merge pull request #1878 from jupyterhub/update-image-docker
yuvipanda Dec 14, 2024
fab419e
Merge pull request #1879 from jupyterhub/update-image-podman
yuvipanda Dec 14, 2024
83da55d
Switch to using secrets module from os.urandom
yuvipanda Dec 14, 2024
dcd6bb1
Clarify Gist is GitHub Gist
yuvipanda Dec 14, 2024
9a73e00
Remove unused display_name property
yuvipanda Dec 14, 2024
4d670a5
Fix typo
yuvipanda Dec 14, 2024
b498b23
Fix typo
yuvipanda Dec 14, 2024
1927d34
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 14, 2024
b2dfd27
Fix off by 1 error with help messages
yuvipanda Dec 14, 2024
f379956
Remove debugging message
yuvipanda Dec 14, 2024
0fd5bb1
Add thicker borders to some controls
yuvipanda Dec 15, 2024
7276451
Make form background darker
yuvipanda Dec 15, 2024
3c895d9
Cleanup padding and rounded corners
yuvipanda Dec 15, 2024
5fbf7c5
Merge pull request #1895 from yuvipanda/secrets
minrk Dec 16, 2024
2480656
Widen the form
yuvipanda Dec 16, 2024
b185b66
Clarify what binderhub supports for hydroshare
yuvipanda Dec 21, 2024
e117f39
Provide outline for buttons
yuvipanda Dec 21, 2024
7e0d5fb
Clarify what happens to the GA traitlets
yuvipanda Dec 21, 2024
e158610
Clarify what happens to the GA traitlets
yuvipanda Dec 21, 2024
acdc9fe
Turn tsc checking on (but don't enforce it)
yuvipanda Dec 21, 2024
54b6c19
Don't check js in our tsconfig
yuvipanda Dec 21, 2024
fbeb074
Revert adding noEmit
yuvipanda Dec 21, 2024
8679ba5
Make default opengraph title configurable
yuvipanda Dec 23, 2024
fbdb331
Describe *why* isort is configured, not what it is
yuvipanda Dec 30, 2024
a957bf0
Update library/docker version from 27.3.1-dind to 27.4.1-dind
jupyterhub-bot Jan 1, 2025
97f7874
Merge pull request #1900 from jupyterhub/update-image-docker
manics Jan 3, 2025
57e3b3a
Merge pull request #1899 from jupyterhub/black
manics Jan 3, 2025
b72cd88
Merge pull request #1856 from yuvipanda/closure
manics Jan 3, 2025
08a9b41
Does pytest-asyncio 0.25.1 break our playwright tests?
manics Jan 6, 2025
774ee54
Merge pull request #1905 from manics/pin-pytest-asyncio
yuvipanda Jan 6, 2025
f9d5740
binderhub image: refreeze requirements.txt
jupyterhub-bot Jan 7, 2025
3b3743b
Merge pull request #1881 from jupyterhub/update-image-requirements
manics Jan 7, 2025
6d4cf4f
fix: allow Access-Control-Allow-Origin=* on versions API
agoose77 Jan 9, 2025
ac3b33f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 9, 2025
1e893dc
fix: handle deprecation of datetime.utcnow()
agoose77 Jan 9, 2025
4385e8d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 9, 2025
2cf6772
Add Python build step to documentation
rgaiacs Jan 14, 2025
43ab94a
Add command for users using Docker Desktop
rgaiacs Jan 14, 2025
fd0f31f
Merge pull request #1911 from rgaiacs/1910-improve-documentation
manics Jan 14, 2025
41a95ee
Merge pull request #1637 from manics/registry-dynamic-token
manics Jan 14, 2025
f398f88
Update binderhub/base.py
agoose77 Jan 15, 2025
65f807c
Merge pull request #1906 from agoose77/agoose77/fix-cors-versions
minrk Jan 15, 2025
c81957f
expose option to control cordoning
minrk Jan 23, 2025
1fdc709
fix: use strformat to preserve formatting
agoose77 Jan 23, 2025
243fd34
Merge pull request #1908 from agoose77/agoose77/fix-deprecation-utcnow
minrk Jan 23, 2025
040c9bb
Merge pull request #1913 from minrk/cordon-option
yuvipanda Jan 23, 2025
eeb1d4f
Test Pytohn 3.8
manics Jan 25, 2025
51568c1
Test Python 3.9
manics Jan 25, 2025
55742ea
Test Python 3.10
manics Jan 25, 2025
ec9c3c4
python_requires >= 3.10
manics Jan 25, 2025
78301d2
Set btn-secondary on dropdown selectors
manics Jan 25, 2025
eec7060
Improve hell command render in documentation
rgaiacs Jan 27, 2025
6d4098e
Add note about use ingress controller
rgaiacs Jan 27, 2025
3c5779d
Add configuration example to use ingress controller
rgaiacs Jan 27, 2025
c86f292
Make text more Kubernetes provider agnostic
rgaiacs Jan 27, 2025
5a1f31d
Add note to connect BinderHub and JupyterHub
rgaiacs Jan 27, 2025
2a98741
Use helm upgrade --install
rgaiacs Jan 27, 2025
2ac9124
Merge pull request #1915 from manics/file-url-visual-indicator
minrk Jan 27, 2025
159aec7
strip trailing slash on github/gist/gitlab URLs
minrk Jan 29, 2025
e8e336d
Merge pull request #1914 from manics/test-oldest-python
minrk Jan 30, 2025
dd86179
GitHub: only show "master" branch message if master branch is requested
minrk Jan 30, 2025
5a4bf55
Merge pull request #1922 from minrk/master-message
consideRatio Jan 30, 2025
4f0a91a
Merge pull request #1921 from minrk/trailing-slash-repoproviders
consideRatio Jan 30, 2025
50cb222
Improve text in documentation
rgaiacs Jan 30, 2025
374b67b
Reduce text duplication in documentation
rgaiacs Jan 30, 2025
b22c9ee
Update library/docker version from 27.4.1-dind to 27.5.1-dind
jupyterhub-bot Feb 1, 2025
d7c3d01
Update podman/stable version from v5.3.1 to v5.3.2
jupyterhub-bot Feb 1, 2025
599acea
Merge pull request #1926 from jupyterhub/update-image-podman
manics Feb 1, 2025
7031b34
Merge pull request #1925 from jupyterhub/update-image-docker
manics Feb 1, 2025
d8bedee
Merge pull request #1917 from rgaiacs/docker-desktop
manics Feb 2, 2025
494295b
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Feb 3, 2025
5c5ef79
Merge pull request #1883 from jupyterhub/pre-commit-ci-update-config
consideRatio Feb 4, 2025
8df1c69
Merge branch 'upstream-2025-02-11' into feature/upgrade-2025-02
yacchin1205 Feb 11, 2025
27b75d3
Fix codes for latest environments
yacchin1205 Jan 24, 2025
402e7c7
Update requirements
yacchin1205 Feb 3, 2025
3ab5aad
Fix the URL of helm repository
yacchin1205 Feb 11, 2025
bf2fae4
GitHub: only show "master" branch message if master branch is requested
minrk Jan 30, 2025
5c8c403
Update message about repo not allowed to launch
consideRatio Jul 8, 2024
9f03439
strip trailing slash on github/gist/gitlab URLs
minrk Jan 29, 2025
5f48b15
expose option to control cordoning
minrk Jan 23, 2025
7cd7379
Update podman/stable version from v5.3.1 to v5.3.2
jupyterhub-bot Feb 1, 2025
d68a7e2
Update library/docker version from 27.4.1-dind to 27.5.1-dind
jupyterhub-bot Feb 1, 2025
773c6fb
Remove `linux/arm64` for the workaround
yacchin1205 Mar 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .coveragerc

This file was deleted.

48 changes: 48 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ["eslint:recommended", "plugin:react/recommended"],
ignorePatterns: ["dist"],
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
{
files: ["**/*.test.js", "**/*.test.jsx"],
env: {
jest: true,
node: true,
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["react"],
rules: {
"react/react-in-jsx-scope": "off",
"react/jsx-uses-react": "off",
// Temporarily turn off prop-types
"react/prop-types": "off",
"no-unused-vars": ["error", { args: "after-used" }],
},
ignorePatterns: [
"jupyterhub_fancy_profiles/static/*.js",
"webpack.config.js",
"babel.config.js",
],
settings: {
react: {
version: "detect",
},
},
};
16 changes: 16 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# flake8 is a Python linting tool run by pre-commit as declared by our
# pre-commit-config.yaml file.
#
# This configuration is compatible with the autoformatter tool black, and
# further relaxed to not bug us with too small details.
#
# flake8 configuration reference:
# https://flake8.pycqa.org/en/latest/user/configuration.html
#
[flake8]
max-line-length = 88
extend-ignore = C, E, W

# Adjustments to linting the binderhub repo
builtins = c, load_subconfig
exclude = versioneer.py,binderhub/_version.py
21 changes: 21 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file can be used to disregard certain commits when using `git blame`, and
# GitHub will automatically use it for that by file name convention.
#
# Reference 1: https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt
# Reference 2: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
#

# pre-commit: run requirements-txt-fixer
da40927c5b187e37755901e675eee092e12ae2eb
# pre-commit: run end-of-file-fixer
b815163691eade7daeeb01549d0fc6bdf4a33186
# pre-commit: run prettier
9fefdc42ec4d1701117f8f2880a80695eeaad5c9
# pre-commit: run update-values-based-on-bindarspawner-mixin
d32e9efa34cf0ca8880939e82ff01d3edc35705b
# pre-commit: run isort
f0fe0257506fd667279e97354f0207168aa1368c
# pre-commit: run black
bb047d8bce89655e197a7fdf2bdec2cb9c79940a
# pre-commit: run pyupgrade
24da4e593461640aaa47dc008b1f657b92189085
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ If you aren't sure where to go use https://github.com/jupyterhub/binder/issues/n

Thank you for being awesome!
-->

17 changes: 17 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# dependabot.yml reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
#
# Notes:
# - Status and logs from dependabot are provided at
# https://github.com/jupyterhub/binderhub/network/updates.
# - YAML anchors are not supported here or in GitHub Workflows.
#
version: 2
updates:
# Maintain dependencies in our GitHub Workflows
- package-ecosystem: github-actions
directory: /
labels: [ci]
schedule:
interval: monthly
time: "05:00"
timezone: Etc/UTC
52 changes: 0 additions & 52 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

36 changes: 28 additions & 8 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,42 @@
# This workflow provides a diff of the rendered Helm chart's templates with the
# latest released dev version of the chart.
---
#
name: Helm diff

on:
pull_request:
paths:
- ".github/workflows/diff.yml"
- "helm-chart/binderhub/**"
push:
paths:
- ".github/workflows/diff.yml"
- "helm-chart/binderhub/**"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"
- "update-*"
workflow_dispatch:

jobs:
diff-rendered-templates:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: jupyterhub/action-k3s-helm@v1
- uses: jupyterhub/action-k3s-helm@v4
with:
k3s-channel: v1.22
k3s-channel: stable
metrics-enabled: false
traefik-enabled: false
docker-enabled: true

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: "3.12"

- name: Install helm diff plugin, update local chart dependencies
run: |
helm plugin install https://github.com/databus23/helm-diff
Expand All @@ -44,11 +55,20 @@ jobs:

# NOTE: We change the directory so binderhub the chart name won't be
# misunderstood as the local folder name.
# validation is disabled, because the config is for a different version!
cd testing

old_config="../testing/k8s-binder-k8s-hub/binderhub-chart-config-old.yaml"
if [ -f "$old_config" ]; then
echo "using old config"
else
old_config="../testing/k8s-binder-k8s-hub/binderhub-chart-config.yaml"
fi

helm install binderhub-test binderhub \
--values ./k8s-binder-k8s-hub/binderhub-chart-config.yaml \
--values "$old_config" \
--repo https://rcosdp.github.io/CS-jhub-helm-chart/ \
--disable-openapi-validation \
--version=$UPGRADE_FROM_VERSION

- name: "Helm diff latest released dev chart with local chart"
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Lints the binderhub/static/js folders content with eslint, influenced by
# ".eslintrc.js", by running "npm run lint" where "lint" is a command defined in
# package.json.
#
name: eslint

on:
pull_request:
paths:
- ".github/workflows/eslint.yml"
- ".eslintrc.js"
- "package.json"
- "binderhub/static/js/**"
- "js/**"
push:
paths:
- ".github/workflows/eslint.yml"
- ".eslintrc.js"
- "package.json"
- "binderhub/static/js/**"
- "js/**"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"
- "update-*"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- run: npm install

- run: npm run lint
36 changes: 36 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Runs jest based unit tests for frontend javascript and @jupyterhub/binderhub-client
name: "JS Unit tests"

on:
pull_request:
paths:
- "binderhub/static/js/**"
- "js/packages/binderhub-client/**"
- ".github/workflows/jest.yml"
push:
paths:
- "binderhub/static/js/**"
- "js/packages/binderhub-client/**"
- ".github/workflows/jest.yml"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"
- "update-*"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: "Setup dependencies"
run: |
npm install

- name: "Run all unit tests"
run: |
npm test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Loading
Loading