Commit graph

942 commits

Author SHA1 Message Date
b0432f3243
Add statistics on the sync and save org ID with fieldseeker tables
We need the org ID so that we can avoid bleedover between different
organizations.
2025-11-07 09:30:31 +00:00
bf6e40d877
Shorten the time waiting for air to kill my webserver 2025-11-07 08:46:26 +00:00
9010726707
Add initial synchronization of Fieldseeker data by oauth
This involves a lot of copy-pasta of code from the previous version of
this logic in another code base. It'll need to be cleaned up, but for
now I need something sooner rather than later.
2025-11-07 08:34:32 +00:00
46ea655073
Add Fieldseeker table schema 2025-11-07 06:08:48 +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
07d3b3ea76
Update arcgis-go 2025-11-06 22:59:09 +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
f7ad8b9c5f
Add lefthook configuration for formatting 2025-11-06 22:31:29 +00:00
ff1fd18da1
Start using the ArcGIS client to get user data with the token 2025-11-06 22:28:56 +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
44e39fa44a
Add update URL to the detail page. 2025-11-05 22:11:51 +00:00
7d4628cf20
Fix whitespace formatting on main report page template 2025-11-05 22:08:18 +00:00
68c36f8576
Fix links on main diagnostics page. 2025-11-05 22:04:53 +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
24aa1b88ef
Make links consistent on the report number, link actual QR image. 2025-11-05 21:09:19 +00:00
f6acb6ab83
Add initial report outline page. 2025-11-05 21:05:10 +00:00
ac736cced1
Add dashboard page with login header
A lot of things here don't work yet, but this is the basic layout.
2025-11-05 17:49:19 +00:00
4d55a391c9
Retroactively fix some SQL schema problems
I originally wasn't going to do passwords, but after struggling with
webauthn I decided I'd just go for it. It simplifies the code a lot if I
assert that I always have a password, displayname, etc.
2025-11-05 17:36:32 +00:00
981f043b7f
Air: Don't rebuild for html, don't restart on error 2025-11-05 17:34:51 +00:00
963994abbc
Ignore air's temp building directory 2025-11-05 17:17:21 +00:00
c0b501981b
Update readme with air instructions 2025-11-05 17:17:03 +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
214588ba83
Update readme with instructions on how to run the webserver 2025-11-04 23:15:17 +00:00
7c4a181cdf
Add generated Bob database integration 2025-11-04 23:11:32 +00:00
8203c50b08
Add basic signup page outline 2025-11-04 00:02:51 +00:00
56eaa4ed1c
Add a basic main page with login
None of the links work and the marketing copy sucks, but it's just
showing the bones while I figure the technical bits out.
2025-11-03 22:13:19 +00:00
25039a8f54
Add basic web serving and html templating 2025-11-03 12:38:47 +00:00
18113ea4ee
Update README with build instructions 2025-11-03 12:22:59 +00:00
63ff66b3d9
Add a basic 'hello-world' buildable with Nix 2025-11-03 12:22:06 +00:00
f3205e2df6
Add basic readme 2025-11-03 12:18:23 +00:00
c14e656a81
Initial commit 2025-11-03 05:12:02 -07:00