Commit graph

36 commits

Author SHA1 Message Date
a5985b362a
Generate public_id after all other dataa
Because we use it to generate the ID.
2026-02-02 23:04:33 +00:00
a67279db88
Fix various breakages in email links 2026-02-02 22:57:19 +00:00
73ed495b72
Fix Hstore conversion 2026-02-02 21:59:24 +00:00
3bed78f742
Add endpoint for unsubscribing email addresses 2026-02-02 21:47:14 +00:00
b2737b4968
Add routes for confirming email address 2026-02-02 21:34:36 +00:00
4f56915f15
Show a page for subscribing to emails. 2026-02-02 19:54:32 +00:00
9d7ca81508
Make 'view in browser' on emails work correctly 2026-02-02 19:34:37 +00:00
00a75a556e
Fix email sending for report notification confirmation
The links in the email don't work, but it's a first step
2026-02-02 17:00:48 +00:00
bb692cced9
Return the MMS value as an ID for MMS messages. 2026-01-29 22:43:15 +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
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
6070d50a58
Begin process of getting text responses from an LLM. 2026-01-26 20:30:06 +00:00
adc99e8871
Add ability to delay text message sending 2026-01-26 16:10:30 +00:00
c0b6398de2
Overhaul text messaging system to be like emails
It's a better system for organization and makes it so we can have better
logs about what gets sent.
2026-01-25 18:47:22 +00:00
196792810b
Overhaul email sending system
Add logging and saving templates to the database for historical
accuracy.
2026-01-23 20:36:16 +00:00
3fed489258
Fix subscribe URL 2026-01-23 03:59:17 +00:00
5e6288ab9b
Add beginnings of work to save emails to database
Not tested yet
2026-01-23 03:32:06 +00:00
44fdaa6c2b
Add initial onboard email
...and patterns for how to do email stuff in the future.
2026-01-23 02:50:25 +00:00
aeaf45fa2b
Add privacy page for Nidus 2026-01-22 18:37:00 +00:00
f38381eaf0
Fix embedded email templates 2026-01-22 04:32:21 +00:00
b7eb79d4f7
Remove old Voip.ms text integration
It's all Twilio now.
2026-01-22 03:57:50 +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
f4a88623af
Overhaul system for handling text messaging
Move away from "SMS" as the operative word - we're going RCS.
Move all comms processing to a separate goroutine
Rename the DB tables
2026-01-21 03:30:03 +00:00
842e6cff43
Move comms work to background goroutine
This is a sort of random checkpoint of work
 * add schema for tracking messages sent to DB
 * add terms of service and privacy policy for RCS compliance
 * standardize some things about background workers
 * update some missing stuff from generated DB code
2026-01-20 17:10:22 +00:00
98372d924d
Use proper config values in email templates 2026-01-19 21:24:34 +00:00
42caa77b3e
Use the same code paths to render the browser version of emails 2026-01-19 21:21:02 +00:00
1232a7c0ec
Show pretty report ID in email subject 2026-01-19 18:19:02 +00:00
4ab3c355c5
Parse email send response, log the email ID. 2026-01-19 18:10:17 +00:00
2c880568dd
Initial work on email templates
At this point I got a nice-looking formatted message in my mail client.
2026-01-19 17:58:30 +00:00
087f29d491
Add support for simple MMS
Tested and works, though it is a bit ugly.
2026-01-19 14:58:28 +00:00
4e294699d3
Initial test email works. 2026-01-18 03:00:48 +00:00
7abaebe496
Add support for sending SMS 2026-01-17 01:13:27 +00:00