Commit graph

1559 commits

Author SHA1 Message Date
Jun-te Kim
e96c5ced16
Merge pull request #329 from Hestia-Homes/feature/show-uprn-remote-assessment
Show UPRN on selected address in remote assessment
2026-06-26 09:34:01 +01:00
Jun-te Kim
163412506c Show UPRN on selected address in remote assessment
Display the UPRN beneath the selected address on the remote assessment
page so it's available for quicker debugging. The value is already on
the selected address object from the postcode lookup; it just wasn't
rendered.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 14:50:36 +00:00
Jun-te Kim
165858b387
Merge pull request #328 from Hestia-Homes/feature/mark_for_deletion
feat(db): add property.marked_for_deletion migration
2026-06-25 15:04:28 +01:00
Jun-te Kim
752ffe1935 feat(db): add property.marked_for_deletion soft-delete flag
Add a NOT NULL DEFAULT false `marked_for_deletion` boolean to the
`property` table. Hard deletes are expensive (cascading child rows,
indexes), so a row is flagged here and a separate cron job performs the
physical delete later; reads can filter on the flag in the interim.

A constant default makes this a metadata-only ALTER on Postgres 11+ (no
table rewrite); existing rows backfill to false.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 12:18:32 +00:00
Daniel Roth
4b0133ac5c
Merge pull request #327 from Hestia-Homes/feature/wall-insulation-jsonb
SQL correction for wall insulation thickness column migration
2026-06-24 16:08:49 +01:00
Daniel Roth
1b7d314fdd SQL correction 2026-06-24 15:06:43 +00:00
Daniel Roth
198d9706d4
Merge pull request #326 from Hestia-Homes/feature/wall-insulation-jsonb
Make wall insulation thickness jsonb
2026-06-24 16:04:13 +01:00
Daniel Roth
e3a58e7e9c migration files 2026-06-24 15:02:21 +00:00
Daniel Roth
fb431a1a25 wall insulation thickness is jsonb 2026-06-24 15:01:11 +00:00
Daniel Roth
61738f95e0
Merge pull request #325 from Hestia-Homes/feature/additional-epc-property-columns
Additional epc_property columns
2026-06-24 14:54:50 +01:00
Daniel Roth
4f6537bf7e migration files 2026-06-24 13:52:46 +00:00
Daniel Roth
d0b39ecdcb add new columns to table 2026-06-24 13:52:06 +00:00
Daniel Roth
dac818bab5
Merge pull request #324 from Hestia-Homes/source-property-enum
property_id task source
2026-06-22 14:53:06 +01:00
Daniel Roth
f3c03b0ba5 migration files 2026-06-22 13:03:20 +00:00
Daniel Roth
e32bcf0d4e add property_id task source 2026-06-22 13:02:36 +00:00
Jun-te Kim
958c6e7c71
Merge pull request #323 from Hestia-Homes/feature/more_property_overrides_table
db changes
2026-06-19 16:20:35 +01:00
Jun-te Kim
1ac4e20c4c db changes 2026-06-19 15:04:43 +00:00
Jun-te Kim
e606006e6b
Merge pull request #321 from Hestia-Homes/feature/epc-prediction-source-column
feat(db): add epc_property.source for predicted-EPC slot (ADR-0031)
2026-06-16 14:51:07 +01:00
Jun-te Kim
ae74133575 feat(db): add epc_property.source for predicted-EPC slot (ADR-0031)
Adds a `source` discriminator to `epc_property` so a property can hold a
lodged and a predicted EPC at the same time, per the EPC Prediction
production-wiring branch in the Model repo (docs/MIGRATION_NOTE_predicted_epc_source.md).

- `source` text NOT NULL default 'lodged' — backfills every existing row as
  a real lodged EPC.
- Unique index becomes (property_id, portfolio_id, source) so lodged +
  predicted rows can coexist for the same property/portfolio.
- New (property_id, source) index — lodged/predicted reads filter on both.

Allowed values: 'lodged' | 'predicted'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 13:46:19 +00:00
Daniel Roth
7feec70c98
Merge pull request #320 from Hestia-Homes/feature/document-viewing-settings
Fix expected file types unit tests
2026-06-15 14:43:31 +01:00
Daniel Roth
e3ee1480aa dont hardcode expected file count in tests 2026-06-15 13:42:03 +00:00
Daniel Roth
8e9e093def fix brokn unit tests 2026-06-15 13:38:01 +00:00
Daniel Roth
273932eb30
Merge pull request #318 from Hestia-Homes/feature/document-viewing-settings
Don't include PAR photopack in MIssing Documents list
2026-06-15 14:32:08 +01:00
Daniel Roth
86642de2a2 Don't include PAR photopack in MIssing Documents list 2026-06-15 13:06:28 +00:00
Daniel Roth
f0bb2b237a
Merge pull request #316 from Hestia-Homes/feature/new-cols-in-property-export
Additional columns in property export
2026-06-15 13:08:15 +01:00
Daniel Roth
2a9da6765b Switch EPC SAP (Potential) data source from epcSapScorePotential to potentialPostSapScoreDropdown 2026-06-15 11:57:39 +00:00
Daniel Roth
5ad99df044 correct typo 2026-06-15 09:54:15 +00:00
Daniel Roth
32bb2e39ef Merge branch 'main' into feature/new-cols-in-property-export 2026-06-15 09:50:16 +00:00
Daniel Roth
c72b7c1625 Add coordination comments, damp/mould, and Domna survey columns to property table and CSV export
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 09:48:41 +00:00
Daniel Roth
2b380d83d8
Merge pull request #315 from Hestia-Homes/remove-duplicate-hs-col
Remove "osmosis_survey_required" column as it is already in the db as "domna_survey_required"
2026-06-15 10:21:10 +01:00
Daniel Roth
10f7d4c188 migration 2026-06-15 08:59:46 +00:00
Daniel Roth
db0b3670f4 delete col 2026-06-15 08:59:24 +00:00
Daniel Roth
462cd36c3f
Merge pull request #314 from Hestia-Homes/feature/new-hs-deal-cols
Add "osmosis_survey_required" to hs deal table
2026-06-15 09:57:10 +01:00
Daniel Roth
954fb5b16e migration 2026-06-15 08:52:41 +00:00
Daniel Roth
a3ee12a418 osmosis_survey_required column 2026-06-15 08:50:41 +00:00
Daniel Roth
4ea1fa48d4
Merge pull request #313 from Hestia-Homes/feature/hs-last_submission_date
last_submission_date column on hubspot deals table
2026-06-11 10:59:06 +01:00
Daniel Roth
3425dae3cc migration files 2026-06-10 14:25:37 +00:00
Daniel Roth
a5e07ffa1c add last_submission_date to hs deal table 2026-06-10 14:23:55 +00:00
Jun-te Kim
23a275ae85
Merge pull request #312 from Hestia-Homes/feature/new-file-type-and-source-for-audits
New file type and source for audits
2026-06-09 15:21:39 +01:00
Daniel Roth
2e9ec32c48 migration files 2026-06-09 13:57:31 +00:00
Daniel Roth
de963bbc39 add file type and file source 2026-06-09 13:56:52 +00:00
Jun-te Kim
d0d5ec0366
Merge pull request #310 from Hestia-Homes/feature/frontend_landlord_overrides
Feature/frontend landlord overrides
2026-06-08 16:23:21 +01:00
Jun-te Kim
c6091af34c
Merge pull request #311 from Hestia-Homes/feature/additional_hubspot_proeprties
Feature/additional hubspot proeprties
2026-06-08 16:12:18 +01:00
Jun-te Kim
c2b7e00075 new table for new deal proeprties we want 2026-06-08 14:42:50 +00:00
Jun-te Kim
e974aef858 dynamic file tree 2026-06-08 14:08:48 +00:00
Jun-te Kim
cc134f8ce9
Merge branch 'main' into feature/frontend_landlord_overrides 2026-06-08 14:00:20 +01:00
Daniel Roth
974a5e5ef5
Merge pull request #309 from Hestia-Homes/feature/magicplan-ventilation-tables
New tables for magicplan ventilation and move opening type to window ventilation table
2026-06-08 13:23:41 +01:00
Daniel Roth
7e2be3efbd Merge branch 'main' into feature/magicplan-ventilation-tables 2026-06-08 12:21:22 +00:00
Daniel Roth
f1f48cf851
Merge pull request #308 from Hestia-Homes/feature/efficient-recommendation-backfill
Make recommendation denormalisation backfill safe and online
2026-06-08 13:20:53 +01:00
Jun-te Kim
567c3f59c5 settings .local.json updated 2026-06-08 12:01:13 +00:00