8e0ac790f1
Return all communications from the DB
...
We'll filter on the frontend
2026-05-11 23:23:01 +00:00
3a3cd78cac
Only show communications that are 'new' or 'opened'
2026-05-11 23:22:43 +00:00
27596aff20
Fix insertion of communication log entries when marking
2026-05-11 23:22:41 +00:00
57eea3a08a
Fix reference to enum value in SQL
...
Without this we get a runtime crash querying the DB :(
2026-05-11 23:22:09 +00:00
d1935d31af
Sort communication by recency
2026-05-11 23:22:09 +00:00
93510e4b2e
Properly insert nuisance and water public reports
2026-05-11 23:22:07 +00:00
935800e334
Switch to using the Gleipnir fork of jet
...
Because we need those sweet, sweet geometry columns
2026-05-09 01:48:56 +00:00
7da653efc6
Avoid a DB query if there are no address IDs
2026-05-08 22:21:56 +00:00
12213fb31b
Remove string-only references to location_* generated columns
2026-05-07 17:01:54 +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
fcd95f1a25
Get back to compiling, but using new jet for publicreport
...
This was an epically long change, and a terrible idea, but it compiles.
This was essentially a cascade that came about because I can't blend jet
and bob in the same transaction. In for a penny, I guess...
2026-05-07 10:39:17 +00:00
a95e44cf42
Use transactions to set the communication status changes
...
Not doing it yet, but soon we'll do log entries for them.
2026-05-04 20:57:50 +00:00
040ab106b4
Fix failing to set timestamp in mark query
...
I accidentally didn't understand how this API works.
2026-05-04 20:30:36 +00:00
114aec73ed
Fix setting timestamp for when action is taken
2026-05-04 20:09:56 +00:00
3153e8bf13
Initial work marking communications
...
And a bunch of lint fixes
2026-05-04 19:07:29 +00:00
d6b664d84a
Return the communication we create
...
...or else it'll be empty.
2026-05-02 00:37:51 +00:00
a82732a49c
Return communication database rows from communication API
...
This is a pretty big refactor of how communication works to start moving
us in the direction we want to go long-term. This adds the new
communication row and migrates existing reports to add rows for
communication.
There's also a bunch of automatic fixes from the new linter. I should
have added them separately, but whatever.
2026-05-01 21:00:23 +00:00