Commit graph

9 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
d0a920b8d9
Log errors on POST, send JSON bodies back 2026-03-11 23:52:44 +00:00
4ac7e29909
Sort messages by creation time 2026-03-10 15:46:17 +00:00
636a0379aa
Early process converting communication page to use actual data. 2026-03-06 23:45:12 +00:00
502a4d15df
Add organization to all authorized endpoints
We use it in filtering quite a bit.
2026-03-06 22:08:08 +00:00
de63a47c64
Add query args passing to API endpoints 2026-03-06 14:12:47 +00:00
dd50035a47
Create leads from signal 2026-03-05 17:24:50 +00:00
89197df6b0
Add fake API endpoint for creating leads 2026-03-05 14:18:10 +00:00
438c946bad
Start creating struct-based JSON encoding for API endpoints 2026-03-04 18:30:21 +00:00