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
kosiakkatrina
91424c9049
CLDC-2684 Add some logging to export ( #1856 )
...
* Add some logging to export
* lint
1 year ago
kosiakkatrina
82abaed18e
Bump puma from 5.6.5 to 5.6.7 ( #1857 )
...
Bumps [puma](https://github.com/puma/puma ) from 5.6.5 to 5.6.7.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v5.6.5...v5.6.7 )
---
updated-dependencies:
- dependency-name: puma
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 year ago
Jack
1a6c81d9df
[CLDC-2648] Update renewal hint text ( #1847 )
1 year ago
kosiakkatrina
03d4e67baf
mark owning organisatinon question as derived on prod ( #1852 )
1 year ago
Arthur Campbell
3c2a583586
CLDC-2497 Review duplicate logs from logs index page ( #1776 )
...
* create helper module to find all logs for a given user that have duplicates
write associated tests
update methods on user model to retrieve logs related to a given user
create a scope on logs to retrieve logs created by a given user
* check for duplicates and display notification banner on the index page where appropriate
tests to cover the desired behaviour
* alter duplicate logs helper to return duplicates in a format that can be passed through the params
update associated tests
* create user journey to view duplicate sets adn navigate to a given set
create a new route and add it to the link from the logs index page
create controller method and related view file
* update path for duplicate logs in routes, update factories, refactor duplicates scope to eliminate raw sql
* write tests for the duplicate logs index page
* correct linting errors
* minor amendments from code review.
* temp
* Refactor
* Create a scope for duplicate groups
* fixes
* lint
* Update controller specs
* Put duplicate sets count behind a feature flag
* refactor index
* Update duplicate_sets_count
* Update scopes
* tests
* pass in original log id
* tests
* Add duplicate index page content
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
1 year ago
kosiakkatrina
b922752cea
Export additional id fields ( #1841 )
1 year ago
natdeanlewissoftwire
8448b559a8
Add owning org id to field import task for sales ( #1850 )
...
* feat: add field import service and test
* feat: use old visible org id
* feat: tweak test
* feat: update rake task
* feat: split sales and lettings rake tasks
* feat: update rake task
* feat: PR comment tweaks
* feat: rename and update tests
* refactor: lint
1 year ago
kosiakkatrina
aaa66a3f1f
Allow non stock owning orgs to create sales logs ( #1849 )
1 year ago
Jack
abbed0be74
Update page copy ( #1844 )
1 year ago
natdeanlewissoftwire
d73116f098
Memoise lettings forms in form handler ( #1845 )
...
* feat: memoise lettings forms
* feat: update tests
1 year ago
kosiakkatrina
c3b3c6200a
CLDC-2602 Only log errors into the s3 ( #1843 )
...
* Only log errors into the s3
* lint
1 year ago
kosiakkatrina
abe3ef670e
update updated_at column when updating incref ( #1838 )
1 year ago
Jack
1602729890
New email journey for unconfirmed users ( #1835 )
...
* New emal journey for unconfirmed users
* Remove feature flag for new email journey
1 year ago
natdeanlewissoftwire
7d6d17fe51
feat: tweak logger parameter ( #1840 )
1 year ago
kosiakkatrina
2369eefd0c
Fix tests after rebase ( #1839 )
1 year ago
kosiakkatrina
b93a6456d4
CLDC-2602 Save import logs to S3 ( #1829 )
...
* Add logger that writes to s3 file
* Add logger for logs import
* remove unused method
* Update organisation import service spec
* Partition log files per org
1 year ago
kosiakkatrina
1ffe8a4b8b
CLDC-2109 Add merged org validations to sales log ( #1826 )
...
* Add merged orgs sale dat validations
* Add organisation validation to sales log
* Adjust dates
* Update error message
1 year ago
kosiakkatrina
fde3c4689a
Search and filter at the same time ( #1836 )
1 year ago
kosiakkatrina
d9f498912b
Skip validations when updating incref ( #1837 )
1 year ago