Commit graph

61 commits

Author SHA1 Message Date
0265e9d3ec
Rework template system, merge templates
The embedded portion doesn't work yet.
2026-02-07 05:53:38 +00:00
87893363e5
Remove redundant request logging 2026-01-30 16:34:58 +00:00
e7681c7d6e
Change public-report to rmo
We're leaning into the branding and shorter directory names
2026-01-29 23:59:35 +00:00
9047fbb3ee
Reduce sentry debug messages in the console log
It's distracting and not useful.
2026-01-29 22:28:12 +00:00
d9ccdd41b2
Add basic support for sentry 2026-01-29 15:48:15 +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
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
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
196792810b
Overhaul email sending system
Add logging and saving templates to the database for historical
accuracy.
2026-01-23 20:36:16 +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
462febe1d7 Actually upload something on quick report page
We aren't handling it yet, but we do get the upload.
2026-01-07 22:35:28 +00:00
9774452821 Switch main report page to better example
This is still pulling from our generic district mock, but it's still
better than what we had. This also includes adding static content
hosting for the bootstrap content on the public domain.
2026-01-07 20:47:55 +00:00
572b8a9de9 Rip apart several new packages for inter-dependence
This will help make it clear what depends on what for rendering html
pages
2026-01-07 16:07:51 +00:00
4c23eba5d7 Move html pages to a package
That way I can separate out HTML for the public-facing report system and
Nidus sync.
2026-01-07 15:34:09 +00:00
bf4c5d5c71 Add support for additional report domain
This will allow us to use a different URL for doing public outreach,
which is nice for everybody.
2026-01-07 15:08:29 +00:00
39d9f6d258 Properly save audio and image notes when uploaded
Also fix the audio processing pipeline.
2026-01-06 22:23:59 +00:00
4d02357671 Preload org from user
We need this to avoid a nil dereference when querying by org.
2026-01-06 16:21:59 +00:00
8e325b7c77 WIP migration of API from fieldseeker-sync 2025-12-16 16:37:53 +00:00
14887722a0
Add debug endpoints for SMS POST webhook
This gets me data in the log, which actually has content.
2025-12-12 22:17:40 +00:00
13fcfffcd6
Add debugging endpoints for SMS hooks
These work, barely, I'm not getting any of the data I wanted to be
getting.
2025-12-12 21:53:09 +00:00
5f86274b16
Add mocks for the various setting pages. 2025-12-12 21:52:55 +00:00
3a8d6395d7
Use common logic in mocks, add dispatch mock 2025-12-11 00:30:24 +00:00
62dbfb3ebc
Add mocks for data entry 2025-12-10 17:06:27 +00:00
bd16f69e28
Initially made it through full update with new fieldseeker schema 2025-12-05 23:11:57 +00:00
ff7c5cdb6b
Save a copy of the Fieldseeker schema on oauth connect
This will make it easier to debug when we get a new customer which
schema elements are in common and which are specific to Delta.
2025-12-02 00:30:08 +00:00
fa43c58607
Use zerolog logger for incoming requests
Got this mostly from
https://github.com/ironstar-io/chizerolog
with some edits to handle X-Forwarded-For
2025-11-24 19:45:37 +00:00
41587c3694
Move database logic into separate subdirectory
I'm trying to see if this speeds up builds a bit. May not without a
module boundary, but for now it's nice organization to have as the
program grows.
2025-11-24 18:08:31 +00:00
f599d831c8
Add breeding source detail page
A bunch of it is currently placeholders, but I got the map marker
working so I'm saving it.
2025-11-20 14:56:34 +00:00
c0b527c9a3
Add cell debug page.
This makes it much easier to troubleshoot information related to a cell
by showing detailed data about a single cell. At this point much is a
placeholder, but we at least get the cell boundary coordinates and a
map.

This also starts to make some code common around doing things like
mapping.
2025-11-19 15:21:06 +00:00
7c2d7eef25
Create separate signin page, make auth redirect there. 2025-11-19 15:19:42 +00:00
a14249710d
Add geometry info to h3 aggregation table
This makes it possible to use Tegola to show vector tiles.
2025-11-15 21:33:01 +00:00
0dce12b059
Begin switch to nice colorized zerolog
Makes it easier to read
2025-11-13 20:11:00 +00:00
a6fe8f9027
Add basic MapBox integration.
It's just a demo at this point.
2025-11-13 17:48:38 +00:00
20186f65bf
Create settings page placeholder, add auth pattern
This adds a pattern for creating pages that require authentication. The
settings page is currently empty, but it's helpful to figure out how to
do this pattern.
2025-11-13 16:48:23 +00:00
ae4be91d52
Use max refresh token expiration time in production
Keep the value low for dev so that I can test that we recover well.
2025-11-13 15:15:35 +00:00
390e5120e1
Forward from the notification URL to the oauth flow 2025-11-12 21:27:51 +00:00
89c4072a35
Add phone call page
Just mocks, and probably not great ones at that.
2025-11-10 22:43:31 +00:00
7b48f6eddf
Add quick report page 2025-11-10 15:27:22 +00:00
31ca1a2f45
Add mocks for service request, sync information to dashboard
Should have been split, but I had commit challenges
2025-11-08 00:04:44 +00:00
109495b702
Track access token and refresh token expiry
Also make a bunch more progress on actually updating the tokens when we
need them updated.
2025-11-07 05:46:41 +00:00
cf01c8c5c6
Create clean shutdown logic for http worker 2025-11-07 02:29:34 +00:00
a08cd87813
Save information about the organization and user from ArcGIS 2025-11-07 02:07:33 +00:00
858bc031a0
Save oauth tokens to the database for use later. 2025-11-06 00:23:58 +00:00
8cd11b350d
Add update location page. 2025-11-05 23:41:21 +00:00
711302f25d
Add a report confirmation page 2025-11-05 22:03:33 +00:00
a2a0fdb90a
Add a fake schedule page 2025-11-05 21:57:59 +00:00