Commit graph

55 commits

Author SHA1 Message Date
9f78b7d9ba
Fix phone ensureInDB to not break transactions 2026-02-14 17:04:36 +00:00
ebc329fc5e
Actually set geom and h3cell for uploaded pools 2026-02-14 16:49:54 +00:00
0659b8993d
Bulk ignore empty CSV columns 2026-02-14 15:42:59 +00:00
5d0d75ebb1
Add initial integration with stadia maps for bulk geocoding 2026-02-14 15:41:38 +00:00
2bc0e18b9e
Actually finish uploaded files 2026-02-14 05:40:27 +00:00
4d61783e18
Fix error message about condition 2026-02-14 05:05:56 +00:00
ff1cd00c96
Ensure phone numbers are in the DB before adding pool 2026-02-14 05:05:31 +00:00
d83984f8df
Show errors from parsing the file 2026-02-14 04:36:47 +00:00
76f4613320
Keep track of rows that are outside of the district 2026-02-14 04:08:22 +00:00
b654198e3f
Simplify log output on startup 2026-02-13 21:15:09 +00:00
b25daf12fa
Add table for holding subscriptions from users 2026-02-10 04:31:57 +00:00
41f59f0518
Add missing email file 2026-02-10 04:11:52 +00:00
648e0ee567
Move emails to platform, make sure to create phone and email in DB 2026-02-10 04:07:59 +00:00
fe3ac88ec6
Fix breaking insert on nuisances subscription 2026-02-09 22:43:41 +00:00
b9cf98eee8
Consistently log internal errors 2026-02-09 22:43:32 +00:00
84f1bee4f6
Compress down reporter column updates through utility function 2026-02-09 22:34:19 +00:00
f78515cc07
Fix error log reporting 2026-02-09 22:34:07 +00:00
f00436b136
Count existing and new pool rows 2026-02-09 19:17:33 +00:00
515dbb54fa
Add basic pipe to provide status to the pool id page 2026-02-09 19:13:58 +00:00
d06b8f7949
Add mode data to pool upload rows, move to fileupload schema
This allows users to review the data before committing it to the
database
2026-02-09 19:03:27 +00:00
135ad2b73e
Do file upload, show list of uploads, do initial processing. 2026-02-09 18:25:44 +00:00
aee17d2c7a
Add jobs to process queue when csv is uploaded 2026-02-08 05:06:47 +00:00
f9c8f37cec
Add organization to file upload
So everyone in the org can see it.
2026-02-08 05:00:14 +00:00
e3535391dd
Add a bit of per-line processing to CSV file 2026-02-08 04:55:33 +00:00
e81161ca7f
Actually start reading CSV file 2026-02-08 04:46:54 +00:00
fdd783c19c
Rework userfile yet again
I'm settling on the idea that strings should never be returned from the
userfile system. Instead, indicate which collection you want and pass
objects across.
2026-02-08 04:36:12 +00:00
6716bc68c9
Make file uploads of CSV actually save to disk 2026-02-08 01:44:44 +00:00
57191fa222
Alter report submission page to request reporter name and consent
This also adds the new mechanism for handling notifications on reports
2026-02-06 15:39:49 +00:00
47c3f7320c
Fix warning parsing nil OrganizationID on notification page 2026-02-05 16:56:53 +00:00
8b90b4c9ef
Fix error message for text job 2026-02-02 06:59:28 +00:00
c5f6db0b73
Lookup district and show on report submission complete 2026-02-01 02:37:35 +00:00
f20067b323
Actually update reports when a subscriber subscribes 2026-01-31 21:07:03 +00:00
1d7484ef4d
Confirm when a user confirms a phone number 2026-01-31 20:16:12 +00:00
a9b0a55f20
Create report platform layer
Rework phone subscription at the database layer so that we have a
seprate phone status and subscriptions to district communications.
2026-01-31 20:08:08 +00:00
64cd2f49dc
Fix creating a report with a new phone number 2026-01-30 23:09:21 +00:00
e094ed3d0d
Move Twilio-specific parsing to twilio incoming API 2026-01-29 22:36:16 +00:00
ef5d8168f0
Actually handle incoming text messages from Voip.ms 2026-01-29 22:27:51 +00:00
981f444609
Add support for continuing background text jobs on subscription 2026-01-29 22:20:03 +00:00
d2d5f003d8
Get Voip.ms working again in the text system
Because we need it for the conference.
2026-01-29 21:53:49 +00:00
a42c5824af
Add district to LLM context, be more aggressive about trimming agent: 2026-01-27 23:25:51 +00:00
9914274d42
Wire in agent to the reporter texting system
Also rework the so the platform absorbs all the business logic that was
going in the wrong place.
2026-01-27 19:56:26 +00:00
a68b8781e7
Add ability to make LLM agent forget the conversation history
This is extremely useful for testing.

In order to do this I needed to actually deploy the migration to a bob
fork so I could start to add support for behaviors I really want.
Specifically the ability to search for ids in a slice.
2026-01-27 18:44:02 +00:00
b8e7b9b7fd
Working LLM responses and Twilio status tracking
The responses aren't good, but they do exist.
2026-01-27 14:29:55 +00:00
407b478637
Fold more text logic into the platform
Because it is better at managing the database, the comms/text package
will just be for integration.
2026-01-26 21:21:21 +00:00
e8e840ec44
Make username unique, make is_subscribed nullable 2026-01-26 21:11:31 +00:00
1cd4a31404
Start saving subscribed status 2026-01-26 20:51:26 +00:00
6070d50a58
Begin process of getting text responses from an LLM. 2026-01-26 20:30:06 +00:00
61d8d14fc2
Bunch of work around assigning reports to districts
I added some DB schema to track logos and to relate reports to
organizations. I reworked how GPS data comes from EXIF data on images
because it wasn't working for JPEGs. I might have broken PNGs in the
process. Also made the config options for domain names more
standardized.
2026-01-22 03:27:32 +00:00
684c424131
Move imported districts to its own schema, add ref from organization
This will make it possible to assign reports to an organization
2026-01-16 14:43:26 +00:00
f6b5a1e580
Add API to query district by GPS location 2026-01-15 22:56:32 +00:00