Commit graph

11 commits

Author SHA1 Message Date
2c0bfb9904
Update nuisance submission to go to submitted page 2026-04-08 17:51:41 +00:00
5cfd16e6a0
Fix references to report organization ID 2026-03-18 19:00:40 +00:00
21e8b9880d
Remove report_location view, add lat lng to report table 2026-03-18 18:55:50 +00:00
2538638c9d
Create generic backend process, fix background interdependencies
This refactor was born out of the inter-dependency cycles developing
between the "background" module and just about every other module which
was caused by the background module becoming a dependency of every
module that needed to background work and the fact that the background
module was also supposedly responsible for the logic for processing
those tasks.

Instead the "background" module is now very, very shallow and relies
entirely on the Postgres NOTIFY logic for triggering jobs. There's a new
table, `job` which holds just a type and single row ID.

All told, this means that jobs can be added to the queue as part of the
API-level or platform-level transaction, ensuring atomicity, and
processing coordination is handled by the platform module, which can
depend on anything.
2026-03-16 19:52:29 +00:00
148454d392
Push update to public report event when reporter is saved 2026-03-14 18:14:30 +00:00
1b85ce0d78
Actually commit changes to notifications 2026-02-10 05:28:23 +00:00
f78515cc07
Fix error log reporting 2026-02-09 22:34:07 +00:00
0265e9d3ec
Rework template system, merge templates
The embedded portion doesn't work yet.
2026-02-07 05:53:38 +00:00
57191fa222
Alter report submission page to request reporter name and consent
This also adds the new mechanism for handling notifications on reports
2026-02-06 15:39:49 +00:00
f20067b323
Actually update reports when a subscriber subscribes 2026-01-31 21:07:03 +00:00
a9b0a55f20
Create report platform layer
Rework phone subscription at the database layer so that we have a
seprate phone status and subscriptions to district communications.
2026-01-31 20:08:08 +00:00