hof 20.3.4-beta-testing-request → 20.3.4-redis-beta
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/9651d42a-59d8-48e6-949c-655d9fa6db21.json +1 -0
- package/.nyc_output/processinfo/{4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5.json → 9651d42a-59d8-48e6-949c-655d9fa6db21.json} +1 -1
- package/.nyc_output/processinfo/index.json +1 -1
- package/config/hof-defaults.js +13 -3
- package/frontend/govuk-template/build/govuk_template.html +0 -3
- package/frontend/govuk-template/govuk_template_generated.html +100 -0
- package/frontend/template-mixins/partials/forms/checkbox-group.html +1 -1
- package/frontend/template-partials/views/layout.html +1 -1
- package/frontend/template-partials/views/partials/cookie-banner.html +2 -2
- package/frontend/template-partials/views/partials/head.html +5 -10
- package/lib/ga-tag.js +22 -13
- package/lib/health.js +1 -1
- package/lib/sessions.js +2 -0
- package/middleware/rate-limiter.js +3 -1
- package/model/index.js +0 -28
- package/package.json +2 -2
- package/sandbox/apps/sandbox/fields.js +7 -0
- package/sandbox/apps/sandbox/translations/en/default.json +28 -32
- package/sandbox/apps/sandbox/translations/src/en/fields.json +6 -6
- package/sandbox/apps/sandbox/translations/src/en/pages.json +1 -1
- package/sandbox/config.js +2 -1
- package/sandbox/public/css/app.css +6604 -10
- package/sandbox/public/js/bundle.js +2800 -24
- package/sandbox/server.js +4 -1
- package/sandbox/yarn.lock +3 -3
- package/.nyc_output/4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5.json +0 -1
@@ -2,6 +2,7 @@
|
|
2
2
|
"fields": {
|
3
3
|
"landing-page-radio": {
|
4
4
|
"legend": "Which form would you like to explore?",
|
5
|
+
"hint": "Choose one of the options below and press continue.",
|
5
6
|
"options": {
|
6
7
|
"basic-form": {
|
7
8
|
"label": "Basic form"
|
@@ -15,10 +16,10 @@
|
|
15
16
|
}
|
16
17
|
},
|
17
18
|
"name": {
|
18
|
-
"label": "
|
19
|
+
"label": "What is your full name?"
|
19
20
|
},
|
20
21
|
"dateOfBirth": {
|
21
|
-
"legend": "
|
22
|
+
"legend": "What is your date of birth?",
|
22
23
|
"hint": "For example, 31 10 1990"
|
23
24
|
},
|
24
25
|
"building": {
|
@@ -56,7 +57,7 @@
|
|
56
57
|
}
|
57
58
|
},
|
58
59
|
"countryOfHearing": {
|
59
|
-
"
|
60
|
+
"legend": "What country was the appeal lodged?",
|
60
61
|
"options": {
|
61
62
|
"englandAndWales": {
|
62
63
|
"label": "England and Wales"
|
@@ -70,7 +71,7 @@
|
|
70
71
|
}
|
71
72
|
},
|
72
73
|
"email": {
|
73
|
-
"label": "
|
74
|
+
"label": "Enter your email address"
|
74
75
|
},
|
75
76
|
"phone": {
|
76
77
|
"label": "Phone number",
|
@@ -80,49 +81,45 @@
|
|
80
81
|
"legend": "International phone number"
|
81
82
|
},
|
82
83
|
"complaintDetails": {
|
83
|
-
"label": "Complaint details"
|
84
|
+
"label": "Complaint details",
|
85
|
+
"hint": "Briefly summarise your complaint. Include anything that can help our investigation."
|
86
|
+
},
|
87
|
+
"whatHappened": {
|
88
|
+
"label": "What happened",
|
89
|
+
"hint": "Briefly summarise what happened."
|
84
90
|
},
|
85
91
|
"countrySelect": {
|
86
|
-
"label": "
|
92
|
+
"label": "Which country are you based in?",
|
87
93
|
"hint": "Start to type the country name and options will appear"
|
88
94
|
},
|
89
95
|
"appealStages": {
|
90
96
|
"label": "Appeal stage",
|
97
|
+
"hint": "Choose an appeal stage from the drop down menu",
|
91
98
|
"options": {
|
92
99
|
"null": "Select..."
|
93
100
|
}
|
94
101
|
}
|
95
102
|
},
|
96
103
|
"journey": {
|
97
|
-
"header": "HOF Bootstrap Sandbox Form"
|
104
|
+
"header": "HOF Bootstrap Sandbox Form",
|
105
|
+
"confirmation": {
|
106
|
+
"details": "Your reference number <br><strong>HDJ2123F</strong>"
|
107
|
+
}
|
98
108
|
},
|
99
109
|
"pages": {
|
100
110
|
"landing-page": {
|
101
|
-
"header": "Landing page"
|
102
|
-
"intro": "Choose one of the options below and press continue."
|
111
|
+
"header": "Landing page"
|
103
112
|
},
|
104
113
|
"build-your-own-form": {
|
105
114
|
"title": "Build your own form",
|
106
115
|
"subheader": "Access the build your own form guidance link"
|
107
116
|
},
|
108
|
-
"name": {
|
109
|
-
"header": "What is your full name?"
|
110
|
-
},
|
111
|
-
"dob": {
|
112
|
-
"header": "What is your date of birth?"
|
113
|
-
},
|
114
117
|
"address": {
|
115
118
|
"header": "What is your address in the UK?",
|
116
119
|
"intro": "If you have no fixed address, enter an address where we can contact you."
|
117
120
|
},
|
118
|
-
"
|
119
|
-
"header": "
|
120
|
-
},
|
121
|
-
"radio": {
|
122
|
-
"header": "What country was the appeal lodged?"
|
123
|
-
},
|
124
|
-
"country-select": {
|
125
|
-
"header": "What country is your address located?"
|
121
|
+
"name": {
|
122
|
+
"header": "What is your full name?"
|
126
123
|
},
|
127
124
|
"email": {
|
128
125
|
"header": "Enter your email address"
|
@@ -130,14 +127,6 @@
|
|
130
127
|
"phone-number": {
|
131
128
|
"header": "Enter your phone number"
|
132
129
|
},
|
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
130
|
"confirm": {
|
142
131
|
"header": "Check your answers before submitting your application.",
|
143
132
|
"sections": {
|
@@ -161,6 +150,9 @@
|
|
161
150
|
},
|
162
151
|
"complaintDetails": {
|
163
152
|
"header": "Complaint details"
|
153
|
+
},
|
154
|
+
"whatHappened": {
|
155
|
+
"header": "What happened"
|
164
156
|
}
|
165
157
|
}
|
166
158
|
},
|
@@ -215,7 +207,11 @@
|
|
215
207
|
},
|
216
208
|
"complaintDetails": {
|
217
209
|
"default": "Enter details about why you are making a complaint",
|
218
|
-
"maxlength": "Keep to the
|
210
|
+
"maxlength": "Keep to the {{maxlength}} character limit"
|
211
|
+
},
|
212
|
+
"whatHappened": {
|
213
|
+
"default": "Enter details about what happened",
|
214
|
+
"maxword": "Keep to the {{maxword}} word limit"
|
219
215
|
},
|
220
216
|
"appealStages": {
|
221
217
|
"required": "Select an appeal stage from the list"
|
@@ -15,7 +15,7 @@
|
|
15
15
|
}
|
16
16
|
},
|
17
17
|
"name": {
|
18
|
-
"label": "
|
18
|
+
"label": "What is your full name?"
|
19
19
|
},
|
20
20
|
"dateOfBirth": {
|
21
21
|
"legend": "What is your date of birth?",
|
@@ -29,8 +29,8 @@
|
|
29
29
|
},
|
30
30
|
"townOrCity": {
|
31
31
|
"label": "Town or city"
|
32
|
-
},
|
33
|
-
"postcode": {
|
32
|
+
},
|
33
|
+
"postcode": {
|
34
34
|
"label": "Postcode"
|
35
35
|
},
|
36
36
|
"incomeTypes" : {
|
@@ -66,11 +66,11 @@
|
|
66
66
|
},
|
67
67
|
"northernIreland": {
|
68
68
|
"label": "Northern Ireland"
|
69
|
-
}
|
70
|
-
}
|
69
|
+
}
|
70
|
+
}
|
71
71
|
},
|
72
72
|
"email" : {
|
73
|
-
"label": "
|
73
|
+
"label": "Enter your email address"
|
74
74
|
},
|
75
75
|
"phone": {
|
76
76
|
"label": "Phone number",
|
@@ -50,7 +50,7 @@
|
|
50
50
|
},
|
51
51
|
"confirmation": {
|
52
52
|
"title": "Application sent",
|
53
|
-
"alert": "Application sent",
|
53
|
+
"alert": "Application sent",
|
54
54
|
"subheader": "What happens next",
|
55
55
|
"content": "We’ll contact you with the decision of your application or if we need more information from you."
|
56
56
|
}
|
package/sandbox/config.js
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
/* eslint no-process-env: 0 */
|
4
4
|
module.exports = {
|
5
|
+
port: 8082,
|
5
6
|
email: {
|
6
7
|
caseworker: process.env.CASEWORKER_EMAIL || '',
|
7
8
|
from: process.env.FROM_ADDRESS || '',
|
@@ -12,6 +13,6 @@ module.exports = {
|
|
12
13
|
region: process.env.EMAIL_REGION || ''
|
13
14
|
},
|
14
15
|
hosts: {
|
15
|
-
acceptanceTests: process.env.ACCEPTANCE_HOST_NAME || `http://localhost:${process.env.PORT ||
|
16
|
+
acceptanceTests: process.env.ACCEPTANCE_HOST_NAME || `http://localhost:${process.env.PORT || 8082}`
|
16
17
|
}
|
17
18
|
};
|