Commit graph

248 commits

Author SHA1 Message Date
06140a9062
Remove bob submodule, add arcgis.user
I had to remove the submodule because of the go bug at
https://github.com/golang/go/issues/77196
I found the bug because of a bug in bob itself
https://github.com/stephenafamo/bob/issues/610
This was because I'm trying to save data about the Arcgis user for use
in determining if I can set up hooks to avoid the polling for data
changes.
2026-01-15 19:20:39 +00:00
f94b89381f
Actually delete the organization in delete-org.sql 2026-01-15 04:11:19 +00:00
d46d988b4d
Make aggregate layers clean up, add service request aggregate 2026-01-15 04:10:54 +00:00
248cffd323
Rework arcgis oauth flow logic
This is several changes after the demo with Ben
 * When a user adds their oauth and they get an arcgis ID for an
   organization that exits they are added to that organization. The
   previous org isn't removed
 * All layer processing is done in a single large pool. This makes it
   much faster in aggregate
 * Some queries are done more directly instead of through custom sql
2026-01-15 01:05:21 +00:00
92294e5b16
Creat signout logic, make links use it. 2026-01-15 00:20:19 +00:00
35721e7fa6
Add some handy tools 2026-01-14 22:18:11 +00:00
c44fe26cdf
Remove debugging bonn layers 2026-01-14 21:52:59 +00:00
cd22818240
Actually exit early on empty aggregate
Previous attempt was subtly wrong.
2026-01-14 21:52:36 +00:00
a4c0e367a8
Make organization.name not-nullable, consolidate org in dash context 2026-01-14 21:50:47 +00:00
4f0b73c769
Add URL for Tegola to configuration
Avoid cross-environment pollution.
2026-01-14 21:39:58 +00:00
21a8f9622a
Avoid empty insert statement when there are no aggregations 2026-01-14 21:36:58 +00:00
e1684ce8f1
Remove "since last week" placeholders from dashboard
Also add the cute "...?" when syncing.
2026-01-14 20:53:46 +00:00
9667f34388
Fix various logo placeholders and header and favicon 2026-01-14 20:52:57 +00:00
8623773edc
Make oauth prompt use its own context type
And use the common utility to populate the user information
2026-01-14 20:15:48 +00:00
749f8aaec7
Initial work on creating custom map component
This isn't done, I'm just shifting gears.
2026-01-14 20:14:58 +00:00
ea48364d95
Set status when creating reports
Because we added this as a non-null required field a migration or two
ago.
2026-01-14 18:59:25 +00:00
6fd0ed8711
Move to using web components for custom components
They're modular, which is really nice.
2026-01-14 18:59:19 +00:00
b91718cd7c
Color districts by regionid
The colors jump as you zoom, but they still technically work, so I'm
committing it.
2026-01-14 15:52:14 +00:00
53f8857795
Show the district overlay map on the district page
I can event get the district name in the properties.
2026-01-14 00:40:01 +00:00
d60db93bf2
Make public report and sync share static assets
It just seems useful
2026-01-14 00:39:46 +00:00
81dabdf097
Update readme with how I created the working district table 2026-01-13 23:36:09 +00:00
cf06bb9f49
Break apart sync into parts more like public-reports
I like this layout makes it easier to track what functions do what and
keeps templates near their render functions.
2026-01-13 20:30:57 +00:00
96c144ca74
Clean up commented-out code from search page. 2026-01-13 19:53:00 +00:00
52a0031d16
Handle shifting location column for nuisance table
I shifted it so the three report tables have a common schema when
creating the report_location view.
2026-01-13 19:52:25 +00:00
00fd676adc
Add district table for california districts. 2026-01-13 19:47:19 +00:00
e6e8371742
Switch to pulling data from public reports on search 2026-01-13 18:33:12 +00:00
e18ce6a09e
Make fieldseeker tables key on globalid, version
This is because the objectid is not unique between organizations.
2026-01-13 04:16:24 +00:00
d02d34cbaa
Remove airport elements, populate report table instead 2026-01-12 18:17:31 +00:00
eb24d871d0
Bastardize mapbox example to query points
This is just to get the structure of what I need to integrate with
Mapbox to query a tile server and try to find point locations. In this
case, I'm getting the airport locations and barely showing them. This
saves me time understanding the pertinent APIs.

I need to adapt this to get our mosquito reports instead.
2026-01-09 23:52:35 +00:00
acaeb2129e
Begin sharing code with search page
This includes code for geocoding, building a map, and getting the user's
location.
2026-01-09 23:32:39 +00:00
28e4e88794
Fix sync to follow new pattern of function grouping. 2026-01-09 22:29:56 +00:00
653e3473b3
Fix fast load of static pages in development
Makes it much easier to iterate on JavaScript
2026-01-09 22:21:12 +00:00
75454834f4
Add mock of report search page 2026-01-09 21:31:45 +00:00
4303534396
Add logic for searching for a report and getting the status. 2026-01-09 21:02:30 +00:00
f6127af058
Correctly copy uploaded files 2026-01-09 20:25:13 +00:00
9e8ad7707c
Bump vendor hash 2026-01-09 20:11:57 +00:00
f1accd7fe8
Bump version 0.0.11 2026-01-09 20:08:49 +00:00
7919b37453
Add mock status page 2026-01-09 20:08:29 +00:00
54d2b26acd
Separate out the nuisance pages together 2026-01-09 19:45:33 +00:00
01ed2d6086
Finish green pool report submission
Also start the pattern of breaking out pool pages together in their own
file. I think its easier to read this way.
2026-01-09 19:43:19 +00:00
9680fb6a68
Add reverse geocoding lookup and display 2026-01-09 04:06:37 +00:00
b4e91609d3
Add draggable marker changes 2026-01-08 23:38:38 +00:00
0cd6697fd4
Show a map of the user's current location for setting a pool. 2026-01-08 23:20:41 +00:00
12ad9fa483
Show location details when the location suggestion is accepted 2026-01-08 22:43:02 +00:00
06767ff39a
First indication that the location geocoder is working 2026-01-08 22:21:59 +00:00
2c85624583
Make photo upload component common to quick and pool reports 2026-01-08 21:29:33 +00:00
fc10e3e95d
Make it possible to submit nuisance reports 2026-01-08 17:48:43 +00:00
a162781f89
Metadata fixes for various pages 2026-01-08 16:08:41 +00:00
632fac4558
Collapse public-report to a single package
It was just getting annoying having it separate, and buying basically
nothing.
2026-01-08 16:05:50 +00:00
d377d9a7d2
Stop generating bob test files
They just slow things down.
2026-01-08 15:46:51 +00:00