Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
9fe7b76
Initial migration to use vite and get dev working #346
joelvdavies Mar 12, 2024
8636baf
Update tsconfig and fix issues preventing build #1379
joelvdavies Mar 12, 2024
54aea49
Enable pre-commit linting again #1379
joelvdavies Mar 12, 2024
c0f3258
Add vitest and make some tests function #1379
joelvdavies Mar 13, 2024
9561d42
Fix global mocking behavour and vscode linting in tests and replace s…
joelvdavies Mar 13, 2024
cd8d1bd
Fix more unit tests #371
joelvdavies Mar 13, 2024
4b48f5e
Fix flushPromises in unit tests #371
joelvdavies Mar 13, 2024
07b9472
Fix some more unit tests using timers #1379
joelvdavies Mar 14, 2024
7d1f68d
Fix two more unit tests #1379
joelvdavies Mar 14, 2024
8608169
Fix remaining broken unit test #1379
joelvdavies Mar 15, 2024
ec83e56
Make cypress run again and exclude some files from coverage #1379
joelvdavies Mar 15, 2024
7cebf93
Fix docker build and replace REACT_APP with VITE_APP #1379
joelvdavies Mar 15, 2024
a0275df
Update readme with new commands and slight cleanup #1379
joelvdavies Mar 15, 2024
5fa11dd
Replace eslint-config-react-app #1379
joelvdavies Mar 15, 2024
1c5ef55
Cleanup vite config and package.json #1379
joelvdavies Mar 18, 2024
38139cc
Move flushPromises into testUtils file to avoid repeated mocks during…
joelvdavies Mar 19, 2024
4da835b
Cleanup eslint config #1379
joelvdavies Mar 19, 2024
bf9dce6
Remove react-app-polyfill and custom-event-polyfill #1379
joelvdavies Mar 19, 2024
505728c
Update and use browserslist #1379
joelvdavies Mar 21, 2024
374532a
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Mar 22, 2024
a91c2d0
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Mar 22, 2024
fec13e4
Modify vite config to output an lcov.info for vscode extension #1379
joelvdavies Apr 3, 2024
4d80658
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Apr 3, 2024
4276cfd
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Apr 16, 2024
d881122
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Jun 4, 2024
0b670a8
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Jul 3, 2024
06d1c95
Ignore cypress on coverage #1379
joelvdavies Aug 7, 2024
384f97b
Apply changes from OG vite and update vite and vitest #1379
joelvdavies Aug 16, 2024
5923c81
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Sep 17, 2024
bf62359
Update codecov/codecov-action digest to b9fd7d1
renovate[bot] Oct 1, 2024
196f38f
Update actions/checkout digest to 11bd719
renovate[bot] Nov 20, 2024
4e7d733
Merge branch 'react-18-#1205' into migrate-to-vite-#1379
joelvdavies Nov 21, 2024
34520ba
Update dependency i18next to v23.16.8
renovate[bot] Nov 23, 2024
7713795
Merge branch 'develop' into migrate-to-vite-#1379
joelvdavies Nov 27, 2024
09cb6b7
Upgrade some packages to align with IMS #1379
joelvdavies Nov 27, 2024
26fab0f
Address review comments #1379
joelvdavies Dec 2, 2024
243c7e4
Update docker/metadata-action action to v5.7.0
renovate[bot] Feb 26, 2025
9f30104
Update the JWTAuthProvider #1423
joshdimanteto Mar 14, 2025
22daf73
Merge branch 'develop' into migrate-to-vite-#1379
joelvdavies Mar 17, 2025
3f1dbde
add get endpoints on e2e tests
joshdimanteto Mar 17, 2025
83dd009
Merge pull request #1435 from ral-facilities/main
joelvdavies Mar 17, 2025
d4f1ead
Add post maintenance and post scheduled_maintenance endpoints to auth…
louise-davies Mar 28, 2025
7477db6
Merge pull request #1436 from ral-facilities/update-jwt-auth-provider…
joshdimanteto Apr 29, 2025
a0169ef
Update actions/setup-node digest to 49933ea
renovate[bot] Apr 29, 2025
1c472e7
Merge branch 'develop' into migrate-to-vite-#1379
joelvdavies Apr 29, 2025
0e28692
Upgrade to eslint v9, use IMS/OG flat config #1438
joelvdavies May 13, 2025
ae09d23
Move eslint plugins to devDependencies and update to new versions #1438
joelvdavies May 13, 2025
76ee4fe
Update Vite to latest v5 version and use defaults for browserslist co…
joelvdavies May 20, 2025
0b9e5bd
Merge branch 'migrate-to-vite-#1379' into upgrade-to-eslint-v9
joelvdavies May 20, 2025
3472eda
Use defaults for browserslist to match OG and DG #1379
joelvdavies May 20, 2025
7cd8936
Merge branch 'migrate-to-vite-#1379' into upgrade-to-eslint-v9
joelvdavies May 20, 2025
75ccf21
Update release-build action to switch build to dist folder #1379
joelvdavies May 21, 2025
3853bcf
Merge pull request #1380 from ral-facilities/migrate-to-vite-#1379
joelvdavies Jun 3, 2025
a54914a
#1440 - remove special handling for homepageUrl in authorisedRoute
louise-davies Jun 4, 2025
14939af
#1440 - add e2e test for unauthorised plugin
louise-davies Jun 4, 2025
041f207
Improve auth-server so it only tries to run if authUrl is not set to …
louise-davies Jun 4, 2025
c5d2b24
Hide nav drawer if no plugins will be displayed in the drawer
louise-davies Jun 4, 2025
9d5515f
Update pageContainer test & snapshot
louise-davies Jun 4, 2025
c7fbba5
Fix referrer redirect when auto logged in
louise-davies Jun 4, 2025
6e41399
Fix serve plugins script
louise-davies Jun 4, 2025
24cec35
Remove unnecessary @typescript-eslint dependencies from package.json …
joelvdavies Jun 5, 2025
8db2481
Remove @babel/eslint-parser as no longer needed #1438
joelvdavies Jun 6, 2025
3e87cc1
Merge pull request #1439 from ral-facilities/upgrade-to-eslint-v9
joelvdavies Jun 9, 2025
9d5894a
Merge pull request #1392 from ral-facilities/renovate/actions-checkou…
louise-davies Jun 10, 2025
e4881e1
Merge pull request #1367 from ral-facilities/renovate/actions-setup-n…
louise-davies Jun 10, 2025
bf37728
Merge pull request #1369 from ral-facilities/renovate/codecov-codecov…
louise-davies Jun 10, 2025
134f64f
Merge pull request #1373 from ral-facilities/renovate/docker-metadata…
louise-davies Jun 10, 2025
10936fb
Update dependency browserslist to v4.25.0
renovate[bot] Jun 11, 2025
ab96688
Merge pull request #1446 from ral-facilities/renovate/browserslist-4.x
louise-davies Jun 11, 2025
7bdadfe
Update dependency @vitejs/plugin-react to v4.5.1
renovate[bot] Jun 11, 2025
3426d84
Update dependency axios to v1.9.0
renovate[bot] Jun 11, 2025
8adafb1
Merge pull request #1445 from ral-facilities/renovate/axios-1.x
louise-davies Jun 11, 2025
9c50a33
Update dependency prettier to v3.5.3
renovate[bot] Jun 11, 2025
b74966a
Unpin start-server-and-test to ensure we get security fixes
louise-davies Jun 11, 2025
af4adca
Update dependency @types/redux-mock-store to v1.5.0
renovate[bot] Jun 11, 2025
c58a25e
Merge pull request #1442 from ral-facilities/feature/authenticated-ho…
louise-davies Jun 11, 2025
2309ee6
Merge pull request #1394 from ral-facilities/renovate/prettier-3.x
louise-davies Jun 11, 2025
0f661cf
Merge pull request #1444 from ral-facilities/renovate/vitejs-plugin-r…
louise-davies Jun 11, 2025
962a99f
Merge pull request #1370 from ral-facilities/renovate/i18next-23.x
louise-davies Jun 11, 2025
6a65e8e
Fix i18next types broken by package update
louise-davies Jun 11, 2025
f1a0463
Merge pull request #1443 from ral-facilities/renovate/redux-mock-stor…
louise-davies Jun 11, 2025
663590d
Update dependency cypress to v13.17.0
renovate[bot] Jun 11, 2025
8571fac
Merge pull request #1447 from ral-facilities/renovate/cypress-13.x
louise-davies Jun 12, 2025
e2738f9
Update dependency eslint to v9.28.0
renovate[bot] Jun 12, 2025
0112ee1
Merge pull request #1448 from ral-facilities/renovate/eslint-monorepo
louise-davies Jun 12, 2025
b1f7fcf
Update dependency globals to v16.2.0
renovate[bot] Jun 13, 2025
cb05a58
Update dependency husky to v9.1.7
renovate[bot] Jun 13, 2025
b6c4653
Update dependency i18next-http-backend to v2.7.3
renovate[bot] Jun 14, 2025
49291dc
Update dependency jsdom to v24.1.3
renovate[bot] Jun 14, 2025
dee5151
Update dependency eslint-plugin-testing-library to v7.5.2
renovate[bot] Jun 14, 2025
275f15d
Merge pull request #1449 from ral-facilities/renovate/eslint-plugin-t…
louise-davies Jun 16, 2025
773611d
Merge pull request #1451 from ral-facilities/renovate/globals-16.x-lo…
louise-davies Jun 16, 2025
a27747b
Merge pull request #1452 from ral-facilities/renovate/husky-9.x
louise-davies Jun 16, 2025
663be4c
Merge pull request #1453 from ral-facilities/renovate/i18next-http-ba…
louise-davies Jun 16, 2025
5ceac4f
Merge pull request #1454 from ral-facilities/renovate/jsdom-24.x
louise-davies Jun 16, 2025
579849b
Update dependency eslint to v9.29.0
renovate[bot] Jun 17, 2025
ab0a415
Update dependency lint-staged to v15.5.2
renovate[bot] Jun 17, 2025
97b85f4
Merge pull request #1455 from ral-facilities/renovate/eslint-monorepo
louise-davies Jun 17, 2025
af0a57b
Merge pull request #1456 from ral-facilities/renovate/lint-staged-15.x
louise-davies Jun 17, 2025
16800fe
Migrate config renovate.json
renovate[bot] Jun 17, 2025
0e5825c
Merge pull request #1457 from ral-facilities/renovate/migrate-config
louise-davies Jun 17, 2025
830d086
Update dependency axios to v1.10.0
renovate[bot] Jun 17, 2025
a22cf60
Update dependency react-i18next to v14.1.3
renovate[bot] Jun 17, 2025
3e848f9
Update dependency typescript to v5.8.3
renovate[bot] Jun 18, 2025
44bafd9
Merge pull request #1458 from ral-facilities/renovate/axios-1.x
louise-davies Jun 18, 2025
ed30734
Merge pull request #1459 from ral-facilities/renovate/react-i18next-14.x
louise-davies Jun 18, 2025
d3c34a1
Update dependency react-joyride to v2.9.3
renovate[bot] Jun 18, 2025
27b1962
Merge pull request #1460 from ral-facilities/renovate/react-joyride-2.x
louise-davies Jun 18, 2025
62ee1cc
Merge pull request #1461 from ral-facilities/renovate/typescript-5.x
louise-davies Jun 18, 2025
8485813
Update dependency typescript-eslint to v8.34.0
renovate[bot] Jun 19, 2025
3fa2a35
Update docker/build-push-action action to v6.18.0
renovate[bot] Jun 19, 2025
ccd9e41
Merge pull request #1462 from ral-facilities/renovate/typescript-esli…
louise-davies Jun 19, 2025
d472b8e
Merge pull request #1463 from ral-facilities/renovate/docker-build-pu…
louise-davies Jun 19, 2025
9bf127d
Update docker/login-action action to v3.4.0
renovate[bot] Jun 20, 2025
aa756d2
Update emotion monorepo to v11.14.0
renovate[bot] Jun 20, 2025
ac88431
Merge pull request #1464 from ral-facilities/renovate/docker-login-ac…
louise-davies Jun 20, 2025
2467ac5
Merge pull request #1465 from ral-facilities/renovate/emotion-monorepo
louise-davies Jun 20, 2025
cb57c46
Update dependency eslint-plugin-prettier to v5.5.0
renovate[bot] Jun 20, 2025
4d4f546
Update Node.js to v20.19.2
renovate[bot] Jun 20, 2025
94665bf
Update softprops/action-gh-release action to v2.3.2
renovate[bot] Jun 21, 2025
4379e92
Update testing-library monorepo
renovate[bot] Jun 21, 2025
2f74b92
Merge pull request #1466 from ral-facilities/renovate/eslint-plugin-p…
louise-davies Jun 23, 2025
3c21934
Merge pull request #1467 from ral-facilities/renovate/node-20.x
louise-davies Jun 23, 2025
df78237
Update react monorepo
renovate[bot] Jun 23, 2025
d0be4ee
Update Yarn to v4.9.2
renovate[bot] Jun 24, 2025
72c56c8
Update codecov/codecov-action action to v5
renovate[bot] Jun 24, 2025
d9ea141
Merge pull request #1468 from ral-facilities/renovate/react-monorepo
louise-davies Jun 24, 2025
b7c58ac
Merge pull request #1472 from ral-facilities/renovate/codecov-codecov…
louise-davies Jun 24, 2025
73bb82f
Merge pull request #1471 from ral-facilities/renovate/yarn-monorepo
louise-davies Jun 24, 2025
f7f7738
Merge pull request #1470 from ral-facilities/renovate/testing-library…
louise-davies Jun 24, 2025
e4521cc
Merge pull request #1469 from ral-facilities/renovate/softprops-actio…
louise-davies Jun 25, 2025
d123eef
Update dependency concurrently to v9
renovate[bot] Jun 25, 2025
34fabfa
Update dependency cypress to v14
renovate[bot] Jun 25, 2025
84f1205
Update dependency @vitejs/plugin-react to v4.6.0
renovate[bot] Jun 26, 2025
e5eee9f
Update dependency prettier to v3.6.0
renovate[bot] Jun 26, 2025
e90c6f5
Merge pull request #1480 from ral-facilities/renovate/prettier-3.x
louise-davies Jun 26, 2025
133c8b7
Merge pull request #1477 from ral-facilities/renovate/concurrently-9.x
louise-davies Jun 26, 2025
ca502ed
Merge pull request #1478 from ral-facilities/renovate/cypress-14.x
louise-davies Jun 26, 2025
512ab42
Merge pull request #1479 from ral-facilities/renovate/vitejs-plugin-r…
louise-davies Jun 26, 2025
bb2b34f
Update dependency typescript-eslint to v8.35.0
renovate[bot] Jun 26, 2025
916054c
Update dependency i18next to v25
renovate[bot] Jun 27, 2025
87f8644
Merge pull request #1481 from ral-facilities/renovate/typescript-esli…
louise-davies Jun 27, 2025
887ff7c
Merge pull request #1484 from ral-facilities/renovate/i18next-25.x
louise-davies Jun 27, 2025
952af95
Update dependency i18next-browser-languagedetector to v8
renovate[bot] Jun 27, 2025
e98f80b
Add initial ICAT OIDC working code
louise-davies Jun 30, 2025
43a992a
Merge pull request #1485 from ral-facilities/renovate/i18next-browser…
louise-davies Jul 2, 2025
9d87191
Update dependency i18next-http-backend to v3
renovate[bot] Jul 2, 2025
45c8056
Update dependency eslint to v9.30.0
renovate[bot] Jul 3, 2025
48fa3b9
Merge pull request #1487 from ral-facilities/renovate/eslint-monorepo
louise-davies Jul 3, 2025
f3f01d1
#494 - refactor multiple authenticator code to be primarily located i…
louise-davies Jul 14, 2025
14eef4b
Add passwordAndOIDCAuthProvider (for OG) and extract a lot of common …
louise-davies Jul 16, 2025
5958536
#494 - fix some bugs with the OIDC login
louise-davies Jul 17, 2025
7ba0e97
#494 - add oidc endpoints to auth-server.js
louise-davies Jul 17, 2025
f444da4
Improve login page styling
louise-davies Jul 17, 2025
a37af2e
Add unit tests for OIDC login code
louise-davies Jul 18, 2025
73a2264
Bump form-data from 4.0.3 to 4.0.4
dependabot[bot] Jul 22, 2025
cd6cefe
Merge pull request #1489 from ral-facilities/dependabot/npm_and_yarn/…
louise-davies Jul 22, 2025
5abd97a
#494 - add e2e tests for OIDC code
louise-davies Jul 22, 2025
0d0e332
Merge branch 'develop' into feature/icat-oidc-auth-#494
louise-davies Jul 22, 2025
1bea7c2
Update dependency axios to v1.11.0 [SECURITY]
renovate[bot] Jul 23, 2025
b92311b
Merge pull request #1492 from ral-facilities/renovate/npm-axios-vulne…
louise-davies Jul 24, 2025
702ff42
Move packages from dependencies to devDependencies and remove unneede…
louise-davies Jul 24, 2025
f616484
Address PR comments
louise-davies Jul 24, 2025
7dae546
Remove unused option from Plugin interface
louise-davies Jul 24, 2025
9d615fa
Merge branch 'develop' into feature/icat-oidc-auth-#494
louise-davies Jul 24, 2025
3348258
Add full stop to error message to match other error messages
louise-davies Jul 24, 2025
6bc02c8
Merge pull request #1486 from ral-facilities/renovate/i18next-http-ba…
louise-davies Jul 25, 2025
2372ba2
Update richardsimko/update-tag digest to aab2434
renovate[bot] Jul 25, 2025
c2eeb56
Merge pull request #1493 from ral-facilities/renovate/richardsimko-up…
louise-davies Jul 28, 2025
b1f3566
Update dependency eslint to v9.32.0
renovate[bot] Aug 4, 2025
fe7566d
Merge pull request #1494 from ral-facilities/renovate/eslint-monorepo
louise-davies Aug 4, 2025
bd8a94f
Update dependency @vitejs/plugin-react to v4.7.0
renovate[bot] Aug 5, 2025
a69c286
Merge pull request #1495 from ral-facilities/renovate/vitejs-plugin-r…
louise-davies Aug 5, 2025
a77feca
Merge branch 'develop' into feature/icat-oidc-auth-#494
louise-davies Aug 5, 2025
efd7209
Update dependency eslint-plugin-testing-library to v7.6.3
renovate[bot] Aug 6, 2025
aaa022f
Merge pull request #1496 from ral-facilities/renovate/eslint-plugin-t…
louise-davies Aug 6, 2025
edab6b1
Add default messages to display when scheduled maintenance/maintenanc…
louise-davies Aug 6, 2025
4a40263
Add email and profile scopes to OIDC authorisation request
louise-davies Aug 6, 2025
7b344e0
Fix logout & re-login OIDC bug & fix if condition for non-multiple au…
louise-davies Aug 6, 2025
bb61391
Bump tmp from 0.2.3 to 0.2.4
dependabot[bot] Aug 6, 2025
2540bfa
Update dependency globals to v16.3.0
renovate[bot] Aug 7, 2025
5c223d2
Merge pull request #1497 from ral-facilities/dependabot/npm_and_yarn/…
louise-davies Aug 7, 2025
82a4bee
Merge pull request #1498 from ral-facilities/renovate/globals-16.x-lo…
louise-davies Aug 7, 2025
f7897f3
Update dependency typescript to v5.9.2
renovate[bot] Aug 8, 2025
d980123
Update dependency i18next to v25.3.2
renovate[bot] Aug 10, 2025
01a04a1
Merge pull request #1499 from ral-facilities/renovate/typescript-5.x
louise-davies Aug 11, 2025
86a209d
Merge pull request #1488 from ral-facilities/renovate/i18next-25.x
louise-davies Aug 11, 2025
e628759
Update actions/checkout action to v4.3.0
renovate[bot] Aug 12, 2025
9ab953a
Update dependency eslint to v9.33.0
renovate[bot] Aug 12, 2025
cc94c89
Merge pull request #1500 from ral-facilities/renovate/actions-checkou…
louise-davies Aug 12, 2025
e34dfcc
Merge pull request #1501 from ral-facilities/renovate/eslint-monorepo
louise-davies Aug 12, 2025
17e0842
Update actions/checkout digest to 08eba0b
renovate[bot] Aug 13, 2025
0a62bd4
Update dependency typescript-eslint to v8.39.0
renovate[bot] Aug 13, 2025
abe296b
Merge pull request #1502 from ral-facilities/renovate/actions-checkou…
louise-davies Aug 13, 2025
b708359
Merge pull request #1503 from ral-facilities/renovate/typescript-esli…
louise-davies Aug 13, 2025
ae2a49e
Update docker/login-action action to v3.5.0
renovate[bot] Aug 13, 2025
93c80de
Update docker/metadata-action action to v5.8.0
renovate[bot] Aug 13, 2025
14a052e
Merge pull request #1504 from ral-facilities/renovate/docker-login-ac…
louise-davies Aug 15, 2025
3b1018a
Merge pull request #1505 from ral-facilities/renovate/docker-metadata…
louise-davies Aug 15, 2025
7f19972
Update actions/checkout action to v5
renovate[bot] Aug 16, 2025
23e4d38
Update dependency @vitejs/plugin-react to v5
renovate[bot] Aug 16, 2025
16c0aa7
Merge pull request #1506 from ral-facilities/renovate/actions-checkou…
louise-davies Aug 18, 2025
aa946b0
Merge pull request #1507 from ral-facilities/renovate/vitejs-plugin-r…
louise-davies Aug 18, 2025
9fa94ab
Update dependency @testing-library/jest-dom to v6.7.0
renovate[bot] Aug 19, 2025
4ae25af
Update dependency cross-env to v10
renovate[bot] Aug 19, 2025
6041eea
Merge pull request #1508 from ral-facilities/renovate/testing-library…
louise-davies Aug 19, 2025
3b505d9
Merge pull request #1509 from ral-facilities/renovate/cross-env-10.x
louise-davies Aug 19, 2025
721919a
Update dependency lint-staged to v16
renovate[bot] Aug 19, 2025
6eccaee
Merge pull request #1511 from ral-facilities/renovate/lint-staged-16.x
louise-davies Aug 21, 2025
ee0c2d3
Update codecov/codecov-action digest to fdcc847
renovate[bot] Aug 22, 2025
a17b402
Merge pull request #1512 from ral-facilities/renovate/codecov-codecov…
louise-davies Aug 22, 2025
2af1af2
Update dependency typescript-eslint to v8.41.0
renovate[bot] Aug 31, 2025
e9b22f3
Merge pull request #1513 from ral-facilities/renovate/typescript-esli…
louise-davies Sep 1, 2025
6967c4d
Update dependency @testing-library/jest-dom to v6.8.0
renovate[bot] Sep 2, 2025
58782b9
Merge pull request #1514 from ral-facilities/renovate/testing-library…
louise-davies Sep 2, 2025
8276af8
Merge branch 'develop' into feature/icat-oidc-auth-#494
louise-davies Sep 2, 2025
2096e9f
Update dependency eslint to v9.34.0
renovate[bot] Sep 3, 2025
4c115b3
Merge pull request #1515 from ral-facilities/renovate/eslint-monorepo
louise-davies Sep 3, 2025
3d40eeb
Update dependency i18next to v25.4.2
renovate[bot] Sep 4, 2025
5c1473c
Merge pull request #1516 from ral-facilities/renovate/i18next-25.x
louise-davies Sep 4, 2025
735e9f9
Update dependency axios to v1.12.0 [SECURITY]
renovate[bot] Sep 13, 2025
afa7d4a
Merge pull request #1520 from ral-facilities/renovate/npm-axios-vulne…
louise-davies Sep 15, 2025
0d6c526
Bump vite from 5.4.19 to 5.4.20
dependabot[bot] Sep 15, 2025
8f57f76
Dedupe dependabot update
louise-davies Sep 15, 2025
5288b35
Merge pull request #1518 from ral-facilities/dependabot/npm_and_yarn/…
louise-davies Sep 15, 2025
65aa77c
Add support for non-PKCE workflows
louise-davies Sep 18, 2025
552ee3f
Improve OIDC security by using state and nonce variables & fix referr…
louise-davies Sep 19, 2025
1860d1e
Fix/add unit tests due to OIDC changes
louise-davies Sep 19, 2025
178826d
Update e2e tests to test OIDC non-pkce workflow
louise-davies Sep 19, 2025
2f804cb
Remove setTimeout workaround for invalid "future" iat issue
louise-davies Sep 22, 2025
e439346
Update codecov/codecov-action digest to 5a10915
renovate[bot] Sep 25, 2025
3d7218d
Update dependency browserslist to v4.26.2
renovate[bot] Sep 25, 2025
837d54e
Merge pull request #1490 from ral-facilities/feature/icat-oidc-auth-#494
louise-davies Sep 26, 2025
f2a5af4
Merge pull request #1517 from ral-facilities/renovate/codecov-codecov…
louise-davies Oct 1, 2025
8a24a3d
Merge pull request #1521 from ral-facilities/renovate/browserslist-4.x
louise-davies Oct 1, 2025
7575fd0
Update dependency eslint to v9.36.0
renovate[bot] Oct 2, 2025
30110ea
Update dependency eslint-plugin-testing-library to v7.10.0
renovate[bot] Oct 2, 2025
ca1e9e3
Merge pull request #1522 from ral-facilities/renovate/eslint-monorepo
louise-davies Oct 2, 2025
9dd83df
Merge pull request #1523 from ral-facilities/renovate/eslint-plugin-t…
louise-davies Oct 2, 2025
3c255a9
Update dependency cross-env to v10.1.0
renovate[bot] Oct 2, 2025
0bbe882
Update dependency eslint-plugin-testing-library to v7.11.0
renovate[bot] Oct 2, 2025
758c18a
Merge pull request #1524 from ral-facilities/renovate/cross-env-10.x
louise-davies Oct 3, 2025
d4241bc
Merge pull request #1525 from ral-facilities/renovate/eslint-plugin-t…
louise-davies Oct 3, 2025
a2f3c31
Update dependency globals to v16.4.0
renovate[bot] Oct 4, 2025
79748d7
Update dependency @testing-library/jest-dom to v6.9.1
renovate[bot] Oct 4, 2025
47002fb
Merge pull request #1527 from ral-facilities/renovate/globals-16.x-lo…
louise-davies Oct 6, 2025
10d06e1
Update dependency eslint to v9.37.0
renovate[bot] Oct 7, 2025
b9b9597
Merge pull request #1526 from ral-facilities/renovate/testing-library…
louise-davies Oct 7, 2025
c4e144e
Merge pull request #1528 from ral-facilities/renovate/eslint-monorepo
louise-davies Oct 7, 2025
acea4ba
Update version numbers and changelog for v4.0.0
louise-davies Oct 8, 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
59 changes: 0 additions & 59 deletions .eslintrc.js

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn --immutable
- name: Run linting
run: yarn lint:js
run: yarn lint
- name: Run unit tests
run: yarn test
- name: Upload unit test coverage
if: success()
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
Expand All @@ -41,23 +41,23 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Login to Harbor
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ secrets.HARBOR_URL }}
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_TOKEN }}

- name: Extract metadata (tags, labels, annotations) for Docker
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with:
images: ${{ secrets.HARBOR_URL }}/scigateway

- name: Build Docker image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
push: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Login to Harbor
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ secrets.HARBOR_URL }}
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
with:
images: ${{ secrets.HARBOR_URL }}/scigateway
tags: |
Expand All @@ -30,7 +30,7 @@ jobs:
type=ref,event=tag,pattern={{ref}}

- name: Build and push Docker image to Harbor
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
file: ./Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20
cache: 'yarn'
Expand All @@ -42,19 +42,19 @@ jobs:

- name: Create tarball
run: |
mv build scigateway-$TAG_NAME
mv dist scigateway-$TAG_NAME
tar -czf scigateway-$TAG_NAME.tar.gz scigateway-$TAG_NAME

- name: Update snapshot tag
uses: richardsimko/update-tag@e173a8ef8f54ab526a91dad6139a25efed62424c # v1
uses: richardsimko/update-tag@aab2434e9a5040687874aa39d1c6377ec0cb0d94 # v1
with:
tag_name: ${{ env.TAG_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' }}

- name: Create/update release
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: ./scigateway-${{ env.TAG_NAME }}.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/coverage

# production
/build
dist

# misc
.DS_Store
Expand Down
8 changes: 0 additions & 8 deletions .husky/common.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn lint-staged
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.1.0.cjs

This file was deleted.

942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.9.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.9.2.cjs
102 changes: 102 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,114 @@
# Changelog

## [v4.0.0](https://github.com/ral-facilities/scigateway/tree/v4.0.0) (2025-10-08)

## What's Changed

### Features

* Merge main to develop after v3.0.1 release by @joelvdavies in https://github.com/ral-facilities/scigateway/pull/1435
* Update the JWTAuthProvider #1423 by @joshdimanteto in https://github.com/ral-facilities/scigateway/pull/1436
* Allow for authenticated homepage #1440 & hide nav drawer if it's empty by @louise-davies in https://github.com/ral-facilities/scigateway/pull/1442
* Add OIDC support #494 by @louise-davies in https://github.com/ral-facilities/scigateway/pull/1490

### Dependencies

* Migrate from CRA to Vite #1379 by @joelvdavies in https://github.com/ral-facilities/scigateway/pull/1380
* Upgrade to Eslint v9 #1438 by @joelvdavies in https://github.com/ral-facilities/scigateway/pull/1439
* Update actions/checkout digest to 11bd719 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1392
* Update actions/setup-node digest to 49933ea by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1367
* Update codecov/codecov-action digest to b9fd7d1 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1369
* Update docker/metadata-action action to v5.7.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1373
* Update dependency browserslist to v4.25.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1446
* Update dependency axios to v1.9.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1445
* Update dependency prettier to v3.5.3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1394
* Update dependency @vitejs/plugin-react to v4.5.1 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1444
* Update dependency i18next to v23.16.8 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1370
* Update dependency @types/redux-mock-store to v1.5.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1443
* Update dependency cypress to v13.17.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1447
* Update dependency eslint to v9.28.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1448
* Update dependency eslint-plugin-testing-library to v7.5.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1449
* Update dependency globals to v16.2.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1451
* Update dependency husky to v9.1.7 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1452
* Update dependency i18next-http-backend to v2.7.3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1453
* Update dependency jsdom to v24.1.3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1454
* Update dependency eslint to v9.29.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1455
* Update dependency lint-staged to v15.5.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1456
* Migrate renovate config by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1457
* Update dependency axios to v1.10.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1458
* Update dependency react-i18next to v14.1.3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1459
* Update dependency react-joyride to v2.9.3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1460
* Update dependency typescript to v5.8.3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1461
* Update dependency typescript-eslint to v8.34.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1462
* Update docker/build-push-action action to v6.18.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1463
* Update docker/login-action action to v3.4.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1464
* Update emotion monorepo to v11.14.0 (minor) by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1465
* Update dependency eslint-plugin-prettier to v5.5.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1466
* Update Node.js to v20.19.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1467
* Update react monorepo (minor) by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1468
* Update codecov/codecov-action action to v5 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1472
* Update Yarn to v4.9.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1471
* Update testing-library monorepo (minor) by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1470
* Update softprops/action-gh-release action to v2.3.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1469
* Update dependency prettier to v3.6.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1480
* Update dependency concurrently to v9 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1477
* Update dependency cypress to v14 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1478
* Update dependency @vitejs/plugin-react to v4.6.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1479
* Update dependency typescript-eslint to v8.35.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1481
* Update dependency i18next to v25 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1484
* Update dependency i18next-browser-languagedetector to v8 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1485
* Update dependency eslint to v9.30.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1487
* Bump form-data from 4.0.3 to 4.0.4 by @dependabot[bot] in https://github.com/ral-facilities/scigateway/pull/1489
* Update dependency axios to v1.11.0 [SECURITY] by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1492
* Update dependency i18next-http-backend to v3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1486
* Update richardsimko/update-tag digest to aab2434 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1493
* Update dependency eslint to v9.32.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1494
* Update dependency @vitejs/plugin-react to v4.7.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1495
* Update dependency eslint-plugin-testing-library to v7.6.3 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1496
* Bump tmp from 0.2.3 to 0.2.4 by @dependabot[bot] in https://github.com/ral-facilities/scigateway/pull/1497
* Update dependency globals to v16.3.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1498
* Update dependency typescript to v5.9.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1499
* Update dependency i18next to v25.3.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1488
* Update actions/checkout action to v4.3.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1500
* Update dependency eslint to v9.33.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1501
* Update actions/checkout digest to 08eba0b by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1502
* Update dependency typescript-eslint to v8.39.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1503
* Update docker/login-action action to v3.5.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1504
* Update docker/metadata-action action to v5.8.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1505
* Update actions/checkout action to v5 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1506
* Update dependency @vitejs/plugin-react to v5 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1507
* Update dependency @testing-library/jest-dom to v6.7.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1508
* Update dependency cross-env to v10 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1509
* Update dependency lint-staged to v16 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1511
* Update codecov/codecov-action digest to fdcc847 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1512
* Update dependency typescript-eslint to v8.41.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1513
* Update dependency @testing-library/jest-dom to v6.8.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1514
* Update dependency eslint to v9.34.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1515
* Update dependency i18next to v25.4.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1516
* Update dependency axios to v1.12.0 [SECURITY] by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1520
* Bump vite from 5.4.19 to 5.4.20 by @dependabot[bot] in https://github.com/ral-facilities/scigateway/pull/1518
* Update codecov/codecov-action digest to 5a10915 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1517
* Update dependency browserslist to v4.26.2 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1521
* Update dependency eslint to v9.36.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1522
* Update dependency eslint-plugin-testing-library to v7.10.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1523
* Update dependency cross-env to v10.1.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1524
* Update dependency eslint-plugin-testing-library to v7.11.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1525
* Update dependency globals to v16.4.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1527
* Update dependency @testing-library/jest-dom to v6.9.1 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1526
* Update dependency eslint to v9.37.0 by @renovate[bot] in https://github.com/ral-facilities/scigateway/pull/1528

**Full Changelog**: https://github.com/ral-facilities/scigateway/compare/v3.0.1...snapshot-develop

## [v3.0.1](https://github.com/ral-facilities/scigateway/tree/v3.0.1) (2025-03-14)

## What's Changed

### Features

* Remove libgconf install step on CI jobs by @louise-davies in https://github.com/ral-facilities/scigateway/pull/1426

### Dependencies

* Bump nanoid from 3.3.4 to 3.3.8 by @dependabot in https://github.com/ral-facilities/scigateway/pull/1425
* Update dependency ubuntu to v24 by @renovate in https://github.com/ral-facilities/scigateway/pull/1427
* Update dependency axios to v1.8.2 [SECURITY] by @renovate in https://github.com/ral-facilities/scigateway/pull/1429
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Dockerfile to build and serve scigateway

# Build stage
FROM node:20.18.3-alpine3.21@sha256:053c1d99e608fe9fa0db6821edd84276277c0a663cd181f4a3e59ee20f5f07ea as builder
FROM node:20.19.2-alpine3.21@sha256:be56e91681a8ec1bba91e3006039bd228dc797fd984794a3efedab325b36e679 as builder

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / Docker

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

WORKDIR /scigateway-build

Expand Down Expand Up @@ -29,7 +29,7 @@
WORKDIR /usr/local/apache2/htdocs

# Put the output of the build into an apache server
COPY --from=builder /scigateway-build/build/. .
COPY --from=builder /scigateway-build/dist/. .

RUN set -eux; \
\
Expand Down Expand Up @@ -68,8 +68,8 @@
# Switch to non-root user defined in httpd image
USER www-data

ENV AUTH_PROVIDER="icat"

Check warning on line 71 in Dockerfile

View workflow job for this annotation

GitHub Actions / Docker

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "AUTH_PROVIDER") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV AUTH_URL="/api"

Check warning on line 72 in Dockerfile

View workflow job for this annotation

GitHub Actions / Docker

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "AUTH_URL") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

COPY docker/docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
Expand Down
Loading