Commit graph

141 commits

Author SHA1 Message Date
a20c8918f8
Update mailer query based on changes to lead/site rel 2026-03-14 16:56:04 +00:00
1a9a72adc0
Create district catch-all, make organization on public reports not null 2026-03-14 15:53:16 +00:00
e8d865d0ab
Wire up events for creating new public reports
This involved moving a lot of stuff to the platform layer since I don't
want event interfaces leaking out.

Also this includes a fix to the user authentication which I had
previously broken by making a platform-layer user object independent of
the database layer.
2026-03-13 17:56:24 +00: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
e63646c9a1
Handle EOF markers when reading EXIF data 2026-03-11 22:54:41 +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
ce6c6c1cc1
Initial render of standing water reports from the public 2026-03-09 22:59:21 +00:00
52f2a75ec5
Pass-through error on address creation failure 2026-03-09 22:18:39 +00:00
2071ae9e54
Strip quotes off EXIF values before they go into the database 2026-03-09 22:10:40 +00:00
d2eecdef90
Create address records from nuisance report data if provided 2026-03-09 19:09:42 +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
2f7ecdfae8
Move publicreport.image to have a point location 2026-03-09 00:48:44 +00:00
cfe399e44f
Add address number to public reports 2026-03-08 03:16:58 +00:00
1e80c62701
Migrate public report classes to point location
...and drop quick report tables
2026-03-08 02:43:00 +00:00
7723f03915
Remove unused search page from RMO 2026-03-06 14:12:02 +00:00
c7dd53b6eb
Create logic and endpoint for confirming report location 2026-03-04 00:22:46 +00:00
9826f3fd70
Show map marker for property location 2026-03-03 23:42:24 +00:00
7cc43bc9ce
Add logo to the mailer lander 2026-03-03 20:47:26 +00:00
6aa7fa60b4
Add region (state) to address 2026-03-03 20:27:12 +00:00
0ff493cd53
Add remainder of the mailer mocks to the mailer flow 2026-03-03 17:52:46 +00:00
c9eee95cbb
Add URL links to mailer page 2026-03-03 17:31:41 +00:00
0f6da8e25f
Move handler objects to common location to share with RMO 2026-03-03 17:08:58 +00:00
6fb7fc7825
Debugging parcel image generation 2026-02-28 23:40:21 +00:00
558412cfb4
Various new modules for mailer 2026-02-28 23:17:30 +00:00
50f0327f59
Don't extract location if there is none 2026-02-17 20:17:32 +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
ef205bd622
Populate district from image location on standing water 2026-02-10 15:22:27 +00:00
c74fff6da9
Match districts on pool reports too 2026-02-10 15:09:57 +00:00
5802fe4fd3
Show district branding on status page 2026-02-10 14:55:59 +00:00
1b85ce0d78
Actually commit changes to notifications 2026-02-10 05:28:23 +00:00
648e0ee567
Move emails to platform, make sure to create phone and email in DB 2026-02-10 04:07:59 +00:00
dd33c6ab5e
Add missing error page 2026-02-10 00:22:33 +00:00
13c5529a41
Show an actual error page 2026-02-09 22:35:12 +00:00
f78515cc07
Fix error log reporting 2026-02-09 22:34:07 +00:00
b263d50b76
Remove debug log spam 2026-02-09 22:33:44 +00:00
783910be50
Save EXIF data to the database again. 2026-02-09 21:41:27 +00:00
6716bc68c9
Make file uploads of CSV actually save to disk 2026-02-08 01:44:44 +00:00
0265e9d3ec
Rework template system, merge templates
The embedded portion doesn't work yet.
2026-02-07 05:53:38 +00:00
500659be4a
Make partial report suggestion handle hyphens 2026-02-06 16:56:26 +00:00
f6f54da305
Add maxlength to all inputs
Because the children broke things with it.
2026-02-06 16:56:09 +00:00
d464a5fbd0
Show a tooltip when disabling the lookup button on status page
And fix some auto-formatting
2026-02-06 16:55:29 +00:00
49b10a7d7e
Add prettier for formatting html files automatically
Because I was wasting time doing it myself
2026-02-06 16:10:09 +00:00
dbd84c1c09
Make clicking on titles select checkboxes in water report 2026-02-06 15:44:16 +00:00
e17dc142a5
Remove defunct selectInspectionType from water report
No longer used
2026-02-06 15:43:58 +00:00
a82509bebb
Remove all font-awesome fonts from RMO
This makes it possible to remove that dependency.
2026-02-06 15:43:50 +00:00
e001d23457
Properly convert browser accuracy units 2026-02-06 15:41:21 +00:00
57191fa222
Alter report submission page to request reporter name and consent
This also adds the new mechanism for handling notifications on reports
2026-02-06 15:39:49 +00:00
9328e7a2f8
Properly record and display pool reports 2026-02-05 21:43:29 +00:00
5fc0f9fa3d
Update storage and display of nuisance report 2026-02-05 16:56:36 +00:00