5b0d009353
Get text messages for a contact and the phone status
/ golint (push) Failing after 10s
2026-05-23 00:48:16 +00:00
7b04822a9b
Move properties of phones to the phone, not contact_phone
...
This makes sense because there will naturally be cases where multiple
districts have the same phone number mapped to different contacts.
2026-05-22 20:56:22 +00:00
e3cc1e99d1
Update storage of reporter in contact
...
I failed to retrieve the data correctly before as part of the changeover
to contact records.
Issue: #13
2026-05-21 23:12:36 +00:00
5e103f46a0
Fix populating water report from ID, make ContactSimple
...
ContactSimple is the replacement for ContactReporter, which was the
simplified form of a contact from a report. I made the name more generic
and use it in the general report structures for consistency.
2026-05-21 03:23:10 +00:00
7237f5f666
Move internal references to new source hosting
/ golint (push) Failing after 3m50s
2026-05-19 15:33:57 +00:00
725945d95c
WIP: creating contact resource
/ golint (push) Has been cancelled
2026-05-15 20:10:14 +00:00
f1fe8b4d2b
Add contacts, rework comms schema
...
This in a pretty huge change. At a high level we're adding the concept
of a 'contact' which is a person or organization that has zero or more
contact methods (email, phone). This ended up cascading a number of
changes, including critically to the publicreprt schema. In the end it
seemed safer to get to the point where I'm confident we aren't using any
of the old fields for storing reporter information (though I haven't
deleted the columns yet) so I removed the code for defining those
columns.
At this point I think it's not possible for me to regenerate the bob
schema due to the interdependencies between my various schemas, so the
migration is well-and-truly happening.
2026-05-15 16:58:28 +00:00
53a3f9816a
lint: remove unused code across api, comms, h3utils, html, middleware, minio, platform, rmo
...
Deleted files: api/compliance.go, api/debug.go, rmo/compliance.go, rmo/email.go,
rmo/mock.go, platform/publicreport/address.go
Removed unused functions/types from: api/api.go, api/configuration.go, api/district.go,
api/publicreport.go, api/sudo.go, api/types.go, comms/text/twilio.go,
comms/text/voipms.go, h3utils/h3.go, html/embed.go, html/form.go,
middleware/terminal.go, minio/client.go, platform/csv/csv.go,
platform/csv/flyover.go, platform/file/base.go, platform/file/upload.go,
platform/geocode/address.go, platform/types/service_request.go
2026-05-09 14:47:56 +00:00
7a361a330d
Remove now-extraneous latitude/longitude generated columns
...
Now that we can pull out the geometry directly into a go object we don't
need these and they complicate our insertions
2026-05-07 16:38:42 +00:00
fcd95f1a25
Get back to compiling, but using new jet for publicreport
...
This was an epically long change, and a terrible idea, but it compiles.
This was essentially a cascade that came about because I can't blend jet
and bob in the same transaction. In for a penny, I guess...
2026-05-07 10:39:17 +00:00
af39a73e8f
Add address raw content to report
...
This populates the address in the compliance flow UI
2026-04-29 19:30:38 +00:00
4ce91d77d4
Add text message history to acitivity log
2026-04-28 01:12:18 +00:00
937953f2a2
Produce a raw address value from geocode requests
...
This makes it so that the frontend doesn't have to calculate what to
display
2026-04-27 19:44:25 +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
ffe427564b
Add email and phone display to communications workbench
2026-04-27 16:23:31 +00:00
be8d92d7ae
Add 'submitted' field to compliance reports
2026-04-27 16:23:16 +00:00
cc59ccb9b5
Fix reference to address number column
2026-04-23 00:34:51 +00:00
b0170b20d5
Update fetching address number to match new types.Address pattern
...
This matches what we get by using the models column definition directly.
2026-04-22 22:20:42 +00:00
a8819c907e
Add concern page to mailer compliance flow
2026-04-22 21:22:03 +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
efd6f59fca
Populate ComplianceReportRequest on site review page
2026-04-17 21:40:04 +00:00
ac552be7e7
Send compliance report data with lead data
2026-04-17 20:51:07 +00:00
fa675f293d
Add initial work on getting compliance data for leads
2026-04-17 19:43:40 +00:00
61351dabf1
Update UI when a compliance letter is sent
2026-04-17 15:20:17 +00:00
bff81eb6e3
Add basic lead type
2026-04-17 02:59:22 +00:00
617631063f
Add quick'n'dirty interface for leads and features
2026-04-17 02:59:01 +00:00
89a2cb30e6
Save the type from the database on feature
2026-04-16 20:40:55 +00:00
2ea47f03f4
Start wiring together request for a mailer to database
2026-04-16 10:15:28 +00:00
74e24b7de3
Add feature to site data
2026-04-16 09:04:25 +00:00
5a35c1d1f8
Show parcel information on site page
2026-04-16 08:26:48 +00:00
b9c257a635
Add site contact information
2026-04-16 07:12:34 +00:00
c4c22f6733
Start to populate site information in review task
2026-04-16 06:58:05 +00:00
5e0981e2a2
fix bad copy paste on address field
2026-04-16 03:16:57 +00:00
b2d8e3ba27
Move address list func to types so it can be shared with csv
...
And stop double-geocoding all the rows.
2026-04-16 03:06:18 +00:00
f5ac7bb4ee
Set address form pool rows using address model if possible
2026-04-16 02:46:24 +00:00
b09725726c
Create API for service requests list
2026-04-14 23:06:50 +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
59e58840c9
Fix address lat/lng location names, populate in report response
2026-04-14 15:43:49 +00:00
9c557a0391
Make it possible to save SMS support status on phone record
2026-04-13 22:23:29 +00:00
ae10e4fee8
Initial pattern for populating different report types
2026-04-12 17:53:25 +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
730f40956f
Store addresses on every geocode
2026-04-10 22:32:40 +00:00
12aedaf543
Update the address when provided on a report
2026-04-10 20:30:22 +00:00
bac55774f8
Switch address to contain an embedded location, start saving compliance
2026-04-10 16:59:29 +00:00
9dccd21cee
RMO frontend checkpoint
...
* Create a nwe AddressAndMapLocator which abstracts out the behavior of
selecting a location
* Fix the overlay causing render errors on the MapLocator by getting
rid of the overlay and just using a lock indicator
* Fix MapLocator zooming in to the wrong place by not framing the
markers
* Remove Latlng from platform and just use Location with optional
accuracy
* Use nested types with form-encoded POST
* Fix styles on water report page
2026-04-09 17:21:35 +00:00
b2c24a0438
Show nuisance report status
2026-04-08 23:37:00 +00:00
43dce16fbd
Add APIs for geocoding and reverse-geocoding
2026-04-06 16:59:18 +00:00
ee76dddf2f
Add some missing files from previous commits
2026-04-02 14:23:16 +00:00