ee9a355613
Serialize nil slices as empty slices
2026-04-21 21:55:48 +00:00
810a13cee0
Add initial lob hook receiver
2026-04-21 21:55:37 +00:00
fe2041f22b
Add an evidence field to compliance reports
...
This allows us to show a page with information about what the district
is concerned about when asking the user to fill a report.
2026-04-21 21:35:40 +00:00
a0ac5c0674
Add debug logs around authentication
...
Trying to troubleshoot our redirection logic after signin
2026-04-21 19:40:00 +00:00
bcc5151116
Don't compliance report on root Compliance page
...
We're now doing that through our two entrypoint pages.
2026-04-21 19:39:18 +00:00
8fd86d478c
Update mailer page to show actual data
2026-04-21 19:38:46 +00:00
0b005c3e76
Add debug logs around exiting goroutines
...
I'm debugging our clean shutdown
2026-04-21 19:37:58 +00:00
4a214b099e
Disallow login or sessions from inactive users
2026-04-21 19:37:26 +00:00
eb27af7d90
Add mailer API and initial mailer view
2026-04-21 19:19:59 +00:00
0d8d7f3aeb
Add link for reviewing mailers
2026-04-21 15:01:46 +00:00
80031c1d1a
Make response to compliance report creation consistent
2026-04-21 15:01:01 +00:00
bcea3c6bdf
Gracefully exit listenForJobs when context ends
2026-04-21 14:59:52 +00:00
bad50a8772
Clean up compliance report creators and share UI
2026-04-21 14:45:11 +00:00
bd3e42f83e
Use the same create logic for Mailer report creation
2026-04-21 14:41:06 +00:00
f927b0a911
Split out ComplianceDistrict view for creating new compliance reports
...
The idea here is that we'll make compliance reports two different ways,
The first is if the user navigates to /district/:slug/compliance, the
second if they open a QR code from a mailer. In both cases we create the
report then feed them into a flow for updating the data on that report.
2026-04-21 14:35:13 +00:00
8eae73eefb
Add initial compliance mailer page
...
It loads at this point. Woot.
2026-04-20 23:16:57 +00:00
5d510915d2
Add version to frontend connection
2026-04-20 22:42:21 +00:00
e2d4f917a0
Add script for running output of "nix build"
2026-04-20 22:41:55 +00:00
2a3dbbdad3
Show login error on failure
2026-04-20 22:34:39 +00:00
7a6cffa74c
Cleanup unused variables
2026-04-20 22:34:24 +00:00
e929118349
Reduce log spam on user login error
2026-04-20 22:34:10 +00:00
aae0d1ed74
Log version on startup
2026-04-20 22:33:56 +00:00
8387cf667b
Add company filter to Lob list addresses
...
...even though I never made it actually work.
2026-04-20 22:33:20 +00:00
ffd424df12
Save the organization with the compliance report on creation
...
This avoids the problem of having to assign the compliance report later
when we get location data and image data.
2026-04-20 16:21:08 +00:00
0b32492fd6
Add version information to build output
2026-04-20 01:58:44 +00:00
ade629ecf5
Rework background jobs to make transactions much shorter
...
I ended up with minutes-long open transactions in the database in prod
which was causing outtages. This is because I thought transactions were
basically free, which is a terrible thing to think. Instead we'll just
open them when we need them.
2026-04-17 22:53:23 +00:00
55cb4ca962
Track the site with the URL
2026-04-17 22:04:24 +00:00
efd6f59fca
Populate ComplianceReportRequest on site review page
2026-04-17 21:40:04 +00:00
a6ca30fdb1
Add application name to transaction
...
Trying to find what's getting locked
2026-04-17 21:27:30 +00:00
3196b73a80
fix setting up compliance map
2026-04-17 20:58:21 +00:00
5a865cc5e1
arcgis-go bump
2026-04-17 20:55:11 +00:00
abbe80b1f0
Don't fail to process background jobs because one failed
2026-04-17 20:51:24 +00:00
ac552be7e7
Send compliance report data with lead data
2026-04-17 20:51:07 +00:00
cedbb3372e
Try to capture more data on the failure to create address with Lob
2026-04-17 20:50:43 +00:00
0420b777c9
Remove chatty log
2026-04-17 20:50:30 +00:00
83bf3023de
Update vendor has for arcgis-go update
2026-04-17 20:26:55 +00:00
0e777568fb
Add sublogging for job work for debugging
2026-04-17 20:25:25 +00:00
75e9d5a621
Bump arcgis-go version to 0.0.12
2026-04-17 20:25:06 +00:00
a2cdbc26bd
Allow signin with next parameter
2026-04-17 19:44:08 +00:00
be9065354d
Detect when we fail to get tile service
2026-04-17 19:43:57 +00:00
fa675f293d
Add initial work on getting compliance data for leads
2026-04-17 19:43:40 +00:00
b7d26d5ad7
Only log every route if we have VERBOSE enabled
2026-04-17 19:39:10 +00:00
21587493c0
Stop swamping the server on reboot
2026-04-17 18:36:05 +00:00
4625dd39d0
Default sort sites by created date
2026-04-17 18:25:04 +00:00
fd662721bb
Fix non-rolled-back transactions
2026-04-17 18:19:13 +00:00
4a8c0d2e60
defer rollback rather than guard returns
...
I'm trying to make sure we close transactions on the database
2026-04-17 18:00:26 +00:00
c938cb231e
Add org name and user name to dashboard
2026-04-17 17:51:02 +00:00
ba8c0016ac
Add sigup page...again
...
Had it previously, but broke it for the single-page app migration.
2026-04-17 17:48:18 +00:00
b6e1bffd79
Add support for satellite tiles, with caching
2026-04-17 17:47:38 +00:00
61351dabf1
Update UI when a compliance letter is sent
2026-04-17 15:20:17 +00:00