Commit graph

77 commits

Author SHA1 Message Date
347f62bd6d
Fix method on marking communications 2026-05-04 19:43:37 +00:00
3153e8bf13
Initial work marking communications
And a bunch of lint fixes
2026-05-04 19:07:29 +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
2f6cbe59eb
Add root API to RMO api
For getting sentry integration information
2026-04-29 23:58:49 +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
175fd8d0fb
Fix water public ByIDGet uri generation 2026-04-28 07:34:54 +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
10dc5c0bd7
Move qr-code generation to the API 2026-04-23 00:28:31 +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
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
61351dabf1
Update UI when a compliance letter is sent 2026-04-17 15:20: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
b6d1bd9ee2
Create sign-in and sign-out workflow in SPA 2026-04-16 17:14:57 +00:00
2ea47f03f4
Start wiring together request for a mailer to database 2026-04-16 10:15:28 +00:00
e894ae28dc
Add initial site list resource 2026-04-16 02:45:48 +00:00
1097004245
Add custom pool upload page 2026-04-15 18:25:38 +00:00
4a440e3022
Add a resource for getting service requests 2026-04-14 19:59:32 +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
e707d91e7f
Create images on the correct URI 2026-04-14 02:35:04 +00:00
3ae72c8944
Check for address before inserting a new one. 2026-04-14 01:20:52 +00:00
ba76c8b1db
Return full compliance report on PUT 2026-04-13 19:32:22 +00:00
9ba99d5ceb
Remove now-empty report address fields
We'll instead create address rows and reference those
2026-04-12 18:33:41 +00:00
a3c340f787
Split public report URIs by type
This allows us to have different signatures for the different types
2026-04-12 17:01:30 +00:00
4060e7ddcd
Upload images on compliance report 2026-04-10 22:34:14 +00:00
bac55774f8
Switch address to contain an embedded location, start saving compliance 2026-04-10 16:59:29 +00:00
b23fc6edc5
Fix dodgy creation of compliance report in database 2026-04-10 15:38:05 +00:00
553b65556a
Begin work on saving compliance report 2026-04-10 00:56:51 +00:00
2c0bfb9904
Update nuisance submission to go to submitted page 2026-04-08 17:51:41 +00:00
43dce16fbd
Add APIs for geocoding and reverse-geocoding 2026-04-06 16:59:18 +00:00
2d5dca3fb5
Add proxied autocomplete for Stadia
This allows me to make the format consistent and to cache the
intermediate results, which is useful for speed and testing
2026-04-05 21:57:30 +00:00
10e368c403
Get initial nuisance and water resources working
This is a straight port of the form-encoded POST submission logic.

It is missing a bunch of data.
2026-04-03 22:04:22 +00:00
bfecae7d61
Add district resource and an API to RMO
We're going to need an API for the single-page frontend
2026-04-03 18:17:19 +00:00
4b87c74f41
Make impersonation ending work, fix frontend events 2026-04-02 21:31:31 +00:00
76c395d613
Add display in sidebar for impersonation 2026-04-02 17:39:16 +00:00
f9934095b3
Fix reference to avatar URI 2026-04-02 15:09:59 +00:00
42d111aac9
Add separate session endpoint for additional non-user data
This is conceptually much cleaner that encumbering the user object.
2026-04-02 01:07:55 +00:00
00ebc27069
Add reverse parsing of a URI.
Yay. I did it. All the work is worth it now.
2026-04-01 22:01:31 +00:00
a89a4fbec5
Add avatar resource 2026-04-01 21:23:28 +00:00
0a7a2512d4
Properly set Avatar value to null 2026-04-01 20:35:00 +00:00
6fbde6389d
Start creating user resources without ID. 2026-04-01 20:22:15 +00:00
a656d45a6d
Move QueryParams to resource module 2026-04-01 18:23:43 +00:00
6c311c76e3
Initial draft of shifting from chi to gorilla/mux 2026-04-01 16:19:11 +00:00
6f9a511874
WIP of user avatar work
Switching from laptop
2026-03-29 17:09:01 -07:00
ad90f9c95e
Create API for adding an avatar to a user 2026-03-28 18:55:13 -07:00