kosiakkatrina
78c762b17f
CLDC-1015: limit password reset ( #356 )
...
* Add a failing test (for a wrong reason)
* Is that correct?
* Add rack attack config for reset password
* Add support to read redis configuration
* Add PaaS configuration for redis
* Add too many requests page
* Redirect to the too many requests error page
* update manifest
Co-authored-by: Stéphane Meny <smeny@users.noreply.github.com>
3 years ago
Paul Robert Lloyd
461eb0fe42
Remove ‘your’ when mentioning logs
3 years ago
Paul Robert Lloyd
b13b6d1542
Content tweaks for household needs section
3 years ago
Paul Robert Lloyd
a582a5ce42
Content tweaks for household situation section
3 years ago
Paul Robert Lloyd
a05ccdbefd
Consistent syntax format for form config JSON
3 years ago
Paul Robert Lloyd
faec67800f
Correct content and answer display for household characteristics
3 years ago
Paul Robert Lloyd
14497a6794
Updated answer labels for Household characteristics
3 years ago
Paul Robert Lloyd
d6036ca6a1
Use dash instead of hyphen in question options
3 years ago
Paul Robert Lloyd
1b9d4dba27
Correct order for lead tenant nationality questions
3 years ago
kiddhustle
bc88f3396c
CLDC-959: fix JSON typos
3 years ago
kosiakkatrina
526553d2cd
Update more reasonpref values and error message content ( #346 )
3 years ago
Dushan
70b6a465de
update page routing dependencies household needs ( #345 )
3 years ago
kosiakkatrina
b19dda5c23
fix depends on mapping ( #344 )
3 years ago
kiddhustle
7c228417a8
CLDC-959: add multiple tenant flow
3 years ago
kosiakkatrina
14a2a3e035
Address and mapping fixes ( #343 )
...
* Display inferred address answers
* Update mappings for the rest of the questions in the household situation section
3 years ago
kosiakkatrina
34ae256695
Update validation and db mapping for homeless ( #341 )
3 years ago
kosiakkatrina
71aa068621
only route to prevten if it's supported housing ( #340 )
3 years ago
kosiakkatrina
e7f57315a5
Update referral validation numbers and clearing of the answers ( #339 )
...
* Update referral validation numbers and clearing of the answers
* refactor is_internal_transfer
3 years ago
kosiakkatrina
8ac58aed3a
Add max beds validation ( #337 )
3 years ago
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
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
0a235dbc69
Household situation content ( #327 )
...
* update content
* add a different error message for homeless validation
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
1fdfe81bd7
Ensure fixed term tenancy input has width of 2
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
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
2d41b056b2
Correct order of options in ‘Property information’ sub-section
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
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
baarkerlounger
ac52864a03
Start date validation ( #299 )
...
* Start date validation
* Derive collection windows from form definitions
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
3d203649b0
Don't validate bedroom number if not answered yet ( #295 )
3 years ago
Paul Robert Lloyd
e7e2e732a6
Update order of questions in ‘Set up your lettings log’ section
3 years ago
kiddhustle
11f708d601
CLDC-835: support hint on radio/checkbox questions
...
amend JSON to support hint
CLDC-835: fix check your answers page and fixtures
CLDC-835: fix lint errors
CLDC-835: fix test
3 years ago
Stéphane Meny
14e429759b
Add sentry configuration ( #289 )
3 years ago
baarkerlounger
cd8ba346a2
Time out logged in session after 1 day ( #284 )
3 years ago
baarkerlounger
8418e79426
CLDC-961: Model data versioning ( #277 )
...
* Replace Discard with Paper Trail
* Track who created or changed records via UI
* Track model updates by AdminUsers
3 years ago