kosiakkatrina
a5fdf42540
Update merge orgs task ( #2003 )
...
* Allow custom merge date in merge organisations service
* Allow optional merge date in merge orgs task
* Add a rake task for merging into a new organinsation
1 year ago
natdeanlewissoftwire
d4d93ee44c
CLDC-2671 Update duplicate logs routing ( #1983 )
...
* feat: add param to banner duplicate logs route
* feat: pass org id param through for support user case
* feat: update tests
* feat: lint
* feat: add one more org id param to change links
* feat: add duplicate logs controller tests
* feat: update duplicate log tests
* feat: tests no duplicates page
* feat: test params passed correctly on delete
* refactor: lint
* refactor: lint
1 year ago
kosiakkatrina
2c24f2bcab
Remove uprn validation for supported housing logs ( #1992 )
1 year ago
kosiakkatrina
85fc37f5bc
CLDC-2804 Create illness csv ( #1959 )
...
* Create illness csv
* Add rake task to process illness data
1 year ago
kosiakkatrina
52be9734ce
Export la and postcode for logs with locations ( #1985 )
1 year ago
natdeanlewissoftwire
b3e35a5ba5
CLDC-2718 Add vacdays to non support csvs ( #1962 )
...
* feat: remove vacdays from support only attributes
* feat: update tests
* CLDC-2810 Send missing addresses template (#1952 )
* Add missing addresses csv job
* Update missing addresses csv service methods
* Add rake task
* Update the job to send missing town or city templates
* Update service to create mising town or city templates
* Add send missing town or city csv rake task
* Add IDs to the CSVs
* Put all log in the same csv
* Add issue type column
* Write wrong uprn logs to csv
* Add mailer methods
* Skip uprn issue for specified orgs
* Add sales csv rake task
* set SKIP_UPRN_ISSUE_ORG_IDS on review apps
* test
* Update notify template IDs for testing
* Initialize service with organisation instead of a hash
* Add expiration time to url
* Add optional tags and remove LA from csv
* Extract log to csv methods
* Update casing
* Update old IDs in factories
* Move constant
* Extract some repeating scopes
* Pass in organisations to skip instead of using an env var
* update template id for sales
* Update link expiry time and headers
* Lower the threshold for testing
* Add issue explanation to the email
* Add how to fix
* update emails
* CLDC-2810 Create all addresses CSV (#1953 )
* Add rake tasks for creating all addresses CSV
* Write headers if logs don't exist, update header names
* Rename method
* CLDC-2810 Correct addresses from csv (#1957 )
* Updating importing lettings addresses form csv
* Add import_sales_addresses_from_csv rake
* Allow correcting addresses from both templates
* escape .
* Reinfer LA if the postcode hasn't changed
* Update labels and email content
* Update missing addresses threshold
* Remove unused env var
* CLDC-2563: Update prod deployment pipeline (#1960 )
* CLDC-2563: Update prod deployment pipeline
* CLDC-2563: remove redundant REPO_URL assignment
* CLDC-2563: use GITHUB_OUTPUT only where necessary
* CLDC-2563: don't push image if tag already exists
* CLDC-2563: actually use github.sha for production as well
* CLDC-2563: remove obsolete env check in push docker image job
* CLDC-2563: remove redundant main branch check
* Delete obsolete data_export_csv task (#1974 )
* CLDC-2773 Update lettings (and sales) csv date format (#1954 )
* feat: update datetime format in csv services
* feat: update tests
* feat: keep system date fields in iso8601 format
* feat: merge fix
* feat: update tests
* Bump postcss from 8.4.25 to 8.4.31 (#1969 )
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.25 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.25...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Correctly map equity ranges (#1964 )
* CLDC-2723 Allow data coordinators access to stock owners' schemes (#1958 )
* feat: allow data coordinators to create, edit and view stock owners' schemes
* feat: only show data coordinators their org and stock owners in scheme owner select, update location policy
* feat: update some tests
* feat: update tests
* feat: use zero? where appropriate and lint
* feat: update tests
* refactor: lint
* feat: use helper for answer options
* CLDC-2871 Fix bulk upload scheme lookup bug (#1971 )
* feat: wip tests
* feat: update tests and functionality
* refactor: lint
* feat: update tests and don't add errors to scheme/location fields unless determined
* feat: update duplicate log behaviour and tests
* refactor: lint
* feat: use needstype helpers
* feat: use needstype helpers and test tweak
* feat: make tests explicit regarding needstype
* feat: make tests explicit regarding needstype
* Update schemes banner text (#1968 )
* CLDC-2796 Display managed logs for support (#1966 )
* Display managed logs
* Update tests
* feat: add schemes to navbar when org has stock owners and code refactoring (#1980 )
* CLDC-2824 Update bulk upload header guidance (#1975 )
* feat: update copy in 23/24 lettings and sales prepare file pages
* feat: add full stops in alignment with designs
* feat: update tests
* feat: update tests
* feat: update tests
* feat: update tests
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com>
Co-authored-by: SamSeed-Softwire <63662292+SamSeed-Softwire@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
natdeanlewissoftwire
4068d7a2f6
CLDC-2871 Fix bulk upload scheme lookup bug ( #1971 )
...
* feat: wip tests
* feat: update tests and functionality
* refactor: lint
* feat: update tests and don't add errors to scheme/location fields unless determined
* feat: update duplicate log behaviour and tests
* refactor: lint
* feat: use needstype helpers
* feat: use needstype helpers and test tweak
* feat: make tests explicit regarding needstype
* feat: make tests explicit regarding needstype
1 year ago
natdeanlewissoftwire
2bc8501ffe
CLDC-2773 Update lettings (and sales) csv date format ( #1954 )
...
* feat: update datetime format in csv services
* feat: update tests
* feat: keep system date fields in iso8601 format
* feat: merge fix
* feat: update tests
1 year ago
kosiakkatrina
c68e6e88ca
CLDC-2810 Send missing addresses template ( #1952 )
...
* Add missing addresses csv job
* Update missing addresses csv service methods
* Add rake task
* Update the job to send missing town or city templates
* Update service to create mising town or city templates
* Add send missing town or city csv rake task
* Add IDs to the CSVs
* Put all log in the same csv
* Add issue type column
* Write wrong uprn logs to csv
* Add mailer methods
* Skip uprn issue for specified orgs
* Add sales csv rake task
* set SKIP_UPRN_ISSUE_ORG_IDS on review apps
* test
* Update notify template IDs for testing
* Initialize service with organisation instead of a hash
* Add expiration time to url
* Add optional tags and remove LA from csv
* Extract log to csv methods
* Update casing
* Update old IDs in factories
* Move constant
* Extract some repeating scopes
* Pass in organisations to skip instead of using an env var
* update template id for sales
* Update link expiry time and headers
* Lower the threshold for testing
* Add issue explanation to the email
* Add how to fix
* update emails
* CLDC-2810 Create all addresses CSV (#1953 )
* Add rake tasks for creating all addresses CSV
* Write headers if logs don't exist, update header names
* Rename method
* CLDC-2810 Correct addresses from csv (#1957 )
* Updating importing lettings addresses form csv
* Add import_sales_addresses_from_csv rake
* Allow correcting addresses from both templates
* escape .
* Reinfer LA if the postcode hasn't changed
* Update labels and email content
* Update missing addresses threshold
* Remove unused env var
1 year ago
natdeanlewissoftwire
52cf157242
CLDC-2799 Lettings and Sales CSV export updates and sales bug fix ( #1951 )
...
* feat: wip commit add person details to sales log csv service
* feat: add comments
* feat: update regex to include agen_known fields
* feat: revert
* feat: reject age_known fields and map codes and values to age fields instead
* feat: add age1_known
* feat: combine age not known and details not known fields
* feat: update tests
* refactor: lint
* feat: update tests
* feat: update lettings tests
* feat: update question test
1 year ago
kosiakkatrina
e7b5d701cd
Reimport postcodes for 2022 ( #1956 )
1 year ago
kosiakkatrina
2ab79b2f3e
Keep the logs in memory ( #1955 )
1 year ago
kosiakkatrina
7a4edeb17c
Reimport lettings log form ID ( #1950 )
1 year ago
natdeanlewissoftwire
840e9d050e
CLDC-2837 Update import for washup migration 2 ( #1948 )
...
* feat: update rake tasks for washup batch 2
* feat: update rake tasks for washup batch 2 and add tests
* feat: revert unrelated test change
* feat: add dpo check before importing user
1 year ago
kosiakkatrina
d7538df04b
CLDC-2772 Deduplicate logs on import ( #1945 )
...
* Do not import logs if a duplicate log exists on the system
* deduplicate sales logs on import
* Only deduplicate logs created on new core
* Update test names
1 year ago
kosiakkatrina
a1527e48f7
Add duplicate log error if the chcharges are the same ( #1942 )
1 year ago
kosiakkatrina
fd149de15b
CLDC-2747 Export details not known values ( #1938 )
...
* Adjust xml export to export refused details, update refused to take into account details_unknown
* Recalculate refused values for lettings logs with unknown person details
* Export refused values in the csv
* Update file names
1 year ago
kosiakkatrina
0bbef7ce5e
Report on imported logs only ( #1943 )
1 year ago
kosiakkatrina
d44f00c4ef
Fix logs count variable names ( #1937 )
1 year ago
kosiakkatrina
101fa7d33e
Count lettings logs after writting export files ( #1934 )
...
* Count lettings logs after writting export files
* lint
1 year ago
kosiakkatrina
7c553aba83
Update lead tenants gender identity ( #1932 )
1 year ago
kosiakkatrina
5947d6a191
Add users to unassigned when the owner id is not given ( #1929 )
...
* Add users to unassigned when the owner id is not given
* test
1 year ago
kosiakkatrina
de5bfe6597
Reimport childrens social care referral values ( #1926 )
1 year ago
kosiakkatrina
2f67b8a0e9
CLDC-2790 Reimport person details ( #1925 )
...
* Move single person details if person 2 details are missing
* Allow reimporting details for any single missing person
* Reimport multiple missing person details, skip logs with no extra person details
* Skip update if record does not have hhmemb value
* Refactor
* Rebase change
* Extract method
1 year ago
kosiakkatrina
6dc2b2a5d7
CLDC-2729 Reimport referral for general needs PRP ( #1923 )
...
* Reimport referral for general needs PRP
* test
1 year ago
kosiakkatrina
3a165192fa
Fix homeless value in reimport ( #1928 )
1 year ago
kosiakkatrina
3b575409e1
CLDC-2770 Reimport prefers not to say for gender and relationship ( #1922 )
...
* Update sex and relat for a single person
* Allow updates for multiple people
* Add option to the rake task
1 year ago
kosiakkatrina
44797637fb
CLDC-2769 Reimport unassigned logs ( #1919 )
...
* Reimport logs with created by missing
* Reimport unassigned sales logs
1 year ago
kosiakkatrina
f72349f81e
Update homeless values ( #1917 )
1 year ago
kosiakkatrina
ea9c84e2a1
Display old log id in the missing answers examples ( #1914 )
1 year ago
kosiakkatrina
2f986fe111
CLDC-2795 Update charges validations ( #1912 )
...
* Update charges hard maximums
* Add charges value check fields
* Add 2023 charges value check pages and questions
* add scharge_over_soft_max method
* add LA cases
* Add pscharge_over_soft_max method
* Add supcharg_over_soft_max method
* Add pages to subsections (2023) and update content
* Confirm soft validations when importing
* csv tests
* Fix copy for 2022
1 year ago
kosiakkatrina
7a64cb7f56
CLDC-2776 Add referral option to general needs logs ( #1910 )
...
* Add option to referral PRP general needs questions
* Add referral value check
* Add referral value check to 2023
* Update soft validation content
* Add referral value check to 2022
* Confirm soft validation on import
* Tests
1 year ago
kosiakkatrina
3da6416950
Set income and savings not known for in progress logs ( #1911 )
1 year ago
natdeanlewissoftwire
20337fde59
Migration use kebab org fields ( #1913 )
...
* feat: use kebab case org fields
* feat: update tests
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
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