Commit graph

394 commits

Author SHA1 Message Date
f490e4a1a4
Avoid duplicate rownumber calculation
We have the row number saved on the pool object itself, which is how we
gather errors against rows.
2026-04-16 04:20:28 +00:00
d352b0d932
Get pool rows by line number so they stay in order
Because otherwise the errors don't line up correctly.
2026-04-16 04:01:44 +00:00
5e0981e2a2
fix bad copy paste on address field 2026-04-16 03:16:57 +00:00
b2d8e3ba27
Move address list func to types so it can be shared with csv
And stop double-geocoding all the rows.
2026-04-16 03:06:18 +00:00
82dd5e8683
More debugging for CSV import 2026-04-16 02:46:55 +00:00
f5ac7bb4ee
Set address form pool rows using address model if possible 2026-04-16 02:46:24 +00:00
e894ae28dc
Add initial site list resource 2026-04-16 02:45:48 +00:00
0e165b57d0
Default header to tag type 2026-04-16 00:18:42 +00:00
dfe7d3650f
Default header type to unknown
This is a subtle bug from the zero value of a header enum that's causing
overwriting in pool uploads
2026-04-16 00:14:35 +00:00
b6951d64d4
Remove api_key from URL to stadia cache
It's redundant and a security risk
2026-04-16 00:09:18 +00:00
ac27c60e0c
Save address IDs when doing pool geocoding 2026-04-15 20:29:42 +00:00
6a8ae6d81a
Exit the geocode job if we hit an error 2026-04-15 19:31:55 +00:00
87c802fa90
Fix relationship for looking up whether the pool is in the district 2026-04-15 19:31:32 +00:00
b08582224a
Add missing required state header
I was incorrectly mapping "city" to "region" previously. A 'region'
actually is closer to a state. We need a locality, which is closer to a
city.
2026-04-15 19:30:50 +00:00
66d35428fa
Add error display to file upload 2026-04-15 19:02:25 +00:00
b09725726c
Create API for service requests list 2026-04-14 23:06:50 +00:00
4a440e3022
Add a resource for getting service requests 2026-04-14 19:59:32 +00:00
28ec1c3d67
Get latest syncs from the API 2026-04-14 19:21:51 +00:00
fe41df3e16
Make publicreport by ID base redirect to detailed information 2026-04-14 16:07:17 +00:00
59e58840c9
Fix address lat/lng location names, populate in report response 2026-04-14 15:43:49 +00:00
5527731e83
Add can SMS question, fix error handling of client ID 2026-04-14 15:15:19 +00:00
a23866619d
Start saving client ID on compliance reports 2026-04-14 14:38:22 +00:00
cadf6afb5f
Use embedded address location rather than external location on geocode 2026-04-14 01:42:53 +00:00
3ae72c8944
Check for address before inserting a new one. 2026-04-14 01:20:52 +00:00
c0389fa4b1
Stop overwriting the address by ID
We can pull this in the single query we do to the database instead
2026-04-13 22:34:36 +00:00
9c557a0391
Make it possible to save SMS support status on phone record 2026-04-13 22:23:29 +00:00
083c4ddae9
Save access information to database 2026-04-13 20:42:03 +00:00
ba76c8b1db
Return full compliance report on PUT 2026-04-13 19:32:22 +00:00
ffedae0373
Update address foreign key when updating the address 2026-04-13 19:22:41 +00:00
dcab2e1f8f
Fix failing to find matching address with publicreport 2026-04-13 17:19:20 +00:00
5011f4c137
Add raw address value to public report response 2026-04-13 16:59:20 +00:00
1a031f16bd
Update event types to include compliance reports 2026-04-13 16:59:11 +00:00
dddeafe6cd
Fix query for address IDs 2026-04-13 15:13:59 +00:00
6f5b8f5575
Add implementation of insertAddresses 2026-04-12 19:42:37 +00:00
9ba99d5ceb
Remove now-empty report address fields
We'll instead create address rows and reference those
2026-04-12 18:33:41 +00:00
5306f8ba62
Populate nuisance and water public reports by ID 2026-04-12 18:02:42 +00:00
ae10e4fee8
Initial pattern for populating different report types 2026-04-12 17:53:25 +00:00
c8f74d3c26
Consistently use 'public' prefix for reports 2026-04-12 17:07:14 +00:00
a3c340f787
Split public report URIs by type
This allows us to have different signatures for the different types
2026-04-12 17:01:30 +00:00
4735734404
Helper functions for parsing geocode data 2026-04-10 22:34:34 +00:00
4060e7ddcd
Upload images on compliance report 2026-04-10 22:34:14 +00:00
730f40956f
Store addresses on every geocode 2026-04-10 22:32:40 +00:00
12aedaf543
Update the address when provided on a report 2026-04-10 20:30:22 +00:00
bac55774f8
Switch address to contain an embedded location, start saving compliance 2026-04-10 16:59:29 +00:00
b23fc6edc5
Fix dodgy creation of compliance report in database 2026-04-10 15:38:05 +00:00
553b65556a
Begin work on saving compliance report 2026-04-10 00:56:51 +00:00
9dccd21cee
RMO frontend checkpoint
* Create a nwe AddressAndMapLocator which abstracts out the behavior of
   selecting a location
 * Fix the overlay causing render errors on the MapLocator by getting
   rid of the overlay and just using a lock indicator
 * Fix MapLocator zooming in to the wrong place by not framing the
   markers
 * Remove Latlng from platform and just use Location with optional
   accuracy
 * Use nested types with form-encoded POST
 * Fix styles on water report page
2026-04-09 17:21:35 +00:00
b2c24a0438
Show nuisance report status 2026-04-08 23:37:00 +00:00
2c0bfb9904
Update nuisance submission to go to submitted page 2026-04-08 17:51:41 +00:00
6c79b8a85e
Add address GID to public report
This is _way_ better than trying to re-transmit structured address data
to the backend via strings
2026-04-08 14:40:27 +00:00