Commit graph

42 commits

Author SHA1 Message Date
3e76c41a9c Show error when credentials are invalid 2026-01-07 03:42:18 +00:00
53ee020fe0 Always include an organization for every user 2026-01-06 15:06:16 +00:00
97ea4ad3bb Begin work on debugging user behavior in early setup 2026-01-06 14:46:31 +00: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
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
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
df3a171b0d
Avoid crashing when getting oauth with an expired user 2025-11-24 18:09:06 +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
6f6af23578
Convert endpoint.go to use zerolog
Yay, consistency.
2025-11-14 23:09:27 +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
901f65361a
Don't pass the redirect URI through
It's always the same, might as well just get it where we need it.
2025-11-13 14:31:33 +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
ae46b03e4b
Convert existing pages over to report template errors 2025-11-10 22:23:46 +00:00
b4830f7684
Add system for showing template render errors
Makes troubleshooting bad templates much easier. Need to convert
everything over.
2025-11-10 22:16:23 +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
ed1b878b8d
Do update work in a pool for speed, and show some actual data. 2025-11-07 10:48:12 +00:00
72cbe2de5e
Check if we have oauth information, only prompt if its missing
Also include a rough dashboard of information that we'll pull from
Fieldseeker
2025-11-06 22:58:18 +00:00
fa89e0719f
Format all source files. 2025-11-06 22:31:51 +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
056b871c38
Add pages for reviewing evidence and contributing evidence. 2025-11-05 21:51:23 +00:00
4eebb6b88a
Add a report detail page. 2025-11-05 21:37:11 +00:00
c99a5a3f62
Add support for generating the QR code in the page. 2025-11-05 21:21:58 +00:00
f6acb6ab83
Add initial report outline page. 2025-11-05 21:05:10 +00:00
486c148bf7
Add user sessions and login
This isn't quite perfect, but gets much of the hard work done.
2025-11-05 17:15:33 +00:00
e311464b51
Redirect to the main page after signup 2025-11-05 14:20:56 +00:00
334deb1ae7
Add the ability to set passwords on registration 2025-11-05 14:15:06 +00:00
ebb55556d2
Handle the registration form
Well, just log it for now.
2025-11-04 23:21:13 +00:00
8203c50b08
Add basic signup page outline 2025-11-04 00:02:51 +00:00
25039a8f54
Add basic web serving and html templating 2025-11-03 12:38:47 +00:00