Commit graph

14 commits

Author SHA1 Message Date
c7a7e8431c
lint: fix errcheck for fmt.Fprintf/Fprint across multiple files
Add lint.Fprint helper for unchecked fmt.Fprint calls.
Use lint.Fprintf/Fprint in api/event.go, api/image.go, rmo/root.go.
Add explicit error check for fmt.Fprintf in middleware/terminal.go cW.
2026-05-09 02:21:53 +00:00
0265e9d3ec
Rework template system, merge templates
The embedded portion doesn't work yet.
2026-02-07 05:53:38 +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
2066840a40
Add district-specific nuisance reporting page. 2026-02-01 03:14:36 +00:00
93079c5c8e
Make urls with district slugs 2026-02-01 03:07:46 +00:00
c435feeebc
Show district branding on root with correct slug 2026-02-01 02:57:58 +00:00
c5f6db0b73
Lookup district and show on report submission complete 2026-02-01 02:37:35 +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
0700b1c446
Wire up nuisance submit form to endpoint 2026-01-30 22:07:20 +00:00
bab8af4572
Get basic bones of the nuisance page copied from the mock 2026-01-30 20:41:02 +00:00
bb9dd1754f
Start setting up structure for generating URLs
This is to eventually avoid adding URLs through hard-coded strings to
our templates.
2026-01-30 19:32:01 +00:00
9b1d75d47f
Rename htmlpage to html
Because it's going to get more tools.
2026-01-30 19:32:01 +00:00
2bd848fa97
Rename rmo/endpoint.go to rmo/root.go
Because it contains the root page logic.
2026-01-30 18:01:39 +00:00
Renamed from rmo/endpoint.go (Browse further)