Commit graph

1321 commits

Author SHA1 Message Date
c84a2ef42b
Properly set public ID 2026-04-14 15:24:21 +00:00
5527731e83
Add can SMS question, fix error handling of client ID 2026-04-14 15:15:19 +00:00
84db38c985
Include client ID in nuisance and water reports 2026-04-14 14:50:28 +00:00
a23866619d
Start saving client ID on compliance reports 2026-04-14 14:38:22 +00:00
7545b2e4ef
Update the report after uploading images 2026-04-14 02:44:10 +00:00
5448702a7d
Fully populate report after PUT
Otherwise we miss stuff like the number of images
2026-04-14 02:38:36 +00:00
2408bcbeff
Save public_id after creating report so we see it in the UI 2026-04-14 02:35:41 +00:00
e707d91e7f
Create images on the correct URI 2026-04-14 02:35:04 +00:00
e2b6bc6502
Use JSON POST for creating the compliance report 2026-04-14 02:33:39 +00:00
b805374a6c
Fix not panning to location when map is loaded 2026-04-14 02:02:34 +00:00
6e1a5b4348
Avoid jumping to empty camera location 2026-04-14 01:45:04 +00:00
cadf6afb5f
Use embedded address location rather than external location on geocode 2026-04-14 01:42:53 +00:00
3c62fe2ca1
Be consistent about using report.public_id over report.id 2026-04-14 01:26:23 +00:00
02139450c6
Always set reporter phone can SMS 2026-04-14 01:21:50 +00:00
3ae72c8944
Check for address before inserting a new one. 2026-04-14 01:20:52 +00:00
a189348b36
Remove existing report URI when submission completes 2026-04-13 23:51:43 +00:00
8f494991e2
Make final pages show real data 2026-04-13 22:46:43 +00:00
f74d2c3ca1
Show phone and email as present if they are only on the server 2026-04-13 22:35:00 +00:00
c0389fa4b1
Stop overwriting the address by ID
We can pull this in the single query we do to the database instead
2026-04-13 22:34:36 +00:00
9c557a0391
Make it possible to save SMS support status on phone record 2026-04-13 22:23:29 +00:00
96878f24de
Get contact information to save in compliance flow 2026-04-13 21:45:29 +00:00
083c4ddae9
Save access information to database 2026-04-13 20:42:03 +00:00
ba76c8b1db
Return full compliance report on PUT 2026-04-13 19:32:22 +00:00
9bca15ae7e
Use the right URI for compliance reports 2026-04-13 19:25:54 +00:00
ffedae0373
Update address foreign key when updating the address 2026-04-13 19:22:41 +00:00
dcab2e1f8f
Fix failing to find matching address with publicreport 2026-04-13 17:19:20 +00:00
92f4282674
Track map loading, frame markers when map is loaded
This prevents missing the marker framing because we are still loading
the map.
2026-04-13 16:59:59 +00:00
8baa056fab
Return a compliance URI on creation 2026-04-13 16:59:34 +00:00
5011f4c137
Add raw address value to public report response 2026-04-13 16:59:20 +00:00
1a031f16bd
Update event types to include compliance reports 2026-04-13 16:59:11 +00:00
5db4c05544
Add proper compliance report type
Can't believe I missed this.
2026-04-13 16:42:29 +00:00
0f94292ab7
Fix zoom in when we load existing report data 2026-04-13 15:22:50 +00:00
b701771dfb
Remove district loading debug log 2026-04-13 15:17:57 +00:00
447ea18d95
Bit of type cleanup when debugging 2026-04-13 15:17:57 +00:00
756cc0d266
Add properties to update compliance permission access 2026-04-13 15:15:33 +00:00
0297114faf
Remove unnecessary null coalesce 2026-04-13 15:14:48 +00:00
dddeafe6cd
Fix query for address IDs 2026-04-13 15:13:59 +00:00
6f5b8f5575
Add implementation of insertAddresses 2026-04-12 19:42:37 +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
5306f8ba62
Populate nuisance and water public reports by ID 2026-04-12 18:02:42 +00:00
ae10e4fee8
Initial pattern for populating different report types 2026-04-12 17:53:25 +00:00
c8f74d3c26
Consistently use 'public' prefix for reports 2026-04-12 17:07:14 +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
875298fe88
Show a warning if they will replace the images on the report 2026-04-12 16:44:20 +00:00
ab47259534
Fix sending empty longitude when creating the initial report 2026-04-12 16:29:37 +00:00
60eb6b9bbf
Use class heirarchy for different report types. 2026-04-10 23:57:47 +00:00
4735734404
Helper functions for parsing geocode data 2026-04-10 22:34:34 +00:00
4060e7ddcd
Upload images on compliance report 2026-04-10 22:34:14 +00:00
730f40956f
Store addresses on every geocode 2026-04-10 22:32:40 +00:00
e04b86218d
Fix bad compliance report PUT
Avoid attempting to PUT the location when we don't have a report URI
2026-04-10 20:30:22 +00:00