Commit graph

1653 commits

Author SHA1 Message Date
5cdbc4eb53
Fix links in the compliance process 2026-04-22 14:49:04 +00:00
b4527fba8b
Develop patterns for creating links outside router 2026-04-22 14:33:56 +00:00
bcd51cf5cf
Fix compliance query again.
Blarg.
2026-04-22 00:22:51 +00:00
8a9a3e8c0c
Update pnpm deps hash from sentry update 2026-04-22 00:05:27 +00:00
986d12eab2
Initialize sentry after getting API status 2026-04-21 23:58:04 +00:00
839abcbd28
Mave frontend data to base api root
Because many times we don't have a session
2026-04-21 23:53:42 +00:00
544ac78a3b
Add frontend configuration to session for env, sentry, version 2026-04-21 23:44:59 +00:00
8d37e8fab5
Fix compliance query
I can't use this until I fix some bugs in bob :(
2026-04-21 23:36:29 +00:00
2b30411c1b
Add sentry integration with Vue frontend 2026-04-21 23:35:59 +00:00
baaa3bff5b
Make request parser handle form-encoded content
This fixes a new signin bug
2026-04-21 22:48:31 +00:00
0ce3420792
Save all lob events to the database
They're pretty raw, but this will help us to understand what we can
collect
2026-04-21 22:24:12 +00:00
4db1a6f678
Add support for data fields for letter.created 2026-04-21 22:11:53 +00:00
f24104dc94
Update lob hook to handle both address created and letter billed payloads
Seems we'll have a lot of optional values
2026-04-21 22:00:09 +00:00
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