Commit graph

15 commits

Author SHA1 Message Date
d7c07fc65f
Move all POST endpoints to the API 2026-03-27 06:08:55 -07:00
44c4f17f32
Massive rework of platform layer user/organization
The goal of this rework is to make it so I can pass around platform.User
instead of a pair of models.Organization and models.User. This is useful
for reason I kind of forget now, but it started with working on
notifications and ballooned massively from there into refactoring a
number of things that were bugging me.

This also includes a tiny amount of work on server-side events (SSE).

 * background stuff lives inside the platform now, which I need for
   having it push updates through SSE
 * userfile now lives in the platform, under file, so other platform
   functions can safely use it
 * oauth is broken into pieces and inside platform because other stuff
   was calling it already, but badly.
 * notifications go into the platform as well
2026-03-12 23:49:16 +00:00
e932c2c473
Rework publicreport addressing
This adds the ability to link a proper address in the database to the
report and harmonizes the field names with the address table. It also
migrates away from mapbox entirely.

And I fixed the "pool" naming for the publicreports, which are supposed
to be the more generic 'water'.
2026-03-09 18:02:22 +00:00
daa8cb1748
Push geocoding down a layer
This makes it possible to always save address information from our
geocoder.
2026-03-04 18:29:52 +00:00
87fe5ec2e5
Fix rendering mocks 2026-03-02 23:38:05 +00:00
dac52a879a
Move all sync pages to authenticatedHandler
Still need to fix many templates
2026-02-24 15:34:53 +00:00
9f20eda00d
Add link to sudo powers 2026-02-18 07:36:54 +00:00
5a7c9fd090
Move data out of import.district and in to organization
Then get the organization settings page to work again.

Tons of other stuff is broken now.
2026-02-17 05:33:12 +00:00
bdd862e649
Show actual information on oauth integration setting page 2026-02-13 21:14:46 +00:00
316a94a6cf
Link up settings in sidebar to settings page 2026-02-09 19:57:12 +00:00
e2549f0317
Make trap page that shows collection information 2026-01-15 22:12:52 +00:00
885b58a0ab
Add traps to cell details page 2026-01-15 21:00:42 +00:00
a4c0e367a8
Make organization.name not-nullable, consolidate org in dash context 2026-01-14 21:50:47 +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
28e4e88794
Fix sync to follow new pattern of function grouping. 2026-01-09 22:29:56 +00:00
Renamed from htmlpage/sync/types.go (Browse further)