Skip to content

Commit 4e17581

Browse files
author
runner
committed
Rename project
1 parent cbd8ce6 commit 4e17581

17 files changed

+71
-71
lines changed

.github/workflows/security_npm_dependency.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Security npm dependency check
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: "19 6 * * MON-FRI" # Every weekday
5+
- cron: "35 10 * * MON-FRI" # Every weekday
66
jobs:
77
security-npm-dependency-check:
88
name: Project security npm dependency check

.github/workflows/security_trivy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Security trivy dependency check
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: "19 6 * * MON-FRI" # Every weekday
5+
- cron: "35 10 * * MON-FRI" # Every weekday
66
jobs:
77
security-kotlin-trivy-check:
88
name: Project security trivy dependency check

.github/workflows/security_veracode_pipeline_scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Security veracode pipeline scan
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: "19 6 * * MON-FRI" # Every weekday
5+
- cron: "35 10 * * MON-FRI" # Every weekday
66
jobs:
77
security-veracode-pipeline-scan:
88
name: Project security veracode pipeline scan

.github/workflows/security_veracode_policy_scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Security veracode policy scan
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: "34 6 * * 1" # Every Monday
5+
- cron: "18 6 * * 1" # Every Monday
66
jobs:
77
security-veracode-policy-check:
88
name: Project security veracode policy scan

CHANGELOG.md

+34-34
Original file line numberDiff line numberDiff line change
@@ -10,62 +10,62 @@ The library will attempt to self-install itself by running it via npx: `npx @min
1010

1111
It will then prompt you to perform some manual tasks - if you have stub tests for your health endpoints you might need add some additional stubbing.
1212

13-
See PR [#479](https://github.com/ministryofjustice/hmpps-template-typescript/pull/479)
13+
See PR [#479](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/479)
1414

1515
**November 18th 2024** - Moving away from csurf and to csrf-sync
1616

1717
[csurf](https://www.npmjs.com/package/csurf) has been deprecated for some time and this removes that dependency and implements the [synchronizer token pattern](https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#transmissing-csrf-tokens-in-synchronized-patterns) using [csrf-sync](https://www.npmjs.com/package/csrf-sync).
1818

1919
**Note:** Previously csurf used to generate new tokens on every request. The new library generates tokens once per session which is preferrable due to the extra calls to redis that per-request would generate. It is possible to force a refresh/revocation of a token by explicitly calling: `req.csrfToken(true)`
2020

21-
See PR [#481](https://github.com/ministryofjustice/hmpps-template-typescript/pull/481)
21+
See PR [#481](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/481)
2222

2323
**November 5th 2024** - Disable 301 redirects on missing static content folders
2424

2525
Previously a non-existent static resource returned a 301 without the appropriate CSP response header.
2626
Now it will return a 404 with the correct header. This was an issue flagged by ZAP
2727

28-
See PR [#383](https://github.com/ministryofjustice/hmpps-template-typescript/pull/383)
28+
See PR [#383](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/383)
2929

3030
**October 29th 2024** - Move to node 22
3131

3232
Node 22 is now LTS. Notes [here](https://nodejs.org/en/blog/announcements/v22-release-announce)
3333

34-
See PR [#474](https://github.com/ministryofjustice/hmpps-template-typescript/pull/474)
34+
See PR [#474](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/474)
3535

3636
**September 25th 2024** - Removing dependency on dotenv
3737

3838
Removing dependency on [dotenv](https://www.npmjs.com/package/dotenv).
3939
Use Node's `-env-file` [mechanism](https://nodejs.org/dist/latest-v20.x/docs/api/cli.html#--env-fileconfig) instead of requiring the dotenv module.
4040

41-
See PR [#441](https://github.com/ministryofjustice/hmpps-template-typescript/pull/441)
41+
See PR [#441](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/441)
4242

4343
**September 25th 2024** - Removing dependency on uuid
4444

4545
Removing dependency on [uuid](https://www.npmjs.com/package/uuid).
4646
Use Node's `crypto.randomUUID()` instead of requiring the uuid module - there's no need if just using v4 UUIDs.
4747

48-
See PR [#439](https://github.com/ministryofjustice/hmpps-template-typescript/pull/439)
48+
See PR [#439](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/439)
4949

5050
**September 19th 2024** - Renaming config domain
5151

5252
The `config.domain` property has been renamed to `config.ingressUrl` to reflect the fact that it should be set to a URL
5353
rather than just a domain name.
5454

55-
See PR [#435](https://github.com/ministryofjustice/hmpps-template-typescript/pull/435)
55+
See PR [#435](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/435)
5656

5757
**September 6th 2024** - Authentication and credentials tidy-up
5858

5959
We have recently tidied up some of the authentication process. To begin with, we added default credentials in HMPPS Auth
6060
(PR: [hmpps-auth#1777](https://github.com/ministryofjustice/hmpps-auth/pull/1777)) to support the template project
6161
out of the box. The necessary updates for using these credentials were made in
62-
PR: [#412](https://github.com/ministryofjustice/hmpps-template-typescript/pull/412) and
63-
PR: [#414](https://github.com/ministryofjustice/hmpps-template-typescript/pull/414). We also updated the documentation
62+
PR: [#412](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/412) and
63+
PR: [#414](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/414). We also updated the documentation
6464
to clarify the OIDC/OAuth2 process.
6565

6666
Additionally, we cleaned up both the authentication middleware and the user details population middleware. These changes
67-
can be found in PR: [#413](https://github.com/ministryofjustice/hmpps-template-typescript/pull/413) and
68-
PR: [#415](https://github.com/ministryofjustice/hmpps-template-typescript/pull/415).
67+
can be found in PR: [#413](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/413) and
68+
PR: [#415](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/415).
6969

7070
As part of this change we also renamed the env var names used for configuring our client's credentials. It was felt that the previous names were confusing/misleading.
7171

@@ -89,7 +89,7 @@ SYSTEM_CLIENT_SECRET -> CLIENT_CREDS_CLIENT_SECRET
8989

9090
We have recently introduced several enhancements to the ESBuild process to improve stability, logging, and basic type annotations. These are part of
9191

92-
PR: [#388](https://github.com/ministryofjustice/hmpps-template-typescript/pull/388) and PR: [#378](https://github.com/ministryofjustice/hmpps-template-typescript/pull/378)
92+
PR: [#388](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/388) and PR: [#378](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/378)
9393

9494
Additionally, we have integrated a new and improved process for handling asset cache-busting. Previously, we appended a query string representing the build number or Git commit hash to our assets for cache-busting. With the recent introduction of ESBuild, we have implemented a more common asset-revving solution, using the hash of the asset in the asset's output filename, like `/assets/js/app.UG7VY7MS.js`.
9595

@@ -99,7 +99,7 @@ In brief, this implementation creates a `manifest.json` file during the asset bu
9999

100100
To see the full conversation see the #typescript slack channel
101101

102-
PR: [#377](https://github.com/ministryofjustice/hmpps-template-typescript/pull/377)
102+
PR: [#377](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/377)
103103

104104
---
105105

@@ -111,7 +111,7 @@ Previously we added some guidance suggesting developers remove it but this was n
111111

112112
Rather than add to the complexity of the rewrite script we've decided to remove these checks entirely.
113113

114-
PR: [#388](https://github.com/ministryofjustice/hmpps-template-typescript/pull/388)
114+
PR: [#388](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/388)
115115

116116
---
117117

@@ -122,39 +122,39 @@ It's worth adopting now but there are subsequent commits and changes that will c
122122

123123
To see the full conversation see the #typescript slack channel
124124

125-
PR: [#375](https://github.com/ministryofjustice/hmpps-template-typescript/pull/375)
125+
PR: [#375](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/375)
126126

127127
---
128128

129129
**May 22nd 2024** – Remove prometheus metrics middleware and metrics app. We had discussed that very few teams actually go on to set up a dashboard to surface the information and tend to use application insights instead for the information. In addition it had also caused a memory leak and production issues (manifesting in increased 502 error rates) in at least two applications that had inherited from the template so it seems wise to remove this tooling by default.
130130

131-
PR: [#365](https://github.com/ministryofjustice/hmpps-template-typescript/pull/365)
131+
PR: [#365](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/365)
132132

133133
---
134134

135135
**May 10th 2024** – Derive user details from the `authorization_code` "user" token instead of making an API call to `hmpps-manage-users-api`, thereby removing an unnecessary dependency.
136136

137-
PR: [#352](https://github.com/ministryofjustice/hmpps-template-typescript/pull/352)
137+
PR: [#352](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/352)
138138

139139
---
140140

141141
**February 29th 2024** – Use same node version for outdated check and security scan. This currently defaults to node 16
142142

143-
PR: [#321](https://github.com/ministryofjustice/hmpps-template-typescript/pull/321)
143+
PR: [#321](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/321)
144144

145145
---
146146

147147
**February 15th 2024** – Move over to use Debian 12 based image (bookworm)
148148

149-
PR: [#316](https://github.com/ministryofjustice/hmpps-template-typescript/pull/316)
149+
PR: [#316](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/316)
150150

151151
---
152152

153153
**January 9th 2024** – Move over to Gov UK Frontend 5.0 and MoJ Frontend 2.0
154154

155155
Note, this removed support for IE8,9,10 etc.
156156

157-
PR: [#297](https://github.com/ministryofjustice/hmpps-template-typescript/pull/297)
157+
PR: [#297](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/297)
158158

159159
---
160160

@@ -163,35 +163,35 @@ PR: [#297](https://github.com/ministryofjustice/hmpps-template-typescript/pull/2
163163
This is to encourage services not to make additional calls to retrieve a user's role information.
164164
Usually roles are cached with the session meaning that the user has to log out and in again to bring in changes to roles - as user details are also cached this will not change this behaviour.
165165

166-
PR: [#274](https://github.com/ministryofjustice/hmpps-template-typescript/pull/274)
166+
PR: [#274](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/274)
167167

168168
---
169169

170170
**November 29th 2023** – Use in-memory token store when developing locally
171171

172-
PR: [#273](https://github.com/ministryofjustice/hmpps-template-typescript/pull/273)
172+
PR: [#273](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/273)
173173

174174
---
175175

176176
**November 6th 2023** – Add HMPPS Manage Users API to health checks
177177

178-
PR: [#255](https://github.com/ministryofjustice/hmpps-template-typescript/pull/255)
178+
PR: [#255](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/255)
179179

180180
---
181181

182182
**October 27th 2023** – Update to 4.0.0 of `jwt-decode` module
183183

184184
This had breaking changes and required an update to the import statement
185185

186-
PR: [#252](https://github.com/ministryofjustice/hmpps-template-typescript/pull/252)
186+
PR: [#252](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/252)
187187

188188
---
189189

190190
**October 27th 2023** – Update application to use node.js version 20 and npm version 10
191191

192192
Application updated to node 20.8 along with one minor node module tweaks
193193

194-
PR: [#249](https://github.com/ministryofjustice/hmpps-template-typescript/pull/249)
194+
PR: [#249](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/249)
195195

196196
---
197197

@@ -200,7 +200,7 @@ PR: [#249](https://github.com/ministryofjustice/hmpps-template-typescript/pull/2
200200
`/api/user/me` -> `/users/me` <br>
201201
`/api/user/me/roles` -> `/users/me/roles`
202202

203-
PR: [#247](https://github.com/ministryofjustice/hmpps-template-typescript/pull/247)
203+
PR: [#247](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/247)
204204

205205
---
206206

@@ -212,7 +212,7 @@ and generic response types.
212212
The user object built by `setUpCurrentUser` middleware is exposed in `res.locals` of request handlers
213213
preventing the need for type assertions.
214214

215-
PR: [#238](https://github.com/ministryofjustice/hmpps-template-typescript/pull/238)
215+
PR: [#238](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/238)
216216

217217
---
218218

@@ -229,7 +229,7 @@ As part of the work on the [service catalogue](https://hmpps-developer-portal.hm
229229

230230
For more details ask on the `#hmpps-service-catalogue channel`.
231231

232-
PR: [here](https://github.com/ministryofjustice/hmpps-template-typescript/pull/231)
232+
PR: [here](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/231)
233233

234234
---
235235

@@ -240,44 +240,44 @@ This change adds a new info endpoint to expose this id in a consistent place.
240240

241241
For more details ask on the `#hmpps-service-catalogue channel`.
242242

243-
PR: [here](https://github.com/ministryofjustice/hmpps-template-typescript/pull/212)
243+
PR: [here](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/212)
244244

245245
---
246246

247247
**June 9th 2023** - Do not retry POST requests by default
248248

249249
It's not safe to retry idempotent calls as this introduces the risk of creating multiple resources. This fix changes the default to not carry out any retries but allows switching on retrying if desired.
250250

251-
PR: [here](https://github.com/ministryofjustice/hmpps-template-typescript/pull/197)
251+
PR: [here](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/197)
252252

253253
---
254254

255255
**April 13th 2023** - Caching fix
256256

257257
Asset caching was only set to 20 seconds. This fix changes the default to 1 hour which has a profound effect on the number of requests the application serves.
258258

259-
PR: [here](https://github.com/ministryofjustice/hmpps-template-typescript/pull/178)
259+
PR: [here](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/178)
260260

261261
---
262262

263263
**April 4th 2023** - Remove unnecessary build step
264264

265265
There was an additional unnecessary build step as part of start:dev npm task. This more than doubled the start time on the initial run.
266266

267-
PR: [here](https://github.com/ministryofjustice/hmpps-template-typescript/pull/172)
267+
PR: [here](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/172)
268268

269269
---
270270

271271
**March 20th 2023** - CSP fix for redirects during POST on session timeout
272272

273273
Updates the Content Security Policy to fix issues when users would be stuck on pages after submitting a form after their session times out. (Lots more detail in the PR)
274274

275-
PR: [here](https://github.com/ministryofjustice/hmpps-template-typescript/pull/170)
275+
PR: [here](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/170)
276276

277277
---
278278

279279
**February 3rd 2023** - Revert multi build docker image
280280

281281
Multibuild docker images ended up taking a very long time after the upgrade to node 18 (1hr+). Some work needs to be done to move to support multi host builds in our circle orb, in the meantime we’ve removed this and are just building images solely for deployment.
282282

283-
PR: [here](https://github.com/ministryofjustice/hmpps-template-typescript/pull/149)
283+
PR: [here](https://github.com/ministryofjustice/hmpps-managing-prisoner-apps-staff-ui/pull/149)

0 commit comments

Comments
 (0)