Commit graph

126 commits

Author SHA1 Message Date
e2af49a323
Make lead creation and invalidation for public reports work
The only thing wrong at this point that I can tell is that address
aren't being correctly populated when I reverse geocode.
2026-03-14 01:14:30 +00:00
44c4f17f32
Massive rework of platform layer user/organization
The goal of this rework is to make it so I can pass around platform.User
instead of a pair of models.Organization and models.User. This is useful
for reason I kind of forget now, but it started with working on
notifications and ballooned massively from there into refactoring a
number of things that were bugging me.

This also includes a tiny amount of work on server-side events (SSE).

 * background stuff lives inside the platform now, which I need for
   having it push updates through SSE
 * userfile now lives in the platform, under file, so other platform
   functions can safely use it
 * oauth is broken into pieces and inside platform because other stuff
   was calling it already, but badly.
 * notifications go into the platform as well
2026-03-12 23:49:16 +00:00
32dcc50c94
Add new view for report counts and invalidated status
Also drop site.version from the primary key.
2026-03-12 15:27:36 +00:00
10b4bf929f
Add resolution for tracking review_task discards 2026-03-11 22:49:55 +00:00
3ccc05d4c5
Save tiles to the database to make empty tile load faster 2026-03-11 17:01:47 +00:00
5e7c547670
Fix map display on RMO status-by-id page
This involves rebuilding the "publicreport.report_location" view after
making a bunch of changes to making publicreport.water the consistent
name (over pool) throughout RMA tables.
2026-03-11 14:59:04 +00:00
d2620cdf1d
Add migration to remove extra quotes from EXIF data 2026-03-10 16:18:27 +00:00
808d6fb273
Add missing generated SQL file 2026-03-09 19:30:35 +00:00
99dc9a08c0
Add 'centroid' accuracy from the database
It's used by stadiamaps
2026-03-09 18:27:47 +00:00
e932c2c473
Rework publicreport addressing
This adds the ability to link a proper address in the database to the
report and harmonizes the field names with the address table. It also
migrates away from mapbox entirely.

And I fixed the "pool" naming for the publicreports, which are supposed
to be the more generic 'water'.
2026-03-09 18:02:22 +00:00
2f7ecdfae8
Move publicreport.image to have a point location 2026-03-09 00:48:44 +00:00
cfe399e44f
Add address number to public reports 2026-03-08 03:16:58 +00:00
1e80c62701
Migrate public report classes to point location
...and drop quick report tables
2026-03-08 02:43:00 +00:00
e1bcbf79b1
Add tile cache and relationship to organization map layer 2026-03-06 21:13:32 +00:00
4494bd97cf
Rename address.geom to address.location
It's a better name.
2026-03-06 19:46:41 +00:00
527e82031e
Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
f97e769d4b
Add specific location via geometry column on pool 2026-03-05 18:38:22 +00:00
78a35e5d1f
Make parcels attached to addresses optional 2026-03-05 02:30:12 +00:00
60344e3c30
Relate compliance report requests through leads 2026-03-05 01:22:21 +00:00
9c3d2ba3df
Remove organization from fileupload.pool table, fix in district logic 2026-03-04 20:59:57 +00:00
daa8cb1748
Push geocoding down a layer
This makes it possible to always save address information from our
geocoder.
2026-03-04 18:29:52 +00:00
6959499d37
Add signal database schema 2026-03-04 14:58:43 +00:00
6a5a59f8b8
Merge aerial flyover and pool CSV row datatypes
They are extremely similar, having both was just extra work.
2026-03-04 14:52:34 +00:00
3302990837
Insert enum value rather than renaming
I must have done something different on my dev machine because the state
doesn't match staging.
2026-03-04 12:12:40 +00:00
a19de21333
Fix missing enum value for pool condition 2026-03-04 04:02:55 +00:00
6aa7fa60b4
Add region (state) to address 2026-03-03 20:27:12 +00:00
a0eee3a95f
Rework mailer database schema, add UUID to mailers
At this point, I sent out our first test mailers for Delta.
2026-03-02 23:27:55 +00:00
ff2ec0ad14
Split out ability to upload flyover data from pool uploads
Tons of changes here, all in the name of quickly getting to where I can
create test compliance letters.
2026-03-02 18:49:02 +00:00
d4d9749431
Rework arcgis integration for arcgis-go changes and table changes 2026-02-28 23:26:08 +00:00
b292f47d47
Clean up removed generated bob files 2026-02-28 23:21:14 +00:00
91fe244da8
Add data for handling parcel images 2026-02-28 22:54:39 +00:00
7b1ffbab12
Add new tables for storing parcel and address data 2026-02-26 18:18:33 +00:00
2bb4a134b2
Add centroid information when geocoding
I would use the boundary rect, but I'm getting a 500-level error from
stadia maps
2026-02-25 16:08:32 +00:00
f140222dbc
Rename pool status 'empty' to 'dry', add more file upload statuses 2026-02-24 17:05:20 +00:00
7ea66dc02e
Add user account roles 2026-02-18 07:03:32 +00:00
5a7c9fd090
Move data out of import.district and in to organization
Then get the organization settings page to work again.

Tons of other stuff is broken now.
2026-02-17 05:33:12 +00:00
a65f1e0776
Fix up attaching errors to rows 2026-02-16 17:59:18 +00:00
ef569aef18
Save tags on pool rows, show errors in summary table 2026-02-16 16:38:04 +00:00
123a4bf590
Fix SRID of pool uploads
This makes our calculations correct when checking if an address is in
the district.
2026-02-16 15:47:39 +00:00
f859e372c6
Fill in correct data about the district 2026-02-16 15:26:41 +00:00
a1cc2dbaff
Add district setting page and display of district boundary 2026-02-16 15:03:26 +00:00
9fdadcc296
Add a new "empty" pool condition 2026-02-14 15:42:17 +00:00
2bc0e18b9e
Actually finish uploaded files 2026-02-14 05:40:27 +00:00
b654198e3f
Simplify log output on startup 2026-02-13 21:15:09 +00:00
bdd862e649
Show actual information on oauth integration setting page 2026-02-13 21:14:46 +00:00
b254472dcd
Rework all of the HTTP layer
At this point I have working login, I think, according to the MITMProxy
work I've done, but haven't had a successful request so far.
2026-02-12 17:40:42 +00:00
f02640be35
Remove fields from fieldseeker
This was done in ArcGIS by Delta.

We are way, WAY too coupled to a changeable data model.
2026-02-10 18:55:28 +00:00
e40fe55eaf
Modify email subscription table to drop district ID
I don't have time to work out all the behavior, this is just to get to
where I can release
2026-02-10 05:12:42 +00:00
d93cdbef41
Drop district_id from subscriptions 2026-02-10 04:59:27 +00:00
b25daf12fa
Add table for holding subscriptions from users 2026-02-10 04:31:57 +00:00