Commit graph

15 commits

Author SHA1 Message Date
341c3ef6b9
Fix publicreport creation
The consistency is good, but I added some errors, like not using an enum
2026-03-18 18:45:18 +00:00
1e071d5ce5
Overhaul publicreport storage layer, create unified tables
This is a huge change. I was getting really sick of the split between
nuisance/water tables when more than half of the data they store is
common. I finally bit off the big work of switching it all.

This creates a single unified table, publicreport.report and copies the
existing report data into it. It also ports existing data from the
original tables into the new table.

Along with all of this I also overhauled the system for handling
asynchronous work to use a LISTEN/NOTIFY connection from the database
and a single cache table to avoid ever losing work.
2026-03-18 15:36:20 +00:00
e8d865d0ab
Wire up events for creating new public reports
This involved moving a lot of stuff to the platform layer since I don't
want event interfaces leaking out.

Also this includes a fix to the user authentication which I had
previously broken by making a platform-layer user object independent of
the database layer.
2026-03-13 17:56:24 +00:00
ce6c6c1cc1
Initial render of standing water reports from the public 2026-03-09 22:59:21 +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
cfe399e44f
Add address number to public reports 2026-03-08 03:16:58 +00:00
ef205bd622
Populate district from image location on standing water 2026-02-10 15:22:27 +00:00
c74fff6da9
Match districts on pool reports too 2026-02-10 15:09:57 +00:00
0265e9d3ec
Rework template system, merge templates
The embedded portion doesn't work yet.
2026-02-07 05:53:38 +00:00
9328e7a2f8
Properly record and display pool reports 2026-02-05 21:43:29 +00:00
eddda2f005
Fix reference to poll submission completion 2026-02-04 17:31:55 +00:00
07e8de57de
Remove pool submit complete 2026-02-04 16:12:13 +00:00
11011f3804
Fix minor error on water submission without photos 2026-02-01 04:01:30 +00:00
8bd83207dd
Make standing water form actually submit 2026-02-01 03:49:06 +00:00
c15d1b1e22
Add rendering of district-specific standing water report 2026-02-01 03:24:50 +00:00
Renamed from rmo/pool.go (Browse further)