Manny Dinssa
4e7003f66c
Add translation key to soft validations
10 months ago
Manny Dinssa
b84bf5671a
Add check answer prompt method to question model and translation key
10 months ago
Manny Dinssa
be24a74edc
Revert "Add question marks to yes no questions - test"
...
This reverts commit 40bee289
10 months ago
Manny Dinssa
40bee289d8
Add question marks to yes no questions - test
10 months ago
Rachael Booth
4157a7bb8f
CLDC-3732: Update review apps seeds ( #2834 )
...
* Update seeds
* Fix linting
* Update dsa bits
* Fix duplicate user/org variable names
* Fix create_list
* Set faker locale for development and review
* Update tests that relied on user factory default name
* Update more tests
* Add additional randomness to log factories
* Also create older logs
* Update tests and log randomness
* Ensure sufficient gap between child and parent ages
* More test fixes
* Specify names for users
* Fix more tests
* Fix lint
* More fixes
* More randomness in organisation generation
* Add some extra organisations
* Create future logs if future form use is enabled
* Update tests that expect fixed default org name
* Update more tests
* Fix typo
* Another tweak
* More test fixes
* More test fixes
* Another fix
* Update more tests
* More fixes
* Only create outright sale logs for relevant years
* Reduce max random age to avoid soft validations
* Don't allow sales logs to use no longer valid relat value
* Include fixed locations
10 months ago
kosiakkatrina
b0500a297d
CLDC-3728 Add more merge request validations ( #2814 )
...
* Add more_than_year_from_today merge date validation
* Add a part of another merge validation
* Disable merging if merge day is in the future
10 months ago
kosiakkatrina
fcd4744694
Add create test log button ( #2804 )
...
* Add create test log button
* Add setup only button
* enable test logs on review apps
* Add factorybot to all environments
* Add faker
10 months ago
kosiakkatrina
6c10172c78
CLDC-3755 Add 2025 shared ownership subsection ( #2782 )
...
* Add shared ownership initial purchase subsection
* Display correct subsection based on year
* Update some content
* Update LivingBeforePurchase routing
* Update routing and check for page existence in guidance
* Add management fee questions
* Only check the subsections relevant to the form
* Update content
* Update financial calculations text
10 months ago
kosiakkatrina
6b61a68df7
CLDC-3700 Update csv downloads ( #2785 )
...
* Save a csv download record
* Allow downloading CSVs
* Make links expire
* Send correct download link
* Fix world
* Make csv downloads work locally
* Set expiration time on the record
* lint
* Update download urls
* Update expiration time
* Update expired link content
* Add a page to view the download
* lint
* lint again
10 months ago
kosiakkatrina
9628b4e915
Update hint text ( #2796 )
10 months ago
kosiakkatrina
671232daa9
CLDC-3734 Add LA in England validation for 2025 ( #2763 )
...
* Add LA in England validation for 2025
* Validate supported housing logs
* Add error message to the date
* Update error messages
* lint
* Fix error messages for date
* Update no address found soft validation
* Update validation messages
10 months ago
Manny Dinssa
bc1fe83750
CLDC-3757: Sales - Change values in validation check for Q84 (25/26) ( #2781 )
...
* Update 2025 version of validation check
* Update validation for 2025
* Put two if statements into one
* Different approach to comparing dates
* Alternative method to compare dates
* Update tests
10 months ago
kosiakkatrina
a3ce7e9f95
Update validation message ( #2783 )
10 months ago
Manny Dinssa
4dc323059f
CLDC-3738: Sales - Update household characteristics Q29 and Q38 (25/26) ( #2774 )
...
* Create 2025 versions of these questions
* Remove blank line
* Update copy and use 2025 version of question
* Add tests
* Update depends on
* Update question number
* Update test
* Remove depends_on companybuy which has been removed
* Fix lint
10 months ago
kosiakkatrina
16393cf4ab
Trigger income error on uprn_selection ( #2771 )
10 months ago
kosiakkatrina
10de485408
CLDC-3698 Rename household needs to other household information for sales ( #2772 )
...
* Rename household needs occurences
* Rename files
10 months ago
kosiakkatrina
0083485b42
CLDC-3690 Extract lettings property validations copy ( #2742 )
...
* Extract lettings property validations copy
* Update uprn question
* Remove redundant validations (can't trigger them because on inferrance)
10 months ago
Manny Dinssa
0b4ff65429
CLDC-3689: Extract lettings household validations ( #2741 )
...
* Extract household validations
* Use question ids a primary key
* Fix lint
* Refactor, remove one level of keys
* Fix merge
10 months ago
Rachael Booth
2b629891fb
CLDC-3666: Pull sales financial validations into translations file ( #2716 )
10 months ago
Manny Dinssa
1a07e37049
CLDC-3717: Sales - Remove Q9 (Is the buyer a company?) (25/26) ( #2755 )
10 months ago
Manny Dinssa
154f4d9538
CLDC-3721: Sales - Move Q78 (Is this a staircasing transaction?) to setup section (25/26) ( #2751 )
10 months ago
Manny Dinssa
3125171edf
CLDC-3718: Sales - Remove Q10 (Will any buyers live in the property?) (25/26) ( #2757 )
10 months ago
Rachael Booth
7d407ab4c6
CLDC-3739: Remove buyer orgs question from 2025 ( #2766 )
10 months ago
Manny Dinssa
30442fcee2
CLDC-3735: Sales - Move Q19 (What type of unit is the property?) (25/26) ( #2760 )
10 months ago
Manny Dinssa
b681b101f3
CLDC-3715: Sales - Remove Q8 (What is the type of outright sale?) (25/26) ( #2753 )
10 months ago
kosiakkatrina
afc7cf86b4
Exctract financial validations ( #2740 )
10 months ago
Manny Dinssa
61eb0057f6
CLDC-3693: Extract shared validations ( #2744 )
...
* Extract lettings household validation from shared validations
* Extract lettings setup validation from shared validations
* Extract only shared validations
10 months ago
kosiakkatrina
020b8a4f4c
CLDC-3686 Extract lettings soft validations copy ( #2735 )
...
* Extract household characteristics soft validations
* Extract household needs soft validations
* Extract household situation soft validations
* Extract income and benefits soft validations
* Extract property information soft validations
* Update tests and 2024 soft validations
* Update some test forms
* Re-add sales validation
* Update BU tests
* Fixes
* Change higher to longer
* Update model test
* Update model test
* Add 2025 translations copied from 2024
* Update pregnancy and retirement copy
---------
Co-authored-by: Manny Dinssa <44172848+Dinssa@users.noreply.github.com>
Co-authored-by: Rachael Booth <rachael.booth@softwire.com>
10 months ago
Rachael Booth
1d23f9e50a
CLDC-3716: Allow 25/26 form use on dev, review, and staging environments ( #2749 )
...
* CLDC-3716: Allow 25/26 form use on dev, review, and staging environments
* Remove empty line
11 months ago
kosiakkatrina
dd9bc7b191
CLDC-3669 Extract bulk upload validations ( #2719 )
11 months ago
kosiakkatrina
1e968e50a6
CLDC-3694 Extract lettings BU validations
11 months ago
Manny Dinssa
83e3ddccdd
CLDC-3692: Extract lettings tenancy validations ( #2743 )
...
* Extract lettings tenancy validations
11 months ago
Manny Dinssa
fa83f3abc2
CLDC-3685: Copy changes lettings income and benefits ( #2732 )
11 months ago
kosiakkatrina
51bc0cffeb
CLDC-3665 Extract sale information copy ( #2711 )
...
* Extract shared ownership copy
* Extract discounted ownership copy
* rename files
* CLDC-3665 Extract sale information soft validations (#2712 )
* Extract shared ownership copy
* Extract shared ownership soft validations
* Extract discounted ownership validations
* Fix mappings
* Update some translations
* Remove full stops
11 months ago
kosiakkatrina
8585940769
CLDC-3365 Validate BU file size ( #2725 )
...
* Validate BU file size
* Rebase update
* Update error messages
11 months ago
kosiakkatrina
3cda5adf5c
CLDC-3683 Extract lettings household situation copy ( #2730 )
...
* Extract lettings household situation copy
* Update wrong copy, remove duplicate keys
11 months ago
kosiakkatrina
625b0c757c
CLDC-3668 Extract guidance copy ( #2737 )
...
* Extract guidance copy
* Update tests and lint
11 months ago
Manny Dinssa
576d0900fa
CLDC-3691: Extract copy - lettings setup validations ( #2739 )
11 months ago
Manny Dinssa
47928f3842
CLDC-3680: Copy changes lettings property information questions ( #2726 )
11 months ago
Manny Dinssa
7f016f898f
CLDC-3687: Extract copy - lettings date validations ( #2738 )
11 months ago
Manny Dinssa
f9922c1ba4
CLDC-3654: Copy changes - Sales property information questions ( #2694 )
11 months ago
kosiakkatrina
f2f44329f3
CLDC-3684 Extract lettings tenancy information copy ( #2731 )
...
* Extract lettings tenancy information copy
* Fix flaky merged schemes test
11 months ago
Rachael Booth
a00489b7d7
CLDC-3659: Pull sales household situation questions copy into translation file ( #2701 )
...
* CLDC-3659: Pull sales household situation questions copy into translation file
* Fix header->question_text
11 months ago
kosiakkatrina
ff3f789acc
CLDC-3681 Extract lettings household characteristics copy ( #2728 )
...
* Extract lettings household characteristics copy
* Update cya labels for age known
* Update missing keys and copy
11 months ago
kosiakkatrina
83877dae69
Extract lettings household needs copy ( #2729 )
11 months ago
kosiakkatrina
9763013ac1
Extract sale information validations into a separate translations file ( #2699 )
11 months ago
Manny Dinssa
247b7f212f
CLDC-3679: Copy changes lettings setup questions ( #2723 )
11 months ago
kosiakkatrina
1ffc440342
CLDC-3656 Extract household characteristics question and page copy to translation files ( #2702 )
...
* Extract question and page copy to translation files
* Refactor 2 question pages
* Readd removed answer options
* Fix missing/wrong age mappings
* Update some pages/questions
* Update tests
* CLDC-3656 Extract household characteristics soft validations (#2707 )
* Extract retirement confirmation questions
* Extract old persons shared ownership confirmation questions
* Extract income confirmation questions
* Extract buyer live-in value check page and question copy to translation files
* Extract student not a child confirmation questions and page copy to translation files
* Extract partner under 16 value check page and question copy to translation files
* Extract partner under 16 value check page and question copy to translation files
* Update some missing/wrong keys
* Update some keys on 2023
* Update BU tests
11 months ago
kosiakkatrina
469211ce65
CLDC-3661 Update year format ( #2713 )
...
* Update year combo format
* lint
* Update tests and validations
* update model tests
* Update bu list year format
* Update test
11 months ago
kosiakkatrina
0799ff7a36
CLDC-3658 Extract household needs copy ( #2718 )
...
* Extract household needs subsection copy
* Extract housing needs soft validations copy
* Add new lines at the end of some files
11 months ago