kosiakkatrina
c2c49924a3
Cldc 491 rent and charges validations (part 1) ( #388 )
...
* move age validation tests to shared validation spec
* Add brent/tshortfall validation
* update period mappings
* Add scharge validation
* update num of weeks from period mapping
* fix test
* change period mappings in test
* Add tests for floats
* change error message content
* add supported housing scharge validation
* add other landlord validations
* refactor
* refactor validation and tests
* Add supcharg validations and refactor
* add total charge calculations
* move constants
* Fix tests and add missing validation messages
3 years ago
Paul Robert Lloyd
956aad0998
Outlaw underscores in URLs ( #394 )
...
* Outlaw underscores in URLs
* Use named vars
Co-authored-by: baarkerlounger <db@slothlife.xyz>
3 years ago
Paul Robert Lloyd
61429870e4
Merge pull request #393 from communitiesuk/privacy-notice
...
Privacy notice
3 years ago
Paul Robert Lloyd
ef5e33bebf
Use govuk_link_to helper for helpdesk link
3 years ago
Paul Robert Lloyd
77fb80dc14
Add link to privacy notice in footer
3 years ago
Paul Robert Lloyd
e5f69dc1a6
Add privacy notice
3 years ago
Paul Robert Lloyd
afc60d627b
Merge pull request #390 from communitiesuk/content-helper
...
Add helper to render Markdown content pages
3 years ago
Dushan
8d861f4d20
CLDC-812 rent type validation ( #391 )
...
* intermediate_rent_product_name validation
* add wrapper method
* include in case log
* review changes
3 years ago
baarkerlounger
c4c0467274
Add a request spec
3 years ago
baarkerlounger
987158b7f4
Un-anger the cop
3 years ago
Paul Robert Lloyd
f5e3b16d58
Add helper to render Markdown content pages
3 years ago
Dushan
e56830cb9c
CLDC-815-long-term-vision-validation ( #387 )
...
* add validation for condition_effects
* fixes
* review changes
* lint fixes
* update wrapper method
3 years ago
baarkerlounger
bace6dd695
Fix conditional field clearing condition ( #389 )
3 years ago
baarkerlounger
b9a5ac80c3
Update london postcode validation error message
3 years ago
baarkerlounger
ea6122fe99
CLDC-663: Weekly total shortfall derived variable ( #385 )
...
* Update HB value mappings
* Derive Weekly shortfall value
* Reset weekly total shortfall when not applicable
3 years ago
baarkerlounger
02cb31947e
Compare as float ( #384 )
3 years ago
baarkerlounger
3b477f0a3e
Host env var used in environment config rather than manually constructing URL ( #381 )
3 years ago
kosiakkatrina
b6f7a0d232
Add more options to the validation ( #383 )
3 years ago
baarkerlounger
9be4178855
Derived rent and charges variables ( #379 )
...
* Derive weekly rent
* Derive weekly charge fields
* Change method to hash constant
* Unify calculation so we can remove case statement
3 years ago
kosiakkatrina
85051a6196
fix error wording ( #382 )
3 years ago
Kat
34f236549c
change error message
3 years ago
baarkerlounger
55da3b7112
Remove dead code ( #380 )
3 years ago
baarkerlounger
1b42ab0228
Bump webpack-cli
3 years ago
baarkerlounger
ca85d1cd9e
Bump ActiveAdmin
3 years ago
baarkerlounger
044dc3dfc3
Bump webpacker
3 years ago
baarkerlounger
1f92e5914b
Bump js dependencies
3 years ago
baarkerlounger
4742ece04e
Repo url in deploy stage
3 years ago
Stéphane Meny
092365397f
CLDC-996 Login lockout ( #377 )
3 years ago
baarkerlounger
15c55f9f50
Update production pipeline repo url
3 years ago
baarkerlounger
7d3a31d4cd
CLDC-902: London location validation ( #378 )
...
* Also add london borough error message to postcode field
* Rubocop
* Test timeout rescue
3 years ago
kosiakkatrina
ac8d41b4ba
Add reason and referral validations ( #376 )
...
* Add reason and referral validations
* extract method
3 years ago
Kat
48139ab68f
lint
3 years ago
kosiakkatrina
1cb5fd43b1
Add prevten validations ( #374 )
...
* Add prevten validations
* Fix indentation and extract a case_log method
* extract refuge method
3 years ago
baarkerlounger
9cc666e0f8
Sentry fixes ( #373 )
...
* Show validation error if user email already exists instead of crashing
* Use translation strings
* When answer option is mapped just display directly
* Validate provider type presence
3 years ago
kosiakkatrina
3488d96713
remove tenancy/referral validations ( #375 )
3 years ago
Dushan
484bb499e6
CLDC-788 interruption screen net income soft validation ( #372 )
...
* Set up failing test for new soft validation design
* remove unneeded js controller
* remove unneeded controller and spec
* rename net income validation override column
* spec form changes (to allow tests to run)
* validation spec changes
* replace all instances of override_net_income_validatiom
* passing first test
* Add to form and import styling
* remove unneeded code from interruption screen view
* Update test & code - failing last new expectation
* Display 2 previous question answers in the informative text
* extract displaying of the informative text into a helper
* Add tests for helper
* Remove some of the previous soft validations set up
* fix some failing specs
* Fix more tests
* lint
* Reset earnings question prefix and suffix to initial values instead of nil
* make it route backwards on a no
* test and linter fixes
* refactor next_page
* stryling
* more changes
* fix specs
* update real form
* design tweaks
* delete commented out tests
* content changes
* content changes
* changes to informative/hint text
* More robust styles for interuption panel, use smart quotes
* Rubocop
Co-authored-by: Kat <katrina@madetech.com>
Co-authored-by: Paul Robert Lloyd <me+git@paulrobertlloyd.com>
Co-authored-by: baarkerlounger <db@slothlife.xyz>
3 years ago
baarkerlounger
688341d7dd
Permit editable fields in admin
3 years ago
kosiakkatrina
2b249c3449
consistently show prevten if it's not a renewal question ( #371 )
3 years ago
kosiakkatrina
b83aac0cd7
reset underoccupation benefitcap if it's not a renewal. Only set underoccupation benefitcap and prevten if it is a renewal ( #370 )
3 years ago
kosiakkatrina
a9b9381215
Fix prevten inferred values, revert routing change for prevten ( #369 )
...
* Fix prevten inferred values, revert routing change for prevten
* tests
3 years ago
baarkerlounger
5c94dcd211
Lookup org id for API requests ( #368 )
3 years ago
baarkerlounger
739d1d761a
CLDC-1016: Fix 2FA bypass ( #367 )
...
* Failing test
* Simplest thing to make spec pass
* Extract to method
* Set condition based on class having the 2fa module rather than hardcoding class name
3 years ago
Kidd Hustle
772f7930a9
Merge pull request #366 from communitiesuk/feature/CLDC-1058-semantics
...
CLDC-1058: fix landmark semantic errors
3 years ago
kiddhustle
2fdd4667be
CLDC-1058: fix landmark semantic errors
3 years ago
baarkerlounger
03479199d4
Lead tenant must be at least 16 ( #365 )
3 years ago
kosiakkatrina
20337f217f
fix the question dependency for prevten ( #364 )
3 years ago
baarkerlounger
6ecbf7e187
Bump ruby ( #363 )
...
* Bump ruby
* Bump workflow too
3 years ago
baarkerlounger
cbda43dd1c
Rails security bump
3 years ago
baarkerlounger
2ae94b01d7
Generically validate all numeric question min and maxes ( #362 )
...
* Generically validate all numeric question min and maxes
* Update error message
3 years ago
Paul Robert Lloyd
cf437012c8
Merge pull request #360 from communitiesuk/void-renew-date-condition
3 years ago