Commit graph

14 commits

Author SHA1 Message Date
808e172221
lint: fix remaining errcheck for Write, Fprintf, Rollback, Commit
- Use lint.Write for unchecked w.Write in handlerJSONPost/Put, report
- Use lint.Fprintf for fmt.Fprintf in twilio handlers
- Use lint.LogOnErrRollback for deferred Rollbacks in compliance, lead, note
- Check errors from txn.Commit in lead, note
- Use lint.LogOnErrCtx for addError calls in flyover
2026-05-09 02:41:49 +00:00
679d12b48f
lint: fix errcheck for txn calls, query results, and unchecked errors
- Fix Rollback/Commit in compliance.go, csv/csv.go, csv/pool.go
- Capture and check errors from .One() insert queries in send.go, text.go
- Check errors from markFunc, PopulateURL, and hydrate functions
- Use lint.LogOnErrCtx for best-effort notification sends
2026-05-09 02:35:55 +00:00
7a361a330d
Remove now-extraneous latitude/longitude generated columns
Now that we can pull out the geometry directly into a go object we don't
need these and they complicate our insertions
2026-05-07 16:38:42 +00:00
797067ee38
Refuse to send compliance letters to addresses without a postal code 2026-04-30 03:09:42 +00:00
b5923137a7
Set organization (district) for compliance reports from mailer 2026-04-22 19:54:06 +00:00
fe2041f22b
Add an evidence field to compliance reports
This allows us to show a page with information about what the district
is concerned about when asking the user to fill a report.
2026-04-21 21:35:40 +00:00
efd6f59fca
Populate ComplianceReportRequest on site review page 2026-04-17 21:40:04 +00:00
a6ca30fdb1
Add application name to transaction
Trying to find what's getting locked
2026-04-17 21:27:30 +00:00
3196b73a80
fix setting up compliance map 2026-04-17 20:58:21 +00:00
ac552be7e7
Send compliance report data with lead data 2026-04-17 20:51:07 +00:00
61351dabf1
Update UI when a compliance letter is sent 2026-04-17 15:20:17 +00:00
81e057b900
Add initial work for backgrounding mailer job 2026-04-16 17:15:20 +00:00
7b95cfe833
Actually commit the transaction 2026-04-16 10:49:06 +00:00
2ea47f03f4
Start wiring together request for a mailer to database 2026-04-16 10:15:28 +00:00