Commit Graph

125 Commits

Author SHA1 Message Date
Alan Orth
d0ff025904 .github/workflows/codescan.yml: use codeql-action v3
Version 2 was deprecated in January, 2024 after the release of v3.

See: https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
(cherry picked from commit 3333ee4fbb)
2025-08-20 21:10:58 +00:00
Alan Orth
b2d13d5eb2 Fix references to DSDOC8x
The latest release is DSDOC9x.

(cherry picked from commit a877cbe284)
2025-08-20 18:39:07 +00:00
Andrea Barbasso
87e4a33621 Merge branch 'main' into task/main/DURACOM-309_from-community-main
# Conflicts:
#	src/app/footer/footer.component.ts
2025-05-15 12:17:27 +02:00
Andrea Barbasso
887bf0d266 [DURACOM-309] fix circular dependency 2025-05-14 17:43:12 +02:00
Andrea Barbasso
f1a1aebe33 [DURACOM-309] improve e2e pipeline, fix cookie issues 2025-05-14 17:12:13 +02:00
Tim Donohue
80c38f0c3d Add basic tests to our build to verify correct HTTP return codes for 301, 403, 404 and 500. 2025-05-12 16:46:48 -05:00
Andrea Barbasso
c0a5420e8b [DURACOM-309] add prod-e2e build script and use it for e2e tests 2025-05-08 12:20:10 +02:00
Tim Donohue
42c52d619b Add additional automated SSR tests for Community, Collection, Publication/Item, Person, OrgUnit and all Journal entities 2025-04-14 14:37:49 -05:00
Tim Donohue
dab6b1c12e Login to GHCR in order to have access to private Docker images for e2e tests. 2024-12-16 15:09:13 -06:00
Tim Donohue
bad57def74 Update GitHub Actions for Docker & normal build to use GitHub Container Registry 2024-12-16 14:15:52 -06:00
Tim Donohue
497f4fd8d4 Ensure "axe-*" is a member of the "testing" group, as it's only used for e2e tests 2024-10-25 12:57:26 -05:00
Tim Donohue
ea8f24d410 Fix bug where all security-updates need unique IDs 2024-10-23 11:33:28 -05:00
Tim Donohue
92ee89e8e5 Fix bug in dependabot.yml "security-updates" settings
"security-updates" configs can only be in sections where there is no "target-branch". This is because they only apply to the primary branch.
2024-10-23 11:31:16 -05:00
Tim Donohue
b7c4c737c1 Update dependabot.yml 2024-10-22 16:29:48 -05:00
Tim Donohue
ce1dc46857 Update dependabot.yml
Remove @types grouping because Dependabot already groups types with related dependencies.
2024-10-21 14:02:56 -05:00
Tim Donohue
f750259c50 Update dependabot.yml with new groups for eslint, testing, postcss, sass, webpack 2024-10-18 15:09:55 -05:00
Tim Donohue
77c245ae53 Ensure @typescript-eslint dependency updates are grouped by dependabot 2024-10-15 16:44:50 -05:00
Tim Donohue
2cf3682473 Enable dependabot on 7.x and 8.x maintenance branches. 2024-10-14 15:52:50 -05:00
Tim Donohue
0d36bcec2e Fix yaml alignment 2024-10-14 12:22:53 -05:00
Tim Donohue
f9fa586060 Create dependabot.yml
Add configs for version dependency updates
2024-10-14 12:08:33 -05:00
Alan Orth
d11e4170fd .github/pull_request_template.md: use npm
Use npm instead of yarn.
2024-09-05 14:56:24 +03:00
Alan Orth
da1789aece .github/workflows/build.yml: use npm
Use npm instead of yarn in GitHub Actions.
2024-09-05 14:56:19 +03:00
Tim Donohue
941dbe2871 Merge pull request #3172 from pastr/minor-fr-i18n-fix
Minor fix in french translation file
2024-07-17 10:22:59 -05:00
Tim Donohue
f195484674 Update pull_request_template.md
Add note that PRs should be against main, if possible.
2024-07-11 14:57:25 -05:00
Emmanuel Pastor
eec1071f06 Rephrase one instruction sentence to make it clearer 2024-07-07 16:05:44 +02:00
Tim Donohue
9277908f77 Minor updates to issue templates. Instead of bold text, use headers to make sections more readable. 2024-06-27 14:37:04 -05:00
Tim Donohue
9a5cbba888 Minor updates to contribution checklist / PR template. Add requirement that PRs need details on how to test them. Add requirement for accessibility & i18n. 2024-06-27 14:36:15 -05:00
Yury Bondarenko
2e9acc3885 Merge remote-tracking branch 'origin/main' into poc-eslint-plugin-autofix-selectors 2024-04-17 14:40:45 +02:00
Tim Donohue
10db33bcea Docker build IDs must all be unique to avoid image conflicts. Ensure no builds use a generic name like "dspace-angular". 2024-04-09 14:52:27 -05:00
Tim Donohue
54f1ce4b78 Ensure all artifacts have a unique name by appending Node version to each 2024-04-08 11:14:30 -05:00
Tim Donohue
2e92ee752d Update all GitHub Actions. Add newly required CODECOV_TOKEN to codecov action 2024-04-08 10:22:04 -05:00
Yury Bondarenko
ac48a49273 Merge remote-tracking branch 'origin/main' into poc-eslint-plugin-autofix-selectors 2024-04-04 18:15:28 +02:00
Giuseppe Digilio
32f1d1096a Merge branch 'main' into DURACOM-234
# Conflicts:
#	src/app/core/data/request.service.ts
#	src/modules/app/browser-app.config.ts
#	src/modules/app/server-app.config.ts
2024-04-04 09:32:38 +02:00
Tim Donohue
bbab56a7da Update build script to use "docker compose" instead of "docker-compose". Fixes random failures starting e2e test backend via Docker 2024-04-03 14:00:42 -05:00
Giuseppe Digilio
e0855a46cc [DURACOM-234] Remove unsupported node 16 2024-03-21 17:29:52 +01:00
Yury Bondarenko
3937be13f2 Custom ESLint rules to enforce new ThemedComponent selector convention
The following cases are covered:
- ThemedComponent wrapper selectors must not start with ds-themed-
- Base component selectors must start with ds-base-
- Themed component selectors must start with ds-themed-
- The ThemedComponent wrapper must always be used in HTML
- The ThemedComponent wrapper must be used in TypeScript _where appropriate_:
  - Required
    - Explicit usages (e.g. modal instantiation, routing modules, ...)
    - By.css selector queries (in order to align with the HTML rule)
  - Unchecked
    - Non-routing modules (to ensure the components can be declared)
    - ViewChild hooks (since they need to attach to the underlying component)

All rules work with --fix to automatically migrate to the new convention
This covers most of the codebase, but minor manual adjustment are needed afterwards
2024-03-21 10:11:04 +01:00
Tim Donohue
9043f63cd2 Bug fix to GitHub CI build. Set compose project name via env variable. Also add default name if unspecified 2024-02-05 08:50:43 -06:00
Tim Donohue
b30fd4bb0b Remove unused env variables 2023-11-28 16:50:55 -06:00
Tim Donohue
fce5cdcc72 Refactor to simply use the reusable-docker-build.yml from DSpace/DSpace. 2023-11-28 16:11:09 -06:00
Tim Donohue
ff677a83d6 Redeploy demo/sandbox more quickly by only waiting for AMD64 image 2023-11-22 10:51:28 -06:00
Tim Donohue
4f340d8870 Merge pull request #2649 from tdonohue/update_gh_actions
GitHub Actions Updates: Redeploy Sandbox via Docker & Fix retry of Codecov upload
2023-11-21 13:41:40 -06:00
Tim Donohue
fd645452a5 Trigger redeploy of demo/sandbox from GitHub Actions after DockerHub image updated. 2023-11-21 12:15:42 -06:00
Tim Donohue
c99fe3a6c1 Fix directory structure for -dist digests 2023-11-17 11:56:48 -06:00
Tim Donohue
9f12ca3265 Update GH actions to latest versions. Fix bug in codecov to ensure it retries on error. 2023-11-17 11:05:46 -06:00
Tim Donohue
41eba0dc2f Fix bug in Docker manifest. Each build must use a separate artifact to store digests. Other minor cleanup & comments added. 2023-11-17 09:31:09 -06:00
Thomas Misilo
394dc67747 Setup the Docker GH Action for Matrix Building
This change enables building of the amd64 and arm64 images simultaneously.

Once both images finish, the manifest is sent to Docker Hub, allowing for a single image that has both the amd64/arm64 images.
2023-11-16 11:36:06 -06:00
Tim Donohue
596006de82 Enable new skip merge commit feature 2023-08-23 17:05:42 -05:00
Tim Donohue
765b5c8531 Revert "Enable early release of backport-action to test korthout/backport-action#372" 2023-08-08 15:35:17 -05:00
Tim Donohue
419868bd8d Enable early release of backport-action to test korthout/backport-action#372 2023-08-08 14:44:01 -05:00
Tim Donohue
d75d12b423 Minor update to label_merge_conflicts to ignore any errors (seem random at this time) 2023-07-28 14:11:08 -05:00