hof 20.1.1 → 20.1.2-redis-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/automate-publish.yml +1 -1
- package/.github/workflows/automate-tag.yml +4 -4
- package/.nyc_output/6703fb81-a2bd-47bc-b470-7e48a1ea5422.json +1 -0
- package/.nyc_output/processinfo/6703fb81-a2bd-47bc-b470-7e48a1ea5422.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/components/combine-and-loop-fields/index.js +3 -0
- package/config/hof-defaults.js +2 -1
- package/frontend/govuk-template/govuk_template_generated.html +104 -0
- package/lib/health.js +1 -1
- package/lib/sessions.js +1 -1
- package/middleware/rate-limiter.js +3 -1
- package/package.json +3 -3
- package/sandbox/apps/sandbox/translations/en/default.json +224 -0
- package/sandbox/public/css/app.css +2794 -0
- package/sandbox/public/images/icons/icon-caret-left.png +0 -0
- package/sandbox/public/images/icons/icon-complete.png +0 -0
- package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
- package/sandbox/public/js/bundle.js +32888 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"parent":null,"pid":29306,"argv":["/Users/martincrawley/.nvm/versions/node/v14.15.0/bin/node","/Users/martincrawley/Documents/Code/HOF/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/martincrawley/Documents/Code/HOF/hof","time":1664957492180,"ppid":29303,"coverageFilename":"/Users/martincrawley/Documents/Code/HOF/hof/.nyc_output/6703fb81-a2bd-47bc-b470-7e48a1ea5422.json","externalId":"","uuid":"6703fb81-a2bd-47bc-b470-7e48a1ea5422","files":["/Users/martincrawley/Documents/Code/HOF/hof/model/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/default-model.js","/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/defaults.js","/Users/martincrawley/Documents/Code/HOF/hof/components/clear-session/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/date/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/date/fields.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/email-service.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/emailer.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/smtp.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/ses.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/stub.js","/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/debug.js","/Users/martincrawley/Documents/Code/HOF/hof/components/summary/index.js","/Users/martincrawley/Documents/Code/HOF/hof/config/rate-limits.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/rate-limiter.js","/Users/martincrawley/Documents/Code/HOF/hof/config/hof-defaults.js","/Users/martincrawley/Documents/Code/HOF/hof/components/notify/index.js","/Users/martincrawley/Documents/Code/HOF/hof/components/notify/notify.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/base-controller.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/index.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/index.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/validators.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/email.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/validation-error.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/inputs.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/test-data/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/countries.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/helpers/index.js","/Users/martincrawley/Documents/Code/HOF/hof/utilities/reqres/index.js","/Users/martincrawley/Documents/Code/HOF/hof/config/sanitisation-rules.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/formatters.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/index.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-session.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-hooks.js","/Users/martincrawley/Documents/Code/HOF/hof/controller/controller.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/render.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/config.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/translations/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/gov-uk/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/index.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/validation.js","/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/index.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/cookies.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/errors.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/not-found.js","/Users/martincrawley/Documents/Code/HOF/hof/middleware/deep-translate.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/markdown.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/router.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/index.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/index.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/complete.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/constants.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/health.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/serve-static.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/ga-tag.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/sessions.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/settings.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/logger.js","/Users/martincrawley/Documents/Code/HOF/hof/build/index.js","/Users/martincrawley/Documents/Code/HOF/hof/config/builder-defaults.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/index.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/compile.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/build.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/expand-dirs.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/aggregate.js","/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/write-files.js","/Users/martincrawley/Documents/Code/HOF/hof/model/apis/index.js","/Users/martincrawley/Documents/Code/HOF/hof/model/apis/html-to-pdf-converter.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/model.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/back-links.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/helpers.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-complete.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-progress.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-session.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/csrf.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/fields.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/helpers/utilities.js","/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/martincrawley/Documents/Code/HOF/hof/lib/encryption.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session.js","/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session-model.js"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"processes":{"6703fb81-a2bd-47bc-b470-7e48a1ea5422":{"parent":null,"children":[]}},"files":{"/Users/martincrawley/Documents/Code/HOF/hof/model/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/default-model.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/address-lookup/defaults.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/clear-session/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/date/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/date/fields.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/email-service.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/emailer.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/smtp.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/ses.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/stub.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/emailer/transports/debug.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/summary/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/config/rate-limits.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/rate-limiter.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/config/hof-defaults.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/notify/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/components/notify/notify.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/base-controller.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/validators.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation/email.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/validation-error.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/autofill/inputs.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/test-data/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/countries.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/helpers/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/utilities/reqres/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/config/sanitisation-rules.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/formatting/formatters.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-session.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/behaviour-hooks.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/controller/controller.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/country-select.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/template-mixins.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/render.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-mixins/mixins/helpers.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/govuk-template/build/config.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/template-partials/translations/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/themes/gov-uk/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/helpers.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/form-focus.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/validation.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/frontend/toolkit/assets/javascript/character-count.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/cookies.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/errors.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/not-found.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/middleware/deep-translate.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/markdown.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/router.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/behaviours/complete.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/constants.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/helpers.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/health.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/serve-static.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/ga-tag.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/sessions.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/settings.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/logger.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/build/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/config/builder-defaults.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/compile.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/build.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/expand-dirs.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/aggregate.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/transpiler/lib/write-files.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/model/apis/index.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/model/apis/html-to-pdf-converter.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/model.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/back-links.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/util/helpers.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-complete.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-progress.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/check-session.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/csrf.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/fields.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/test/helpers/utilities.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/sandbox/apps/sandbox/behaviours/international-number.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/lib/encryption.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"],"/Users/martincrawley/Documents/Code/HOF/hof/wizard/middleware/session-model.js":["6703fb81-a2bd-47bc-b470-7e48a1ea5422"]},"externalIds":{}}
|
package/config/hof-defaults.js
CHANGED
@@ -27,7 +27,8 @@ const defaults = {
|
|
27
27
|
ignoreMiddlewareLogs: ['/healthz'],
|
28
28
|
redis: {
|
29
29
|
port: process.env.REDIS_PORT || '6379',
|
30
|
-
host: process.env.REDIS_HOST || '127.0.0.1'
|
30
|
+
host: process.env.REDIS_HOST || '127.0.0.1',
|
31
|
+
legacyMode: true
|
31
32
|
},
|
32
33
|
session: {
|
33
34
|
ttl: process.env.SESSION_TTL || 1800,
|
@@ -0,0 +1,104 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<!--[if lt IE 9]><html class="lte-ie8" lang="{{htmlLang}}"><![endif]-->
|
4
|
+
<!--[if gt IE 8]><!--><html lang="{{htmlLang}}" class="govuk-template"><!--<![endif]-->
|
5
|
+
<head>
|
6
|
+
<meta charset="utf-8" />
|
7
|
+
<title>{{$pageTitle}}{{/pageTitle}}</title>
|
8
|
+
|
9
|
+
<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{govukAssetPath}}images/favicon.ico" type="image/x-icon">
|
10
|
+
<link rel="mask-icon" href="{{govukAssetPath}}images/govuk-mask-icon.svg" color="#0b0c0c">
|
11
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{govukAssetPath}}images/govuk-apple-touch-icon-180x180.png">
|
12
|
+
<link rel="apple-touch-icon" sizes="167x167" href="{{govukAssetPath}}images/govuk-apple-touch-icon-167x167.png">
|
13
|
+
<link rel="apple-touch-icon" sizes="152x152" href="{{govukAssetPath}}images/govuk-apple-touch-icon-152x152.png">
|
14
|
+
<link rel="apple-touch-icon" href="{{govukAssetPath}}images/govuk-apple-touch-icon.png">
|
15
|
+
|
16
|
+
|
17
|
+
<meta name="theme-color" content="#0b0c0c" />
|
18
|
+
|
19
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
20
|
+
|
21
|
+
{{$head}}{{/head}}
|
22
|
+
|
23
|
+
|
24
|
+
<meta property="og:image" content="{{govukAssetPath}}images/opengraph-image.png">
|
25
|
+
</head>
|
26
|
+
|
27
|
+
<body class="{{$bodyClasses}}{{/bodyClasses}} govuk-template__body js-enabled" >
|
28
|
+
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
<div id="global-cookie-message" class="gem-c-cookie-banner govuk-clearfix" data-module="cookie-banner" role="region" aria-label="cookie banner" data-nosnippet="">
|
33
|
+
{{$cookieMessage}}{{/cookieMessage}}
|
34
|
+
</div>
|
35
|
+
|
36
|
+
{{$bodyStart}}{{/bodyStart}}
|
37
|
+
|
38
|
+
<header role="banner" id="govuk-header" class="{{$headerClass}}{{/headerClass}}">
|
39
|
+
<div class="govuk-header__container govuk-width-container">
|
40
|
+
|
41
|
+
<div class="govuk-header__logo">
|
42
|
+
<a href="{{$homepageUrl}}https://www.gov.uk{{/homepageUrl}}" title="{{$logoLinkTitle}}Go to the GOV.UK homepage{{/logoLinkTitle}}" id="logo" class="govuk-header__link govuk-header__link--homepage" target="_blank" data-module="track-click" data-track-category="homeLinkClicked" data-track-action="homeHeader">
|
43
|
+
<span class="govuk-header__logotype">
|
44
|
+
<!--[if gt IE 8]><!-->
|
45
|
+
<svg aria-hidden="true" focusable="false" class="govuk-header__logotype-crown" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 132 97" height="30" width="36">
|
46
|
+
<path fill="currentColor" fill-rule="evenodd" d="M25 30.2c3.5 1.5 7.7-.2 9.1-3.7 1.5-3.6-.2-7.8-3.9-9.2-3.6-1.4-7.6.3-9.1 3.9-1.4 3.5.3 7.5 3.9 9zM9 39.5c3.6 1.5 7.8-.2 9.2-3.7 1.5-3.6-.2-7.8-3.9-9.1-3.6-1.5-7.6.2-9.1 3.8-1.4 3.5.3 7.5 3.8 9zM4.4 57.2c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.5-1.5-7.6.3-9.1 3.8-1.4 3.5.3 7.6 3.9 9.1zm38.3-21.4c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.6-1.5-7.6.3-9.1 3.8-1.3 3.6.4 7.7 3.9 9.1zm64.4-5.6c-3.6 1.5-7.8-.2-9.1-3.7-1.5-3.6.2-7.8 3.8-9.2 3.6-1.4 7.7.3 9.2 3.9 1.3 3.5-.4 7.5-3.9 9zm15.9 9.3c-3.6 1.5-7.7-.2-9.1-3.7-1.5-3.6.2-7.8 3.7-9.1 3.6-1.5 7.7.2 9.2 3.8 1.5 3.5-.3 7.5-3.8 9zm4.7 17.7c-3.6 1.5-7.8-.2-9.2-3.8-1.5-3.6.2-7.7 3.9-9.1 3.6-1.5 7.7.3 9.2 3.8 1.3 3.5-.4 7.6-3.9 9.1zM89.3 35.8c-3.6 1.5-7.8-.2-9.2-3.8-1.4-3.6.2-7.7 3.9-9.1 3.6-1.5 7.7.3 9.2 3.8 1.4 3.6-.3 7.7-3.9 9.1zM69.7 17.7l8.9 4.7V9.3l-8.9 2.8c-.2-.3-.5-.6-.9-.9L72.4 0H59.6l3.5 11.2c-.3.3-.6.5-.9.9l-8.8-2.8v13.1l8.8-4.7c.3.3.6.7.9.9l-5 15.4v.1c-.2.8-.4 1.6-.4 2.4 0 4.1 3.1 7.5 7 8.1h.2c.3 0 .7.1 1 .1.4 0 .7 0 1-.1h.2c4-.6 7.1-4.1 7.1-8.1 0-.8-.1-1.7-.4-2.4V34l-5.1-15.4c.4-.2.7-.6 1-.9zM66 92.8c16.9 0 32.8 1.1 47.1 3.2 4-16.9 8.9-26.7 14-33.5l-9.6-3.4c1 4.9 1.1 7.2 0 10.2-1.5-1.4-3-4.3-4.2-8.7L108.6 76c2.8-2 5-3.2 7.5-3.3-4.4 9.4-10 11.9-13.6 11.2-4.3-.8-6.3-4.6-5.6-7.9 1-4.7 5.7-5.9 8-.5 4.3-8.7-3-11.4-7.6-8.8 7.1-7.2 7.9-13.5 2.1-21.1-8 6.1-8.1 12.3-4.5 20.8-4.7-5.4-12.1-2.5-9.5 6.2 3.4-5.2 7.9-2 7.2 3.1-.6 4.3-6.4 7.8-13.5 7.2-10.3-.9-10.9-8-11.2-13.8 2.5-.5 7.1 1.8 11 7.3L80.2 60c-4.1 4.4-8 5.3-12.3 5.4 1.4-4.4 8-11.6 8-11.6H55.5s6.4 7.2 7.9 11.6c-4.2-.1-8-1-12.3-5.4l1.4 16.4c3.9-5.5 8.5-7.7 10.9-7.3-.3 5.8-.9 12.8-11.1 13.8-7.2.6-12.9-2.9-13.5-7.2-.7-5 3.8-8.3 7.1-3.1 2.7-8.7-4.6-11.6-9.4-6.2 3.7-8.5 3.6-14.7-4.6-20.8-5.8 7.6-5 13.9 2.2 21.1-4.7-2.6-11.9.1-7.7 8.8 2.3-5.5 7.1-4.2 8.1.5.7 3.3-1.3 7.1-5.7 7.9-3.5.7-9-1.8-13.5-11.2 2.5.1 4.7 1.3 7.5 3.3l-4.7-15.4c-1.2 4.4-2.7 7.2-4.3 8.7-1.1-3-.9-5.3 0-10.2l-9.5 3.4c5 6.9 9.9 16.7 14 33.5 14.8-2.1 30.8-3.2 47.7-3.2z"></path>
|
47
|
+
</svg>
|
48
|
+
<!--<![endif]-->
|
49
|
+
<!--<![endif]-->
|
50
|
+
<!--[if IE 8]>
|
51
|
+
<img src="{{govukAssetPath}}images/govuk-logotype-crown.png" class="govuk-header__logotype-crown-fallback-image" width="36" height="32">
|
52
|
+
<![endif]-->
|
53
|
+
</span>
|
54
|
+
<span class="govuk-header__logotype-text">
|
55
|
+
{{$globalHeaderText}}GOV.UK{{/globalHeaderText}}
|
56
|
+
</span>
|
57
|
+
</a>
|
58
|
+
</div>
|
59
|
+
{{$insideHeader}}{{/insideHeader}}
|
60
|
+
|
61
|
+
{{$propositionHeader}}{{/propositionHeader}}
|
62
|
+
</div>
|
63
|
+
</header>
|
64
|
+
|
65
|
+
|
66
|
+
{{$afterHeader}}{{/afterHeader}}
|
67
|
+
|
68
|
+
|
69
|
+
{{$main}}{{/main}}
|
70
|
+
|
71
|
+
<footer class="govuk-footer" id="footer" role="contentinfo">
|
72
|
+
|
73
|
+
<div class="govuk-width-container">
|
74
|
+
{{$footerTop}}{{/footerTop}}
|
75
|
+
|
76
|
+
<div class="govuk-footer__meta">
|
77
|
+
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
|
78
|
+
<h2 class="govuk-visually-hidden">Support links</h2>
|
79
|
+
{{$footerSupportLinks}}{{/footerSupportLinks}}
|
80
|
+
|
81
|
+
<svg aria-hidden="true" focusable="false" class="govuk-footer__licence-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 483.2 195.7" height="17" width="41">
|
82
|
+
<path fill="currentColor" d="M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145"></path>
|
83
|
+
</svg>
|
84
|
+
|
85
|
+
<span class="govuk-footer__licence-description">{{$licenceMessage}}All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" id="open-government-licence" class="govuk-footer__link" target="_blank" rel="license">Open Government Licence v3.0</a>, except where otherwise stated{{/licenceMessage}}</span>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<div class="govuk-footer__meta-item">
|
89
|
+
<a class="govuk-footer__link govuk-footer__copyright-logo" id="copyright-logo" target="_blank" href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">{{$crownCopyrightMessage}}© Crown copyright{{/crownCopyrightMessage}}</a>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
</div>
|
93
|
+
</footer>
|
94
|
+
|
95
|
+
<div id="global-app-error" class="app-error hidden"></div>
|
96
|
+
|
97
|
+
|
98
|
+
{{$bodyEnd}}{{/bodyEnd}}
|
99
|
+
|
100
|
+
|
101
|
+
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>if (typeof window.GOVUK === 'undefined') document.body.className = document.body.className.replace('js-enabled', '');</script>
|
102
|
+
|
103
|
+
</body>
|
104
|
+
</html>
|
package/lib/health.js
CHANGED
package/lib/sessions.js
CHANGED
@@ -25,9 +25,11 @@ module.exports = (options, rateLimitType) => {
|
|
25
25
|
}
|
26
26
|
|
27
27
|
const closeConnection = async err => {
|
28
|
-
await redisClient.
|
28
|
+
await redisClient.v4.QUIT();
|
29
29
|
return next(err);
|
30
30
|
};
|
31
|
+
redisClient.on('error', err => logger.log('error', err));
|
32
|
+
await redisClient.connect();
|
31
33
|
|
32
34
|
try {
|
33
35
|
// fetch records of current user using IP address, returns null when no record is found
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "hof",
|
3
3
|
"description": "A bootstrap for HOF projects",
|
4
|
-
"version": "20.1.
|
4
|
+
"version": "20.1.2-redis-beta.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "index.js",
|
7
7
|
"author": "HomeOffice",
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"callsite": "^1.0.0",
|
43
43
|
"chalk": "^2.0.0",
|
44
44
|
"chokidar": "^3.4.0",
|
45
|
-
"connect-redis": "^
|
45
|
+
"connect-redis": "^6.1.3",
|
46
46
|
"cookie-parser": "^1.4.6",
|
47
47
|
"cp": "^0.2.0",
|
48
48
|
"csrf": "^3.0.2",
|
@@ -80,7 +80,7 @@
|
|
80
80
|
"nodemailer-smtp-transport": "^2.7.4",
|
81
81
|
"nodemailer-stub-transport": "^1.1.0",
|
82
82
|
"notifications-node-client": "^5.1.1",
|
83
|
-
"redis": "^3.1
|
83
|
+
"redis": "^4.3.1",
|
84
84
|
"reqres": "^3.0.1",
|
85
85
|
"request": "^2.79.0",
|
86
86
|
"rimraf": "^3.0.2",
|
@@ -0,0 +1,224 @@
|
|
1
|
+
{
|
2
|
+
"fields": {
|
3
|
+
"landing-page-radio": {
|
4
|
+
"legend": "Which form would you like to explore?",
|
5
|
+
"options": {
|
6
|
+
"basic-form": {
|
7
|
+
"label": "Basic form"
|
8
|
+
},
|
9
|
+
"complex-form": {
|
10
|
+
"label": "Complex form"
|
11
|
+
},
|
12
|
+
"build-your-own-form": {
|
13
|
+
"label": "Build your own form"
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"name": {
|
18
|
+
"label": "Full name"
|
19
|
+
},
|
20
|
+
"dateOfBirth": {
|
21
|
+
"legend": "Date of birth",
|
22
|
+
"hint": "For example, 31 10 1990"
|
23
|
+
},
|
24
|
+
"building": {
|
25
|
+
"label": "Building and street"
|
26
|
+
},
|
27
|
+
"street": {
|
28
|
+
"label": "Address line 2"
|
29
|
+
},
|
30
|
+
"townOrCity": {
|
31
|
+
"label": "Town or city"
|
32
|
+
},
|
33
|
+
"postcode": {
|
34
|
+
"label": "Postcode"
|
35
|
+
},
|
36
|
+
"incomeTypes": {
|
37
|
+
"label": "Sources of income",
|
38
|
+
"legend": "Select the options where you receive income from",
|
39
|
+
"hint": "Select all options that apply to you.",
|
40
|
+
"options": {
|
41
|
+
"salary": {
|
42
|
+
"label": "Salary"
|
43
|
+
},
|
44
|
+
"universal_credit": {
|
45
|
+
"label": "Universal Credit"
|
46
|
+
},
|
47
|
+
"child_benefit": {
|
48
|
+
"label": "Child Benefit"
|
49
|
+
},
|
50
|
+
"housing_benefit": {
|
51
|
+
"label": "Housing Benefit"
|
52
|
+
},
|
53
|
+
"other": {
|
54
|
+
"label": "Other"
|
55
|
+
}
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"countryOfHearing": {
|
59
|
+
"label": "Country of hearing",
|
60
|
+
"options": {
|
61
|
+
"englandAndWales": {
|
62
|
+
"label": "England and Wales"
|
63
|
+
},
|
64
|
+
"scotland": {
|
65
|
+
"label": "Scotland"
|
66
|
+
},
|
67
|
+
"northernIreland": {
|
68
|
+
"label": "Northern Ireland"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"email": {
|
73
|
+
"label": "Email address"
|
74
|
+
},
|
75
|
+
"phone": {
|
76
|
+
"label": "Phone number",
|
77
|
+
"hint": "International phone numbers require the international dialling code, for example +33235066182"
|
78
|
+
},
|
79
|
+
"int-phone-number": {
|
80
|
+
"legend": "International phone number"
|
81
|
+
},
|
82
|
+
"complaintDetails": {
|
83
|
+
"label": "Complaint details"
|
84
|
+
},
|
85
|
+
"countrySelect": {
|
86
|
+
"label": "Select a country",
|
87
|
+
"hint": "Start to type the country name and options will appear"
|
88
|
+
},
|
89
|
+
"appealStages": {
|
90
|
+
"label": "Appeal stage",
|
91
|
+
"options": {
|
92
|
+
"null": "Select..."
|
93
|
+
}
|
94
|
+
}
|
95
|
+
},
|
96
|
+
"journey": {
|
97
|
+
"header": "HOF Bootstrap Sandbox Form"
|
98
|
+
},
|
99
|
+
"pages": {
|
100
|
+
"landing-page": {
|
101
|
+
"header": "Landing page",
|
102
|
+
"intro": "Choose one of the options below and press continue."
|
103
|
+
},
|
104
|
+
"build-your-own-form": {
|
105
|
+
"title": "Build your own form",
|
106
|
+
"subheader": "Access the build your own form guidance link"
|
107
|
+
},
|
108
|
+
"name": {
|
109
|
+
"header": "What is your full name?"
|
110
|
+
},
|
111
|
+
"dob": {
|
112
|
+
"header": "What is your date of birth?"
|
113
|
+
},
|
114
|
+
"address": {
|
115
|
+
"header": "What is your address in the UK?",
|
116
|
+
"intro": "If you have no fixed address, enter an address where we can contact you."
|
117
|
+
},
|
118
|
+
"checkboxes": {
|
119
|
+
"header": "Where does your money come from each month?"
|
120
|
+
},
|
121
|
+
"radio": {
|
122
|
+
"header": "What country was the appeal lodged?"
|
123
|
+
},
|
124
|
+
"country-select": {
|
125
|
+
"header": "What country is your address located?"
|
126
|
+
},
|
127
|
+
"email": {
|
128
|
+
"header": "Enter your email address"
|
129
|
+
},
|
130
|
+
"phone-number": {
|
131
|
+
"header": "Enter your phone number"
|
132
|
+
},
|
133
|
+
"text-input-area": {
|
134
|
+
"header": "What are the details of your complaint?",
|
135
|
+
"intro": "Briefly summarise your complaint. Include anything that can help our investigation."
|
136
|
+
},
|
137
|
+
"select": {
|
138
|
+
"header": "What is the appeal stage?",
|
139
|
+
"intro": "Choose an appeal stage from the drop down menu"
|
140
|
+
},
|
141
|
+
"confirm": {
|
142
|
+
"header": "Check your answers before submitting your application.",
|
143
|
+
"sections": {
|
144
|
+
"applicantsDetails": {
|
145
|
+
"header": "Applicant's details"
|
146
|
+
},
|
147
|
+
"address": {
|
148
|
+
"header": "Address"
|
149
|
+
},
|
150
|
+
"income": {
|
151
|
+
"header": "Income"
|
152
|
+
},
|
153
|
+
"appealDetails": {
|
154
|
+
"header": "Appeal details"
|
155
|
+
},
|
156
|
+
"countrySelect": {
|
157
|
+
"header": "Country of residence"
|
158
|
+
},
|
159
|
+
"contactDetails": {
|
160
|
+
"header": "Contact details"
|
161
|
+
},
|
162
|
+
"complaintDetails": {
|
163
|
+
"header": "Complaint details"
|
164
|
+
}
|
165
|
+
}
|
166
|
+
},
|
167
|
+
"confirmation": {
|
168
|
+
"title": "Application sent",
|
169
|
+
"alert": "Application sent",
|
170
|
+
"subheader": "What happens next",
|
171
|
+
"content": "We’ll contact you with the decision of your application or if we need more information from you."
|
172
|
+
}
|
173
|
+
},
|
174
|
+
"validation": {
|
175
|
+
"landing-page-radio": {
|
176
|
+
"required": "Select an option below and press continue"
|
177
|
+
},
|
178
|
+
"name": {
|
179
|
+
"default": "Enter your full name"
|
180
|
+
},
|
181
|
+
"dateOfBirth": {
|
182
|
+
"default": "Enter your date of birth in the correct format; for example, 31 10 1990",
|
183
|
+
"after": "Enter a date after 1 1 1900",
|
184
|
+
"before": "Enter a date that is in the past"
|
185
|
+
},
|
186
|
+
"building": {
|
187
|
+
"default": "Enter details of your building and street"
|
188
|
+
},
|
189
|
+
"townOrCity": {
|
190
|
+
"default": "Enter a town or city",
|
191
|
+
"regex": "Enter a town or city without including digits"
|
192
|
+
},
|
193
|
+
"postcode": {
|
194
|
+
"default": "Enter your postcode"
|
195
|
+
},
|
196
|
+
"incomeTypes": {
|
197
|
+
"default": "Select all options that apply to you."
|
198
|
+
},
|
199
|
+
"countryOfHearing": {
|
200
|
+
"default": "Select where the appeal hearing is to be held"
|
201
|
+
},
|
202
|
+
"countrySelect": {
|
203
|
+
"default": "Enter a valid country of residence",
|
204
|
+
"required": "Enter your country of residence"
|
205
|
+
},
|
206
|
+
"email": {
|
207
|
+
"default": "Enter your email address in the correct format"
|
208
|
+
},
|
209
|
+
"phone": {
|
210
|
+
"default": "Enter your phone number"
|
211
|
+
},
|
212
|
+
"int-phone-number": {
|
213
|
+
"required": "Enter an international phone number",
|
214
|
+
"internationalPhoneNumber": "Enter a valid international phone number"
|
215
|
+
},
|
216
|
+
"complaintDetails": {
|
217
|
+
"default": "Enter details about why you are making a complaint",
|
218
|
+
"maxlength": "Keep to the 5000 character limit"
|
219
|
+
},
|
220
|
+
"appealStages": {
|
221
|
+
"required": "Select an appeal stage from the list"
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|