baarkerlounger
2dd1dbab62
Check template is shown ( #191 )
3 years ago
baarkerlounger
ed7679fdf9
Tenant's MUST be shown the privacy notice otherwise you can't complete the rest of the form ( #187 )
...
* Add failing spec
* About this log is only completed when privacy notice has been marked as shown
* Refactor special case into question
3 years ago
baarkerlounger
bbb13e4a24
Fix first let validations ( #185 )
3 years ago
baarkerlounger
8c39e7ad57
Add outside England options to past LA question ( #184 )
3 years ago
baarkerlounger
b9f60494d3
Redirect to tasklist page if section or question is not enabled yet ( #183 )
3 years ago
baarkerlounger
5e2222675e
Format date on check answers page
3 years ago
baarkerlounger
982e3efdca
Accessible autocomplete: Only enhance select element once ( #182 )
...
* Only enhance select element once
* Add test for disabled select option
* Select by key
* Test for selected option
* Rubocop
* Instance vars
* Don't turbo cache page to make js function act each time
3 years ago
baarkerlounger
9e86e2f8dd
Revert
3 years ago
baarkerlounger
319250f697
Set enhancement on input
3 years ago
baarkerlounger
c2805ac82e
Set selected value correctly
3 years ago
baarkerlounger
d655b6872d
Don't progressively enhance select options multiple times
3 years ago
baarkerlounger
7f5020ed87
Set default select value
3 years ago
baarkerlounger
e13e0b10f8
Accessible autocomplete for select questions ( #181 )
...
* Include accessible autoselect package
* Test type ahead functionality
* Add CSS
* Disabled null value
* Fix answer options so they match validations
* Disabled
* Only english LAs for current LA
* Rubocop
3 years ago
baarkerlounger
c568dcdf3d
Iterate over all forms ( #176 )
...
* Iterate over all forms
* Re-lookup page to ensure we have the definition for the right form
* Match form naming convention for spec and real
* Add test for case log form
3 years ago
baarkerlounger
3f51f0cf35
Hint text isn't mandatory
3 years ago
Paul Robert Lloyd
d7e73d3cba
Update label and hint text for privacy notice question
3 years ago
Paul Robert Lloyd
25d84fe381
Allow HTML in hint text
3 years ago
Paul Robert Lloyd
506e9cd221
Add errors controller
3 years ago
baarkerlounger
95210ce528
Rails requires for us
3 years ago
baarkerlounger
d600edc2eb
Send rather than eval
3 years ago
baarkerlounger
11c1df0bdd
Redirect to logs if they clicked start now ( #175 )
3 years ago
baarkerlounger
4d3b7f31e8
Not currently using the asset pipeline
3 years ago
baarkerlounger
195c41eccc
Rails 7 ( #174 )
...
* Rails 7 config
* Gem bumps
* Turn off unused rails engines
* Rails 7 released
* Rubocop
* Not currently using ActionCable
3 years ago
Paul Robert Lloyd
ed01b02d11
CLDC-546 Add start page ( #173 )
...
* Delete superfluous assets folders
* Delete about page
* Replace test page with explictly named start page
* Add content for start page
3 years ago
kosiakkatrina
e09e804d6f
Add timeout for postcode lookup ( #170 )
...
* Add timeout for postcode lookup
* reset location fields when postode not known
* Reset partial postcodes after setting the main postcode field and add tests
3 years ago
kosiakkatrina
2fe46a0cc6
CLDC-654: Infer totadult ( #168 )
...
* Infer totadult
* disable rubocop for accessing age and relat fields
* Check if age is nil before checking totadult
3 years ago
Matthew Phelan
c6407d7da8
validat unitletas
3 years ago
kosiakkatrina
a8b7af0cbd
Add and derive totelder field ( #167 )
3 years ago
kosiakkatrina
ac6e8c23b2
CLDC-653: totchild derived field ( #166 )
...
* Add missing mappings and infer totchild
* Extract method;
3 years ago
Kat
53ebdc586e
Update validation error message content
3 years ago
kosiakkatrina
d236c5334a
Cldc 575 inferred la ( #165 )
...
* Infer la from postcode
* Fix other tests and lint
* Add routing based on inferred la
* reset la to inferred false
* Use postcodes io gem
* reset values if la cannot be inferred
* Fix tests
3 years ago
Matthew Phelan
c5a7a0ddf9
CLDC-492: rubocop corrections
3 years ago
Dushan
831f59c6da
Cldc 650 derived startdate ( #164 )
...
* add fields for deriving startdate
* Add test for inferring startdate, fix other tests
* infer day, month, year instead
3 years ago
kosiakkatrina
58fc5982eb
Cldc 478 accessibility requirements validation ( #163 )
...
* Validate accessibility requirements
* update missing mappings
3 years ago
Matthew Phelan
be83b5439e
CLDC-492
...
validate_hbrentshortfall
3 years ago
Paul Robert Lloyd
0b4722c51c
Remove references to ‘case logs’ in frontend
3 years ago
Paul Robert Lloyd
d4b7474374
Use ‘logs’ in URL slug
3 years ago
baarkerlounger
3b7bc3f2bb
Validate that password match when updating and show errors if they don't ( #158 )
...
* Validate that password match and show error if not
* User spec
* Test user update failure
* Format error messages for Form builder gem
* Test error message
3 years ago
baarkerlounger
b9493f2cac
Fix admin password update
3 years ago
baarkerlounger
2f76c06670
Remove flash alert from reset password page
3 years ago
baarkerlounger
5842f7aed7
Fix password reset flow ( #157 )
...
* Render gov uk reset view
* Pass password reset token
* Test password update and sign in
* The cop is working
3 years ago
Matthew Phelan
a05b1264ca
Text Area Added
3 years ago
baarkerlounger
5e0cf43a30
Rubocop
3 years ago
baarkerlounger
fb0b2aa246
Organisation name in mailer
3 years ago
baarkerlounger
2e0d0bfd7f
Fix action mailer on gov paas ( #153 )
...
* Set action mailer host to env vars
* Inject env var
* Fix template
* Single env var
3 years ago
baarkerlounger
6048bc7022
Rubocop
3 years ago
baarkerlounger
f9e85961fc
CLDC-730: Data Coordinators can edit org details ( #150 )
...
* Data coordinators can edit some organisation details
* Apply suggestions from code review
PR tweaks
Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
* PR comments
* Address line label
* Apply suggestions from code review
Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
3 years ago
Kat
752a7c8f13
Fix a typo
3 years ago
kosiakkatrina
b188e523b3
Only show success message when the password is updated ( #151 )
3 years ago
Matthew Phelan
c74fd1d4c1
CLDC-764: Hyphen to Colon change
3 years ago