Manny Dinssa
d68de15128
Change bulk upload attributes
2 years ago
Manny Dinssa
cd7025de61
Set default processing attribute to true for new BulkUpload records
2 years ago
Manny Dinssa
6ddfdd0363
Remove comments
2 years ago
Manny Dinssa
74431c8228
Remove comment
2 years ago
Manny Dinssa
887048d25a
Change handling of bulk uploads in process
2 years ago
Manny Dinssa
b764e1fa1d
Add processed attribute to bulk upload
2 years ago
Manny Dinssa
528f8c84b0
Fix lint
2 years ago
Manny Dinssa
bfe97adc03
Remove double .csv
2 years ago
Manny Dinssa
d3628b9555
Fix lint
2 years ago
Manny Dinssa
6ae271eae4
Fix lint
2 years ago
Manny Dinssa
0da6aa42fb
Omit hash value
2 years ago
Manny Dinssa
14827e8281
Add response content disposition to download with the correct filenames and extension
2 years ago
Manny Dinssa
e867421b53
Some test fixes
2 years ago
Manny Dinssa
d8d94541ea
Some test fixes
2 years ago
Manny Dinssa
d5fe1dbd60
Downloading bulk uploads on non-dev environments
2 years ago
Manny Dinssa
ee45fdd494
Additional work on filters
2 years ago
Manny Dinssa
5b3f8cc1c4
Handle wrong template and blank template with new failed attribute on bulk upload model
2 years ago
Manny Dinssa
598c6d9636
Handle wrong template and blank template
2 years ago
Manny Dinssa
d0ce0b87f2
CLDC 3623 Support user bulk uploading ( #2629 )
2 years ago
Manny Dinssa
4ec84877c8
Filtering (WIP)
2 years ago
Manny Dinssa
a399d845c7
Implement download file link
2 years ago
Rachael Booth
380d63c367
CLDC-3244: Replace postcodes_io gem to improve error handling ( #2634 )
...
* CLDC-3244: Replace postcodes_io gem to improve error handling
* Fix status code in default postcodes api mocking
* Fix more mocking
* Remove blank line
* Handle non-Excon errors, in case of unexpected api behaviour
* Remove outdated test
* Remove another outdated test
2 years ago
kosiakkatrina
0f4a8403ff
Revert "turn on duplicate log check on staging ( #2635 )" ( #2639 )
...
* Revert "turn on duplicate log check on staging (#2635 )"
This reverts commit aeb998c537 .
* Update fixed git version
2 years ago
kosiakkatrina
c3bfadfe7f
Empty bulk upload row parsing ( #2638 )
...
* empty
* Add stripped_row back
* Skip empty rows
2 years ago
kosiakkatrina
c45cb160d2
Do not check duplicates on empty rows ( #2636 )
2 years ago
kosiakkatrina
aeb998c537
turn on duplicate log check on staging ( #2635 )
2 years ago
Manny Dinssa
92aeb737a2
CLDC 3241: Part 2 - Explanation of variables on CSVs ( #2610 )
...
* Add variable definitions as the first row of csv downloads
2 years ago
Manny Dinssa
4746161488
CLDC-3241: Part 1 - Explanation of variables on CSVs ( #2585 )
...
* Create CsvVariableDefinition migration and model
* Add definition files
* Add CsvVariableDefinitions to rails admin
* Create rake and service
* Create tests
* Additional fixes
* Rollback unwanted changes to schema
* Update Gemfile.lock
2 years ago
Manny Dinssa
6596351937
Revert "CLDC-3241: Part 2 - Explanation of variables on CSVs" ( #2609 )
...
* Revert "CLDC-3241: Part 2 - Explanation of variables on CSVs (#2586 )"
This reverts commit e045588775 .
* Update Gemfile.lock
2 years ago
Manny Dinssa
e045588775
CLDC-3241: Part 2 - Explanation of variables on CSVs ( #2586 )
...
* Create CsvVariableDefinition migration and model
* Add definition files
* Add CsvVariableDefinitions to rails admin
* Create rake and service
* Create tests
* Additional fixes
* Rollback unwanted changes to schema
* Add variable definitions as the first row of csv downloads
* Add and update tests
* Fix lint offences
* Update Gemfile.lock
2 years ago
Rachael Booth
ea853c484d
CLDC-3566: Clear duplicate set ids when a log ceases to be a duplicate in normal update flow - with better performance ( #2573 )
...
* Revert "Revert "CLDC-3566: Clear duplicate set ids when a log ceases to be a duplicate through normal update flow (#2534 )" (#2563 )"
This reverts commit 53ae216bae .
* CLDC-3566: Avoid unnecessary queries for duplicates
2 years ago
Manny Dinssa
331ee8f0e8
CLDC-3575: Remove reference to dluhc on GitHub ( #2581 )
...
* Update github README.md picture
* Change name
* Remove old image & change private to public beta text
2 years ago
Rachael Booth
85bbbe6108
CLDC-3556: Ignore address data in bulk upload for supported housing logs ( #2540 )
...
* Only set address data in BU for general needs logs
* Don't route to uprn selection page for supported housing logs
* Fix tests
2 years ago
kosiakkatrina
72890e516e
CLDC-3564 Update filter search ( #2535 )
...
* Add search controller
* Update on confirm
* lint
* Update search endpoint
* remove assigned to filter options
* Explicitly define host in the url
* Update search controller
* Allow searching organisations
* Allow filtering by user without js
* Allow filtering by org without js
* Add filter_type to method calls
* Update filter helpers
* Hide text search input when js is enabled
* Some feature test updates
* fix model test
* Delete a random file 👀
* lint
* Update more tests
* Update inner text for filter
* Keep csv filters the same
* Clear free text filters for csv dowloads
* User path helper
* Update scheme filters and log scopes
* Update which users we can filter by
2 years ago
kosiakkatrina
53ae216bae
Revert "CLDC-3566: Clear duplicate set ids when a log ceases to be a duplicate through normal update flow ( #2534 )" ( #2563 )
...
This reverts commit e66d5ea1d0 .
2 years ago
Manny Dinssa
1da04df30f
CLDC-3411 correct 24 25 bulk upload error messages on lettings and sales ( #2556 )
...
* Update error messages and sales parser
2 years ago
Manny Dinssa
c3b85f2b50
CLDC-3411: Correct 24/25 bulk upload error messages on lettings and sales ( #2553 )
2 years ago
Rachael Booth
e66d5ea1d0
CLDC-3566: Clear duplicate set ids when a log ceases to be a duplicate through normal update flow ( #2534 )
...
* CLDC-3566: Clear duplicate set ids when a log ceases to be a duplicate in normal updates
* Refactor
* Ensure post not run twice in form controller tests
* Remove deduplication flow feature toggle
* Ensure class_name is defined in redirect path function
* Add tests for sales logs
2 years ago
Rachael Booth
6a42978fab
CLDC-3546: Add error to managing org when it does not have relevant rent period ( #2538 )
...
* CLDC-3546: Add error to managing org when it does not have relevant rent period
* Add test for :skip_bu_error
* Fix managing org question id
2 years ago
kosiakkatrina
523f931770
Set the bulk upload value for correct log type ( #2533 )
2 years ago
kosiakkatrina
b9f900c98e
CLDC-3550 Fix rent_type 2024 BU mapping ( #2501 )
...
* Fix rent_type 2024 BU mapping
* Correct rent_type values
* Reuse rent_type mapping
* Track updated bulk uploads
* Fix test
2 years ago
kosiakkatrina
8ce22d37c0
CLDC-3289 Avoid freezing time (part 3) ( #2445 )
...
* Refactor tests #1
* Update tasklist helper tests
* Update task list helper
* Fix test
* Rabase fixes
* Update model/validations tests
* Update som sales log specs
* Remove missing addresses csv tasks
* Update some tests for 2023 collection close
* More fixes
* Revert sales shared examples change
* Fix test
* Update test nemes, remove time stub
2 years ago
kosiakkatrina
8dcd80e4f8
Strip scheme ID ( #2487 )
2 years ago
Rachael Booth
22522fb907
CLDC-3265: Duplicate whitespace row fix to sales BU ( #2481 )
...
* CLDC-3265: Duplicate whitespace row fix to sales BU
* CLDC-3265: Fix bu test that accidentally had whitespace only row
2 years ago
kosiakkatrina
4c0c0d15eb
CLDC-3508 Search both datasets for UPRN ( #2479 )
...
* Search both datasets for UPRN
* Update presenter
* Update request stubs
2 years ago
Rachael Booth
0718c10847
CLDC-3522: Correct logic around BU address search and address not found errors ( #2476 )
...
* CLDC-3522: Correct logic around BU address search and address not found errors
* Fix lint errors
2 years ago
Rachael Booth
4a5a912816
CLDC-3483: Prevent/fix missing letting allocation values ( #2453 )
...
* CLDC-3483: Enforce that all lettings allocation method fields are present for bulk uploads
* CLDC-3483: Add task to fix existing nil letting allocation values
* Better capitalisation
* Keep previous punctuation
* Use find_each for task
2 years ago
kosiakkatrina
9ed93efc58
CLDC-3474 Correctly construct dates for template validation ( #2447 )
...
* Correctly construct dates
* Update tests
2 years ago
kosiakkatrina
ab6c64ce76
CLDC-3448 Generate validations documentation ( #2438 )
...
* Add openai gem
* Add validation table and model
* Add describe_lettings_validations task
* lint
* Add describe_soft_lettings_validations task
* Add describe_bu_lettings_validations task
* Add add_numeric_lettings_validations task
* Rename
* Add sales tasks for generating validations docs
* Add rails admin
* refactor
* Rename validation table
* Rename validation_methods variable (?)
* Move tests
* lint
* Add back fonts
* Add method_source gem
* Generate numeric validations for both log types
2 years ago
Rachael Booth
4cfdd967dc
CLDC-3460: Don't validate P2 not child in BU when not a joint purchase ( #2431 )
...
* CLDC-3460: Don't validate P2 not child in BU when not a joint purchase
* Fix joint purchase field numbers for 2023
2 years ago