Commit graph

195 commits

Author SHA1 Message Date
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
82f67bdb6c
Add basic data table and map for looking at sites 2026-03-12 01:16:41 +00:00
26bf8ceab9
Fetch more tasks after clearing one
That way we can keep a list of 20 if we have thousands.
2026-03-12 00:37:57 +00:00
20c0b4487c
Zoom in closer by default on task click 2026-03-12 00:37:43 +00:00
6d1003dcbd
Show the actual total number of tasks pending 2026-03-12 00:30:19 +00:00
40e7c8fdbe
Move discard entry away from complete button
To avoid mis-clicks
2026-03-12 00:00:40 +00:00
20025333fa
Make it possible to save the pool condition 2026-03-11 23:59:50 +00:00
f1c21a6fba
Update sites list to show proper nested authenticated layout. 2026-03-11 23:53:28 +00:00
6e9554d62d
Fix commit action on pool review page to send changes 2026-03-11 23:53:08 +00:00
5b75ac1d1c
Add initial sketch of site review page 2026-03-11 23:39:25 +00:00
a049cef651
Remap to noun-adjective on report-table/table-report 2026-03-11 23:20:38 +00:00
7231bf0aad
Add link card for sites 2026-03-11 23:13:33 +00:00
ce3650bc21
Set up initial implementation of completing review tasks
Insufficiently tested at this point.
2026-03-11 22:51:02 +00:00
3ccc05d4c5
Save tiles to the database to make empty tile load faster 2026-03-11 17:01:47 +00:00
a1e6f930cb
Add lat/long to the list of reviewed items 2026-03-11 15:55:43 +00:00
edcb48f84f
Fix RMO status page to use mapbox, make selection of address fly there 2026-03-11 15:50:12 +00:00
f2eda02f26
Make RMO status page render again 2026-03-11 15:23:01 +00:00
289fac1e7e
Set marker on click on aerial imagery 2026-03-11 15:12:59 +00:00
5e7c547670
Fix map display on RMO status-by-id page
This involves rebuilding the "publicreport.report_location" view after
making a bunch of changes to making publicreport.water the consistent
name (over pool) throughout RMA tables.
2026-03-11 14:59:04 +00:00
3743d63692
Add proxy for managing tiles 2026-03-11 14:28:59 +00:00
c2429654c6
Add flyover data view 2026-03-10 18:05:07 +00:00
666552d0fb
Add working map with markers for pool location 2026-03-10 17:46:58 +00:00
7d791000d9
Add actual map instead of a placeholder 2026-03-10 17:02:10 +00:00
e1222778fe
Show pool condition and pre-populate the pool condition 2026-03-10 16:53:13 +00:00
a9c0c56e7c
Show pool condition and address on review page 2026-03-10 16:35:53 +00:00
fb8ee96b21
Don't populate communications with fake data 2026-03-10 16:20:28 +00:00
6db5bb1cbf
Don't show location data when it's empty 2026-03-10 15:50:39 +00:00
e5211d1409
Make filter buttons on comms page work 2026-03-10 15:47:30 +00:00
4ac7e29909
Sort messages by creation time 2026-03-10 15:46:17 +00:00
78d47c4035
Move address suggestion over to stadia map 2026-03-10 15:31:02 +00:00
a2b8e8f7c7
Make display of distances avoid long decimals 2026-03-10 04:58:43 +00:00
cd763efb15
Require passing actual markers into SetMarkers
And frame locations of images and the report when a report is selected
2026-03-10 04:20:55 +00:00
355a52d100
Stop manually truncating
Browsers are better at this
2026-03-09 23:26:24 +00:00
873d5da2cd
Show reasonable address when we have none 2026-03-09 23:02:11 +00:00
ce6c6c1cc1
Initial render of standing water reports from the public 2026-03-09 22:59:21 +00:00
cd47aaba94
Allow clicking on the entire care for seleting sources 2026-03-09 22:22:04 +00:00
f6ce5f91a2
Match up distance from reporter in UI and API 2026-03-09 22:18:24 +00:00
642309520f
Handle not having a reporter name 2026-03-09 22:17:56 +00:00
93d767c9d6
Reference new distance from report for photos 2026-03-09 22:10:15 +00:00
d3f554db92
Add photo information showing the EXIF data 2026-03-09 19:32:19 +00:00
7e60713649
re-link photo content with new payload schema 2026-03-09 19:29:48 +00:00
55e62f3831
Show source description if provided 2026-03-09 19:23:16 +00:00
3185a17b25
Put contact icons on the same line
Saves vertical space
2026-03-09 19:12:07 +00:00
034115a515
Remove lingering mapbox token reference
I'll have to fix the underlying map
2026-03-09 19:08:44 +00:00
6b4c6ab942
Properly reference more address properties 2026-03-09 18:28:50 +00:00
f683cbe2a2
Remove unused function for handling removed widgets 2026-03-09 18:28:29 +00:00
ac98586425
Move mosquito icon to tiny mosquito 2026-03-09 18:04:28 +00:00
15af787950
Update to using stadiamaps API 2026-03-09 18:04:07 +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
cfe399e44f
Add address number to public reports 2026-03-08 03:16:58 +00:00