baarkerlounger
0f1f03aa8f
Refactor enums ( #321 )
...
* Remove enums
* Add some convenience methods to make validations more readable
* Gender chars instead of ints
* Remove incorrect API doc info for now
* More convenience methods
* Rename label from value method
* Wrapper hbrentshortfall
* Please the cop
3 years ago
kosiakkatrina
e22fb262ec
Do not reset text field values ( #333 )
3 years ago
kosiakkatrina
3f9cd65365
Household situation fixes ( #332 )
...
* content changes and prevloc validation
* add la validation to the property information section
* Fix the tests
3 years ago
kosiakkatrina
ec8a905dbb
Display number of bedrooms validations on bedroom questions and add validation for negative number of bedrooms ( #331 )
3 years ago
kosiakkatrina
b60fbde4bb
add more financial validations ( #329 )
3 years ago
kosiakkatrina
95dcff47c2
put or dividers in the correct place ( #330 )
3 years ago
Dushan
aea12947eb
CLDC-630: Household needs section ( #311 )
...
* household needs section change
* update enums
* fix specs
* spec fixes
* content updates to form
* fix failing spec
* remove hint text
* Update config/forms/2021_2022.json
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
kosiakkatrina
79781b5a79
Reset more values ( #328 )
...
* Reset more values
* rubocop
* Add a spec
3 years ago
kosiakkatrina
0a235dbc69
Household situation content ( #327 )
...
* update content
* add a different error message for homeless validation
3 years ago
kosiakkatrina
abdae7f86c
check if answer options are present ( #326 )
3 years ago
Paul Robert Lloyd
772424e346
Merge pull request #325 from communitiesuk/930-tenancy-start-date-hint
...
Update hint text for tenancy start date
3 years ago
Paul Robert Lloyd
05f38e1f94
Update hint text for tenancy start date
3 years ago
kosiakkatrina
b47c7a5d91
Cldc 810 outside of the uk addresses ( #323 )
...
* Move previous_la into conditional question for la_known, add a hing and reset la if la_known is not Yes"
* update location json
* Update previous la known separately
3 years ago
Paul Robert Lloyd
911b59ada6
Merge pull request #324 from communitiesuk/1020-tenancy-length-width
...
Ensure fixed term tenancy input has width of 2
3 years ago
Paul Robert Lloyd
1fdfe81bd7
Ensure fixed term tenancy input has width of 2
3 years ago
kosiakkatrina
02e5c2132d
Change how we're reseting answers ( #322 )
...
* Reset values for dependant derived questions (only layear)
* do not reset questions that have selected answer options
* Fix test and assign nil to dependent
* rubocop
* update dependencies
3 years ago
kosiakkatrina
cd882d322f
add homelessness validation ( #319 )
3 years ago
kosiakkatrina
ab1a16fb58
Cldc 465 tenancy type validation ( #312 )
...
* Validate internal referrals and secure tenancy
* Fix referral validations and move referral validation from local_authority to household
* Move validation
* Add more error messages
* lint
* fix typo in test
* Check that the methods get called
* Fix lint
3 years ago
baarkerlounger
bbae370bda
Fix sending reset email for admins ( #313 )
...
* Fix sending reset email for admins
* Reset does not let you bypass 2FA
* Trigger SMS on admin password reset
* Update flash message for 2FA
* Update Admin Login header
* Rubocop
* 422
* Revert unused view
3 years ago
Paul Robert Lloyd
468374fc25
Merge pull request #316 from communitiesuk/design-audit-5
...
Correct logic for void/renewal/handover dates
3 years ago
Paul Robert Lloyd
070405eba0
Merge pull request #317 from communitiesuk/design-audit-4-fixes
...
Update case log constants to match JSON form config
3 years ago
Paul Robert Lloyd
fd2ab86723
Update case log constants to match JSON form config
3 years ago
Paul Robert Lloyd
d6a4d5d528
Correct logic for void/renewal/handover dates
3 years ago
Paul Robert Lloyd
0f1ad1b4af
Merge pull request #315 from communitiesuk/design-audit-4
...
Correct order of options in ‘Property information’ sub-section
3 years ago
Paul Robert Lloyd
2d41b056b2
Correct order of options in ‘Property information’ sub-section
3 years ago
Paul Robert Lloyd
f8e5b603b8
Merge pull request #314 from communitiesuk/update-section-order
...
Update section order
3 years ago
Paul Robert Lloyd
ceb60df35b
Change order of log sections
3 years ago
Paul Robert Lloyd
0df673e371
Reorder ‘Property and tenancy information’ sub-sections
3 years ago
Stéphane Meny
9545122114
Replaces enum text values in export by related numbers ( #310 )
3 years ago
baarkerlounger
3b9c934279
Refactor validation specs ( #307 )
...
* Vacancy reason validations
* Rubocop
* Accessibility requirement specs
* Rename context
3 years ago
baarkerlounger
62a685336c
Set minimum password length ( #309 )
3 years ago
kosiakkatrina
2bc2df84fb
Cldc 629 household situation renewal ( #308 )
...
* Add routing for renewals
* Fix inferring postcode (it works 🤷♀️ )
* Infer remaining renewal variables
* update check answer labels
* Route to the next page if the first one is not routed to from tasklist
* Fix allocation unknown type and depends on for referrals
* add a test for and rename first_page_or_check_answers'
3 years ago
baarkerlounger
31fd1f8350
Fix child relat value ( #306 )
3 years ago
baarkerlounger
9d77a93859
Refactor validation specs ( #304 )
...
* Refactor other household member validation specs
* Remove dupes
* Tenancy type validation
* LA validations
* Benefits proportion validations
* Outstanding rent and shortfall validations
* Typo
* Net income hard validations
* First let vacancy reason validations
3 years ago
baarkerlounger
22e566e7ae
Refactor Reason for leaving last settled home validations ( #303 )
...
* Refactor other field validation
* Refactor reason for leaving last settled home validations
* Additional tests
* Remove dupe code
* Remove dupe validation
* Armed forces injured validations
* Armed forces
* Major repairs date validations
* Void date validations
3 years ago
Paul Robert Lloyd
2045b4cfa0
Merge pull request #302 from communitiesuk/update-email-address
...
Update email address
3 years ago
Paul Robert Lloyd
7c0db49850
Update email address
3 years ago
baarkerlounger
028e59c34c
Add gem audit pipeline stage ( #301 )
...
* Add gem audit pipeline stage
* Make deploy dependent on audit
* Rubocop
3 years ago
baarkerlounger
0bdc26429a
Bump puma
3 years ago
baarkerlounger
6cc21ec34d
Rails security release
3 years ago
baarkerlounger
7aff64d0a3
Ensure case log always returns a form
3 years ago
baarkerlounger
6b98cf354f
Fix page invalidation when no form set
3 years ago
baarkerlounger
b7db0e8f72
Remove rubocop rule
3 years ago
baarkerlounger
49f27e6ccc
Ruby 3.1 syntax rubocop
3 years ago
baarkerlounger
af72e95419
Bump node and ruby for new buildpack ( #300 )
...
* Bump node and ruby for new buildpack
* Disable 3.1 cop for now
3 years ago
baarkerlounger
ac52864a03
Start date validation ( #299 )
...
* Start date validation
* Derive collection windows from form definitions
3 years ago
baarkerlounger
ad8f99cabe
Refactor validation specs ( #297 )
...
* Unit tests
* Age validations
* Add todo
* Check all new records have correct validator
* Reasonable preference
* Pregnancy validations
* Spec
* Fix spec
3 years ago
kosiakkatrina
d77b1c3c05
Cldc 629 household situation ( #298 )
...
* Update household situation section questions #1
* fix typo
* update prevten content
* update homeless and benefitcap questions
* Add location questions to houshold situation
* Update reasonable preference and letting allocation questions
* Update depends on for postcode and referral
* fix content for non renewal household situation questions
* fix test
* update inferred conditions
* remove eval
3 years ago
MadeTech Dushan
0c020323b4
remove don't know option
3 years ago
baarkerlounger
de09a8da9e
Bump sentry
3 years ago