Commit graph

215 commits

Author SHA1 Message Date
dcab2e1f8f
Fix failing to find matching address with publicreport 2026-04-13 17:19:20 +00:00
5011f4c137
Add raw address value to public report response 2026-04-13 16:59:20 +00:00
1a031f16bd
Update event types to include compliance reports 2026-04-13 16:59:11 +00:00
dddeafe6cd
Fix query for address IDs 2026-04-13 15:13:59 +00:00
6f5b8f5575
Add implementation of insertAddresses 2026-04-12 19:42:37 +00:00
9ba99d5ceb
Remove now-empty report address fields
We'll instead create address rows and reference those
2026-04-12 18:33:41 +00:00
5306f8ba62
Populate nuisance and water public reports by ID 2026-04-12 18:02:42 +00:00
ae10e4fee8
Initial pattern for populating different report types 2026-04-12 17:53:25 +00:00
c8f74d3c26
Consistently use 'public' prefix for reports 2026-04-12 17:07:14 +00:00
a3c340f787
Split public report URIs by type
This allows us to have different signatures for the different types
2026-04-12 17:01:30 +00:00
4735734404
Helper functions for parsing geocode data 2026-04-10 22:34:34 +00:00
4060e7ddcd
Upload images on compliance report 2026-04-10 22:34:14 +00:00
730f40956f
Store addresses on every geocode 2026-04-10 22:32:40 +00:00
12aedaf543
Update the address when provided on a report 2026-04-10 20:30:22 +00:00
bac55774f8
Switch address to contain an embedded location, start saving compliance 2026-04-10 16:59:29 +00:00
b23fc6edc5
Fix dodgy creation of compliance report in database 2026-04-10 15:38:05 +00:00
553b65556a
Begin work on saving compliance report 2026-04-10 00:56:51 +00:00
9dccd21cee
RMO frontend checkpoint
* Create a nwe AddressAndMapLocator which abstracts out the behavior of
   selecting a location
 * Fix the overlay causing render errors on the MapLocator by getting
   rid of the overlay and just using a lock indicator
 * Fix MapLocator zooming in to the wrong place by not framing the
   markers
 * Remove Latlng from platform and just use Location with optional
   accuracy
 * Use nested types with form-encoded POST
 * Fix styles on water report page
2026-04-09 17:21:35 +00:00
b2c24a0438
Show nuisance report status 2026-04-08 23:37:00 +00:00
2c0bfb9904
Update nuisance submission to go to submitted page 2026-04-08 17:51:41 +00:00
6c79b8a85e
Add address GID to public report
This is _way_ better than trying to re-transmit structured address data
to the backend via strings
2026-04-08 14:40:27 +00:00
6fb5a7f971
Fix icons on RMO, add phone data to district 2026-04-07 16:25:14 +00:00
c393f6fd81
Add cache for all stadia requests 2026-04-06 22:36:25 +00:00
43dce16fbd
Add APIs for geocoding and reverse-geocoding 2026-04-06 16:59:18 +00:00
2d5dca3fb5
Add proxied autocomplete for Stadia
This allows me to make the format consistent and to cache the
intermediate results, which is useful for speed and testing
2026-04-05 21:57:30 +00:00
bfecae7d61
Add district resource and an API to RMO
We're going to need an API for the single-page frontend
2026-04-03 18:17:19 +00:00
4b87c74f41
Make impersonation ending work, fix frontend events 2026-04-02 21:31:31 +00:00
af2299f417
Fix saving of tags on users 2026-04-02 15:25:51 +00:00
aa02d2e729
Fix being able to set the role 2026-04-02 14:30:07 +00:00
ee76dddf2f
Add some missing files from previous commits 2026-04-02 14:23:16 +00:00
fc56c1406a
Make it possible to change more user fields 2026-04-02 14:22:45 +00:00
42d111aac9
Add separate session endpoint for additional non-user data
This is conceptually much cleaner that encumbering the user object.
2026-04-02 01:07:55 +00:00
00ebc27069
Add reverse parsing of a URI.
Yay. I did it. All the work is worth it now.
2026-04-01 22:01:31 +00:00
a89a4fbec5
Add avatar resource 2026-04-01 21:23:28 +00:00
0a7a2512d4
Properly set Avatar value to null 2026-04-01 20:35:00 +00:00
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