Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Prod Release into Master #1661

Open
wants to merge 102 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
66cbf38
feat(cb2-11930): ensure certificate number is sent to backend if it e…
pbardy2000 May 2, 2024
59655f3
feat(cb2-12056): test codes moved (#1486)
tomevs88 May 3, 2024
df1c0ae
feat(RELEASE-123): merge holding branch back into develop (#1490)
BrandonT95 May 8, 2024
b15764f
fix(cb2-11908): Change labels of examiner notes (#1491)
pbardy2000 May 9, 2024
36963fb
fix(cb2-12009): default psv body model to null if its an empty string…
pbardy2000 May 24, 2024
521eb01
feat(cb2-12304): add id (#1494)
tomcrawleyy May 24, 2024
449c449
fix(cb2-12599): ensure additional examiner notes appear in the correc…
pbardy2000 Jun 20, 2024
b7edfdc
feat/cb2 12722-2 - Use new google tag manager npm plugin (#1502)
tomcrawleyy Jun 21, 2024
501f10e
feat(cb2-12600): add form control to specialist contingency test (#1…
pbardy2000 Jun 24, 2024
96736f5
Feat/cb2 12600 (#1503)
pbardy2000 Jun 26, 2024
e144fba
Feat/cb2 12600 (#1504)
pbardy2000 Jun 26, 2024
e339cda
chore(dependency-1): remove cypress config and dependencies (#1507)
matthew2564 Jul 12, 2024
b57b56a
chore(husky-1): update command to remove deprecation warning (#1509)
matthew2564 Jul 12, 2024
688c526
fix(cb2-12972): allow users to submit cancelled iva tests (#1517)
BrandonT95 Jul 19, 2024
340bdd9
fix(cb2-12006): prevent error message duplication (#1492)
pbardy2000 Jul 19, 2024
89691a4
chore(storybook-1): removal of storybook dependencies and commands (#…
matthew2564 Jul 19, 2024
1b55ad4
chore(cypress-1): further removal of cypress and any config related (…
matthew2564 Jul 19, 2024
c54e0fa
Update deploy-prod.yml (#1520)
JoshCarter-ops Jul 24, 2024
e5d5615
feat(cb2-13176): VTM - Add guidance for handling documents issued cen…
pbardy2000 Jul 26, 2024
aafbbb2
feat(cb2-13299): VTM - Pass and issue Documents Centrally for a Notif…
pbardy2000 Jul 26, 2024
70c3984
Revert "feat(cb2-13299): VTM - Pass and issue Documents Centrally for…
tomcrawleyy Jul 29, 2024
6bfbc2d
Revert "feat(cb2-13176): VTM - Add guidance for handling documents is…
tomcrawleyy Jul 29, 2024
466b955
chore(version-bump): bump version (#1526)
BrandonT95 Jul 31, 2024
a3567d5
chore(version-bump): bump package lock (#1527)
BrandonT95 Jul 31, 2024
8d5d29f
Revert "Revert "feat(cb2-13176): VTM - Add guidance for handling docu…
BrandonT95 Aug 1, 2024
fc17a4e
Revert "Revert "feat(cb2-13299): VTM - Pass and issue Documents Centr…
BrandonT95 Aug 1, 2024
2883f15
feat(13396):lec removed (#1529)
tomevs88 Aug 1, 2024
e07514f
feat(cb2-13176): only show hint text for pass/prs results (#1531)
pbardy2000 Aug 6, 2024
ab634e7
fix(cb2-13506): use correct notes section on amending ADR tests (#1533)
pbardy2000 Aug 8, 2024
e78d142
feat(cb2-13455): VTM - Pass and issue Documents Centrally (additional…
pbardy2000 Aug 8, 2024
07e29c8
fix: upgrade @sentry/angular-ivy from 7.103.0 to 7.118.0 (#1512)
cvs-ops Aug 12, 2024
133dcf3
fix: upgrade @sentry/types from 7.103.0 to 7.118.0 (#1532)
cvs-ops Aug 12, 2024
55adaba
fix: upgrade @sentry/cli from 2.28.6 to 2.32.1 (#1515)
cvs-ops Aug 13, 2024
10b7055
fix: upgrade @azure/msal-angular from 3.0.13 to 3.0.20 (#1516)
cvs-ops Aug 13, 2024
f7c58f9
fix(cb2-13164): add issue docs centrally to TIR test types (#1543)
pbardy2000 Aug 14, 2024
4dece6f
refactor(gha-1): decouple sonar from pr checks (#1547)
matthew2564 Aug 14, 2024
bdec2d8
feat(linting): biome intro (#1544)
matthew2564 Aug 14, 2024
099c38c
chore(testing-1): exclude non functional files from jest path/coverag…
matthew2564 Aug 14, 2024
98d3baf
chore(nodeupgrade-1): node upgrade (#1536)
tomcrawleyy Aug 14, 2024
3a8a4a2
[Snyk] Upgrade @sentry/cli from 2.28.6 to 2.32.2 (#1541)
cvs-ops Aug 14, 2024
f719aff
chore(dep-1): angular 18 upgrade (#1553)
matthew2564 Aug 22, 2024
6507b00
fix(cb2-13684): prevent lost of tech record status when filtering tes…
pbardy2000 Aug 23, 2024
b8ab7fd
fix(cb2-13615): ensure we're not showing child if parent is also hidd…
pbardy2000 Aug 23, 2024
d7375c5
fix(cb2-13455): ensure certificate number is present (#1559)
pbardy2000 Aug 23, 2024
0800a50
chore(gha-1): update action versions for deploy flow (#1562)
matthew2564 Aug 27, 2024
12bcd49
fix(gha-1): update artifact path (#1564)
matthew2564 Aug 27, 2024
2afb799
feat(cb2-13234): Add guidance notes links within VTM (#1566)
BrandonT95 Aug 30, 2024
c0535c0
feat(cb2-8973): Add test codes to test names (#1534)
pbardy2000 Aug 30, 2024
043e77f
feat(cb2-13762): VTM - Pass and issue Documents Centrally (Additional…
pbardy2000 Sep 2, 2024
b04b1d1
fix(cb2-13234): reword text for link (#1569)
BrandonT95 Sep 2, 2024
87e85cb
feat(cb2-10711): First Test and First Test Retest must always be avai…
pbardy2000 Sep 2, 2024
24bd169
feat(cb2-13762): add test codes to test names (#1568)
pbardy2000 Sep 2, 2024
2579d48
fix(cb2-8973): use correct vehicle class (#1572)
pbardy2000 Sep 4, 2024
f839808
feat/cb2-13727 - Folder structure refactor (#1573)
tomcrawleyy Sep 6, 2024
1b16004
feat/cb2-13727-2 - Folder structure refactor part 2 (#1575)
tomcrawleyy Sep 9, 2024
ed49e1c
tech(cb2-13729): combine http services (#1574)
pbardy2000 Sep 9, 2024
9f4c2e4
fix(cb2-13835): handle undefined roles (#1576)
pbardy2000 Sep 9, 2024
3dbf906
fix(cb2-13837): handle fetching a specific trailer make which is miss…
pbardy2000 Sep 9, 2024
d492d39
fix(cb2-13830): fix NG0600 (#1579)
pbardy2000 Sep 9, 2024
fb70dde
fix(cb2-13838): fix sentry errors when refreshing ref data admin (#1578)
pbardy2000 Sep 10, 2024
9662823
fix(cb2-13941): handle when current axles is falsy (#1580)
pbardy2000 Sep 10, 2024
09a1182
fix(cb2-13940): check type of value before using it (#1581)
pbardy2000 Sep 11, 2024
0126072
feat(cb2-13794): Fix memo text (#1582)
tomcrawleyy Sep 12, 2024
c8729cc
fix(cb2-13119): fix editing additional examiner notes (#1583)
pbardy2000 Sep 13, 2024
d35ffd4
chore(cb2-1): bump biome config (#1586)
matthew2564 Sep 13, 2024
d86db95
feat(cb2-13667): capitalise cert numbers for iva/msva (#1590)
BrandonT95 Sep 13, 2024
b79ff7f
fix(cb2-13791): workaround data migration (#1591)
pbardy2000 Sep 16, 2024
c966485
fix(cb2-14000): handle response type text correctly (#1592)
pbardy2000 Sep 16, 2024
1054e1a
feat(cb2-13813): enable issue docs centrally for test type 67 (#1584)
pbardy2000 Sep 18, 2024
de72767
feat(cb2-11687): Hide Explosive Type 2 and 3 from Permitted Dangerous…
tomcrawleyy Sep 18, 2024
2a68cf9
feat(cb2-13814): remove 199 from central docs list (#1594)
pbardy2000 Sep 18, 2024
7598889
fix(cb2-11687): Fix empty adr details causing filter to break (#1595)
tomcrawleyy Sep 19, 2024
e58ef3e
chore(cb2-0000): run linter and fix on commit (#1596)
BrandonT95 Sep 24, 2024
5f71ce9
chore(cb2-0000): update packages (#1597)
pbardy2000 Sep 24, 2024
4c6eca6
fix(cb2-14238): ensure first test name is displayed even if record is…
pbardy2000 Oct 4, 2024
a8f68c9
feat(cb2-12988): update favicon (#1607)
pbardy2000 Oct 8, 2024
37bddf4
feat(cb2-11402): change display type (#1495)
pbardy2000 Oct 8, 2024
e57b3a6
Chore/update angular packages (#1608)
pbardy2000 Oct 8, 2024
ed0458c
feat(cb2-11336): allow apostrophes in email addresses (#1610)
pbardy2000 Oct 10, 2024
3d8a0d0
feat(cb2-12179): only allow adr tests on adr vehicles carrying danger…
pbardy2000 Oct 10, 2024
3541e59
feat(cb2-13331): add smoke test k limit validation for decimals (#1620)
BrandonT95 Oct 10, 2024
9f9ffa7
fix(cb2-14415): allow proper clearing of ADR details (#1619)
pbardy2000 Oct 10, 2024
cfa0937
fix(cb2-13831): retry on status of 0 (#1622)
pbardy2000 Oct 14, 2024
b30c70e
fix(cb2-14662): prevent non decimal characters (#1623)
pbardy2000 Oct 15, 2024
d5a2e9a
feat(cb2-0000): resolve missing id for pack (#1624)
tomcrawleyy Oct 18, 2024
5860fe4
fix(cb2-14242): do not default value of battery list applicable (#1625)
pbardy2000 Oct 18, 2024
78557b6
chore(cb2-0000): upgrade packages (#1627)
pbardy2000 Oct 29, 2024
bb3528e
feature/CB2-11802 - Add body declaration type field to VTM ADR sectio…
tomcrawleyy Oct 29, 2024
68d0816
chore: relax rules to not have to provide ticket number in scope (#1605)
matthew2564 Oct 29, 2024
50bf320
feat(cb2-14943): remove validator which makes field required (#1628)
tomcrawleyy Nov 1, 2024
02fda73
fix(cb2-14944): show body declaration under specific conditions (#1629)
pbardy2000 Nov 1, 2024
bbda541
fix(CB2-14953) (#1630)
pbardy2000 Nov 4, 2024
b22690c
feat(cb2-9597): add manufacture month for TRLs (#1634)
pbardy2000 Nov 7, 2024
9111461
fix(cb2-12719): actually dispatch action (#1498)
pbardy2000 Nov 7, 2024
ba382a8
feat(cb2-14690): version number (#1636)
tomevs88 Nov 8, 2024
c274c93
fix(cb2-13642): when prohibition issue is hidden in edit mode, hide i…
pbardy2000 Nov 8, 2024
bbba66b
feat(cb2-11403): remove DFS, add tag (#1631)
pbardy2000 Nov 8, 2024
9c4bcee
feat(cb2-9597): add month of manufacture to small trailers (#1637)
pbardy2000 Nov 8, 2024
32d6872
feat(cb2-14315): ngrx based approach for internal logging system (#1616)
matthew2564 Nov 11, 2024
a87d2f2
feat(cb2-15038): allow current year +1 for year of manufacture (#1639)
pbardy2000 Nov 11, 2024
dbcab56
chore: bump app version 1.28 (#1649)
matthew2564 Nov 19, 2024
3104b44
Feat/cb2 14457 release 3.37.0 (#1654)
pbardy2000 Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 0 additions & 30 deletions .eslintignore

This file was deleted.

94 changes: 0 additions & 94 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
vtm-app:
uses: ./.github/workflows/deploy.yml
with:
branch: 'master'
branch: ${{ github.ref_name }}
environment: 'prod'
bucket: '.prod'
secrets:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -56,10 +56,10 @@ jobs:
run: npm run build -- --configuration='deploy' --output-path='dist/'

- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: VTM-App-build-output
path: dist/
path: dist/browser

upload:
needs: [build]
Expand All @@ -74,16 +74,16 @@ jobs:
role-session-name: GHA-VTM-Secrets

- name: Get secrets from AWS
uses: aws-actions/aws-secretsmanager-get-secrets@v1
uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: cvs-app-vtm/gha
parse-json-secrets: true

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: VTM-App-build-output
path: dist/
path: dist/browser

- name: Get AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand All @@ -93,6 +93,6 @@ jobs:
role-session-name: GHA-VTM-Upload

- name: Upload App to S3
working-directory: dist/
working-directory: dist/browser
run: aws s3 sync . s3://vtm${{ inputs.bucket }}.${{ env.CVS_APP_VTM_GHA_DOMAIN }}

87 changes: 18 additions & 69 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,58 +12,40 @@ on:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.18.0]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci --include=optional
- name: Build
run: npm run build --ignore-scripts -- --configuration production

test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.18.0]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on:
- ARM64
steps:
- uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci --include=optional
- name: Run tests
run: npm run test:workflow

lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.18.0]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci --include=optional
Expand All @@ -72,45 +54,12 @@ jobs:

audit:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.18.0]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
cache: 'npm'
- name: Run audit
run: npm audit --audit-level=critical

scanner:
permissions:
id-token: write
runs-on: X64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_MGMT_ROLE }}
aws-region: ${{ secrets.DVSA_AWS_REGION }}
role-session-name: 'cvs-app-vtm'
- uses: aws-actions/aws-secretsmanager-get-secrets@v1
with:
secret-ids: sonarqube-gha
parse-json-secrets: true
- name: Install dependencies
run: npm ci --include=optional
- name: Run SonarQube scanner
run: |
npm run sonar-scanner -- \
-Dsonar.host.url=${{ env.SONARQUBE_GHA_URL }} \
-Dsonar.token=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.login=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.projectName=${{ github.repository }} \
-Dsonar.projectVersion=1.0.${{ github.run_id }}
40 changes: 40 additions & 0 deletions .github/workflows/sonar-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Sonar scan

on:
push:
branches: [ 'develop' ]

jobs:
scanner:
permissions:
id-token: write
runs-on: X64
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_MGMT_ROLE }}
aws-region: ${{ secrets.DVSA_AWS_REGION }}
role-session-name: 'cvs-app-vtm'

- uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: sonarqube-gha
parse-json-secrets: true

- name: Install dependencies
run: npm ci --include=optional

- name: Run SonarQube scanner
run: |
npm run sonar-scanner -- \
-Dsonar.host.url=${{ env.SONARQUBE_GHA_URL }} \
-Dsonar.token=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.login=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.projectName=${{ github.repository }} \
-Dsonar.projectVersion=1.0.${{ github.run_id }}
9 changes: 0 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,12 @@ yarn-error.log
testem.log
/typings
.reports/
{}
.scannerwork

# System files
.DS_Store
Thumbs.db

# Cypress
cypress.env.json
cypress/videos
cypress/screenshots
runner-results
multi-reporter-config.json
cypress/parallel-weights.json

report.json
# Sentry Config File
.sentryclirc
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run security-checks
npx lint-staged && npm run security-checks
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.0
20.16.0
Loading
Loading