Samuel Young
5476bbb352
CLDC-4150: Update hint text for rent period ( #3165 )
1 week ago
Samuel Young
67c1773390
CLDC-4180: Add new rent range file ( #3162 )
...
will be a manual task to load this into CORE
1 week ago
dependabot[bot]
99e4d12053
Bump faraday from 2.7.4 to 2.14.1 in /docs ( #3170 )
...
Bumps [faraday](https://github.com/lostisland/faraday ) from 2.7.4 to 2.14.1.
- [Release notes](https://github.com/lostisland/faraday/releases )
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday/compare/v2.7.4...v2.14.1 )
---
updated-dependencies:
- dependency-name: faraday
dependency-version: 2.14.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 week ago
Samuel Young
c697ddec7f
CLDC-NONE: Fix more flaky tests ( #3160 )
...
* CLDC-NONE: Allow any line order in csv file test
* CLDC-NONE: Get scheme by name rather than array position
* CLDC-NONE: Make org ID test more generic
the test is around a value being cleared so seems unneeded to require a specific ID also
* fixup! CLDC-NONE: Get scheme by name rather than array position
do the same for location
also improve variable names
1 week ago
dependabot[bot]
54bc611bf2
Bump webpack from 5.94.0 to 5.104.1 ( #3163 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.94.0 to 5.104.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack/compare/v5.94.0...v5.104.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-version: 5.104.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 week ago
Samuel Young
4a894d8471
CLDC-4191: Add new referral fields to 2026 exports
...
remove old referral fields from 2026 exports
ensure new referral fields don't show in pre 2026 exports
2 weeks ago
Samuel Young
dab89171bb
CLDC-4191: Update CSV export tests
...
the export happens by default, no changes needed here
2 weeks ago
Samuel Young
5b71132e38
fixup! CLDC-4190: Add tests
...
make test names clearer
2 weeks ago
Samuel Young
001bc58d69
fixup! CLDC-4190: Invalidate all referral fields if any are wrong
...
add punctuation to comment
name validation fields better
2 weeks ago
Samuel Young
6b394d835d
CLDC-4190: Add tests
2 weeks ago
Samuel Young
1d2775d27c
CLDC-4190: Ignore referral validation if BU is renewal
2 weeks ago
Samuel Young
7c575098d5
CLDC-4190: Remove other validations on referral fields
2 weeks ago
Samuel Young
bd210f77a7
CLDC-4190: Invalidate all referral fields if any are wrong
2 weeks ago
Samuel Young
ef4c7165c3
fixup! CLDC-4189: Add tests
...
add cases for other internal transfer flow
2 weeks ago
Samuel Young
b1a6a30dcd
CLDC-4189: Ensure log is not classed as generan needs if prevten isnt answered
2 weeks ago
Samuel Young
73be38242e
fixup! CLDC-4189: Add tests
...
fix missing cases in page specs
use a loop and before blocks for household validation tests
2 weeks ago
Samuel Young
03e70f405c
fixup! CLDC-4189: Add tests
...
fix typo
2 weeks ago
Samuel Young
327390e509
fixup! CLDC-4189: Add PRP flow
...
fix typo
Co-authored-by: Oscar Richardson <116292912+oscar-richardson-softwire@users.noreply.github.com>
2 weeks ago
Samuel Young
bc706582cd
CLDC-4189: Add tests
2 weeks ago
Samuel Young
8f7e12899f
CLDC-4189: Update validation between prevten and referral_register
2 weeks ago
Samuel Young
b4e18dcf66
CLDC-4189: Add PRP flow
2 weeks ago
Samuel Young
407f7d87bd
CLDC-4105: Add new working situation and long-term illness validation ( #3147 )
...
* CLDC-4105: Add working situation illness check to log fields
* CLDC-4105: Add soft validation to main flow
* CLDC-4105: Add tests
soft validations
models
add a label file for this year so the export_codes tests have authentic labels to pull
the old BU completed log answers throw the new soft validation. needed to change illness to 3 to avoid the soft validation as it should be a complete log
* fixup! CLDC-4105: Add working situation illness check to log fields
* fixup! CLDC-4105: Add soft validation to main flow
remove unneeded coalesce
remove unneeded variable
* fixup! CLDC-4105: Add tests
fix after rebase
* fixup! CLDC-4105: Add soft validation to main flow
account for if hhmemb is not answered
2 weeks ago
Samuel Young
6ad1c1983c
CLDC-NONE: Add a test to ensure future logs are completed ( #3159 )
...
* CLDC-NONE: Add a test to ensure future logs are completed
* fixup! CLDC-NONE: Add a test to ensure future logs are completed
fix assertion order
improve test labels
2 weeks ago
Oscar Richardson
0515a7cb36
CLDC-4159: Address / UPRN for supported housing - implementation ( #3145 )
...
* Ask address and UPRN questions for 2026 and later logs
* Fix page tests
* Fix LA and postcode overrides
* Fix resetting address fields and LA
* Add tests for resetting address fields and LA
* Fix lettings log derived fields tests
* Fix lint
* Fix tests
* Clean up lettings log property overrides
* Add comments
* Fix lint
* Add error to location field
* Add error to location field
* Add tests for error on location field
* Refactor property and location postcode matching validation into own function
* Add test for LA override
* Add test for postcode override
* Added `!record.read_attribute(:la)` guard
* Fix lint
* Fix property validation for checking LA is active/in England
* Fix test
* Minor tweaks
* Fix lint
2 weeks ago
Samuel Young
2435223548
CLDC-4156: Update Care Standards Act values ( #3142 )
...
* CLDC-4156: Update Scheme Care options
now uses 1,2,5 as options
* CLDC-4156: Migrate existing scheme options
* CLDC-4156: Update tests
* fixup! CLDC-4156: Update tests
replace old Yes options
* Revert "CLDC-4156: Migrate existing scheme options"
This reverts commit b81ac1c7e4 .
* CLDC-4156: Add rake to migrate schemes
* CLDC-4156: Update rake name
* fixup! CLDC-4156: Add rake to migrate schemes
use update_all over update!
* fixup! CLDC-4156: Add rake to migrate schemes
fix rake desc
* CLDC-4156: Add new question wording
* fixup! CLDC-4156: Update Scheme Care options
remove unused descriptions
* fixup! CLDC-4156: Add new question wording
* fixup! CLDC-4156: Add new question wording
remove hints from function name
2 weeks ago
Samuel Young
5b4b83bdad
fixup! CLDC-4188: Update tests
...
remove unneeded referral_type set
2 weeks ago
Samuel Young
c0797108dd
fixup! CLDC-4188: Update tests
...
lint
2 weeks ago
Samuel Young
eb1b02f8f8
fixup! CLDC-4188: Update tests
...
use before and context blocks better
2 weeks ago
Samuel Young
e4dc36fb66
fixup! CLDC-4188: Infer referral_register for renewals
...
extract dependencies to common list
2 weeks ago
Samuel Young
c3bfc33f5b
fixup! CLDC-4188: Add validation between prevten and referral_register
...
use .prp?
improve grammar
2 weeks ago
Samuel Young
f986fc485d
CLDC-4188: Update existing tests
...
needed as should_reset_referral_register? calls a .find()
2 weeks ago
Samuel Young
7174d0f722
CLDC-4188: Ignore tests failing for future tickets
2 weeks ago
Samuel Young
b75c290a16
CLDC-4188: Update tests
2 weeks ago
Samuel Young
6fb22c1ecb
CLDC-4188: Add validation between prevten and referral_register
...
block two other validations from previous years
2 weeks ago
Samuel Young
f7eef8a5fd
CLDC-4188: Infer referral_register for renewals
...
needs a new dependencies array for 2026
this handles inferring as well as clearing inferred answers if the prior answer changes
2 weeks ago
Samuel Young
3289539c56
CLDC-4188: Add LA flow
...
splits the referral_register question and pages into two, as its not easy to have the answers be dependent
if the owning organisation changes type, reset the referral register question. the other questions do not need to be reset as they are no longer routed to
2 weeks ago
Samuel Young
3b743cde79
fixup! CLDC-4151: Add new fields to bulk upload
...
leave field_131 validations till later
2 weeks ago
Samuel Young
4e6a8c203c
CLDC-4151: Add new questions to log factory
2 weeks ago
Samuel Young
60524b82a9
fixup! CLDC-4151: Add new fields to bulk upload
...
handle the old_visible_id not existing
use override org ID only for the output owning ID. it's only passed as eg ORG1
2 weeks ago
Samuel Young
40fca2865e
fixup! CLDC-4151: Update tests
...
clarify tests that may update
2 weeks ago
Samuel Young
580599a0b9
fixup! CLDC-4151: Add new fields to bulk upload
...
export old_visible_id
set MAX_COLUMNS correctly
check .prp? for prp cols
2 weeks ago
Samuel Young
aa1ddb7c10
CLDC-4151: Add model tests for new questions
2 weeks ago
Samuel Young
659a147c61
fixup! CLDC-4151: Add new referrals questions
...
start q nums from 2026
2 weeks ago
Samuel Young
a3f49e8038
CLDC-4151: Ignore tests failing for later tickets
2 weeks ago
Samuel Young
45aa721438
CLDC-4151: Update tests
...
also add bulk upload file to test with
2 weeks ago
Samuel Young
23aa1efb4e
CLDC-4151: Add new fields to bulk upload
...
use new fields as presented in bulk upload
2 weeks ago
Samuel Young
4e6a5bec4a
CLDC-4151: Remove referral value check
2 weeks ago
Samuel Young
e24a77b9ca
CLDC-4151: Add new referrals questions
2 weeks ago
Samuel Young
bf2c647b18
CLDC-4151: Add new cols to lettings log model
2 weeks ago
Samuel Young
9391d5e649
CLDC-4151: Note deprecations of existing referral questions
2 weeks ago