Commit graph

180 commits

Author SHA1 Message Date
6fbde6389d
Start creating user resources without ID. 2026-04-01 20:22:15 +00:00
5172400803
Begin switch to gorilla/mux
I'm realizing with this code that I'm going to have a problem if I want
to do HATEOAS-style APIs. chi just doesn't do resource-oriented API
design, and I'd have to build a lot of stuff myself.

I'm in the middle of swapping out the UI. Now is the time to make the
switch.
2026-04-01 15:32:27 +00:00
4f96f35d9a
Add mode 1 mailer for testing. 2026-03-31 17:34:08 +00:00
21b7b68f50
Get new frontend to type check clean
Epic undertaking.
2026-03-31 14:52:53 +00:00
6f9a511874
WIP of user avatar work
Switching from laptop
2026-03-29 17:09:01 -07:00
ad90f9c95e
Create API for adding an avatar to a user 2026-03-28 18:55:13 -07:00
da7549eeda
Show actual user data on the edit page. 2026-03-28 18:06:14 -07:00
4bfaaa72ce
Add URI to user resource 2026-03-28 15:13:11 -07:00
e59794f5e0
Query for users to populate the users page 2026-03-28 14:45:49 -07:00
4bbfbdb9e6
Pretty all the things I missed
My laptop didn't have lefthook running. Oops.
2026-03-27 14:06:50 -07:00
f60bde7fd9
Get rows to show on individual upload page. 2026-03-27 14:04:33 -07:00
747544bb58
Get file upload working
Even though the UI doesn't do anything with it yet.
2026-03-27 08:39:38 -07:00
d7c07fc65f
Move all POST endpoints to the API 2026-03-27 06:08:55 -07:00
ef412b28ec
Make upload GET an API request 2026-03-25 21:46:23 -07:00
69eabe4e85
Use publicreport card component on planning page 2026-03-24 09:06:42 -07:00
0289bf5756
Fix retrieval of reports by ID 2026-03-24 09:06:42 -07:00
761af13270
coalesce to a valid country value 2026-03-24 09:06:42 -07:00
7360a9d2e1
Don't crash if the signal hos no address 2026-03-24 09:06:42 -07:00
32f00afa8a
Fix creation of new user organizations 2026-03-24 09:06:42 -07:00
9eb7022336
Provide the raw address value for public reports 2026-03-24 05:53:05 +00:00
b152cf9c36
Break apart the planning columns 2026-03-22 09:58:25 +00:00
21180816be
Start providing organization info and URLs is user/self
The new frontend needs it to do its work.
2026-03-22 01:22:44 +00:00
9b6cacda0e
Make signals include the object they are attached to (pool, report)
This means pushing the types into the common types module, which
required a refactor of a bunch of other libraries.
2026-03-21 01:19:36 +00:00
2cdcbb3784
When pool are green or murky, immediately create signal from them. 2026-03-20 22:11:36 +00:00
c4359a3c81
Fix signals getting saved with correct location 2026-03-20 20:37:16 +00:00
aa94cce2ad
Fix creation of signal from a communication report
I had broken this when altering the signal model to always require a
location
2026-03-20 18:03:32 +00:00
313dacd956
Remove chatty debug logs 2026-03-20 16:38:01 +00:00
6fcaf7fb5d
Avoid crashing when oauth is null 2026-03-20 15:47:45 +00:00
29e66327ee
Stop adding users to organizations based on Arcgis Account 2026-03-20 06:04:30 +00:00
a87904f2ff
Handle photo data including NaN for location 2026-03-20 05:48:59 +00:00
42d9d2372d
Add initial user selector for impersonation page 2026-03-20 05:20:37 +00:00
cb34c43ef4
Improve error messages on notify failures 2026-03-19 21:29:55 +00:00
6042e7d337
Emit events on note creation 2026-03-19 21:29:55 +00:00
fdab54a775
Fix saving note images and transcoding 2026-03-19 20:49:17 +00:00
ba03bf9d4f
Fix audio transcode copy-paste error 2026-03-19 20:14:23 +00:00
17fb3dcdb5
Fix saving notes from Nidus
Wow, that's a serious break.
2026-03-19 20:13:53 +00:00
429b724cf2
Emit a created event on signal creation 2026-03-19 19:17:00 +00:00
2c4e7c4f96
Handle nuisance reports without location data 2026-03-19 19:16:39 +00:00
2f1b612e9e
Move signal creation inside platform layer
This allows us to emit events with it.
2026-03-19 19:00:44 +00:00
908ac4faea
Make signals, not leads, from public reports. 2026-03-19 17:41:56 +00:00
ee61b6d24b
Move review actions into the platform, emit events on change
Still not seeing updates in the sidebar, however.
2026-03-19 16:55:49 +00:00
954a4330ee
Add notifications for review tasks 2026-03-19 16:01:44 +00:00
786a6c16a3
Fix up upload by ID
Show the street number as well as the rest of the address, emit an event
when the upload is processed, actually check if pools are existing, etc.
2026-03-19 15:31:04 +00:00
97c9269215
Update file status to committed when commit completes 2026-03-19 05:53:43 +00:00
ab5840dd54
Fix references to org ID using platform org
I broke these a while ago and didn't realize because the compiler
doesn't catch them.
2026-03-19 03:57:38 +00:00
544f99c09b
Check error state on update sql 2026-03-19 03:52:56 +00:00
6338d9f3f3
Remove chatty debug log 2026-03-19 03:52:40 +00:00
45643e8369
fix redundant log message 2026-03-19 03:52:28 +00:00
434746aa99
Allow the catch-all district to do uploads 2026-03-19 03:25:36 +00:00
2f61b224de
Prevent creating CSV uploads without a service area 2026-03-19 03:19:58 +00:00