Commit graph

16 commits

Author SHA1 Message Date
28714b06b8
Fix tracking report type through the system 2026-03-18 19:25:52 +00:00
685b7456b6
Return logs on comms public reports
...and start to display them. A bit.
2026-03-18 18:56:51 +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
70d3aef8b3
Re-select selected communication on fetch
This makes it so the UI updates with any changes we pull down.
2026-03-14 20:03:46 +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
4ac7e29909
Sort messages by creation time 2026-03-10 15:46:17 +00:00
8bbe3d3cb3
Add simple history log to communications 2026-03-10 04:58:24 +00:00
ce6c6c1cc1
Initial render of standing water reports from the public 2026-03-09 22:59:21 +00:00
884634a2d7
Split apart comms logic into platform-lever funcs 2026-03-09 15:03:01 +00:00
cfe399e44f
Add address number to public reports 2026-03-08 03:16:58 +00:00
beb4b914a0
Add additional source information and property areas 2026-03-07 02:18:40 +00:00
1970ccb13e
Show images from public reports 2026-03-07 02:02:10 +00:00
f1f9c8f902
Add type to communications response 2026-03-07 01:37:48 +00:00
cb1229a8bd
fix sending too many images 2026-03-07 01:20:06 +00:00
462e12dd6e
Add location data to comms 2026-03-07 01:09:27 +00:00
636a0379aa
Early process converting communication page to use actual data. 2026-03-06 23:45:12 +00:00