Aaron Spencer
6205a2e006
CLDC-2672: WIP
1 year ago
Aaron Spencer
5237928f93
Merge branch 'main' into CLDC-2672-duplicate-logs-question-page-button
1 year ago
kosiakkatrina
d3dec60f39
Only set soc tenant fields for 2022 or if they're given ( #1908 )
...
* Only set soc tenant fields for 2022 or if they're given
* Refactor
1 year ago
kosiakkatrina
a1cc9d7863
Move person details if some persons are skipped ( #1903 )
...
* Move person details if some persons are skipped
* Check that undesired person details don't get saved
* Make sure we don't repeat people details
1 year ago
kosiakkatrina
077390bb5b
CLDC-2699 Update values updated at when updating reason field ( #1909 )
...
* Update values updated at
* Update tests
1 year ago
natdeanlewissoftwire
c80565a54d
Make saledate nil safe(r) ( #1904 )
...
* feat: allow missing day/month/year values if CompletionDate exists as we don't always receive these from old core
* feat: make safe string as decimal nil safer too
* feat: add test
1 year ago
natdeanlewissoftwire
213a4bf229
Blank invalid combined income and proplen values on migration ( #1907 )
...
* feat: clear invalid combine incomes
* feat: clear out of range proplen values
1 year ago
kosiakkatrina
564fa9ebb5
Mark hodate value check confirmed ( #1906 )
...
* Mark hodate value check confirmed
* Add other missing value_checks for sales
1 year ago
kosiakkatrina
961aefa095
Add Children’s Social Care to all referral questions ( #1905 )
1 year ago
kosiakkatrina
c049089684
CLDC-2725 Add missing sales data report ( #1893 )
...
* Add missing sales answers reporting
* Fix log name
1 year ago
kosiakkatrina
bda7bc7d08
Only blank tenancy length when it is invalid for tenancy type ( #1902 )
...
* Only blank tenancy lenght when it is invalid for tenancy type
* Update spec/services/imports/lettings_logs_import_service_spec.rb
Co-authored-by: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com>
---------
Co-authored-by: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com>
1 year ago
kosiakkatrina
8726d231bd
Remove homelessness validation from the import ( #1901 )
1 year ago
kosiakkatrina
f59c67b651
Add reimport reason update_field case ( #1896 )
1 year ago
kosiakkatrina
11ca1bbcff
CLDC-2724 Add missing data reporting for imported lettings logs ( #1892 )
...
* Add generate_missing_answers_report task and method
* Create example report
* change task description
* refactor
* Report old form id instead of old id
1 year ago
natdeanlewissoftwire
19ad92c21d
feat: don't raise "no matching location" error ( #1900 )
1 year ago
natdeanlewissoftwire
41228e2295
Fix hundredth error on migration of very small scharge values ( #1898 )
...
* feat: round all decimal values to 2dp in safe_string_as_decimal
* refactor: lint
1 year ago
natdeanlewissoftwire
e5e6e1e21a
Enforce offered as integer ( #1897 )
...
* feat: ensure offered is an integer (decimal 0 was triggering validation errors)
* feat: allow decimals but clear when not integer equivalent as per new requirements
1 year ago
kosiakkatrina
c3636c1286
CLDC-2696 Add reimport addresses task ( #1891 )
...
* Add update address service for lettings
* Only process collections 2023 onwards
* Update app/services/imports/lettings_logs_field_import_service.rb
Co-authored-by: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com>
* Refactor postcode_known
* test
---------
Co-authored-by: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com>
1 year ago
kosiakkatrina
719321945b
Set unassigned user if legacy user belongs to a different organisation ( #1894 )
...
* Set user to unassigned in lettings logs if the legacy user exists but belongs to a different organisation
* Set user to unassigned in sales logs if the legacy user exists but belongs to a different organisation
* Lint
1 year ago
kosiakkatrina
c4c93dd4cd
CLDC-2713 Add a rake task to reimport addresses from csv ( #1890 )
...
* Add a rake task to reimport addresses from csv
* Add empty line
* Update postcode known
* Update values updated at column
1 year ago
kosiakkatrina
0d61ffb804
Add rolling strategy back ( #1888 )
1 year ago
kosiakkatrina
d43e9546ae
Remove rolling strategy on staging ( #1887 )
1 year ago
natdeanlewissoftwire
aed7926340
feat: set timeout to 3 mins when pushing to staging ( #1886 )
...
* feat: set timeout to 10 mins when pushing to staging
* feat: set timeout to 3 mins when pushing to staging (the max)
1 year ago
kosiakkatrina
2920917292
Create an unassigned user per organisation ( #1885 )
1 year ago
kosiakkatrina
9ae32ac266
remove validate_years_living_in_property_before_purchase ( #1878 )
1 year ago
kosiakkatrina
3b53e3e696
Remove homelessness validation ( #1877 )
1 year ago
kosiakkatrina
558a237e07
Add extra options for renewal reason ( #1876 )
1 year ago
kosiakkatrina
4d275a5c02
CLDC-2689 Export migrated logs ( #1873 )
...
* Add imported_at columns
* Set imported at date for lettings logs
* Set imported at for sales logs
* Export logs migrated since the previous partial export
* Rename column
* rebase changes
* Re-add test
1 year ago
kosiakkatrina
3437f9725e
CLDC-2753 Add unassigned user for imported logs ( #1883 )
...
* Add unassigned user if we can't find a legacy user for a log
* Add generate_unassigned_logs_report
* Log user email address if validation fails on user import
1 year ago
natdeanlewissoftwire
2256cc9d73
Migration fixes ( #1881 )
...
* feat: make offered unsafe as 0.00 is an expected value
* feat: add correct refused options for sex and relat questions
* refactor: lint
* feat: use safe_string_as_decimal
1 year ago
kosiakkatrina
3c0a644e08
Make sure we pass an integer to export_xml_lettings_logs ( #1880 )
1 year ago
kosiakkatrina
3bd6cab5c5
CLDC-2684 Allow full export per year ( #1875 )
...
* Allow full export for specific year
* Update production manifest
* Call export_xml_lettings_logs with nil if no year is given
* Rename method
1 year ago
natdeanlewissoftwire
ef08519de2
feat: update org importer to handle xmls without institution namespace ( #1879 )
...
* feat: update org importer to handle xmls without institution namespace
* refactor: lint
* refactor: lint
* feat: remove erroneously added file
1 year ago
Jack
abf9aa07a9
CLDC-2665 Switch lettings ppcodenk ( #1854 )
...
* Switch lettings ppcodenk
* Address Kat's comment
* separate process postcode methods
* tests
* Update row parsers
* Update conditionals
* Add rake task to update ppcodenk
* Bring back value_is_no?
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
1 year ago
kosiakkatrina
e9303a1e83
Change the copy for expired link page ( #1874 )
1 year ago
kosiakkatrina
f447939336
CLDC-2663 Import sales form id ( #1851 )
...
* Add old form id column
* Import old for id
* Export old_form_id instead of old_id
* Add old_form_id import task and service
* rename a spec file
1 year ago
kosiakkatrina
5ec33c7938
CLDC-2642 Make other client group mandatory ( #1871 )
...
* Make has_other_client_group a mandatory question
* Add a rake task to update has_other_client_group
* test and lint
* Set has_other_client group on import
1 year ago
kosiakkatrina
084dfb4dab
CLDC-2630 Location fixes ( #1870 )
...
* Display question unanswered for empty strings
* Fix back button for local authority
* Update test name
Co-authored-by: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com>
---------
Co-authored-by: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com>
1 year ago
kosiakkatrina
3b13dcc62f
CLDC-2702 Prioritise addresses over UPRN on import ( #1866 )
...
* Prioritise addresses over UPRN
* Prioritise addresses over UPRN - sales
* Add test case
1 year ago
kosiakkatrina
fae4b04cef
CLDC-2662 Add incomplete locations validation ( #1867 )
...
* Add incomplete location validation
* Clear incomplete locations on import
* tests
* Update copy
1 year ago
Rachael Booth
9fd04fa9dd
Infra migration updates ( #1872 )
...
* Update postgresql version in dockerfile
* CLDC-2690: Update s3 service to use ECS credential provider when not on PaaS
* Temporary fix for redis config when not on PaaS
* Fix rubocop offences
1 year ago
kosiakkatrina
7cb8e0bf96
Bump activesupport from 7.0.4.3 to 7.0.7.2 in /docs ( #1865 )
...
Bumps [activesupport](https://github.com/rails/rails ) from 7.0.4.3 to 7.0.7.2.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v7.0.7.2/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v7.0.4.3...v7.0.7.2 )
---
updated-dependencies:
- dependency-name: activesupport
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
kosiakkatrina
256e9508c9
increase the memory on staging ( #1869 )
1 year ago
kosiakkatrina
63f4599183
Run export service directly ( #1868 )
1 year ago
kosiakkatrina
7c833a1938
Increase disk and memory on staging ( #1864 )
1 year ago
kosiakkatrina
07a6e5a719
Add more logging for the exports ( #1862 )
1 year ago
kosiakkatrina
e88e1bae8a
CLDC-2684 Retrieve recent export before creating new one ( #1860 )
...
* Retrieve recent export before creating new ones
* remove comment
1 year ago
kosiakkatrina
3cf13b357d
Update Rails from 7.0.5.1 to 7.0.7.2 ( #1861 )
...
* update rails
* cookie tests
1 year ago
kosiakkatrina
d6d34a3063
CLDC-2684 Keep fewer logs in memory when running exports ( #1859 )
...
* Keep fewer logs in memory
* refactor write_export_archive to only hold MAX_XML_RECORDS in memory at a time
1 year ago
kosiakkatrina
d83c38b4d1
Enable deduplication flow on staging ( #1858 )
1 year ago