Commit graph

161 commits

Author SHA1 Message Date
c6b048d0cb Actually show an error when we fail to get the user
Caught while reading code.
2026-01-05 20:34:49 +00:00
7779feac4b Add dashboard for time between getting oath and creating org
I hit this on my new dev setup and we want to show something nice to our
users.
2026-01-05 20:34:13 +00:00
1fdc59d7c7 Remove ResponseLocation
We're going to use the H3 index directly.
2026-01-05 20:33:27 +00:00
6517d50802 Add migration to calculate and store the h3 cell
I'm only doing this for now on the tables we need to return to Nidus,
eventually we'll add them to more tables as we need, probably.
2026-01-05 20:31:56 +00:00
113e73a8b9 Clean up some api types, re-add 'active' to MosquitoSource 2026-01-05 02:29:12 +00:00
1aefca2f5d Make GlobalID required for all Fieldseeker tables
I'm pretty sure it has to be there, and it allows me to clean up my
code.
2026-01-05 02:28:28 +00:00
53e08d840e Get nidus-sync building again
This fleshes out more of the basic platform patterns, though there's
still plenty that isn't working yet.
2026-01-05 02:06:34 +00:00
ffade2ae56 Add missing platform directory 2026-01-04 17:30:28 -07:00
71419a94d9 WIP move to other machine.
Some stuff I was doing on a plane, not complete.
2026-01-03 11:50:13 -07:00
5dd0b8c162 Checkpoin on initial idea for passing through models 2026-01-02 08:58:57 -07:00
fc8281dd18 Get rid of geo query stub
I'm not using it, and I wasn't using it in fieldseeker-sync in any
meaningful way either.
2025-12-28 16:47:24 -07:00
1395e3d3ac Remove old FieldSeeker tables, use v2 generated tables.
This requires a bunch of changes since the types on these tables are
much closer to the underlying types of the Fieldseeker data we are
getting back from the API.

I now need to use proper UUID types everywhere, which means I had to
modify the bob gen config to consistently use google UUID, my UUID
library of choice.

I also had to add the organization_id to all the fieldseeker tables
since we rely on them existing for some of our compound queries.

There were some changes to the API type signatures to get things to
build. I may yet regret those.
2025-12-24 17:58:08 -07:00
58f5afccc9 Add partial creation function for note_audio 2025-12-21 08:58:23 -07:00
b92306a8b7 Add script for doing bobgen 2025-12-21 08:42:25 -07:00
1a055cf296 Add simple script to set env vars for running 'air' 2025-12-18 03:37:42 -07:00
9e657ba36a Make goose.sh callable 2025-12-18 03:37:07 -07:00
e071aa4adc Move logic for dealing with image file uploads to userfile 2025-12-18 03:36:52 -07:00
cdce910241 Document the required env vars 2025-12-18 03:36:32 -07:00
2d514aac31 Fix up new nidus note migration
Had some copy-paste errors, a simple typo that got replicated, and an
incomplete foreign key reference
2025-12-18 03:35:55 -07:00
3f2d1eeb42 Create debugSaveRequest from common debug code. 2025-12-18 03:35:18 -07:00
8e325b7c77 WIP migration of API from fieldseeker-sync 2025-12-16 16:37:53 +00:00
af6328faed
Add support for downloading MMS files from SMS messages 2025-12-13 00:26:11 +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
637decea11
Correct vendorhash again. 2025-12-11 14:11:55 +00:00
ff86eed85c
Fix query test to not reference defunct enums 2025-12-11 01:33:24 +00:00
ee0be2866f
Bump to bob v0.42.0 2025-12-11 01:31:10 +00:00
297e203d0a
Correctly update vendor hash 2025-12-11 00:35:37 +00:00
c4824bf34f
Bump version of arcgis-go 2025-12-11 00:34:51 +00:00
56b52e0d79
Bump version for deploy 2025-12-11 00:33:44 +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
0904f086b2
Specify the translation to database logic for all the non-zero layers 2025-12-04 14:09:21 +00:00
ab5be998c8
Checkpoint on more dynamically populating tables for fieldseeker 2025-12-04 02:52:01 +00:00
4dc473bc85
Initial working insert of rodentlocation from actual data
There's some things edited by hand, so I need to confirm that I can do
this automatically, but still it's a big step so worth a checkpoint.
2025-12-04 02:18:00 +00:00
38b5f9816f
Get proprely typed results. 2025-12-03 21:52:43 +00:00
9308097ff0
Working logic to call a saved function and parse some results 2025-12-03 21:50:36 +00:00
04ba2e5df2
Switch sync stats to uints, save partial work on new export logic. 2025-12-03 16:27:35 +00:00
41291f07b3
Pass function parameters into string formatting. 2025-12-02 23:02:41 +00:00
b488730177
Use a prepared function and get a result 2025-12-02 22:44:51 +00:00
eac240af51
Properly read prepared functions from the embedded FS
Yeah, reading that wrong was bad.
2025-12-02 22:28:10 +00:00
97ec2c767d
Big checkpoint on new schema work
I have to checkpoint this because I'm trying to get a very complicated
multi-layered SQL query for inserting version history into the database
and I need to improve it iteratively

I've got a new binary that I can use to directly test complex stored
procedures. This is to shorted my testing loop.
2025-12-02 22:12:43 +00:00
49148fc66a
Convert notification.go to use zerolog 2025-12-02 00:30:46 +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
7c4fb02908
Move to latest bobgen, add fieldseeker schema references
This is an intermediate step between shifting from the old fs_* prefixed
table names to an entire fieldseeker schema. At this point we have both,
and we aren't doing much with the new schema but compiling.
2025-12-02 00:28:14 +00:00
683c5134df
Migrate auth to zerolog 2025-11-24 19:49:19 +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
07ccce6512
Add missing query source file 2025-11-24 18:09:28 +00:00