7f71ff9a2e
Send submit PUT on compliance report flow, create communication then
...
This makes it so that people don't see compliance reports as they're
being formulated in the communication workbench
2026-05-01 21:27:17 +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
bab3200b6c
Port all of the arcgis schema to using jet
...
Have not tested anything at this point, it just compiles.
2026-05-01 17:28:33 +00:00
1cfe51f894
Actually check the error state for saving an image
2026-04-30 14:27:45 +00:00
da75aeecf2
Allow multiple posts of address report
...
Since this is the first step of scanning the mailer.
2026-04-29 19:30:43 +00:00
38359e20e9
Use auto build version info for embedding version information
...
This is better, integrates with git, gives us more detail, and I don't
have to explicitly pass it around everywhere.
2026-04-28 16:36:48 +00:00
72626e8dd0
Fix incorrectly passing public status to platform for nuisance
2026-04-28 14:56:06 +00:00
b68d93ec91
Load communication reports asynchronously
...
This solves some problems created by making the publicreport part of the
communication API consistent. There are a lot of optimizations still on
the table with this one, but for now I need to get this out.
2026-04-28 14:49:02 +00:00
dba8b6c475
Consistently use the correct public URI for public reports
2026-04-28 07:12:12 +00:00
4ae0410930
Fix various inter-linkings of public report paths
2026-04-28 06:53:58 +00:00
8bdd18649d
Separate out a public and non-public halves to publicreport APIs
...
This prevents us from leaking text messaging details on public
endpoints.
2026-04-28 06:36:55 +00:00
6350aa00d5
Populate report URI and district on communication list
2026-04-27 23:15:33 +00:00
96498c01bf
Add API for getting just the closest reverse geocoded answer
...
Because we don't care about anything that is nearby when the user clicks
on the map, we just want the closest thing.
2026-04-27 19:44:25 +00:00
be8d92d7ae
Add 'submitted' field to compliance reports
2026-04-27 16:23:16 +00:00
5e638bdf1d
Remove hidden water inputs, add missing duration input
2026-04-24 22:23:52 +00:00
c6282c9f5e
Default to setting AddressGid
...
So we don't run afoul of the nullable constraint
2026-04-23 22:41:22 +00:00
516dd6f429
Don't show "send compliance mailer" if org isn't configured for Lob
2026-04-23 15:50:58 +00:00
b4e6bac566
Fix reference to number_ column
2026-04-23 13:53:22 +00:00
1ddba5ebb1
Fix qr code generator functions
2026-04-23 00:30:42 +00:00
10dc5c0bd7
Move qr-code generation to the API
2026-04-23 00:28:31 +00:00
23819961e6
Populate compliance address based on site location
2026-04-22 21:22:33 +00:00
a8819c907e
Add concern page to mailer compliance flow
2026-04-22 21:22:03 +00:00
b5923137a7
Set organization (district) for compliance reports from mailer
2026-04-22 19:54:06 +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
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
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
eb27af7d90
Add mailer API and initial mailer view
2026-04-21 19:19:59 +00:00
80031c1d1a
Make response to compliance report creation consistent
2026-04-21 15:01:01 +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
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
c938cb231e
Add org name and user name to dashboard
2026-04-17 17:51:02 +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
1f8e6b698f
Allow for a lot more sites, and for scrolling
2026-04-17 02:40:05 +00:00
f1890332ae
Get proper cached images from the tile server
2026-04-16 20:51:17 +00:00
a6f9396760
Add first draft of mailer integration
...
This adds a bunch of stuff, including setting the organization's Lob
sender address ID, inserting mailer/compliance_report relationships,
adding external id from Lob (or maybe some other provider) and
attempting to load up the pool feature for a site.
2026-04-16 19:49:18 +00:00
2ea47f03f4
Start wiring together request for a mailer to database
2026-04-16 10:15:28 +00:00
c4c22f6733
Start to populate site information in review task
2026-04-16 06:58:05 +00:00
e894ae28dc
Add initial site list resource
2026-04-16 02:45:48 +00:00
5451c297c2
Harmonize review page properties between front and back ends
2026-04-14 23:29:29 +00:00
4a440e3022
Add a resource for getting service requests
2026-04-14 19:59:32 +00:00
28ec1c3d67
Get latest syncs from the API
2026-04-14 19:21:51 +00:00
fe41df3e16
Make publicreport by ID base redirect to detailed information
2026-04-14 16:07:17 +00:00
7e2a22c58c
Mave report ByID to their own resources
2026-04-14 15:31:10 +00:00
9b1de15373
Fix public report ID for water reports
2026-04-14 15:28:41 +00:00
c84a2ef42b
Properly set public ID
2026-04-14 15:24:21 +00:00