natdeanlewissoftwire
03d2d17e7b
feat: set encoding by bom for file IO before parsing
1 year ago
natdeanlewissoftwire
aad34a2fb0
feat: allow null emails
1 year ago
natdeanlewissoftwire
3d02ba90b6
feat: match email regardless of casing in bulk upload
1 year ago
natdeanlewissoftwire
b255627fa7
CLDC-2636 Fix enter address instead bug ( #2014 )
...
* feat: route address question when uprn_known has not yet been answered
* refactor
* feat: update tests
* feat: update tests
* feat: update routed_to? and tests
* refactor: lint
1 year ago
natdeanlewissoftwire
a6f5d2b1f1
CLDC-2832 Merge testing prep part 2 ( #2013 )
...
* feat: don't add old_id to new location as there is a uniqueness constraint on this attribute
* feat: don't add old_id to new scheme for consistency
* feat: update tests
* feat: don't validate on log save so they can be added to new orgs without dsas during a merge, and test
* refactor: lint
* feat: remove old_visible_id from post merge schemes/locations so they aren't searchable in bulk upload
* feat: update tests
* feat: update tests
1 year ago
natdeanlewissoftwire
04deb09c72
CLDC-2832 Merge testing prep ( #2011 )
...
* feat: don't add old_id to new location as there is a uniqueness constraint on this attribute
* feat: don't add old_id to new scheme for consistency
* feat: update tests
1 year ago
kosiakkatrina
126c47be6b
CLDC-2891 Allow refuge to be selected with internal transfer ( #2001 )
...
* Allow refuge to be selected with internal transfer
* Update comment
1 year ago
kosiakkatrina
b6ad02bca0
Validate using correct deactivation periods ( #2009 )
1 year ago
David May-Miller
484b1bbb27
CLDC-2895 Capture exceptions raised while saving and send them to Sentry ( #2010 )
...
* CLDC-2895 Don't validate entities being updated in rake task
* CLDC-2895 Capture exceptions raised while saving and send them to Sentry
1 year ago
David May-Miller
3436c87d26
CLDC-2895 Add safe navigation operator to entity name updates ( #2008 )
...
Since name can be nil.
1 year ago
kosiakkatrina
873d69a933
CLDC-2081 Display merge history ( #1996 )
...
* Show details for absorbed/absorbing organisations
* Only display recent merges for absorbing org
* Display historic merges
1 year ago
kosiakkatrina
edecfde51b
CLDC-2967 Infer lar and irproduct values ( #2005 )
...
* Infer lar and irproduct
* Add recalculate lar values task
* Create irproduct task
* Tests
* typo
1 year ago
natdeanlewissoftwire
ef33b35faf
CLDC-2803 Show frequency in rent range soft validation pages ( #1993 )
...
* feat: unrelated html fix
* feat: add period to rent range soft vals for 22/23 and 23/24
* feat: update tests
* feat: move period after brent in soft validation page
1 year ago
kosiakkatrina
14b8cabbfc
CLDC-2673 Display UPRN in duplicate logs fields when it's given ( #1990 )
...
* Display UPRN in duplicate logs fields when it's given
* Display fields relevant to specific logs
* Display postcode data for uprn for duplicates
1 year ago
natdeanlewissoftwire
5e9f01db7d
CLDC-2805 Updates charge hard validation error messages ( #1995 )
...
* feat: make error message dynamic
* recator: lint
* feat: update tests
* feat: update tests
* refactor: lint
* feat: simplify method call in validations
* Update error message
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
1 year ago
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
David May-Miller
4ec9e95abb
CLDC-2895 Add squish to the names of locations, schemes, users, and organisations ( #2004 )
...
* CLDC-2895 Add squish to the names of locations, schemes, users, and institutions
* CLDC-2895 Add rake task to squish the names of all locations, schemes, users, and organisations
* CLDC-2895 Add tests to squish_names rake tasks
1 year ago
kosiakkatrina
55ae6692bf
CLDC-2743 Search improvements ( #1999 )
...
* Move clear search, pass search when filtering
* Update search/filter caption content
* Put download links on the next line
* set filters_count to 0 where there are no filters
* Correctly display delete logs for support
* Update tests
* persist search after clearing filters
1 year ago
natdeanlewissoftwire
9ef4ea19cf
CLDC-2833 Add needstype filter ( #1998 )
...
* feat: add needstype filter
* feat: update filters view
* feat: use helper methods for view
* feat: update helper methods, and show managing and owning filters as well in support secondary nav
* refactor: lint
* feat: update helper logic
* feat: update tests
* feat: add needstype test and slight refactor
* refactor: reorganise filter lists
* refactor: erblint
* Always show filter for support, only check visible logs
* Remove needstype for support users on orgs page
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
1 year ago
kosiakkatrina
4de6003f5f
CLCD-2836 Use available from date for absorbing organisations validations ( #2000 )
...
* Use available from date for absorbing organisations validations
* Update sales validations
* typo
* Display correct date in the error message
1 year ago
kosiakkatrina
aadffbca70
CLDC-2672 Update save and cancel buttons for duplicates ( #1988 )
...
* Update save and cancel buttons for duplicates
* Flaky tests
* Correctly route when comming from duplicate banner
1 year ago
kosiakkatrina
0af2327993
CLDC-2640 Add location guidance ( #1978 )
...
* Add location guidance
* update content
* Add question specs
1 year ago
natdeanlewissoftwire
93c88ad37a
feat: update hint copy ( #1994 )
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
c9cf363656
Add floating support type to schemes ( #1984 )
1 year ago
kosiakkatrina
2c24f2bcab
Remove uprn validation for supported housing logs ( #1992 )
1 year ago
kosiakkatrina
156f992502
Correct location admin district ( #1986 )
1 year ago
kosiakkatrina
6741f0bf9d
Fix flaky test ( #1991 )
...
* Fix flaky test
* typo
1 year ago
David May-Miller
0875c55c6e
CLDC-2882 Changed void date routing to only use isRenewal ( #1982 )
...
* CLDC-2882 Added 20 "Tenant moved to long-stay hospital or similar institution" as a non-renewal or first let vacancy reason, and changed the conditions for the void date to only rely on whether a letting is a renewal.
* CLDC-2882 Update void date routing test
* CLDC-2882 Fix flaky log export test
1 year ago
kosiakkatrina
5fbb836502
Bump @babel/traverse from 7.19.1 to 7.23.2 ( #1989 )
...
Bumps [@babel/traverse ](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.19.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
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
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
kosiakkatrina
89c30f363d
CLDC-2628 Update schemes guidance page ( #1976 )
...
* Refactor guidance to allow both top and bottom guidance at the same time
* Update guidance content, add scheme changes page
* update test
* remove full stop
* Update content, add back button
1 year ago
kosiakkatrina
75c4fb218d
CLDC-2627 Update scheme table styling and labels ( #1972 )
...
* Update scheme table styling and labels
* Order schemes alphabeticlly only
* Wrap scheme names
* Refactor and udpate scopes
* indentation
* Break scheme name
1 year ago
kosiakkatrina
16f96895bb
Add link to add locations from scheme page ( #1979 )
1 year ago
kosiakkatrina
9529426c7a
Blank relevank soctenant values ( #1967 )
1 year ago
kosiakkatrina
c897d600f5
Add layear and prevloc validation for 2023 ( #1965 )
1 year ago
kosiakkatrina
68eb307d51
CLDC-2626 Communicate permissions around editing schemes ( #1970 )
...
* Communicate permissions around editing schemes
* lint
* Move location text
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
2f3f364a57
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
1 year ago
natdeanlewissoftwire
aa65651828
feat: add schemes to navbar when org has stock owners and code refactoring ( #1980 )
1 year ago
kosiakkatrina
15cd5e09ea
CLDC-2796 Display managed logs for support ( #1966 )
...
* Display managed logs
* Update tests
1 year ago
kosiakkatrina
445883e796
Update schemes banner text ( #1968 )
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
683dc1ad20
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
1 year ago
kosiakkatrina
f4bb3e2610
Correctly map equity ranges ( #1964 )
1 year ago
kosiakkatrina
0b4024bb50
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>
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
SamSeed-Softwire
7c53bd853d
Delete obsolete data_export_csv task ( #1974 )
1 year ago
SamSeed-Softwire
8adc8ed848
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
1 year ago